try {
(function(sttc){var r,t;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ba=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}; 
function ca(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var da=ca(this),ea=typeof Symbol==="function"&&typeof Symbol("x")==="symbol",u={},fa={};function v(a,b,c){if(!c||a!=null){c=fa[b];if(c==null)return a[b];c=a[c];return c!==void 0?c:a[b]}} 
function w(a,b,c){if(b)a:{var d=a.split(".");a=d.length===1;var e=d[0],f;!a&&e in u?f=u:f=da;for(e=0;e<d.length-1;e++){var g=d[e];if(!(g in f))break a;f=f[g]}d=d[d.length-1];c=ea&&c==="es6"?f[d]:null;b=b(c);b!=null&&(a?ba(u,d,{configurable:!0,writable:!0,value:b}):b!==c&&(fa[d]===void 0&&(a=Math.random()*1E9>>>0,fa[d]=ea?da.Symbol(d):"$jscp$"+a+"$"+d),ba(f,fa[d],{configurable:!0,writable:!0,value:b})))}} 
w("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}function c(f,g){this.g=f;ba(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=function(){return this.g};var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b},"es6"); 
w("Symbol.iterator",function(a){if(a)return a;a=(0,u.Symbol)("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=da[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ha(aa(this))}})}return a},"es6"); 
function ha(a){a={next:a};a[v(u.Symbol,"iterator")]=function(){return this};return a}function ia(a){return ja(a,a)}function ja(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a}function x(a){var b=typeof u.Symbol!="undefined"&&v(u.Symbol,"iterator")&&a[v(u.Symbol,"iterator")];if(b)return b.call(a);if(typeof a.length=="number")return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");} 
function ka(a){if(!(a instanceof Array)){a=x(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}function la(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var ma=ea&&typeof v(Object,"assign")=="function"?v(Object,"assign"):function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)la(d,e)&&(a[e]=d[e])}return a};w("Object.assign",function(a){return a||ma},"es6"); 
var na=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},oa;if(ea&&typeof Object.setPrototypeOf=="function")oa=Object.setPrototypeOf;else{var pa;a:{var qa={a:!0},ra={};try{ra.__proto__=qa;pa=ra.a;break a}catch(a){}pa=!1}oa=pa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var sa=oa; 
function z(a,b){a.prototype=na(b.prototype);a.prototype.constructor=a;if(sa)sa(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Bc=b.prototype}function ta(){this.u=!1;this.i=null;this.D=void 0;this.g=1;this.C=0;this.l=null}function ua(a){if(a.u)throw new TypeError("Generator is already running");a.u=!0}ta.prototype.B=function(a){this.D=a}; 
function va(a,b){a.l={exception:b,isException:!0};a.g=a.C}ta.prototype.return=function(a){this.l={return:a};this.g=this.C};function wa(a,b,c){a.g=c;return{value:b}}function xa(a){this.g=new ta;this.i=a}function ya(a,b){ua(a.g);var c=a.g.i;if(c)return za(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return Aa(a)} 
function za(a,b,c,d){try{var e=b.call(a.g.i,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.u=!1,e;var f=e.value}catch(g){return a.g.i=null,va(a.g,g),Aa(a)}a.g.i=null;d.call(a.g,f);return Aa(a)} 
function Aa(a){for(;a.g.g;)try{var b=a.i(a.g);if(b)return a.g.u=!1,{value:b.value,done:!1}}catch(c){a.g.D=void 0,va(a.g,c)}a.g.u=!1;if(a.g.l){b=a.g.l;a.g.l=null;if(b.isException)throw b.exception;return{value:b.return,done:!0}}return{value:void 0,done:!0}} 
function Ba(a){this.next=function(b){ua(a.g);a.g.i?b=za(a,a.g.i.next,b,a.g.B):(a.g.B(b),b=Aa(a));return b};this.throw=function(b){ua(a.g);a.g.i?b=za(a,a.g.i["throw"],b,a.g.B):(va(a.g,b),b=Aa(a));return b};this.return=function(b){return ya(a,b)};this[v(u.Symbol,"iterator")]=function(){return this}} 
function Ea(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new u.Promise(function(d,e){function f(g){g.done?d(g.value):u.Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})}function Fa(a){return Ea(new Ba(new xa(a)))}function Ga(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b} 
w("Promise",function(a){function b(g){this.g=0;this.l=void 0;this.i=[];this.D=!1;var h=this.u();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}}function c(){this.g=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a)return a;c.prototype.i=function(g){if(this.g==null){this.g=[];var h=this;this.l(function(){h.B()})}this.g.push(g)};var e=da.setTimeout;c.prototype.l=function(g){e(g,0)};c.prototype.B=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var h=0;h<g.length;++h){var k= 
g[h];g[h]=null;try{k()}catch(l){this.u(l)}}}this.g=null};c.prototype.u=function(g){this.l(function(){throw g;})};b.prototype.u=function(){function g(l){return function(n){k||(k=!0,l.call(h,n))}}var h=this,k=!1;return{resolve:g(this.Z),reject:g(this.B)}};b.prototype.Z=function(g){if(g===this)this.B(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.fa(g);else{a:switch(typeof g){case "object":var h=g!=null;break a;case "function":h=!0;break a;default:h=!1}h?this.U(g):this.C(g)}}; 
b.prototype.U=function(g){var h=void 0;try{h=g.then}catch(k){this.B(k);return}typeof h=="function"?this.la(h,g):this.C(g)};b.prototype.B=function(g){this.F(2,g)};b.prototype.C=function(g){this.F(1,g)};b.prototype.F=function(g,h){if(this.g!=0)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.g);this.g=g;this.l=h;this.g===2&&this.ea();this.G()};b.prototype.ea=function(){var g=this;e(function(){if(g.M()){var h=da.console;typeof h!=="undefined"&&h.error(g.l)}},1)};b.prototype.M= 
function(){if(this.D)return!1;var g=da.CustomEvent,h=da.Event,k=da.dispatchEvent;if(typeof k==="undefined")return!0;typeof g==="function"?g=new g("unhandledrejection",{cancelable:!0}):typeof h==="function"?g=new h("unhandledrejection",{cancelable:!0}):(g=da.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.l;return k(g)};b.prototype.G=function(){if(this.i!=null){for(var g=0;g<this.i.length;++g)f.i(this.i[g]);this.i=null}};var f=new c; 
b.prototype.fa=function(g){var h=this.u();g.na(h.resolve,h.reject)};b.prototype.la=function(g,h){var k=this.u();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(g,h){function k(m,p){return typeof m=="function"?function(y){try{l(m(y))}catch(A){n(A)}}:p}var l,n,q=new b(function(m,p){l=m;n=p});this.na(k(g,l),k(h,n));return q};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.na=function(g,h){function k(){switch(l.g){case 1:g(l.l);break;case 2:h(l.l); 
break;default:throw Error("Unexpected state: "+l.g);}}var l=this;this.i==null?f.i(k):this.i.push(k);this.D=!0};b.resolve=d;b.reject=function(g){return new b(function(h,k){k(g)})};b.race=function(g){return new b(function(h,k){for(var l=x(g),n=l.next();!n.done;n=l.next())d(n.value).na(h,k)})};b.all=function(g){var h=x(g),k=h.next();return k.done?d([]):new b(function(l,n){function q(y){return function(A){m[y]=A;p--;p==0&&l(m)}}var m=[],p=0;do m.push(void 0),p++,d(k.value).na(q(m.length-1),n),k=h.next(); 
while(!k.done)})};return b},"es6");w("Symbol.dispose",function(a){return a?a:(0,u.Symbol)("Symbol.dispose")},"es_next");w("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}},"es6"); 
w("WeakMap",function(a){function b(g){this.g=(f+=Math.random()+1).toString();if(g){g=x(g);for(var h;!(h=g.next()).done;)h=h.value,this.set(h[0],h[1])}}function c(){}function d(g){var h=typeof g;return h==="object"&&g!==null||h==="function"}if(function(){if(!a||!Object.seal)return!1;try{var g=Object.seal({}),h=Object.seal({}),k=new a([[g,2],[h,3]]);if(k.get(g)!=2||k.get(h)!=3)return!1;k.delete(g);k.set(h,4);return!k.has(g)&&k.get(h)==4}catch(l){return!1}}())return a;var e="$jscomp_hidden_"+Math.random(), 
f=0;b.prototype.set=function(g,h){if(!d(g))throw Error("Invalid WeakMap key");if(!la(g,e)){var k=new c;ba(g,e,{value:k})}if(!la(g,e))throw Error("WeakMap key fail: "+g);g[e][this.g]=h;return this};b.prototype.get=function(g){return d(g)&&la(g,e)?g[e][this.g]:void 0};b.prototype.has=function(g){return d(g)&&la(g,e)&&la(g[e],this.g)};b.prototype.delete=function(g){return d(g)&&la(g,e)&&la(g[e],this.g)?delete g[e][this.g]:!1};return b},"es6"); 
w("Map",function(a){function b(){var h={};return h.previous=h.next=h.head=h}function c(h,k){var l=h[1];return ha(function(){if(l){for(;l.head!=h[1];)l=l.previous;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})}function d(h,k){var l=k&&typeof k;l=="object"||l=="function"?f.has(k)?l=f.get(k):(l=""+ ++g,f.set(k,l)):l="p_"+k;var n=h[0][l];if(n&&la(h[0],l))for(h=0;h<n.length;h++){var q=n[h];if(k!==k&&q.key!==q.key||k===q.key)return{id:l,list:n,index:h,entry:q}}return{id:l, 
list:n,index:-1,entry:void 0}}function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=x(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}}if(function(){if(!a||typeof a!="function"||!v(a.prototype,"entries")||typeof Object.seal!="function")return!1;try{var h=Object.seal({x:4}),k=new a(x([[h,"s"]]));if(k.get(h)!="s"||k.size!=1||k.get({x:4})||k.set({x:4},"t")!=k||k.size!=2)return!1;var l=v(k,"entries").call(k),n=l.next();if(n.done||n.value[0]!=h||n.value[1]!="s")return!1;n=l.next();return n.done|| 
n.value[0].x!=4||n.value[1]!="t"||!l.next().done?!1:!0}catch(q){return!1}}())return a;var f=new u.WeakMap;e.prototype.set=function(h,k){h=h===0?0:h;var l=d(this,h);l.list||(l.list=this[0][l.id]=[]);l.entry?l.entry.value=k:(l.entry={next:this[1],previous:this[1].previous,head:this[1],key:h,value:k},l.list.push(l.entry),this[1].previous.next=l.entry,this[1].previous=l.entry,this.size++);return this};e.prototype.delete=function(h){h=d(this,h);return h.entry&&h.list?(h.list.splice(h.index,1),h.list.length|| 
delete this[0][h.id],h.entry.previous.next=h.entry.next,h.entry.next.previous=h.entry.previous,h.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].previous=b();this.size=0};e.prototype.has=function(h){return!!d(this,h).entry};e.prototype.get=function(h){return(h=d(this,h).entry)&&h.value};e.prototype.entries=function(){return c(this,function(h){return[h.key,h.value]})};e.prototype.keys=function(){return c(this,function(h){return h.key})};e.prototype.values= 
function(){return c(this,function(h){return h.value})};e.prototype.forEach=function(h,k){for(var l=v(this,"entries").call(this),n;!(n=l.next()).done;)n=n.value,h.call(k,n[1],n[0],this)};e.prototype[v(u.Symbol,"iterator")]=v(e.prototype,"entries");var g=0;return e},"es6"); 
w("Set",function(a){function b(c){this.g=new u.Map;if(c){c=x(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}if(function(){if(!a||typeof a!="function"||!v(a.prototype,"entries")||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(x([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=v(d,"entries").call(d),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]== 
c||f.value[0].x!=4||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return v(this.g,"entries").call(this.g)};b.prototype.values=function(){return v(this.g,"values").call(this.g)}; 
b.prototype.keys=v(b.prototype,"values");b.prototype[v(u.Symbol,"iterator")]=v(b.prototype,"values");b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b},"es6"); 
w("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(h){return h};var e=[],f=typeof u.Symbol!="undefined"&&v(u.Symbol,"iterator")&&b[v(u.Symbol,"iterator")];if(typeof f=="function"){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}},"es6");w("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)la(b,d)&&c.push([d,b[d]]);return c}},"es8"); 
w("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}},"es6");w("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991},"es6");w("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991},"es6");w("Number.isInteger",function(a){return a?a:function(b){return v(Number,"isFinite").call(Number,b)?b===Math.floor(b):!1}},"es6"); 
w("Number.isSafeInteger",function(a){return a?a:function(b){return v(Number,"isInteger").call(Number,b)&&Math.abs(b)<=v(Number,"MAX_SAFE_INTEGER")}},"es6");function Ha(a,b,c){if(a==null)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""} 
w("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ha(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}},"es6");w("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ha(this,b,"endsWith");c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}},"es6"); 
w("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}},"es6");w("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||v(Object,"is").call(Object,f,b))return!0}return!1}},"es7");w("String.prototype.includes",function(a){return a?a:function(b,c){return Ha(this,b,"includes").indexOf(b,c||0)!==-1}},"es6"); 
function Ia(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[v(u.Symbol,"iterator")]=function(){return e};return e}w("Array.prototype.entries",function(a){return a?a:function(){return Ia(this,function(b,c){return[b,c]})}},"es6");w("globalThis",function(a){return a||da},"es_2020"); 
w("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}},"es6");w("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)la(b,d)&&c.push(b[d]);return c}},"es8");w("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}},"es6");w("Array.prototype.keys",function(a){return a?a:function(){return Ia(this,function(b){return b})}},"es6"); 
w("Array.prototype.values",function(a){return a?a:function(){return Ia(this,function(b,c){return c})}},"es8");w("String.prototype.repeat",function(a){return a?a:function(b){var c=Ha(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}},"es6"); 
w("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Ha(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";return(b>0&&c?v(c,"repeat").call(c,Math.ceil(b/c.length)).substring(0,b):"")+d}},"es8");w("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return u.Promise.resolve(b()).then(function(){return c})},function(c){return u.Promise.resolve(b()).then(function(){throw c;})})}},"es9");/* 
 
 Copyright The Closure Library Authors. 
 SPDX-License-Identifier: Apache-2.0 
*/ 
var C=this||self;function Ja(a,b){var c=Ka("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b}function Ka(a){a=a.split(".");for(var b=C,c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function Ma(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}function Na(a){return Object.prototype.hasOwnProperty.call(a,Oa)&&a[Oa]||(a[Oa]=++Pa)}var Oa="closure_uid_"+(Math.random()*1E9>>>0),Pa=0;function Qa(a,b,c){return a.call.apply(a.bind,arguments)} 
function Ra(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function Sa(a,b,c){Sa=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Qa:Ra;return Sa.apply(null,arguments)} 
function Ta(a,b,c){a=a.split(".");c=c||C;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};var Ua=(new Date).getTime();function Va(a){C.setTimeout(function(){throw a;},0)};function Wa(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]} 
function Xa(a,b){var c=0;a=Wa(String(a)).split(".");b=Wa(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&e<d;e++){var f=a[e]||"",g=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(f[0].length==0&&g[0].length==0)break;c=Ya(f[1].length==0?0:parseInt(f[1],10),g[1].length==0?0:parseInt(g[1],10))||Ya(f[2].length==0,g[2].length==0)||Ya(f[2],g[2]);f=f[3];g=g[3]}while(c==0)}return c}function Ya(a,b){return a<b?-1:a>b?1:0};var Za=Ja(610401301,!1),$a=Ja(653718497,Ja(1,!0));function ab(){var a=C.navigator;return a&&(a=a.userAgent)?a:""}var bb,cb=C.navigator;bb=cb?cb.userAgentData||null:null;function db(a){return Za?bb?bb.brands.some(function(b){return(b=b.brand)&&b.indexOf(a)!=-1}):!1:!1}function D(a){return ab().indexOf(a)!=-1};function eb(){return Za?!!bb&&bb.brands.length>0:!1}function fb(){return eb()?!1:D("Trident")||D("MSIE")}function gb(){return eb()?db("Microsoft Edge"):D("Edg/")}function hb(){!D("Safari")||ib()||(eb()?0:D("Coast"))||(eb()?0:D("Opera"))||(eb()?0:D("Edge"))||gb()||eb()&&db("Opera")}function ib(){return eb()?db("Chromium"):(D("Chrome")||D("CriOS"))&&!(eb()?0:D("Edge"))||D("Silk")} 
function jb(a){var b={};a.forEach(function(c){b[c[0]]=c[1]});return function(c){return b[v(c,"find").call(c,function(d){return d in b})]||""}} 
function kb(){var a=ab();if(fb()){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])a=b[1];else{b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),c[1]=="7.0")if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];a=b}return a}c=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g");b=[];for(var d;d=c.exec(a);)b.push([d[1],d[2],d[3]||void 0]);a=jb(b);return(eb()?0:D("Opera"))?a(["Version", 
"Opera"]):(eb()?0:D("Edge"))?a(["Edge"]):gb()?a(["Edg"]):D("Silk")?a(["Silk"]):ib()?a(["Chrome","CriOS","HeadlessChrome"]):(a=b[2])&&a[1]||""};function lb(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}function mb(a,b){for(var c=a.length,d=[],e=0,f=typeof a==="string"?a.split(""):a,g=0;g<c;g++)if(g in f){var h=f[g];b.call(void 0,h,g,a)&&(d[e++]=h)}return d}function nb(a,b){for(var c=a.length,d=Array(c),e=typeof a==="string"?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d} 
function ob(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1}function pb(a,b){a:{for(var c=typeof a==="string"?a.split(""):a,d=a.length-1;d>=0;d--)if(d in c&&b.call(void 0,c[d],d,a)){b=d;break a}b=-1}return b<0?null:typeof a==="string"?a.charAt(b):a[b]}function qb(a,b){return lb(a,b)>=0}function rb(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};function sb(a){sb[" "](a);return a}sb[" "]=function(){};var tb=fb();!D("Android")||ib();ib();hb();var ub={},vb=null;function wb(a){var b=[];xb(a,function(c){b.push(c)});return b}function xb(a,b){function c(k){for(;d<a.length;){var l=a.charAt(d++),n=vb[l];if(n!=null)return n;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l);}return k}yb();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),h=c(64);if(h===64&&e===-1)break;b(e<<2|f>>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}} 
function yb(){if(!vb){vb={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));ub[c]=d;for(var e=0;e<d.length;e++){var f=d[e];vb[f]===void 0&&(vb[f]=e)}}}};var zb=typeof Uint8Array!=="undefined",Ab=!tb&&typeof btoa==="function";function Bb(){return typeof BigInt==="function"};function Cb(a,b){var c=Db;if(!b(a)){var d,e;b=(e=(d=typeof c==="function"?c():c)==null?void 0:d.concat("\n"))!=null?e:"";throw Error(b+String(a));}}function Eb(a){a.zc=!0;return a}var Db=void 0,Fb=Eb(function(a){return a!==null&&a!==void 0});var Gb=Eb(function(a){return typeof a==="number"}),Hb=Eb(function(a){return typeof a==="string"}),Ib=Eb(function(a){return typeof a==="boolean"}),Jb=Eb(function(a){return a===void 0});var Kb=typeof C.BigInt==="function"&&typeof C.BigInt(0)==="bigint";function Lb(a){var b=a;if(Hb(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(Gb(b)&&!v(Number,"isSafeInteger").call(Number,b))throw Error(String(b));return Kb?BigInt(a):a=Ib(a)?a?"1":"0":Hb(a)?a.trim()||"0":String(a)}var Rb=Eb(function(a){return Kb?a>=Mb&&a<=Nb:a[0]==="-"?Ob(a,Pb):Ob(a,Qb)}),Pb=v(Number,"MIN_SAFE_INTEGER").toString(),Mb=Kb?BigInt(v(Number,"MIN_SAFE_INTEGER")):void 0,Qb=v(Number,"MAX_SAFE_INTEGER").toString(),Nb=Kb?BigInt(v(Number,"MAX_SAFE_INTEGER")):void 0; 
function Ob(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}};var Sb=0,Tb=0;function Ub(a){var b=a>>>0;Sb=b;Tb=(a-b)/4294967296>>>0}function Vb(a){if(a<0){Ub(-a);var b=x(Wb(Sb,Tb));a=b.next().value;b=b.next().value;Sb=a>>>0;Tb=b>>>0}else Ub(a)}function Xb(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Bb()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+Yb(c)+Yb(a));return c} 
function Yb(a){a=String(a);return"0000000".slice(a.length)+a}function Zb(){var a=Sb,b=Tb;b&2147483648?Bb()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=x(Wb(a,b)),a=b.next().value,b=b.next().value,a="-"+Xb(a,b)):a=Xb(a,b);return a}function Wb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function $b(a){return Array.prototype.slice.call(a)};var ac=typeof u.Symbol==="function"&&typeof(0,u.Symbol)()==="symbol";function bc(a){return typeof u.Symbol==="function"&&typeof(0,u.Symbol)()==="symbol"?(0,u.Symbol)():a}var cc=bc(),dc=bc("0di"),ec=bc("2ex"),fc=bc("1oa"),gc=bc("0dg");var hc=ac?function(a,b){a[cc]|=b}:function(a,b){a.Y!==void 0?a.Y|=b:Object.defineProperties(a,{Y:{value:b,configurable:!0,writable:!0,enumerable:!1}})},ic=ac?function(a){return a[cc]|0}:function(a){return a.Y|0},E=ac?function(a){return a[cc]}:function(a){return a.Y},jc=ac?function(a,b){a[cc]=b}:function(a,b){a.Y!==void 0?a.Y=b:Object.defineProperties(a,{Y:{value:b,configurable:!0,writable:!0,enumerable:!1}})};function kc(a){hc(a,32);return a}function lc(a,b){jc(b,(a|0)&-30975)} 
function mc(a,b){jc(b,(a|34)&-30941)};var nc={},oc={};function pc(a){return!(!a||typeof a!=="object"||a.g!==oc)}function qc(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}function rc(a){return!Array.isArray(a)||a.length?!1:ic(a)&1?!0:!1}var sc,tc=[];jc(tc,55);sc=Object.freeze(tc);function uc(a){if(a&2)throw Error();}var vc=Object.freeze({}),wc=Object.freeze({}),xc=Object.freeze({});function yc(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var zc,Ac;function Bc(a){if(Ac)throw Error("");Ac=function(b){C.setTimeout(function(){a(b)},0)}}function Cc(a){if(Ac)try{Ac(a)}catch(b){throw b.cause=a,b;}}function Dc(){var a=Error();yc(a,"incident");Ac?Cc(a):Va(a)}function Ec(a){a=Error(a);yc(a,"warning");Cc(a);return a};function Fc(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b);};function Gc(a){if(a!=null&&typeof a!=="boolean"){var b=typeof a;throw Error("Expected boolean but got "+(b!="object"?b:a?Array.isArray(a)?"array":b:"null")+": "+a);}return a}var Hc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function Ic(a){var b=typeof a;switch(b){case "bigint":return!0;case "number":return v(Number,"isFinite").call(Number,a)}return b!=="string"?!1:Hc.test(a)}function Jc(a){if(!v(Number,"isFinite").call(Number,a))throw Ec("enum");return a|0}function F(a){return a==null?a:Jc(a)} 
function Kc(a){return a==null?a:v(Number,"isFinite").call(Number,a)?a|0:void 0}function Lc(a){if(typeof a!=="number")throw Ec("int32");if(!v(Number,"isFinite").call(Number,a))throw Ec("int32");return a|0}function Mc(a){return a==null?a:Lc(a)}function Nc(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return v(Number,"isFinite").call(Number,a)?a|0:void 0} 
function Oc(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return v(Number,"isFinite").call(Number,a)?a>>>0:void 0} 
function Pc(a){var b=0;b=b===void 0?0:b;if(!Ic(a))throw Ec("int64");var c=typeof a;switch(b){case 4096:switch(c){case "string":return Qc(a);case "bigint":return String(BigInt.asIntN(64,a));default:return Rc(a)}case 8192:switch(c){case "string":return Sc(a);case "bigint":return Lb(BigInt.asIntN(64,a));default:return Tc(a)}case 0:switch(c){case "string":return Qc(a);case "bigint":return Lb(BigInt.asIntN(64,a));default:return Uc(a)}default:return Fc(b,"Unknown format requested type for int64")}} 
function Vc(a){return a[0]==="-"?a.length<20?!0:a.length===20&&Number(a.substring(0,7))>-922337:a.length<19?!0:a.length===19&&Number(a.substring(0,6))<922337} 
function Wc(a){if(Vc(a))return a;if(a.length<16)Vb(Number(a));else if(Bb())a=BigInt(a),Sb=Number(a&BigInt(4294967295))>>>0,Tb=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");Tb=Sb=0;for(var c=a.length,d=b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),Tb*=1E6,Sb=Sb*1E6+d,Sb>=4294967296&&(Tb+=v(Math,"trunc").call(Math,Sb/4294967296),Tb>>>=0,Sb>>>=0);b&&(b=x(Wb(Sb,Tb)),a=b.next().value,b=b.next().value,Sb=a,Tb=b)}return Zb()} 
function Uc(a){a=v(Math,"trunc").call(Math,a);if(!v(Number,"isSafeInteger").call(Number,a)){Vb(a);var b=Sb,c=Tb;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);b=c*4294967296+(b>>>0);a=a?-b:b}return a}function Rc(a){a=v(Math,"trunc").call(Math,a);if(v(Number,"isSafeInteger").call(Number,a))a=String(a);else{var b=String(a);Vc(b)?a=b:(Vb(a),a=Zb())}return a} 
function Qc(a){var b=v(Math,"trunc").call(Math,Number(a));if(v(Number,"isSafeInteger").call(Number,b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Wc(a)}function Sc(a){var b=v(Math,"trunc").call(Math,Number(a));if(v(Number,"isSafeInteger").call(Number,b))return Lb(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Bb()?Lb(BigInt.asIntN(64,BigInt(a))):Lb(Wc(a))}function Tc(a){return v(Number,"isSafeInteger").call(Number,a)?Lb(Uc(a)):Lb(Rc(a))} 
function Xc(a){if(typeof a!=="string")throw Error();return a}function Yc(a){if(a!=null&&typeof a!=="string")throw Error();return a}function Zc(a){return a==null||typeof a==="string"?a:void 0}function $c(a,b,c,d){if(a!=null&&typeof a==="object"&&a.ua===nc)return a;if(!Array.isArray(a))return c?d&2?ad(b):new b:void 0;var e=c=ic(a);e===0&&(e|=d&32);e|=d&2;e!==c&&jc(a,e);return new b(a)}function ad(a){var b=a[dc];if(b)return b;b=new a;hc(b.j,34);return a[dc]=b};var bd;function cd(a,b){bd=b;a=new a(b);bd=void 0;return a} 
function G(a,b,c){var d=d!=null?d:0;a==null&&(a=bd);bd=void 0;if(a==null){var e=96;c?(a=[c],e|=512):a=[];b&&(e=e&-33521665|(b&1023)<<15)}else{if(!Array.isArray(a))throw Error("narr");e=ic(a);if(e&2048)throw Error("farr");if(e&64)return a;d===1||d===2||(e|=64);if(c&&(e|=512,c!==a[0]))throw Error("mid");a:{c=a;if(d=c.length){var f=d-1;if(qc(c[f])){e|=256;b=f-(+!!(e&512)-1);if(b>=1024)throw Error("pvtlmt");e=e&-33521665|(b&1023)<<15;break a}}if(b){b=Math.max(b,d-(+!!(e&512)-1));if(b>1024)throw Error("spvt"); 
e=e&-33521665|(b&1023)<<15}}}jc(a,e);return a};function dd(a,b){return ed(b)} 
function ed(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "bigint":return Rb(a)?Number(a):String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(rc(a))return}else if(zb&&a!=null&&a instanceof Uint8Array){if(Ab){for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);a=btoa(b)}else{b===void 0&&(b=0);yb();b=ub[b];c=Array(Math.floor(a.length/3));d=b[64]||""; 
for(var e=0,f=0;e<a.length-2;e+=3){var g=a[e],h=a[e+1],k=a[e+2],l=b[g>>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=l+g+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|l>>4]+k+d}a=c.join("")}return a}}return a};function fd(a,b,c){a=$b(a);var d=a.length,e=b&256?a[d-1]:void 0;d+=e?-1:0;for(b=b&512?1:0;b<d;b++)a[b]=c(a[b]);if(e){b=a[b]={};for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&(b[f]=c(e[f]))}return a}function gd(a,b,c,d,e){if(a!=null){if(Array.isArray(a))a=rc(a)?void 0:e&&ic(a)&2?a:hd(a,b,c,d!==void 0,e);else if(qc(a)){var f={},g;for(g in a)Object.prototype.hasOwnProperty.call(a,g)&&(f[g]=gd(a[g],b,c,d,e));a=f}else a=b(a,d);return a}} 
function hd(a,b,c,d,e){var f=d||c?ic(a):0;d=d?!!(f&32):void 0;a=$b(a);for(var g=0;g<a.length;g++)a[g]=gd(a[g],b,c,d,e);c&&c(f,a);return a}function id(a){return a.ua===nc?a.toJSON():zb&&a!=null&&a instanceof Uint8Array?new Uint8Array(a):a}function jd(a){return a.ua===nc?a.toJSON():ed(a)}var kd=typeof structuredClone!="undefined"?structuredClone:function(a){return hd(a,id,void 0,void 0,!1)};function ld(a){md===void 0&&(md=typeof Proxy==="function"?nd(Proxy):null);var b;(b=!md)||(od===void 0&&(od=typeof u.WeakMap==="function"?nd(u.WeakMap):null),b=!od);if(b)return a;if(b=pd(a))return b;if(Math.random()>.01)return a;qd(a);b=new md(a,{set:function(c,d,e){rd();c[d]=e;return!0}});sd(a,b);return b}function rd(){Dc()}var td=void 0,ud=void 0;function pd(a){var b;return(b=td)==null?void 0:b.get(a)}function vd(a){var b;return((b=ud)==null?void 0:b.get(a))||a} 
function sd(a,b){(td||(td=new od)).set(a,b);(ud||(ud=new od)).set(b,a)}var md=void 0,od=void 0;function nd(a){try{return a.toString().indexOf("[native code]")!==-1?a:null}catch(b){return null}}var wd=void 0;function qd(a){if(wd===void 0){var b=new md([],{});wd=Array.prototype.concat.call([],b).length===1}wd&&typeof u.Symbol==="function"&&u.Symbol.isConcatSpreadable&&(a[u.Symbol.isConcatSpreadable]=!0)};function xd(a,b,c){c=c===void 0?mc:c;if(a!=null){if(zb&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=ic(a);if(d&2)return a;b&&(b=d===0||!!(d&32)&&!(d&64||!(d&16)));return b?(jc(a,(d|34)&-12293),a):hd(a,xd,d&4?mc:c,!0,!0)}a.ua===nc&&(c=a.j,d=E(c),a=d&2?a:cd(a.constructor,yd(c,d,!0)));return a}}function yd(a,b,c){var d=c||b&2?mc:lc,e=!!(b&32);a=fd(a,b,function(f){return xd(f,e,d)});hc(a,32|(c?2:0));return a} 
function zd(a){var b=a.j,c=E(b);return c&2?cd(a.constructor,yd(b,c,!1)):a}function Ad(a){var b=a.j,c=E(b);return c&2?a:cd(a.constructor,yd(b,c,!0))};var Bd=Lb(0);function Cd(a,b,c,d){if(!(4&b))return!0;if(c==null)return!1;!d&&c===0&&(4096&b||8192&b)&&(a.constructor[gc]=(a.constructor[gc]|0)+1)<5&&Dc();return c===0?!1:!(c&b)}function Dd(a,b){a=a.j;return Ed(a,E(a),b)}function Fd(a,b,c,d){b=d+(+!!(b&512)-1);if(!(b<0||b>=a.length||b>=c))return a[b]} 
function Ed(a,b,c,d){if(c===-1)return null;var e=b>>15&1023||536870912;if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],d!=null)){if(Fd(a,b,e,c)&&ec!=null){var g;a=(g=zc)!=null?g:zc={};g=a[ec]||0;g>=4||(a[ec]=g+1,Dc())}return d}return Fd(a,b,e,c)}}function H(a,b,c){var d=a.j,e=E(d);uc(e);Gd(d,e,b,c);return a} 
function Gd(a,b,c,d){var e=b>>15&1023||536870912;if(c>=e){var f=b;if(b&256)var g=a[a.length-1];else{if(d==null)return f;g=a[e+(+!!(b&512)-1)]={};f|=256}g[c]=d;c<e&&(a[c+(+!!(b&512)-1)]=void 0);f!==b&&jc(a,f);return f}a[c+(+!!(b&512)-1)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b}function Hd(a,b,c){return Id(a,b,c,!1)!==void 0}function Jd(a,b,c){return Id(a,b,Kd(a,Ld,c))!==void 0}function I(a){return a===vc?2:$a?4:5} 
function Md(a,b,c,d,e){var f=a.j,g=E(f),h=2&g?1:d;e=!!e;d=Nd(f,g,b);var k=ic(d);if(Cd(a,k,void 0,e)){4&k&&(d=$b(d),k=Od(k,g),g=Gd(f,g,b,d));for(var l=a=0;a<d.length;a++){var n=c(d[a]);n!=null&&(d[l++]=n)}l<a&&(d.length=l);k=Pd(k,g);k=(k|20)&-4097;k&=-8193;jc(d,k);2&k&&Object.freeze(d)}if(h===1||h===4&&32&k)Qd(k)||(e=k,k|=2,k!==e&&jc(d,k),Object.freeze(d));else if(c=h!==5?!1:!!(32&k)||Qd(k)||!!pd(d),(h===2||c)&&Qd(k)&&(d=$b(d),k=Od(k,g),k=Rd(k,g,e),jc(d,k),g=Gd(f,g,b,d)),Qd(k)||(b=k,k=Rd(k,g,e),k!== 
b&&jc(d,k)),c)var q=ld(d);else if(h===2&&!e){var m;(m=td)==null||m.delete(d)}return q||d}function Nd(a,b,c){a=Ed(a,b,c);return Array.isArray(a)?a:sc}function Pd(a,b){a===0&&(a=Od(a,b));return a|1}function Qd(a){return!!(2&a)&&!!(4&a)||!!(2048&a)} 
function Sd(a,b,c,d){var e=a.j,f=E(e);uc(f);if(c==null)return Gd(e,f,b),a;c=vd(c);var g=ic(c),h=g,k=!!(2&g)||Object.isFrozen(c),l=!k&&(void 0===xc||void 0!==wc);if(Cd(a,g))for(g=21,k&&(c=$b(c),h=0,g=Od(g,f),g=Rd(g,f,!0)),k=0;k<c.length;k++)c[k]=d(c[k]);l&&(c=$b(c),h=0,g=Od(g,f),g=Rd(g,f,!0));g!==h&&jc(c,g);Gd(e,f,b,c);return a}function J(a,b,c,d){var e=a.j,f=E(e);uc(f);Gd(e,f,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a} 
function Td(a,b,c,d){var e=a.j,f=E(e);uc(f);if(d==null){var g=Ud(e);if(Vd(g,e,f,c)===b)g.set(c,0);else return a}else{g=Ud(e);var h=Vd(g,e,f,c);h!==b&&(h&&(f=Gd(e,f,h)),g.set(c,b))}Gd(e,f,b,d);return a}function Kd(a,b,c){return Wd(a,b)===c?c:-1}function Wd(a,b){a=a.j;return Vd(Ud(a),a,E(a),b)}function Ud(a){if(ac){var b;return(b=a[fc])!=null?b:a[fc]=new u.Map}if(fc in a)return a[fc];b=new u.Map;Object.defineProperty(a,fc,{value:b});return b} 
function Vd(a,b,c,d){var e=a.get(d);if(e!=null)return e;for(var f=e=0;f<d.length;f++){var g=d[f];Ed(b,c,g)!=null&&(e!==0&&(c=Gd(b,c,e)),e=g)}a.set(d,e);return e}function Xd(a,b,c){a=a.j;var d=E(a);uc(d);var e=Ed(a,d,c);b=zd($c(e,b,!0,d));e!==b&&Gd(a,d,c,b);return b}function Id(a,b,c,d){a=a.j;var e=E(a);d=Ed(a,e,c,d);b=$c(d,b,!1,e);b!==d&&b!=null&&Gd(a,e,c,b);return b}function Yd(a,b,c){return(a=Id(a,b,c,!1))?a:ad(b)} 
function K(a,b,c){b=Id(a,b,c,!1);if(b==null)return b;a=a.j;var d=E(a);if(!(d&2)){var e=zd(b);e!==b&&(b=e,Gd(a,d,c,b))}return b} 
function Zd(a,b,c,d,e,f,g){a=a.j;var h=!!(2&b);e=h?1:e;f=!!f;g&&(g=!h);h=Nd(a,b,d);var k=ic(h),l=!!(4&k);if(!l){k=Pd(k,b);var n=h,q=b,m=!!(2&k);m&&(q|=2);for(var p=!m,y=!0,A=0,B=0;A<n.length;A++){var Y=$c(n[A],c,!1,q);if(Y instanceof c){if(!m){var La=!!(ic(Y.j)&2);p&&(p=!La);y&&(y=La)}n[B++]=Y}}B<A&&(n.length=B);k|=4;k=y?k|16:k&-17;k=p?k|8:k&-9;jc(n,k);m&&Object.freeze(n)}if(g&&!(8&k||!h.length&&(e===1||e===4&&32&k))){Qd(k)&&(h=$b(h),k=Od(k,b),b=Gd(a,b,d,h));c=h;g=k;for(n=0;n<c.length;n++)k=c[n], 
q=zd(k),k!==q&&(c[n]=q);g|=8;g=c.length?g&-17:g|16;jc(c,g);k=g}if(e===1||e===4&&32&k)Qd(k)||(b=k,k|=!h.length||16&k&&(!l||32&k)?2:2048,k!==b&&jc(h,k),Object.freeze(h));else if(l=e!==5?!1:!!(32&k)||Qd(k)||!!pd(h),(e===2||l)&&Qd(k)&&(h=$b(h),k=Od(k,b),k=Rd(k,b,f),jc(h,k),b=Gd(a,b,d,h)),Qd(k)||(d=k,k=Rd(k,b,f),k!==d&&jc(h,k)),l)var Ca=ld(h);else if(e===2&&!f){var Da;(Da=td)==null||Da.delete(h)}return Ca||h}function L(a,b,c,d){var e=E(a.j);return Zd(a,e,b,c,d,!1,!(2&e))} 
function ae(a,b,c){c==null&&(c=void 0);return H(a,b,c)}function be(a,b,c,d){d==null&&(d=void 0);return Td(a,b,c,d)}function ce(a,b,c){var d=a.j,e=E(d);uc(e);if(c==null)return Gd(d,e,b),a;c=vd(c);for(var f=ic(c),g=f,h=!!(2&f)||!!(2048&f),k=h||Object.isFrozen(c),l=!k&&(void 0===xc||void 0!==wc),n=!0,q=!0,m=0;m<c.length;m++){var p=c[m];h||(p=!!(ic(p.j)&2),n&&(n=!p),q&&(q=p))}h||(f|=5,f=n?f|8:f&-9,f=q?f|16:f&-17);if(l||k&&f!==g)c=$b(c),g=0,f=Od(f,e),f=Rd(f,e,!0);f!==g&&jc(c,f);Gd(d,e,b,c);return a} 
function Od(a,b){a=(2&b?a|2:a&-3)|32;return a&=-2049}function Rd(a,b,c){32&b&&c||(a&=-33);return a}function de(a,b){uc(E(a.j));a=Md(a,4,Zc,2,!0);var c=ic(a);c=4&c?4096&c?4096:8192&c?8192:0:void 0;c=c!=null?c:0;if(Array.isArray(b)){b=vd(b);for(var d=b.length,e=0;e<d;e++)a.push(Xc(b[e],c))}else for(b=x(b),d=b.next();!d.done;d=b.next())a.push(Xc(d.value,c))} 
function ee(a,b){a=Dd(a,b);a!=null&&(typeof a==="bigint"?Rb(a)?a=Number(a):(a=BigInt.asIntN(64,a),a=Rb(a)?Number(a):String(a)):a=Ic(a)?typeof a==="number"?Uc(a):Qc(a):void 0);return a}function fe(a,b){return a!=null?a:b}function ge(a,b){a=Dd(a,b);return a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0}function he(a,b){return Nc(Dd(a,b))}function ie(a,b){return Zc(Dd(a,b))}function M(a,b){return Kc(Dd(a,b))}function N(a,b,c){c=c===void 0?!1:c;return fe(ge(a,b),c)} 
function je(a,b){var c=c===void 0?0:c;return fe(he(a,b),c)}function ke(a,b){var c=c===void 0?0:c;return fe(Oc(Dd(a,b)),c)}function le(a,b){var c=c===void 0?0:c;return fe(ee(a,b),c)}function me(a,b){var c=c===void 0?Bd:c;a=Dd(a,b);b=typeof a;a=a==null?a:b==="bigint"?Lb(BigInt.asIntN(64,a)):Ic(a)?b==="string"?Sc(a):Tc(a):void 0;return fe(a,c)} 
function ne(a,b){var c=c===void 0?0:c;a=a.j;var d=E(a),e=Ed(a,d,b);var f=e==null||typeof e==="number"?e:e==="NaN"||e==="Infinity"||e==="-Infinity"?Number(e):void 0;f!=null&&f!==e&&Gd(a,d,b,f);return fe(f,c)}function O(a,b){var c=c===void 0?"":c;return fe(ie(a,b),c)}function P(a,b){var c=0;c=c===void 0?0:c;return fe(M(a,b),c)}function oe(a,b,c){return Md(a,b,Zc,c)}function pe(a,b,c){return P(a,Kd(a,c,b))}function qe(a,b,c,d){return K(a,b,Kd(a,d,c))} 
function re(a){a=ie(a,4);return a==null?void 0:a}function se(a,b,c){return J(a,b,c==null?c:Pc(c),"0")}function te(a,b){var c=performance.now();if(c!=null&&typeof c!=="number")throw Error("Value of float/double field must be a number, found "+typeof c+": "+c);J(a,b,c,0)};var ue;function Q(a,b,c){this.j=G(a,b,c)}Q.prototype.toJSON=function(){return ve(this)};function we(a){try{return ue=!0,JSON.stringify(ve(a),dd)}finally{ue=!1}}Q.prototype.ua=nc; 
function ve(a){a=ue?a.j:hd(a.j,jd,void 0,void 0,!1);var b=!ue,c=a.length;if(c){var d=a[c-1],e=qc(d);e?c--:d=void 0;var f=a;if(e){b:{var g=d;var h;var k=!1;if(g)for(var l in g)if(Object.prototype.hasOwnProperty.call(g,l))if(isNaN(+l))e=void 0,((e=h)!=null?e:h={})[l]=g[l];else if(e=g[l],Array.isArray(e)&&(rc(e)||pc(e)&&e.size===0)&&(e=null),e==null&&(k=!0),e!=null){var n=void 0;((n=h)!=null?n:h={})[l]=e}k||(h=g);if(h)for(var q in h){k=h;break b}k=null}g=k==null?d!=null:k!==d}for(;c>0;c--){h=f[c-1]; 
if(!(h==null||rc(h)||pc(h)&&h.size===0))break;var m=!0}if(f!==a||g||m){if(!b)f=Array.prototype.slice.call(f,0,c);else if(m||g||k)f.length=c;k&&f.push(k)}m=f}else m=a;return m}function xe(a,b){if(b==null)return new a;if(!Array.isArray(b))throw Error("must be an array");if(Object.isFrozen(b)||Object.isSealed(b)||!Object.isExtensible(b))throw Error("arrays passed to jspb constructors must be mutable");hc(b,128);return cd(a,kc(b))};function ye(a){return function(b){if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b=cd(a,kc(b))}return b}};function ze(a){this.j=G(a)}z(ze,Q);function Ae(a){this.j=G(a)}z(Ae,Q);Ae.prototype.getValue=function(){return O(this,1)};Ae.prototype.getVersion=function(){return P(this,5)};function Be(a){this.j=G(a)}z(Be,Q);Be.prototype.removeCookies=function(a){var b=E(this.j);uc(b);b=Zd(this,b,Ae,4,2,!0);a!=null||(a=b.length-1);if(typeof a!=="number"||a<0||a>=b.length)throw Error();b.splice(a,1);return this};function Ce(a){return function(){return!a.apply(this,arguments)}}function De(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}function Ee(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};function Fe(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)}function Ge(a,b,c){return a.removeEventListener?(a.removeEventListener(b,c,!1),!0):!1};function He(){return Za&&bb?bb.mobile:!Ie()&&(D("iPod")||D("iPhone")||D("Android")||D("IEMobile"))}function Ie(){return Za&&bb?!bb.mobile&&(D("iPad")||D("Android")||D("Silk")):D("iPad")||D("Android")&&!D("Mobile")||D("Silk")};function Je(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Ke(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Le(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Me(a){var b={},c;for(c in a)b[c]=a[c];return b};/* 
 
 Copyright Google LLC 
 SPDX-License-Identifier: Apache-2.0 
*/ 
var Ne=u.globalThis.trustedTypes,Oe;function Pe(){var a=null;if(!Ne)return a;try{var b=function(c){return c};a=Ne.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};function Qe(a){this.g=a}Qe.prototype.toString=function(){return this.g+""};function Re(a){Oe===void 0&&(Oe=Pe());var b=Oe;return new Qe(b?b.createScriptURL(a):a)}function Se(a){if(a instanceof Qe)return a.g;throw Error("");};function Te(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};var Ue=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Ve=/#|$/;function We(a,b){var c=a.search(Ve);a:{var d=0;for(var e=b.length;(d=a.indexOf(b,d))>=0&&d<c;){var f=a.charCodeAt(d-1);if(f==38||f==63)if(f=a.charCodeAt(d+e),!f||f==61||f==38||f==35)break a;d+=e+1}d=-1}if(d<0)return null;e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,e!==-1?e:0).replace(/\+/g," "))};function Xe(a){var b=Ga.apply(1,arguments);if(b.length===0)return Re(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Re(c)}function Ye(a,b){a=Se(a).toString();var c=a.split(/[?#]/),d=/[?]/.test(a)?"?"+c[1]:"";return Ze(c[0],d,/[#]/.test(a)?"#"+(d?c[2]:c[1]):"",b)} 
function Ze(a,b,c,d){function e(g,h){g!=null&&(Array.isArray(g)?g.forEach(function(k){return e(k,h)}):(b+=f+encodeURIComponent(h)+"="+encodeURIComponent(g),f="&"))}var f=b.length?"&":"?";d.constructor===Object&&(d=v(Object,"entries").call(Object,d));Array.isArray(d)?d.forEach(function(g){return e(g[1],g[0])}):d.forEach(e);return Re(a+b+c)};function $e(a){try{var b;if(b=!!a&&a.location.href!=null)a:{try{sb(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c){return!1}}function af(a){return $e(a.top)?a.top:null} 
function bf(a,b){var c=cf("SCRIPT",a);c.src=Se(b);var d;b=c.ownerDocument&&c.ownerDocument.defaultView||window;b=b===void 0?document:b;var e;b=(e=(d="document"in b?b.document:b).querySelector)==null?void 0:e.call(d,"script[nonce]");(d=b==null?"":b.nonce||b.getAttribute("nonce")||"")&&c.setAttribute("nonce",d);(a=a.getElementsByTagName("script")[0])&&a.parentNode&&a.parentNode.insertBefore(c,a)}function df(a,b){return b.getComputedStyle?b.getComputedStyle(a,null):a.currentStyle} 
function ef(){if(!u.globalThis.crypto)return Math.random();try{var a=new Uint32Array(1);u.globalThis.crypto.getRandomValues(a);return a[0]/65536/65536}catch(b){return Math.random()}}function ff(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}function gf(a){var b=a.length;if(b==0)return 0;for(var c=305419896,d=0;d<b;d++)c^=(c<<5)+(c>>2)+a.charCodeAt(d)&4294967295;return c>0?c:4294967296+c}var hf=/^([0-9.]+)px$/,jf=/^(-?[0-9.]{1,30})$/; 
function kf(a){if(!jf.test(a))return null;a=Number(a);return isNaN(a)?null:a}function lf(a){return(a=hf.exec(a))?+a[1]:null}var mf=De(function(){return He()?2:Ie()?1:0});function nf(a){ff({display:"none"},function(b,c){a.style.setProperty(c,b,"important")})}var of=[];function pf(){var a=of;of=[];a=x(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;try{b()}catch(c){}}} 
function qf(){var a=R(rf).B(sf.g,sf.defaultValue),b=S.document;if(a.length&&b.head){a=x(a);for(var c=a.next();!c.done;c=a.next())if((c=c.value)&&b.head){var d=cf("META");b.head.appendChild(d);d.httpEquiv="origin-trial";d.content=c}}}function tf(){var a=a===void 0?Math.random:a;return Math.floor(a()*4503599627370496)}function uf(a){if(typeof a.goog_pvsid!=="number")try{Object.defineProperty(a,"goog_pvsid",{value:tf(),configurable:!1})}catch(b){}return Number(a.goog_pvsid)||-1} 
function vf(a){var b=wf;b.readyState==="complete"||b.readyState==="interactive"?(of.push(a),of.length==1&&(u.Promise?u.Promise.resolve().then(pf):window.setImmediate?setImmediate(pf):setTimeout(pf,0))):b.addEventListener("DOMContentLoaded",a)}function cf(a,b){b=b===void 0?document:b;return b.createElement(String(a).toLowerCase())};function xf(a,b,c,d){d=d===void 0?!1:d;a.google_image_requests||(a.google_image_requests=[]);var e=cf("IMG",a.document);if(c){var f=function(){if(c){var g=a.google_image_requests,h=lb(g,e);h>=0&&Array.prototype.splice.call(g,h,1)}Ge(e,"load",f);Ge(e,"error",f)};Fe(e,"load",f);Fe(e,"error",f)}d&&(e.attributionSrc="");e.src=b;a.google_image_requests.push(e)} 
function yf(a,b){var c=c===void 0?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;ff(a,function(e,f){if(e||e===0)d+="&"+f+"="+encodeURIComponent(""+e)});zf(d,c)} 
function zf(a,b){var c=window;b=b===void 0?!1:b;var d=d===void 0?!1:d;c.fetch?(b={keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"},d&&(b.mode="cors","setAttributionReporting"in XMLHttpRequest.prototype?b.attributionReporting={eventSourceEligible:"true",triggerEligible:"false"}:b.headers={"Attribution-Reporting-Eligible":"event-source"}),c.fetch(a,b)):xf(c,a,b===void 0?!1:b,d===void 0?!1:d)};var wf=document,S=window;var Af=ia(["https://pagead2.googlesyndication.com/pagead/js/logging_library.js"]),Bf=null;function Cf(a,b){b=b===void 0?[]:b;var c=!1;C.google_logging_queue||(c=!0,C.google_logging_queue=[]);C.google_logging_queue.push([a,b]);if(a=c){if(Bf==null){Bf=!1;try{var d=af(C);d&&d.location.hash.indexOf("google_logging")!==-1&&(Bf=!0)}catch(e){}}a=Bf}a&&bf(C.document,Xe(Af))};function Df(a,b){this.width=a;this.height=b}r=Df.prototype;r.aspectRatio=function(){return this.width/this.height};r.isEmpty=function(){return!(this.width*this.height)};r.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};r.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};r.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; 
r.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};function Ef(a){a=a===void 0?C:a;var b=a.context||a.AMP_CONTEXT_DATA;if(!b)try{b=a.parent.context||a.parent.AMP_CONTEXT_DATA}catch(e){}var c,d;return((c=b)==null?0:c.pageViewId)&&((d=b)==null?0:d.canonicalUrl)?b:null}function Ff(a){return(a=a===void 0?Ef():a)?$e(a.master)?a.master:null:null};function Gf(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}function Hf(a){this.g=a||C.document||document}Hf.prototype.getChildren=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})}; 
Hf.prototype.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};function If(a){var b=b===void 0?1:b;a=Ff(Ef(a))||a;a.google_unique_id=(a.google_unique_id||0)+b;return a.google_unique_id}function Jf(a){a=a.google_unique_id;return typeof a==="number"?a:0}function Kf(a){if(!a)return"";a=a.toLowerCase();a.substring(0,3)!="ca-"&&(a="ca-"+a);return a};function Lf(a,b){var c=c===void 0?{}:c;this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta=c}function Mf(a){return!!(a.error&&a.meta&&a.id)};function Nf(a){var b=a.toString();a.name&&b.indexOf(a.name)==-1&&(b+=": "+a.name);a.message&&b.indexOf(a.message)==-1&&(b+=": "+a.message);if(a.stack)a:{a=a.stack;var c=b;try{a.indexOf(c)==-1&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\n)*)\\2"),"$1");b=a.replace(RegExp("\n *","g"),"\n");break a}catch(e){b=c;break a}b=void 0}return b};var Of=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");function Pf(a,b){this.g=a;this.i=b}function Qf(a,b,c){this.url=a;this.A=b;this.kb=!!c;this.depth=null};var Rf=null;function Sf(){if(Rf===null){Rf="";try{var a="";try{a=C.top.location.hash}catch(c){a=C.location.hash}if(a){var b=a.match(/\bdeid=([\d,]+)/);Rf=b?b[1]:""}}catch(c){}}return Rf};function Tf(){var a=a===void 0?C:a;return(a=a.performance)&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):Date.now()}function Uf(){var a=a===void 0?C:a;return(a=a.performance)&&a.now?a.now():null};function Vf(a,b){var c=Uf()||Tf();this.label=a;this.type=b;this.value=c;this.duration=0;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()};var Wf=C.performance,Xf=!!(Wf&&Wf.mark&&Wf.measure&&Wf.clearMarks),Yf=De(function(){var a;if(a=Xf)a=Sf(),a=!!a.indexOf&&a.indexOf("1337")>=0;return a});function Zf(a){this.events=[];this.i=a||C;var b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.events=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.g=Yf()||(b!=null?b:Math.random()<1)} 
Zf.prototype.disable=function(){this.g=!1;if(this.events!=this.i.google_js_reporting_queue){if(Yf())for(var a=this.events,b=$f,c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a);this.events.length=0}};function $f(a){a&&Wf&&Yf()&&(Wf.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Wf.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))} 
Zf.prototype.start=function(a,b){if(!this.g)return null;a=new Vf(a,b);b="goog_"+a.label+"_"+a.uniqueId+"_start";Wf&&Yf()&&Wf.mark(b);return a};Zf.prototype.end=function(a){if(this.g&&typeof a.value==="number"){a.duration=(Uf()||Tf())-a.value;var b="goog_"+a.label+"_"+a.uniqueId+"_end";Wf&&Yf()&&Wf.mark(b);!this.g||this.events.length>2048||this.events.push(a)}};function ag(){this.l="&";this.i={};this.u=0;this.g=[]}function bg(a,b){var c={};c[a]=b;return[c]}function cg(a,b,c,d,e){var f=[];ff(a,function(g,h){(g=dg(g,b,c,d,e))&&f.push(h+"="+g)});return f.join(b)} 
function dg(a,b,c,d,e){if(a==null)return"";b=b||"&";c=c||",$";typeof c==="string"&&(c=c.split(""));if(a instanceof Array){if(d||(d=0),d<c.length){for(var f=[],g=0;g<a.length;g++)f.push(dg(a[g],b,c,d+1,e));return f.join(c[d])}}else if(typeof a==="object")return e||(e=0),e<2?encodeURIComponent(cg(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))} 
function eg(a,b){var c="https://pagead2.googlesyndication.com"+b,d=fg(a)-b.length;if(d<0)return"";a.g.sort(function(n,q){return n-q});b=null;for(var e="",f=0;f<a.g.length;f++)for(var g=a.g[f],h=a.i[g],k=0;k<h.length;k++){if(!d){b=b==null?g:b;break}var l=cg(h[k],a.l,",$");if(l){l=e+l;if(d>=l.length){d-=l.length;c+=l;e=a.l;break}b=b==null?g:b}}a="";b!=null&&(a=e+"trn="+b);return c+a}function fg(a){var b=1,c;for(c in a.i)c.length>b&&(b=c.length);return 3997-b-a.l.length-1};function gg(a,b,c){this.u=a;this.B=b;this.i=c===void 0?null:c;this.g=null;this.l=!1;this.hb=this.T}function hg(a,b){a.g=b}gg.prototype.wa=function(a,b,c){try{if(this.i&&this.i.g){var d=this.i.start(a.toString(),3);var e=b();this.i.end(d)}else e=b()}catch(h){b=this.B;try{$f(d),b=this.hb(a,new Lf(h,{message:Nf(h)}),void 0,c)}catch(k){this.T(217,k)}if(b){var f,g;(f=window.console)==null||(g=f.error)==null||g.call(f,h)}else throw h;}return e}; 
gg.prototype.pb=function(a,b){var c=this;return function(){var d=Ga.apply(0,arguments);return c.wa(a,function(){return b.apply(void 0,d)})}}; 
gg.prototype.T=function(a,b,c,d,e){e=e||"jserror";try{var f=new ag;f.g.push(1);f.i[1]=bg("context",a);Mf(b)||(b=new Lf(b,{message:Nf(b)}));if(b.msg){var g=b.msg.substring(0,512);f.g.push(2);f.i[2]=bg("msg",g)}var h=b.meta||{};if(this.g)try{this.g(h)}catch($d){}if(d)try{d(h)}catch($d){}d=[h];f.g.push(3);f.i[3]=d;g=C;d=[];h=null;do{var k=g;if($e(k)){var l=k.location.href;h=k.document&&k.document.referrer||null}else l=h,h=null;d.push(new Qf(l||"",k));try{g=k.parent}catch($d){g=null}}while(g&&k!=g);l= 
0;for(var n=d.length-1;l<=n;++l)d[l].depth=n-l;k=C;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length==d.length-1)for(n=1;n<d.length;++n){var q=d[n];q.url||(q.url=k.location.ancestorOrigins[n-1]||"",q.kb=!0)}var m=new Qf(C.location.href,C,!1);k=null;var p=d.length-1;for(q=p;q>=0;--q){var y=d[q];!k&&Of.test(y.url)&&(k=y);if(y.url&&!y.kb){m=y;break}}y=null;var A=d.length&&d[p].url;m.depth!=0&&A&&(y=d[p]);var B=new Pf(m,y);if(B.i){var Y=B.i.url||"";f.g.push(4);f.i[4]=bg("top", 
Y)}var La={url:B.g.url||""};if(B.g.url){var Ca=B.g.url.match(Ue),Da=Ca[1],Oi=Ca[3],Pi=Ca[4];m="";Da&&(m+=Da+":");Oi&&(m+="//",m+=Oi,Pi&&(m+=":"+Pi));var Qi=m}else Qi="";La=[La,{url:Qi}];f.g.push(5);f.i[5]=La;ig(this.u,e,f,this.l,c)}catch($d){try{ig(this.u,e,{context:"ecmserr",rctx:a,msg:Nf($d),url:B&&B.g.url},this.l,c)}catch(Qs){}}return this.B};gg.prototype.Ha=function(a,b){var c=this;b.catch(function(d){d=d?d:"unknown rejection";c.T(a,d instanceof Error?d:Error(d),void 0,c.g||void 0)})};function jg(a){this.j=G(a)}z(jg,Q);var kg=[2,3,4];function lg(a){this.j=G(a)}z(lg,Q);var mg=[3,4,5],ng=[6,7];function og(a){this.j=G(a)}z(og,Q);var pg=[4,5];function qg(a,b){var c=L(a,lg,2,I());if(!c.length)return rg(a,b);a=P(a,1);if(a===1){var d=qg(c[0],b);return d.success?{success:!0,value:!d.value}:d}c=nb(c,function(h){return qg(h,b)});switch(a){case 2:var e;return(e=(d=v(c,"find").call(c,function(h){return h.success&&!h.value}))!=null?d:v(c,"find").call(c,function(h){return!h.success}))!=null?e:{success:!0,value:!0};case 3:var f,g;return(g=(f=v(c,"find").call(c,function(h){return h.success&&h.value}))!=null?f:v(c,"find").call(c,function(h){return!h.success}))!= 
null?g:{success:!0,value:!1};default:return{success:!1,errorType:3}}} 
function rg(a,b){var c=Wd(a,mg);a:{switch(c){case 3:var d=pe(a,3,mg);break a;case 4:d=pe(a,4,mg);break a;case 5:d=pe(a,5,mg);break a}d=void 0}if(!d)return{success:!1,errorType:2};b=(b=b[c])&&b[d];if(!b)return{success:!1,property:d,ia:c,errorType:1};try{var e=b.apply;var f=oe(a,8,I());var g=e.call(b,null,ka(f))}catch(h){return{success:!1,property:d,ia:c,errorType:2}}e=P(a,1);if(e===4)return{success:!0,value:!!g};if(e===5)return{success:!0,value:g!=null};if(e===12)a=O(a,Kd(a,ng,7));else a:{switch(c){case 4:a= 
ne(a,Kd(a,ng,6));break a;case 5:a=O(a,Kd(a,ng,7));break a}a=void 0}if(a==null)return{success:!1,property:d,ia:c,errorType:3};if(e===6)return{success:!0,value:g===a};if(e===9)return{success:!0,value:g!=null&&Xa(String(g),a)===0};if(g==null)return{success:!1,property:d,ia:c,errorType:4};switch(e){case 7:c=g<a;break;case 8:c=g>a;break;case 12:c=Hb(a)&&Hb(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Xa(String(g),a)===-1;break;case 11:c=g!=null&&Xa(String(g),a)===1;break;default:return{success:!1, 
errorType:3}}return{success:!0,value:c}}function sg(a,b){return a?b?qg(a,b):{success:!1,errorType:1}:{success:!0,value:!0}};function tg(a){this.j=G(a)}z(tg,Q);function ug(a){this.j=G(a)}z(ug,Q);ug.prototype.getValue=function(){return K(this,tg,2)};function vg(a){this.j=G(a)}z(vg,Q);var wg=ye(vg),xg=[1,2,3,6,7,8];function yg(a){this.j=G(a)}z(yg,Q);function zg(a,b){try{var c=function(d){var e={};return[(e[d.Ka]=d.Ga,e)]};return JSON.stringify([a.filter(function(d){return d.ta}).map(c),ve(b),a.filter(function(d){return!d.ta}).map(c)])}catch(d){return Ag(d,b),""}}function Ag(a,b){try{yf({m:Nf(a instanceof Error?a:Error(String(a))),b:P(b,1)||null,v:O(b,2)||null},"rcs_internal")}catch(c){}}function Bg(a,b){var c=new yg;a=J(c,1,F(a),0);b=J(a,2,Yc(b),"");this.l=Ad(b)};function Cg(a){this.j=G(a)}z(Cg,Q);Cg.prototype.getWidth=function(){return je(this,3)};Cg.prototype.getHeight=function(){return je(this,4)};Cg.prototype.setHeight=function(a){return H(this,4,Mc(a))};function Dg(a){this.j=G(a)}z(Dg,Q);function Eg(a){this.j=G(a)}z(Eg,Q);Eg.prototype.getWidth=function(){return me(this,1)};function Fg(a,b){return H(a,1,b==null?b:Pc(b))}Eg.prototype.getHeight=function(){return me(this,2)};Eg.prototype.setHeight=function(a){return H(this,2,a==null?a:Pc(a))};function Gg(a){this.j=G(a)}z(Gg,Q);Gg.prototype.setPage=function(a){return ae(this,3,a)};function Hg(a){this.j=G(a)}z(Hg,Q);function Ig(a){this.j=G(a)}z(Ig,Q);Ig.prototype.getValue=function(){return P(this,1)};function Jg(a){this.j=G(a)}z(Jg,Q);Jg.prototype.setPage=function(a){return ae(this,2,a)};Jg.prototype.getContentUrl=function(){return O(this,4)};function Kg(a){this.j=G(a)}z(Kg,Q);function Lg(a){this.j=G(a)}z(Lg,Q);function Mg(a){return Xd(a,Kg,3)};function Ng(a){this.j=G(a)}z(Ng,Q);Ng.prototype.getContentUrl=function(){return O(this,1)};function Og(a){this.j=G(a)}z(Og,Q);function Pg(a){this.j=G(a)}z(Pg,Q);function Qg(a){var b=new Pg;return J(b,1,F(a),0)};function Rg(a){this.j=G(a)}z(Rg,Q);var Sg=[4,5,6,8,9,10,11,12,13,14,15,16,17];function Tg(a){this.j=G(a)}z(Tg,Q);function Ug(a){this.j=G(a)}z(Ug,Q);function Vg(a,b){return J(a,1,F(b),0)}function Wg(a,b){return J(a,2,F(b),0)};function Xg(a){this.j=G(a)}z(Xg,Q);var Yg=[1,2];function Zg(a){this.j=G(a)}z(Zg,Q);function $g(a,b){return ae(a,1,b)}function ah(a,b){return ce(a,2,b)}function bh(a,b){return Sd(a,4,b,Lc)}function ch(a,b){return ce(a,5,b)}function dh(a,b){return J(a,6,F(b),0)};function eh(a){this.j=G(a)}z(eh,Q);var fh=[1,2,3,4,6];function gh(a){this.j=G(a)}z(gh,Q);function hh(a){this.j=G(a)}z(hh,Q);hh.prototype.getTagSessionCorrelator=function(){return me(this,2)};function ih(a){var b=new hh;return be(b,4,jh,a)}var jh=[4,5,7,8,9];function kh(a){this.j=G(a)}z(kh,Q);function lh(a){this.j=G(a)}z(lh,Q);function mh(a){this.j=G(a)}z(mh,Q);mh.prototype.getTagSessionCorrelator=function(){return me(this,1)};function nh(a){this.j=G(a)}z(nh,Q);var oh=[1,7],ph=[4,6,8];function qh(){Bg.apply(this,arguments)}z(qh,Bg);function rh(){qh.apply(this,arguments)}z(rh,qh);rh.prototype.Z=function(){this.u.apply(this,ka(Ga.apply(0,arguments).map(function(a){return{ta:!0,Ka:3,Ga:ve(a)}})))};rh.prototype.ya=function(){this.u.apply(this,ka(Ga.apply(0,arguments).map(function(a){return{ta:!0,Ka:4,Ga:ve(a)}})))};rh.prototype.ka=function(){this.u.apply(this,ka(Ga.apply(0,arguments).map(function(a){return{ta:!0,Ka:7,Ga:ve(a)}})))};function sh(a,b){if(u.globalThis.fetch)u.globalThis.fetch(a,{method:"POST",body:b,keepalive:b.length<65536,credentials:"omit",mode:"no-cors",redirect:"follow"}).catch(function(){});else{var c=new XMLHttpRequest;c.open("POST",a,!0);c.send(b)}};function th(a,b,c,d,e,f,g,h){rh.call(this,a,b);this.M=c;this.G=d;this.U=e;this.D=f;this.F=g;this.B=h;this.g=[];this.i=null;this.C=!1}z(th,rh);function uh(a){a.i!==null&&(clearTimeout(a.i),a.i=null);if(a.g.length){var b=zg(a.g,a.l);a.G(a.M+"?e=1",b);a.g=[]}} 
th.prototype.u=function(){var a=Ga.apply(0,arguments),b=this;try{this.F&&zg(this.g.concat(a),this.l).length>=65536&&uh(this),this.B&&!this.C&&(this.C=!0,vh(this.B,function(){uh(b)})),this.g.push.apply(this.g,ka(a)),this.g.length>=this.D&&uh(this),this.g.length&&this.i===null&&(this.i=setTimeout(function(){uh(b)},this.U))}catch(c){Ag(c,this.l)}}; 
function wh(a,b,c,d,e,f){th.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",sh,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!u.globalThis.fetch,f)}z(wh,th);function xh(a,b,c){var d=d===void 0?new wh(6,"unknown",b):d;this.B=a;this.u=c;this.i=d;this.g=[];this.l=a>0&&ef()<1/a}function yh(a,b,c,d,e,f){if(a.l){var g=Wg(Vg(new Ug,b),c);b=dh(ah($g(ch(bh(new Zg,d),e),g),a.g.slice()),f);b=ih(b);a.i.ya(zh(a,b));if(f===1||f===3||f===4&&!a.g.some(function(h){return P(h,1)===P(g,1)&&P(h,2)===c}))a.g.push(g),a.g.length>100&&a.g.shift()}}function Ah(a,b,c,d){if(a.l){var e=new Tg;b=H(e,1,Mc(b));c=H(b,2,Mc(c));d=H(c,3,F(d));c=new hh;d=be(c,8,jh,d);a.i.ya(zh(a,d))}} 
function Bh(a,b,c,d,e){if(a.l){var f=new og;b=ae(f,1,b);c=H(b,2,F(c));d=H(c,3,Mc(d));if(e.ia===void 0)Td(d,4,pg,F(e.errorType));else switch(e.ia){case 3:c=new jg;c=Td(c,2,kg,F(e.property));e=H(c,1,F(e.errorType));be(d,5,pg,e);break;case 4:c=new jg;c=Td(c,3,kg,F(e.property));e=H(c,1,F(e.errorType));be(d,5,pg,e);break;case 5:c=new jg,c=Td(c,4,kg,F(e.property)),e=H(c,1,F(e.errorType)),be(d,5,pg,e)}e=new hh;e=be(e,9,jh,d);a.i.ya(zh(a,e))}} 
function zh(a,b){var c=Date.now();c=v(Number,"isFinite").call(Number,c)?Math.round(c):0;b=se(b,1,c);c=uf(window);b=se(b,2,c);return se(b,6,a.B)};function R(a){var b="Fa";if(a.Fa&&a.hasOwnProperty(b))return a.Fa;b=new a;return a.Fa=b};function Ch(){var a={};this.N=(a[3]={},a[4]={},a[5]={},a)};var Dh=/^true$/.test("false");function Eh(a,b){switch(b){case 1:return pe(a,1,xg);case 2:return pe(a,2,xg);case 3:return pe(a,3,xg);case 6:return pe(a,6,xg);case 8:return pe(a,8,xg);default:return null}}function Fh(a,b){if(!a)return null;switch(b){case 1:return N(a,1);case 7:return O(a,3);case 2:return ne(a,2);case 3:return O(a,3);case 6:return oe(a,4,I());case 8:return oe(a,4,I());default:return null}} 
var Gh=De(function(){if(!Dh)return{};try{var a=a===void 0?window:a;try{var b=a.sessionStorage.getItem("GGDFSSK")}catch(c){b=null}if(b)return JSON.parse(b)}catch(c){}return{}});function Hh(a,b,c,d){var e=d=d===void 0?0:d,f,g;R(Ih).l[e]=(g=(f=R(Ih).l[e])==null?void 0:f.add(b))!=null?g:(new u.Set).add(b);e=Gh();if(e[b]!=null)return e[b];b=Jh(d)[b];if(!b)return c;b=wg(JSON.stringify(b));b=Kh(b);a=Fh(b,a);return a!=null?a:c} 
function Kh(a){var b=R(Ch).N;if(b&&Wd(a,xg)!==8){var c=pb(L(a,ug,5,I()),function(f){f=sg(K(f,lg,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=K(a,tg,4))!=null?e:null}function Ih(){this.i={};this.u=[];this.l={};this.g=new u.Map}function Lh(a,b,c){return!!Hh(1,a,b===void 0?!1:b,c)}function Mh(a,b,c){b=b===void 0?0:b;a=Number(Hh(2,a,b,c));return isNaN(a)?b:a}function Nh(a,b,c){b=b===void 0?"":b;a=Hh(3,a,b,c);return typeof a==="string"?a:b} 
function Oh(a,b,c){b=b===void 0?[]:b;a=Hh(6,a,b,c);return Array.isArray(a)?a:b}function Ph(a,b,c){b=b===void 0?[]:b;a=Hh(8,a,b,c);return Array.isArray(a)?a:b}function Jh(a){return R(Ih).i[a]||(R(Ih).i[a]={})}function Qh(a,b){var c=Jh(b);ff(a,function(d,e){if(c[e]){d=wg(JSON.stringify(d));if(M(d,Kd(d,xg,8))!=null){var f=wg(JSON.stringify(c[e])),g=Xd(d,tg,4);f=oe(Yd(f,tg,4),4,I());de(g,f)}c[e]=ve(d)}else c[e]=d})} 
function Rh(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=x(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;for(var k=Jh(h),l=x(a),n=l.next();!n.done;n=l.next()){n=n.value;var q=Wd(n,xg),m=Eh(n,q);if(m){var p=void 0,y=void 0,A=void 0;var B=(p=(A=R(Ih).g.get(h))==null?void 0:(y=A.get(m))==null?void 0:y.slice(0))!=null?p:[];a:{p=m;y=q;A=new eh;switch(y){case 1:Td(A,1,fh,F(p));break;case 2:Td(A,2,fh,F(p));break;case 3:Td(A,3,fh,F(p));break;case 6:Td(A,4,fh,F(p));break;case 8:Td(A,6,fh,F(p));break; 
default:B=void 0;break a}Sd(A,5,B,Lc);B=A}if(p=B)y=void 0,p=!((y=R(Ih).l[h])==null||!y.has(m));p&&f.push(B);if(q===8&&k[m])B=wg(JSON.stringify(k[m])),q=Xd(n,tg,4),B=oe(Yd(B,tg,4),4,I()),de(q,B);else{if(q=B)p=void 0,q=!((p=R(Ih).g.get(h))==null||!p.has(m));q&&g.push(B)}e||(q=m,B=h,p=d,y=R(Ih),y.g.has(B)||y.g.set(B,new u.Map),y.g.get(B).has(q)||y.g.get(B).set(q,[]),p&&y.g.get(B).get(q).push(p));k[m]=ve(n)}}}if(f.length||g.length)a=d!=null?d:void 0,c.l&&c.u&&(d=new gh,f=ce(d,2,f),g=ce(f,3,g),a&&J(g, 
1,Mc(a),0),f=new hh,g=be(f,7,jh,g),c.i.ya(zh(c,g)))}function Sh(a,b){b=Jh(b);a=x(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=wg(JSON.stringify(c)),e=Wd(d,xg);(d=Eh(d,e))&&(b[d]||(b[d]=c))}}function Th(){return v(Object,"keys").call(Object,R(Ih).i).map(function(a){return Number(a)})}function Uh(a){(t=R(Ih).u,v(t,"includes")).call(t,a)||Qh(Jh(4),a)};function Vh(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function Wh(a,b,c){return b[a]||c}function Xh(a){Vh(5,Lh,a);Vh(6,Mh,a);Vh(7,Nh,a);Vh(8,Oh,a);Vh(17,Ph,a);Vh(13,Sh,a);Vh(15,Uh,a)} 
function Yh(a){Vh(4,function(b){R(Ch).N=b},a);Vh(9,function(b,c){var d=R(Ch);d.N[3][b]==null&&(d.N[3][b]=c)},a);Vh(10,function(b,c){var d=R(Ch);d.N[4][b]==null&&(d.N[4][b]=c)},a);Vh(11,function(b,c){var d=R(Ch);d.N[5][b]==null&&(d.N[5][b]=c)},a);Vh(14,function(b){for(var c=R(Ch),d=x([3,4,5]),e=d.next();!e.done;e=d.next())e=e.value,v(Object,"assign").call(Object,c.N[e],b[e])},a)}function Zh(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};function $h(){}$h.prototype.l=function(){};$h.prototype.i=function(){};$h.prototype.u=function(){return[]};$h.prototype.g=function(){return[]};function ai(a,b,c){a.l=Wh(1,b,function(){});a.u=function(d,e){return Wh(2,b,function(){return[]})(d,c,e)};a.g=function(){return Wh(3,b,function(){return[]})(c)};a.i=function(d){Wh(16,b,function(){})(d,c)}};function bi(){this.g=Math.random()}function ci(a,b){b>=0&&b<=1&&(a.g=b)}function ig(a,b,c,d,e){if(((d===void 0?0:d)?a.g:Math.random())<(e||.01))try{if(c instanceof ag)var f=c;else f=new ag,ff(c,function(h,k){var l=f,n=l.u++;h=bg(k,h);l.g.push(n);l.i[n]=h});var g=eg(f,"/pagead/gen_204?id="+b+"&");g&&xf(C,g,!1,!1)}catch(h){}};var di,ei,fi=new Zf(window);(function(a){di=a!=null?a:new bi;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());ci(di,window.google_srt);ei=new gg(di,!0,fi);hg(ei,function(){});ei.l=!0;window.document.readyState=="complete"?window.google_measure_js_timing||fi.disable():fi.g&&Fe(window,"load",function(){window.google_measure_js_timing||fi.disable()})})();var gi={hc:0,fc:1,bc:2,Wb:3,dc:4,Xb:5,ec:6,Zb:7,ac:8,Vb:9,Yb:10,ic:11};var hi={kc:0,lc:1,jc:2};function ii(){this.i=new ji(this);this.g=0}ii.prototype.resolve=function(a){ki(this);this.g=1;this.u=a;li(this.i)};ii.prototype.reject=function(a){ki(this);this.g=2;this.l=a;li(this.i)};function ki(a){if(a.g!=0)throw Error("Already resolved/rejected.");}function ji(a){this.g=a}ji.prototype.then=function(a,b){if(this.i)throw Error("Then functions already set.");this.i=a;this.l=b;li(this)}; 
function li(a){switch(a.g.g){case 0:break;case 1:a.i&&a.i(a.g.u);break;case 2:a.l&&a.l(a.g.l);break;default:throw Error("Unhandled deferred state.");}};function mi(a){this.g=a.slice(0)}r=mi.prototype;r.forEach=function(a){var b=this;this.g.forEach(function(c,d){return void a(c,d,b)})};r.filter=function(a){return new mi(mb(this.g,a))};r.apply=function(a){return new mi(a(this.g.slice(0)))};r.sort=function(a){return new mi(this.g.slice(0).sort(a))};r.get=function(a){return this.g[a]};r.add=function(a){var b=this.g.slice(0);b.push(a);return new mi(b)};function ni(a,b){for(var c=[],d=a.length,e=0;e<d;e++)c.push(a[e]);c.forEach(b,void 0)};function oi(){this.g={};this.i={}}oi.prototype.set=function(a,b){var c=pi(a);this.g[c]=b;this.i[c]=a};oi.prototype.remove=function(a){a=pi(a);this.g[a]=void 0;this.i[a]=void 0};oi.prototype.get=function(a,b){a=pi(a);return this.g[a]!==void 0?this.g[a]:b};oi.prototype.clear=function(){this.g={};this.i={}};function pi(a){return a instanceof Object?String(Na(a)):a+""};function qi(a,b){this.g=a;this.i=b}qi.prototype.getValue=function(){return this.g.value};function ri(a){return a.g!=null?a.getValue():null}qi.prototype.isError=function(){return this.g==null};function si(a,b){a.g!=null&&b(a.getValue());return a}qi.prototype.map=function(a){return this.g!=null?(a=a(this.getValue()),a instanceof qi?a:ti(a)):this};function ui(a,b){a.g!=null||b(a.i);return a}function ti(a){return new qi({value:a},null)}function vi(a){return new qi(null,a)} 
function wi(a){try{return ti(a())}catch(b){return vi(b)}};function xi(a){this.g=new oi;if(a)for(var b=0;b<a.length;++b)this.add(a[b])}xi.prototype.add=function(a){this.g.set(a,!0)};xi.prototype.remove=function(a){this.g.remove(a)};xi.prototype.removeAll=function(){this.g.clear()};xi.prototype.contains=function(a){return this.g.g[pi(a)]!==void 0};function yi(){this.g=new oi}yi.prototype.set=function(a,b){var c=this.g.get(a);c||(c=new xi,this.g.set(a,c));c.add(b)};function zi(a){this.j=G(a)}z(zi,Q);zi.prototype.getId=function(){return ie(this,3)};function Ai(a){var b=a.Ya===void 0?void 0:a.Ya;var c=a.wb===void 0?void 0:a.wb;var d=a.Hb===void 0?void 0:a.Hb;a=a.rb===void 0?void 0:a.rb;this.g=c;this.u=new mi(b||[]);this.l=a;this.i=d};function Bi(a){var b=[],c=a.u;c&&c.g.length&&b.push({shortName:"a",ga:Ci(c)});a.g!=null&&b.push({shortName:"as",ga:a.g});a.i!=null&&b.push({shortName:"i",ga:String(a.i)});a.l!=null&&b.push({shortName:"rp",ga:String(a.l)});b.sort(function(d,e){return d.shortName.localeCompare(e.shortName)});b.unshift({shortName:"t",ga:"aa"});return b}function Ci(a){a=a.g.slice(0).map(Di);a=JSON.stringify(a);return gf(a)} 
function Di(a){var b={};ie(a,7)!=null&&(b.q=ie(a,7));he(a,2)!=null&&(b.o=he(a,2));he(a,5)!=null&&(b.p=he(a,5));return b};function Ei(a){this.j=G(a)}z(Ei,Q);Ei.prototype.setLocation=function(a){return H(this,1,F(a))};function Fi(a,b){this.fb=a;this.qb=b}function Gi(a){var b=[].slice.call(arguments).filter(Ce(function(e){return e===null}));if(!b.length)return null;var c=[],d={};b.forEach(function(e){c=c.concat(e.fb||[]);d=v(Object,"assign").call(Object,d,e.qb)});return new Fi(c,d)} 
function Hi(a){switch(a){case 1:return new Fi(null,{google_ad_semantic_area:"mc"});case 2:return new Fi(null,{google_ad_semantic_area:"h"});case 3:return new Fi(null,{google_ad_semantic_area:"f"});case 4:return new Fi(null,{google_ad_semantic_area:"s"});default:return null}} 
function Ii(a){if(a==null)a=null;else{var b=Bi(a);a=[];b=x(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=String(c.ga);a.push(c.shortName+"."+(d.length<=20?d:d.slice(0,19)+"_"))}a=new Fi(null,{google_placement_id:a.join("~")})}return a};var Ji={},Ki=new Fi(["google-auto-placed"],(Ji.google_reactive_ad_format=40,Ji.google_tag_origin="qs",Ji));function Li(a){this.j=G(a)}z(Li,Q);var Mi=ye(Li);function Ni(a){this.j=G(a)}z(Ni,Q);function Ri(a){this.j=G(a)}z(Ri,Q);function Si(a){this.j=G(a)}z(Si,Q);function Ti(a){this.j=G(a)}z(Ti,Q);function Ui(a){this.j=G(a)}z(Ui,Q);function Vi(a){if(a.nodeType!=1)var b=!1;else if(b=a.tagName=="INS")a:{b=["adsbygoogle-placeholder"];var c=a.className?a.className.split(/\s+/):[];a={};for(var d=0;d<c.length;++d)a[c[d]]=!0;for(c=0;c<b.length;++c)if(!a[b[c]]){b=!1;break a}b=!0}return b};function Wi(a,b,c){switch(c){case 0:b.parentNode&&b.parentNode.insertBefore(a,b);break;case 3:if(c=b.parentNode){var d=b.nextSibling;if(d&&d.parentNode!=c)for(;d&&d.nodeType==8;)d=d.nextSibling;c.insertBefore(a,d)}break;case 1:b.insertBefore(a,b.firstChild);break;case 2:b.appendChild(a)}Vi(b)&&(b.setAttribute("data-init-display",b.style.display),b.style.display="block")};function T(a,b){this.g=a;this.defaultValue=b===void 0?!1:b}function Xi(a,b){this.g=a;this.defaultValue=b===void 0?0:b}function Yi(a,b){b=b===void 0?[]:b;this.g=a;this.defaultValue=b};var Zi=new T(1333),$i=new Xi(1359),aj=new Xi(1358),bj=new T(1360),cj=new Xi(1357),dj=new T(1345),ej=new T(1371,!0),fj=new T(1332),gj=new T(1379),hj=new Xi(1130,100),ij=new Xi(1340,.2),jj=new Xi(1338,.3),kj=new Xi(1336,1.2),lj=new Xi(1339,.3),mj=new T(1337),nj=new function(a,b){this.g=a;this.defaultValue=b===void 0?"":b}(14),oj=new T(1370,!0),pj=new T(1342),qj=new T(1344),rj=new Xi(1343,300),sj=new T(316),tj=new T(313),uj=new T(369),vj=new T(1318,!0),wj=new T(1378),xj=new T(626390500),yj=new Yi(627094447, 
"1 2 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 24 29 30 34".split(" ")),zj=new Xi(643258048),Aj=new Xi(643258049),Bj=new Yi(641845510,["33","38"]),Cj=new T(622128248),Dj=new T(676863674,!0),Ej=new Yi(635821288,["29_18","30_19"]),Fj=new Yi(636146137,["29_5","30_6"]),Gj=new Yi(627094446,"1 2 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 24 29 30 34".split(" ")),Hj=new T(626062008),Ij=new T(679043940,!0),Jj=new Yi(683929765),Kj=new T(643258050),Lj=new T(506914611),Mj=new T(626062007),Nj=new T(45650663), 
Oj=new Xi(684147711,-1),Pj=new Xi(684147712,-1),Qj=new T(662101537),Rj=new T(10017,!0),Sj=new Xi(1079,5),Tj=new T(10013),sf=new function(a,b){b=b===void 0?[]:b;this.g=a;this.defaultValue=b}(1934,["AlK2UR5SkAlj8jjdEc9p3F3xuFYlF6LYjAML3EOqw1g26eCwWPjdmecULvBH5MVPoqKYrOfPhYVL71xAXI1IBQoAAAB8eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==","Amm8/NmvvQfhwCib6I7ZsmUxiSCfOxWxHayJwyU1r3gRIItzr7bNQid6O8ZYaE1GSQTa69WwhPC9flq/oYkRBwsAAACCeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==", 
"A9wSqI5i0iwGdf6L1CERNdmsTPgVu44ewj8QxTBYgsv1LCPUVF7YmWOvTappqB1139jAymxUW/RO8zmMqo4zlAAAAACNeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9","A+d7vJfYtay4OUbdtRPZA3y7bKQLsxaMEPmxgfhBGqKXNrdkCQeJlUwqa6EBbSfjwFtJWTrWIioXeMW+y8bWAgQAAACTeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"]), 
Uj=new T(84);function rf(){var a={};this.i=function(b,c){return a[b]!=null?a[b]:c};this.u=function(b,c){return a[b]!=null?a[b]:c};this.g=function(b,c){return a[b]!=null?a[b]:c};this.B=function(b,c){return a[b]!=null?a[b]:c};this.l=function(b,c){return a[b]!=null?c.concat(a[b]):c};this.C=function(){}}function U(a){return R(rf).i(a.g,a.defaultValue)}function Vj(a){return R(rf).u(a.g,a.defaultValue)}function Wj(a){return R(rf).l(a.g,a.defaultValue)};function Xj(a,b,c){function d(f){f=Yj(f);return f==null?!1:c>f}function e(f){f=Yj(f);return f==null?!1:c<f}switch(b){case 0:return{init:Zj(a.previousSibling,e),qa:function(f){return Zj(f.previousSibling,e)},va:0};case 2:return{init:Zj(a.lastChild,e),qa:function(f){return Zj(f.previousSibling,e)},va:0};case 3:return{init:Zj(a.nextSibling,d),qa:function(f){return Zj(f.nextSibling,d)},va:3};case 1:return{init:Zj(a.firstChild,d),qa:function(f){return Zj(f.nextSibling,d)},va:3}}throw Error("Un-handled RelativePosition: "+ 
b);}function Yj(a){return a.hasOwnProperty("google-ama-order-assurance")?a["google-ama-order-assurance"]:null}function Zj(a,b){return a&&b(a)?a:null};var ak={rectangle:1,horizontal:2,vertical:4};var bk={overlays:1,interstitials:2,vignettes:2,inserts:3,immersives:4,list_view:5,full_page:6,side_rails:7};function ck(a){a=a.document;var b={};a&&(b=a.compatMode=="CSS1Compat"?a.documentElement:a.body);return b||{}}function dk(a){var b;return(b=ck(a).clientWidth)!=null?b:void 0};function ek(a,b){do{var c=df(a,b);if(c&&c.position=="fixed")return!1}while(a=a.parentElement);return!0};function fk(a,b){for(var c=["width","height"],d=0;d<c.length;d++){var e="google_ad_"+c[d];if(!b.hasOwnProperty(e)){var f=lf(a[c[d]]);f=f===null?null:Math.round(f);f!=null&&(b[e]=f)}}}function gk(a,b){return!((jf.test(b.google_ad_width)||hf.test(a.style.width))&&(jf.test(b.google_ad_height)||hf.test(a.style.height)))}function hk(a,b){return(a=ik(a,b))?a.y:0} 
function ik(a,b){try{var c=b.document.documentElement.getBoundingClientRect(),d=a.getBoundingClientRect();return{x:d.left-c.left,y:d.top-c.top}}catch(e){return null}} 
function jk(a,b,c,d,e){if(a!==a.top)return af(a)?3:16;if(!(dk(a)<488))return 4;if(!(a.innerHeight>=a.innerWidth))return 5;var f=dk(a);if(!f||(f-c)/f>d)a=6;else{if(c=e.google_full_width_responsive!=="true")a:{c=b.parentElement;for(b=dk(a);c;c=c.parentElement)if((d=df(c,a))&&(e=lf(d.width))&&!(e>=b)&&d.overflow!=="visible"){c=!0;break a}c=!1}a=c?7:!0}return a} 
function kk(a,b,c,d){var e=jk(b,c,a,Vj(lj),d);e!==!0?a=e:d.google_full_width_responsive==="true"||ek(c,b)?(b=dk(b),a=b-a,a=b&&a>=0?!0:b?a<-10?11:a<0?14:12:10):a=9;return a}function lk(a,b,c){a=a.style;b==="rtl"?a.marginRight=c:a.marginLeft=c} 
function mk(a,b){if(b.nodeType===3)return/\S/.test(b.data);if(b.nodeType===1){if(/^(script|style)$/i.test(b.nodeName))return!1;try{var c=df(b,a)}catch(d){}return!c||c.display!=="none"&&!(c.position==="absolute"&&(c.visibility==="hidden"||c.visibility==="collapse"))}return!1}function nk(a,b,c){a=ik(b,a);return c==="rtl"?-a.x:a.x} 
function ok(a,b){var c;c=(c=b.parentElement)?(c=df(c,a))?c.direction:"":"";if(c){var d=b.style;d.border=d.borderStyle=d.outline=d.outlineStyle=d.transition="none";d.borderSpacing=d.padding="0";lk(b,c,"0px");d.width=dk(a)+"px";if(nk(a,b,c)!==0){lk(b,c,"0px");var e=nk(a,b,c);lk(b,c,-1*e+"px");a=nk(a,b,c);a!==0&&a!==e&&lk(b,c,e/(a-e)*e+"px")}d.zIndex="30"}};function pk(a,b){this.ba=a;this.l=b}pk.prototype.height=function(){return this.l};pk.prototype.g=function(a){return a>Vj(rj)&&this.l>300?this.ba:Math.min(1200,Math.round(a))};pk.prototype.i=function(){};function qk(a,b,c){var d;return a.style&&!!a.style[c]&&lf(a.style[c])||(d=df(a,b))&&!!d[c]&&lf(d[c])||null}function rk(a,b){var c;return a.style&&a.style.zIndex||(c=df(a,b))&&c.zIndex||null}function sk(a){return function(b){return b.ba<=a}}function tk(a,b,c,d){var e=a&&uk(c,b),f=vk(b,d);return function(g){return!(e&&g.height()>=f)}}function wk(a){return function(b){return b.height()<=a}}function uk(a,b){return hk(a,b)<ck(b).clientHeight-100} 
function xk(a,b){var c=qk(b,a,"height");if(c)return c;var d=b.style.height;b.style.height="inherit";c=qk(b,a,"height");b.style.height=d;if(c)return c;c=Infinity;do(d=b.style&&lf(b.style.height))&&(c=Math.min(c,d)),(d=qk(b,a,"maxHeight"))&&(c=Math.min(c,d));while(b.parentElement&&(b=b.parentElement)&&b.tagName!=="HTML");return c}function vk(a,b){var c=Jf(a)===0;return b&&c?Math.max(250,2*ck(a).clientHeight/3):250};var V={},yk=(V.google_ad_channel=!0,V.google_ad_client=!0,V.google_ad_host=!0,V.google_ad_host_channel=!0,V.google_adtest=!0,V.google_tag_for_child_directed_treatment=!0,V.google_tag_for_under_age_of_consent=!0,V.google_tag_partner=!0,V.google_restrict_data_processing=!0,V.google_page_url=!0,V.google_debug_params=!0,V.google_adbreak_test=!0,V.google_ad_frequency_hint=!0,V.google_admob_interstitial_slot=!0,V.google_admob_rewarded_slot=!0,V.google_admob_ads_only=!0,V.google_ad_start_delay_hint=!0,V.google_max_ad_content_rating= 
!0,V.google_traffic_source=!0,V.google_overlays=!0,V.google_privacy_treatments=!0,V.google_special_category_data=!0,V.google_ad_intent_query=!0,V.google_ad_intent_qetid=!0,V.google_ad_intent_eids=!0,V),zk=RegExp("(^| )adsbygoogle($| )");function Ak(a,b){for(var c=0;c<b.length;c++){var d=b[c],e=Te(d.property);a[e]=d.value}};function Bk(a){this.j=G(a)}z(Bk,Q);function Ck(a){this.j=G(a)}z(Ck,Q);function Dk(a){this.j=G(a)}z(Dk,Q);function Ek(a){this.j=G(a)}z(Ek,Q);function Fk(a){this.j=G(a)}z(Fk,Q);function Gk(a){this.j=G(a)}z(Gk,Q);function Hk(a){this.j=G(a)}z(Hk,Q);Hk.prototype.getName=function(){return ie(this,4)};var Ik=[1,2,3];function Jk(a){this.j=G(a)}z(Jk,Q);function Kk(a){this.j=G(a)}z(Kk,Q);function Lk(a){this.j=G(a)}z(Lk,Q);var Mk=[1,2];function Nk(a){this.j=G(a)}z(Nk,Q);function Ok(a){this.j=G(a)}z(Ok,Q);Ok.prototype.getMetadata=function(){return K(this,Ui,6)};var Pk=ye(Ok);function Qk(a,b,c,d){this.u=a;this.i=b;this.l=c;this.g=d}Qk.prototype.query=function(a){var b=[];try{b=a.querySelectorAll(this.u)}catch(f){}if(!b.length)return[];a=rb(b);a=Rk(this,a);typeof this.i==="number"&&(b=this.i,b<0&&(b+=a.length),a=b>=0&&b<a.length?[a[b]]:[]);if(typeof this.l==="number"){b=[];for(var c=0;c<a.length;c++){var d=Sk(a[c]),e=this.l;e<0&&(e+=d.length);e>=0&&e<d.length&&b.push(d[e])}a=b}return a}; 
Qk.prototype.toString=function(){return JSON.stringify({nativeQuery:this.u,occurrenceIndex:this.i,paragraphIndex:this.l,ignoreMode:this.g})};function Rk(a,b){if(a.g==null)return b;switch(a.g){case 1:return b.slice(1);case 2:return b.slice(0,b.length-1);case 3:return b.slice(1,b.length-1);case 0:return b;default:throw Error("Unknown ignore mode: "+a.g);}}function Sk(a){var b=[];ni(a.getElementsByTagName("p"),function(c){Tk(c)>=100&&b.push(c)});return b} 
function Tk(a){if(a.nodeType==3)return a.length;if(a.nodeType!=1||a.tagName=="SCRIPT")return 0;var b=0;ni(a.childNodes,function(c){b+=Tk(c)});return b}function Uk(a){return a.length==0||isNaN(a[0])?a:"\\"+(30+parseInt(a[0],10))+" "+a.substring(1)};var Vk=ia(["https://pagead2.googlesyndication.com/pagead/js/err_rep.js"]);function Wk(){var a=a===void 0?"jserror":a;var b=b===void 0?.01:b;var c=c===void 0?Xe(Vk):c;this.g=a;this.i=b;this.l=c}Wk.prototype.T=function(a,b,c,d){c=c===void 0?this.i:c;d=d===void 0?this.g:d;if(Math.random()>c)return!1;Mf(b)||(b=new Lf(b,{context:a,id:d}));C.google_js_errors=C.google_js_errors||[];C.google_js_errors.push(b);C.error_rep_loaded||(bf(C.document,this.l),C.error_rep_loaded=!0);return!1}; 
Wk.prototype.wa=function(a,b){try{return b()}catch(c){if(!this.T(a,c,this.i,this.g))throw c;}};Wk.prototype.pb=function(a,b){var c=this;return function(){var d=Ga.apply(0,arguments);return c.wa(a,function(){return b.apply(void 0,d)})}};Wk.prototype.Ha=function(a,b){var c=this;b.catch(function(d){d=d?d:"unknown rejection";c.T(a,d instanceof Error?d:Error(d),void 0)})};function Xk(a,b){b=b.google_js_reporting_queue=b.google_js_reporting_queue||[];b.length<2048&&b.push(a)} 
function Yk(a,b,c,d,e){e=e===void 0?!1:e;var f=d||window,g=typeof queueMicrotask!=="undefined";return function(){e&&g&&queueMicrotask(function(){f.google_rum_task_id_counter=f.google_rum_task_id_counter||1;f.google_rum_task_id_counter+=1});var h=Uf(),k=3;try{var l=b.apply(this,arguments)}catch(n){k=13;if(!c)throw n;c(a,n)}finally{f.google_measure_js_timing&&h&&Xk(v(Object,"assign").call(Object,{},{label:a.toString(),value:h,duration:(Uf()||0)-h,type:k},e&&g&&{taskId:f.google_rum_task_id_counter=f.google_rum_task_id_counter|| 
1}),f)}return l}}function Zk(a,b){return Yk(a,b,function(c,d){(new Wk).T(c,d)},void 0,!1)};function $k(a,b,c){return Yk(a,b,void 0,c,!0).apply()}function al(a){if(!a)return null;var b=ie(a,7);if(ie(a,1)||a.getId()||oe(a,4,I()).length>0){var c=ie(a,3),d=ie(a,1),e=oe(a,4,I(vc));b=he(a,2);var f=he(a,5);a=bl(M(a,6));var g="";d&&(g+=d);c&&(g+="#"+Uk(c));if(e)for(c=0;c<e.length;c++)g+="."+Uk(e[c]);b=(e=g)?new Qk(e,b,f,a):null}else b=b?new Qk(b,he(a,2),he(a,5),bl(M(a,6))):null;return b}var cl={1:1,2:2,3:3,0:0};function bl(a){return a==null?a:cl[a]}var dl={1:0,2:1,3:2,4:3}; 
function el(a){return a.google_ama_state=a.google_ama_state||{}}function fl(a){a=el(a);return a.optimization=a.optimization||{}};function gl(a){switch(M(a,8)){case 1:case 2:if(a==null)var b=null;else b=K(a,zi,1),b==null?b=null:(a=M(a,2),b=a==null?null:new Ai({Ya:[b],rb:a}));return b!=null?ti(b):vi(Error("Missing dimension when creating placement id"));case 3:return vi(Error("Missing dimension when creating placement id"));default:return vi(Error("Invalid type: "+M(a,8)))}};function hl(a,b){function c(){d.push({anchor:e.anchor,position:e.position});return e.anchor==b.anchor&&e.position==b.position}for(var d=[],e=a;e;){switch(e.position){case 1:if(c())return d;e.position=2;case 2:if(c())return d;if(e.anchor.firstChild){e={anchor:e.anchor.firstChild,position:1};continue}else e.position=3;case 3:if(c())return d;e.position=4;case 4:if(c())return d}for(;e&&!e.anchor.nextSibling&&e.anchor.parentNode!=e.anchor.ownerDocument.body;){e={anchor:e.anchor.parentNode,position:3}; 
if(c())return d;e.position=4;if(c())return d}e&&e.anchor.nextSibling?e={anchor:e.anchor.nextSibling,position:1}:e=null}return d};function il(a,b){this.i=a;this.g=b} 
function jl(a,b){var c=new yi,d=new xi;b.forEach(function(e){if(qe(e,Fk,1,Ik)){e=qe(e,Fk,1,Ik);if(K(e,Ni,1)&&K(K(e,Ni,1),zi,1)&&K(e,Ni,2)&&K(K(e,Ni,2),zi,1)){var f=kl(a,K(K(e,Ni,1),zi,1)),g=kl(a,K(K(e,Ni,2),zi,1));if(f&&g)for(f=x(hl({anchor:f,position:M(K(e,Ni,1),2)},{anchor:g,position:M(K(e,Ni,2),2)})),g=f.next();!g.done;g=f.next())g=g.value,c.set(Na(g.anchor),g.position)}K(e,Ni,3)&&K(K(e,Ni,3),zi,1)&&(f=kl(a,K(K(e,Ni,3),zi,1)))&&c.set(Na(f),M(K(e,Ni,3),2))}else qe(e,Gk,2,Ik)?ll(a,qe(e,Gk,2,Ik), 
c):qe(e,Ek,3,Ik)&&ml(a,qe(e,Ek,3,Ik),d)});return new il(c,d)}function ll(a,b,c){K(b,Ni,2)?(b=K(b,Ni,2),(a=kl(a,K(b,zi,1)))&&c.set(Na(a),M(b,2))):K(b,zi,1)&&(a=nl(a,K(b,zi,1)))&&a.forEach(function(d){d=Na(d);c.set(d,1);c.set(d,4);c.set(d,2);c.set(d,3)})}function ml(a,b,c){K(b,zi,1)&&(a=nl(a,K(b,zi,1)))&&a.forEach(function(d){c.add(Na(d))})}function kl(a,b){return(a=nl(a,b))&&a.length>0?a[0]:null}function nl(a,b){return(b=al(b))?b.query(a):null};function W(a){a=a===void 0?"":a;var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.name="TagError";this.message=a?"adsbygoogle.push() error: "+a:"";Error.captureStackTrace?Error.captureStackTrace(this,W):this.stack=Error().stack||""}z(W,Error);var ol,pl,ql=new Zf(C);function rl(a){a!=null&&(C.google_measure_js_timing=a);C.google_measure_js_timing||ql.disable()}(function(a,b){b=b===void 0?!0:b;ol=a||new bi;typeof C.google_srt!=="number"&&(C.google_srt=Math.random());ci(ol,C.google_srt);pl=new gg(ol,b,ql);pl.l=!0;C.document.readyState=="complete"?rl():ql.g&&Fe(C,"load",function(){rl()})})();function sl(a,b,c){return pl.wa(a,b,c)}function tl(a,b){return pl.pb(a,b)} 
function ul(a,b,c){var d=R($h).g();!b.eid&&d.length&&(b.eid=d.toString());ig(ol,a,b,!0,c)}function vl(a,b){pl.Ha(a,b)}function wl(a,b,c,d,e){return(Mf(b)?b.msg||Nf(b.error):Nf(b)).indexOf("TagError")===0?((Mf(b)?b.error:b).pbr=!0,!1):pl.T(a,b,c,d,e)};function xl(){this.g=tf();this.i=0};function yl(){this.g=new u.Set;this.i=new xl}function zl(a){a=Al(a);return a.has("all")||a.has("after")}function Bl(a){a=Al(a);return a.has("all")||a.has("before")}function Cl(a,b,c){switch(c){case 2:case 3:break;case 1:case 4:b=b.parentElement;break;default:throw Error("Unknown RelativePosition: "+c);}for(c=[];b;){if(Dl(b))return!0;if(a.g.has(b))break;c.push(b);b=b.parentElement}c.forEach(function(d){return a.g.add(d)});return!1} 
function Dl(a){var b=Al(a);return a&&(a.tagName==="AUTO-ADS-EXCLUSION-AREA"||b.has("inside")||b.has("all"))}function Al(a){return(a=a&&a.getAttribute("data-no-auto-ads"))?new u.Set(a.split("|")):new u.Set};function El(a,b){if(!a)return!1;a=df(a,b);if(!a)return!1;a=a.cssFloat||a.styleFloat;return a=="left"||a=="right"}function Fl(a){for(a=a.previousSibling;a&&a.nodeType!=1;)a=a.previousSibling;return a?a:null}function Gl(a){return!!a.nextSibling||!!a.parentNode&&Gl(a.parentNode)};function Hl(a){var b;a=((b=a===void 0?null:a)!=null?b:window).googletag;return(a==null?0:a.apiReady)?a:void 0};function Il(a){return{mc:Jl(a),nc:Kl(a,"body ins.adsbygoogle"),xb:Ll(a),yb:Kl(a,".google-auto-placed"),zb:Ml(a),Cb:Nl(a),sc:Ol(a),Ac:Pl(a),Kb:Ql(a),rc:Kl(a,"div.googlepublisherpluginad"),Tb:Kl(a,"html > ins.adsbygoogle")}}function Ol(a){return Rl(a)||Kl(a,"div[id^=div-gpt-ad]")}function Rl(a){var b=Hl(a);return b?mb(nb(b.pubads().getSlots(),function(c){return a.document.getElementById(c.getSlotElementId())}),function(c){return c!=null}):null} 
function Kl(a,b){return rb(a.document.querySelectorAll(b))}function Ml(a){return Kl(a,"ins.adsbygoogle[data-anchor-status]")}function Ll(a){return Kl(a,"iframe[id^=aswift_],iframe[id^=google_ads_frame]")}function Pl(a){return Kl(a,"ins.adsbygoogle[data-ad-format=autorelaxed]")}function Nl(a){return Ol(a).concat(Kl(a,"iframe[id^=google_ads_iframe]"))} 
function Ql(a){return Kl(a,"div.trc_related_container,div.OUTBRAIN,div[id^=rcjsload],div[id^=ligatusframe],div[id^=crt-],iframe[id^=cto_iframe],div[id^=yandex_], div[id^=Ya_sync],iframe[src*=adnxs],div.advertisement--appnexus,div[id^=apn-ad],div[id^=amzn-native-ad],iframe[src*=amazon-adsystem],iframe[id^=ox_],iframe[src*=openx],img[src*=openx],div[class*=adtech],div[id^=adtech],iframe[src*=adtech],div[data-content-ad-placement=true],div.wpcnt div[id^=atatags-]")} 
function Jl(a){return Kl(a,"ins.adsbygoogle-ablated-ad-slot")}function Sl(a){var b=[];a=x(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!0,e=0;e<b.length;e++){var f=b[e];if(f.contains(c)){d=!1;break}if(c.contains(f)){d=!1;b[e]=c;break}}d&&b.push(c)}return b};function Tl(a,b,c,d,e){this.g=a;this.G=b;this.l=c;this.B=e||null;(this.F=d)?(a=a.document,d=L(d,Hk,5,I(vc)),d=jl(a,d)):d=jl(a.document,[]);this.C=d;this.D=new yl;this.i=0;this.u=!1} 
function Ul(a,b){if(a.u)return!0;a.u=!0;var c=L(a.l,Si,1,I());a.i=0;var d=Vl(a.F);var e=a.g;var f;try{var g=(f=e.localStorage.getItem("google_ama_settings"))?Mi(f):null}catch(Y){g=null}f=g!==null&&N(g,2,!1);g=el(e);f&&(g.eatf=!0,Cf(7,[!0,0,!1]));b:{var h={Fb:!1,Gb:!1},k=Kl(e,".google-auto-placed"),l=Ml(e),n=Pl(e),q=Nl(e),m=Ql(e),p=Jl(e),y=Kl(e,"div.googlepublisherpluginad"),A=Kl(e,"html > ins.adsbygoogle"),B=[].concat(Ll(e),Kl(e,"body ins.adsbygoogle"));f=[];h=x([[h.uc,k],[h.Fb,l],[h.xc,n],[h.vc, 
q],[h.yc,m],[h.tc,p],[h.wc,y],[h.Gb,A]]);for(k=h.next();!k.done;k=h.next())l=x(k.value),k=l.next().value,l=l.next().value,k===!1?f=f.concat(l):B=B.concat(l);B=Sl(B);h=Sl(f);f=B.slice(0);B=x(h);for(h=B.next();!h.done;h=B.next())for(h=h.value,k=0;k<f.length;k++)(h.contains(f[k])||f[k].contains(h))&&f.splice(k,1);e=ck(e).clientHeight;for(B=0;B<f.length;B++)if(!(f[B].getBoundingClientRect().top>e)){e=!0;break b}e=!1}e=e?g.eatfAbg=!0:!1;if(e)return!0;e=new xi([2]);for(g=0;g<c.length;g++){f=a;h=c[g];B= 
g;k=b;if(K(h,Ei,4)&&e.contains(M(K(h,Ei,4),1))&&M(h,8)===1&&Wl(h,d)){f.i++;if(k=Xl(f,h,k,d))l=el(f.g),l.numAutoAdsPlaced||(l.numAutoAdsPlaced=0),K(h,zi,1)&&he(K(h,zi,1),5)!=null&&(l.numPostPlacementsPlaced?l.numPostPlacementsPlaced++:l.numPostPlacementsPlaced=1),l.placed==null&&(l.placed=[]),l.numAutoAdsPlaced++,l.placed.push({index:B,element:k.ma}),Cf(7,[!1,f.i,!0]);f=k}else f=null;if(f)return!0}Cf(7,[!1,a.i,!1]);return!1} 
function Xl(a,b,c,d){if(!Wl(b,d)||M(b,8)!=1)return null;d=K(b,zi,1);if(!d)return null;d=al(d);if(!d)return null;d=d.query(a.g.document);if(d.length==0)return null;d=d[0];var e=M(b,2);e=dl[e];e=e===void 0?null:e;var f;if(!(f=e==null)){a:{f=a.g;switch(e){case 0:f=El(Fl(d),f);break a;case 3:f=El(d,f);break a;case 2:var g=d.lastChild;f=El(g?g.nodeType==1?g:Fl(g):null,f);break a}f=!1}if(c=!f&&!(!c&&e==2&&!Gl(d)))c=e==1||e==2?d:d.parentNode,c=!(c&&!Vi(c)&&c.offsetWidth<=0);f=!c}if(!(c=f)){c=a.C;f=M(b,2); 
g=c.i;var h=Na(d);g=g.g.get(h);if(!(g=g?g.contains(f):!1))a:{if(c.g.contains(Na(d)))switch(f){case 2:case 3:g=!0;break a;default:g=!1;break a}for(f=d.parentElement;f;){if(c.g.contains(Na(f))){g=!0;break a}f=f.parentElement}g=!1}c=g}if(!c){c=a.D;g=M(b,2);a:switch(g){case 1:f=zl(d.previousElementSibling)||Bl(d);break a;case 4:f=zl(d)||Bl(d.nextElementSibling);break a;case 2:f=Bl(d.firstElementChild);break a;case 3:f=zl(d.lastElementChild);break a;default:throw Error("Unknown RelativePosition: "+g); 
}g=Cl(c,d,g);c=c.i;ul("ama_exclusion_zone",v(Object,"assign").call(Object,{},{typ:f?g?"siuex":"siex":g?"suex":"noex"},{cor:c.g,num:c.i++,dvc:mf()}),.1);c=f||g}if(c)return null;c=K(b,Ri,3);f={};c&&(f.ub=ie(c,1),f.bb=ie(c,2),f.Bb=!!ge(c,3));c=K(b,Ei,4)&&M(K(b,Ei,4),2)?M(K(b,Ei,4),2):null;c=Hi(c);g=he(b,12)!=null?he(b,12):null;g=g==null?null:new Fi(null,{google_ml_rank:g});b=Yl(a,b);b=Gi(a.B,c,g,b);c=a.g;a=a.G;h=c.document;var k=f.Bb||!1;g=Gf((new Hf(h)).g,"DIV");var l=g.style;l.width="100%";l.height= 
"auto";l.clear=k?"both":"none";k=g.style;k.textAlign="center";f.Lb&&Ak(k,f.Lb);h=Gf((new Hf(h)).g,"INS");k=h.style;k.display="block";k.margin="auto";k.backgroundColor="transparent";f.ub&&(k.marginTop=f.ub);f.bb&&(k.marginBottom=f.bb);f.vb&&Ak(k,f.vb);g.appendChild(h);f={Ea:g,ma:h};f.ma.setAttribute("data-ad-format","auto");g=[];if(h=b&&b.fb)f.Ea.className=h.join(" ");h=f.ma;h.className="adsbygoogle";h.setAttribute("data-ad-client",a);g.length&&h.setAttribute("data-ad-channel",g.join("+"));a:{try{var n= 
f.Ea;var q=q===void 0?0:q;if(U(tj)){q=q===void 0?0:q;var m=Xj(d,e,q);if(m.init){var p=m.init;for(d=p;d=m.qa(d);)p=d;var y={anchor:p,position:m.va}}else y={anchor:d,position:e};n["google-ama-order-assurance"]=q;Wi(n,y.anchor,y.position)}else Wi(n,d,e);b:{var A=f.ma;A.dataset.adsbygoogleStatus="reserved";A.className+=" adsbygoogle-noablate";n={element:A};var B=b&&b.qb;if(A.hasAttribute("data-pub-vars")){try{B=JSON.parse(A.getAttribute("data-pub-vars"))}catch(Y){break b}A.removeAttribute("data-pub-vars")}B&& 
(n.params=B);(c.adsbygoogle=c.adsbygoogle||[]).push(n)}}catch(Y){(A=f.Ea)&&A.parentNode&&(B=A.parentNode,B.removeChild(A),Vi(B)&&(B.style.display=B.getAttribute("data-init-display")||"none"));A=!1;break a}A=!0}return A?f:null}function Yl(a,b){return ri(ui(gl(b).map(Ii),function(c){el(a.g).exception=c}))}function Vl(a){var b={};a&&Md(a,6,Kc,I()).forEach(function(c){b[c]=!0});return b}function Wl(a,b){return a&&Hd(a,Ei,4)&&b[M(K(a,Ei,4),2)]?!1:!0};function Zl(a){this.j=G(a)}z(Zl,Q);var $l=ye(Zl);function am(a){try{var b=a.localStorage.getItem("google_auto_fc_cmp_setting")||null}catch(d){b=null}var c=b;return c?wi(function(){return $l(c)}):ti(null)};function bm(){this.S={}}function cm(){if(dm)return dm;var a=Ff()||window;var b=a.google_persistent_state_async;return b!=null&&typeof b=="object"&&b.S!=null&&typeof b.S=="object"?dm=b:a.google_persistent_state_async=dm=new bm}function em(a){return fm[a]||"google_ps_"+a}function gm(a,b,c){b=em(b);a=a.S;var d=a[b];return d===void 0?(a[b]=c(),a[b]):d}function hm(a,b,c){return gm(a,b,function(){return c})} 
var dm=null,im={},fm=(im[8]="google_prev_ad_formats_by_region",im[9]="google_prev_ad_slotnames_by_region",im);function jm(a){this.g=a||{cookie:""}}r=jm.prototype;r.isEnabled=function(){if(!C.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0}; 
r.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.maxAge}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');h===void 0&&(h=-1);this.g.cookie=a+"="+b+(f?";domain="+f:"")+(g?";path="+g:"")+(h<0?"":h==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+h*1E3)).toUTCString())+(d?";secure":"")+(e!=null?";samesite="+ 
e:"")};r.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Wa(d[e]);if(f.lastIndexOf(c,0)==0)return f.slice(c.length);if(f==a)return""}return b};r.remove=function(a,b,c){var d=this.get(a)!==void 0;this.set(a,"",{maxAge:0,path:b,domain:c});return d};r.isEmpty=function(){return!this.g.cookie}; 
r.clear=function(){for(var a=(this.g.cookie||"").split(";"),b=[],c=[],d,e,f=0;f<a.length;f++)e=Wa(a[f]),d=e.indexOf("="),d==-1?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));for(a=b.length-1;a>=0;a--)this.remove(b[a])};function km(a){this.j=G(a)}z(km,Q);function lm(a){var b=new km;return H(b,5,Gc(a))};function mm(){this.B=this.B;this.i=this.i}mm.prototype.B=!1;mm.prototype.dispose=function(){this.B||(this.B=!0,this.D())};mm.prototype[v(u.Symbol,"dispose")]=function(){this.dispose()};function nm(a,b){a.B?b():(a.i||(a.i=[]),a.i.push(b))}mm.prototype.D=function(){if(this.i)for(;this.i.length;)this.i.shift()()};function om(a){a.addtlConsent!==void 0&&typeof a.addtlConsent!=="string"&&(a.addtlConsent=void 0);a.gdprApplies!==void 0&&typeof a.gdprApplies!=="boolean"&&(a.gdprApplies=void 0);return a.tcString!==void 0&&typeof a.tcString!=="string"||a.listenerId!==void 0&&typeof a.listenerId!=="number"?2:a.cmpStatus&&a.cmpStatus!=="error"?0:3}function pm(a,b){b=b===void 0?{}:b;mm.call(this);this.g=null;this.C={};this.M=0;this.u=null;this.l=a;var c;this.G=(c=b.tb)!=null?c:500;var d;this.F=(d=b.oc)!=null?d:!1} 
z(pm,mm);pm.prototype.D=function(){this.C={};this.u&&(Ge(this.l,"message",this.u),delete this.u);delete this.C;delete this.l;delete this.g;mm.prototype.D.call(this)}; 
pm.prototype.addEventListener=function(a){function b(g,h){clearTimeout(f);g?(d=g,d.internalErrorState=om(d),d.internalBlockOnErrors=c.F,h&&d.internalErrorState===0||(d.tcString="tcunavailable",h||(d.internalErrorState=3))):(d.tcString="tcunavailable",d.internalErrorState=3);a(d)}var c=this,d={internalBlockOnErrors:this.F},e=Ee(function(){return a(d)}),f=0;this.G!==-1&&(f=setTimeout(function(){d.tcString="tcunavailable";d.internalErrorState=1;e()},this.G));try{qm(this,"addEventListener",b)}catch(g){d.tcString= 
"tcunavailable",d.internalErrorState=3,f&&(clearTimeout(f),f=0),e()}};pm.prototype.removeEventListener=function(a){a&&a.listenerId&&qm(this,"removeEventListener",null,a.listenerId)};function qm(a,b,c,d){c||(c=function(){});var e=a.l;typeof e.__tcfapi==="function"?(a=e.__tcfapi,a(b,2,c,d)):rm(a)?(sm(a),e=++a.M,a.C[e]=c,a.g&&(c={},a.g.postMessage((c.__tcfapiCall={command:b,version:2,callId:e,parameter:d},c),"*"))):c({},!1)} 
function rm(a){if(a.g)return a.g;a:{var b=a.l;for(var c=0;c<50;++c){try{var d=!(!b.frames||!b.frames.__tcfapiLocator)}catch(g){d=!1}if(d)break a;b:{try{var e=b.parent;if(e&&e!=b){var f=e;break b}}catch(g){}f=null}if(!(b=f))break}b=null}a.g=b;return a.g}function sm(a){if(!a.u){var b=function(c){try{var d=(typeof c.data==="string"?JSON.parse(c.data):c.data).__tcfapiReturn;a.C[d.callId](d.returnValue,d.success)}catch(e){}};a.u=b;Fe(a.l,"message",b)}} 
function tm(a){if(a.gdprApplies===!1)return!0;a.internalErrorState===void 0&&(a.internalErrorState=om(a));return a.cmpStatus==="error"||a.internalErrorState!==0?a.internalBlockOnErrors?(yf({e:String(a.internalErrorState)},"tcfe"),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};function um(a){var b=a.A;var c=a.ha;var d=a.tb;var e=a.Ab;a=vm({A:b,ha:c,ra:a.ra===void 0?!1:a.ra,sa:a.sa===void 0?!1:a.sa});a.isError()&&a.i.message=="tcunav"?wm(b,d).then(function(f){return f.map(xm)}).then(function(f){return f.map(function(g){return ym(b,g)})}).then(e):e(a)} 
function vm(a){var b=a.A;var c=a.ha,d=a.ra===void 0?!1:a.ra;if(a=!(a.sa===void 0?0:a.sa))a=new pm(b),a=typeof a.l.__tcfapi==="function"||rm(a)!=null;if(a=!a){if(!d){if(!(c=!c))if(c=am(b),c.isError())pl.T(806,c.i,void 0,void 0,void 0),c=!1;else if((c=c.getValue())&&M(c,1)!=null)b:switch(c=M(c,1),c){case 1:c=!0;break b;default:throw Error("Unhandled AutoGdprFeatureStatus: "+c);}else c=!1;d=c}a=d}if(a)return ym(b,lm(!0));c=cm();return(c=hm(c,24))?ym(b,xm(c)):vi(Error("tcunav"))} 
function wm(a,b){return u.Promise.race([zm(),Am(a,b)])}function zm(){return(new u.Promise(function(a){var b=cm();a={resolve:a};var c=hm(b,25,[]);c.push(a);b.S[em(25)]=c})).then(Bm)}function Am(a,b){return new u.Promise(function(c){a.setTimeout(c,b,vi(Error("tcto")))})}function Bm(a){return a?ti(a):vi(Error("tcnull"))} 
function xm(a){var b=b===void 0?{}:b;if(tm(a))if(a.gdprApplies===!1)a=!0;else if(a.tcString==="tcunavailable")a=!b.jb;else if((b.jb||a.gdprApplies!==void 0||b.qc)&&(b.jb||typeof a.tcString==="string"&&a.tcString.length)){var c=c===void 0?"755":c;b:{if(a.publisher&&a.publisher.restrictions&&(b=a.publisher.restrictions["1"],b!==void 0)){b=b[c===void 0?"755":c];break b}b=void 0}b===0?a=!1:a.purpose&&a.vendor?(b=a.vendor.consents,(c=!(!b||!b[c===void 0?"755":c]))&&a.purposeOneTreatment&&a.publisherCC=== 
"CH"?a=!0:(c&&(a=a.purpose.consents,c=!(!a||!a["1"])),a=c)):a=!0}else a=!0;else a=!1;return lm(a)}function ym(a,b){a:{a=a===void 0?window:a;if(N(b,5))try{var c=a.localStorage;break a}catch(d){}c=null}return(b=c)?ti(b):vi(Error("unav"))};function Cm(a){this.j=G(a)}z(Cm,Q);function Dm(a){this.j=G(a)}z(Dm,Q);function Em(a){this.j=G(a)}z(Em,Q);function Fm(a){this.exception=a}function Gm(a,b,c){this.l=a;this.g=b;this.i=c}Gm.prototype.start=function(){this.u()};Gm.prototype.u=function(){try{switch(this.l.document.readyState){case "complete":case "interactive":Ul(this.g,!0);Hm(this);break;default:Ul(this.g,!1)?Hm(this):this.l.setTimeout(Sa(this.u,this),100)}}catch(a){Hm(this,a)}};function Hm(a,b){try{var c=a.i,d=c.resolve,e=a.g;el(e.g);L(e.l,Si,1,I());d.call(c,new Fm(b))}catch(f){a.i.reject(f)}};function Im(a){this.j=G(a)}z(Im,Q);Im.prototype.getVersion=function(){return je(this,2)};function Jm(a){return wb(a.length%4!==0?a+"A":a).map(function(b){return(t=b.toString(2),v(t,"padStart")).call(t,8,"0")}).join("")}function Km(a){if(!/^[0-1]+$/.test(a))throw Error("Invalid input ["+a+"] not a bit string.");return parseInt(a,2)}function Lm(a){if(!/^[0-1]+$/.test(a))throw Error("Invalid input ["+a+"] not a bit string.");for(var b=[1,2,3,5],c=0,d=0;d<a.length-1;d++)b.length<=d&&b.push(b[d-1]+b[d-2]),c+=parseInt(a[d],2)*b[d];return c};function Mm(a){var b=Jm(a),c=Km(b.slice(0,6));a=Km(b.slice(6,12));var d=new Im;c=J(d,1,Mc(c),0);a=J(c,2,Mc(a),0);b=b.slice(12);c=Km(b.slice(0,12));d=[];for(var e=b.slice(12).replace(/0+$/,""),f=0;f<c;f++){if(e.length===0)throw Error("Found "+f+" of "+c+" sections ["+d+"] but reached end of input ["+b+"]");var g=Km(e[0])===0;e=e.slice(1);var h=Nm(e,b),k=d.length===0?0:d[d.length-1];k=Lm(h)+k;e=e.slice(h.length);if(g)d.push(k);else{g=Nm(e,b);h=Lm(g);for(var l=0;l<=h;l++)d.push(k+l);e=e.slice(g.length)}}if(e.length> 
0)throw Error("Found "+c+" sections ["+d+"] but has remaining input ["+e+"], entire input ["+b+"]");return Sd(a,3,d,Lc)}function Nm(a,b){var c=a.indexOf("11");if(c===-1)throw Error("Expected section bitstring but not found in ["+a+"] part of ["+b+"]");return a.slice(0,c+2)};var Om="a".charCodeAt(),Pm=Le(gi),Qm=Le(hi);function Rm(a){this.j=G(a)}z(Rm,Q);function Sm(){var a=new Rm;return se(a,1,0)}function Tm(a){var b=Number;var c=c===void 0?"0":c;var d=Dd(a,1);var e=!0;e=e===void 0?!1:e;var f=typeof d;d=d==null?d:f==="bigint"?String(BigInt.asIntN(64,d)):Ic(d)?f==="string"?Qc(d):e?Rc(d):Uc(d):void 0;b=b(fe(d,c));a=je(a,2);return new Date(b*1E3+a/1E6)};function Um(a){if(/[^01]/.test(a))throw Error("Input bitstring "+a+" is malformed!");this.i=a;this.g=0}function Vm(a){var b=Wm(a,16);return!!Wm(a,1)===!0?(a=Xm(a),a.forEach(function(c){if(c>b)throw Error("ID "+c+" is past MaxVendorId "+b+"!");}),a):Ym(a,b)}function Xm(a){for(var b=Wm(a,12),c=[];b--;){var d=!!Wm(a,1)===!0,e=Wm(a,16);if(d)for(d=Wm(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c} 
function Ym(a,b,c){for(var d=[],e=0;e<b;e++)if(Wm(a,1)){var f=e+1;if(c&&c.indexOf(f)===-1)throw Error("ID: "+f+" is outside of allowed values!");d.push(f)}return d}function Wm(a,b){if(a.g+b>a.i.length)throw Error("Requested length "+b+" is past end of string.");var c=a.i.substring(a.g,a.g+b);a.g+=b;return parseInt(c,2)}Um.prototype.skip=function(a){this.g+=a};function Zm(a,b){try{var c=wb(a.split(".")[0]).map(function(e){return(t=e.toString(2),v(t,"padStart")).call(t,8,"0")}).join(""),d=new Um(c);c={};c.tcString=a;c.gdprApplies=b;d.skip(78);c.cmpId=Wm(d,12);c.cmpVersion=Wm(d,12);d.skip(30);c.tcfPolicyVersion=Wm(d,6);c.isServiceSpecific=!!Wm(d,1);c.useNonStandardStacks=!!Wm(d,1);c.specialFeatureOptins=$m(Ym(d,12,Qm),Qm);c.purpose={consents:$m(Ym(d,24,Pm),Pm),legitimateInterests:$m(Ym(d,24,Pm),Pm)};c.purposeOneTreatment=!!Wm(d,1);c.publisherCC=String.fromCharCode(Om+ 
Wm(d,6))+String.fromCharCode(Om+Wm(d,6));c.vendor={consents:$m(Vm(d),null),legitimateInterests:$m(Vm(d),null)};return c}catch(e){return null}}function $m(a,b){var c={};if(Array.isArray(b)&&b.length!==0){b=x(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c[d]=a.indexOf(d)!==-1}else for(a=x(a),b=a.next();!b.done;b=a.next())c[b.value]=!0;delete c[0];return c};function an(){return"m202411110101"};function bn(a){this.j=G(a)}z(bn,Q);function cn(a){this.j=G(a)}z(cn,Q);function dn(a){this.j=G(a)}z(dn,Q);function en(a){this.j=G(a)}z(en,Q);var fn=ye(en);function gn(a){a=hn(a);try{var b=a?fn(a):null}catch(c){b=null}return b?K(b,dn,4)||null:null}function hn(a){a=(new jm(a)).get("FCCDCF","");if(a)if(v(a,"startsWith").call(a,"%"))try{var b=decodeURIComponent(a)}catch(c){b=null}else b=a;else b=null;return b};Le(gi).map(function(a){return Number(a)});Le(hi).map(function(a){return Number(a)});function jn(a){this.A=a}function kn(a){a.__tcfapiPostMessageReady||ln(new jn(a))} 
function ln(a){a.g=function(b){var c=typeof b.data==="string";try{var d=c?JSON.parse(b.data):b.data}catch(f){return}var e=d.__tcfapiCall;e&&(e.command==="ping"||e.command==="addEventListener"||e.command==="removeEventListener")&&(0,a.A.__tcfapi)(e.command,e.version,function(f,g){var h={};h.__tcfapiReturn=e.command==="removeEventListener"?{success:f,callId:e.callId}:{returnValue:f,success:g,callId:e.callId};f=c?JSON.stringify(h):h;b.source&&typeof b.source.postMessage==="function"&&b.source.postMessage(f, 
b.origin);return f},e.parameter)};a.A.addEventListener("message",a.g);a.A.__tcfapiPostMessageReady=!0};function mn(a){this.A=a;this.g=null}function nn(a){a.__uspapiPostMessageReady||on(new mn(a))} 
function on(a){a.g=function(b){var c=typeof b.data==="string";try{var d=c?JSON.parse(b.data):b.data}catch(f){return}var e=d.__uspapiCall;e&&e.command==="getUSPData"&&a.A.__uspapi(e.command,e.version,function(f,g){var h={};h.__uspapiReturn={returnValue:f,success:g,callId:e.callId};f=c?JSON.stringify(h):h;b.source&&typeof b.source.postMessage==="function"&&b.source.postMessage(f,b.origin);return f})};a.A.addEventListener("message",a.g);a.A.__uspapiPostMessageReady=!0};function pn(a){this.j=G(a)}z(pn,Q);function qn(a){this.j=G(a)}z(qn,Q);var rn=ye(qn);function sn(a,b,c){function d(m){if(m.length<10)return null;var p=k(m.slice(0,4));p=l(p);m=k(m.slice(6,10));m=n(m);return"1"+p+m+"N"}function e(m){if(m.length<10)return null;var p=k(m.slice(0,6));p=l(p);m=k(m.slice(6,10));m=n(m);return"1"+p+m+"N"}function f(m){if(m.length<12)return null;var p=k(m.slice(0,6));p=l(p);m=k(m.slice(8,12));m=n(m);return"1"+p+m+"N"}function g(m){if(m.length<18)return null;var p=k(m.slice(0,8));p=l(p);m=k(m.slice(12,18));m=n(m);return"1"+p+m+"N"}function h(m){if(m.length< 
10)return null;var p=k(m.slice(0,6));p=l(p);m=k(m.slice(6,10));m=n(m);return"1"+p+m+"N"}function k(m){for(var p=[],y=0,A=0;A<m.length/2;A++)p.push(Km(m.slice(y,y+2))),y+=2;return p}function l(m){return m.every(function(p){return p===1})?"Y":"N"}function n(m){return m.some(function(p){return p===1})?"Y":"N"}if(a.length===0)return null;a=a.split(".");if(a.length>2)return null;a=Jm(a[0]);var q=Km(a.slice(0,6));a=a.slice(6);if(q!==1)return null;switch(b){case 8:return d(a);case 10:case 12:case 9:return e(a); 
case 11:return f(a);case 7:return g(a);case 13:return c?h(a):null;default:return null}};function tn(a,b){function c(){if(!a.frames[b])if(d.body){var e=cf("IFRAME",d);e.style.display="none";e.style.width="0px";e.style.height="0px";e.style.border="none";e.style.zIndex="-1000";e.style.left="-1000px";e.style.top="-1000px";e.name=b;d.body.appendChild(e)}else a.setTimeout(c,5)}var d=a.document;c()};function un(a,b,c){var d=S;this.A=d;this.l=a;this.B=b;this.i=c;a=hn(this.A.document);try{var e=a?fn(a):null}catch(f){e=null}(a=e)?(e=K(a,cn,5)||null,a=L(a,bn,7,I()),a=vn(a!=null?a:[]),e={eb:e,ib:a}):e={eb:null,ib:null};a=e;e=wn(this,a.ib);a=a.eb;a!=null&&ie(a,2)!=null&&O(a,2).length!==0?(b=Hd(a,Rm,1)?K(a,Rm,1):Sm(),a={uspString:O(a,2),Da:Tm(b)}):a=null;this.u=a&&e?e.Da>a.Da?e.uspString:a.uspString:a?a.uspString:e?e.uspString:null;this.tcString=(e=gn(d.document))&&ie(e,1)!=null?O(e,1):null;this.g= 
(d=gn(d.document))&&ie(d,2)!=null?O(d,2):null}function xn(a){var b=U(ej),c=U(Nj);S!==S.top||S.__uspapi||S.frames.__uspapiLocator||(a=new un(a,b,c),yn(a),zn(a))}function yn(a){!a.u||a.A.__uspapi||a.A.frames.__uspapiLocator||(a.A.__uspapiManager="fc",tn(a.A,"__uspapiLocator"),Ta("__uspapi",function(b,c,d){typeof d==="function"&&b==="getUSPData"&&(b=a.i&&!N(a.l,3),d({version:1,uspString:b?"1---":a.u},!0))},a.A),nn(a.A))} 
function vn(a){a=v(a,"find").call(a,function(b){return b&&P(b,1)===13});if(a==null?0:ie(a,2)!=null)try{return rn(O(a,2))}catch(b){}return null} 
function wn(a,b){if(b==null||ie(b,1)==null||O(b,1).length===0||L(b,pn,2,I()).length===0)return null;var c=O(b,1);try{var d=Mm(c.split("~")[0]);var e=v(c,"includes").call(c,"~")?c.split("~").slice(1):[]}catch(f){return null}b=L(b,pn,2,I()).reduce(function(f,g){return le(An(f),1)>le(An(g),1)?f:g});d=Md(d,3,Nc,I()).indexOf(je(b,1));return d===-1||d>=e.length?null:{uspString:sn(e[d],je(b,1),a.B),Da:Tm(An(b))}}function An(a){return Hd(a,Rm,2)?K(a,Rm,2):Sm()} 
function zn(a){!a.tcString||a.A.__tcfapi||a.A.frames.__tcfapiLocator||(a.A.__tcfapiManager="fc",tn(a.A,"__tcfapiLocator"),a.A.__tcfapiEventListeners=a.A.__tcfapiEventListeners||[],Ta("__tcfapi",function(b,c,d,e){if(typeof d==="function")if(c&&(c>2.2||c<=1))d(null,!1);else{var f=a.A.__tcfapiEventListeners;c=a.i&&!N(a.l,1);switch(b){case "ping":d({gdprApplies:!c,cmpLoaded:!0,cmpStatus:"loaded",displayStatus:"disabled",apiVersion:"2.2",cmpVersion:2,cmpId:300});break;case "addEventListener":b=f.push(d); 
e=!c;--b;a.tcString?(e=Zm(a.tcString,e),e.addtlConsent=a.g!=null?a.g:void 0,e.cmpStatus="loaded",e.eventStatus="tcloaded",b!=null&&(e.listenerId=b),b=e):b=null;d(b,!0);break;case "removeEventListener":e!==void 0&&f[e]?(f[e]=null,d(!0)):d(!1);break;case "getInAppTCData":case "getVendorList":d(null,!1);break;case "getTCData":d(null,!1)}}},a.A),kn(a.A))};var Bn={},Cn=(Bn.google_ad_channel=!0,Bn.google_ad_host=!0,Bn);function Dn(a,b){a.location.href&&a.location.href.substring&&(b.url=a.location.href.substring(0,200));ul("ama",b,.01)}function En(a){var b={};ff(Cn,function(c,d){d in a&&(b[d]=a[d])});return b};function Fn(a){var b=/[a-zA-Z0-9._~-]/,c=/%[89a-zA-Z]./;return a.replace(/(%[a-zA-Z0-9]{2})/g,function(d){if(!d.match(c)){var e=decodeURIComponent(d);if(e.match(b))return e}return d.toUpperCase()})}function Gn(a){for(var b="",c=/[/%?&=]/,d=0;d<a.length;++d){var e=a[d];b=e.match(c)?b+e:b+encodeURIComponent(e)}return b};function Hn(a){a=Md(a,2,Kc,I());if(!a)return!1;for(var b=0;b<a.length;b++)if(a[b]==1)return!0;return!1}function In(a,b){a=Gn(Fn(a.location.pathname)).replace(/(^\/)|(\/$)/g,"");var c=gf(a),d=Jn(a);return v(b,"find").call(b,function(e){if(Hd(e,Dk,7)){var f=K(e,Dk,7);f=Oc(Dd(f,1))}else f=Oc(Dd(e,1));e=Hd(e,Dk,7)?M(K(e,Dk,7),2):2;if(typeof f!=="number")return!1;switch(e){case 1:return f==c;case 2:return d[f]||!1}return!1})||null} 
function Jn(a){for(var b={};;){b[gf(a)]=!0;if(!a)return b;a=a.substring(0,a.lastIndexOf("/"))}};function Kn(a){this.j=G(a)}z(Kn,Q);function Ln(a){this.j=G(a)}z(Ln,Q);function Mn(a){this.j=G(a)}z(Mn,Q);function Nn(a){this.j=G(a)}z(Nn,Q);function On(a){return oe(a,1,I())};function Pn(a){this.j=G(a)}z(Pn,Q);Pn.prototype.getId=function(){return je(this,1)};function Qn(a){this.j=G(a)}z(Qn,Q);function Rn(a){return L(a,Pn,2,I())};function Sn(a){this.j=G(a)}z(Sn,Q);function Tn(a){this.j=G(a)}z(Tn,Q);function Un(a){this.j=G(a)}z(Un,Q);function Vn(a){this.j=G(a)}z(Vn,Q);function Wn(a){this.j=G(a)}z(Wn,Q);function Xn(a){return qe(a,Kn,13,Ld)}function Yn(a){return qe(a,Nn,14,Ld)}var Ld=[13,14],Zn=[27,28];var $n=void 0;function X(a){return a.google_ad_modifications=a.google_ad_modifications||{}}function ao(a){a=X(a);var b=a.space_collapsing||"none";return a.remove_ads_by_default?{Xa:!0,Rb:b,Ba:a.ablation_viewport_offset}:null}function bo(a){a=X(a);a.had_ads_ablation=!0;a.remove_ads_by_default=!0;a.space_collapsing="slot";a.ablation_viewport_offset=1}function co(a){X(S).allow_second_reactive_tag=a}function eo(){var a=X(window);a.afg_slotcar_vars||(a.afg_slotcar_vars={});return a.afg_slotcar_vars};function fo(a){var b,c,d;return(d=(b=X(a))==null?void 0:(c=b.head_tag_slot_vars)==null?void 0:c.google_ad_host)!=null?d:go(a)}function go(a){var b,c,d;return(d=(b=a.document)==null?void 0:(c=b.querySelector('meta[name="google-adsense-platform-account"]'))==null?void 0:c.getAttribute("content"))!=null?d:null};var ho=[2,7,1];function io(a,b,c,d){c=c===void 0?"":c;return b===1&&jo(c,d===void 0?null:d)?!0:ko(a,c,function(e){return ob(L(e,ze,2,I()),function(f){return M(f,1)===b})})}function jo(a,b){return b?Jd(b,Kn,13)?N(Xn(b),1):Jd(b,Nn,14)&&a!==""&&O(Yn(b),4)===a||Jd(b,Nn,14)&&a!==""&&On(Yn(b)).length===1&&On(Yn(b))[0]===a?N(K(Yn(b),Kn,2),1):!1:!1}function lo(a){var b=b===void 0?"":b;var c=af(S)||S;return mo(c,a)?!0:ko(S,b,function(d){return ob(Md(d,3,Kc,I()),function(e){return e===a})})} 
function mo(a,b){a=(a=(a=a.location&&a.location.hash)&&a.match(/forced_clientside_labs=([\d,]+)/))&&a[1];return!!a&&qb(a.split(","),b.toString())}function ko(a,b,c){a=af(a)||a;var d=no(a);b&&(b=Kf(String(b)));return Ke(d,function(e,f){return Object.prototype.hasOwnProperty.call(d,f)&&(!b||b===f)&&c(e)})}function no(a){a=oo(a);var b={};ff(a,function(c,d){try{var e=new Be(c);b[d]=e}catch(f){}});return b}function oo(a){Cb($n,Fb);a=vm({A:a,ha:$n});return a.g!=null?po(a.getValue()):{}} 
function po(a){try{var b=a.getItem("google_adsense_settings");if(!b)return{};var c=JSON.parse(b);return c!==Object(c)?{}:Je(c,function(d,e){return Object.prototype.hasOwnProperty.call(c,e)&&typeof e==="string"&&Array.isArray(d)})}catch(d){return{}}}function qo(a){ul("atf_ad_settings_from_ppabg",{p_s:a},.01)}function ro(a){return!!a&&(L(a,Si,1,I()).length>0||L(a,Ti,3,I()).length>0)} 
function so(a,b,c){if(c==null?0:Jd(c,Kn,13)){var d,e;a=c==null?void 0:(d=Xn(c))==null?void 0:(e=K(d,Em,2))==null?void 0:K(e,Cm,2);return ro(a)?(qo(!1),a):null}if(c==null?0:Jd(c,Nn,14)){var f,g,h;d=c==null?void 0:(f=Yn(c))==null?void 0:(g=K(f,Kn,2))==null?void 0:(h=K(g,Em,2))==null?void 0:K(h,Cm,2);if((c==null?void 0:O(Yn(c),4))===b&&ro(d)&&O(c,17)===a.location.host)return qo(!0),d}if(c==null?0:Jd(c,Nn,14)){var k;d=c==null?void 0:(k=Yn(c))==null?void 0:On(k);var l,n,q;k=c==null?void 0:(l=Yn(c))==null? 
void 0:(n=K(l,Kn,2))==null?void 0:(q=K(n,Em,2))==null?void 0:K(q,Cm,2);if(d&&d.length===1&&d[0]===b&&ro(k)&&O(c,17)===a.location.host)return qo(!0),k}return null} 
function to(a,b){if(fo(C))return ho;if(b==null?0:Jd(b,Kn,13)){var c=O(Xn(b),9),d,e;b=b==null?void 0:(d=Xn(b))==null?void 0:(e=K(d,Em,2))==null?void 0:K(e,Dm,3);return a&&c==a&&b?Md(b,3,Kc,I(vc)):ho}if(b==null?0:Jd(b,Nn,14)){var f;if((b==null?void 0:(f=Yn(b))==null?void 0:O(f,4))===a&&O(b,17)==C.location.host){var g,h,k;return(a=b==null?void 0:(g=Yn(b))==null?void 0:(h=K(g,Kn,2))==null?void 0:(k=K(h,Em,2))==null?void 0:K(k,Dm,3))?Md(a,3,Kc,I(vc)):ho}var l;d=b==null?void 0:(l=Yn(b))==null?void 0:On(l); 
if(!d||d.length!==1||!a||d[0]!==a||O(b,17)!=C.location.host)return ho;var n,q;return(a=b==null?void 0:(c=Yn(b))==null?void 0:(n=K(c,Kn,2))==null?void 0:(q=K(n,Em,2))==null?void 0:K(q,Dm,3))?Md(a,3,Kc,I(vc)):ho}return ho}function uo(a,b){var c=[];a=to(a,b);v(a,"includes").call(a,1)||c.push(1);v(a,"includes").call(a,2)||c.push(2);v(a,"includes").call(a,7)||c.push(7);return c};function vo(a,b,c,d){wo(new xo(a,b,c,d))}function xo(a,b,c,d){this.A=a;this.g=b;this.l=c;this.i=d}function wo(a){ui(si(vm({A:a.A,ha:N(a.g,6)}),function(b){yo(a,b,!0)}),function(){zo(a)})}function yo(a,b,c){ui(si(Ao(b),function(d){Bo("ok");a.i(d,{fromLocalStorage:!0})}),function(){var d=a.A;try{b.removeItem("google_ama_config")}catch(e){Dn(d,{lserr:1})}c?zo(a):a.i(null,null)})}function zo(a){ui(si(Co(a),function(b){a.i(b,{fromPABGSettings:!0})}),function(){Do(a)})} 
function Do(a){um({A:a.A,ha:N(a.g,6),tb:50,Ab:function(b){Eo(a,b)}})}function Ao(a){var b;if(U(sj))var c=null;else try{c=a.getItem("google_ama_config")}catch(f){c=null}try{var d=c?Pk(c):null}catch(f){d=null}if(a=d){var e;c=((e=(b=K(a,Ck,3))==null?void 0:ee(b,1))!=null?e:0)>Date.now()?a:null}else c=null;return(b=c)?ti(b):vi(Error("invlocst"))} 
function Co(a){if(fo(a.A)&&!N(a.g,22))return vi(Error("invtag"));if(a=so(a.A,a.l,a.g)){var b=new Ok;var c=L(a,Si,1,I());b=ce(b,1,c);c=L(a,Jk,2,I());b=ce(b,7,c);L(a,Ti,3,I()).length>0&&(c=new Ui,a=L(a,Ti,3,I()),a=ce(c,1,a),ae(b,6,a));a=ti(b)}else a=vi(Error("invtag"));return a}function Eo(a,b){ui(si(b,function(c){yo(a,c,!1)}),function(c){Bo(c.message);a.i(null,null)})}function Bo(a){ul("abg::amalserr",{status:a,guarding:"true",timeout:50,rate:.01},.01)};function Fo(a,b,c,d){try{var e=In(a,L(c,Jk,7,I()));if(e&&Hn(e)){if(re(e)){var f={},g=new Fi(null,(f.google_package=re(e),f));d=Gi(d,g)}var h=new Tl(a,b,c,e,d);$k(1E3,function(){var k=new ii;(new Gm(a,h,k)).start();return k.i},a).then(function(){Dn(a,{atf:1})},function(k){(a.google_ama_state=a.google_ama_state||{}).exception=k;Dn(a,{atf:0})})}}catch(k){Dn(a,{atf:-1})}};function Go(a){return a.length?a.join("~"):void 0};function Ho(a,b){if(!a)return!1;a=a.hash;if(!a||!a.indexOf)return!1;if(a.indexOf(b)!=-1)return!0;b=Io(b);return b!="go"&&a.indexOf(b)!=-1?!0:!1}function Io(a){var b="";ff(a.split("_"),function(c){b+=c.substr(0,2)});return b};function Jo(a){this.j=G(a)}z(Jo,Q);function Ko(a){this.j=G(a)}z(Ko,Q);function Lo(a){var b=new Ko;var c=new Jo;var d=je(a,1);c=H(c,1,Mc(d));d=je(a,18);c=H(c,2,Mc(d));d=O(a,2);c=H(c,3,Yc(d));d=N(a,6);c=H(c,4,Gc(d));d=N(a,20);c=H(c,5,Gc(d));d=N(a,9);c=H(c,6,Gc(d));d=N(a,25);c=H(c,7,Gc(d));d=O(a,8);c=H(c,8,Yc(d));a=O(a,3);a=H(c,9,Yc(a));ae(b,1,a);return b};tb||hb();function Mo(){var a={};R(rf).g(nj.g,nj.defaultValue)&&(a.bust=R(rf).g(nj.g,nj.defaultValue));return a};function No(){var a=this;this.promise=new u.Promise(function(b,c){a.resolve=b;a.reject=c})};function Oo(){var a=new No;return{promise:a.promise,resolve:a.resolve}};function Po(a){a=a===void 0?function(){}:a;C.google_llp||(C.google_llp={});var b=C.google_llp,c=b[7];if(c)return c;c=Oo();b[7]=c;a();return c}function Qo(a){return Po(function(){bf(C.document,a)}).promise};function Ro(){this.wasPlaTagProcessed=!1;this.wasReactiveAdConfigReceived={};this.adCount={};this.wasReactiveAdVisible={};this.stateForType={};this.reactiveTypeEnabledInAsfe={};this.wasReactiveTagRequestSent=!1;this.reactiveTypeDisabledByPublisher={};this.tagSpecificState={};this.messageValidationEnabled=!1;this.floatingAdsStacking=new So;this.sideRailProcessedFixedElements=new u.Set;this.sideRailAvailableSpace=new u.Map;this.sideRailPlasParam=new u.Map;this.sideRailMutationCallbacks=[];this.clickTriggeredInterstitialMayBeDisplayed= 
!1} 
function To(a){a.google_reactive_ads_global_state?(a.google_reactive_ads_global_state.sideRailProcessedFixedElements==null&&(a.google_reactive_ads_global_state.sideRailProcessedFixedElements=new u.Set),a.google_reactive_ads_global_state.sideRailAvailableSpace==null&&(a.google_reactive_ads_global_state.sideRailAvailableSpace=new u.Map),a.google_reactive_ads_global_state.sideRailPlasParam==null&&(a.google_reactive_ads_global_state.sideRailPlasParam=new u.Map),a.google_reactive_ads_global_state.sideRailMutationCallbacks==null&& 
(a.google_reactive_ads_global_state.sideRailMutationCallbacks=[])):a.google_reactive_ads_global_state=new Ro;return a.google_reactive_ads_global_state}function So(){this.maxZIndexRestrictions={};this.nextRestrictionId=0;this.maxZIndexListeners=[]};function Uo(a){var b={};return{enable_page_level_ads:(b.pltais=!0,b),google_ad_client:a}};function Vo(a){if(C.google_apltlad||a.google_ad_intent_query)return null;var b=a.google_loader_used!=="sd"&&U(vj)&&(C.top==C?0:$e(C.top)?1:2)===1;if(C!==C.top&&!b||!a.google_ad_client)return null;C.google_apltlad=!0;b=Uo(a.google_ad_client);var c=b.enable_page_level_ads;ff(a,function(d,e){yk[e]&&e!=="google_ad_client"&&(c[e]=d)});c.google_pgb_reactive=7;c.asro=U(Lj);c.aihb=U(xj);c.ailel=Go(Wj(Gj));c.aiael=Go(Wj(yj));c.aifxl=Go(Wj(Ej));c.aiixl=Go(Wj(Fj));U(Cj)||(c.aiict=!0,c.aicel=Go(Wj(Bj)));U(Hj)&& 
(c.aipaq=!0);U(Mj)&&(c.aigda=!0);Vj(zj)&&(c.aiapm=Vj(zj));Vj(Aj)&&(c.aiapmi=Vj(Aj));U(Kj)&&(c.aiombap=!0);U(Dj)&&(c.aief=!0);U(Ij)&&(c.aiopts=!0);c.aiof=Go(Wj(Jj));if("google_ad_section"in a||"google_ad_region"in a)c.google_ad_section=a.google_ad_section||a.google_ad_region;return b};function Wo(a,b){X(S).ama_ran_on_page||$k(1001,function(){Xo(new Yo(a,b))},C)}function Yo(a,b){this.A=C;this.g=a;this.i=b}function Xo(a){vo(a.A,a.i,a.g.google_ad_client||"",function(b,c){var d=a.A,e=a.g;X(S).ama_ran_on_page||b&&Zo(d,e,b,c)})} 
function Zo(a,b,c,d){d&&(el(a).configSourceInAbg=d);if(Hd(c,Nk,24)){d=fl(a);d.availableAbg=!0;var e,f;d.ablationFromStorage=!!((e=K(c,Nk,24))==null?0:(f=K(e,Lk,3))==null?0:qe(f,Kk,2,Mk))}if(Ma(b.enable_page_level_ads)&&b.enable_page_level_ads.google_pgb_reactive===7){if(!In(a,L(c,Jk,7,I()))){ul("amaait",{value:"true"});return}ul("amaait",{value:"false"})}X(S).ama_ran_on_page=!0;var g;if((g=K(c,Bk,15))==null?0:ge(g,23))X(a).enable_overlap_observer=!0;var h,k;if((h=K(c,Nk,24))==null?0:(k=K(h,Lk,3))== 
null?0:qe(k,Kk,2,Mk))fl(a).ablatingThisPageview=!0,bo(a);Cf(3,[ve(c)]);var l=b.google_ad_client||"";b=En(Ma(b.enable_page_level_ads)?b.enable_page_level_ads:{});var n=Gi(Ki,new Fi(null,b));sl(782,function(){Fo(a,l,c,n)})};function $o(a,b){a=a.document;for(var c=void 0,d=0;!c||a.getElementById(c+"_host");)c="aswift_"+d++;a=c;c=Number(b.google_ad_width||0);b=Number(b.google_ad_height||0);d=document.createElement("div");d.id=a+"_host";var e=d.style;e.border="none";e.height=b+"px";e.width=c+"px";e.margin="0px";e.padding="0px";e.position="relative";e.visibility="visible";e.backgroundColor="transparent";e.display="inline-block";return{Eb:a,Ub:d}};function ap(a){var b=a.Ca;a=a.Ia;return b||(a==="dev"?"dev":"")};function bp(a){if(a.google_ad_client)return String(a.google_ad_client);var b,c,d,e;return(e=(d=(b=X(a).head_tag_slot_vars)==null?void 0:b.google_ad_client)!=null?d:(c=a.document.querySelector(".adsbygoogle[data-ad-client]"))==null?void 0:c.getAttribute("data-ad-client"))!=null?e:""};var cp={"120x90":!0,"160x90":!0,"180x90":!0,"200x90":!0,"468x15":!0,"728x15":!0};function dp(a,b){if(b==15){if(a>=728)return 728;if(a>=468)return 468}else if(b==90){if(a>=200)return 200;if(a>=180)return 180;if(a>=160)return 160;if(a>=120)return 120}return null};function ep(a){this.j=G(a)}z(ep,Q);ep.prototype.getVersion=function(){return O(this,2)};function fp(a){this.j=G(a)}z(fp,Q);function gp(a,b){return H(a,2,Yc(b))}function hp(a,b){return H(a,3,Yc(b))}function ip(a,b){return H(a,4,Yc(b))}function jp(a,b){return H(a,5,Yc(b))}function kp(a,b){return H(a,9,Yc(b))}function lp(a,b){return ce(a,10,b)}function mp(a,b){return H(a,11,Gc(b))}function np(a,b){return H(a,1,Yc(b))}function op(a,b){return H(a,7,Gc(b))};var pp="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function qp(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function rp(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} 
function sp(){var a=S;if(!rp(a))return null;var b=qp(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(pp).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a} 
function tp(a){var b;return mp(lp(jp(gp(np(ip(op(kp(hp(new fp,a.architecture||""),a.bitness||""),a.mobile||!1),a.model||""),a.platform||""),a.platformVersion||""),a.uaFullVersion||""),((b=a.fullVersionList)==null?void 0:b.map(function(c){var d=new ep;d=H(d,1,Yc(c.brand));return H(d,2,Yc(c.version))}))||[]),a.wow64||!1)}function up(){var a,b;return(b=(a=sp())==null?void 0:a.then(function(c){return tp(c)}))!=null?b:null};function vp(a,b){b.google_ad_host||(a=go(a))&&(b.google_ad_host=a)}function wp(a,b,c){S.google_sa_queue||(S.google_sa_queue=[],S.google_process_slots=tl(215,function(){xp(S.google_sa_queue)}),a=yp(c===void 0?"":c,a,b),bf(S.document,a))}function xp(a){var b=a.shift();typeof b==="function"&&sl(216,b);a.length&&C.setTimeout(tl(215,function(){xp(a)}),0)}function zp(a,b){a.google_sa_queue=a.google_sa_queue||[];a.google_sa_impl?b():a.google_sa_queue.push(b)} 
function yp(a,b,c){var d=S;b=N(c,4)?b.Nb:b.Ob;var e=Object,f=e.assign;a:{if(N(c,4)){var g=a||bp(d);if(g){a={};a.client=Kf(g);b:{try{for(;d;){g=void 0;if((g=d.location)==null?0:g.hostname){var h=d.location.hostname;break b}d=d.parent}}catch(k){}h=""}h=(a.plah=h,a);break a}throw Error("PublisherCodeNotFoundForAma");}h={}}e=f.call(e,{},h,Mo());f=Vj(Oj);!N(c,4)&&(t=[0,1],v(t,"includes")).call(t,f)&&(e.osttc=""+f);return Ye(b,new u.Map(v(Object,"entries").call(Object,e)))} 
function Ap(a,b,c,d){var e=$o(a,b),f=e.Eb,g=e.Ub;c.appendChild(g);Bp(a,c,b);var h;c=(h=b.google_start_time)!=null?h:Ua;h=(new Date).getTime();b.google_lrv=ap({Ca:an(),Ia:O(d,2)});b.google_async_iframe_id=f;b.google_start_time=c;b.google_bpp=h>c?h-c:1;a.google_sv_map=a.google_sv_map||{};a.google_sv_map[f]=b;zp(a,function(){var k=g;if(!k||!k.isConnected)if(k=a.document.getElementById(String(b.google_async_iframe_id)+"_host"),k==null)throw Error("no_div");(k=a.google_sa_impl({pubWin:a,vars:b,innerInsElement:k}))&& 
vl(911,k)})} 
function Bp(a,b,c){var d=c.google_ad_output,e=c.google_ad_format,f=c.google_ad_width||0,g=c.google_ad_height||0;e||d!=="html"&&d!=null||(e=f+"x"+g);U(Tj)&&(c.google_reactive_ad_format===10?e="interstitial":c.google_reactive_ad_format===11&&(e="rewarded"));d=!c.google_ad_slot||c.google_override_format||!cp[c.google_ad_width+"x"+c.google_ad_height]&&c.google_loader_used==="aa";e=e&&d?e.toLowerCase():"";c.google_ad_format=e;if(typeof c.google_reactive_sra_index!=="number"||!c.google_ad_unit_key){e=[c.google_ad_slot, 
c.google_orig_ad_format||c.google_ad_format,c.google_ad_type,c.google_orig_ad_width||c.google_ad_width,c.google_orig_ad_height||c.google_ad_height];d=[];f=0;for(g=b;g&&f<25;g=g.parentNode,++f)g.nodeType===9?d.push(""):d.push(g.id);(d=d.join())&&e.push(d);c.google_ad_unit_key=gf(e.join(":")).toString();var h=h===void 0?!1:h;e=[];for(d=0;b&&d<25;++d){f="";h!==void 0&&h||(f=(f=b.nodeType!==9&&b.id)?"/"+f:"");a:{if(b&&b.nodeName&&b.parentElement){g=b.nodeName.toString().toLowerCase();for(var k=b.parentElement.childNodes, 
l=0,n=0;n<k.length;++n){var q=k[n];if(q.nodeName&&q.nodeName.toString().toLowerCase()===g){if(b===q){g="."+l;break a}++l}}}g=""}e.push((b.nodeName&&b.nodeName.toString().toLowerCase())+f+g);b=b.parentElement}h=e.join()+":";b=[];if(a)try{var m=a.parent;for(e=0;m&&m!==a&&e<25;++e){var p=m.frames;for(d=0;d<p.length;++d)if(a===p[d]){b.push(d);break}a=m;m=a.parent}}catch(y){}c.google_ad_dom_fingerprint=gf(h+b.join()).toString()}} 
function Cp(){var a=af(C);a&&(a=To(a),a.tagSpecificState[1]||(a.tagSpecificState[1]={debugCard:null,debugCardRequested:!1}))}function Dp(){var a=up();a!=null&&a.then(function(b){S.google_user_agent_client_hint=we(b)});qf()};function Z(a,b,c,d){d=d===void 0?!1:d;pk.call(this,a,b);this.ja=c;this.u=d}z(Z,pk);Z.prototype.xa=function(){return this.ja};Z.prototype.i=function(a,b,c){c.style.height=this.height()+"px";b.rpe=!0};function Ep(a){return function(b){return!!(b.ja&a)}};var Fp={},Gp=(Fp.image_stacked=1/1.91,Fp.image_sidebyside=1/3.82,Fp.mobile_banner_image_sidebyside=1/3.82,Fp.pub_control_image_stacked=1/1.91,Fp.pub_control_image_sidebyside=1/3.82,Fp.pub_control_image_card_stacked=1/1.91,Fp.pub_control_image_card_sidebyside=1/3.74,Fp.pub_control_text=0,Fp.pub_control_text_card=0,Fp),Hp={},Ip=(Hp.image_stacked=80,Hp.image_sidebyside=0,Hp.mobile_banner_image_sidebyside=0,Hp.pub_control_image_stacked=80,Hp.pub_control_image_sidebyside=0,Hp.pub_control_image_card_stacked= 
85,Hp.pub_control_image_card_sidebyside=0,Hp.pub_control_text=80,Hp.pub_control_text_card=80,Hp),Jp={},Kp=(Jp.pub_control_image_stacked=100,Jp.pub_control_image_sidebyside=200,Jp.pub_control_image_card_stacked=150,Jp.pub_control_image_card_sidebyside=250,Jp.pub_control_text=100,Jp.pub_control_text_card=150,Jp); 
function Lp(a){var b=0;a.O&&b++;a.J&&b++;a.K&&b++;if(b<3)return{X:"Tags data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num should be set together."};b=a.O.split(",");var c=a.K.split(",");a=a.J.split(",");if(b.length!==c.length||b.length!==a.length)return{X:'Lengths of parameters data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num must match. Example: \n data-matched-content-rows-num="4,2"\ndata-matched-content-columns-num="1,6"\ndata-matched-content-ui-type="image_stacked,image_card_sidebyside"'}; 
if(b.length>2)return{X:"The parameter length of attribute data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num is too long. At most 2 parameters for each attribute are needed: one for mobile and one for desktop, while you are providing "+(b.length+' parameters. Example: \n data-matched-content-rows-num="4,2"\ndata-matched-content-columns-num="1,6"\ndata-matched-content-ui-type="image_stacked,image_card_sidebyside".')};for(var d=[],e=[],f=0;f<b.length;f++){var g= 
Number(c[f]);if(v(Number,"isNaN").call(Number,g)||g===0)return{X:"Wrong value '"+c[f]+"' for data-matched-content-rows-num."};d.push(g);g=Number(a[f]);if(v(Number,"isNaN").call(Number,g)||g===0)return{X:"Wrong value '"+a[f]+"' for data-matched-content-columns-num."};e.push(g)}return{K:d,J:e,mb:b}} 
function Mp(a){return a>=1200?{width:1200,height:600}:a>=850?{width:a,height:Math.floor(a*.5)}:a>=550?{width:a,height:Math.floor(a*.6)}:a>=468?{width:a,height:Math.floor(a*.7)}:{width:a,height:Math.floor(a*3.44)}}function Np(a,b,c,d){b=Math.floor(((a-8*b-8)/b*Gp[d]+Ip[d])*c+8*c+8);return a>1500?{width:0,height:0,Pb:"Calculated slot width is too large: "+a}:b>1500?{width:0,height:0,Pb:"Calculated slot height is too large: "+b}:{width:a,height:b}} 
function Op(a,b){var c=a-8-8;--b;return{width:a,height:Math.floor(c/1.91+70)+Math.floor((c*Gp.mobile_banner_image_sidebyside+Ip.mobile_banner_image_sidebyside)*b+8*b+8)}};var Pp=sb("script");function Qp(a,b,c,d,e,f,g,h,k,l,n,q){this.C=a;this.U=b;this.ja=c===void 0?null:c;this.g=d===void 0?null:d;this.M=e===void 0?null:e;this.i=f===void 0?null:f;this.l=g===void 0?null:g;this.D=h===void 0?null:h;this.F=k===void 0?null:k;this.u=l===void 0?null:l;this.B=n===void 0?null:n;this.G=q===void 0?null:q}Qp.prototype.size=function(){return this.U};var Rp=["google_content_recommendation_ui_type","google_content_recommendation_columns_num","google_content_recommendation_rows_num"];function Sp(a,b){pk.call(this,a,b)}z(Sp,pk);Sp.prototype.g=function(a){return Math.min(1200,Math.max(this.ba,Math.round(a)))}; 
function Tp(a,b){Up(a,b);if(b.google_content_recommendation_ui_type==="pedestal")return new Qp(9,new Sp(a,Math.floor(a*b.google_phwr)));if(U(bj)){var c=He();var d=Vj(cj);var e=Vj(aj),f=Vj($i);a<468?c?(a=Op(a,d),d={W:a.width,V:a.height,J:1,K:d,O:"mobile_banner_image_sidebyside"}):(a=Np(a,1,d,"image_sidebyside"),d={W:a.width,V:a.height,J:1,K:d,O:"image_sidebyside"}):(d=Mp(a),e===1&&(d.height=Math.floor(d.height*.5)),d={W:d.width,V:d.height,J:f,K:e,O:"image_stacked"})}else d=He(),a<468?d?(d=Op(a,12), 
d={W:d.width,V:d.height,J:1,K:12,O:"mobile_banner_image_sidebyside"}):(d=Mp(a),d={W:d.width,V:d.height,J:1,K:13,O:"image_sidebyside"}):(d=Mp(a),d={W:d.width,V:d.height,J:4,K:2,O:"image_stacked"});Vp(b,d);return new Qp(9,new Sp(d.W,d.V))} 
function Wp(a,b){Up(a,b);var c=Lp({K:b.google_content_recommendation_rows_num,J:b.google_content_recommendation_columns_num,O:b.google_content_recommendation_ui_type});if(c.X)a={W:0,V:0,J:0,K:0,O:"image_stacked",X:c.X};else{var d=c.mb.length===2&&a>=468?1:0;var e=c.mb[d];e=e.indexOf("pub_control_")===0?e:"pub_control_"+e;var f=Kp[e];for(var g=c.J[d];a/g<f&&g>1;)g--;f=g;c=c.K[d];a=Np(a,f,c,e);a={W:a.width,V:a.height,J:f,K:c,O:e}}if(a.X)throw new W(a.X);Vp(b,a);return new Qp(9,new Sp(a.W,a.V))} 
function Up(a,b){if(a<=0)throw new W("Invalid responsive width from Matched Content slot "+b.google_ad_slot+": "+a+". Please ensure to put this Matched Content slot into a non-zero width div container.");}function Vp(a,b){a.google_content_recommendation_ui_type=b.O;a.google_content_recommendation_columns_num=b.J;a.google_content_recommendation_rows_num=b.K};function Xp(a,b){pk.call(this,a,b)}z(Xp,pk);Xp.prototype.g=function(){return this.ba};Xp.prototype.i=function(a,b,c){ok(a,c);c.style.height=this.height()+"px";b.rpe=!0};var Yp={"image-top":function(a){return a<=600?284+(a-250)*.414:429},"image-middle":function(a){return a<=500?196-(a-250)*.13:164+(a-500)*.2},"image-side":function(a){return a<=500?205-(a-250)*.28:134+(a-500)*.21},"text-only":function(a){return a<=500?187-.228*(a-250):130},"in-article":function(a){return a<=420?a/1.2:a<=460?a/1.91+130:a<=800?a/4:200}};function Zp(a,b){pk.call(this,a,b)}z(Zp,pk);Zp.prototype.g=function(){return Math.min(1200,this.ba)}; 
function $p(a,b,c,d,e){var f=e.google_ad_layout||"image-top";if(f==="in-article"){var g=a;if(e.google_full_width_responsive==="false")a=g;else if(a=jk(b,c,g,Vj(ij),e),a!==!0)e.gfwrnwer=a,a=g;else if(a=dk(b))if(e.google_full_width_responsive_allowed=!0,c.parentElement){b:{g=c;for(var h=0;h<100&&g.parentElement;++h){for(var k=g.parentElement.childNodes,l=0;l<k.length;++l){var n=k[l];if(n!==g&&mk(b,n))break b}g=g.parentElement;g.style.width="100%";g.style.height="auto"}}ok(b,c)}else a=g;else a=g}if(a< 
250)throw new W("Fluid responsive ads must be at least 250px wide: availableWidth="+a);a=Math.min(1200,Math.floor(a));if(d&&f!=="in-article"){f=Math.ceil(d);if(f<50)throw new W("Fluid responsive ads must be at least 50px tall: height="+f);return new Qp(11,new pk(a,f))}if(f!=="in-article"&&(d=e.google_ad_layout_key)){f=""+d;if(c=(b=f.match(/([+-][0-9a-z]+)/g))&&b.length){d=[];for(e=0;e<c;e++)d.push(parseInt(b[e],36)/1E3);b=d}else b=null;if(!b)throw new W("Invalid data-ad-layout-key value: "+f);f=(a+ 
-725)/1E3;c=0;d=1;e=b.length;for(g=0;g<e;g++)c+=b[g]*d,d*=f;f=Math.ceil(c*1E3- -725+10);if(isNaN(f))throw new W("Invalid height: height="+f);if(f<50)throw new W("Fluid responsive ads must be at least 50px tall: height="+f);if(f>1200)throw new W("Fluid responsive ads must be at most 1200px tall: height="+f);return new Qp(11,new pk(a,f))}d=Yp[f];if(!d)throw new W("Invalid data-ad-layout value: "+f);c=uk(c,b);b=dk(b);b=f!=="in-article"||c||a!==b?Math.ceil(d(a)):Math.ceil(d(a)*1.25);return new Qp(11, 
f==="in-article"?new Zp(a,b):new pk(a,b))};function aq(a){return function(b){for(var c=a.length-1;c>=0;--c)if(!a[c](b))return!1;return!0}}function bq(a,b){for(var c=cq.slice(0),d=c.length,e=null,f=0;f<d;++f){var g=c[f];if(a(g)){if(b==null||b(g))return g;e===null&&(e=g)}}return e};var dq=[new Z(970,90,2),new Z(728,90,2),new Z(468,60,2),new Z(336,280,1),new Z(320,100,2),new Z(320,50,2),new Z(300,600,4),new Z(300,250,1),new Z(250,250,1),new Z(234,60,2),new Z(200,200,1),new Z(180,150,1),new Z(160,600,4),new Z(125,125,1),new Z(120,600,4),new Z(120,240,4),new Z(120,120,1,!0)],cq=[dq[6],dq[12],dq[3],dq[0],dq[7],dq[14],dq[1],dq[8],dq[10],dq[4],dq[15],dq[2],dq[11],dq[5],dq[13],dq[9],dq[16]];function eq(a,b,c,d,e){e.google_full_width_responsive=="false"?c={H:a,I:1}:b==="autorelaxed"&&e.google_full_width_responsive||fq(b)||e.google_ad_resize?(b=kk(a,c,d,e),c=b!==!0?{H:a,I:b}:{H:dk(c)||a,I:!0}):c={H:a,I:2};b=c.I;return b!==!0?{H:a,I:b}:d.parentElement?{H:c.H,I:b}:{H:a,I:b}} 
function gq(a,b,c,d,e){var f=sl(247,function(){return eq(a,b,c,d,e)}),g=f.H;f=f.I;var h=f===!0,k=lf(d.style.width),l=lf(d.style.height),n=hq(g,b,c,d,e,h);g=n.ca;h=n.aa;var q=n.xa;n=n.lb;var m=iq(b,q),p,y=(p=qk(d,c,"marginLeft"))?p+"px":"",A=(p=qk(d,c,"marginRight"))?p+"px":"";p=rk(d,c)||"";return new Qp(m,g,q,null,n,f,h,y,A,l,k,p)}function fq(a){return a==="auto"||/^((^|,) *(horizontal|vertical|rectangle) *)+$/.test(a)} 
function hq(a,b,c,d,e,f){b=jq(c,a,b);var g=!1,h=!1,k=dk(c)<488;if(k){var l=ek(d,c);var n=uk(d,c);g=!n&&l;h=n&&l}n=[sk(a),Ep(b)];U(pj)||n.push(tk(k,c,d,h));e.google_max_responsive_height!=null&&n.push(wk(e.google_max_responsive_height));k=[function(m){return!m.u}];if(g||h)g=xk(c,d),k.push(wk(g));var q=bq(aq(n),aq(k));if(!q)throw new W("No slot size for availableWidth="+a);n=sl(248,function(){var m;a:if(f){if(e.gfwrnh&&(m=lf(e.gfwrnh))){m={ca:new Xp(a,m),aa:!0};break a}m=Vj(kj);m=m>0?a/m:a/1.2;if(e.google_resizing_allowed|| 
e.google_full_width_responsive=="true")var p=Infinity;else{p=d;var y=Infinity;do{var A=qk(p,c,"height");A&&(y=Math.min(y,A));(A=qk(p,c,"maxHeight"))&&(y=Math.min(y,A))}while(p.parentElement&&(p=p.parentElement)&&p.tagName!=="HTML");p=y}!(U(mj)&&p<=m*2)&&(p=Math.min(m,p),p<m*.5||p<100)&&(p=m);m={ca:new Xp(a,Math.floor(p)),aa:p<m?102:!0}}else m={ca:q,aa:100};return m});g=n.ca;n=n.aa;return e.google_ad_layout==="in-article"&&kq(c)?{ca:lq(a,c,d,g,e),aa:!1,xa:b,lb:l}:{ca:g,aa:n,xa:b,lb:l}} 
function iq(a,b){if(a==="auto")return 1;switch(b){case 2:return 2;case 1:return 3;case 4:return 4;case 3:return 5;case 6:return 6;case 5:return 7;case 7:return 8;default:throw Error("bad mask");}}function jq(a,b,c){if(c==="auto")c=Math.min(1200,dk(a)),b=b/c<=.25?4:3;else{b=0;for(var d in ak)c.indexOf(d)!==-1&&(b|=ak[d])}return b}function lq(a,b,c,d,e){var f=e.google_ad_height||qk(c,b,"height");b=$p(a,b,c,f,e).size();return b.ba*b.height()>a*d.height()?new Z(b.ba,b.height(),1):d} 
function kq(a){return U(Zi)||a.location&&a.location.hash==="#hffwroe2etoq"};function mq(a,b,c,d,e){var f;(f=dk(b))?dk(b)<488?b.innerHeight>=b.innerWidth?(e.google_full_width_responsive_allowed=!0,ok(b,c),f={H:f,I:!0}):f={H:a,I:5}:f={H:a,I:4}:f={H:a,I:10};var g=f;f=g.H;g=g.I;if(g!==!0||a===f)return new Qp(12,new pk(a,d),null,null,!0,g,100);a=hq(f,"auto",b,c,e,!0);return new Qp(1,a.ca,a.xa,2,!0,g,a.aa)};function nq(a,b){var c=b.google_ad_format;if(c==="autorelaxed"){a:{if(b.google_content_recommendation_ui_type!=="pedestal")for(a=x(Rp),c=a.next();!c.done;c=a.next())if(b[c.value]!=null){b=!0;break a}b=!1}return b?9:5}if(fq(c))return 1;if(c==="link")return 4;if(c==="fluid"){if(c=b.google_ad_layout==="in-article")c=U(fj)||a.location&&(a.location.hash=="#hffwroe2etop"||a.location.hash=="#hffwroe2etoq");return c?(oq(b),1):8}if(b.google_reactive_ad_format===27)return oq(b),1} 
function pq(a,b,c,d,e){var f=b.offsetWidth||(c.google_ad_resize||(e===void 0?!1:e))&&qk(b,d,"width")||c.google_ad_width||0;a===4&&(c.google_ad_format="auto",a=1);e=(e=qq(a,f,b,c,d))?e:gq(f,c.google_ad_format,d,b,c);e.size().i(d,c,b);e.ja!=null&&(c.google_responsive_formats=e.ja);e.M!=null&&(c.google_safe_for_responsive_override=e.M);e.i!=null&&(e.i===!0?c.google_full_width_responsive_allowed=!0:(c.google_full_width_responsive_allowed=!1,c.gfwrnwer=e.i));e.l!=null&&e.l!==!0&&(c.gfwrnher=e.l);d=e.B|| 
c.google_ad_width;d!=null&&(c.google_resizing_width=d);d=e.u||c.google_ad_height;d!=null&&(c.google_resizing_height=d);d=e.size().g(f);var g=e.size().height();c.google_ad_width=d;c.google_ad_height=g;var h=e.size();f=h.g(f)+"x"+h.height();c.google_ad_format=f;c.google_responsive_auto_format=e.C;e.g!=null&&(c.armr=e.g);c.google_ad_resizable=!0;c.google_override_format=1;c.google_loader_features_used=128;e.i===!0&&(c.gfwrnh=e.size().height()+"px");e.D!=null&&(c.gfwroml=e.D);e.F!=null&&(c.gfwromr=e.F); 
e.u!=null&&(c.gfwroh=e.u);e.B!=null&&(c.gfwrow=e.B);e.G!=null&&(c.gfwroz=e.G);f=af(window)||window;Ho(f.location,"google_responsive_dummy_ad")&&(qb([1,2,3,4,5,6,7,8],e.C)||e.g===1)&&e.g!==2&&(f=JSON.stringify({googMsgType:"adpnt",key_value:[{key:"qid",value:"DUMMY_AD"}]}),c.dash="<"+Pp+">window.top.postMessage('"+f+"', '*');\n          </"+Pp+'>\n          <div id="dummyAd" style="width:'+d+"px;height:"+g+'px;\n            background:#ddd;border:3px solid #f00;box-sizing:border-box;\n            color:#000;">\n            <p>Requested size:'+ 
d+"x"+g+"</p>\n            <p>Rendered size:"+d+"x"+g+"</p>\n          </div>");a!=1&&(a=e.size().height(),b.style.height=a+"px")} 
function qq(a,b,c,d,e){var f=d.google_ad_height||qk(c,e,"height");switch(a){case 5:return f=sl(247,function(){return eq(b,d.google_ad_format,e,c,d)}),a=f.H,f=f.I,f===!0&&b!=a&&ok(e,c),f===!0?d.google_full_width_responsive_allowed=!0:(d.google_full_width_responsive_allowed=!1,d.gfwrnwer=f),Tp(a,d);case 9:return Wp(b,d);case 8:return $p(b,e,c,f,d);case 10:return mq(b,e,c,f,d)}}function oq(a){a.google_ad_format="auto";a.armr=3};function rq(a,b){a.google_resizing_allowed=!0;a.ovlp=!0;a.google_ad_format="auto";a.iaaso=!0;a.armr=b};function sq(a,b){var c=af(b);if(c){c=dk(c);var d=df(a,b)||{},e=d.direction;if(d.width==="0px"&&d.cssFloat!=="none")return-1;if(e==="ltr"&&c)return Math.floor(Math.min(1200,c-a.getBoundingClientRect().left));if(e==="rtl"&&c)return a=b.document.body.getBoundingClientRect().right-a.getBoundingClientRect().right,Math.floor(Math.min(1200,c-a-Math.floor((c-b.document.body.clientWidth)/2)))}return-1};function tq(a,b){switch(a){case "google_reactive_ad_format":return a=parseInt(b,10),isNaN(a)?0:a;default:return b}} 
function uq(a,b){if(a.getAttribute("src")){var c=a.getAttribute("src")||"",d=We(c,"client");d&&(b.google_ad_client=tq("google_ad_client",d));(c=We(c,"host"))&&(b.google_ad_host=tq("google_ad_host",c))}a=a.attributes;c=a.length;for(d=0;d<c;d++){var e=a[d];if(/data-/.test(e.name)){var f=Wa(e.name.replace("data-matched-content","google_content_recommendation").replace("data","google").replace(/-/g,"_"));b.hasOwnProperty(f)||(e=tq(f,e.value),e!==null&&(b[f]=e))}}} 
function vq(a){if(a=Ef(a))switch(a.data&&a.data.autoFormat){case "rspv":return 13;case "mcrspv":return 15;default:return 14}else return 12} 
function wq(a,b,c,d){uq(a,b);if(c.document&&c.document.body&&!nq(c,b)&&!b.google_reactive_ad_format&&!b.google_ad_intent_query){var e=parseInt(a.style.width,10),f=sq(a,c);if(f>0&&e>f){var g=parseInt(a.style.height,10);e=!!cp[e+"x"+g];var h=f;if(e){var k=dp(f,g);if(k)h=k,b.google_ad_format=k+"x"+g+"_0ads_al";else throw new W("No slot size for availableWidth="+f);}b.google_ad_resize=!0;b.google_ad_width=h;e||(b.google_ad_format=null,b.google_override_format=!0);a.style.width=h+"px";rq(b,4)}}if(U(dj)|| 
dk(c)<488){g=af(c)||c;f=a.offsetWidth||qk(a,c,"width")||b.google_ad_width||0;e=b.google_ad_client;if(d=Ho(g.location,"google_responsive_slot_preview")||io(g,1,e,d))b:if(b.google_reactive_ad_format||b.google_ad_resize||nq(c,b)||gk(a,b))d=!1;else{for(d=a;d;d=d.parentElement){g=df(d,c);if(!g){b.gfwrnwer=18;d=!1;break b}if(!qb(["static","relative"],g.position)){b.gfwrnwer=17;d=!1;break b}}if(!U(qj)&&(d=Vj(jj),d=jk(c,a,f,d,b),d!==!0)){b.gfwrnwer=d;d=!1;break b}d=c===c.top?!0:!1}d?(rq(b,1),d=!0):d=!1}else d= 
!1;if(f=nq(c,b))pq(f,a,b,c,d);else{if(gk(a,b)){if(d=df(a,c))a.style.width=d.width,a.style.height=d.height,fk(d,b);b.google_ad_width||(b.google_ad_width=a.offsetWidth);b.google_ad_height||(b.google_ad_height=a.offsetHeight);b.google_loader_features_used=256;b.google_responsive_auto_format=vq(c)}else fk(a.style,b);c.location&&c.location.hash==="#gfwmrp"||b.google_responsive_auto_format===12&&b.google_full_width_responsive==="true"?pq(10,a,b,c,!1):Math.random()<.01&&b.google_responsive_auto_format=== 
12&&(a=kk(a.offsetWidth||parseInt(a.style.width,10)||b.google_ad_width,c,a,b),a!==!0?(b.efwr=!1,b.gfwrnwer=a):b.efwr=!0)}};function xq(a){if(a===a.top)return 0;for(var b=a;b&&b!==b.top&&$e(b);b=b.parent){if(a.sf_)return 2;if(a.$sf)return 3;if(a.inGptIF)return 4;if(a.inDapIF)return 5}return 1};function yq(){this.g=[]}function zq(a,b,c){b=x(b);for(var d=b.next();!d.done;d=b.next())a:{var e=a;d=d.value;for(var f=c,g=0;g<e.g.length;g++){if(e.g[g].element.contains(d)){e.g[g].labels.add(f);break a}if(d.contains(e.g[g].element)){e.g[g].element=d;e.g[g].labels.add(f);break a}}e.g.push({element:d,labels:new u.Set([f])})}}yq.prototype.getSlots=function(){return this.g}; 
function Aq(a){var b=Il(a),c=new yq;zq(c,b.xb,1);zq(c,b.yb,2);zq(c,b.Cb,3);zq(c,b.Tb,4);zq(c,b.zb,5);zq(c,b.Kb,6);return c.getSlots().map(function(d){var e=new Dg;var f=[].concat(ka(d.labels));e=Sd(e,1,f,Jc);d=d.element.getBoundingClientRect();f=new Cg;f=H(f,1,Mc(d.left+a.scrollX));f=H(f,2,Mc(d.top+a.scrollY));f=H(f,3,Mc(d.width));d=Ad(f.setHeight(d.height));e=ae(e,2,d);return Ad(e)}).sort(function(d,e){return je(K(d,Cg,2),2)-je(K(e,Cg,2),2)})};function Bq(a){mm.call(this);this.A=a;this.state=0;this.g=new u.Map}z(Bq,mm);function Cq(a){a.A.document.visibilityState?Dq(a,a.A.document,"visibilitychange",function(b){a.A.document.visibilityState==="hidden"&&Eq(a,b);a.A.document.visibilityState==="visible"&&(a.state=0)}):"onpagehide"in a.A?(Dq(a,a.A,"pagehide",function(b){Eq(a,b)}),Dq(a,a.A,"pageshow",function(){a.state=0})):Dq(a,a.A,"beforeunload",function(b){Eq(a,b)})} 
function vh(a,b,c){c=c===void 0?0:c;a.g.size>0||Cq(a);c=Math.min(Math.max(0,c),9);var d=a.g.get(c);d?d.push(b):a.g.set(c,[b])}function Fq(a,b){for(var c=9;c>=0;c--){var d=void 0;(d=a.g.get(c))==null||d.forEach(function(e){e(b)})}}function Eq(a,b){a.state!==1&&(a.state=1,a.g.size>0&&Fq(a,b))}function Dq(a,b,c,d){Fe(b,c,d);nm(a,function(){return Ge(b,c,d)})};function Gq(a,b){var c=10;return Fa(function(d){return c<=0?d.return(u.Promise.reject(Error("wfc bad input "+c+" 200"))):b()?d.return(u.Promise.resolve()):d.return(new u.Promise(function(e,f){var g=a.setInterval(function(){--c?b()&&(a.clearInterval(g),e()):(a.clearInterval(g),f(Error("wfc timed out "+c)))},200)}))})};function Hq(a,b){this.A=Ff()||window;this.l=b!=null?b:new Bq(this.A);this.g=a!=null?a:new wh(2,an(),100,100,!0,this.l);this.state=gm(cm(),33,function(){var c=Vj(hj);return{sd:c,ssp:c>0&&ef()<1/c,pc:null,wpc:null,cu:null,le:[],lgdp:[],psi:null,tar:0,cc:null}})}function Iq(a,b){var c=new Rg;var d=Jq(a);c=se(c,1,d);d=Kq(a);c=J(c,2,Yc(d),"");c=se(c,3,a.state.sd);return se(c,7,Math.round(b||a.A.performance.now()))}function Jq(a){var b=a.state.pc;return b!==null&&b!==0?b:a.state.pc=uf(a.A)} 
function Kq(a){var b=a.state.wpc;return b!==null&&b!==""?b:a.state.wpc=bp(a.A)}function Lq(a){return Fa(function(b){return wa(b,Gq(a.A,function(){return!(!Jq(a)||!Kq(a))}),0)})}function Mq(a){var b=R(Hq);if(b.i){var c=b.u;a(c);b.state.psi=ve(c)}} 
function Nq(a){var b=R(Hq),c,d,e;return Fa(function(f){if(f.g==1){if(!b.i||v(b.state.le,"includes").call(b.state.le,1))return f.return();b.state.le.push(1);c=b.A.performance.now();return wa(f,Lq(b),2)}var g=new Jg;g=J(g,5,Gc(a),!1).setPage(Fg(new Eg,ck(b.A).scrollWidth).setHeight(ck(b.A).scrollHeight));var h=Fg(new Eg,dk(b.A)).setHeight(ck(b.A).clientHeight);g=ae(g,1,h);for(var k=h=b.A;h&&h!=h.parent;)h=h.parent,$e(h)&&(k=h);d=J(g,4,Yc(k.location.href),"");e=xq(b.A);e!==0&&(g=new Ig,g=H(g,1,F(e)), 
ae(d,3,g));g=b.g;h=g.ka;k=Iq(b,c);k=be(k,4,Sg,d);h.call(g,k);Oq(b);Pq(b);f.g=0})}function Qq(a,b,c){var d;return Fa(function(e){if(e.g==1){if(!a.i||!c.length||v(a.state.lgdp,"includes").call(a.state.lgdp,Number(b)))return e.return();a.state.lgdp.push(Number(b));d=a.A.performance.now();return wa(e,Lq(a),2)}var f=a.g,g=f.ka,h=Iq(a,d);var k=new Hg;k=J(k,1,F(b),0);k=Sd(k,2,c,Lc);h=be(h,9,Sg,k);g.call(f,h);e.g=0})} 
function Rq(a,b){Fa(function(c){if(c.g==1)return wa(c,Lq(a),2);var d=a.g,e=d.ka;var f=Iq(a);f=se(f,3,1);f=be(f,10,Sg,b);e.call(d,f);c.g=0})}function Pq(a){var b=new Ng;vh(a.l,function(){ae(b,2,a.u);se(b,3,a.state.tar);if(U(gj)){var c=a.A;var d=new Gg;var e=Aq(c);d=ce(d,1,e);e=Ad(Fg(new Eg,dk(c)).setHeight(ck(c).clientHeight));d=ae(d,2,e);e=d.setPage;c=Ad(Fg(new Eg,ck(c).scrollWidth).setHeight(ck(c).scrollHeight));c=Ad(e.call(d,c));ae(b,4,c)}c=a.g;d=c.ka;e=Iq(a);e=be(e,8,Sg,b);d.call(c,e)},9)} 
function Oq(a){vh(a.l,function(){var b=Iq(a);b=be(b,12,Sg,a.B);a.i&&!v(a.state.le,"includes").call(a.state.le,3)&&(a.state.le.push(3),a.g.ka(b))},9)} 
da.Object.defineProperties(Hq.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return this.state.ssp}},u:{configurable:!0,enumerable:!0,get:function(){var a=this;return sl(1178,function(){return xe(Lg,kd(a.state.psi||[]))})||new Lg}},B:{configurable:!0,enumerable:!0,get:function(){var a=this;return sl(1227,function(){return xe(Og,kd(a.state.cc||[]))})||new Og}}});function Sq(){var a=window;if(C.google_adtest!=="on"&&C.google_adbreak_test!=="on"&&!v(a.location.host,"endsWith").call(a.location.host,"h5games.usercontent.goog")&&a.location.host!=="gamesnacks.com")return[];var b,c;return((b=a.document.querySelector('meta[name="h5-games-eids"]'))==null?void 0:(c=b.getAttribute("content"))==null?void 0:c.split(",").map(function(d){return Math.floor(Number(d))}).filter(function(d){return!isNaN(d)&&d>0}))||[]};function Tq(a,b){return a instanceof HTMLScriptElement&&b.test(a.src)?0:1}function Uq(a){var b=S.document;if(b.currentScript)return Tq(b.currentScript,a);b=x(b.scripts);for(var c=b.next();!c.done;c=b.next())if(Tq(c.value,a)===0)return 0;return 1};function Vq(a,b){var c={},d={},e={};return e[3]=(c[55]=function(){return a===0},c[23]=function(f){return io(S,Number(f))},c[24]=function(f){return lo(Number(f))},c[61]=function(){return N(b,6)},c[63]=function(){return N(b,6)||O(b,8)===".google.ch"},c),e[4]={},e[5]=(d[6]=function(){return O(b,15)},d),e};function Wq(a){a=a===void 0?C:a;return a.ggeac||(a.ggeac={})};function Xq(a,b){try{var c=a.split(".");a=C;for(var d=0,e;a!=null&&d<c.length;d++)e=a,a=a[c[d]],typeof a==="function"&&(a=e[c[d]]());var f=a;if(typeof f===b)return f}catch(g){}} 
var Yq={},Zq={},$q={},ar={},br=(ar[3]=(Yq[8]=function(a){try{return Ka(a)!=null}catch(b){}},Yq[9]=function(a){try{var b=Ka(a)}catch(c){return}if(a=typeof b==="function")b=b&&b.toString&&b.toString(),a=typeof b==="string"&&b.indexOf("[native code]")!=-1;return a},Yq[10]=function(){return window===window.top},Yq[6]=function(a){return qb(R($h).g(),Number(a))},Yq[27]=function(a){a=Xq(a,"boolean");return a!==void 0?a:void 0},Yq[60]=function(a){try{return!!C.document.querySelector(a)}catch(b){}},Yq[80]= 
function(a){try{return!!C.matchMedia(a).matches}catch(b){}},Yq[69]=function(a){var b=C.document;b=b===void 0?document:b;var c;return!((c=b.featurePolicy)==null||!(t=c.features(),v(t,"includes")).call(t,a))},Yq[70]=function(a){var b=C.document;b=b===void 0?document:b;var c;return!((c=b.featurePolicy)==null||!(t=c.allowedFeatures(),v(t,"includes")).call(t,a))},Yq[79]=function(a){var b=C.navigator;b=b===void 0?navigator:b;try{var c,d;var e=!!((c=b.protectedAudience)==null?0:(d=c.queryFeatureSupport)== 
null?0:d.call(c,a))}catch(f){e=!1}return e},Yq),ar[4]=(Zq[3]=function(){return mf()},Zq[6]=function(a){a=Xq(a,"number");return a!==void 0?a:void 0},Zq),ar[5]=($q[2]=function(){return window.location.href},$q[3]=function(){try{return window.top.location.hash}catch(a){return""}},$q[4]=function(a){a=Xq(a,"string");return a!==void 0?a:void 0},$q[12]=function(a){try{var b=Xq(a,"string");if(b!==void 0)return atob(b)}catch(c){}},$q),ar);function cr(a){var b={};return dr((b[0]=new u.Map,b[1]=new u.Map,b[2]=new u.Map,b),a)} 
function dr(a,b){for(var c=new u.Map,d=x(v(a[1],"entries").call(a[1])),e=d.next();!e.done;e=d.next()){var f=x(e.value);e=f.next().value;f=f.next().value;f=f[f.length-1];c.set(e,f.sb+f.nb*f.ob)}b=x(b);for(d=b.next();!d.done;d=b.next())for(d=d.value,e=L(d,Qn,2,I()),e=x(e),f=e.next();!f.done;f=e.next())if(f=f.value,Rn(f).length!==0){var g=ke(f,8);if(P(f,4)&&!P(f,13)&&!P(f,14)){var h=void 0;g=(h=c.get(P(f,4)))!=null?h:0;h=ke(f,1)*Rn(f).length;c.set(P(f,4),g+h)}h=[];for(var k=0;k<Rn(f).length;k++){var l= 
{sb:g,nb:ke(f,1),ob:Rn(f).length,Jb:k,oa:P(d,1),za:f,R:Rn(f)[k]};h.push(l)}er(a[2],P(f,10),h)||er(a[1],P(f,4),h)||er(a[0],Rn(f)[0].getId(),h)}return a}function er(a,b,c){if(!b)return!1;a.has(b)||a.set(b,[]);var d;(d=a.get(b)).push.apply(d,ka(c));return!0};function fr(a){a=a===void 0?ef():a;return function(b){return gf(b+" + "+a)%1E3}};var gr=[12,13,20];function hr(a,b,c,d){d=d===void 0?{}:d;var e=d.pa===void 0?!1:d.pa;d=d.Mb===void 0?[]:d.Mb;this.da=a;this.L=c;this.u={};this.pa=e;a={};this.g=(a[b]=[],a[4]=[],a);this.i={};this.l={};if(b=Sf())for(b=x(b.split(",")||[]),a=b.next();!a.done;a=b.next())(a=Number(a.value))&&(this.i[a]=!0);d=x(d);for(b=d.next();!b.done;b=d.next())this.i[b.value]=!0} 
function ir(a,b,c,d){var e=[],f;if(f=b!==9)a.u[b]?f=!0:(a.u[b]=!0,f=!1);if(f)return yh(a.L,b,c,e,[],4),e;f=v(gr,"includes").call(gr,b);for(var g=[],h=[],k=x([0,1,2]),l=k.next();!l.done;l=k.next()){l=l.value;for(var n=x(v(a.da[l],"entries").call(a.da[l])),q=n.next();!q.done;q=n.next()){var m=x(q.value);q=m.next().value;m=m.next().value;var p=q,y=m;q=new Xg;m=y.filter(function(Ca){return Ca.oa===b&&a.i[Ca.R.getId()]&&jr(a,Ca)});if(m.length)for(q=x(m),m=q.next();!m.done;m=q.next())h.push(m.value.R); 
else if(!a.pa){m=void 0;l===2?(m=d[1],Td(q,2,Yg,F(p))):m=d[0];var A=void 0,B=void 0;m=(B=(A=m)==null?void 0:A(String(p)))!=null?B:l===2&&P(y[0].za,11)===1?void 0:d[0](String(p));if(m!==void 0){p=x(y);for(y=p.next();!y.done;y=p.next())if(y=y.value,y.oa===b){A=m-y.sb;var Y=y;B=Y.nb;var La=Y.ob;Y=Y.Jb;A<0||A>=B*La||A%La!==Y||!jr(a,y)||(A=P(y.za,13),A!==0&&A!==void 0&&(B=a.l[String(A)],B!==void 0&&B!==y.R.getId()?Ah(a.L,a.l[String(A)],y.R.getId(),A):a.l[String(A)]=y.R.getId()),h.push(y.R))}Wd(q,Yg)!== 
0&&(J(q,3,Mc(m),0),g.push(q))}}}}d=x(h);for(h=d.next();!h.done;h=d.next())h=h.value,k=h.getId(),e.push(k),kr(a,k,f?4:c),Rh(L(h,vg,2,I()),f?Th():[c],a.L,k);yh(a.L,b,c,e,g,1);return e}function kr(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];v(a,"includes").call(a,b)||a.push(b)}function jr(a,b){var c=R(Ch).N,d=sg(K(b.za,lg,3),c);if(!d.success)return Bh(a.L,K(b.za,lg,3),b.oa,b.R.getId(),d),!1;if(!d.value)return!1;c=sg(K(b.R,lg,3),c);return c.success?c.value?!0:!1:(Bh(a.L,K(b.R,lg,3),b.oa,b.R.getId(),c),!1)} 
function lr(a,b){b=b.map(function(c){return new Sn(c)}).filter(function(c){return!v(gr,"includes").call(gr,P(c,1))});a.da=dr(a.da,b)}function mr(a,b){Vh(1,function(c){a.i[c]=!0},b);Vh(2,function(c,d,e){return ir(a,c,d,e)},b);Vh(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);Vh(12,function(c){return void lr(a,c)},b);Vh(16,function(c,d){return void kr(a,c,d)},b)};function nr(){this.g=function(){}}function or(a,b){a.g=Wh(14,b,function(){})}function pr(a){R(nr).g(a)};var qr,rr,sr,tr,ur,vr; 
function wr(a){var b=a.Db;var c=a.N;var d=a.config;var e=a.Za===void 0?Wq():a.Za;var f=a.ab===void 0?0:a.ab;var g=a.L===void 0?new xh((tr=(qr=K(b,Tn,5))==null?void 0:le(qr,2))!=null?tr:0,(ur=(rr=K(b,Tn,5))==null?void 0:le(rr,4))!=null?ur:0,(vr=(sr=K(b,Tn,5))==null?void 0:N(sr,3))!=null?vr:!1):a.L;a=a.da===void 0?cr(L(b,Sn,2,I(vc))):a.da;e.hasOwnProperty("init-done")?(Wh(12,e,function(){})(L(b,Sn,2,I()).map(function(h){return ve(h)})),Wh(13,e,function(){})(L(b,vg,1,I()).map(function(h){return ve(h)}),f), 
c&&Wh(14,e,function(){})(c),xr(f,e)):(mr(new hr(a,f,g,d),e),Xh(e),Yh(e),Zh(e),xr(f,e),Rh(L(b,vg,1,I(vc)),[f],g,void 0,!0),Dh=Dh||!(!d||!d.Ib),pr(br),c&&pr(c))}function xr(a,b){var c=b=b===void 0?Wq():b;ai(R($h),c,a);yr(b,a);a=b;or(R(nr),a);R(rf).C()} 
function yr(a,b){var c=R(rf);c.i=function(d,e){return Wh(5,a,function(){return!1})(d,e,b)};c.u=function(d,e){return Wh(6,a,function(){return 0})(d,e,b)};c.g=function(d,e){return Wh(7,a,function(){return""})(d,e,b)};c.B=function(d,e){return Wh(8,a,function(){return[]})(d,e,b)};c.l=function(d,e){return Wh(17,a,function(){return[]})(d,e,b)};c.C=function(){Wh(15,a,function(){})(b)}};function zr(a,b){var c={};b=(c[0]=fr(uf(b).toString()),c);b=R($h).u(a,b);ei.Ha(1085,Qq(R(Hq),a,b))}function Ar(a,b,c){var d=X(a);if(d.plle)xr(1,Wq(a));else{d.plle=!0;d=K(b,Un,12);var e=N(b,9);wr({Db:d,N:Vq(c,b),config:{pa:e&&!!a.google_disable_experiments,Ib:e},Za:Wq(a),ab:1});if(c=O(b,15))c=Number(c),R($h).l(c);b=Md(b,19,Nc,I());b=x(b);for(c=b.next();!c.done;c=b.next())c=c.value,R($h).i(c);zr(12,a);zr(10,a);a=af(a)||a;Ho(a.location,"google_mc_lab")&&R($h).i(44738307)}};function Br(a){hg(pl,function(b){b.shv=String(a);b.mjsv=ap({Ca:an(),Ia:a});var c=R($h).g(),d=Sq();b.eid=c.concat(d).join(",")})}function Cr(a,b){var c=b==null?void 0:Yd(b,Jo,1);b=(c==null?void 0:O(c,3))||O(a,2);a=(c==null?0:ge(c,4)!=null)?N(c,4):N(a,6);Br(b);Cb($n,Jb);$n=a};var Dr={},Er=(Dr.google_pause_ad_requests=!0,Dr.google_user_agent_client_hint=!0,Dr);function Fr(a){var b=pl;try{if(Cb(a,Hb),a.length>0)return new Wn(JSON.parse(a))}catch(c){b.T(838,c instanceof Error?c:Error(String(c)))}return new Wn};function Gr(a,b){if(N(b,22))return 7;if(N(b,16))return 6;var c,d,e,f=U(wj)?(c=qe(b,Mn,27,Zn))==null?void 0:(d=K(c,Ln,2))==null?void 0:O(d,1):(e=Yn(b))==null?void 0:O(e,4),g,h,k,l;c=(l=U(wj)?(g=qe(b,Mn,27,Zn))==null?void 0:(h=K(g,Ln,2))==null?void 0:P(h,2):(k=Yn(b))==null?void 0:P(k,5))!=null?l:0;f=f===a;switch(c){case 1:return f?9:8;case 2:return f?11:10;case 3:return f?13:12}var n,q;b=(q=(n=Yn(b))==null?void 0:On(n))!=null?q:[];return b.length===0?1:b.length===1?a===b[0]?3:2:v(b,"includes").call(b, 
a)?5:4}function Hr(a,b,c){b.google_loader_used!=="sd"&&(b.abgtt=Gr(a,c))};function Ir(a){var b=window;var c=c===void 0?null:c;Fe(b,"message",function(d){try{var e=JSON.parse(d.data)}catch(f){return}!e||e.googMsgType!=="sc-cnf"||c&&/[:|%3A]javascript\(/i.test(d.data)&&!c(e,d)||a(e,d)})};function Jr(a,b){return b==null?"&"+a+"=null":"&"+a+"="+Math.floor(b)}function Kr(a,b){return"&"+a+"="+b.toFixed(3)}function Lr(){var a=new u.Set,b=Hl();try{if(!b)return a;for(var c=b.pubads(),d=x(c.getSlots()),e=d.next();!e.done;e=d.next())a.add(e.value.getSlotId().getDomId())}catch(f){}return a}function Mr(a){a=a.id;return a!=null&&(Lr().has(a)||v(a,"startsWith").call(a,"google_ads_iframe_")||v(a,"startsWith").call(a,"aswift"))} 
function Nr(a,b,c){if(!a.sources)return!1;switch(Or(a)){case 2:var d=Pr(a);if(d)return c.some(function(f){return Qr(d,f)});break;case 1:var e=Rr(a);if(e)return b.some(function(f){return Qr(e,f)})}return!1}function Or(a){if(!a.sources)return 0;a=a.sources.filter(function(b){return b.previousRect&&b.currentRect});if(a.length>=1){a=a[0];if(a.previousRect.top<a.currentRect.top)return 2;if(a.previousRect.top>a.currentRect.top)return 1}return 0} 
function Rr(a){return Sr(a,function(b){return b.currentRect})}function Pr(a){return Sr(a,function(b){return b.previousRect})}function Sr(a,b){return a.sources.reduce(function(c,d){d=b(d);return c?d&&d.width*d.height!==0?d.top<c.top?d:c:c:d},null)}function Qr(a,b){var c=Math.min(a.right,b.right)-Math.max(a.left,b.left);a=Math.min(a.bottom,b.bottom)-Math.max(a.top,b.top);return c<=0||a<=0?!1:c*a*100/((b.right-b.left)*(b.bottom-b.top))>=50} 
function Tr(){var a={gb:!0};a=a===void 0?{gb:!1}:a;this.l=this.i=this.Z=this.M=this.D=0;this.Ta=this.Qa=Number.NEGATIVE_INFINITY;this.g=[];this.F={};this.Na=0;this.U=Infinity;this.La=this.Oa=this.Pa=this.Ra=this.Wa=this.B=this.Va=this.fa=this.u=0;this.Ma=!1;this.ea=this.G=this.C=0;this.L=null;this.Sa=!1;this.la=function(){};var b=document.querySelector("[data-google-query-id]");this.Ua=b?b.getAttribute("data-google-query-id"):null;this.options=a}var Ur,Vr; 
function Wr(){var a=new Tr;if(U(Qj)){var b=window;if(!b.google_plmetrics&&window.PerformanceObserver){b.google_plmetrics=!0;b=["layout-shift","largest-contentful-paint","first-input","longtask"];a.options.gb&&b.push("event");b=x(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d={type:c,buffered:!0};c==="event"&&(d.durationThreshold=40);Xr(a).observe(d)}Yr(a)}}}function Xr(a){a.L||(a.L=new PerformanceObserver(Zk(640,function(b){Zr(a,b)})));return a.L} 
function Yr(a){var b=Zk(641,function(){var d=document;(d.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[d.visibilityState||d.webkitVisibilityState||d.mozVisibilityState||""]||0)===2&&$r(a)}),c=Zk(641,function(){return void $r(a)});document.addEventListener("visibilitychange",b);document.addEventListener("pagehide",c);a.la=function(){document.removeEventListener("visibilitychange",b);document.removeEventListener("pagehide",c);Xr(a).disconnect()}} 
function $r(a){if(!a.Sa){a.Sa=!0;Xr(a).takeRecords();var b="https://pagead2.googlesyndication.com/pagead/gen_204?id=plmetrics";window.LayoutShift&&(b+=Kr("cls",a.D),b+=Kr("mls",a.M),b+=Jr("nls",a.Z),window.LayoutShiftAttribution&&(b+=Kr("cas",a.B),b+=Jr("nas",a.Ra),b+=Kr("was",a.Wa)),b+=Kr("wls",a.fa),b+=Kr("tls",a.Va));window.LargestContentfulPaint&&(b+=Jr("lcp",a.Pa),b+=Jr("lcps",a.Oa));window.PerformanceEventTiming&&a.Ma&&(b+=Jr("fid",a.La));window.PerformanceLongTaskTiming&&(b+=Jr("cbt",a.C), 
b+=Jr("mbt",a.G),b+=Jr("nlt",a.ea));for(var c=0,d=x(document.getElementsByTagName("iframe")),e=d.next();!e.done;e=d.next())Mr(e.value)&&c++;b+=Jr("nif",c);b+=Jr("ifi",Jf(window));c=R($h).g();b+="&eid="+encodeURIComponent(c.join());b+="&top="+(C===C.top?1:0);b+=a.Ua?"&qqid="+encodeURIComponent(a.Ua):Jr("pvsid",uf(C));window.googletag&&(b+="&gpt=1");c=Math.min(a.g.length-1,Math.floor((a.L?a.Na:performance.interactionCount||0)/50));c>=0&&(c=a.g[c].latency,c>=0&&(b+=Jr("inp",c)));window.fetch(b,{keepalive:!0, 
credentials:"include",redirect:"follow",method:"get",mode:"no-cors"});a.la()}}function as(a,b,c,d){if(!b.hadRecentInput){a.D+=Number(b.value);Number(b.value)>a.M&&(a.M=Number(b.value));a.Z+=1;if(c=Nr(b,c,d))a.B+=b.value,a.Ra++;if(b.startTime-a.Qa>5E3||b.startTime-a.Ta>1E3)a.Qa=b.startTime,a.i=0,a.l=0;a.Ta=b.startTime;a.i+=b.value;c&&(a.l+=b.value);a.i>a.fa&&(a.fa=a.i,a.Wa=a.l,a.Va=b.startTime+b.duration)}} 
function Zr(a,b){var c=Ur!==window.scrollX||Vr!==window.scrollY?[]:bs,d=cs();b=x(b.getEntries());for(var e=b.next(),f={};!e.done;f={P:void 0},e=b.next())switch(f.P=e.value,e=f.P.entryType,e){case "layout-shift":as(a,f.P,c,d);break;case "largest-contentful-paint":f=f.P;a.Pa=Math.floor(f.renderTime||f.loadTime);a.Oa=f.size;break;case "first-input":e=f.P;a.La=Number((e.processingStart-e.startTime).toFixed(3));a.Ma=!0;a.g.some(function(g){return function(h){return v(h,"entries").some(function(k){return g.P.duration=== 
k.duration&&g.P.startTime===k.startTime})}}(f))||ds(a,f.P);break;case "longtask":f=Math.max(0,f.P.duration-50);a.C+=f;a.G=Math.max(a.G,f);a.ea+=1;break;case "event":ds(a,f.P);break;default:Fc(e)}} 
function ds(a,b){es(a,b);var c=a.g[a.g.length-1],d=a.F[b.interactionId];if(d||a.g.length<10||b.duration>c.latency)d?(v(d,"entries").push(b),d.latency=Math.max(d.latency,b.duration)):(b={id:b.interactionId,latency:b.duration,entries:[b]},a.F[b.id]=b,a.g.push(b)),a.g.sort(function(e,f){return f.latency-e.latency}),a.g.splice(10).forEach(function(e){delete a.F[e.id]})}function es(a,b){b.interactionId&&(a.U=Math.min(a.U,b.interactionId),a.u=Math.max(a.u,b.interactionId),a.Na=a.u?(a.u-a.U)/7+1:0)} 
function cs(){var a=v(Array,"from").call(Array,document.getElementsByTagName("iframe")).filter(Mr),b=[].concat(ka(Lr())).map(function(c){return document.getElementById(c)}).filter(function(c){return c!==null});Ur=window.scrollX;Vr=window.scrollY;return bs=[].concat(ka(a),ka(b)).map(function(c){return c.getBoundingClientRect()})}var bs=[];var fs=null,gs=[],hs=new u.Map,is=-1;function js(a){return zk.test(a.className)&&a.dataset.adsbygoogleStatus!=="done"}function ks(a,b,c){a.dataset.adsbygoogleStatus="done";ls(a,b,c)} 
function ls(a,b,c){var d=window;d.google_spfd||(d.google_spfd=wq);var e=b.google_reactive_ads_config;e||wq(a,b,d,c);vp(d,b);if(!ms(a,b,d)){if(e){e=e.page_level_pubvars||{};if(X(S).page_contains_reactive_tag&&!X(S).allow_second_reactive_tag){if(e.pltais){co(!1);return}throw new W("Only one 'enable_page_level_ads' allowed per page.");}X(S).page_contains_reactive_tag=!0;co(e.google_pgb_reactive===7)}b.google_unique_id=If(d);ff(Er,function(f,g){b[g]=b[g]||d[g]});b.google_loader_used!=="sd"&&(b.google_loader_used= 
"aa");b.google_reactive_tag_first=(X(S).first_tag_on_page||0)===1;sl(164,function(){Ap(d,b,a,c)})}} 
function ms(a,b,c){var d=b.google_reactive_ads_config,e=typeof a.className==="string"&&RegExp("(\\W|^)adsbygoogle-noablate(\\W|$)").test(a.className),f=ao(c);if(f&&f.Xa&&b.google_adtest!=="on"&&!e){e=hk(a,c);var g=ck(c).clientHeight;if(!f.Ba||f.Ba&&((g===0?null:e/g)||0)>=f.Ba)return a.className+=" adsbygoogle-ablated-ad-slot",c=c.google_sv_map=c.google_sv_map||{},d=Na(a),b.google_element_uid=d,c[b.google_element_uid]=b,a.setAttribute("google_element_uid",String(d)),f.Rb==="slot"&&(kf(a.getAttribute("width"))!== 
null&&a.setAttribute("width","0"),kf(a.getAttribute("height"))!==null&&a.setAttribute("height","0"),a.style.width="0px",a.style.height="0px"),!0}if((f=df(a,c))&&f.display==="none"&&!(b.google_adtest==="on"||b.google_reactive_ad_format>0||d))return c.document.createComment&&a.appendChild(c.document.createComment("No ad requested because of display:none on the adsbygoogle tag")),!0;a=b.google_pgb_reactive==null||b.google_pgb_reactive===3;return b.google_reactive_ad_format!==1&&b.google_reactive_ad_format!== 
8||!a?!1:(C.console&&C.console.warn("Adsbygoogle tag with data-reactive-ad-format="+String(b.google_reactive_ad_format)+" is deprecated. Check out page-level ads at https://www.google.com/adsense"),!0)}function ns(a){var b=document.getElementsByTagName("INS");for(var c=0,d=b[c];c<b.length;d=b[++c]){var e=d;if(js(e)&&e.dataset.adsbygoogleStatus!=="reserved"&&(!a||d.id===a))return d}return null} 
function os(a,b,c){if(a&&"shift"in a){Mq(function(e){ne(Mg(e),2)||(e=Mg(e),te(e,2))});for(var d=20;a.length>0&&d>0;){try{ps(a.shift(),b,c)}catch(e){setTimeout(function(){throw e;})}--d}}}function qs(){var a=cf("INS");a.className="adsbygoogle";a.className+=" adsbygoogle-noablate";nf(a);return a} 
function rs(a,b){var c={},d=uo(a.google_ad_client,b);ff(bk,function(g,h){a.enable_page_level_ads===!1?c[h]=!1:a.hasOwnProperty(h)?c[h]=a[h]:v(d,"includes").call(d,g)&&(c[h]=!1)});Ma(a.enable_page_level_ads)&&(c.page_level_pubvars=a.enable_page_level_ads);var e=qs();wf.body.appendChild(e);var f={};f=(f.google_reactive_ads_config=c,f.google_ad_client=a.google_ad_client,f);f.google_pause_ad_requests=!!X(S).pause_ad_requests;Hr(ss(a)||bp(S),f,b);ks(e,f,b);Mq(function(g){ne(Mg(g),6)||(g=Mg(g),te(g,6))})} 
function ts(a,b){function c(){rs(a,b)}To(C).wasPlaTagProcessed=!0;var d=C.document;if(d.body||d.readyState==="complete"||d.readyState==="interactive")c();else{var e=Ee(tl(191,c));Fe(d,"DOMContentLoaded",e);C.MutationObserver!=null&&(new C.MutationObserver(function(f,g){d.body&&(e(),g.disconnect())})).observe(d,{childList:!0,subtree:!0})}} 
function ps(a,b,c){var d={};sl(165,function(){us(a,d,b,c)},function(e){e.client=e.client||d.google_ad_client||a.google_ad_client;e.slotname=e.slotname||d.google_ad_slot;e.tag_origin=e.tag_origin||d.google_tag_origin})}function vs(a){delete a.google_checked_head;ff(a,function(b,c){yk[c]||(delete a[c],b=c.replace("google","data").replace(/_/g,"-"),C.console.warn("AdSense head tag doesn't support "+b+" attribute."))})} 
function ws(a,b){var c=S.document.querySelector('script[src*="/pagead/js/adsbygoogle.js?client="]:not([data-checked-head])')||S.document.querySelector('script[src*="/pagead/js/adsbygoogle.js"][data-ad-client]:not([data-checked-head])');if(c){c.setAttribute("data-checked-head","true");var d=X(window);if(d.head_tag_slot_vars)xs(c);else{Mq(function(h){h=Mg(h);J(h,7,Gc(!0),!1)});var e={};uq(c,e);vs(e);var f=Me(e);d.head_tag_slot_vars=f;c={google_ad_client:e.google_ad_client,enable_page_level_ads:e};e.google_ad_intent_query&& 
(c.enable_ad_intent_display_ads=!0);e.google_overlays==="bottom"&&(d={},c.overlays=(d.bottom=!0,d));delete e.google_overlays;S.adsbygoogle||(S.adsbygoogle=[]);d=S.adsbygoogle;d.loaded?d.push(c):d.splice&&d.splice(0,0,c);var g;e.google_adbreak_test||((g=Xn(b))==null?0:N(g,3))?ys(f,a):Ir(function(){ys(f,a)})}}} 
function xs(a){var b=X(window).head_tag_slot_vars,c=a.getAttribute("src")||"";if((a=We(c,"client")||a.getAttribute("data-ad-client")||"")&&a!==b.google_ad_client)throw new W("Warning: Do not add multiple property codes with AdSense tag to avoid seeing unexpected behavior. These codes were found on the page "+a+", "+b.google_ad_client);} 
function zs(a){if(typeof a==="object"&&a!=null){if(typeof a.type==="string")return 2;if(typeof a.sound==="string"||typeof a.preloadAdBreaks==="string"||U(Rj)&&typeof a.h5AdsConfig==="object")return 3}return 0} 
function us(a,b,c,d){if(a==null)throw new W("push() called with no parameters.");Mq(function(g){ne(Mg(g),3)||(g=Mg(g),te(g,3))});Jd(d,Nn,14)&&As(a,On(Yn(d)),O(d,2));var e=zs(a);if(e!==0)if(d=eo(),d.first_slotcar_request_processing_time||(d.first_slotcar_request_processing_time=Date.now(),d.adsbygoogle_execution_start_time=Ua),fs==null)Bs(a),gs.push(a);else if(e===3){var f=fs;sl(787,function(){f.handleAdConfig(a)})}else vl(730,fs.handleAdBreak(a));else{Ua=(new Date).getTime();wp(c,d,ss(a));Cs();a:{if(!a.enable_ad_intent_display_ads&& 
a.enable_page_level_ads!=void 0){if(typeof a.google_ad_client==="string"){e=!0;break a}throw new W("'google_ad_client' is missing from the tag config.");}e=!1}if(e)Mq(function(g){ne(Mg(g),4)||(g=Mg(g),te(g,4))}),Ds(a,d);else if((e=a.params)&&ff(e,function(g,h){b[h]=g}),b.google_ad_output==="js")console.warn("Ads with google_ad_output='js' have been deprecated and no longer work. Contact your AdSense account manager or switch to standard AdSense ads.");else{Hr(ss(a)||bp(S),b,d);e=Es(b,a);uq(e,b);c= 
X(C).head_tag_slot_vars||{};ff(c,function(g,h){b.hasOwnProperty(h)||(b[h]=g)});if(e.hasAttribute("data-require-head")&&!X(C).head_tag_slot_vars)throw new W("AdSense head tag is missing. AdSense body tags don't work without the head tag. You can copy the head tag from your account on https://adsense.com.");if(!b.google_ad_client)throw new W("Ad client is missing from the slot.");if(c=(X(S).first_tag_on_page||0)===0&&Vo(b))Mq(function(g){ne(Mg(g),5)||(g=Mg(g),te(g,5))}),Fs(c);(X(S).first_tag_on_page|| 
0)===0&&(X(S).first_tag_on_page=2);b.google_pause_ad_requests=!!X(S).pause_ad_requests;ks(e,b,d)}}}var Gs=!1;function As(a,b,c){Gs||(Gs=!0,a=ss(a)||bp(S),ul("predictive_abg",{a_c:a,p_c:b.join(),b_v:c},.01))}function ss(a){return a.google_ad_client?a.google_ad_client:(a=a.params)&&a.google_ad_client?a.google_ad_client:""}function Cs(){if(U(uj)){var a=ao(S);a&&a.Xa||bo(S)}}function Fs(a){vf(function(){To(C).wasPlaTagProcessed||C.adsbygoogle&&C.adsbygoogle.push(a)})} 
function Ds(a,b){(X(S).first_tag_on_page||0)===0&&(X(S).first_tag_on_page=1);if(a.tag_partner){var c=a.tag_partner,d=X(C);d.tag_partners=d.tag_partners||[];d.tag_partners.push(c)}Wo(a,b);ts(a,b)} 
function Es(a,b){if(U(oj)&&a.google_ad_format==="rewarded"){if(a.google_ad_slot==null)throw new W("Rewarded format does not have valid ad slot");if(a.google_ad_loaded_callback==null)throw new W("Rewarded format does not have ad loaded callback");a.google_reactive_ad_format=11;a.google_wrap_fullscreen_ad=!0;a.google_video_play_muted=!1;a.google_acr=a.google_ad_loaded_callback;delete a.google_ad_loaded_callback;delete a.google_ad_format}var c=!!a.google_wrap_fullscreen_ad;if(c)b=qs(),b.dataset.adsbygoogleStatus= 
"reserved",wf.documentElement.appendChild(b);else if(b=b.element){if(!js(b)&&(b.id?b=ns(b.id):b=null,!b))throw new W("'element' has already been filled.");if(!("innerHTML"in b))throw new W("'element' is not a good DOM element.");}else if(b=ns(),!b)throw new W("All 'ins' elements in the DOM with class=adsbygoogle already have ads in them.");if(c){c=S;try{var d=(c||window).document,e=d.compatMode=="CSS1Compat"?d.documentElement:d.body;var f=(new Df(e.clientWidth,e.clientHeight)).round()}catch(g){f= 
new Df(-12245933,-12245933)}a.google_ad_height=f.height;a.google_ad_width=f.width;a.fsapi=!0}return b}function Hs(a){a={value:""+N(a,16),host_v:""+N(a,22),frequency:.01};ul("new_abg_tag",a,.01)}function Is(a){cm().S[em(26)]=!!Number(a)} 
function Js(a){Number(a)?X(S).pause_ad_requests=!0:(X(S).pause_ad_requests=!1,a=function(){if(!X(S).pause_ad_requests){var b=b===void 0?{}:b;if(typeof window.CustomEvent==="function")var c=new CustomEvent("adsbygoogle-pub-unpause-ad-requests-event",b);else c=document.createEvent("CustomEvent"),c.initCustomEvent("adsbygoogle-pub-unpause-ad-requests-event",!!b.bubbles,!!b.cancelable,b.detail);S.dispatchEvent(c)}},C.setTimeout(a,0),C.setTimeout(a,1E3))} 
function Ks(a){a&&a.call&&typeof a==="function"&&window.setTimeout(a,0)}function ys(a,b){var c=v(Object,"assign").call(Object,{},Mo()),d=Vj(Pj);(t=[0,1],v(t,"includes")).call(t,d)&&(c.osttc=""+d);b=Qo(Ye(b.Qb,new u.Map(v(Object,"entries").call(Object,c)))).then(function(e){fs==null&&(e.init(a),fs=e,Ls(e))});vl(723,b);v(b,"finally").call(b,function(){gs.length=0;ul("slotcar",{event:"api_ld",time:Date.now()-Ua,time_pr:Date.now()-is});Rq(R(Hq),Qg(23))})} 
function Ls(a){for(var b=x(hs),c=b.next();!c.done;c=b.next()){var d=x(c.value);c=d.next().value;d=d.next().value;d!==-1&&(C.clearTimeout(d),hs.delete(c))}b={};for(c=0;c<gs.length;b={Ja:void 0,Aa:void 0},c++)hs.has(c)||(b.Aa=gs[c],b.Ja=zs(b.Aa),sl(723,function(e){return function(){e.Ja===3?a.handleAdConfig(e.Aa):e.Ja===2&&vl(730,a.handleAdBreakBeforeReady(e.Aa))}}(b)))} 
function Bs(a){var b=gs.length;if(zs(a)===2&&a.type==="preroll"&&a.adBreakDone!=null){var c=a.adBreakDone;is===-1&&(is=Date.now());var d=C.setTimeout(function(){try{c({breakType:"preroll",breakName:a.name,breakFormat:"preroll",breakStatus:"timeout"}),hs.set(b,-1),ul("slotcar",{event:"pr_to",source:"adsbygoogle"}),Rq(R(Hq),Qg(22))}catch(e){console.error("[Ad Placement API] adBreakDone callback threw an error:",e instanceof Error?e:Error(String(e)))}},Vj(Sj)*1E3);hs.set(b,d)}};var Ms=ia(["data:text/javascript,//show_ads_impl_preview.js"]),Ns=ia(["https://pagead2.googlesyndication.com/pagead/managed/js/adsense/","/slotcar_library",".js"]),Os=ia(["https://pagead2.googlesyndication.com/pagead/managed/js/adsense/","/show_ads_impl",".js"]),Ps=ia(["https://pagead2.googlesyndication.com/pagead/managed/js/adsense/","/show_ads_impl_with_ama",".js"]);(function(a,b,c,d){d=d===void 0?function(){}:d;pl.hb=wl;sl(166,function(){var e=new wh(2,a);try{Bc(function(m){var p=new nh;var y=new mh;try{var A=uf(window);se(y,1,A)}catch(Da){}try{var B=R($h).g();Sd(y,2,B,Lc)}catch(Da){}try{J(y,3,Yc(window.document.URL),"")}catch(Da){}p=ae(p,2,y);y=new lh;y=J(y,1,F(1191),0);try{var Y=Hb(m==null?void 0:m.name)?m.name:"Unknown error";J(y,2,Yc(Y),"")}catch(Da){}try{var La=Hb(m==null?void 0:m.message)?m.message:"Caught "+m;J(y,3,Yc(La),"")}catch(Da){}try{var Ca=Hb(m== 
null?void 0:m.stack)?m.stack:Error().stack;Ca&&Sd(y,4,Ca.split(/\n\s*/),Xc)}catch(Da){}m=be(p,1,oh,y);Y=new kh;try{J(Y,1,Yc(an()),"")}catch(Da){}be(m,6,ph,Y);se(m,5,1);e.Z(m)})}catch(m){}var f=Fr(b),g=Lo(f);Cr(f,g);d();Cf(16,[1,ve(f)]);var h=Ff(Ef(S))||S,k=ap({Ca:a,Ia:O(f,2)}),l=c(k,f);k=S.document.currentScript===null?1:Uq(l.Sb);Ar(h,f,k);Mq(function(m){var p=je(m,1)+1;J(m,1,Mc(p),0);S.top===S&&(p=je(m,2)+1,J(m,2,Mc(p),0));ne(Mg(m),1)||(m=Mg(m),te(m,1))});vl(1086,Nq(k===0));if(!fb()||Xa(kb(),11)>= 
0){rl(U(Uj));Dp();xn(Xd(f,Vn,26));try{Wr()}catch(m){}Cp();ws(l,f);h=window;k=h.adsbygoogle;if(!k||!k.loaded){Hs(f);g={push:function(m){ps(m,l,f)},loaded:!0,pageState:we(g)};try{Object.defineProperty(g,"requestNonPersonalizedAds",{set:Is}),Object.defineProperty(g,"pauseAdRequests",{set:Js}),Object.defineProperty(g,"onload",{set:Ks})}catch(m){}if(k)for(var n=x(["requestNonPersonalizedAds","pauseAdRequests"]),q=n.next();!q.done;q=n.next())q=q.value,k[q]!==void 0&&(g[q]=k[q]);os(k,l,f);h.adsbygoogle= 
g;k&&(g.onload=k.onload)}}})})(an(),typeof sttc==="undefined"?void 0:sttc,function(a,b){b=je(b,1)>2012?"_fy"+je(b,1):"";Xe(Ms);return{Qb:Xe(Ns,a,b),Ob:Xe(Os,a,b),Nb:Xe(Ps,a,b),Sb:/^(?:https?:)?\/\/(?:pagead2\.googlesyndication\.com|securepubads\.g\.doubleclick\.net)\/pagead\/(?:js\/)?(?:show_ads|adsbygoogle)\.js(?:[?#].*)?$/}}); 
}).call(this,"[2012,\"r20241112\",\"r20190131\",1,null,1,null,\".google.de\",null,null,null,[[[684125059,null,null,[1]],[null,619278254,null,[null,10]],[677914771,null,null,[1]],[676894296,null,null,[1]],[1371,null,null,[1]],[1379,null,null,[1]],[null,1130,null,[null,100]],[null,1340,null,[null,0.2]],[null,1338,null,[null,0.3]],[null,1336,null,[null,1.2]],[null,1339,null,[null,0.3]],[null,1032,null,[null,200],[[[12,null,null,null,4,null,\"Android\",[\"navigator.userAgent\"]],[null,500]]]],[1370,null,null,[1]],[null,1224,null,[null,0.01]],[654220660,null,null,[1]],[null,1346,null,[null,6]],[null,1347,null,[null,3]],[null,1343,null,[null,300]],[null,1263,null,[null,-1]],[null,1323,null,[null,-1]],[null,1265,null,[null,-1]],[null,1264,null,[null,-1]],[1267,null,null,[1]],[null,66,null,[null,-1]],[null,65,null,[null,-1]],[1241,null,null,[1]],[1300,null,null,[1]],[null,null,null,[null,null,null,[\"en\",\"de\",\"fr\",\"es\",\"ja\"]],null,1273],[null,null,null,[null,null,null,[\"44786015\",\"44786016\"]],null,1261],[1309,null,null,[1]],[1318,null,null,[1]],[1368,null,null,[1]],[null,1364,null,[null,300]],[null,null,null,[null,null,null,[\"1\",\"2\",\"3\",\"4\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\",\"20\",\"21\",\"24\",\"29\",\"30\",\"34\"]],null,null,null,627094447],[null,null,622128249,[null,null,\"#FFFFFF\"]],[null,null,622128250,[null,null,\"#1A73E8\"]],[null,null,null,[null,null,null,[\"33\",\"38\"]],null,null,null,641845510],[686023322,null,null,[1]],[622128248,null,null,[]],[681379804,null,null,[1]],[676863674,null,null,[1]],[null,null,589752731,[null,null,\"#FFFFFF\"]],[null,null,589752730,[null,null,\"#1A73E8\"]],[null,null,null,[null,null,null,[\"29_18\",\"30_19\"]],null,null,null,635821288],[null,null,null,[null,null,null,[\"29_5\",\"30_6\"]],null,null,null,636146137],[636570127,null,null,[1]],[null,null,null,[null,null,null,[\"1\",\"2\",\"4\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\",\"20\",\"21\",\"24\",\"29\",\"30\",\"34\"]],null,null,null,627094446],[null,652486359,null,[null,1]],[null,626062006,null,[null,670]],[null,666400580,null,[null,22]],[679043940,null,null,[1]],[null,null,null,[null,null,null,[\"4\"]],null,null,null,683929765],[655991266,null,null,[1]],[686111728,null,null,[1]],[null,618163195,null,[null,15000]],[null,624950166,null,[null,15000]],[null,623405755,null,[null,300]],[null,508040914,null,[null,500]],[null,547455356,null,[null,49]],[null,650548030,null,[null,2]],[null,650548032,null,[null,300]],[null,650548031,null,[null,1]],[null,655966487,null,[null,300]],[null,655966486,null,[null,250]],[null,469675170,null,[null,60000]],[null,684147713,null,[null,-1]],[null,684147711,null,[null,-1]],[null,684147712,null,[null,-1]],[678806782,null,null,[1]],[570863962,null,null,[1]],[null,null,570879859,[null,null,\"control_1\\\\.\\\\d\"]],[null,570863961,null,[null,50]],[570879858,null,null,[1]],[null,1085,null,[null,5]],[null,63,null,[null,30]],[null,1080,null,[null,5]],[10017,null,null,[1]],[null,1027,null,[null,10]],[null,57,null,[null,120]],[null,1079,null,[null,5]],[null,1050,null,[null,30]],[null,58,null,[null,120]],[10005,null,null,[1]],[10015,null,null,[1]],[555237685,null,null,[1]],[45460956,null,null,[]],[45414947,null,null,[1]],[null,472785970,null,[null,500]],[null,550718588,null,[null,250]],[null,624290870,null,[null,50]],[null,null,null,[null,null,null,[\"AlK2UR5SkAlj8jjdEc9p3F3xuFYlF6LYjAML3EOqw1g26eCwWPjdmecULvBH5MVPoqKYrOfPhYVL71xAXI1IBQoAAAB8eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==\",\"Amm8\/NmvvQfhwCib6I7ZsmUxiSCfOxWxHayJwyU1r3gRIItzr7bNQid6O8ZYaE1GSQTa69WwhPC9flq\/oYkRBwsAAACCeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==\",\"A9wSqI5i0iwGdf6L1CERNdmsTPgVu44ewj8QxTBYgsv1LCPUVF7YmWOvTappqB1139jAymxUW\/RO8zmMqo4zlAAAAACNeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9\",\"A+d7vJfYtay4OUbdtRPZA3y7bKQLsxaMEPmxgfhBGqKXNrdkCQeJlUwqa6EBbSfjwFtJWTrWIioXeMW+y8bWAgQAAACTeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9\"]],null,1934],[485990406,null,null,[]]],[[12,[[10,[[31061690],[31061691,[[83,null,null,[1]],[84,null,null,[1]]]]],null,59],[40,[[95340252],[95340253,[[662101537,null,null,[1]]]]],[4,null,9,null,null,null,null,[\"LayoutShift\"]],71,null,null,null,800,null,null,null,null,null,5],[40,[[95340254],[95340255,[[662101539,null,null,[1]]]]],[4,null,9,null,null,null,null,[\"LayoutShift\"]],71,null,null,null,800,null,null,null,null,null,5]]],[13,[[500,[[31061692],[31061693,[[77,null,null,[1]],[78,null,null,[1]],[85,null,null,[1]],[80,null,null,[1]],[76,null,null,[1]]]]],[4,null,6,null,null,null,null,[\"31061691\"]]]]],[10,[[50,[[31067422],[31067423,[[null,1032,null,[]]]]],[3,[[4,null,8,null,null,null,null,[\"gmaSdk.getQueryInfo\"]],[4,null,8,null,null,null,null,[\"webkit.messageHandlers.getGmaQueryInfo.postMessage\"]],[4,null,8,null,null,null,null,[\"webkit.messageHandlers.getGmaSig.postMessage\"]]]],69],[10,[[31083552],[44776368]],[3,[[4,null,8,null,null,null,null,[\"gmaSdk.getQueryInfo\"]],[4,null,8,null,null,null,null,[\"webkit.messageHandlers.getGmaQueryInfo.postMessage\"]],[4,null,8,null,null,null,null,[\"webkit.messageHandlers.getGmaSig.postMessage\"]]]],69],[10,[[31084127],[31084128]]],[50,[[31087700],[31087701,[[680702595,null,null,[1]]]]]],[10,[[31088038],[31088039,[[675298507,null,null,[1]]]]]],[50,[[31088128],[31088129,[[682658313,null,null,[1]]]]]],[50,[[31088580],[31088581,[[687716473,null,null,[1]]]]]],[50,[[31088669],[31088670,[[687747818,null,null,[1]]]]]],[50,[[31088727],[31088728,[[null,684147713,null,[]],[null,684147711,null,[]],[null,684147712,null,[]]]],[31088729,[[null,684147713,null,[null,1]],[null,684147711,null,[null,1]],[null,684147712,null,[null,1]]]]]],[200,[[31088770],[31088771,[[679043940,null,null,[]]]]]],[1000,[[31088813,[[null,null,14,[null,null,\"31088813\"]]],[6,null,null,null,6,null,\"31088813\"]]],[4,null,55],63,null,null,null,null,null,null,null,null,2],[1000,[[31088814,[[null,null,14,[null,null,\"31088814\"]]],[6,null,null,null,6,null,\"31088814\"]]],[4,null,55],63,null,null,null,null,null,null,null,null,2],[1000,[[31088893,[[null,null,14,[null,null,\"31088893\"]]],[6,null,null,null,6,null,\"31088893\"]]],[4,null,55],63,null,null,null,null,null,null,null,null,2],[1000,[[31088894,[[null,null,14,[null,null,\"31088894\"]]],[6,null,null,null,6,null,\"31088894\"]]],[4,null,55],63,null,null,null,null,null,null,null,null,2],[100,[[31088895],[31088896,[[689318127,null,null,[1]]]]]],[100,[[31088897],[31088898,[[688544172,null,null,[1]]]]]],[1000,[[31088922,[[null,null,14,[null,null,\"31088922\"]]],[6,null,null,null,6,null,\"31088922\"]]],[4,null,55],63,null,null,null,null,null,null,null,null,2],[1000,[[31088923,[[null,null,14,[null,null,\"31088923\"]]],[6,null,null,null,6,null,\"31088923\"]]],[4,null,55],63,null,null,null,null,null,null,null,null,2],[10,[[31088954],[31088955,[[695833973,null,null,[1]]]]]],[10,[[31088956],[31088957,[[695833974,null,null,[1]]]]]],[10,[[31088958],[31088959,[[695833975,null,null,[1]]]]]],[27,[[31088960],[31088961,[[695833976,null,null,[1]]]]]],[1000,[[31088996,[[null,null,14,[null,null,\"31088996\"]]],[6,null,null,null,6,null,\"31088996\"]]],[4,null,55],63,null,null,null,null,null,null,null,null,2],[1000,[[31088997,[[null,null,14,[null,null,\"31088997\"]]],[6,null,null,null,6,null,\"31088997\"]]],[4,null,55],63,null,null,null,null,null,null,null,null,2],[1,[[42531513],[42531514,[[316,null,null,[1]]]]]],[1,[[42531644],[42531645,[[368,null,null,[1]]]],[42531646,[[369,null,null,[1]],[368,null,null,[1]]]]]],[50,[[42531705],[42531706]]],[1,[[42532242],[42532243,[[1256,null,null,[1]],[290,null,null,[1]]]]]],[50,[[42532523],[42532524,[[1300,null,null,[]]]]]],[null,[[42532525],[42532526]]],[1,[[44719338],[44719339,[[334,null,null,[1]],[null,54,null,[null,100]],[null,66,null,[null,10]],[null,65,null,[null,1000]]]]]],[1,[[44801778],[44801779,[[506914611,null,null,[1]]]]],[4,null,55]],[10,[[95330276],[95330278,[[null,1336,null,[null,1]]]],[95330279,[[null,1336,null,[null,0.8]]]],[95332928,[[null,1336,null,[null,0.5]]]]]],[50,[[95331832],[95331833,[[1342,null,null,[1]]]]]],[10,[[95332584],[95332585,[[null,1343,null,[null,600]]]],[95332586,[[null,1343,null,[null,900]]]],[95332587,[[null,1343,null,[null,1200]]]]]],[10,[[95332589],[95332590,[[1344,null,null,[1]]]]]],[10,[[95332923],[95332924,[[null,1338,null,[null,0.8]]]],[95332925,[[null,1339,null,[null,0.8]]]],[95332926,[[null,1340,null,[null,0.8]]]],[95332927,[[null,1340,null,[null,0.8]],[null,1338,null,[null,0.8]],[null,1339,null,[null,0.8]]]]]],[10,[[95333409],[95333410,[[null,1346,null,[null,-1]],[null,1347,null,[null,-1]]]],[95333411,[[null,1346,null,[null,3]],[null,1347,null,[null,1]]]],[95333412,[[null,1346,null,[null,8]],[null,1347,null,[null,5]]]]]],[399,[[95334516,[[null,null,null,[null,null,null,[\"95334518\"]],null,null,null,630330362]]],[95334517,[[626390500,null,null,[1]],[null,null,null,[null,null,null,[\"95334519\"]],null,null,null,630330362]]]],[2,[[4,null,55],[12,null,null,null,2,null,\"bjsvp14\\\\.space\/|bjsvp15\\\\.space\/|buzzfun\\\\.me\/|buzzsight\\\\.co\/|diggfun\\\\.co\/|games2kings\\\\.com\/|indiaimagine\\\\.com\/|postfunny\\\\.com\/|testname\\\\.me\/|yashbharat\\\\.com\/\"]]]],[90,[[95335245,[[null,null,null,[null,null,null,[\"95335250\"]],null,null,null,630330362]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]],[95335246,[[626062008,null,null,[1]],[null,null,null,[null,null,null,[\"95335251\"]],null,null,null,630330362]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]],[95335247,[[626062008,null,null,[1]],[626062007,null,null,[1]],[null,null,null,[null,null,null,[\"95335252\"]],null,null,null,630330362],[null,null,null,[null,null,null,[\"95335247\",\"95335252\"]],null,null,null,631402549]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]]],[4,null,55],123],[1,[[95335248,[[null,null,null,[null,null,null,[\"95335253\"]],null,null,null,630330362]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]],[95344244,[[626062008,null,null,[1]],[626062007,null,null,[1]],[null,null,null,[null,null,null,[\"95344245\"]],null,null,null,630330362],[null,null,null,[null,null,null,[\"95344244\",\"95344245\"]],null,null,null,631402549]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]],[95345106,[[626062008,null,null,[1]],[626062007,null,null,[1]],[null,null,null,[null,null,null,[\"95345107\"]],null,null,null,630330362],[null,null,null,[null,null,null,[\"95345106\",\"95345107\"]],null,null,null,631402549]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]],[95346174,[[626062008,null,null,[1]],[626062007,null,null,[1]],[null,null,null,[null,null,null,[\"95346175\"]],null,null,null,630330362],[null,null,null,[null,null,null,[\"95346174\",\"95346175\"]],null,null,null,631402549]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]],[95346271,[[626062008,null,null,[1]],[626062007,null,null,[1]],[null,null,null,[null,null,null,[\"95346272\"]],null,null,null,630330362],[null,null,null,[null,null,null,[\"95346271\",\"95346272\"]],null,null,null,631402549]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]],[95347169,[[626062008,null,null,[1]],[626062007,null,null,[1]],[null,null,null,[null,null,null,[\"95346175\"]],null,null,null,630330362],[null,null,null,[null,null,null,[\"95347169\",\"95346175\"]],null,null,null,631402549]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]],[95347580,[[626062008,null,null,[1]],[626062007,null,null,[1]],[null,null,null,[null,null,null,[\"95347533\"]],null,null,null,630330362],[null,null,null,[null,null,null,[\"95347580\",\"95347533\"]],null,null,null,631402549]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]],[95347726,[[626062008,null,null,[1]],[626062007,null,null,[1]],[null,null,null,[null,null,null,[\"95347727\"]],null,null,null,630330362],[null,null,null,[null,null,null,[\"95347726\",\"95347727\"]],null,null,null,631402549]],[1,[[12,null,null,null,2,null,\"about\\\\:srcdoc\"]]]]],[4,null,55],123],[10,[[95337195],[95337196,[[1354,null,null,[1]]]]],null,126],[10,[[95337197,null,[12,null,null,null,2,null,\".+\\\\.h5games.usercontent.goog.*\"]],[95337198,[[1354,null,null,[1]]],[12,null,null,null,2,null,\".+\\\\.h5games.usercontent.goog.*\"]]],null,126],[50,[[95341243],[95341244,[[45650867,null,null,[1]]]]],null,130,null,null,null,null,null,null,null,null,null,7],[100,[[95343681],[95343682,[[1372,null,null,[1]]]]]],[250,[[95344187,[[null,null,null,[null,null,null,[\"95344191\"]],null,null,null,630330362]]],[95344188,[[643258050,null,null,[1]],[null,null,null,[null,null,null,[\"95344192\"]],null,null,null,630330362]]],[95344189,[[null,643258048,null,[null,0.20295]],[null,643258049,null,[null,0.24446]],[643258050,null,null,[1]],[null,null,null,[null,null,null,[\"95344193\"]],null,null,null,630330362]]],[95344190,[[null,643258048,null,[null,0.3221]],[null,643258049,null,[null,0.33938]],[643258050,null,null,[1]],[null,null,null,[null,null,null,[\"95344194\"]],null,null,null,630330362]]]],[4,null,55]],[50,[[95344787,[[null,null,null,[null,null,null,[\"95344792\"]],null,null,null,630330362]]],[95344788,[[566279275,null,null,[1]],[622128248,null,null,[1]],[null,null,null,[null,null,null,[\"95344793\"]],null,null,null,630330362]]],[95344789,[[622128248,null,null,[1]],[566279276,null,null,[1]],[null,null,null,[null,null,null,[\"95344794\"]],null,null,null,630330362]]],[95344790,[[566279275,null,null,[1]],[566279276,null,null,[1]],[null,null,null,[null,null,null,[\"95344795\"]],null,null,null,630330362]]],[95344791,[[566279275,null,null,[1]],[622128248,null,null,[1]],[566279276,null,null,[1]],[null,null,null,[null,null,null,[\"95344796\"]],null,null,null,630330362]]]],[4,null,55]],[1,[[95345037],[95345038,[[1377,null,null,[1]]]]],[4,null,55]],[10,[[95347444,[[null,null,null,[null,null,null,[\"95347446\"]],null,null,null,630330362]]],[95347445,[[null,null,null,[null,null,null,[\"3\"]],null,null,null,683929765],[null,null,null,[null,null,null,[\"95347447\"]],null,null,null,630330362]]]],[4,null,55]],[1,[[95347863],[95347864,[[1349,null,null,[1]],[null,1366,null,[null,86400]],[null,1365,null,[null,604800]]]],[95347865,[[1367,null,null,[1]],[1349,null,null,[1]],[null,1366,null,[null,86400]],[null,1365,null,[null,604800]]]]]]]],[17,[[10,[[31084487],[31084488]],null,null,null,null,32,null,null,142,1],[500,[[31088457],[31088458]],null,null,null,null,39,null,null,189,1],[null,[[95345471,[[null,null,null,[null,null,null,[\"95345473\"]],null,null,null,630330362]]],[95345472,[[682250248,null,null,[1]],[null,null,null,[null,null,null,[\"95345474\"]],null,null,null,630330362]]]],[4,null,55],null,null,null,null,null,null,187],[500,[[95345966,[[null,null,null,[null,null,null,[\"95345968\"]],null,null,null,630330362]]],[95345967,[[686891043,null,null,[1]],[null,null,null,[null,null,null,[\"95345969\"]],null,null,null,630330362]]]],[4,null,55],null,null,null,null,null,null,186],[100,[[95347432,[[null,null,null,[null,null,null,[\"95347434\"]],null,null,null,630330362]]],[95347433,[[636570127,null,null,[]],[null,null,null,[null,null,null,[\"95347435\"]],null,null,null,630330362]]]],[4,null,55],null,null,null,null,null,null,190,1],[100,[[95347652,[[null,null,null,[null,null,null,[\"95347655\"]],null,null,null,630330362]]],[95347653,[[null,652486359,null,[null,2]],[null,687270738,null,[null,200]],[null,null,null,[null,null,null,[\"95347656\"]],null,null,null,630330362]]],[95347654,[[null,652486359,null,[null,3]],[null,688905693,null,[null,2]],[null,687270738,null,[null,500]],[null,null,null,[null,null,null,[\"95347657\"]],null,null,null,630330362]]]],[4,null,55],null,null,null,null,null,null,188,1]]],[11,[[1000,[[31087702,null,[4,null,6,null,null,null,null,[\"31087700\"]]]],[4,null,61],132,null,null,null,null,null,null,null,null,29],[1000,[[31087703,null,[4,null,6,null,null,null,null,[\"31087701\"]]]],[4,null,61],132,null,null,null,null,null,null,null,null,29],[50,[[31088249],[31088250]],null,122,null,null,null,null,null,null,null,null,null,4]]]],null,null,[null,1000,1,1000]],[1,[],null,null,null,null,null,null,\"ca-pub-3729695991894514\"],null,\"31088814\",1,null,1131393124,null,null,null,null,null,null,null,[1,0,0]]");

} catch (e) {
console.error('Error in file:https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3729695991894514; Error:' + e.message);
};
try {
/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});

} catch (e) {
console.error('Error in file:/media/vendor/jquery/js/jquery.min.js?3.7.1; Error:' + e.message);
};
try {
var $=jQuery.noConflict();

} catch (e) {
console.error('Error in file:/media/legacy/js/jquery-noconflict.min.js?647005fc12b79b3ca2bb30c059899d5994e3e34d; Error:' + e.message);
};
try {
window.lazySizesConfig = window.lazySizesConfig || {};

window.lazySizesConfig.lazyClass = 'jspeed-img-lazyload';
window.lazySizesConfig.preloadClass = 'jspeed-img-prelazyload';
window.lazySizesConfig.loadingClass = 'jspeed-img-lazyloading';
window.lazySizesConfig.loadedClass = 'jspeed-img-lazyloaded';
window.lazySizesConfig.loadMode = 1;



} catch (e) {
console.error('Error in file:/media/plg_jspeed/js/lazyload_loader.js?9e850f5d98e770647ae0b63ac52b2deb; Error:' + e.message);
};
try {
!function(t,e){var i=function(t,e){"use strict";if(!e.getElementsByClassName)return;var i,n,a=e.documentElement,r=t.Date,s=t.HTMLPictureElement,o=t.addEventListener,l=t.setTimeout,d=t.requestAnimationFrame||l,u=t.requestIdleCallback,c=/^picture$/i,f=["load","error","lazyincluded","_lazyloaded"],g={},m=Array.prototype.forEach,v=function(t,e){return g[e]||(g[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),g[e].test(t.getAttribute("class")||"")&&g[e]},z=function(t,e){v(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},y=function(t,e){var i;(i=v(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(i," "))},h=function(t,e,i){var n=i?"addEventListener":"removeEventListener";i&&h(t,e),f.forEach(function(i){t[n](i,e)})},b=function(t,n,a,r,s){var o=e.createEvent("Event");return a||(a={}),a.instance=i,o.initEvent(n,!r,!s),o.detail=a,t.dispatchEvent(o),o},A=function(e,i){var a;!s&&(a=t.picturefill||n.pf)?(i&&i.src&&!e.getAttribute("srcset")&&e.setAttribute("srcset",i.src),a({reevaluate:!0,elements:[e]})):i&&i.src&&(e.src=i.src)},p=function(t,e){return(getComputedStyle(t,null)||{})[e]},C=function(t,e,i){for(i=i||t.offsetWidth;i<n.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i},E=(L=[],W=[],x=L,T=function(){var t=x;for(x=L.length?W:L,N=!0,_=!1;t.length;)t.shift()();N=!1},B=function(t,i){N&&!i?t.apply(this,arguments):(x.push(t),_||(_=!0,(e.hidden?l:d)(T)))},B._lsFlush=T,B),w=function(t,e){return e?function(){E(t)}:function(){var e=this,i=arguments;E(function(){t.apply(e,i)})}},M=function(t){var e,i,n=function(){e=null,t()},a=function(){var t=r.now()-i;t<99?l(a,99-t):(u||n)(n)};return function(){i=r.now(),e||(e=l(a,99))}};var N,_,L,W,x,T,B;!function(){var e,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in n=t.lazySizesConfig||t.lazysizesConfig||{},i)e in n||(n[e]=i[e]);t.lazySizesConfig=n,l(function(){n.init&&R()})}();var F=function(){var s,d,f,g,C,N,_,L,W,x,T,B,F,R,k,D,H,O,P,$,I,q=/^img$/i,j=/^iframe$/i,G="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),J=0,K=0,Q=-1,U=function(t){K--,t&&t.target&&h(t.target,U),(!t||K<0||!t.target)&&(K=0)},V=function(t,i){var n,r=t,s="hidden"==p(e.body,"visibility")||"hidden"!=p(t.parentNode,"visibility")&&"hidden"!=p(t,"visibility");for(L-=i,T+=i,W-=i,x+=i;s&&(r=r.offsetParent)&&r!=e.body&&r!=a;)(s=(p(r,"opacity")||1)>0)&&"visible"!=p(r,"overflow")&&(n=r.getBoundingClientRect(),s=x>n.left&&W<n.right&&T>n.top-1&&L<n.bottom+1);return s},X=function(){var t,r,o,l,u,c,f,m,v,z=i.elements;if((g=n.loadMode)&&K<8&&(t=z.length)){r=0,Q++,null==F&&("expand"in n||(n.expand=a.clientHeight>500&&a.clientWidth>500?500:370),B=n.expand,F=B*n.expFactor),J<F&&K<1&&Q>2&&g>2&&!e.hidden?(J=F,Q=0):J=g>1&&Q>1&&K<6?B:0;for(;r<t;r++)if(z[r]&&!z[r]._lazyRace)if(G)if((m=z[r].getAttribute("data-expand"))&&(c=1*m)||(c=J),v!==c&&(N=innerWidth+c*R,_=innerHeight+c,f=-1*c,v=c),o=z[r].getBoundingClientRect(),(T=o.bottom)>=f&&(L=o.top)<=_&&(x=o.right)>=f*R&&(W=o.left)<=N&&(T||x||W||L)&&(n.loadHidden||"hidden"!=p(z[r],"visibility"))&&(d&&K<3&&!m&&(g<3||Q<4)||V(z[r],c))){if(at(z[r]),u=!0,K>9)break}else!u&&d&&!l&&K<4&&Q<4&&g>2&&(s[0]||n.preloadAfterLoad)&&(s[0]||!m&&(T||x||W||L||"auto"!=z[r].getAttribute(n.sizesAttr)))&&(l=s[0]||z[r]);else at(z[r]);l&&!u&&at(l)}},Y=(k=X,H=0,O=n.throttleDelay,P=n.ricTimeout,$=function(){D=!1,H=r.now(),k()},I=u&&P>49?function(){u($,{timeout:P}),P!==n.ricTimeout&&(P=n.ricTimeout)}:w(function(){l($)},!0),function(t){var e;(t=!0===t)&&(P=33),D||(D=!0,(e=O-(r.now()-H))<0&&(e=0),t||e<9?I():l(I,e))}),Z=function(t){z(t.target,n.loadedClass),y(t.target,n.loadingClass),h(t.target,et),b(t.target,"lazyloaded")},tt=w(Z),et=function(t){tt({target:t.target})},it=function(t){var e,i=t.getAttribute(n.srcsetAttr),a=t.getAttribute("data-src");(e=n.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i),a&&t.setAttribute("src",a)},nt=w(function(t,e,i,a,r){var s,o,d,u,g,v;(g=b(t,"lazybeforeunveil",e)).defaultPrevented||(a&&(i?z(t,n.autosizesClass):t.setAttribute("sizes",a)),o=t.getAttribute(n.srcsetAttr),s=t.getAttribute(n.srcAttr),r&&(d=t.parentNode,u=d&&c.test(d.nodeName||"")),v=e.firesLoad||"src"in t&&(o||s||u),g={target:t},v&&(h(t,U,!0),clearTimeout(f),f=l(U,2500),z(t,n.loadingClass),h(t,et,!0)),u&&m.call(d.getElementsByTagName("source"),it),o?t.setAttribute("srcset",o):s&&!u&&(j.test(t.nodeName)?function(t,e){try{t.contentWindow.location.replace(e)}catch(i){t.src=e}}(t,s):t.src=s),r&&(o||u)&&A(t,{src:s})),t._lazyRace&&delete t._lazyRace,y(t,n.lazyClass),E(function(){(!v||t.complete&&t.naturalWidth>1)&&(v?U(g):K--,Z(g))},!0)}),at=function(t){var e,i=q.test(t.nodeName),a=i&&(t.getAttribute(n.sizesAttr)||t.getAttribute("sizes")),r="auto"==a;(!r&&d||!i||!t.getAttribute("src")&&!t.srcset||t.complete||v(t,n.errorClass)||!v(t,n.lazyClass))&&(e=b(t,"lazyunveilread").detail,r&&S.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,K++,nt(t,e,r,a,i))},rt=function(){if(!d)if(r.now()-C<999)l(rt,999);else{var t=M(function(){n.loadMode=3,Y()});d=!0,n.loadMode=3,Y(),o("scroll",function(){3==n.loadMode&&(n.loadMode=2),t()},!0)}};return{_:function(){C=r.now(),i.elements=e.getElementsByClassName(n.lazyClass),s=e.getElementsByClassName(n.lazyClass+" "+n.preloadClass),R=n.hFac,o("scroll",Y,!0),o("resize",Y,!0),t.MutationObserver?new MutationObserver(Y).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a.addEventListener("DOMNodeInserted",Y,!0),a.addEventListener("DOMAttrModified",Y,!0),setInterval(Y,999)),o("hashchange",Y,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(t){e.addEventListener(t,Y,!0)}),/d$|^c/.test(e.readyState)?rt():(o("load",rt),e.addEventListener("DOMContentLoaded",Y),l(rt,2e4)),i.elements.length?(X(),E._lsFlush()):Y()},checkElems:Y,unveil:at}}(),S=(D=w(function(t,e,i,n){var a,r,s;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),c.test(e.nodeName||""))for(a=e.getElementsByTagName("source"),r=0,s=a.length;r<s;r++)a[r].setAttribute("sizes",n);i.detail.dataAttr||A(t,i.detail)}),H=function(t,e,i){var n,a=t.parentNode;a&&(i=C(t,a,i),(n=b(t,"lazybeforesizes",{width:i,dataAttr:!!e})).defaultPrevented||(i=n.detail.width)&&i!==t._lazysizesWidth&&D(t,a,n,i))},O=M(function(){var t,e=k.length;if(e)for(t=0;t<e;t++)H(k[t])}),{_:function(){k=e.getElementsByClassName(n.autosizesClass),o("resize",O)},checkElems:O,updateElem:H}),R=function(){R.i||(R.i=!0,S._(),F._())};var k,D,H,O;return i={cfg:n,autoSizer:S,loader:F,init:R,uP:A,aC:z,rC:y,hC:v,fire:b,gW:C,rAF:E}}(t,t.document);t.lazySizes=i,"object"==typeof module&&module.exports&&(module.exports=i)}(window);
} catch (e) {
console.error('Error in file:/media/plg_jspeed/js/lazyload.js?9e850f5d98e770647ae0b63ac52b2deb; Error:' + e.message);
};
try {
/* @preserve
 * Leaflet 1.3.4, a JS library for interactive maps. http://leafletjs.com
 * (c) 2010-2018 Vladimir Agafonkin, (c) 2010-2011 CloudMade
 */
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(t.L={})}(this,function(t){"use strict";function i(t){var i,e,n,o;for(e=1,n=arguments.length;e<n;e++){o=arguments[e];for(i in o)t[i]=o[i]}return t}function e(t,i){var e=Array.prototype.slice;if(t.bind)return t.bind.apply(t,e.call(arguments,1));var n=e.call(arguments,2);return function(){return t.apply(i,n.length?n.concat(e.call(arguments)):arguments)}}function n(t){return t._leaflet_id=t._leaflet_id||++ei,t._leaflet_id}function o(t,i,e){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(e,o),o=!1)},s=function(){n?o=arguments:(t.apply(e,arguments),setTimeout(r,i),n=!0)}}function s(t,i,e){var n=i[1],o=i[0],s=n-o;return t===n&&e?t:((t-o)%s+s)%s+o}function r(){return!1}function a(t,i){var e=Math.pow(10,void 0===i?6:i);return Math.round(t*e)/e}function h(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function u(t){return h(t).split(/\s+/)}function l(t,i){t.hasOwnProperty("options")||(t.options=t.options?ii(t.options):{});for(var e in i)t.options[e]=i[e];return t.options}function c(t,i,e){var n=[];for(var o in t)n.push(encodeURIComponent(e?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(i&&-1!==i.indexOf("?")?"&":"?")+n.join("&")}function _(t,i){return t.replace(ni,function(t,e){var n=i[e];if(void 0===n)throw new Error("No value provided for variable "+t);return"function"==typeof n&&(n=n(i)),n})}function d(t,i){for(var e=0;e<t.length;e++)if(t[e]===i)return e;return-1}function p(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}function m(t){var i=+new Date,e=Math.max(0,16-(i-ri));return ri=i+e,window.setTimeout(t,e)}function f(t,i,n){if(!n||ai!==m)return ai.call(window,e(t,i));t.call(i)}function g(t){t&&hi.call(window,t)}function v(){}function y(t){if("undefined"!=typeof L&&L&&L.Mixin){t=oi(t)?t:[t];for(var i=0;i<t.length;i++)t[i]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}function x(t,i,e){this.x=e?Math.round(t):t,this.y=e?Math.round(i):i}function w(t,i,e){return t instanceof x?t:oi(t)?new x(t[0],t[1]):void 0===t||null===t?t:"object"==typeof t&&"x"in t&&"y"in t?new x(t.x,t.y):new x(t,i,e)}function P(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function b(t,i){return!t||t instanceof P?t:new P(t,i)}function T(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function z(t,i){return t instanceof T?t:new T(t,i)}function M(t,i,e){if(isNaN(t)||isNaN(i))throw new Error("Invalid LatLng object: ("+t+", "+i+")");this.lat=+t,this.lng=+i,void 0!==e&&(this.alt=+e)}function C(t,i,e){return t instanceof M?t:oi(t)&&"object"!=typeof t[0]?3===t.length?new M(t[0],t[1],t[2]):2===t.length?new M(t[0],t[1]):null:void 0===t||null===t?t:"object"==typeof t&&"lat"in t?new M(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===i?null:new M(t,i,e)}function S(t,i,e,n){if(oi(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=i,this._c=e,this._d=n}function Z(t,i,e,n){return new S(t,i,e,n)}function E(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function k(t,i){var e,n,o,s,r,a,h="";for(e=0,o=t.length;e<o;e++){for(n=0,s=(r=t[e]).length;n<s;n++)a=r[n],h+=(n?"L":"M")+a.x+" "+a.y;h+=i?Ji?"z":"x":""}return h||"M0 0"}function A(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}function B(t,i,e,n){return"touchstart"===i?O(t,e,n):"touchmove"===i?W(t,e,n):"touchend"===i&&H(t,e,n),this}function I(t,i,e){var n=t["_leaflet_"+i+e];return"touchstart"===i?t.removeEventListener(te,n,!1):"touchmove"===i?t.removeEventListener(ie,n,!1):"touchend"===i&&(t.removeEventListener(ee,n,!1),t.removeEventListener(ne,n,!1)),this}function O(t,i,n){var o=e(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(oe.indexOf(t.target.tagName)<0))return;Pt(t)}j(t,i)});t["_leaflet_touchstart"+n]=o,t.addEventListener(te,o,!1),re||(document.documentElement.addEventListener(te,R,!0),document.documentElement.addEventListener(ie,N,!0),document.documentElement.addEventListener(ee,D,!0),document.documentElement.addEventListener(ne,D,!0),re=!0)}function R(t){se[t.pointerId]=t,ae++}function N(t){se[t.pointerId]&&(se[t.pointerId]=t)}function D(t){delete se[t.pointerId],ae--}function j(t,i){t.touches=[];for(var e in se)t.touches.push(se[e]);t.changedTouches=[t],i(t)}function W(t,i,e){var n=function(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&j(t,i)};t["_leaflet_touchmove"+e]=n,t.addEventListener(ie,n,!1)}function H(t,i,e){var n=function(t){j(t,i)};t["_leaflet_touchend"+e]=n,t.addEventListener(ee,n,!1),t.addEventListener(ne,n,!1)}function F(t,i,e){function n(t){var i;if(Vi){if(!bi||"mouse"===t.pointerType)return;i=ae}else i=t.touches.length;if(!(i>1)){var e=Date.now(),n=e-(s||e);r=t.touches?t.touches[0]:t,a=n>0&&n<=h,s=e}}function o(t){if(a&&!r.cancelBubble){if(Vi){if(!bi||"mouse"===t.pointerType)return;var e,n,o={};for(n in r)e=r[n],o[n]=e&&e.bind?e.bind(r):e;r=o}r.type="dblclick",i(r),s=null}}var s,r,a=!1,h=250;return t[le+he+e]=n,t[le+ue+e]=o,t[le+"dblclick"+e]=i,t.addEventListener(he,n,!1),t.addEventListener(ue,o,!1),t.addEventListener("dblclick",i,!1),this}function U(t,i){var e=t[le+he+i],n=t[le+ue+i],o=t[le+"dblclick"+i];return t.removeEventListener(he,e,!1),t.removeEventListener(ue,n,!1),bi||t.removeEventListener("dblclick",o,!1),this}function V(t){return"string"==typeof t?document.getElementById(t):t}function q(t,i){var e=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!e||"auto"===e)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);e=n?n[i]:null}return"auto"===e?null:e}function G(t,i,e){var n=document.createElement(t);return n.className=i||"",e&&e.appendChild(n),n}function K(t){var i=t.parentNode;i&&i.removeChild(t)}function Y(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function X(t){var i=t.parentNode;i.lastChild!==t&&i.appendChild(t)}function J(t){var i=t.parentNode;i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function $(t,i){if(void 0!==t.classList)return t.classList.contains(i);var e=et(t);return e.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(e)}function Q(t,i){if(void 0!==t.classList)for(var e=u(i),n=0,o=e.length;n<o;n++)t.classList.add(e[n]);else if(!$(t,i)){var s=et(t);it(t,(s?s+" ":"")+i)}}function tt(t,i){void 0!==t.classList?t.classList.remove(i):it(t,h((" "+et(t)+" ").replace(" "+i+" "," ")))}function it(t,i){void 0===t.className.baseVal?t.className=i:t.className.baseVal=i}function et(t){return void 0===t.className.baseVal?t.className:t.className.baseVal}function nt(t,i){"opacity"in t.style?t.style.opacity=i:"filter"in t.style&&ot(t,i)}function ot(t,i){var e=!1,n="DXImageTransform.Microsoft.Alpha";try{e=t.filters.item(n)}catch(t){if(1===i)return}i=Math.round(100*i),e?(e.Enabled=100!==i,e.Opacity=i):t.style.filter+=" progid:"+n+"(opacity="+i+")"}function st(t){for(var i=document.documentElement.style,e=0;e<t.length;e++)if(t[e]in i)return t[e];return!1}function rt(t,i,e){var n=i||new x(0,0);t.style[ce]=(Ri?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(e?" scale("+e+")":"")}function at(t,i){t._leaflet_pos=i,ji?rt(t,i):(t.style.left=i.x+"px",t.style.top=i.y+"px")}function ht(t){return t._leaflet_pos||new x(0,0)}function ut(){mt(window,"dragstart",Pt)}function lt(){ft(window,"dragstart",Pt)}function ct(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(_t(),me=t,fe=t.style.outline,t.style.outline="none",mt(window,"keydown",_t))}function _t(){me&&(me.style.outline=fe,me=void 0,fe=void 0,ft(window,"keydown",_t))}function dt(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function pt(t){var i=t.getBoundingClientRect();return{x:i.width/t.offsetWidth||1,y:i.height/t.offsetHeight||1,boundingClientRect:i}}function mt(t,i,e,n){if("object"==typeof i)for(var o in i)gt(t,o,i[o],e);else for(var s=0,r=(i=u(i)).length;s<r;s++)gt(t,i[s],e,n);return this}function ft(t,i,e,n){if("object"==typeof i)for(var o in i)vt(t,o,i[o],e);else if(i)for(var s=0,r=(i=u(i)).length;s<r;s++)vt(t,i[s],e,n);else{for(var a in t[ye])vt(t,a,t[ye][a]);delete t[ye]}return this}function gt(t,i,e,o){var s=i+n(e)+(o?"_"+n(o):"");if(t[ye]&&t[ye][s])return this;var r=function(i){return e.call(o||t,i||window.event)},a=r;Vi&&0===i.indexOf("touch")?B(t,i,r,s):!qi||"dblclick"!==i||!F||Vi&&Ei?"addEventListener"in t?"mousewheel"===i?t.addEventListener("onwheel"in t?"wheel":"mousewheel",r,!1):"mouseenter"===i||"mouseleave"===i?(r=function(i){i=i||window.event,Ct(t,i)&&a(i)},t.addEventListener("mouseenter"===i?"mouseover":"mouseout",r,!1)):("click"===i&&zi&&(r=function(t){St(t,a)}),t.addEventListener(i,r,!1)):"attachEvent"in t&&t.attachEvent("on"+i,r):F(t,r,s),t[ye]=t[ye]||{},t[ye][s]=r}function vt(t,i,e,o){var s=i+n(e)+(o?"_"+n(o):""),r=t[ye]&&t[ye][s];if(!r)return this;Vi&&0===i.indexOf("touch")?I(t,i,s):!qi||"dblclick"!==i||!U||Vi&&Ei?"removeEventListener"in t?"mousewheel"===i?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",r,!1):t.removeEventListener("mouseenter"===i?"mouseover":"mouseleave"===i?"mouseout":i,r,!1):"detachEvent"in t&&t.detachEvent("on"+i,r):U(t,s),t[ye][s]=null}function yt(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Mt(t),this}function xt(t){return gt(t,"mousewheel",yt),this}function wt(t){return mt(t,"mousedown touchstart dblclick",yt),gt(t,"click",zt),this}function Pt(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Lt(t){return Pt(t),yt(t),this}function bt(t,i){if(!i)return new x(t.clientX,t.clientY);var e=pt(i),n=e.boundingClientRect;return new x((t.clientX-n.left)/e.x-i.clientLeft,(t.clientY-n.top)/e.y-i.clientTop)}function Tt(t){return bi?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/xe:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function zt(t){we[t.type]=!0}function Mt(t){var i=we[t.type];return we[t.type]=!1,i}function Ct(t,i){var e=i.relatedTarget;if(!e)return!0;try{for(;e&&e!==t;)e=e.parentNode}catch(t){return!1}return e!==t}function St(t,i){var e=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,n=ge&&e-ge;n&&n>100&&n<500||t.target._simulatedClick&&!t._simulated?Lt(t):(ge=e,i(t))}function Zt(t,i){if(!i||!t.length)return t.slice();var e=i*i;return t=Bt(t,e),t=kt(t,e)}function Et(t,i,e){return Math.sqrt(Dt(t,i,e,!0))}function kt(t,i){var e=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(e);n[0]=n[e-1]=1,At(t,n,i,0,e-1);var o,s=[];for(o=0;o<e;o++)n[o]&&s.push(t[o]);return s}function At(t,i,e,n,o){var s,r,a,h=0;for(r=n+1;r<=o-1;r++)(a=Dt(t[r],t[n],t[o],!0))>h&&(s=r,h=a);h>e&&(i[s]=1,At(t,i,e,n,s),At(t,i,e,s,o))}function Bt(t,i){for(var e=[t[0]],n=1,o=0,s=t.length;n<s;n++)Nt(t[n],t[o])>i&&(e.push(t[n]),o=n);return o<s-1&&e.push(t[s-1]),e}function It(t,i,e,n,o){var s,r,a,h=n?ke:Rt(t,e),u=Rt(i,e);for(ke=u;;){if(!(h|u))return[t,i];if(h&u)return!1;a=Rt(r=Ot(t,i,s=h||u,e,o),e),s===h?(t=r,h=a):(i=r,u=a)}}function Ot(t,i,e,n,o){var s,r,a=i.x-t.x,h=i.y-t.y,u=n.min,l=n.max;return 8&e?(s=t.x+a*(l.y-t.y)/h,r=l.y):4&e?(s=t.x+a*(u.y-t.y)/h,r=u.y):2&e?(s=l.x,r=t.y+h*(l.x-t.x)/a):1&e&&(s=u.x,r=t.y+h*(u.x-t.x)/a),new x(s,r,o)}function Rt(t,i){var e=0;return t.x<i.min.x?e|=1:t.x>i.max.x&&(e|=2),t.y<i.min.y?e|=4:t.y>i.max.y&&(e|=8),e}function Nt(t,i){var e=i.x-t.x,n=i.y-t.y;return e*e+n*n}function Dt(t,i,e,n){var o,s=i.x,r=i.y,a=e.x-s,h=e.y-r,u=a*a+h*h;return u>0&&((o=((t.x-s)*a+(t.y-r)*h)/u)>1?(s=e.x,r=e.y):o>0&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new x(s,r)}function jt(t){return!oi(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function Wt(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),jt(t)}function Ht(t,i,e){var n,o,s,r,a,h,u,l,c,_=[1,4,2,8];for(o=0,u=t.length;o<u;o++)t[o]._code=Rt(t[o],i);for(r=0;r<4;r++){for(l=_[r],n=[],o=0,s=(u=t.length)-1;o<u;s=o++)a=t[o],h=t[s],a._code&l?h._code&l||((c=Ot(h,a,l,i,e))._code=Rt(c,i),n.push(c)):(h._code&l&&((c=Ot(h,a,l,i,e))._code=Rt(c,i),n.push(c)),n.push(a));t=n}return t}function Ft(t,i){var e,n,o,s,r="Feature"===t.type?t.geometry:t,a=r?r.coordinates:null,h=[],u=i&&i.pointToLayer,l=i&&i.coordsToLatLng||Ut;if(!a&&!r)return null;switch(r.type){case"Point":return e=l(a),u?u(t,e):new $e(e);case"MultiPoint":for(o=0,s=a.length;o<s;o++)e=l(a[o]),h.push(u?u(t,e):new $e(e));return new Ke(h);case"LineString":case"MultiLineString":return n=Vt(a,"LineString"===r.type?0:1,l),new nn(n,i);case"Polygon":case"MultiPolygon":return n=Vt(a,"Polygon"===r.type?1:2,l),new on(n,i);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var c=Ft({geometry:r.geometries[o],type:"Feature",properties:t.properties},i);c&&h.push(c)}return new Ke(h);default:throw new Error("Invalid GeoJSON object.")}}function Ut(t){return new M(t[1],t[0],t[2])}function Vt(t,i,e){for(var n,o=[],s=0,r=t.length;s<r;s++)n=i?Vt(t[s],i-1,e):(e||Ut)(t[s]),o.push(n);return o}function qt(t,i){return i="number"==typeof i?i:6,void 0!==t.alt?[a(t.lng,i),a(t.lat,i),a(t.alt,i)]:[a(t.lng,i),a(t.lat,i)]}function Gt(t,i,e,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(i?Gt(t[s],i-1,e,n):qt(t[s],n));return!i&&e&&o.push(o[0]),o}function Kt(t,e){return t.feature?i({},t.feature,{geometry:e}):Yt(e)}function Yt(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}function Xt(t,i){return new sn(t,i)}function Jt(t,i){return new mn(t,i)}function $t(t){return Xi?new vn(t):null}function Qt(t){return Ji||$i?new Pn(t):null}var ti=Object.freeze;Object.freeze=function(t){return t};var ii=Object.create||function(){function t(){}return function(i){return t.prototype=i,new t}}(),ei=0,ni=/\{ *([\w_-]+) *\}/g,oi=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},si="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",ri=0,ai=window.requestAnimationFrame||p("RequestAnimationFrame")||m,hi=window.cancelAnimationFrame||p("CancelAnimationFrame")||p("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)},ui=(Object.freeze||Object)({freeze:ti,extend:i,create:ii,bind:e,lastId:ei,stamp:n,throttle:o,wrapNum:s,falseFn:r,formatNum:a,trim:h,splitWords:u,setOptions:l,getParamString:c,template:_,isArray:oi,indexOf:d,emptyImageUrl:si,requestFn:ai,cancelFn:hi,requestAnimFrame:f,cancelAnimFrame:g});v.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},n=e.__super__=this.prototype,o=ii(n);o.constructor=e,e.prototype=o;for(var s in this)this.hasOwnProperty(s)&&"prototype"!==s&&"__super__"!==s&&(e[s]=this[s]);return t.statics&&(i(e,t.statics),delete t.statics),t.includes&&(y(t.includes),i.apply(null,[o].concat(t.includes)),delete t.includes),o.options&&(t.options=i(ii(o.options),t.options)),i(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,i=o._initHooks.length;t<i;t++)o._initHooks[t].call(this)}},e},v.include=function(t){return i(this.prototype,t),this},v.mergeOptions=function(t){return i(this.prototype.options,t),this},v.addInitHook=function(t){var i=Array.prototype.slice.call(arguments,1),e="function"==typeof t?t:function(){this[t].apply(this,i)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(e),this};var li={on:function(t,i,e){if("object"==typeof t)for(var n in t)this._on(n,t[n],i);else for(var o=0,s=(t=u(t)).length;o<s;o++)this._on(t[o],i,e);return this},off:function(t,i,e){if(t)if("object"==typeof t)for(var n in t)this._off(n,t[n],i);else for(var o=0,s=(t=u(t)).length;o<s;o++)this._off(t[o],i,e);else delete this._events;return this},_on:function(t,i,e){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),e===this&&(e=void 0);for(var o={fn:i,ctx:e},s=n,r=0,a=s.length;r<a;r++)if(s[r].fn===i&&s[r].ctx===e)return;s.push(o)},_off:function(t,i,e){var n,o,s;if(this._events&&(n=this._events[t]))if(i){if(e===this&&(e=void 0),n)for(o=0,s=n.length;o<s;o++){var a=n[o];if(a.ctx===e&&a.fn===i)return a.fn=r,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,s=n.length;o<s;o++)n[o].fn=r;delete this._events[t]}},fire:function(t,e,n){if(!this.listens(t,n))return this;var o=i({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var h=s[r];h.fn.call(h.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,i){var e=this._events&&this._events[t];if(e&&e.length)return!0;if(i)for(var n in this._eventParents)if(this._eventParents[n].listens(t,i))return!0;return!1},once:function(t,i,n){if("object"==typeof t){for(var o in t)this.once(o,t[o],i);return this}var s=e(function(){this.off(t,i,n).off(t,s,n)},this);return this.on(t,i,n).on(t,s,n)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[n(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[n(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}};li.addEventListener=li.on,li.removeEventListener=li.clearAllEventListeners=li.off,li.addOneTimeEventListener=li.once,li.fireEvent=li.fire,li.hasEventListeners=li.listens;var ci=v.extend(li),_i=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};x.prototype={clone:function(){return new x(this.x,this.y)},add:function(t){return this.clone()._add(w(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(w(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new x(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new x(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=_i(this.x),this.y=_i(this.y),this},distanceTo:function(t){var i=(t=w(t)).x-this.x,e=t.y-this.y;return Math.sqrt(i*i+e*e)},equals:function(t){return(t=w(t)).x===this.x&&t.y===this.y},contains:function(t){return t=w(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+a(this.x)+", "+a(this.y)+")"}},P.prototype={extend:function(t){return t=w(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new x((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new x(this.min.x,this.max.y)},getTopRight:function(){return new x(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var i,e;return(t="number"==typeof t[0]||t instanceof x?w(t):b(t))instanceof P?(i=t.min,e=t.max):i=e=t,i.x>=this.min.x&&e.x<=this.max.x&&i.y>=this.min.y&&e.y<=this.max.y},intersects:function(t){t=b(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>=i.x&&n.x<=e.x,r=o.y>=i.y&&n.y<=e.y;return s&&r},overlaps:function(t){t=b(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>i.x&&n.x<e.x,r=o.y>i.y&&n.y<e.y;return s&&r},isValid:function(){return!(!this.min||!this.max)}},T.prototype={extend:function(t){var i,e,n=this._southWest,o=this._northEast;if(t instanceof M)i=t,e=t;else{if(!(t instanceof T))return t?this.extend(C(t)||z(t)):this;if(i=t._southWest,e=t._northEast,!i||!e)return this}return n||o?(n.lat=Math.min(i.lat,n.lat),n.lng=Math.min(i.lng,n.lng),o.lat=Math.max(e.lat,o.lat),o.lng=Math.max(e.lng,o.lng)):(this._southWest=new M(i.lat,i.lng),this._northEast=new M(e.lat,e.lng)),this},pad:function(t){var i=this._southWest,e=this._northEast,n=Math.abs(i.lat-e.lat)*t,o=Math.abs(i.lng-e.lng)*t;return new T(new M(i.lat-n,i.lng-o),new M(e.lat+n,e.lng+o))},getCenter:function(){return new M((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new M(this.getNorth(),this.getWest())},getSouthEast:function(){return new M(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof M||"lat"in t?C(t):z(t);var i,e,n=this._southWest,o=this._northEast;return t instanceof T?(i=t.getSouthWest(),e=t.getNorthEast()):i=e=t,i.lat>=n.lat&&e.lat<=o.lat&&i.lng>=n.lng&&e.lng<=o.lng},intersects:function(t){t=z(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=i.lat&&n.lat<=e.lat,r=o.lng>=i.lng&&n.lng<=e.lng;return s&&r},overlaps:function(t){t=z(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>i.lat&&n.lat<e.lat,r=o.lng>i.lng&&n.lng<e.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,i){return!!t&&(t=z(t),this._southWest.equals(t.getSouthWest(),i)&&this._northEast.equals(t.getNorthEast(),i))},isValid:function(){return!(!this._southWest||!this._northEast)}},M.prototype={equals:function(t,i){return!!t&&(t=C(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===i?1e-9:i))},toString:function(t){return"LatLng("+a(this.lat,t)+", "+a(this.lng,t)+")"},distanceTo:function(t){return pi.distance(this,C(t))},wrap:function(){return pi.wrapLatLng(this)},toBounds:function(t){var i=180*t/40075017,e=i/Math.cos(Math.PI/180*this.lat);return z([this.lat-i,this.lng-e],[this.lat+i,this.lng+e])},clone:function(){return new M(this.lat,this.lng,this.alt)}};var di={latLngToPoint:function(t,i){var e=this.projection.project(t),n=this.scale(i);return this.transformation._transform(e,n)},pointToLatLng:function(t,i){var e=this.scale(i),n=this.transformation.untransform(t,e);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var i=this.projection.bounds,e=this.scale(t);return new P(this.transformation.transform(i.min,e),this.transformation.transform(i.max,e))},infinite:!1,wrapLatLng:function(t){var i=this.wrapLng?s(t.lng,this.wrapLng,!0):t.lng;return new M(this.wrapLat?s(t.lat,this.wrapLat,!0):t.lat,i,t.alt)},wrapLatLngBounds:function(t){var i=t.getCenter(),e=this.wrapLatLng(i),n=i.lat-e.lat,o=i.lng-e.lng;if(0===n&&0===o)return t;var s=t.getSouthWest(),r=t.getNorthEast();return new T(new M(s.lat-n,s.lng-o),new M(r.lat-n,r.lng-o))}},pi=i({},di,{wrapLng:[-180,180],R:6371e3,distance:function(t,i){var e=Math.PI/180,n=t.lat*e,o=i.lat*e,s=Math.sin((i.lat-t.lat)*e/2),r=Math.sin((i.lng-t.lng)*e/2),a=s*s+Math.cos(n)*Math.cos(o)*r*r,h=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*h}}),mi={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var i=Math.PI/180,e=this.MAX_LATITUDE,n=Math.max(Math.min(e,t.lat),-e),o=Math.sin(n*i);return new x(this.R*t.lng*i,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var i=180/Math.PI;return new M((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*i,t.x*i/this.R)},bounds:function(){var t=6378137*Math.PI;return new P([-t,-t],[t,t])}()};S.prototype={transform:function(t,i){return this._transform(t.clone(),i)},_transform:function(t,i){return i=i||1,t.x=i*(this._a*t.x+this._b),t.y=i*(this._c*t.y+this._d),t},untransform:function(t,i){return i=i||1,new x((t.x/i-this._b)/this._a,(t.y/i-this._d)/this._c)}};var fi,gi,vi,yi=i({},pi,{code:"EPSG:3857",projection:mi,transformation:function(){var t=.5/(Math.PI*mi.R);return Z(t,.5,-t,.5)}()}),xi=i({},yi,{code:"EPSG:900913"}),wi=document.documentElement.style,Pi="ActiveXObject"in window,Li=Pi&&!document.addEventListener,bi="msLaunchUri"in navigator&&!("documentMode"in document),Ti=A("webkit"),zi=A("android"),Mi=A("android 2")||A("android 3"),Ci=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Si=zi&&A("Google")&&Ci<537&&!("AudioNode"in window),Zi=!!window.opera,Ei=A("chrome"),ki=A("gecko")&&!Ti&&!Zi&&!Pi,Ai=!Ei&&A("safari"),Bi=A("phantom"),Ii="OTransition"in wi,Oi=0===navigator.platform.indexOf("Win"),Ri=Pi&&"transition"in wi,Ni="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!Mi,Di="MozPerspective"in wi,ji=!window.L_DISABLE_3D&&(Ri||Ni||Di)&&!Ii&&!Bi,Wi="undefined"!=typeof orientation||A("mobile"),Hi=Wi&&Ti,Fi=Wi&&Ni,Ui=!window.PointerEvent&&window.MSPointerEvent,Vi=!(!window.PointerEvent&&!Ui),qi=!window.L_NO_TOUCH&&(Vi||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Gi=Wi&&Zi,Ki=Wi&&ki,Yi=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Xi=!!document.createElement("canvas").getContext,Ji=!(!document.createElementNS||!E("svg").createSVGRect),$i=!Ji&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&"object"==typeof i.adj}catch(t){return!1}}(),Qi=(Object.freeze||Object)({ie:Pi,ielt9:Li,edge:bi,webkit:Ti,android:zi,android23:Mi,androidStock:Si,opera:Zi,chrome:Ei,gecko:ki,safari:Ai,phantom:Bi,opera12:Ii,win:Oi,ie3d:Ri,webkit3d:Ni,gecko3d:Di,any3d:ji,mobile:Wi,mobileWebkit:Hi,mobileWebkit3d:Fi,msPointer:Ui,pointer:Vi,touch:qi,mobileOpera:Gi,mobileGecko:Ki,retina:Yi,canvas:Xi,svg:Ji,vml:$i}),te=Ui?"MSPointerDown":"pointerdown",ie=Ui?"MSPointerMove":"pointermove",ee=Ui?"MSPointerUp":"pointerup",ne=Ui?"MSPointerCancel":"pointercancel",oe=["INPUT","SELECT","OPTION"],se={},re=!1,ae=0,he=Ui?"MSPointerDown":Vi?"pointerdown":"touchstart",ue=Ui?"MSPointerUp":Vi?"pointerup":"touchend",le="_leaflet_",ce=st(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),_e=st(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),de="webkitTransition"===_e||"OTransition"===_e?_e+"End":"transitionend";if("onselectstart"in document)fi=function(){mt(window,"selectstart",Pt)},gi=function(){ft(window,"selectstart",Pt)};else{var pe=st(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);fi=function(){if(pe){var t=document.documentElement.style;vi=t[pe],t[pe]="none"}},gi=function(){pe&&(document.documentElement.style[pe]=vi,vi=void 0)}}var me,fe,ge,ve=(Object.freeze||Object)({TRANSFORM:ce,TRANSITION:_e,TRANSITION_END:de,get:V,getStyle:q,create:G,remove:K,empty:Y,toFront:X,toBack:J,hasClass:$,addClass:Q,removeClass:tt,setClass:it,getClass:et,setOpacity:nt,testProp:st,setTransform:rt,setPosition:at,getPosition:ht,disableTextSelection:fi,enableTextSelection:gi,disableImageDrag:ut,enableImageDrag:lt,preventOutline:ct,restoreOutline:_t,getSizedParentNode:dt,getScale:pt}),ye="_leaflet_events",xe=Oi&&Ei?2*window.devicePixelRatio:ki?window.devicePixelRatio:1,we={},Pe=(Object.freeze||Object)({on:mt,off:ft,stopPropagation:yt,disableScrollPropagation:xt,disableClickPropagation:wt,preventDefault:Pt,stop:Lt,getMousePosition:bt,getWheelDelta:Tt,fakeStop:zt,skipped:Mt,isExternalTarget:Ct,addListener:mt,removeListener:ft}),Le=ci.extend({run:function(t,i,e,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=e||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=ht(t),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=f(this._animate,this),this._step()},_step:function(t){var i=+new Date-this._startTime,e=1e3*this._duration;i<e?this._runFrame(this._easeOut(i/e),t):(this._runFrame(1),this._complete())},_runFrame:function(t,i){var e=this._startPos.add(this._offset.multiplyBy(t));i&&e._round(),at(this._el,e),this.fire("step")},_complete:function(){g(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),be=ci.extend({options:{crs:yi,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,i){i=l(this,i),this._initContainer(t),this._initLayout(),this._onResize=e(this._onResize,this),this._initEvents(),i.maxBounds&&this.setMaxBounds(i.maxBounds),void 0!==i.zoom&&(this._zoom=this._limitZoom(i.zoom)),i.center&&void 0!==i.zoom&&this.setView(C(i.center),i.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this.callInitHooks(),this._zoomAnimated=_e&&ji&&!Gi&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),mt(this._proxy,de,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(C(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=i({animate:n.animate},n.zoom),n.pan=i({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,e),this)},setZoom:function(t,i){return this._loaded?this.setView(this.getCenter(),t,{zoom:i}):(this._zoom=t,this)},zoomIn:function(t,i){return t=t||(ji?this.options.zoomDelta:1),this.setZoom(this._zoom+t,i)},zoomOut:function(t,i){return t=t||(ji?this.options.zoomDelta:1),this.setZoom(this._zoom-t,i)},setZoomAround:function(t,i,e){var n=this.getZoomScale(i),o=this.getSize().divideBy(2),s=(t instanceof x?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(s));return this.setView(r,i,{zoom:e})},_getBoundsCenterZoom:function(t,i){i=i||{},t=t.getBounds?t.getBounds():z(t);var e=w(i.paddingTopLeft||i.padding||[0,0]),n=w(i.paddingBottomRight||i.padding||[0,0]),o=this.getBoundsZoom(t,!1,e.add(n));if((o="number"==typeof i.maxZoom?Math.min(i.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};var s=n.subtract(e).divideBy(2),r=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(a).divideBy(2).add(s),o),zoom:o}},fitBounds:function(t,i){if(!(t=z(t)).isValid())throw new Error("Bounds are not valid.");var e=this._getBoundsCenterZoom(t,i);return this.setView(e.center,e.zoom,i)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,i){return this.setView(t,this._zoom,{pan:i})},panBy:function(t,i){if(t=w(t).round(),i=i||{},!t.x&&!t.y)return this.fire("moveend");if(!0!==i.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Le,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),i.noMoveStart||this.fire("movestart"),!1!==i.animate){Q(this._mapPane,"leaflet-pan-anim");var e=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,e,i.duration||.25,i.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,i,e){function n(t){var i=(g*g-m*m+(t?-1:1)*x*x*v*v)/(2*(t?g:m)*x*v),e=Math.sqrt(i*i+1)-i;return e<1e-9?-18:Math.log(e)}function o(t){return(Math.exp(t)-Math.exp(-t))/2}function s(t){return(Math.exp(t)+Math.exp(-t))/2}function r(t){return o(t)/s(t)}function a(t){return m*(s(w)/s(w+y*t))}function h(t){return m*(s(w)*r(w+y*t)-o(w))/x}function u(t){return 1-Math.pow(1-t,1.5)}function l(){var e=(Date.now()-P)/b,n=u(e)*L;e<=1?(this._flyToFrame=f(l,this),this._move(this.unproject(c.add(_.subtract(c).multiplyBy(h(n)/v)),p),this.getScaleZoom(m/a(n),p),{flyTo:!0})):this._move(t,i)._moveEnd(!0)}if(!1===(e=e||{}).animate||!ji)return this.setView(t,i,e);this._stop();var c=this.project(this.getCenter()),_=this.project(t),d=this.getSize(),p=this._zoom;t=C(t),i=void 0===i?p:i;var m=Math.max(d.x,d.y),g=m*this.getZoomScale(p,i),v=_.distanceTo(c)||1,y=1.42,x=y*y,w=n(0),P=Date.now(),L=(n(1)-w)/y,b=e.duration?1e3*e.duration:1e3*L*.8;return this._moveStart(!0,e.noMoveStart),l.call(this),this},flyToBounds:function(t,i){var e=this._getBoundsCenterZoom(t,i);return this.flyTo(e.center,e.zoom,i)},setMaxBounds:function(t){return(t=z(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var i=this.options.minZoom;return this.options.minZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var i=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var e=this.getCenter(),n=this._limitCenter(e,this._zoom,z(t));return e.equals(n)||this.panTo(n,i),this._enforcingBounds=!1,this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),s=n.divideBy(2).round(),r=o.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(e(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=e(this._handleGeolocationResponse,this),o=e(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,o,t):navigator.geolocation.getCurrentPosition(n,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var i=t.code,e=t.message||(1===i?"permission denied":2===i?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+e+"."})},_handleGeolocationResponse:function(t){var i=new M(t.coords.latitude,t.coords.longitude),e=i.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(e);this.setView(i,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:i,bounds:e,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)},addHandler:function(t,i){if(!i)return this;var e=this[t]=new i(this);return this._handlers.push(e),this.options[t]&&e.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),K(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(g(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)K(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){var e=G("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),i||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new T(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,e){t=z(t),e=w(e||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(e),u=b(this.project(a,n),this.project(r,n)).getSize(),l=ji?this.options.zoomSnap:1,c=h.x/u.x,_=h.y/u.y,d=i?Math.max(c,_):Math.min(c,_);return n=this.getScaleZoom(d,n),l&&(n=Math.round(n/(l/100))*(l/100),n=i?Math.ceil(n/l)*l:Math.floor(n/l)*l),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new x(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){var e=this._getTopLeftPoint(t,i);return new P(e,e.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var e=this.options.crs;return i=void 0===i?this._zoom:i,e.scale(t)/e.scale(i)},getScaleZoom:function(t,i){var e=this.options.crs;i=void 0===i?this._zoom:i;var n=e.zoom(t*e.scale(i));return isNaN(n)?1/0:n},project:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.latLngToPoint(C(t),i)},unproject:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.pointToLatLng(w(t),i)},layerPointToLatLng:function(t){var i=w(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){return this.project(C(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(C(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(z(t))},distance:function(t,i){return this.options.crs.distance(C(t),C(i))},containerPointToLayerPoint:function(t){return w(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return w(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(w(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(C(t)))},mouseEventToContainerPoint:function(t){return bt(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var i=this._container=V(t);if(!i)throw new Error("Map container not found.");if(i._leaflet_id)throw new Error("Map container is already initialized.");mt(i,"scroll",this._onScroll,this),this._containerId=n(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&ji,Q(t,"leaflet-container"+(qi?" leaflet-touch":"")+(Yi?" leaflet-retina":"")+(Li?" leaflet-oldie":"")+(Ai?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=q(t,"position");"absolute"!==i&&"relative"!==i&&"fixed"!==i&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),at(this._mapPane,new x(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Q(t.markerPane,"leaflet-zoom-hide"),Q(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,i){at(this._mapPane,new x(0,0));var e=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset");var n=this._zoom!==i;this._moveStart(n,!1)._move(t,i)._moveEnd(n),this.fire("viewreset"),e&&this.fire("load")},_moveStart:function(t,i){return t&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(t,i,e){void 0===i&&(i=this._zoom);var n=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||e&&e.pinch)&&this.fire("zoom",e),this.fire("move",e)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return g(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){at(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[n(this._container)]=this;var i=t?ft:mt;i(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),ji&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){g(this._resizeRequest),this._resizeRequest=f(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,i){for(var e,o=[],s="mouseout"===i||"mouseover"===i,r=t.target||t.srcElement,a=!1;r;){if((e=this._targets[n(r)])&&("click"===i||"preclick"===i)&&!t._simulated&&this._draggableMoved(e)){a=!0;break}if(e&&e.listens(i,!0)){if(s&&!Ct(r,t))break;if(o.push(e),s)break}if(r===this._container)break;r=r.parentNode}return o.length||a||s||!Ct(r,t)||(o=[this]),o},_handleDOMEvent:function(t){if(this._loaded&&!Mt(t)){var i=t.type;"mousedown"!==i&&"keypress"!==i||ct(t.target||t.srcElement),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){if("click"===t.type){var o=i({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}if(!t._stopped&&(n=(n||[]).concat(this._findEventTargets(t,e))).length){var s=n[0];"contextmenu"===e&&s.listens(e,!0)&&Pt(t);var r={originalEvent:t};if("keypress"!==t.type){var a=s.getLatLng&&(!s._radius||s._radius<=10);r.containerPoint=a?this.latLngToContainerPoint(s.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=a?s.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var h=0;h<n.length;h++)if(n[h].fire(e,r,!0),r.originalEvent._stopped||!1===n[h].options.bubblingMouseEvents&&-1!==d(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,i=this._handlers.length;t<i;t++)this._handlers[t].disable()},whenReady:function(t,i){return this._loaded?t.call(i||this,{target:this}):this.on("load",t,i),this},_getMapPanePos:function(){return ht(this._mapPane)||new x(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,i){return(t&&void 0!==i?this._getNewPixelOrigin(t,i):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,i){var e=this.getSize()._divideBy(2);return this.project(t,i)._subtract(e)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return this.project(t,i)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return b([this.project(t.getSouthWest(),i)._subtract(n),this.project(t.getNorthWest(),i)._subtract(n),this.project(t.getSouthEast(),i)._subtract(n),this.project(t.getNorthEast(),i)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,i,e){if(!e)return t;var n=this.project(t,i),o=this.getSize().divideBy(2),s=new P(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,e,i);return r.round().equals([0,0])?t:this.unproject(n.add(r),i)},_limitOffset:function(t,i){if(!i)return t;var e=this.getPixelBounds(),n=new P(e.min.add(t),e.max.add(t));return t.add(this._getBoundsOffset(n,i))},_getBoundsOffset:function(t,i,e){var n=b(this.project(i.getNorthEast(),e),this.project(i.getSouthWest(),e)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new x(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(t,i){return t+i>0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),e=this.getMaxZoom(),n=ji?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(i,Math.min(e,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){tt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,i){var e=this._getCenterOffset(t)._trunc();return!(!0!==(i&&i.animate)&&!this.getSize().contains(e))&&(this.panBy(e,i),!0)},_createAnimProxy:function(){var t=this._proxy=G("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var i=ce,e=this._proxy.style[i];rt(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),i=this.getZoom();rt(this._proxy,this.project(t,i),this.getZoomScale(i,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){K(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,i,e){if(this._animatingZoom)return!0;if(e=e||{},!this._zoomAnimated||!1===e.animate||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(i),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==e.animate&&!this.getSize().contains(o))&&(f(function(){this._moveStart(!0,!1)._animateZoom(t,i,!0)},this),!0)},_animateZoom:function(t,i,n,o){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,Q(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:i,noUpdate:o}),setTimeout(e(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&tt(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),f(function(){this._moveEnd(!0)},this))}}),Te=v.extend({options:{position:"topright"},initialize:function(t){l(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),e=this.getPosition(),n=t._controlCorners[e];return Q(i,"leaflet-control"),-1!==e.indexOf("bottom")?n.insertBefore(i,n.firstChild):n.appendChild(i),this},remove:function(){return this._map?(K(this._container),this.onRemove&&this.onRemove(this._map),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),ze=function(t){return new Te(t)};be.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){function t(t,o){var s=e+t+" "+e+o;i[t+o]=G("div",s,n)}var i=this._controlCorners={},e="leaflet-",n=this._controlContainer=G("div",e+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)K(this._controlCorners[t]);K(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Me=Te.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,e,n){return e<n?-1:n<e?1:0}},initialize:function(t,i,e){l(this,e),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1;for(var n in t)this._addLayer(t[n],n);for(n in i)this._addLayer(i[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var i=0;i<this._layers.length;i++)this._layers[i].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Te.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,i){return this._addLayer(t,i),this._map?this._update():this},addOverlay:function(t,i){return this._addLayer(t,i,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var i=this._getLayer(n(t));return i&&this._layers.splice(this._layers.indexOf(i),1),this._map?this._update():this},expand:function(){Q(this._container,"leaflet-control-layers-expanded"),this._form.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._form.clientHeight?(Q(this._form,"leaflet-control-layers-scrollbar"),this._form.style.height=t+"px"):tt(this._form,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return tt(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",i=this._container=G("div",t),e=this.options.collapsed;i.setAttribute("aria-haspopup",!0),wt(i),xt(i);var n=this._form=G("form",t+"-list");e&&(this._map.on("click",this.collapse,this),zi||mt(i,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=G("a",t+"-toggle",i);o.href="#",o.title="Layers",qi?(mt(o,"click",Lt),mt(o,"click",this.expand,this)):mt(o,"focus",this.expand,this),e||this.expand(),this._baseLayersList=G("div",t+"-base",n),this._separator=G("div",t+"-separator",n),this._overlaysList=G("div",t+"-overlays",n),i.appendChild(n)},_getLayer:function(t){for(var i=0;i<this._layers.length;i++)if(this._layers[i]&&n(this._layers[i].layer)===t)return this._layers[i]},_addLayer:function(t,i,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:i,overlay:n}),this.options.sortLayers&&this._layers.sort(e(function(t,i){return this.options.sortFunction(t.layer,i.layer,t.name,i.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Y(this._baseLayersList),Y(this._overlaysList),this._layerControlInputs=[];var t,i,e,n,o=0;for(e=0;e<this._layers.length;e++)n=this._layers[e],this._addItem(n),i=i||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&o>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=i&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(n(t.target)),e=i.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;e&&this._map.fire(e,i)},_createRadioElement:function(t,i){var e='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(i?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=e,n.firstChild},_addItem:function(t){var i,e=document.createElement("label"),o=this._map.hasLayer(t.layer);t.overlay?((i=document.createElement("input")).type="checkbox",i.className="leaflet-control-layers-selector",i.defaultChecked=o):i=this._createRadioElement("leaflet-base-layers",o),this._layerControlInputs.push(i),i.layerId=n(t.layer),mt(i,"click",this._onInputClick,this);var s=document.createElement("span");s.innerHTML=" "+t.name;var r=document.createElement("div");return e.appendChild(r),r.appendChild(i),r.appendChild(s),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){var t,i,e=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=e.length-1;s>=0;s--)t=e[s],i=this._getLayer(t.layerId).layer,t.checked?n.push(i):t.checked||o.push(i);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,i,e=this._layerControlInputs,n=this._map.getZoom(),o=e.length-1;o>=0;o--)t=e[o],i=this._getLayer(t.layerId).layer,t.disabled=void 0!==i.options.minZoom&&n<i.options.minZoom||void 0!==i.options.maxZoom&&n>i.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ce=Te.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(t){var i="leaflet-control-zoom",e=G("div",i+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,i+"-in",e,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,i+"-out",e,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),e},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,e,n,o){var s=G("a",e,n);return s.innerHTML=t,s.href="#",s.title=i,s.setAttribute("role","button"),s.setAttribute("aria-label",i),wt(s),mt(s,"click",Lt),mt(s,"click",o,this),mt(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";tt(this._zoomInButton,i),tt(this._zoomOutButton,i),(this._disabled||t._zoom===t.getMinZoom())&&Q(this._zoomOutButton,i),(this._disabled||t._zoom===t.getMaxZoom())&&Q(this._zoomInButton,i)}});be.mergeOptions({zoomControl:!0}),be.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ce,this.addControl(this.zoomControl))});var Se=Te.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i=G("div","leaflet-control-scale"),e=this.options;return this._addScales(e,"leaflet-control-scale-line",i),t.on(e.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,e){t.metric&&(this._mScale=G("div",i,e)),t.imperial&&(this._iScale=G("div",i,e))},_update:function(){var t=this._map,i=t.getSize().y/2,e=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(e)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t),e=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,e,i/t)},_updateImperial:function(t){var i,e,n,o=3.2808399*t;o>5280?(i=o/5280,e=this._getRoundNum(i),this._updateScale(this._iScale,e+" mi",e/i)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,i,e){t.style.width=Math.round(this.options.maxWidth*e)+"px",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1),e=t/i;return e=e>=10?10:e>=5?5:e>=3?3:e>=2?2:1,i*e}}),Ze=Te.extend({options:{position:"bottomright",prefix:'<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){l(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=G("div","leaflet-control-attribution"),wt(this._container);for(var i in t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var i in this._attributions)this._attributions[i]&&t.push(i);var e=[];this.options.prefix&&e.push(this.options.prefix),t.length&&e.push(t.join(", ")),this._container.innerHTML=e.join(" | ")}}});be.mergeOptions({attributionControl:!0}),be.addInitHook(function(){this.options.attributionControl&&(new Ze).addTo(this)});Te.Layers=Me,Te.Zoom=Ce,Te.Scale=Se,Te.Attribution=Ze,ze.layers=function(t,i,e){return new Me(t,i,e)},ze.zoom=function(t){return new Ce(t)},ze.scale=function(t){return new Se(t)},ze.attribution=function(t){return new Ze(t)};var Ee=v.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ee.addTo=function(t,i){return t.addHandler(i,this),this};var ke,Ae={Events:li},Be=qi?"touchstart mousedown":"mousedown",Ie={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},Oe={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},Re=ci.extend({options:{clickTolerance:3},initialize:function(t,i,e,n){l(this,n),this._element=t,this._dragStartTarget=i||t,this._preventOutline=e},enable:function(){this._enabled||(mt(this._dragStartTarget,Be,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Re._dragging===this&&this.finishDrag(),ft(this._dragStartTarget,Be,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!$(this._element,"leaflet-zoom-anim")&&!(Re._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(Re._dragging=this,this._preventOutline&&ct(this._element),ut(),fi(),this._moving)))){this.fire("down");var i=t.touches?t.touches[0]:t,e=dt(this._element);this._startPoint=new x(i.clientX,i.clientY),this._parentScale=pt(e),mt(document,Oe[t.type],this._onMove,this),mt(document,Ie[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var i=t.touches&&1===t.touches.length?t.touches[0]:t,e=new x(i.clientX,i.clientY)._subtract(this._startPoint);(e.x||e.y)&&(Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(e.x/=this._parentScale.x,e.y/=this._parentScale.y,Pt(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=ht(this._element).subtract(e),Q(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),Q(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,g(this._animRequest),this._lastEvent=t,this._animRequest=f(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),at(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){tt(document.body,"leaflet-dragging"),this._lastTarget&&(tt(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null);for(var t in Oe)ft(document,Oe[t],this._onMove,this),ft(document,Ie[t],this._onUp,this);lt(),gi(),this._moved&&this._moving&&(g(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,Re._dragging=!1}}),Ne=(Object.freeze||Object)({simplify:Zt,pointToSegmentDistance:Et,closestPointOnSegment:function(t,i,e){return Dt(t,i,e)},clipSegment:It,_getEdgeIntersection:Ot,_getBitCode:Rt,_sqClosestPointOnSegment:Dt,isFlat:jt,_flat:Wt}),De=(Object.freeze||Object)({clipPolygon:Ht}),je={project:function(t){return new x(t.lng,t.lat)},unproject:function(t){return new M(t.y,t.x)},bounds:new P([-180,-90],[180,90])},We={R:6378137,R_MINOR:6356752.314245179,bounds:new P([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,e=this.R,n=t.lat*i,o=this.R_MINOR/e,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-e*Math.log(Math.max(a,1e-10)),new x(t.lng*i*e,n)},unproject:function(t){for(var i,e=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,u=.1;h<15&&Math.abs(u)>1e-7;h++)i=s*Math.sin(a),i=Math.pow((1-i)/(1+i),s/2),a+=u=Math.PI/2-2*Math.atan(r*i)-a;return new M(a*e,t.x*e/n)}},He=(Object.freeze||Object)({LonLat:je,Mercator:We,SphericalMercator:mi}),Fe=i({},pi,{code:"EPSG:3395",projection:We,transformation:function(){var t=.5/(Math.PI*We.R);return Z(t,.5,-t,.5)}()}),Ue=i({},pi,{code:"EPSG:4326",projection:je,transformation:Z(1/180,1,-1/180,.5)}),Ve=i({},di,{projection:je,transformation:Z(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var e=i.lng-t.lng,n=i.lat-t.lat;return Math.sqrt(e*e+n*n)},infinite:!0});di.Earth=pi,di.EPSG3395=Fe,di.EPSG3857=yi,di.EPSG900913=xi,di.EPSG4326=Ue,di.Simple=Ve;var qe=ci.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[n(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[n(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var e=this.getEvents();i.on(e,this),this.once("remove",function(){i.off(e,this)},this)}this.onAdd(i),this.getAttribution&&i.attributionControl&&i.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),i.fire("layeradd",{layer:this})}}});be.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var i=n(t);return this._layers[i]?this:(this._layers[i]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var i=n(t);return this._layers[i]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&n(t)in this._layers},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},_addLayers:function(t){for(var i=0,e=(t=t?oi(t)?t:[t]:[]).length;i<e;i++)this.addLayer(t[i])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[n(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var i=n(t);this._zoomBoundLayers[i]&&(delete this._zoomBoundLayers[i],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,i=-1/0,e=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom)}this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=t===1/0?void 0:t,e!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ge=qe.extend({initialize:function(t,i){l(this,i),this._layers={};var e,n;if(t)for(e=0,n=t.length;e<n;e++)this.addLayer(t[e])},addLayer:function(t){var i=this.getLayerId(t);return this._layers[i]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var i=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[i]&&this._map.removeLayer(this._layers[i]),delete this._layers[i],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var i,e,n=Array.prototype.slice.call(arguments,1);for(i in this._layers)(e=this._layers[i])[t]&&e[t].apply(e,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return n(t)}}),Ke=Ge.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ge.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ge.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new T;for(var i in this._layers){var e=this._layers[i];t.extend(e.getBounds?e.getBounds():e.getLatLng())}return t}}),Ye=v.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){l(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,i){var e=this._getIconUrl(t);if(!e){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(e,i&&"IMG"===i.tagName?i:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,i){var e=this.options,n=e[i+"Size"];"number"==typeof n&&(n=[n,n]);var o=w(n),s=w("shadow"===i&&e.shadowAnchor||e.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+i+" "+(e.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,i){return i=i||document.createElement("img"),i.src=t,i},_getIconUrl:function(t){return Yi&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Xe=Ye.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Xe.imagePath||(Xe.imagePath=this._detectIconPath()),(this.options.imagePath||Xe.imagePath)+Ye.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=G("div","leaflet-default-icon-path",document.body),i=q(t,"background-image")||q(t,"backgroundImage");return document.body.removeChild(t),i=null===i||0!==i.indexOf("url")?"":i.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Je=Ee.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Re(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),Q(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&tt(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var i=this._marker,e=i._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=ht(i._icon),r=e.getPixelBounds(),a=e.getPixelOrigin(),h=b(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));if(!h.contains(s)){var u=w((Math.max(h.max.x,s.x)-h.max.x)/(r.max.x-h.max.x)-(Math.min(h.min.x,s.x)-h.min.x)/(r.min.x-h.min.x),(Math.max(h.max.y,s.y)-h.max.y)/(r.max.y-h.max.y)-(Math.min(h.min.y,s.y)-h.min.y)/(r.min.y-h.min.y)).multiplyBy(n);e.panBy(u,{animate:!1}),this._draggable._newPos._add(u),this._draggable._startPos._add(u),at(i._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=f(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(g(this._panRequest),this._panRequest=f(this._adjustPan.bind(this,t)))},_onDrag:function(t){var i=this._marker,e=i._shadow,n=ht(i._icon),o=i._map.layerPointToLatLng(n);e&&at(e,n),i._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,i.fire("move",t).fire("drag",t)},_onDragEnd:function(t){g(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),$e=qe.extend({options:{icon:new Xe,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,i){l(this,i),this._latlng=C(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var i=this._latlng;return this._latlng=C(t),this.update(),this.fire("move",{oldLatLng:i,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,i="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),e=t.icon.createIcon(this._icon),n=!1;e!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(e.title=t.title),"IMG"===e.tagName&&(e.alt=t.alt||"")),Q(e,i),t.keyboard&&(e.tabIndex="0"),this._icon=e,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=t.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(Q(o,i),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane("shadowPane").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),K(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&K(this._shadow),this._shadow=null},_setPos:function(t){at(this._icon,t),this._shadow&&at(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(i)},_initInteraction:function(){if(this.options.interactive&&(Q(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Je)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Je(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;nt(this._icon,t),this._shadow&&nt(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Qe=qe.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return l(this,t),this._renderer&&this._renderer._updateStyle(this),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),tn=Qe.extend({options:{fill:!0,radius:10},initialize:function(t,i){l(this,i),this._latlng=C(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=C(t),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var i=t&&t.radius||this._radius;return Qe.prototype.setStyle.call(this,t),this.setRadius(i),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,i=this._radiusY||t,e=this._clickTolerance(),n=[t+e,i+e];this._pxBounds=new P(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),en=tn.extend({initialize:function(t,e,n){if("number"==typeof e&&(e=i({},n,{radius:e})),l(this,e),this._latlng=C(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new T(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Qe.prototype.setStyle,_project:function(){var t=this._latlng.lng,i=this._latlng.lat,e=this._map,n=e.options.crs;if(n.distance===pi.distance){var o=Math.PI/180,s=this._mRadius/pi.R/o,r=e.project([i+s,t]),a=e.project([i-s,t]),h=r.add(a).divideBy(2),u=e.unproject(h).lat,l=Math.acos((Math.cos(s*o)-Math.sin(i*o)*Math.sin(u*o))/(Math.cos(i*o)*Math.cos(u*o)))/o;(isNaN(l)||0===l)&&(l=s/Math.cos(Math.PI/180*i)),this._point=h.subtract(e.getPixelOrigin()),this._radius=isNaN(l)?0:h.x-e.project([u,t-l]).x,this._radiusY=h.y-r.y}else{var c=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=e.latLngToLayerPoint(this._latlng),this._radius=this._point.x-e.latLngToLayerPoint(c).x}this._updateBounds()}}),nn=Qe.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,i){l(this,i),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var i,e,n=1/0,o=null,s=Dt,r=0,a=this._parts.length;r<a;r++)for(var h=this._parts[r],u=1,l=h.length;u<l;u++){var c=s(t,i=h[u-1],e=h[u],!0);c<n&&(n=c,o=s(t,i,e))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,i,e,n,o,s,r,a=this._rings[0],h=a.length;if(!h)return null;for(t=0,i=0;t<h-1;t++)i+=a[t].distanceTo(a[t+1])/2;if(0===i)return this._map.layerPointToLatLng(a[0]);for(t=0,n=0;t<h-1;t++)if(o=a[t],s=a[t+1],e=o.distanceTo(s),(n+=e)>i)return r=(n-i)/e,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,i){return i=i||this._defaultShape(),t=C(t),i.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new T,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return jt(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var i=[],e=jt(t),n=0,o=t.length;n<o;n++)e?(i[n]=C(t[n]),this._bounds.extend(i[n])):i[n]=this._convertLatLngs(t[n]);return i},_project:function(){var t=new P;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t);var i=this._clickTolerance(),e=new x(i,i);this._bounds.isValid()&&t.isValid()&&(t.min._subtract(e),t.max._add(e),this._pxBounds=t)},_projectLatlngs:function(t,i,e){var n,o,s=t[0]instanceof M,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),e.extend(o[n]);i.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],i,e)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var i,e,n,o,s,r,a,h=this._parts;for(i=0,n=0,o=this._rings.length;i<o;i++)for(e=0,s=(a=this._rings[i]).length;e<s-1;e++)(r=It(a[e],a[e+1],t,e,!0))&&(h[n]=h[n]||[],h[n].push(r[0]),r[1]===a[e+1]&&e!==s-2||(h[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,i=this.options.smoothFactor,e=0,n=t.length;e<n;e++)t[e]=Zt(t[e],i)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,i){var e,n,o,s,r,a,h=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(e=0,s=this._parts.length;e<s;e++)for(n=0,o=(r=(a=this._parts[e]).length)-1;n<r;o=n++)if((i||0!==n)&&Et(t,a[o],a[n])<=h)return!0;return!1}});nn._flat=Wt;var on=nn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,i,e,n,o,s,r,a,h,u=this._rings[0],l=u.length;if(!l)return null;for(s=r=a=0,t=0,i=l-1;t<l;i=t++)e=u[t],n=u[i],o=e.y*n.x-n.y*e.x,r+=(e.x+n.x)*o,a+=(e.y+n.y)*o,s+=3*o;return h=0===s?u[0]:[r/s,a/s],this._map.layerPointToLatLng(h)},_convertLatLngs:function(t){var i=nn.prototype._convertLatLngs.call(this,t),e=i.length;return e>=2&&i[0]instanceof M&&i[0].equals(i[e-1])&&i.pop(),i},_setLatLngs:function(t){nn.prototype._setLatLngs.call(this,t),jt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return jt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,e=new x(i,i);if(t=new P(t.min.subtract(e),t.max.add(e)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o<s;o++)(n=Ht(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var i,e,n,o,s,r,a,h,u=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(h=(i=this._parts[o]).length)-1;s<h;r=s++)e=i[s],n=i[r],e.y>t.y!=n.y>t.y&&t.x<(n.x-e.x)*(t.y-e.y)/(n.y-e.y)+e.x&&(u=!u);return u||nn.prototype._containsPoint.call(this,t,!0)}}),sn=Ke.extend({initialize:function(t,i){l(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i,e,n,o=oi(t)?t:t.features;if(o){for(i=0,e=o.length;i<e;i++)((n=o[i]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=Ft(t,s);return r?(r.feature=Yt(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(t){return this.eachLayer(function(i){this._setLayerStyle(i,t)},this)},_setLayerStyle:function(t,i){"function"==typeof i&&(i=i(t.feature)),t.setStyle&&t.setStyle(i)}}),rn={toGeoJSON:function(t){return Kt(this,{type:"Point",coordinates:qt(this.getLatLng(),t)})}};$e.include(rn),en.include(rn),tn.include(rn),nn.include({toGeoJSON:function(t){var i=!jt(this._latlngs),e=Gt(this._latlngs,i?1:0,!1,t);return Kt(this,{type:(i?"Multi":"")+"LineString",coordinates:e})}}),on.include({toGeoJSON:function(t){var i=!jt(this._latlngs),e=i&&!jt(this._latlngs[0]),n=Gt(this._latlngs,e?2:i?1:0,!0,t);return i||(n=[n]),Kt(this,{type:(e?"Multi":"")+"Polygon",coordinates:n})}}),Ge.include({toMultiPoint:function(t){var i=[];return this.eachLayer(function(e){i.push(e.toGeoJSON(t).geometry.coordinates)}),Kt(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===i)return this.toMultiPoint(t);var e="GeometryCollection"===i,n=[];return this.eachLayer(function(i){if(i.toGeoJSON){var o=i.toGeoJSON(t);if(e)n.push(o.geometry);else{var s=Yt(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}}),e?Kt(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var an=Xt,hn=qe.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,e){this._url=t,this._bounds=z(i),l(this,e)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Q(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){K(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&X(this._image),this},bringToBack:function(){return this._map&&J(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=z(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,i=this._image=t?this._url:G("img");Q(i,"leaflet-image-layer"),this._zoomAnimated&&Q(i,"leaflet-zoom-animated"),this.options.className&&Q(i,this.options.className),i.onselectstart=r,i.onmousemove=r,i.onload=e(this.fire,this,"load"),i.onerror=e(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=i.src:(i.src=this._url,i.alt=this.options.alt)},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),e=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;rt(this._image,e,i)},_reset:function(){var t=this._image,i=new P(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),e=i.getSize();at(t,i.min),t.style.width=e.x+"px",t.style.height=e.y+"px"},_updateOpacity:function(){nt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),un=hn.extend({options:{autoplay:!0,loop:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,i=this._image=t?this._url:G("video");if(Q(i,"leaflet-image-layer"),this._zoomAnimated&&Q(i,"leaflet-zoom-animated"),i.onselectstart=r,i.onmousemove=r,i.onloadeddata=e(this.fire,this,"load"),t){for(var n=i.getElementsByTagName("source"),o=[],s=0;s<n.length;s++)o.push(n[s].src);this._url=n.length>0?o:[i.src]}else{oi(this._url)||(this._url=[this._url]),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop;for(var a=0;a<this._url.length;a++){var h=G("source");h.src=this._url[a],i.appendChild(h)}}}}),ln=qe.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,i){l(this,t),this._source=i},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&nt(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&nt(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(nt(this._container,0),this._removeTimeout=setTimeout(e(K,void 0,this._container),200)):K(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=C(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&X(this._container),this},bringToBack:function(){return this._map&&J(this._container),this},_updateContent:function(){if(this._content){var t=this._contentNode,i="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof i)t.innerHTML=i;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(i)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),i=w(this.options.offset),e=this._getAnchor();this._zoomAnimated?at(this._container,t.add(e)):i=i.add(t).add(e);var n=this._containerBottom=-i.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+i.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),cn=ln.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){ln.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Qe||this._source.on("preclick",yt))},onRemove:function(t){ln.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Qe||this._source.off("preclick",yt))},getEvents:function(){var t=ln.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",i=this._container=G("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),e=this._wrapper=G("div",t+"-content-wrapper",i);if(this._contentNode=G("div",t+"-content",e),wt(e),xt(this._contentNode),mt(e,"contextmenu",yt),this._tipContainer=G("div",t+"-tip-container",i),this._tip=G("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=G("a",t+"-close-button",i);n.href="#close",n.innerHTML="&#215;",mt(n,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,i=t.style;i.width="",i.whiteSpace="nowrap";var e=t.offsetWidth;e=Math.min(e,this.options.maxWidth),e=Math.max(e,this.options.minWidth),i.width=e+1+"px",i.whiteSpace="",i.height="";var n=t.offsetHeight,o=this.options.maxHeight;o&&n>o?(i.height=o+"px",Q(t,"leaflet-popup-scrolled")):tt(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();at(this._container,i.add(e))},_adjustPan:function(){if(!(!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress)){var t=this._map,i=parseInt(q(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+i,n=this._containerWidth,o=new x(this._containerLeft,-e-this._containerBottom);o._add(ht(this._container));var s=t.layerPointToContainerPoint(o),r=w(this.options.autoPanPadding),a=w(this.options.autoPanPaddingTopLeft||r),h=w(this.options.autoPanPaddingBottomRight||r),u=t.getSize(),l=0,c=0;s.x+n+h.x>u.x&&(l=s.x+n-u.x+h.x),s.x-l-a.x<0&&(l=s.x-a.x),s.y+e+h.y>u.y&&(c=s.y+e-u.y+h.y),s.y-c-a.y<0&&(c=s.y-a.y),(l||c)&&t.fire("autopanstart").panBy([l,c])}},_onCloseButtonClick:function(t){this._close(),Lt(t)},_getAnchor:function(){return w(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});be.mergeOptions({closePopupOnClick:!0}),be.include({openPopup:function(t,i,e){return t instanceof cn||(t=new cn(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),qe.include({bindPopup:function(t,i){return t instanceof cn?(l(t,i),this._popup=t,t._source=this):(this._popup&&!i||(this._popup=new cn(i,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,i){if(t instanceof qe||(i=t,t=this),t instanceof Ke)for(var e in this._layers){t=this._layers[e];break}return i||(i=t.getCenter?t.getCenter():t.getLatLng()),this._popup&&this._map&&(this._popup._source=t,this._popup.update(),this._map.openPopup(this._popup,i)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var i=t.layer||t.target;this._popup&&this._map&&(Lt(t),i instanceof Qe?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===i?this.closePopup():this.openPopup(i,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var _n=ln.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){ln.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){ln.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=ln.prototype.getEvents.call(this);return qi&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=G("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i=this._map,e=this._container,n=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,r=e.offsetWidth,a=e.offsetHeight,h=w(this.options.offset),u=this._getAnchor();"top"===s?t=t.add(w(-r/2+h.x,-a+h.y+u.y,!0)):"bottom"===s?t=t.subtract(w(r/2-h.x,-h.y,!0)):"center"===s?t=t.subtract(w(r/2+h.x,a/2-u.y+h.y,!0)):"right"===s||"auto"===s&&o.x<n.x?(s="right",t=t.add(w(h.x+u.x,u.y-a/2+h.y,!0))):(s="left",t=t.subtract(w(r+u.x-h.x,a/2-u.y-h.y,!0))),tt(e,"leaflet-tooltip-right"),tt(e,"leaflet-tooltip-left"),tt(e,"leaflet-tooltip-top"),tt(e,"leaflet-tooltip-bottom"),Q(e,"leaflet-tooltip-"+s),at(e,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&nt(this._container,t)},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(i)},_getAnchor:function(){return w(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});be.include({openTooltip:function(t,i,e){return t instanceof _n||(t=new _n(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),qe.include({bindTooltip:function(t,i){return t instanceof _n?(l(t,i),this._tooltip=t,t._source=this):(this._tooltip&&!i||(this._tooltip=new _n(i,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var i=t?"off":"on",e={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?e.add=this._openTooltip:(e.mouseover=this._openTooltip,e.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(e.mousemove=this._moveTooltip),qi&&(e.click=this._openTooltip)),this[i](e),this._tooltipHandlersAdded=!t}},openTooltip:function(t,i){if(t instanceof qe||(i=t,t=this),t instanceof Ke)for(var e in this._layers){t=this._layers[e];break}return i||(i=t.getCenter?t.getCenter():t.getLatLng()),this._tooltip&&this._map&&(this._tooltip._source=t,this._tooltip.update(),this._map.openTooltip(this._tooltip,i),this._tooltip.options.interactive&&this._tooltip._container&&(Q(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(tt(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var i=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(i,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var i,e,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(i=this._map.mouseEventToContainerPoint(t.originalEvent),e=this._map.containerPointToLayerPoint(i),n=this._map.layerPointToLatLng(e)),this._tooltip.setLatLng(n)}});var dn=Ye.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var i=t&&"DIV"===t.tagName?t:document.createElement("div"),e=this.options;if(i.innerHTML=!1!==e.html?e.html:"",e.bgPos){var n=w(e.bgPos);i.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(i,"icon"),i},createShadow:function(){return null}});Ye.Default=Xe;var pn=qe.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Wi,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){l(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),K(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(X(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(J(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof x?t:new x(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var i,e=this.getPane().children,n=-t(-1/0,1/0),o=0,s=e.length;o<s;o++)i=e[o].style.zIndex,e[o]!==this._container&&i&&(n=t(n,+i));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Li){nt(this._container,this.options.opacity);var t=+new Date,i=!1,e=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var s=Math.min(1,(t-o.loaded)/200);nt(o.el,s),s<1?i=!0:(o.active?e=!0:this._onOpaqueTile(o),o.active=!0)}}e&&!this._noPrune&&this._pruneTiles(),i&&(g(this._fadeFrame),this._fadeFrame=f(this._updateOpacity,this))}},_onOpaqueTile:r,_initContainer:function(){this._container||(this._container=G("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,i=this.options.maxZoom;if(void 0!==t){for(var e in this._levels)this._levels[e].el.children.length||e===t?(this._levels[e].el.style.zIndex=i-Math.abs(t-e),this._onUpdateLevel(e)):(K(this._levels[e].el),this._removeTilesAtZoom(e),this._onRemoveLevel(e),delete this._levels[e]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=G("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=i,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:r,_onRemoveLevel:r,_onCreateLevel:r,_pruneTiles:function(){if(this._map){var t,i,e=this._map.getZoom();if(e>this.options.maxZoom||e<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(i=this._tiles[t]).retain=i.current;for(t in this._tiles)if((i=this._tiles[t]).current&&!i.active){var n=i.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var i in this._tiles)this._tiles[i].coords.z===t&&this._removeTile(i)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)K(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,i,e,n){var o=Math.floor(t/2),s=Math.floor(i/2),r=e-1,a=new x(+o,+s);a.z=+r;var h=this._tileCoordsToKey(a),u=this._tiles[h];return u&&u.active?(u.retain=!0,!0):(u&&u.loaded&&(u.retain=!0),r>n&&this._retainParent(o,s,r,n))},_retainChildren:function(t,i,e,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*i;s<2*i+2;s++){var r=new x(o,s);r.z=e+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),e+1<n&&this._retainChildren(o,s,e+1,n))}},_resetView:function(t){var i=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),i,i)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var i=this.options;return void 0!==i.minNativeZoom&&t<i.minNativeZoom?i.minNativeZoom:void 0!==i.maxNativeZoom&&i.maxNativeZoom<t?i.maxNativeZoom:t},_setView:function(t,i,e,n){var o=this._clampZoom(Math.round(i));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),e||this._pruneTiles(),this._noPrune=!!e),this._setZoomTransforms(t,i)},_setZoomTransforms:function(t,i){for(var e in this._levels)this._setZoomTransform(this._levels[e],t,i)},_setZoomTransform:function(t,i,e){var n=this._map.getZoomScale(e,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(i,e)).round();ji?rt(t.el,o,n):at(t.el,o)},_resetGrid:function(){var t=this._map,i=t.options.crs,e=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=i.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,i.wrapLng[0]],n).x/e.x),Math.ceil(t.project([0,i.wrapLng[1]],n).x/e.y)],this._wrapY=i.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([i.wrapLat[0],0],n).y/e.x),Math.ceil(t.project([i.wrapLat[1],0],n).y/e.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var i=this._map,e=i._animatingZoom?Math.max(i._animateToZoom,i.getZoom()):i.getZoom(),n=i.getZoomScale(e,this._tileZoom),o=i.project(t,this._tileZoom).floor(),s=i.getSize().divideBy(2*n);return new P(o.subtract(s),o.add(s))},_update:function(t){var i=this._map;if(i){var e=this._clampZoom(i.getZoom());if(void 0===t&&(t=i.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=this.options.keepBuffer,h=new P(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var u in this._tiles){var l=this._tiles[u].coords;l.z===this._tileZoom&&h.contains(new x(l.x,l.y))||(this._tiles[u].current=!1)}if(Math.abs(e-this._tileZoom)>1)this._setView(t,e);else{for(var c=o.min.y;c<=o.max.y;c++)for(var _=o.min.x;_<=o.max.x;_++){var d=new x(_,c);if(d.z=this._tileZoom,this._isValidTile(d)){var p=this._tiles[this._tileCoordsToKey(d)];p?p.current=!0:r.push(d)}}if(r.sort(function(t,i){return t.distanceTo(s)-i.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(_=0;_<r.length;_++)this._addTile(r[_],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var i=this._map.options.crs;if(!i.infinite){var e=this._globalTileRange;if(!i.wrapLng&&(t.x<e.min.x||t.x>e.max.x)||!i.wrapLat&&(t.y<e.min.y||t.y>e.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return z(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,e=this.getTileSize(),n=t.scaleBy(e),o=n.add(e);return[i.unproject(n,t.z),i.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),e=new T(i[0],i[1]);return this.options.noWrap||(e=this._map.wrapLatLngBounds(e)),e},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=t.split(":"),e=new x(+i[0],+i[1]);return e.z=+i[2],e},_removeTile:function(t){var i=this._tiles[t];i&&(K(i.el),delete this._tiles[t],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){Q(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px",t.style.height=i.y+"px",t.onselectstart=r,t.onmousemove=r,Li&&this.options.opacity<1&&nt(t,this.options.opacity),zi&&!Mi&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,i){var n=this._getTilePos(t),o=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),e(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&f(e(this._tileReady,this,t,null,s)),at(s,n),this._tiles[o]={el:s,coords:t,current:!0},i.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})},_tileReady:function(t,i,n){i&&this.fire("tileerror",{error:i,tile:n,coords:t});var o=this._tileCoordsToKey(t);(n=this._tiles[o])&&(n.loaded=+new Date,this._map._fadeAnimated?(nt(n.el,0),g(this._fadeFrame),this._fadeFrame=f(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),i||(Q(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Li||!this._map._fadeAnimated?f(this._pruneTiles,this):setTimeout(e(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new x(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new P(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),mn=pn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,i){this._url=t,(i=l(this,i)).detectRetina&&Yi&&i.maxZoom>0&&(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom++):(i.zoomOffset++,i.maxZoom--),i.minZoom=Math.max(0,i.minZoom)),"string"==typeof i.subdomains&&(i.subdomains=i.subdomains.split("")),zi||this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){return this._url=t,i||this.redraw(),this},createTile:function(t,i){var n=document.createElement("img");return mt(n,"load",e(this._tileOnLoad,this,i,n)),mt(n,"error",e(this._tileOnError,this,i,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:Yi?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e["-y"]=n}return _(this._url,i(e,this.options))},_tileOnLoad:function(t,i){Li?setTimeout(e(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,e){var n=this.options.errorTileUrl;n&&i.getAttribute("src")!==n&&(i.src=n),t(e,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom,e=this.options.zoomReverse,n=this.options.zoomOffset;return e&&(t=i-t),t+n},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((i=this._tiles[t].el).onload=r,i.onerror=r,i.complete||(i.src=si,K(i),delete this._tiles[t]))},_removeTile:function(t){var i=this._tiles[t];if(i)return Si||i.el.setAttribute("src",si),pn.prototype._removeTile.call(this,t)},_tileReady:function(t,i,e){if(this._map&&(!e||e.getAttribute("src")!==si))return pn.prototype._tileReady.call(this,t,i,e)}}),fn=mn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var s=(e=l(this,e)).detectRetina&&Yi?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code,mn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),e=this._crs,n=b(e.project(i[0]),e.project(i[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===Ue?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=mn.prototype.getTileUrl.call(this,t);return a+c(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});mn.WMS=fn,Jt.wms=function(t,i){return new fn(t,i)};var gn=qe.extend({options:{padding:.1,tolerance:0},initialize:function(t){l(this,t),n(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&Q(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var e=this._map.getZoomScale(i,this._zoom),n=ht(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,i),r=this._map.project(t,i).subtract(s),a=o.multiplyBy(-e).add(n).add(o).subtract(r);ji?rt(this._container,a,e):at(this._container,a)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,i=this._map.getSize(),e=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new P(e,e.add(i.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),vn=gn.extend({getEvents:function(){var t=gn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){gn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");mt(t,"mousemove",o(this._onMouseMove,32,this),this),mt(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),mt(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){g(this._redrawRequest),delete this._ctx,K(this._container),ft(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){this._redrawBounds=null;for(var t in this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){this._drawnLayers={},gn.prototype._update.call(this);var t=this._bounds,i=this._container,e=t.getSize(),n=Yi?2:1;at(i,t.min),i.width=n*e.x,i.height=n*e.y,i.style.width=e.x+"px",i.style.height=e.y+"px",Yi&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){gn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[n(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order,e=i.next,o=i.prev;e?e.prev=o:this._drawLast=o,o?o.next=e:this._drawFirst=e,delete this._drawnLayers[t._leaflet_id],delete t._order,delete this._layers[n(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var i,e=t.options.dashArray.split(/[, ]+/),n=[];for(i=0;i<e.length;i++)n.push(Number(e[i]));t.options._dashArray=n}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||f(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var i=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new P,this._redrawBounds.extend(t._pxBounds.min.subtract([i,i])),this._redrawBounds.extend(t._pxBounds.max.add([i,i]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var i=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,i.x,i.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,i=this._redrawBounds;if(this._ctx.save(),i){var e=i.getSize();this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,i){if(this._drawing){var e,n,o,s,r=t._parts,a=r.length,h=this._ctx;if(a){for(this._drawnLayers[t._leaflet_id]=t,h.beginPath(),e=0;e<a;e++){for(n=0,o=r[e].length;n<o;n++)s=r[e][n],h[n?"lineTo":"moveTo"](s.x,s.y);i&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var i=t._point,e=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;this._drawnLayers[t._leaflet_id]=t,1!==o&&(e.save(),e.scale(1,o)),e.beginPath(),e.arc(i.x,i.y/o,n,0,2*Math.PI,!1),1!==o&&e.restore(),this._fillStroke(e,t)}},_fillStroke:function(t,i){var e=i.options;e.fill&&(t.globalAlpha=e.fillOpacity,t.fillStyle=e.fillColor||e.color,t.fill(e.fillRule||"evenodd")),e.stroke&&0!==e.weight&&(t.setLineDash&&t.setLineDash(i.options&&i.options._dashArray||[]),t.globalAlpha=e.opacity,t.lineWidth=e.weight,t.strokeStyle=e.color,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.stroke())},_onClick:function(t){for(var i,e,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(n)&&!this._map._draggableMoved(i)&&(e=i);e&&(zt(t),this._fireEvent([e],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var i=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,i)}},_handleMouseOut:function(t){var i=this._hoveredLayer;i&&(tt(this._container,"leaflet-interactive"),this._fireEvent([i],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,i){for(var e,n,o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(i)&&(n=e);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(Q(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,i,e){this._map._fireDOMEvent(i,e||i.type,t)},_bringToFront:function(t){var i=t._order,e=i.next,n=i.prev;e&&(e.prev=n,n?n.next=e:e&&(this._drawFirst=e),i.prev=this._drawLast,this._drawLast.next=i,i.next=null,this._drawLast=i,this._requestRedraw(t))},_bringToBack:function(t){var i=t._order,e=i.next,n=i.prev;n&&(n.next=e,e?e.prev=n:n&&(this._drawLast=n),i.prev=null,i.next=this._drawFirst,this._drawFirst.prev=i,this._drawFirst=i,this._requestRedraw(t))}}),yn=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),xn={_initContainer:function(){this._container=G("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(gn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var i=t._container=yn("shape");Q(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",t._path=yn("path"),i.appendChild(t._path),this._updateStyle(t),this._layers[n(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;K(i),t.removeInteractiveTarget(i),delete this._layers[n(t)]},_updateStyle:function(t){var i=t._stroke,e=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(i||(i=t._stroke=yn("stroke")),o.appendChild(i),i.weight=n.weight+"px",i.color=n.color,i.opacity=n.opacity,n.dashArray?i.dashStyle=oi(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):i.dashStyle="",i.endcap=n.lineCap.replace("butt","flat"),i.joinstyle=n.lineJoin):i&&(o.removeChild(i),t._stroke=null),n.fill?(e||(e=t._fill=yn("fill")),o.appendChild(e),e.color=n.fillColor||n.color,e.opacity=n.fillOpacity):e&&(o.removeChild(e),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),e=Math.round(t._radius),n=Math.round(t._radiusY||e);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+e+","+n+" 0,23592600")},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){X(t._container)},_bringToBack:function(t){J(t._container)}},wn=$i?yn:E,Pn=gn.extend({getEvents:function(){var t=gn.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=wn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=wn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){K(this._container),ft(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){gn.prototype._update.call(this);var t=this._bounds,i=t.getSize(),e=this._container;this._svgSize&&this._svgSize.equals(i)||(this._svgSize=i,e.setAttribute("width",i.x),e.setAttribute("height",i.y)),at(e,t.min),e.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(t){var i=t._path=wn("path");t.options.className&&Q(i,t.options.className),t.options.interactive&&Q(i,"leaflet-interactive"),this._updateStyle(t),this._layers[n(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){K(t._path),t.removeInteractiveTarget(t._path),delete this._layers[n(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path,e=t.options;i&&(e.stroke?(i.setAttribute("stroke",e.color),i.setAttribute("stroke-opacity",e.opacity),i.setAttribute("stroke-width",e.weight),i.setAttribute("stroke-linecap",e.lineCap),i.setAttribute("stroke-linejoin",e.lineJoin),e.dashArray?i.setAttribute("stroke-dasharray",e.dashArray):i.removeAttribute("stroke-dasharray"),e.dashOffset?i.setAttribute("stroke-dashoffset",e.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),e.fill?(i.setAttribute("fill",e.fillColor||e.color),i.setAttribute("fill-opacity",e.fillOpacity),i.setAttribute("fill-rule",e.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(t,i){this._setPath(t,k(t._parts,i))},_updateCircle:function(t){var i=t._point,e=Math.max(Math.round(t._radius),1),n="a"+e+","+(Math.max(Math.round(t._radiusY),1)||e)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(i.x-e)+","+i.y+n+2*e+",0 "+n+2*-e+",0 ";this._setPath(t,o)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){X(t._path)},_bringToBack:function(t){J(t._path)}});$i&&Pn.include(xn),be.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var i=this._paneRenderers[t];return void 0===i&&(i=this._createRenderer({pane:t}),this._paneRenderers[t]=i),i},_createRenderer:function(t){return this.options.preferCanvas&&$t(t)||Qt(t)}});var Ln=on.extend({initialize:function(t,i){on.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=z(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});Pn.create=wn,Pn.pointsToPath=k,sn.geometryToLayer=Ft,sn.coordsToLatLng=Ut,sn.coordsToLatLngs=Vt,sn.latLngToCoords=qt,sn.latLngsToCoords=Gt,sn.getFeature=Kt,sn.asFeature=Yt,be.mergeOptions({boxZoom:!0});var bn=Ee.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){mt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ft(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){K(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),fi(),ut(),this._startPoint=this._map.mouseEventToContainerPoint(t),mt(document,{contextmenu:Lt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=G("div","leaflet-zoom-box",this._container),Q(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var i=new P(this._point,this._startPoint),e=i.getSize();at(this._box,i.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(K(this._box),tt(this._container,"leaflet-crosshair")),gi(),lt(),ft(document,{contextmenu:Lt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(e(this._resetState,this),0);var i=new T(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});be.addInitHook("addHandler","boxZoom",bn),be.mergeOptions({doubleClickZoom:!0});var Tn=Ee.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,e=i.getZoom(),n=i.options.zoomDelta,o=t.originalEvent.shiftKey?e-n:e+n;"center"===i.options.doubleClickZoom?i.setZoom(o):i.setZoomAround(t.containerPoint,o)}});be.addInitHook("addHandler","doubleClickZoom",Tn),be.mergeOptions({dragging:!0,inertia:!Mi,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var zn=Ee.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Re(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}Q(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){tt(this._map._container,"leaflet-grab"),tt(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=z(this._map.options.maxBounds);this._offsetLimit=b(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var i=this._lastTime=+new Date,e=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(e),this._times.push(i),this._prunePositions(i)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;t.x<i.min.x&&(t.x=this._viscousLimit(t.x,i.min.x)),t.y<i.min.y&&(t.y=this._viscousLimit(t.y,i.min.y)),t.x>i.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),e=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-i+e)%t+i-e,s=(n+i+e)%t-i-e,r=Math.abs(o+e)<Math.abs(s+e)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var i=this._map,e=i.options,n=!e.inertia||this._times.length<2;if(i.fire("dragend",t),n)i.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,r=e.easeLinearity,a=o.multiplyBy(r/s),h=a.distanceTo([0,0]),u=Math.min(e.inertiaMaxSpeed,h),l=a.multiplyBy(u/h),c=u/(e.inertiaDeceleration*r),_=l.multiplyBy(-c/2).round();_.x||_.y?(_=i._limitOffset(_,i.options.maxBounds),f(function(){i.panBy(_,{duration:c,easeLinearity:r,noMoveStart:!0,animate:!0})})):i.fire("moveend")}}});be.addInitHook("addHandler","dragging",zn),be.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Mn=Ee.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),mt(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),ft(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,i=document.documentElement,e=t.scrollTop||i.scrollTop,n=t.scrollLeft||i.scrollLeft;this._map._container.focus(),window.scrollTo(n,e)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var i,e,n=this._panKeys={},o=this.keyCodes;for(i=0,e=o.left.length;i<e;i++)n[o.left[i]]=[-1*t,0];for(i=0,e=o.right.length;i<e;i++)n[o.right[i]]=[t,0];for(i=0,e=o.down.length;i<e;i++)n[o.down[i]]=[0,t];for(i=0,e=o.up.length;i<e;i++)n[o.up[i]]=[0,-1*t]},_setZoomDelta:function(t){var i,e,n=this._zoomKeys={},o=this.keyCodes;for(i=0,e=o.zoomIn.length;i<e;i++)n[o.zoomIn[i]]=t;for(i=0,e=o.zoomOut.length;i<e;i++)n[o.zoomOut[i]]=-t},_addHooks:function(){mt(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ft(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var i,e=t.keyCode,n=this._map;if(e in this._panKeys)n._panAnim&&n._panAnim._inProgress||(i=this._panKeys[e],t.shiftKey&&(i=w(i).multiplyBy(3)),n.panBy(i),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(e in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[e]);else{if(27!==e||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Lt(t)}}});be.addInitHook("addHandler","keyboard",Mn),be.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Cn=Ee.extend({addHooks:function(){mt(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){ft(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var i=Tt(t),n=this._map.options.wheelDebounceTime;this._delta+=i,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var o=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(e(this._performZoom,this),o),Lt(t)},_performZoom:function(){var t=this._map,i=t.getZoom(),e=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=e?Math.ceil(o/e)*e:o,r=t._limitZoom(i+(this._delta>0?s:-s))-i;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(i+r):t.setZoomAround(this._lastMousePos,i+r))}});be.addInitHook("addHandler","scrollWheelZoom",Cn),be.mergeOptions({tap:!0,tapTolerance:15});var Sn=Ee.extend({addHooks:function(){mt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ft(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Pt(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var i=t.touches[0],n=i.target;this._startPos=this._newPos=new x(i.clientX,i.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&Q(n,"leaflet-active"),this._holdTimeout=setTimeout(e(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",i))},this),1e3),this._simulateEvent("mousedown",i),mt(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),ft(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var i=t.changedTouches[0],e=i.target;e&&e.tagName&&"a"===e.tagName.toLowerCase()&&tt(e,"leaflet-active"),this._simulateEvent("mouseup",i),this._isTapValid()&&this._simulateEvent("click",i)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var i=t.touches[0];this._newPos=new x(i.clientX,i.clientY),this._simulateEvent("mousemove",i)},_simulateEvent:function(t,i){var e=document.createEvent("MouseEvents");e._simulated=!0,i.target._simulatedClick=!0,e.initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),i.target.dispatchEvent(e)}});qi&&!Vi&&be.addInitHook("addHandler","tap",Sn),be.mergeOptions({touchZoom:qi&&!Mi,bounceAtZoomLimits:!0});var Zn=Ee.extend({addHooks:function(){Q(this._map._container,"leaflet-touch-zoom"),mt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){tt(this._map._container,"leaflet-touch-zoom"),ft(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),"center"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(e.add(n)._divideBy(2))),this._startDist=e.distanceTo(n),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),mt(document,"touchmove",this._onTouchMove,this),mt(document,"touchend",this._onTouchEnd,this),Pt(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var i=this._map,n=i.mouseEventToContainerPoint(t.touches[0]),o=i.mouseEventToContainerPoint(t.touches[1]),s=n.distanceTo(o)/this._startDist;if(this._zoom=i.getScaleZoom(s,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoom<i.getMinZoom()&&s<1||this._zoom>i.getMaxZoom()&&s>1)&&(this._zoom=i._limitZoom(this._zoom)),"center"===i.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=n._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),g(this._animRequest);var a=e(i._move,i,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=f(a,this,!0),Pt(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,g(this._animRequest),ft(document,"touchmove",this._onTouchMove),ft(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});be.addInitHook("addHandler","touchZoom",Zn),be.BoxZoom=bn,be.DoubleClickZoom=Tn,be.Drag=zn,be.Keyboard=Mn,be.ScrollWheelZoom=Cn,be.Tap=Sn,be.TouchZoom=Zn,Object.freeze=ti,t.version="1.3.4",t.Control=Te,t.control=ze,t.Browser=Qi,t.Evented=ci,t.Mixin=Ae,t.Util=ui,t.Class=v,t.Handler=Ee,t.extend=i,t.bind=e,t.stamp=n,t.setOptions=l,t.DomEvent=Pe,t.DomUtil=ve,t.PosAnimation=Le,t.Draggable=Re,t.LineUtil=Ne,t.PolyUtil=De,t.Point=x,t.point=w,t.Bounds=P,t.bounds=b,t.Transformation=S,t.transformation=Z,t.Projection=He,t.LatLng=M,t.latLng=C,t.LatLngBounds=T,t.latLngBounds=z,t.CRS=di,t.GeoJSON=sn,t.geoJSON=Xt,t.geoJson=an,t.Layer=qe,t.LayerGroup=Ge,t.layerGroup=function(t,i){return new Ge(t,i)},t.FeatureGroup=Ke,t.featureGroup=function(t){return new Ke(t)},t.ImageOverlay=hn,t.imageOverlay=function(t,i,e){return new hn(t,i,e)},t.VideoOverlay=un,t.videoOverlay=function(t,i,e){return new un(t,i,e)},t.DivOverlay=ln,t.Popup=cn,t.popup=function(t,i){return new cn(t,i)},t.Tooltip=_n,t.tooltip=function(t,i){return new _n(t,i)},t.Icon=Ye,t.icon=function(t){return new Ye(t)},t.DivIcon=dn,t.divIcon=function(t){return new dn(t)},t.Marker=$e,t.marker=function(t,i){return new $e(t,i)},t.TileLayer=mn,t.tileLayer=Jt,t.GridLayer=pn,t.gridLayer=function(t){return new pn(t)},t.SVG=Pn,t.svg=Qt,t.Renderer=gn,t.Canvas=vn,t.canvas=$t,t.Path=Qe,t.CircleMarker=tn,t.circleMarker=function(t,i){return new tn(t,i)},t.Circle=en,t.circle=function(t,i,e){return new en(t,i,e)},t.Polyline=nn,t.polyline=function(t,i){return new nn(t,i)},t.Polygon=on,t.polygon=function(t,i){return new on(t,i)},t.Rectangle=Ln,t.rectangle=function(t,i){return new Ln(t,i)},t.Map=be,t.map=function(t,i){return new be(t,i)};var En=window.L;t.noConflict=function(){return window.L=En,this},window.L=t});
} catch (e) {
console.error('Error in file:https://unpkg.com/leaflet@1.3.4/dist/leaflet.js; Error:' + e.message);
};
try {
// Magnific Popup v1.0.0 by Dmitry Semenov
// http://bit.ly/magnific-popup#build=inline+image+ajax+iframe+gallery+retina+imagezoom+fastclick
(function(a){typeof define=="function"&&define.amd?define(["jquery"],a):typeof exports=="object"?a(require("jquery")):a(window.jQuery||window.Zepto)})(function(a){var b="Close",c="BeforeClose",d="AfterClose",e="BeforeAppend",f="MarkupParse",g="Open",h="Change",i="mfp",j="."+i,k="mfp-ready",l="mfp-removing",m="mfp-prevent-close",n,o=function(){},p=!!window.jQuery,q,r=a(window),s,t,u,v,w=function(a,b){n.ev.on(i+a+j,b)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(b,c){n.ev.triggerHandler(i+b,c),n.st.callbacks&&(b=b.charAt(0).toLowerCase()+b.slice(1),n.st.callbacks[b]&&n.st.callbacks[b].apply(n,a.isArray(c)?c:[c]))},z=function(b){if(b!==v||!n.currTemplate.closeBtn)n.currTemplate.closeBtn=a(n.st.closeMarkup.replace("%title%",n.st.tClose)),v=b;return n.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(n=new o,n.init(),a.magnificPopup.instance=n)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(a.transition!==undefined)return!0;while(b.length)if(b.pop()+"Transition"in a)return!0;return!1};o.prototype={constructor:o,init:function(){var b=navigator.appVersion;n.isIE7=b.indexOf("MSIE 7.")!==-1,n.isIE8=b.indexOf("MSIE 8.")!==-1,n.isLowIE=n.isIE7||n.isIE8,n.isAndroid=/android/gi.test(b),n.isIOS=/iphone|ipad|ipod/gi.test(b),n.supportsTransition=B(),n.probablyMobile=n.isAndroid||n.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),s=a(document),n.popupsCache={}},open:function(b){var c;if(b.isObj===!1){n.items=b.items.toArray(),n.index=0;var d=b.items,e;for(c=0;c<d.length;c++){e=d[c],e.parsed&&(e=e.el[0]);if(e===b.el[0]){n.index=c;break}}}else n.items=a.isArray(b.items)?b.items:[b.items],n.index=b.index||0;if(n.isOpen){n.updateItemHTML();return}n.types=[],u="",b.mainEl&&b.mainEl.length?n.ev=b.mainEl.eq(0):n.ev=s,b.key?(n.popupsCache[b.key]||(n.popupsCache[b.key]={}),n.currTemplate=n.popupsCache[b.key]):n.currTemplate={},n.st=a.extend(!0,{},a.magnificPopup.defaults,b),n.fixedContentPos=n.st.fixedContentPos==="auto"?!n.probablyMobile:n.st.fixedContentPos,n.st.modal&&(n.st.closeOnContentClick=!1,n.st.closeOnBgClick=!1,n.st.showCloseBtn=!1,n.st.enableEscapeKey=!1),n.bgOverlay||(n.bgOverlay=x("bg").on("click"+j,function(){n.close()}),n.wrap=x("wrap").attr("tabindex",-1).on("click"+j,function(a){n._checkIfClose(a.target)&&n.close()}),n.container=x("container",n.wrap)),n.contentContainer=x("content"),n.st.preloader&&(n.preloader=x("preloader",n.container,n.st.tLoading));var h=a.magnificPopup.modules;for(c=0;c<h.length;c++){var i=h[c];i=i.charAt(0).toUpperCase()+i.slice(1),n["init"+i].call(n)}y("BeforeOpen"),n.st.showCloseBtn&&(n.st.closeBtnInside?(w(f,function(a,b,c,d){c.close_replaceWith=z(d.type)}),u+=" mfp-close-btn-in"):n.wrap.append(z())),n.st.alignTop&&(u+=" mfp-align-top"),n.fixedContentPos?n.wrap.css({overflow:n.st.overflowY,overflowX:"hidden",overflowY:n.st.overflowY}):n.wrap.css({top:r.scrollTop(),position:"absolute"}),(n.st.fixedBgPos===!1||n.st.fixedBgPos==="auto"&&!n.fixedContentPos)&&n.bgOverlay.css({height:s.height(),position:"absolute"}),n.st.enableEscapeKey&&s.on("keyup"+j,function(a){a.keyCode===27&&n.close()}),r.on("resize"+j,function(){n.updateSize()}),n.st.closeOnContentClick||(u+=" mfp-auto-cursor"),u&&n.wrap.addClass(u);var l=n.wH=r.height(),m={};if(n.fixedContentPos&&n._hasScrollBar(l)){var o=n._getScrollbarSize();o&&(m.marginRight=o)}n.fixedContentPos&&(n.isIE7?a("body, html").css("overflow","hidden"):m.overflow="hidden");var p=n.st.mainClass;return n.isIE7&&(p+=" mfp-ie7"),p&&n._addClassToMFP(p),n.updateItemHTML(),y("BuildControls"),a("html").css(m),n.bgOverlay.add(n.wrap).prependTo(n.st.prependTo||a(document.body)),n._lastFocusedEl=document.activeElement,setTimeout(function(){n.content?(n._addClassToMFP(k),n._setFocus()):n.bgOverlay.addClass(k),s.on("focusin"+j,n._onFocusIn)},16),n.isOpen=!0,n.updateSize(l),y(g),b},close:function(){if(!n.isOpen)return;y(c),n.isOpen=!1,n.st.removalDelay&&!n.isLowIE&&n.supportsTransition?(n._addClassToMFP(l),setTimeout(function(){n._close()},n.st.removalDelay)):n._close()},_close:function(){y(b);var c=l+" "+k+" ";n.bgOverlay.detach(),n.wrap.detach(),n.container.empty(),n.st.mainClass&&(c+=n.st.mainClass+" "),n._removeClassFromMFP(c);if(n.fixedContentPos){var e={marginRight:""};n.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}s.off("keyup"+j+" focusin"+j),n.ev.off(j),n.wrap.attr("class","mfp-wrap").removeAttr("style"),n.bgOverlay.attr("class","mfp-bg"),n.container.attr("class","mfp-container"),n.st.showCloseBtn&&(!n.st.closeBtnInside||n.currTemplate[n.currItem.type]===!0)&&n.currTemplate.closeBtn&&n.currTemplate.closeBtn.detach(),n._lastFocusedEl&&a(n._lastFocusedEl).focus(),n.currItem=null,n.content=null,n.currTemplate=null,n.prevHeight=0,y(d)},updateSize:function(a){if(n.isIOS){var b=document.documentElement.clientWidth/window.innerWidth,c=window.innerHeight*b;n.wrap.css("height",c),n.wH=c}else n.wH=a||r.height();n.fixedContentPos||n.wrap.css("height",n.wH),y("Resize")},updateItemHTML:function(){var b=n.items[n.index];n.contentContainer.detach(),n.content&&n.content.detach(),b.parsed||(b=n.parseEl(n.index));var c=b.type;y("BeforeChange",[n.currItem?n.currItem.type:"",c]),n.currItem=b;if(!n.currTemplate[c]){var d=n.st[c]?n.st[c].markup:!1;y("FirstMarkupParse",d),d?n.currTemplate[c]=a(d):n.currTemplate[c]=!0}t&&t!==b.type&&n.container.removeClass("mfp-"+t+"-holder");var e=n["get"+c.charAt(0).toUpperCase()+c.slice(1)](b,n.currTemplate[c]);n.appendContent(e,c),b.preloaded=!0,y(h,b),t=b.type,n.container.prepend(n.contentContainer),y("AfterChange")},appendContent:function(a,b){n.content=a,a?n.st.showCloseBtn&&n.st.closeBtnInside&&n.currTemplate[b]===!0?n.content.find(".mfp-close").length||n.content.append(z()):n.content=a:n.content="",y(e),n.container.addClass("mfp-"+b+"-holder"),n.contentContainer.append(n.content)},parseEl:function(b){var c=n.items[b],d;c.tagName?c={el:a(c)}:(d=c.type,c={data:c,src:c.src});if(c.el){var e=n.types;for(var f=0;f<e.length;f++)if(c.el.hasClass("mfp-"+e[f])){d=e[f];break}c.src=c.el.attr("data-mfp-src"),c.src||(c.src=c.el.attr("href"))}return c.type=d||n.st.type||"inline",c.index=b,c.parsed=!0,n.items[b]=c,y("ElementParse",c),n.items[b]},addGroup:function(a,b){var c=function(c){c.mfpEl=this,n._openClick(c,a,b)};b||(b={});var d="click.magnificPopup";b.mainEl=a,b.items?(b.isObj=!0,a.off(d).on(d,c)):(b.isObj=!1,b.delegate?a.off(d).on(d,b.delegate,c):(b.items=a,a.off(d).on(d,c)))},_openClick:function(b,c,d){var e=d.midClick!==undefined?d.midClick:a.magnificPopup.defaults.midClick;if(!e&&(b.which===2||b.ctrlKey||b.metaKey))return;var f=d.disableOn!==undefined?d.disableOn:a.magnificPopup.defaults.disableOn;if(f)if(a.isFunction(f)){if(!f.call(n))return!0}else if(r.width()<f)return!0;b.type&&(b.preventDefault(),n.isOpen&&b.stopPropagation()),d.el=a(b.mfpEl),d.delegate&&(d.items=c.find(d.delegate)),n.open(d)},updateStatus:function(a,b){if(n.preloader){q!==a&&n.container.removeClass("mfp-s-"+q),!b&&a==="loading"&&(b=n.st.tLoading);var c={status:a,text:b};y("UpdateStatus",c),a=c.status,b=c.text,n.preloader.html(b),n.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),n.container.addClass("mfp-s-"+a),q=a}},_checkIfClose:function(b){if(a(b).hasClass(m))return;var c=n.st.closeOnContentClick,d=n.st.closeOnBgClick;if(c&&d)return!0;if(!n.content||a(b).hasClass("mfp-close")||n.preloader&&b===n.preloader[0])return!0;if(b!==n.content[0]&&!a.contains(n.content[0],b)){if(d&&a.contains(document,b))return!0}else if(c)return!0;return!1},_addClassToMFP:function(a){n.bgOverlay.addClass(a),n.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),n.wrap.removeClass(a)},_hasScrollBar:function(a){return(n.isIE7?s.height():document.body.scrollHeight)>(a||r.height())},_setFocus:function(){(n.st.focus?n.content.find(n.st.focus).eq(0):n.wrap).focus()},_onFocusIn:function(b){if(b.target!==n.wrap[0]&&!a.contains(n.wrap[0],b.target))return n._setFocus(),!1},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(f,[b,c,d]),a.each(c,function(a,c){if(c===undefined||c===!1)return!0;e=a.split("_");if(e.length>1){var d=b.find(j+"-"+e[0]);if(d.length>0){var f=e[1];f==="replaceWith"?d[0]!==c[0]&&d.replaceWith(c):f==="img"?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(j+"-"+a).html(c)})},_getScrollbarSize:function(){if(n.scrollbarSize===undefined){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),n.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return n.scrollbarSize}},a.magnificPopup={instance:null,proto:o.prototype,modules:[],open:function(b,c){return A(),b?b=a.extend(!0,{},b):b={},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(b){A();var c=a(this);if(typeof b=="string")if(b==="open"){var d,e=p?c.data("magnificPopup"):c[0].magnificPopup,f=parseInt(arguments[1],10)||0;e.items?d=e.items[f]:(d=c,e.delegate&&(d=d.find(e.delegate)),d=d.eq(f)),n._openClick({mfpEl:d},c,e)}else n.isOpen&&n[b].apply(n,Array.prototype.slice.call(arguments,1));else b=a.extend(!0,{},b),p?c.data("magnificPopup",b):c[0].magnificPopup=b,n.addGroup(c,b);return c};var C="inline",D,E,F,G=function(){F&&(E.after(F.addClass(D)).detach(),F=null)};a.magnificPopup.registerModule(C,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){n.types.push(C),w(b+"."+C,function(){G()})},getInline:function(b,c){G();if(b.src){var d=n.st.inline,e=a(b.src);if(e.length){var f=e[0].parentNode;f&&f.tagName&&(E||(D=d.hiddenClass,E=x(D),D="mfp-"+D),F=e.after(E).detach().removeClass(D)),n.updateStatus("ready")}else n.updateStatus("error",d.tNotFound),e=a("<div>");return b.inlineElement=e,e}return n.updateStatus("ready"),n._parseMarkup(c,{},b),c}}});var H="ajax",I,J=function(){I&&a(document.body).removeClass(I)},K=function(){J(),n.req&&n.req.abort()};a.magnificPopup.registerModule(H,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){n.types.push(H),I=n.st.ajax.cursor,w(b+"."+H,K),w("BeforeChange."+H,K)},getAjax:function(b){I&&a(document.body).addClass(I),n.updateStatus("loading");var c=a.extend({url:b.src,success:function(c,d,e){var f={data:c,xhr:e};y("ParseAjax",f),n.appendContent(a(f.data),H),b.finished=!0,J(),n._setFocus(),setTimeout(function(){n.wrap.addClass(k)},16),n.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),b.finished=b.loadError=!0,n.updateStatus("error",n.st.ajax.tError.replace("%url%",b.src))}},n.st.ajax.settings);return n.req=a.ajax(c),""}}});var L,M=function(b){if(b.data&&b.data.title!==undefined)return b.data.title;var c=n.st.image.titleSrc;if(c){if(a.isFunction(c))return c.call(n,b);if(b.el)return b.el.attr(c)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=n.st.image,d=".image";n.types.push("image"),w(g+d,function(){n.currItem.type==="image"&&c.cursor&&a(document.body).addClass(c.cursor)}),w(b+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),r.off("resize"+j)}),w("Resize"+d,n.resizeImage),n.isLowIE&&w("AfterChange",n.resizeImage)},resizeImage:function(){var a=n.currItem;if(!a||!a.img)return;if(n.st.image.verticalFit){var b=0;n.isLowIE&&(b=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",n.wH-b)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(n.content&&n.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var b=0,c=a.img[0],d=function(e){L&&clearInterval(L),L=setInterval(function(){if(c.naturalWidth>0){n._onImageHasSize(a);return}b>200&&clearInterval(L),b++,b===3?d(10):b===40?d(50):b===100&&d(500)},e)};d(1)},getImage:function(b,c){var d=0,e=function(){b&&(b.img[0].complete?(b.img.off(".mfploader"),b===n.currItem&&(n._onImageHasSize(b),n.updateStatus("ready")),b.hasSize=!0,b.loaded=!0,y("ImageLoadComplete")):(d++,d<200?setTimeout(e,100):f()))},f=function(){b&&(b.img.off(".mfploader"),b===n.currItem&&(n._onImageHasSize(b),n.updateStatus("error",g.tError.replace("%url%",b.src))),b.hasSize=!0,b.loaded=!0,b.loadError=!0)},g=n.st.image,h=c.find(".mfp-img");if(h.length){var i=document.createElement("img");i.className="mfp-img",b.el&&b.el.find("img").length&&(i.alt=b.el.find("img").attr("alt")),b.img=a(i).on("load.mfploader",e).on("error.mfploader",f),i.src=b.src,h.is("img")&&(b.img=b.img.clone()),i=b.img[0],i.naturalWidth>0?b.hasSize=!0:i.width||(b.hasSize=!1)}return n._parseMarkup(c,{title:M(b),img_replaceWith:b.img},b),n.resizeImage(),b.hasSize?(L&&clearInterval(L),b.loadError?(c.addClass("mfp-loading"),n.updateStatus("error",g.tError.replace("%url%",b.src))):(c.removeClass("mfp-loading"),n.updateStatus("ready")),c):(n.updateStatus("loading"),b.loading=!0,b.hasSize||(b.imgHidden=!0,c.addClass("mfp-loading"),n.findImageSize(b)),c)}}});var N,O=function(){return N===undefined&&(N=document.createElement("p").style.MozTransform!==undefined),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a=n.st.zoom,d=".zoom",e;if(!a.enabled||!n.supportsTransition)return;var f=a.duration,g=function(b){var c=b.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+a.duration/1e3+"s "+a.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,c.css(e),c},h=function(){n.content.css("visibility","visible")},i,j;w("BuildControls"+d,function(){if(n._allowZoom()){clearTimeout(i),n.content.css("visibility","hidden"),e=n._getItemToZoom();if(!e){h();return}j=g(e),j.css(n._getOffset()),n.wrap.append(j),i=setTimeout(function(){j.css(n._getOffset(!0)),i=setTimeout(function(){h(),setTimeout(function(){j.remove(),e=j=null,y("ZoomAnimationEnded")},16)},f)},16)}}),w(c+d,function(){if(n._allowZoom()){clearTimeout(i),n.st.removalDelay=f;if(!e){e=n._getItemToZoom();if(!e)return;j=g(e)}j.css(n._getOffset(!0)),n.wrap.append(j),n.content.css("visibility","hidden"),setTimeout(function(){j.css(n._getOffset())},16)}}),w(b+d,function(){n._allowZoom()&&(h(),j&&j.remove(),e=null)})},_allowZoom:function(){return n.currItem.type==="image"},_getItemToZoom:function(){return n.currItem.hasSize?n.currItem.img:!1},_getOffset:function(b){var c;b?c=n.currItem.img:c=n.st.zoom.opener(n.currItem.el||n.currItem);var d=c.offset(),e=parseInt(c.css("padding-top"),10),f=parseInt(c.css("padding-bottom"),10);d.top-=a(window).scrollTop()-e;var g={width:c.width(),height:(p?c.innerHeight():c[0].offsetHeight)-f-e};return O()?g["-moz-transform"]=g.transform="translate("+d.left+"px,"+d.top+"px)":(g.left=d.left,g.top=d.top),g}}});var P="iframe",Q="//about:blank",R=function(a){if(n.currTemplate[P]){var b=n.currTemplate[P].find("iframe");b.length&&(a||(b[0].src=Q),n.isIE8&&b.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){n.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(b+"."+P,function(){R()})},getIframe:function(b,c){var d=b.src,e=n.st.iframe;a.each(e.patterns,function(){if(d.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?d=d.substr(d.lastIndexOf(this.id)+this.id.length,d.length):d=this.id.call(this,d)),d=this.src.replace("%id%",d),!1});var f={};return e.srcAction&&(f[e.srcAction]=d),n._parseMarkup(c,f,b),n.updateStatus("ready"),c}}});var S=function(a){var b=n.items.length;return a>b-1?a-b:a<0?b+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=n.st.gallery,d=".mfp-gallery",e=Boolean(a.fn.mfpFastClick);n.direction=!0;if(!c||!c.enabled)return!1;u+=" mfp-gallery",w(g+d,function(){c.navigateByImgClick&&n.wrap.on("click"+d,".mfp-img",function(){if(n.items.length>1)return n.next(),!1}),s.on("keydown"+d,function(a){a.keyCode===37?n.prev():a.keyCode===39&&n.next()})}),w("UpdateStatus"+d,function(a,b){b.text&&(b.text=T(b.text,n.currItem.index,n.items.length))}),w(f+d,function(a,b,d,e){var f=n.items.length;d.counter=f>1?T(c.tCounter,e.index,f):""}),w("BuildControls"+d,function(){if(n.items.length>1&&c.arrows&&!n.arrowLeft){var b=c.arrowMarkup,d=n.arrowLeft=a(b.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(m),f=n.arrowRight=a(b.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(m),g=e?"mfpFastClick":"click";d[g](function(){n.prev()}),f[g](function(){n.next()}),n.isIE7&&(x("b",d[0],!1,!0),x("a",d[0],!1,!0),x("b",f[0],!1,!0),x("a",f[0],!1,!0)),n.container.append(d.add(f))}}),w(h+d,function(){n._preloadTimeout&&clearTimeout(n._preloadTimeout),n._preloadTimeout=setTimeout(function(){n.preloadNearbyImages(),n._preloadTimeout=null},16)}),w(b+d,function(){s.off(d),n.wrap.off("click"+d),n.arrowLeft&&e&&n.arrowLeft.add(n.arrowRight).destroyMfpFastClick(),n.arrowRight=n.arrowLeft=null})},next:function(){n.direction=!0,n.index=S(n.index+1),n.updateItemHTML()},prev:function(){n.direction=!1,n.index=S(n.index-1),n.updateItemHTML()},goTo:function(a){n.direction=a>=n.index,n.index=a,n.updateItemHTML()},preloadNearbyImages:function(){var a=n.st.gallery.preload,b=Math.min(a[0],n.items.length),c=Math.min(a[1],n.items.length),d;for(d=1;d<=(n.direction?c:b);d++)n._preloadItem(n.index+d);for(d=1;d<=(n.direction?b:c);d++)n._preloadItem(n.index-d)},_preloadItem:function(b){b=S(b);if(n.items[b].preloaded)return;var c=n.items[b];c.parsed||(c=n.parseEl(b)),y("LazyLoad",c),c.type==="image"&&(c.img=a('<img class="mfp-img" />').on("load.mfploader",function(){c.hasSize=!0}).on("error.mfploader",function(){c.hasSize=!0,c.loadError=!0,y("LazyLoadError",c)}).attr("src",c.src)),c.preloaded=!0}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=n.st.retina,b=a.ratio;b=isNaN(b)?b():b,b>1&&(w("ImageHasSize."+U,function(a,c){c.img.css({"max-width":c.img[0].naturalWidth/b,width:"100%"})}),w("ElementParse."+U,function(c,d){d.src=a.replaceSrc(d,b)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){r.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g=a(this),h;if(c){var i,j,k,l,m,n;g.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,r.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0];if(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)l=!0,d()}).on("touchend"+f,function(a){d();if(l||n>1)return;h=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){h=!1},b),e()})})}g.on("click"+f,function(){h||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&r.off("touchmove"+f+" touchend"+f)}}(),A()});
} catch (e) {
console.error('Error in file:/media/djextensions/magnific/magnific.js; Error:' + e.message);
};
try {
(function(r){"use strict";var y=[0,1,2,3,4,5,6,7,8,9];r.SECOND=1e3,r.MINUTE=60*r.SECOND,r.HOUR=60*r.MINUTE,r.DAY=24*r.HOUR,r.WEEK=7*r.DAY,r.prototype.setLocalDateOnly=function(e,t){if(e!="gregorian")return"";var o=new r(t);this.setDate(1),this.setFullYear(o.getFullYear()),this.setMonth(o.getMonth()),this.setDate(o.getDate())},r.prototype.setLocalDate=function(e,t){return e!="gregorian"?"":this.setDate(t)},r.prototype.setLocalMonth=function(e,t,o){return e!="gregorian"?"":(o==null&&this.getDate(),this.setMonth(t))},r.prototype.setOtherFullYear=function(e,t){if(e!="gregorian")return"";var o=new r(this);return o.setFullYear(t),o.getMonth()!=this.getMonth()&&this.setDate(28),this.setUTCFullYear(t)},r.prototype.setLocalFullYear=function(e,t){if(e!="gregorian")return"";var o=new r(this);return o.setFullYear(t),o.getMonth()!=this.getMonth()&&this.setDate(28),this.setFullYear(t)},r.prototype.getLocalWeekDays=function(e,t){return e!="gregorian",6},r.prototype.getOtherFullYear=function(e){return e!="gregorian"?"":this.getFullYear()},r.prototype.getLocalFullYear=function(e){return e!="gregorian"?"":this.getFullYear()},r.prototype.getLocalMonth=function(e){return e!="gregorian"?"":this.getMonth()},r.prototype.getLocalDate=function(e){return e!="gregorian"?"":this.getDate()},r.prototype.getLocalDay=function(e){return e!="gregorian"?"":this.getDay()},r.prototype.getLocalMonthDays=function(e,t){if(e!="gregorian")return"";var o=this.getFullYear();return typeof t>"u"&&(t=this.getMonth()),o%4==0&&(o%100!=0||o%400==0)&&t==1?29:[31,28,31,30,31,30,31,31,30,31,30,31][t]},r.prototype.getLocalWeekNumber=function(e){if(e!="gregorian")return"";var t=new r(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0),o=t.getDay();t.setDate(t.getDate()-(o+6)%7+3);var l=t.valueOf();return t.setMonth(0),t.setDate(4),Math.round((l-t.valueOf())/(7*864e5))+1},r.prototype.getLocalDayOfYear=function(e){if(e!="gregorian")return"";var t=new r(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0),o=new r(this.getFullYear(),0,0,0,0,0),l=t-o;return Math.floor(l/r.DAY)},r.prototype.equalsTo=function(e){return this.getFullYear()==e.getFullYear()&&this.getMonth()==e.getMonth()&&this.getDate()==e.getDate()&&this.getHours()==e.getHours()&&this.getMinutes()==e.getMinutes()},r.localCalToGregorian=function(e,t,o){return""},r.gregorianToLocalCal=function(e,t,o){return""},r.convertNumbers=function(e){e=e.toString();for(var t=0,o=y.length;t<o;t++)e=e.replace(new RegExp(t,"g"),y[t]);return e},r.toEnglish=function(e){e=this.toString();for(var t=[0,1,2,3,4,5,6,7,8,9],o=0;o<10;o++)e=e.replace(new RegExp(t[o],"g"),o);return e},r.monthsToLocalOrder=function(e){return e},r.parseFieldDate=function(e,t,o,l){o!="gregorian"&&(e=r.toEnglish(e));var h=new r,a=0,u=-1,f=0,s=e.split(/\W+/),i=t.match(/%./g),n=0,c=0,g=0,p=0,v=0;for(n=0;n<s.length;++n)if(s[n])switch(i[n]){case"%d":case"%e":f=parseInt(s[n],10);break;case"%m":u=parseInt(s[n],10)-1;break;case"%Y":case"%y":a=parseInt(s[n],10),a<100&&(a+=a>29?1900:2e3);break;case"%b":case"%B":for(c=0;c<12;++c)if(l.months[c].substr(0,s[n].length).toLowerCase()===s[n].toLowerCase()){u=c;break}break;case"%H":case"%I":case"%k":case"%l":g=parseInt(s[n],10);break;case"%P":case"%p":/pm/i.test(s[n])&&g<12?g+=12:/am/i.test(s[n])&&g>=12&&(g-=12);break;case"%M":p=parseInt(s[n],10);break;case"%S":v=parseInt(s[n],10);break}if(isNaN(a)&&(a=h.getFullYear()),isNaN(u)&&(u=h.getMonth()),isNaN(f)&&(f=h.getDate()),isNaN(g)&&(g=h.getHours()),isNaN(p)&&(p=h.getMinutes()),isNaN(v)&&(v=h.getSeconds()),a!=0&&u!=-1&&f!=0)return new r(a,u,f,g,p,v);for(a=0,u=-1,f=0,n=0;n<s.length;++n)if(s[n].search(/[a-zA-Z]+/)!=-1){var M=-1;for(c=0;c<12;++c)if(l.months[c].substr(0,s[n].length).toLowerCase()===s[n].toLowerCase()){M=c;break}M!=-1&&(u!=-1&&(f=u+1),u=M)}else parseInt(s[n],10)<=12&&u==-1?u=s[n]-1:parseInt(s[n],10)>31&&a==0?(a=parseInt(s[n],10),a<100&&(a+=a>29?1900:2e3)):f==0&&(f=s[n]);return a==0&&(a=h.getFullYear()),u!=-1&&f!=0?new r(a,u,f,g,p,v):h},r.prototype.print=function(e,t,o,l){if(typeof t!="string"&&(e=""),t||(t="gregorian"),typeof e!="string"&&(e=""),!e||this.getLocalDate(t)=="NaN"||!this.getLocalDate(t))return"";var h=this.getLocalMonth(t),a=this.getLocalDate(t),u=this.getLocalFullYear(t),f=this.getLocalWeekNumber(t),s=this.getDay(),i={},n=this.getHours(),c=n>=12,g=c?n-12:n,p=this.getLocalDayOfYear(t);g==0&&(g=12);var v=this.getMinutes(),M=this.getSeconds();i["%a"]=l.shortDays[s],i["%A"]=l.days[s],i["%b"]=l.shortMonths[h],i["%B"]=l.months[h],i["%C"]=1+Math.floor(u/100),i["%d"]=a<10?"0"+a:a,i["%e"]=a,i["%H"]=n<10?"0"+n:n,i["%I"]=g<10?"0"+g:g,i["%j"]=p<100?p<10?"00"+p:"0"+p:p,i["%k"]=n,i["%l"]=g,i["%m"]=h<9?"0"+(1+h):1+h,i["%M"]=v<10?"0"+v:v,i["%n"]=`
`,i["%p"]=c?l.pm.toUpperCase():l.am.toUpperCase(),i["%P"]=c?l.pm:l.am,i["%s"]=Math.floor(this.getTime()/1e3),i["%S"]=M<10?"0"+M:M,i["%t"]="	",i["%U"]=i["%W"]=i["%V"]=f<10?"0"+f:f,i["%u"]=s+1,i["%w"]=s,i["%y"]=(""+u).substr(2,2),i["%Y"]=u,i["%%"]="%";var m=/%./g,Y=e.replace(m,function(L){return i[L]||L});return t!="gregorian"&&o&&(Y=r.convertNumbers(Y)),Y}})(Date);

} catch (e) {
console.error('Error in file:/media/system/js/fields/calendar-locales/date/gregorian/date-helper.min.js?9e850f5d98e770647ae0b63ac52b2deb; Error:' + e.message);
};
try {
/**
 * @copyright  (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(function(O,c){"use strict";var o=function(e){if(!e)throw new Error(`Calendar setup failed:
  No valid element found, Please check your code`);if(typeof Date.parseFieldDate!="function")throw new Error(`Calendar setup failed:
  No valid date helper, Please check your code`);if(e._joomlaCalendar)throw new Error("JoomlaCalendar instance already exists for the element");e._joomlaCalendar=this;var a=this;if(this.writable=!0,this.hidden=!0,this.params={},this.element=e,this.inputField=e.getElementsByTagName("input")[0],this.button=e.getElementsByTagName("button")[0],!this.inputField)throw new Error(`Calendar setup failed:
  No valid input found, Please check your code`);this.params={debug:!1,clicked:!1,element:{style:{display:"none"}},writable:!0};var t=Joomla.Text._;this.strings={today:t("JLIB_HTML_BEHAVIOR_TODAY","Today"),wk:t("JLIB_HTML_BEHAVIOR_WK","wk"),days:["SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY"],shortDays:["SUN","MON","TUE","WED","THU","FRI","SAT"],months:["JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"],shortMonths:["JANUARY_SHORT","FEBRUARY_SHORT","MARCH_SHORT","APRIL_SHORT","MAY_SHORT","JUNE_SHORT","JULY_SHORT","AUGUST_SHORT","SEPTEMBER_SHORT","OCTOBER_SHORT","NOVEMBER_SHORT","DECEMBER_SHORT"],am:t("JLIB_HTML_BEHAVIOR_AM","am"),pm:t("JLIB_HTML_BEHAVIOR_PM","pm"),exit:t("JCLOSE","Close"),clear:t("JCLEAR","Clear")},this.strings.days=this.strings.days.map(function(n){return t(n)}),this.strings.shortDays=this.strings.shortDays.map(function(n){return t(n)}),this.strings.months=this.strings.months.map(function(n){return t(n)}),this.strings.shortMonths=this.strings.shortMonths.map(function(n){return t(n)});var s=this.button,d={inputField:this.inputField,dateType:s.dataset.dateType||"gregorian",direction:c.dir?c.dir:c.getElementsByTagName("html")[0].getAttribute("dir"),firstDayOfWeek:s.dataset.firstday?parseInt(s.dataset.firstday,10):0,dateFormat:s.dataset.dateFormat||"%Y-%m-%d %H:%M:%S",weekend:[0,6],minYear:1e3,maxYear:2100,time24:!0,showsOthers:!0,showsTime:!0,weekNumbers:!0,showsTodayBtn:!0,compressedHeader:!1};"showOthers"in s.dataset&&(d.showsOthers=parseInt(s.dataset.showOthers,10)===1),"weekNumbers"in s.dataset&&(d.weekNumbers=parseInt(s.dataset.weekNumbers,10)===1),"onlyMonthsNav"in s.dataset&&(d.compressedHeader=parseInt(s.dataset.onlyMonthsNav,10)===1),"time24"in s.dataset&&(d.time24=parseInt(s.dataset.time24,10)===24),"showTime"in s.dataset&&(d.showsTime=parseInt(s.dataset.showTime,10)===1),"todayBtn"in s.dataset&&(d.showsTodayBtn=parseInt(s.dataset.todayBtn,10)===1);for(var i in d)this.params[i]=d[i];s.dataset.minYear&&(a.params.minYear=P(parseInt(s.dataset.minYear,10),a.params.dateType)),s.dataset.maxYear&&(a.params.maxYear=P(parseInt(s.dataset.maxYear,10),a.params.dateType)),s.dataset.weekend&&(a.params.weekend=s.dataset.weekend.split(",").map(function(n){return parseInt(n,10)})),this.params.direction==="rtl"&&(this.strings.days=this.strings.days.reverse(),this.strings.shortDays=this.strings.shortDays.reverse()),this.strings.months=Date.monthsToLocalOrder(this.strings.months,this.params.dateType),this.strings.shortMonths=Date.monthsToLocalOrder(this.strings.shortMonths,this.params.dateType),this._dayMouseDown=function(n){return a._handleDayMouseDown(n)},this._calKeyEvent=function(n){return a._handleCalKeyEvent(n)},this._documentClick=function(n){return a._handleDocumentClick(n)},this.checkInputs(),!this.inputField.getAttribute("readonly")&&(this._create(),this._bindEvents())};o.prototype.checkInputs=function(){var e=Date.parseFieldDate(this.inputField.getAttribute("data-alt-value"),this.params.dateFormat,"gregorian",this.strings);this.inputField.value!==""?(this.date=e,this.inputField.value=e.print(this.params.dateFormat,this.params.dateType,!0,this.strings)):this.date=new Date},o.prototype.recreate=function(){var e=this.element,a=e.querySelector(".js-calendar");a&&(e._joomlaCalendar=null,a.parentNode.removeChild(a),new o(e))},o.prototype.updateTime=function(e,a,t){var s=this,d=s.date,i=s.date.getLocalDate(s.params.dateType),n=s.date.getLocalMonth(s.params.dateType),l=s.date.getLocalFullYear(s.params.dateType),p=this.inputField.parentNode.parentNode.querySelectorAll(".time-ampm")[0];s.params.time24||(/pm/i.test(p.value)&&e<12?e=parseInt(e)+12:/am/i.test(p.value)&&e==12&&(e=0)),d.setHours(e),d.setMinutes(parseInt(a,10)),d.setSeconds(d.getSeconds()),d.setLocalFullYear(s.params.dateType,l),d.setLocalMonth(s.params.dateType,n),d.setLocalDate(s.params.dateType,i),s.dateClicked=!1,this.callHandler()},o.prototype.setDate=function(e){e.equalsTo(this.date)||(this.date=e,this.processCalendar(this.params.firstDayOfWeek,e))},o.prototype.moveCursorBy=function(e){var a=new Date(this.date);a.setDate(a.getDate()-e),this.setDate(a)},o.prototype.resetSelected=function(e){for(var a=e.options,t=a.length;t--;){var s=a[t];s.selected&&(s.selected=!1)}},o.prototype.callHandler=function(){this.inputField.setAttribute("data-alt-value",this.date.print(this.params.dateFormat,"gregorian",!1,this.strings)),this.inputField.getAttribute("data-alt-value")&&this.inputField.getAttribute("data-alt-value")!=="0000-00-00 00:00:00"&&(this.inputField.value=this.date.print(this.params.dateFormat,this.params.dateType,!0,this.strings),this.params.dateType!=="gregorian"&&this.inputField.setAttribute("data-local-value",this.date.print(this.params.dateFormat,this.params.dateType,!0,this.strings))),this.inputField.value=this.date.print(this.params.dateFormat,this.params.dateType,!0,this.strings),this.dateClicked&&typeof this.params.onUpdate=="function"&&this.params.onUpdate(this),this.inputField.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0})),this.dateClicked?this.close():this.processCalendar()},o.prototype.close=function(){this.hide()},o.prototype.show=function(){this.checkInputs(),this.inputField.focus(),this.dropdownElement.classList.add("open"),this.dropdownElement.removeAttribute("hidden"),this.hidden=!1,c.addEventListener("keydown",this._calKeyEvent,!0),c.addEventListener("keypress",this._calKeyEvent,!0),c.addEventListener("mousedown",this._documentClick,!0);var e=this.element.querySelector(".js-calendar");O.innerHeight<e.getBoundingClientRect().bottom+20?e.style.marginTop=-(e.getBoundingClientRect().height+this.inputField.getBoundingClientRect().height)+"px":e.style.marginTop="initial",this.processCalendar()},o.prototype.hide=function(){c.removeEventListener("keydown",this._calKeyEvent,!0),c.removeEventListener("keypress",this._calKeyEvent,!0),c.removeEventListener("mousedown",this._documentClick,!0),this.dropdownElement.classList.remove("open"),this.dropdownElement.setAttribute("hidden",""),this.hidden=!0},o.prototype._handleDocumentClick=function(e){var a=e.target;if(a!==null&&!a.classList.contains("time"))for(;a!==null&&a!==this.element;a=a.parentNode);if(a===null)return c.activeElement.blur(),this.hide(),R(e)},o.prototype._handleDayMouseDown=function(e){var a=this,t=e.currentTarget,s=e.target||e.srcElement;if(!(s&&s.hasAttribute("data-action"))){if(t.nodeName!=="TD"){var d=t.getParent("TD");d.nodeName==="TD"?t=d:(t=t.getParent("TD"),t.classList.contains("js-calendar")&&(t=t.getElementsByTagName("table")[0]))}else if(!s.classList.contains("js-btn")&&!t.classList.contains("day")&&!t.classList.contains("title"))return;if(!t||t.disabled)return!1;if(typeof t.navtype>"u"||t.navtype!==300){t.navtype===50&&(t._current=t.innerHTML),(s===t||s.parentNode===t)&&a.cellClick(t,e);var i=null;typeof t.month<"u"&&(i=t),typeof t.parentNode.month<"u"&&(i=t.parentNode);var n=null;if(i)n=new Date(a.date),i.month!==n.getLocalMonth(a.params.dateType)&&(n.setLocalMonth(a.params.dateType,i.month),a.setDate(n),a.dateClicked=!1,this.callHandler());else{var l=null;typeof t.year<"u"&&(l=s),typeof t.parentNode.year<"u"&&(l=s.parentNode),l&&(n=new Date(a.date),l.year!==n.getLocalFullYear(a.params.dateType)&&(n.setFullYear(a.params.dateType,l.year),a.setDate(n),a.dateClicked=!1,this.callHandler()))}}return R(e)}},o.prototype.cellClick=function(e,a){var t=this,s=!1,d=!1,i=null;if(typeof e.navtype>"u"){t.currentDateEl&&(e.classList.add("selected"),t.currentDateEl=e.caldate,s=t.currentDateEl===e.caldate,s||(t.currentDateEl=e.caldate)),t.date.setLocalDateOnly("gregorian",e.caldate);var n=!(t.dateClicked=!e.otherMonth);t.currentDateEl&&(d=!e.disabled),n&&this.processCalendar()}else{i=new Date(t.date),t.dateClicked=!1;var l=i.getOtherFullYear(t.params.dateType),p=i.getLocalMonth(t.params.dateType);switch(e.navtype){case 400:break;case-2:t.params.compressedHeader||l>t.params.minYear&&i.setOtherFullYear(t.params.dateType,l-1);break;case-1:var r=i.getLocalDate(t.params.dateType);if(p>0){var g=i.getLocalMonthDays(t.params.dateType,p-1);r>g&&i.setLocalDate(t.params.dateType,g),i.setLocalMonth(t.params.dateType,p-1)}else if(l-- >t.params.minYear){i.setOtherFullYear(t.params.dateType,l);var g=i.getLocalMonthDays(t.params.dateType,11);r>g&&i.setLocalDate(t.params.dateType,g),i.setLocalMonth(t.params.dateType,11)}break;case 1:var r=i.getLocalDate(t.params.dateType);if(p<11){var g=i.getLocalMonthDays(t.params.dateType,p+1);r>g&&i.setLocalDate(t.params.dateType,g),i.setLocalMonth(t.params.dateType,p+1)}else if(l<t.params.maxYear){i.setOtherFullYear(t.params.dateType,l+1);var g=i.getLocalMonthDays(t.params.dateType,0);r>g&&i.setLocalDate(t.params.dateType,g),i.setLocalMonth(t.params.dateType,0)}break;case 2:t.params.compressedHeader||l<t.params.maxYear&&i.setOtherFullYear(t.params.dateType,l+1);break;case 0:break}i.equalsTo(t.date)?e.navtype===0&&(d=s=!0):(this.setDate(i),d=!0)}d&&(t.params.showsTime&&(this.dateClicked=!1),a&&this.callHandler()),e.classList.remove("hilite"),s&&!t.params.showsTime&&(t.dateClicked=!1,a&&this.close())},o.prototype._handleCalKeyEvent=function(e){var a=this,t=e.keyCode;if(e.target===this.inputField&&(t===13||t===9)&&this.close(),a.params.direction==="rtl"&&(t===37?t=39:t===39&&(t=37)),t===32&&e.shiftKey&&(e.preventDefault(),this.cellClick(a._nav_now,e),a.close()),t===27&&this.close(),t===38&&this.moveCursorBy(7),t===40&&this.moveCursorBy(-7),t===37&&this.moveCursorBy(1),t===39&&this.moveCursorBy(-1),e.target===this.inputField&&!(t>48||t<57||t===186||t===189||t===190||t===32))return R(e)},o.prototype._create=function(){var e=this,a=this.element,t=u("table"),s=u("div");this.table=t,t.className="table",t.style.marginBottom=0,this.dropdownElement=s,a.appendChild(s),this.params.direction&&(s.style.direction=this.params.direction),s.className="js-calendar",s.style.position="absolute",s.style.boxShadow="0 0 70px 0 rgba(0,0,0,0.67)",s.style.minWidth=this.inputField.width,s.style.padding="0",s.setAttribute("hidden",""),s.style.left="auto",s.style.top="auto",s.style.zIndex=1060,s.style.borderRadius="20px",this.wrapper=u("div"),this.wrapper.className="calendar-container",s.appendChild(this.wrapper),this.wrapper.appendChild(t);var d=u("thead",t);d.className="calendar-header";var r=null,i=null,n=this,l=function(N,m,v,F,b,f,C){F=F||"td",b=b||{},r=u(F,i),m&&(f=f?'class="'+f+'"':"",r.colSpan=m);for(var w in b)r.style[w]=b[w];for(var w in C)r.setAttribute(w,C[w]);return v!==0&&Math.abs(v)<=2&&(r.className+=" nav"),m&&r.addEventListener("mousedown",e._dayMouseDown,!0),r.calendar=n,r.navtype=v,v!==0&&Math.abs(v)<=2?r.innerHTML=Joomla.sanitizeHtml("<a "+f+" style='display:inline;padding:2px 6px;cursor:pointer;text-decoration:none;' unselectable='on'>"+N+"</a>"):(r.innerHTML=m?Joomla.sanitizeHtml("<div unselectable='on'"+f+">"+N+"</div>"):Joomla.sanitizeHtml(N),!m&&f&&(r.className=f)),r};this.params.compressedHeader===!1&&(i=u("tr",d),i.className="calendar-head-row",this._nav_py=l("&lsaquo;",1,-2,"",{"text-align":"center","font-size":"18px","line-height":"18px"},"js-btn btn-prev-year"),this.title=l('<div style="text-align:center;font-size:18px"><span></span></div>',this.params.weekNumbers?6:5,300),this.title.className="title title-year",this._nav_ny=l(" &rsaquo;",1,2,"",{"text-align":"center","font-size":"18px","line-height":"18px"},"js-btn btn-next-year")),i=u("tr",d),i.className="calendar-head-row",this._nav_pm=l("&lsaquo;",1,-1,"",{"text-align":"center","font-size":"2em","line-height":"1em"},"js-btn btn-prev-month"),this._nav_month=l('<div style="text-align:center;font-size:1.2em"><span></span></div>',this.params.weekNumbers?6:5,888,"td",{textAlign:"center"}),this._nav_month.className="title title-month",this._nav_nm=l(" &rsaquo;",1,1,"",{"text-align":"center","font-size":"2em","line-height":"1em"},"js-btn btn-next-month"),i=u("tr",d),i.className=e.params.weekNumbers?"daynames wk":"daynames",this.params.weekNumbers&&(r=u("td",i),r.className="day-name wn",r.textContent=e.strings.wk);for(var p=7;p>0;--p)r=u("td",i),p||(r.calendar=e);this.firstdayname=this.params.weekNumbers?i.firstChild.nextSibling:i.firstChild;for(var g=this.params.firstDayOfWeek,r=this.firstdayname,D=this.params.weekend,p=0;p<7;++p){var I=(p+g)%7;r.classList.add("day-name"),this.params.weekNumbers&&r.classList.add("day-name-week"),p&&(r.calendar=e,r.fdow=I),D.indexOf(D)!==-1&&r.classList.add("weekend"),r.textContent=this.strings.shortDays[(p+g)%7],r=r.nextSibling}var E=u("tbody",t);for(this.tbody=E,p=6;p>0;--p){i=u("tr",E),this.params.weekNumbers&&(r=u("td",i));for(var T=7;T>0;--T)r=u("td",i),r.calendar=this,r.addEventListener("mousedown",this._dayMouseDown,!0)}if(this.params.showsTime){i=u("tr",E),i.className="time";var r=u("td",i);r.className="time time-title",r.colSpan=1,r.style.verticalAlign="middle",r.innerHTML=" ";var S=u("td",i);S.className="time hours-select",S.colSpan=e.params.time24?3:2;var H=u("td",i);H.className="time minutes-select",H.colSpan=e.params.time24?3:2,function(){function m(y,K,V,z,j){var L=u("select",j),J;L.calendar=e,L.className=y,L.setAttribute("data-chosen",!0),L.style.width="100%",L.navtype=50,L._range=[];for(var k=V;k<=z;++k){var U,q="";k===K&&(q=!0),k<10&&z>=10?(J="0"+k,U=Date.convertNumbers("0")+Date.convertNumbers(k)):(J=""+k,U=""+Date.convertNumbers(k)),L.options.add(new Option(U,J,q,q))}return L}var v=e.date.getHours(),F=e.date.getMinutes(),b=!e.params.time24,f=e.date.getHours()>12;b&&f&&(v-=12);var C=m("time time-hours",v,b?1:0,b?12:23,S),w=m("time time-minutes",F,0,59,H),x=null;if(b){r=u("td",i),r.className="time ampm-select",r.colSpan=e.params.weekNumbers?3:2;var M=!0,B=Date.parseFieldDate(e.inputField.getAttribute("data-alt-value"),e.params.dateFormat,"gregorian",e.strings);f=B.getHours()>=12;var A=u("select",r);A.className="time-ampm",A.style.width="100%",A.options.add(new Option(e.strings.pm,"pm",f?M:"",f?M:"")),A.options.add(new Option(e.strings.am,"am",f?"":M,f?"":M)),x=A,x.addEventListener("change",function(y){e.updateTime(y.target.parentNode.parentNode.childNodes[1].childNodes[0].value,y.target.parentNode.parentNode.childNodes[2].childNodes[0].value,y.target.parentNode.parentNode.childNodes[3].childNodes[0].value)},!1)}else e.params.weekNumbers&&(r=u("td",i),r.innerHTML="&#160;",r.colSpan=1);C.addEventListener("change",function(y){e.updateTime(y.target.parentNode.parentNode.childNodes[1].childNodes[0].value,y.target.parentNode.parentNode.childNodes[2].childNodes[0].value,y.target.parentNode.parentNode.childNodes[3].childNodes[0].value)},!1),w.addEventListener("change",function(y){e.updateTime(y.target.parentNode.parentNode.childNodes[1].childNodes[0].value,y.target.parentNode.parentNode.childNodes[2].childNodes[0].value,y.target.parentNode.parentNode.childNodes[3].childNodes[0].value)},!1)}()}i=u("div",this.wrapper),i.className="buttons-wrapper btn-group",this._nav_clear=l(this.strings.clear,"",100,"button","","js-btn btn btn-clear",{type:"button","data-action":"clear"});var Y=i.querySelector('[data-action="clear"]');if(Y.addEventListener("click",function(N){N.preventDefault();for(var m=e.table.querySelectorAll("td"),v=0;v<m.length;v++)if(m[v].classList.contains("selected")){m[v].classList.remove("selected");break}e.inputField.setAttribute("data-alt-value","0000-00-00 00:00:00"),e.inputField.setAttribute("value",""),e.inputField.value="",e.inputField.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0}))}),this.params.showsTodayBtn){this._nav_now=l(this.strings.today,"",0,"button","","js-btn btn btn-today",{type:"button","data-action":"today"});var _=this.wrapper.querySelector('[data-action="today"]');_.addEventListener("click",function(N){N.preventDefault(),e.date.setLocalDateOnly("gregorian",new Date),e.dateClicked=!0,e.callHandler(),e.close()})}this._nav_exit=l(this.strings.exit,"",999,"button","","js-btn btn btn-exit",{type:"button","data-action":"exit"});var h=this.wrapper.querySelector('[data-action="exit"]');h.addEventListener("click",function(N){N.preventDefault(),e.dateClicked||(e.inputField.value?(e.params.dateType!=="gregorian"&&e.inputField.setAttribute("data-local-value",e.inputField.value),typeof e.dateClicked>"u"?e.inputField.setAttribute("data-alt-value",Date.parseFieldDate(e.inputField.value,e.params.dateFormat,e.params.dateType,e.strings).print(e.params.dateFormat,"gregorian",!1,e.strings)):e.inputField.setAttribute("data-alt-value",e.date.print(e.params.dateFormat,"gregorian",!1,e.strings))):e.inputField.setAttribute("data-alt-value","0000-00-00 00:00:00"),e.date=Date.parseFieldDate(e.inputField.getAttribute("data-alt-value"),e.params.dateFormat,e.params.dateType,e.strings)),e.close()}),this.processCalendar()},o.prototype.processCalendar=function(){this.table.style.visibility="hidden";var e=this.params.firstDayOfWeek,a=this.date,t=new Date,s=t.getLocalFullYear(this.params.dateType),d=t.getLocalMonth(this.params.dateType),i=t.getLocalDate(this.params.dateType),n=a.getOtherFullYear(this.params.dateType),l=a.getHours(),p=a.getMinutes(),g=a.getSeconds(),r=!this.params.time24;n<this.params.minYear?(n=this.params.minYear,a.setOtherFullYear(this.params.dateType,n)):n>this.params.maxYear&&(n=this.params.maxYear,a.setOtherFullYear(this.params.dateType,n)),this.params.firstDayOfWeek=e,this.date=new Date(a);var D=a.getLocalMonth(this.params.dateType),I=a.getLocalDate(this.params.dateType);a.setLocalDate(this.params.dateType,1);var E=(a.getLocalDay(this.params.dateType)-this.params.firstDayOfWeek)%7;E<0&&(E+=7),a.setLocalDate(this.params.dateType,-E),a.setLocalDate(this.params.dateType,a.getLocalDate(this.params.dateType)+1);for(var T=this.tbody.firstChild,S=this.ar_days=new Array,H=this.params.weekend,Y=parseInt(a.getLocalWeekDays(this.params.dateType)),_=0;_<Y;++_,T=T.nextSibling){var h=T.firstChild;this.params.weekNumbers&&(h.className="day wn",h.textContent=a.getLocalWeekNumber(this.params.dateType),h=h.nextSibling),T.className=this.params.weekNumbers?"daysrow wk":"daysrow";for(var N=!1,m,v=S[_]=[],F=Y+1,b=0;b<F;++b,h=h.nextSibling,a.setLocalDate(this.params.dateType,m+1)){h.className="day",h.style.textAlign="center",m=a.getLocalDate(this.params.dateType);var f=a.getLocalDay(this.params.dateType);h.pos=_<<4|b,v[b]=h;var C=a.getLocalMonth(this.params.dateType)===D;if(C)h.otherMonth=!1,N=!0,h.style.cursor="pointer";else if(this.params.showsOthers)h.className+=" disabled othermonth ",h.otherMonth=!0;else{h.className+=" emptycell",h.innerHTML="&#160;",h.disabled=!0;continue}h.disabled=!1,h.textContent=this.params.debug?m:Date.convertNumbers(m),h.disabled||(h.caldate=new Date(a),C&&m===I&&(h.className+=" selected",this.currentDateEl=h),a.getLocalFullYear(this.params.dateType)===s&&a.getLocalMonth(this.params.dateType)===d&&m===i&&(h.className+=" today"),H.indexOf(f)!==-1&&(h.className+=" weekend"))}N||this.params.showsOthers?(T.classList.remove("hidden"),T.removeAttribute("hidden","")):(T.classList.add("hidden"),T.setAttribute("hidden",""),T.className="emptyrow")}if(this.params.showsTime){l>12&&r&&(l-=12),l=l<10?"0"+l:l,p=p<10?"0"+p:p;var w=this.table.querySelector(".time-hours"),x=this.table.querySelector(".time-minutes");if(this.resetSelected(w),this.params.time24?w.value=l:w.value=l=="00"?"12":l,this.resetSelected(x),x.value=p,!this.params.time24){var M=new Date(this.inputField.getAttribute("data-alt-value")),B=this.table.querySelector(".time-ampm"),A=M.getHours();A>12&&(this.resetSelected(B),B.value="pm")}}if(!this.params.compressedHeader)this._nav_month.getElementsByTagName("span")[0].textContent=this.params.debug?D+" "+this.strings.months[D]:this.strings.months[D],this.title.getElementsByTagName("span")[0].textContent=this.params.debug?n+" "+Date.convertNumbers(n.toString()):Date.convertNumbers(n.toString());else{var y=Date.convertNumbers(n.toString());this._nav_month.getElementsByTagName("span")[0].textContent=this.params.monthBefore?y+" - "+this.strings.months[D]:this.strings.months[D]+" - "+y}this.table.style.visibility="visible"},o.prototype._bindEvents=function(){var e=this;this.inputField.addEventListener("blur",function(a){var t=o.getCalObject(this)._joomlaCalendar;if(!t.dropdownElement.hasAttribute("hidden")){a.preventDefault();return}if(t){if(t.inputField.value)if(typeof t.params.dateClicked>"u")if(t.inputField.setAttribute("data-local-value",t.inputField.value),t.params.dateType!=="gregorian"){var s,d=Date.parseFieldDate(t.inputField.value,t.params.dateFormat,t.params.dateType,t.strings);s=Date.localCalToGregorian(d.getFullYear(),d.getMonth(),d.getDate()),d.setFullYear(s[0]),d.setMonth(s[1]),d.setDate(s[2]),t.inputField.setAttribute("data-alt-value",d.print(t.params.dateFormat,"gregorian",!1,t.strings))}else t.inputField.setAttribute("data-alt-value",Date.parseFieldDate(t.inputField.value,t.params.dateFormat,t.params.dateType,t.strings).print(t.params.dateFormat,"gregorian",!1,t.strings));else t.inputField.setAttribute("data-alt-value",t.date.print(t.params.dateFormat,"gregorian",!1,t.strings));else t.inputField.setAttribute("data-alt-value","0000-00-00 00:00:00");t.date=Date.parseFieldDate(t.inputField.getAttribute("data-alt-value"),t.params.dateFormat,t.params.dateType,t.strings)}e.close()},!0),this.button.addEventListener("click",function(){e.show()},!1)};var R=function(e){return e||(e=O.event),e.preventDefault(),e.stopPropagation(),!1},u=function(e,a){var t=null;return t=c.createElement(e),typeof a<"u"&&a.appendChild(t),t},G=function(e){return!isNaN(e)&&function(a){return(a|0)===a}(parseFloat(e))},P=function(e,a){var t=new Date,s=t.getLocalFullYear(a);return s+e};o.getCalObject=function(e){if(!e)return!1;for(;e.parentNode;)if(e=e.parentNode,e.classList.contains("field-calendar"))return e;return!1},o.prototype.setAltValue=function(){var e=this.inputField;e.getAttribute("disabled")||(e.value=e.getAttribute("data-alt-value")&&e.getAttribute("data-alt-value")!=="0000-00-00 00:00:00"?e.getAttribute("data-alt-value"):"")},o.onSubmit=function(){if(Joomla=O.Joomla||{},!Joomla.calendarProcessed){Joomla.calendarProcessed=!0;for(var e=c.querySelectorAll(".field-calendar"),a=0;a<e.length;a++){var t=e[a],s=t._joomlaCalendar;s&&s.setAltValue()}}},o.init=function(e,a){var t=e._joomlaCalendar;t?t.recreate():new o(e),e&&e.getElementsByTagName("input")[0]&&e.getElementsByTagName("input")[0].form&&!e.getElementsByTagName("input")[0].disabled&&e.getElementsByTagName("input")[0].form.addEventListener("submit",o.onSubmit)},O.JoomlaCalendar=o;function W(e){for(var a=e.target.querySelectorAll(".field-calendar"),t=0,s=a.length;t<s;t++)o.init(a[t])}c.addEventListener("DOMContentLoaded",W),c.addEventListener("joomla:updated",W),O.Calendar={},Calendar.setup=function(e){if(e.inputField&&c.getElementById(e.inputField)){var a=c.getElementById(e.inputField),t=a.parentNode.querySelectorAll("button")[0];for(var s in e)if(e.hasOwnProperty(s))switch(s){case"ifFormat":t&&t.setAttribute("data-dayformat",e.ifFormat);break;case"firstDay":t&&t.setAttribute("data-firstday",parseInt(e.firstDay));break;case"weekNumbers":t&&t.setAttribute("data-week-numbers",e.weekNumbers==="true"||e.weekNumbers===!0?"1":"0");break;case"showOthers":t&&t.setAttribute("data-show-others",e.showOthers==="true"||e.showOthers===!0?"1":"0");break;case"showsTime":t&&t.setAttribute("data-show-time",e.showsTime==="true"||e.showsTime===!0?"1":"0");break;case"timeFormat":t&&t.setAttribute("data-time-24",parseInt(e.timeFormat));break;case"displayArea":case"inputField":case"button":case"eventName":case"daFormat":case"disableFunc":case"dateStatusFunc":case"dateTooltipFunc":case"dateText":case"align":case"range":case"flat":case"flatCallback":case"onSelect":case"onClose":case"onUpdate":case"date":case"electric":case"step":case"position":case"cache":case"multiple":break}o.init(a.parentNode.parentNode)}return null}})(window,document);

} catch (e) {
console.error('Error in file:/media/system/js/fields/calendar.min.js?9e850f5d98e770647ae0b63ac52b2deb; Error:' + e.message);
};
try {
/**
 * @package DJ-Classifieds
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email: contact@dj-extensions.com
 */

function DJConditionalFieldsInit(root_url, view, ex_fields_wrapper, ajax_task_name, mod_id, ajax_data_obj, loader_path)
{
    var cat_id = null;
    var mcat_ids = null;
    var group_id = null;
    var $prev_ex_fields = jQuery(ex_fields_wrapper).clone();
    
    jQuery(ex_fields_wrapper).on('change',':input[name]',function(){
        $prev_ex_fields = jQuery(ex_fields_wrapper).clone();
    });

    loader_path = typeof loader_path === 'undefined' ? root_url.replace('administrator/', '') + 'components/com_djclassifieds/assets/images/loading.gif' : loader_path;

    if(typeof MooTools !== 'undefined'){ // backward compatibility
        var orig = {
            onSuccess: Request.prototype.onSuccess,
            onFailure: Request.prototype.onFailure
        };
        var changes = {
            onSuccess: function(){
                orig.onSuccess.apply(this, arguments);

                if(jQuery(this)[0].options.data.view == view && (!mod_id || jQuery(this)[0].options.data.mod_id == mod_id)){
                    // if call with standard fields from category change (not conditional fields)
                    if(jQuery(this)[0].options.data.task == ajax_task_name && typeof jQuery(this)[0].options.data.trigger_field_id === 'undefined'){
                        if(typeof jQuery(this)[0].options.data.cat_id !== 'undefined'){
                            cat_id = jQuery(this)[0].options.data.cat_id.toString().replace('p', '');
                        }
                        bindFieldTrigger(jQuery(ex_fields_wrapper + ' .trigger_field :input:not([type=hidden])'));
                    }
                }
            }
        };
        [Request].invoke('implement', changes);
    }

    jQuery(document).on('djclassifieds.loaded', function(event, params){
        if(params.ajax_data.view == view && (typeof params.ajax_data.mod_id === 'undefined' || params.ajax_data.mod_id == mod_id)){
            // if call with standard fields from category change (not conditional fields)
            if(params.ajax_data.task == ajax_task_name && typeof params.ajax_data.trigger_field_id === 'undefined'){
                if(typeof params.ajax_data.cat_id !== 'undefined'){
                    cat_id = params.ajax_data.cat_id.toString().replace('p', '');
                }
                if(typeof params.ajax_data.group_id !== 'undefined'){
                    group_id = params.ajax_data.group_id.toString();
                }
                bindFieldTrigger(jQuery(ex_fields_wrapper + ' .trigger_field :input:not([type=hidden])'));
            }
        }
    });

    function getConditionalFields($trigger_field)
    {
        var trig_field_id = $trigger_field.closest('.trigger_field').attr('data-id');

        if($trigger_field.is(':button')){
            return;
        }else if($trigger_field.is(':checkbox') || $trigger_field.is(':radio')){
            var trig_field_val = $trigger_field.closest('.trigger_field').find(':input[name="'+$trigger_field.attr('name')+'"]:checked').map(function(){
            return jQuery(this).val();
            }).get().join(';');
        }else if($trigger_field.closest('.trigger_field').find('.field-calendar').length > 1){
            var trig_field_val = $trigger_field.closest('.trigger_field').find('.field-calendar input[type="text"]').map(function(){
            if(jQuery(this).val()){
                return jQuery(this).val();
            }
            }).get().join(';');
        }else{
            var trig_field_val = $trigger_field.val();
        }

        if(loader_path){
            $trigger_field.closest('.trigger_field').after(jQuery('<div style="text-align:center;margin-bottom:15px" class="loading djloader" data-from-id="'+trig_field_id+'">'+'<img src="'+ loader_path +'" />'+'</div>'));
        }

        var ajax_data = {
            'option': 'com_djclassifieds',
            'view': view,
            'task': ajax_task_name,
            'cat_id': cat_id,
            'mcat_ids': mcat_ids,
            'group_id': group_id,
            'trigger_field_id': trig_field_id,
            'trigger_field_value': trig_field_val
        };

        if(mod_id){
            ajax_data.mod_id = mod_id;
        }
        for(var key in ajax_data_obj) {
            ajax_data[key] = ajax_data_obj[key];
        }

        jQuery.ajax({
            url: root_url + 'index.php',
            type: 'post',
            data: ajax_data
        }).done(function(response, textStatus, jqXHR){
            if(textStatus == 'success'){
                jQuery(ex_fields_wrapper + ' .loading[data-from-id="'+trig_field_id+'"]').remove();
                if(response){
                    $resp = jQuery(response).addClass('triggered'+trig_field_id);

                    jQuery($resp.get().reverse()).each(function(){
                        $that = jQuery(this);
                        if($trigger_field.closest('.trigger_field').attr('class').indexOf('triggered') !== -1){
                            var classList = $trigger_field.closest('.trigger_field').attr('class').split(/\s+/);
                            jQuery.each(classList, function(index, item){
                                if(item.match('^triggered')){
                                    $that.addClass(item);
                                }
                            });
                        }
                        $trigger_field.closest('.trigger_field').after($that[0]);

                        if(typeof $that.attr('data-id') !== 'undefined' && $prev_ex_fields.find('[data-id="'+$that.attr('data-id')+'"]').length){
                            $that.replaceWith($prev_ex_fields.find('[data-id="'+$that.attr('data-id')+'"]').clone());
                        }
                    });
                    
                    bindFieldTrigger(jQuery(ex_fields_wrapper + ' .triggered'+trig_field_id+'.trigger_field :input'));
                    // calendar support
                    if(typeof Calendar !== 'undefined'){
                        jQuery(ex_fields_wrapper + ' .triggered'+trig_field_id+' .field-calendar').find('.djcalendar').each(function(){
                            Calendar.setup({inputField: jQuery(this).attr('id'), button: jQuery(this).attr('id') + '_btn'});
                        });
                    }
                    // tooltip support (mootools)
                    if(typeof MooTools !== 'undefined' && typeof Tips !== 'undefined'){
                        new Tips($$('.Tips1'), {showDelay: 200, hideDelay: 200, className: 'djcf_label', fixed: false});
                    }else{
                        jQuery(ex_fields_wrapper + ' .triggered'+trig_field_id).find('.Tips1').each(function(){
                            if(typeof jQuery(this).tooltip === 'function'){
                                jQuery(this).tooltip({container: '#dj-classifieds'})
                            }
                        });
                    }
                    // checbox accordion support
                    handleAccordions(trig_field_id);
                }
                jQuery(document).trigger('djclassifieds.loaded', {context: 'conditionalfields', ajax_data: ajax_data});
            }
        });
    }

    function removeConditionalFields($trigger_field)
    {
        var trig_field_id = $trigger_field.closest('.trigger_field').attr('data-id');
        jQuery(ex_fields_wrapper + ' .triggered'+trig_field_id).remove();
    }
                    
    function bindFieldTrigger($trigger_fields)
    {
        var loaded_multi_fields = [];

        $trigger_fields.each(function(){
            if(!jQuery(this).attr('name')){
                return;
            }
            var unified_name = jQuery(this).attr('name').split('_to').join('').split('_min').join('').split('_max').join('');
            if(loaded_multi_fields.indexOf(unified_name) == -1){
                getConditionalFields(jQuery(this));
                loaded_multi_fields.push(unified_name);
            }
            jQuery(this).off('change.conditional').on('change.conditional', function(){
                removeConditionalFields(jQuery(this));
                getConditionalFields(jQuery(this));
            });
        });	
    }

    function handleAccordions(trig_field_id)
    {
        if(typeof MooTools !== 'undefined' && typeof Fx.Accordion !== 'undefined'){
            var djfields_accordion_o = document.getElements(ex_fields_wrapper+' .triggered'+trig_field_id+'.djfields_accordion_o');
            if(djfields_accordion_o){										
                djfields_accordion_o.each(function(djfields_acc_o,index){
                    new Fx.Accordion(djfields_acc_o.getElements('.label'),
                            djfields_acc_o.getElements('.se_checkbox'), {
                            alwaysHide : true,
                            display : 0,
                            duration : 100,
                            onActive : function(toggler, element) {
                                toggler.addClass('active');
                                element.addClass('in');
                            },
                            onBackground : function(toggler, element) {
                                toggler.removeClass('active');
                                element.removeClass('in');
                            }
                        });
                })										
            }
            
            var djfields_accordion_c = document.getElements(ex_fields_wrapper+' .triggered'+trig_field_id+'.djfields_accordion_c');
            if(djfields_accordion_c){										
                djfields_accordion_c.each(function(djfields_acc_c,index){
                    new Fx.Accordion(djfields_acc_c.getElements('.label'),
                            djfields_acc_c.getElements('.se_checkbox'), {
                            alwaysHide : true,
                            display : -1,
                            duration : 100,
                            onActive : function(toggler, element) {
                                toggler.addClass('active');
                                element.addClass('in');
                            },
                            onBackground : function(toggler, element) {
                                toggler.removeClass('active');
                                element.removeClass('in');
                            }
                        });
                })										
            }
        }else{
            jQuery(ex_fields_wrapper+' .triggered'+trig_field_id+'.djfields_accordion_o .label').click(function(){
                jQuery(this).toggleClass('active');
                jQuery(this).closest('.djfields_accordion_o').find('.se_checkbox').stop(true, false).toggleClass('in').slideToggle('fast');
            });
    
            jQuery(ex_fields_wrapper+' .triggered'+trig_field_id+'.djfields_accordion_c .se_checkbox').hide();
            jQuery(ex_fields_wrapper+' .triggered'+trig_field_id+'.djfields_accordion_c .label').addClass('active');
            jQuery(ex_fields_wrapper+' .triggered'+trig_field_id+'.djfields_accordion_c .label').click(function(){
                jQuery(this).toggleClass('active');
                jQuery(this).closest('.djfields_accordion_c').find('.se_checkbox').stop(true, false).toggleClass('in').slideToggle('fast');
            });
        }
    }
}
} catch (e) {
console.error('Error in file:/plugins/djclassifieds/conditionalfields/assets/js/conditionalfields.js?9e850f5d98e770647ae0b63ac52b2deb; Error:' + e.message);
};
try {
/**
 * @package Helix Ultimate Framework
 * @author JoomShaper https://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2023 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
 */

// Preloader
jQuery(window).on('load', function () {
	if (jQuery('.sp-loader-with-logo').length > 0) {
		move();
	}
	jQuery('.sp-pre-loader').fadeOut(500, function () {
		jQuery(this).remove();
	});
});

/**
 * Move the progress bar
 */
function move() {
	var elem = document.getElementById('line-load');
	var width = 1;
	var id = setInterval(frame, 10);
	function frame() {
		if (width >= 100) {
			clearInterval(id);
		} else {
			width++;
			elem.style.width = width + '%';
		}
	}
}

jQuery(function ($) {
	/**
	 * Helix settings data
	 *
	 */
	var settings = Joomla.getOptions('data') || {};

	/**
	 * sticky header
	 *
	 * @param {string} className the header className
	 */
	var handleStickiness = function (className, offsetTop) {
		if ($('body:not(.layout-edit-iframe)').hasClass(className)) {
			var $header = $('#sp-header');
			var headerHeight = $header.outerHeight();
			var $stickyHeaderPlaceholder = $('.sticky-header-placeholder');
			let $stickyOffset = '100';

			if (settings.header !== undefined && settings.header.stickyOffset !== undefined) {
				$stickyOffset = settings.header .stickyOffset || '100';
			}

			var stickyHeader = function () {
				var scrollTop = $(window).scrollTop();
				if (scrollTop >= offsetTop + Number($stickyOffset)) {
					$header.addClass('header-sticky');
					$stickyHeaderPlaceholder.height(headerHeight);
				} else {
					if ($header.hasClass('header-sticky')) {
						$header.removeClass('header-sticky');
						$stickyHeaderPlaceholder.height('inherit');
					}
				}
			};

			stickyHeader();
			$(window).scroll(function () {
				stickyHeader();
			});

			if ($('body').hasClass('layout-boxed')) {
				var windowWidth = $header.parent().outerWidth();
				$header.css({ 'max-width': windowWidth, left: 'auto' });
			}
		} else {
			var $header = $('#sp-header');
			if ($header.hasClass('header-sticky')) {
				$header.removeClass('header-sticky');
			}
			$(window).off('scroll');
		}
	};

	/**
	 * Calculate the header offset based on the
	 * backend preview iframe site and real site.
	 *
	 * @return  integer The offset value
	 */
	function getHeaderOffset() {
		/**
		 * Real site header offset top
		 *
		 */
		let $header = $('#sp-header');
		let stickyHeaderTop = $header.offset().top;

		/**
		 * Backend edit preview iframe header offset top
		 *
		 */
		let $backHeader = $('body.back-panel').find('#sp-header');
		let backPanelStickyHeaderTop = null;

		/**
		 * If the class .back-panel exists,
		 * that means this is from backend preview frame,
		 * then get the offset top, as it varies with the original one.
		 *
		 */
		if ($backHeader.length > 0) {
			backPanelStickyHeaderTop = $backHeader.offset().top;
		}

		// By Default the header offset is the original header top
		let headerOffset = stickyHeaderTop;

		/**
		 * If back panel sticky header top has value rather than null
		 * that means the device type is changes from desktop to table or mobile or vice-versa.
		 * If value found then subtract the settings topbar height from the offset top.
		 *
		 */
		if (backPanelStickyHeaderTop !== null) {
			headerOffset = backPanelStickyHeaderTop - settings.topbarHeight;
			headerOffset = headerOffset < 0 ? stickyHeaderTop : headerOffset;
		}

		return headerOffset;
	}

	const headerExist = $('#sp-header');
	if(headerExist.length>0) {
		handleStickiness('sticky-header', getHeaderOffset());
	}

	// go to top
	$(window).scroll(function () {
		if ($(this).scrollTop() > 100) {
			$('.sp-scroll-up').fadeIn();
		} else {
			$('.sp-scroll-up').fadeOut(400);
		}
	});

	$('.sp-scroll-up').click(function () {
		$('html, body').animate(
			{
				scrollTop: -60,
			},
			600
		);
		return false;
	});

	//mega menu
	$('.sp-megamenu-wrapper').parent().parent().css('position', 'static').parent().css('position', 'relative');
	$('.sp-menu-full').each(function () {
		$(this).parent().addClass('menu-justify');
	});

	// Offcanvs
	$('#offcanvas-toggler').on('click', function (event) {
		event.preventDefault();
		$('.offcanvas-init').addClass('offcanvas-active');
	});

	$('.offcanvas-toggler-secondary').on('click', function (event) {
		event.preventDefault();
		$('.offcanvas-init').addClass('offcanvas-active');
	});

	$('.offcanvas-toggler-full').on('click', function (event) {
		event.preventDefault();
		$('.offcanvas-init').addClass('offcanvas-active full-offcanvas');
	});

	$('.close-offcanvas, .offcanvas-overlay').on('click', function (event) {
		event.preventDefault();
		$('.offcanvas-init').removeClass('offcanvas-active full-offcanvas');
	});

	$(document).on('click', '.offcanvas-inner .menu-toggler', function (event) {
		event.preventDefault();
		$(this).closest('.menu-parent').toggleClass('menu-parent-open').find('>.menu-child').slideToggle(400);
	});

	// Modal Menu
	if ($('#modal-menu').length > 0) {
		let $modalToggler = $('#modal-menu-toggler');
		let $modalMenu = $('#modal-menu');
		let $body = $('body');

		$modalToggler.on('click', function (e) {
			e.preventDefault();
			$modalMenu.toggleClass('active');
			$body.toggleClass('modal-menu-active');
			$(this).toggleClass('active');
		});

		// modal menu close with escape
		$(document).keyup(function (e) {
			if (e.key == 'Escape') {
				$modalMenu.removeClass('active');
				$modalToggler.removeClass('active');
				$body.removeClass('modal-menu-active');
			}
		});
	}

	// Tooltip
	const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"], .hasTooltip'));
	tooltipTriggerList.map(function (tooltipTriggerEl) {
		return new bootstrap.Tooltip(tooltipTriggerEl,{
			html: true
		  });
	});

	// Popover
	const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"], .hasPopover'));
	popoverTriggerList.map(function (popoverTriggerEl) {
		return new bootstrap.Popover(popoverTriggerEl);
	});

	// Article Ajax voting
	$('.article-ratings .rating-star').on('click', function (event) {
		event.preventDefault();
		var $parent = $(this).closest('.article-ratings');

		var request = {
			option: 'com_ajax',
			template: template,
			action: 'rating',
			rating: $(this).data('number'),
			article_id: $parent.data('id'),
			format: 'json',
		};

		$.ajax({
			type: 'POST',
			data: request,
			beforeSend: function () {
				$parent.find('.fa-spinner').show();
			},
			success: function (response) {
				var data = $.parseJSON(response);
				$parent.find('.ratings-count').text(data.message);
				$parent.find('.fa-spinner').hide();

				if (data.status) {
					$parent.find('.rating-symbol').html(data.ratings);
				}

				setTimeout(function () {
					$parent.find('.ratings-count').text('(' + data.rating_count + ')');
				}, 3000);
			},
		});
	});

	//  Cookie consent
	$('.sp-cookie-allow').on('click', function (event) {
		event.preventDefault();

		var date = new Date();
		date.setTime(date.getTime() + 30 * 24 * 60 * 60 * 1000);
		var expires = '; expires=' + date.toGMTString();
		document.cookie = 'spcookie_status=ok' + expires + '; path=/';

		$(this).closest('.sp-cookie-consent').fadeOut();
	});

	$('.btn-group label:not(.active)').click(function () {
		var label = $(this);
		var input = $('#' + label.attr('for'));

		if (!input.prop('checked')) {
			label.closest('.btn-group').find('label').removeClass('active btn-success btn-danger btn-primary');
			if (input.val() === '') {
				label.addClass('active btn-primary');
			} else if (input.val() == 0) {
				label.addClass('active btn-danger');
			} else {
				label.addClass('active btn-success');
			}
			input.prop('checked', true);
			input.trigger('change');
		}
		var parent = $(this).parents('#attrib-helix_ultimate_blog_options');
		if (parent) {
			showCategoryItems(parent, input.val());
		}
	});
	$('.btn-group input[checked=checked]').each(function () {
		if ($(this).val() == '') {
			$('label[for=' + $(this).attr('id') + ']').addClass('active btn btn-primary');
		} else if ($(this).val() == 0) {
			$('label[for=' + $(this).attr('id') + ']').addClass('active btn btn-danger');
		} else {
			$('label[for=' + $(this).attr('id') + ']').addClass('active btn btn-success');
		}
		var parent = $(this).parents('#attrib-helix_ultimate_blog_options');
		if (parent) {
			parent.find('*[data-showon]').each(function () {
				$(this).hide();
			});
		}
	});

	function showCategoryItems(parent, value) {
		var controlGroup = parent.find('*[data-showon]');

		controlGroup.each(function () {
			var data = $(this).attr('data-showon');
			data = typeof data !== 'undefined' ? JSON.parse(data) : [];
			if (data.length > 0) {
				if (typeof data[0].values !== 'undefined' && data[0].values.includes(value)) {
					$(this).slideDown();
				} else {
					$(this).hide();
				}
			}
		});
	}

	$(window).on('scroll', function () {
		var scrollBar = $('.sp-reading-progress-bar');
		if (scrollBar.length > 0) {
			var s = $(window).scrollTop(),
				d = $(document).height(),
				c = $(window).height();
			var scrollPercent = (s / (d - c)) * 100;
			const position = scrollBar.data('position');
			if (position === 'top') {
				// var sticky = $('.header-sticky');
				// if( sticky.length > 0 ){
				//     sticky.css({ top: scrollBar.height() })
				// }else{
				//     sticky.css({ top: 0 })
				// }
			}
			scrollBar.css({ width: `${scrollPercent}%` });
		}
	});

	// Error Alert close issue fix for Joomla 3
	var observer = new MutationObserver(function(mutations) {
		$('#system-message-container .alert .close').attr('data-bs-dismiss', 'alert');
	});
	var target = document.querySelector('#system-message-container');
	observer.observe(target, {
		attributes: true
	});
});

/*----------  UNITEMPLATE PURE JS  ----------*/
window.addEventListener("DOMContentLoaded", function () {
	//Venobox
	const venoClass = document.querySelector('.venobox');
	if (venoClass) {
		new VenoBox({
		    selector: '.venobox',
	        titleattr:'data-title',
	        toolsColor:'#ffffff',
		});
	}
	
	function fixSlider() {// fix bug 480px heigh of sppb slider from 481px to 600px
		const existsSlider = document.querySelector('.sppb-addon-sp-slider');
		const sliderHeightXS = (existsSlider) ? existsSlider.getAttribute('data-height-xs') : '';
		if(existsSlider){
			if (window.matchMedia('(min-width:481px) and (max-width:600px)').matches) {
				setTimeout(function () {
					document.querySelector('.sp-slider-outer-stage').style.minHeight = sliderHeightXS;
				},50);
			} else{
				setTimeout(function () {
					document.querySelector('.sp-slider-outer-stage').style.minHeight = 'inherit';
				},50);
			}
		}
	}

	window.onload = fixSlider;
	window.onresize = fixSlider;
});

} catch (e) {
console.error('Error in file:/templates/ut_binv/js/main.js; Error:' + e.message);
};
try {
!function(t){var n=t(window),a=n.height();n.resize((function(){a=n.height()})),t.fn.parallax=function(o,r,i){var s,c,e=t(this);function l(){var i=n.scrollTop();e.each((function(){var n=t(this),l=n.offset().top;l+s(n)<i||l>i+a||!e.data("sppbparallax")||e.css("backgroundPosition",o+" "+Math.round((c-i)*r)+"px")}))}e.data("sppbparallax",!0),e.css("backgroundAttachment","fixed"),e.each((function(){c=e.offset().top})),s=i?function(t){return t.outerHeight(!0)}:function(t){return t.height()},(arguments.length<1||null===o)&&(o="50%"),(arguments.length<2||null===r)&&(r=.15),(arguments.length<3||null===i)&&(i=!0),n.bind("scroll",l).resize(l),l()},t.fn.parallaxDestroy=function(n,a){var o=t(this);o.data("sppbparallax")&&(n?o.css("backgroundPosition",n):o.css("backgroundPosition","0% 0%"),a?o.css("backgroundAttachment",a):o.css("backgroundAttachment","inherit"),o.data("sppbparallax",!1))}}(jQuery);
} catch (e) {
console.error('Error in file:/components/com_sppagebuilder/assets/js/jquery.parallax.js?ce25081991fa6ca202f1c312abc42fab; Error:' + e.message);
};
try {
/*! Magnific Popup - v1.1.0 - 2016-02-20
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2016 Dmitry Semenov; */
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}((function(e){var t,i,n,o,r,a,s="Close",l="BeforeClose",c="MarkupParse",d="Open",u="Change",p="mfp",f="."+p,m="mfp-ready",g="mfp-removing",v="mfp-prevent-close",h=function(){},y=!!window.jQuery,C=e(window),w=function(e,i){t.ev.on(p+e+f,i)},b=function(t,i,n,o){var r=document.createElement("div");return r.className="mfp-"+t,n&&(r.innerHTML=n),o?i&&i.appendChild(r):(r=e(r),i&&r.appendTo(i)),r},I=function(i,n){t.ev.triggerHandler(p+i,n),t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,e.isArray(n)?n:[n]))},x=function(i){return i===a&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),a=i),t.currTemplate.closeBtn},k=function(){e.magnificPopup.instance||((t=new h).init(),e.magnificPopup.instance=t)};h.prototype={constructor:h,init:function(){var i=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(i),t.isIOS=/iphone|ipad|ipod/gi.test(i),t.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=e(document),t.popupsCache={}},open:function(i){var o;if(!1===i.isObj){t.items=i.items.toArray(),t.index=0;var a,s=i.items;for(o=0;o<s.length;o++)if((a=s[o]).parsed&&(a=a.el[0]),a===i.el[0]){t.index=o;break}}else t.items=e.isArray(i.items)?i.items:[i.items],t.index=i.index||0;if(!t.isOpen){t.types=[],r="",i.mainEl&&i.mainEl.length?t.ev=i.mainEl.eq(0):t.ev=n,i.key?(t.popupsCache[i.key]||(t.popupsCache[i.key]={}),t.currTemplate=t.popupsCache[i.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,i),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=b("bg").on("click"+f,(function(){t.close()})),t.wrap=b("wrap").attr("tabindex",-1).on("click"+f,(function(e){t._checkIfClose(e.target)&&t.close()})),t.container=b("container",t.wrap)),t.contentContainer=b("content"),t.st.preloader&&(t.preloader=b("preloader",t.container,t.st.tLoading));var l=e.magnificPopup.modules;for(o=0;o<l.length;o++){var u=l[o];u=u.charAt(0).toUpperCase()+u.slice(1),t["init"+u].call(t)}I("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(w(c,(function(e,t,i,n){i.close_replaceWith=x(n.type)})),r+=" mfp-close-btn-in"):t.wrap.append(x())),t.st.alignTop&&(r+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:C.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:n.height(),position:"absolute"}),t.st.enableEscapeKey&&n.on("keyup"+f,(function(e){27===e.keyCode&&t.close()})),C.on("resize"+f,(function(){t.updateSize()})),t.st.closeOnContentClick||(r+=" mfp-auto-cursor"),r&&t.wrap.addClass(r);var p=t.wH=C.height(),g={};if(t.fixedContentPos&&t._hasScrollBar(p)){var v=t._getScrollbarSize();v&&(g.marginRight=v)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):g.overflow="hidden");var h=t.st.mainClass;return t.isIE7&&(h+=" mfp-ie7"),h&&t._addClassToMFP(h),t.updateItemHTML(),I("BuildControls"),e("html").css(g),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout((function(){t.content?(t._addClassToMFP(m),t._setFocus()):t.bgOverlay.addClass(m),n.on("focusin"+f,t._onFocusIn)}),16),t.isOpen=!0,t.updateSize(p),I(d),i}t.updateItemHTML()},close:function(){t.isOpen&&(I(l),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(g),setTimeout((function(){t._close()}),t.st.removalDelay)):t._close())},_close:function(){I(s);var i=g+" "+m+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(i+=t.st.mainClass+" "),t._removeClassFromMFP(i),t.fixedContentPos){var o={marginRight:""};t.isIE7?e("body, html").css("overflow",""):o.overflow="",e("html").css(o)}n.off("keyup.mfp focusin"+f),t.ev.off(f),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,I("AfterClose")},updateSize:function(e){if(t.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;t.wrap.css("height",n),t.wH=n}else t.wH=e||C.height();t.fixedContentPos||t.wrap.css("height",t.wH),I("Resize")},updateItemHTML:function(){var i=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),i.parsed||(i=t.parseEl(t.index));var n=i.type;if(I("BeforeChange",[t.currItem?t.currItem.type:"",n]),t.currItem=i,!t.currTemplate[n]){var r=!!t.st[n]&&t.st[n].markup;I("FirstMarkupParse",r),t.currTemplate[n]=!r||e(r)}o&&o!==i.type&&t.container.removeClass("mfp-"+o+"-holder");var a=t["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,t.currTemplate[n]);t.appendContent(a,n),i.preloaded=!0,I(u,i),o=i.type,t.container.prepend(t.contentContainer),I("AfterChange")},appendContent:function(e,i){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[i]?t.content.find(".mfp-close").length||t.content.append(x()):t.content=e:t.content="",I("BeforeAppend"),t.container.addClass("mfp-"+i+"-holder"),t.contentContainer.append(t.content)},parseEl:function(i){var n,o=t.items[i];if(o.tagName?o={el:e(o)}:(n=o.type,o={data:o,src:o.src}),o.el){for(var r=t.types,a=0;a<r.length;a++)if(o.el.hasClass("mfp-"+r[a])){n=r[a];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||t.st.type||"inline",o.index=i,o.parsed=!0,t.items[i]=o,I("ElementParse",o),t.items[i]},addGroup:function(e,i){var n=function(n){n.mfpEl=this,t._openClick(n,e,i)};i||(i={});var o="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(o).on(o,n)):(i.isObj=!1,i.delegate?e.off(o).on(o,i.delegate,n):(i.items=e,e.off(o).on(o,n)))},_openClick:function(i,n,o){if((void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick)||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var r=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(r)if(e.isFunction(r)){if(!r.call(t))return!0}else if(C.width()<r)return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation()),o.el=e(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),t.open(o)}},updateStatus:function(e,n){if(t.preloader){i!==e&&t.container.removeClass("mfp-s-"+i),n||"loading"!==e||(n=t.st.tLoading);var o={status:e,text:n};I("UpdateStatus",o),e=o.status,n=o.text,t.preloader.html(n),t.preloader.find("a").on("click",(function(e){e.stopImmediatePropagation()})),t.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(i){if(!e(i).hasClass(v)){var n=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(n&&o)return!0;if(!t.content||e(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||e.contains(t.content[0],i)){if(n)return!0}else if(o&&e.contains(document,i))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?n.height():document.body.scrollHeight)>(e||C.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(i){return i.target===t.wrap[0]||e.contains(t.wrap[0],i.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,i,n){var o;n.data&&(i=e.extend(n.data,i)),I(c,[t,i,n]),e.each(i,(function(i,n){if(void 0===n||!1===n)return!0;if((o=i.split("_")).length>1){var r=t.find(f+"-"+o[0]);if(r.length>0){var a=o[1];"replaceWith"===a?r[0]!==n[0]&&r.replaceWith(n):"img"===a?r.is("img")?r.attr("src",n):r.replaceWith(e("<img>").attr("src",n).attr("class",r.attr("class"))):r.attr(o[1],n)}}else t.find(f+"-"+i).html(n)}))},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:h.prototype,modules:[],open:function(t,i){return k(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(e.magnificPopup.defaults[t]=i.options),e.extend(this.proto,i.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(i){k();var n=e(this);if("string"==typeof i)if("open"===i){var o,r=y?n.data("magnificPopup"):n[0].magnificPopup,a=parseInt(arguments[1],10)||0;r.items?o=r.items[a]:(o=n,r.delegate&&(o=o.find(r.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},n,r)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),y?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var T,_,P,S="inline",E=function(){P&&(_.after(P.addClass(T)).detach(),P=null)};e.magnificPopup.registerModule(S,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(S),w(s+"."+S,(function(){E()}))},getInline:function(i,n){if(E(),i.src){var o=t.st.inline,r=e(i.src);if(r.length){var a=r[0].parentNode;a&&a.tagName&&(_||(T=o.hiddenClass,_=b(T),T="mfp-"+T),P=r.after(_).detach().removeClass(T)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),r=e("<div>");return i.inlineElement=r,r}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var z,O="ajax",M=function(){z&&e(document.body).removeClass(z)},B=function(){M(),t.req&&t.req.abort()};e.magnificPopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(O),z=t.st.ajax.cursor,w(s+"."+O,B),w("BeforeChange."+O,B)},getAjax:function(i){z&&e(document.body).addClass(z),t.updateStatus("loading");var n=e.extend({url:i.src,success:function(n,o,r){var a={data:n,xhr:r};I("ParseAjax",a),t.appendContent(e(a.data),O),i.finished=!0,M(),t._setFocus(),setTimeout((function(){t.wrap.addClass(m)}),16),t.updateStatus("ready"),I("AjaxContentAdded")},error:function(){M(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(n),""}}});var L,H=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=t.st.image,n=".image";t.types.push("image"),w(d+n,(function(){"image"===t.currItem.type&&i.cursor&&e(document.body).addClass(i.cursor)})),w(s+n,(function(){i.cursor&&e(document.body).removeClass(i.cursor),C.off("resize"+f)})),w("Resize"+n,t.resizeImage),t.isLowIE&&w("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,L&&clearInterval(L),e.isCheckingImgSize=!1,I("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(r){L&&clearInterval(L),L=setInterval((function(){return n.naturalWidth>0?void t._onImageHasSize(e):(i>200&&clearInterval(L),void(3===++i?o(10):40===i?o(50):100===i&&o(500)))}),r)};o(1)},getImage:function(i,n){var o=0,r=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,I("ImageLoadComplete")):200>++o?setTimeout(r,100):a())},a=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",s.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},s=t.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=e(c).on("load.mfploader",r).on("error.mfploader",a),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),(c=i.img[0]).naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:H(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(L&&clearInterval(L),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}});var A;e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var o,r,a=i.duration,c=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=n,t.css(o),t},d=function(){t.content.css("visibility","visible")};w("BuildControls"+n,(function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void d();(r=c(e)).css(t._getOffset()),t.wrap.append(r),o=setTimeout((function(){r.css(t._getOffset(!0)),o=setTimeout((function(){d(),setTimeout((function(){r.remove(),e=r=null,I("ZoomAnimationEnded")}),16)}),a)}),16)}})),w(l+n,(function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=a,!e){if(!(e=t._getItemToZoom()))return;r=c(e)}r.css(t._getOffset(!0)),t.wrap.append(r),t.content.css("visibility","hidden"),setTimeout((function(){r.css(t._getOffset())}),16)}})),w(s+n,(function(){t._allowZoom()&&(d(),r&&r.remove(),e=null)}))}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n,o=(n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),r=parseInt(n.css("padding-top"),10),a=parseInt(n.css("padding-bottom"),10);o.top-=e(window).scrollTop()-r;var s={width:n.width(),height:(y?n.innerHeight():n[0].offsetHeight)-a-r};return void 0===A&&(A=void 0!==document.createElement("p").style.MozTransform),A?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var F="iframe",j=function(e){if(t.currTemplate[F]){var i=t.currTemplate[F].find("iframe");i.length&&(e||(i[0].src="//about:blank"),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(F,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube_short:{index:"youtu.be/",id:"youtu.be/",src:'//www.youtube.com/embed/%id%?autoplay=1&rel="0"'},youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(F),w("BeforeChange",(function(e,t,i){t!==i&&(t===F?j():i===F&&j(!0))})),w(s+"."+F,(function(){j()}))},getIframe:function(i,n){var o=i.src,r=t.st.iframe;e.each(r.patterns,(function(){return o.indexOf(this.index)>-1?(this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1):void 0}));var a={};return r.srcAction&&(a[r.srcAction]=o),t._parseMarkup(n,a,i),t.updateStatus("ready"),n}}});var N=function(e){var i=t.items.length;return e>i-1?e-i:0>e?i+e:e},W=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% / %total%"},proto:{initGallery:function(){var i=t.st.gallery,o=".mfp-gallery";return t.direction=!0,!(!i||!i.enabled)&&(r+=" mfp-gallery",w(d+o,(function(){i.navigateByImgClick&&t.wrap.on("click"+o,".mfp-img",(function(){return t.items.length>1?(t.next(),!1):void 0})),n.on("keydown"+o,(function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()}))})),w("UpdateStatus"+o,(function(e,i){i.text&&(i.text=W(i.text,t.currItem.index,t.items.length))})),w(c+o,(function(e,n,o,r){var a=t.items.length;o.counter=a>1?W(i.tCounter,r.index,a):""})),w("BuildControls"+o,(function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,o=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(v),r=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(v);o.click((function(){t.prev()})),r.click((function(){t.next()})),t.container.append(o.add(r))}})),w(u+o,(function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout((function(){t.preloadNearbyImages(),t._preloadTimeout=null}),16)})),void w(s+o,(function(){n.off(o),t.wrap.off("click"+o),t.arrowRight=t.arrowLeft=null})))},next:function(){t.direction=!0,t.index=N(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=N(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),o=Math.min(i[1],t.items.length);for(e=1;e<=(t.direction?o:n);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?n:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=N(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),I("LazyLoad",n),"image"===n.type&&(n.img=e('<img class="mfp-img" />').on("load.mfploader",(function(){n.hasSize=!0})).on("error.mfploader",(function(){n.hasSize=!0,n.loadError=!0,I("LazyLoadError",n)})).attr("src",n.src)),n.preloaded=!0}}}});var Z="retina";e.magnificPopup.registerModule(Z,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,(function(e){return"@2x"+e}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;(i=isNaN(i)?i():i)>1&&(w("ImageHasSize."+Z,(function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})})),w("ElementParse."+Z,(function(t,n){n.src=e.replaceSrc(n,i)})))}}}}),k()}));
} catch (e) {
console.error('Error in file:/components/com_sppagebuilder/assets/js/jquery.magnific-popup.min.js; Error:' + e.message);
};
try {
(() => {
    'use strict';

    document.addEventListener('DOMContentLoaded', function () {
        const elements = document.querySelectorAll(".sppb-addon-text-block");
        elements.forEach(element => {
            const fullText = element.querySelector(".sppb-addon-content-full-text");
            const showMoreButtonElement = element.querySelector(".sppb-btn-show-more");
            const addonContentElement = element.querySelector(".sppb-addon-content");

            const handleClick = () => {
                addonContentElement.innerHTML = fullText.innerHTML;
            };
            showMoreButtonElement?.addEventListener('click', handleClick);
        });
    })
})();
} catch (e) {
console.error('Error in file:/components/com_sppagebuilder/assets/js/addons/text_block.js; Error:' + e.message);
};
try {
(()=>{var e={312:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Sha256:()=>T,WebCryptoSha256:()=>h});var i="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:e=>(new TextEncoder).encode(e);function s(e){return e instanceof Uint8Array?e:"string"==typeof e?i(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function r(e){return"string"==typeof e?0===e.length:0===e.byteLength}var a={name:"SHA-256"},o={name:"HMAC",hash:a},l=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);const c={};function u(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:c}var h=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!r(e)){var t=s(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then((function(t){return u().crypto.subtle.sign(o,t,e.toHash).then((function(e){return new Uint8Array(e)}))})):r(this.toHash)?Promise.resolve(l):Promise.resolve().then((function(){return u().crypto.subtle.digest(a,e.toHash)})).then((function(e){return Promise.resolve(new Uint8Array(e))}))},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise((function(t,n){u().crypto.subtle.importKey("raw",s(e.secret),o,!1,["sign"]).then(t,n)})),this.key.catch((function(){})))},e}();function d(e,t,n,i){return new(n||(n=Promise))((function(s,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function o(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}l((i=i.apply(e,t||[])).next())}))}function g(e,t){var n,i,s,r={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=o(0),a.throw=o(1),a.return=o(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,o[0]&&(r=0)),r;)try{if(n=1,i&&(s=2&o[0]?i.return:o[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,o[1])).done)return s;switch(i=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(s=r.trys,(s=s.length>0&&s[s.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){r.label=o[1];break}if(6===o[0]&&r.label<s[1]){r.label=s[1],s=o;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(o);break}s[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e],i=0}finally{n=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var f=64,p=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),_=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],y=Math.pow(2,53)-1,m=function(){function e(){this.state=Int32Array.from(_),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>y)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===f&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%f>=56){for(var i=this.bufferLength;i<f;i++)t.setUint8(i,0);this.hashBuffer(),this.bufferLength=0}for(i=this.bufferLength;i<56;i++)t.setUint8(i,0);t.setUint32(56,Math.floor(e/4294967296),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}var s=new Uint8Array(32);for(i=0;i<8;i++)s[4*i]=this.state[i]>>>24&255,s[4*i+1]=this.state[i]>>>16&255,s[4*i+2]=this.state[i]>>>8&255,s[4*i+3]=this.state[i]>>>0&255;return s},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],i=t[1],s=t[2],r=t[3],a=t[4],o=t[5],l=t[6],c=t[7],u=0;u<f;u++){if(u<16)this.temp[u]=(255&e[4*u])<<24|(255&e[4*u+1])<<16|(255&e[4*u+2])<<8|255&e[4*u+3];else{var h=this.temp[u-2],d=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,g=((h=this.temp[u-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3;this.temp[u]=(d+this.temp[u-7]|0)+(g+this.temp[u-16]|0)}var _=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&o^~a&l)|0)+(c+(p[u]+this.temp[u]|0)|0)|0,y=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^n&s^i&s)|0;c=l,l=o,o=a,a=r+_|0,r=s,s=i,i=n,n=_+y|0}t[0]+=n,t[1]+=i,t[2]+=s,t[3]+=r,t[4]+=a,t[5]+=o,t[6]+=l,t[7]+=c},e}(),b=function(){function e(e){this.secret=e,this.hash=new m,this.reset()}return e.prototype.update=function(e){if(!r(e)&&!this.error)try{this.hash.update(s(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return d(this,void 0,void 0,(function(){return g(this,(function(e){return[2,this.digestSync()]}))}))},e.prototype.reset=function(){if(this.hash=new m,this.secret){this.outer=new m;var e=function(e){var t=s(e);if(t.byteLength>f){var n=new m;n.update(t),t=n.digest()}var i=new Uint8Array(f);return i.set(t),i}(this.secret),t=new Uint8Array(f);t.set(e);for(var n=0;n<f;n++)e[n]^=54,t[n]^=92;this.hash.update(e),this.outer.update(t);for(n=0;n<e.byteLength;n++)e[n]=0}},e}();var E=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function w(e){return e&&E.every((function(t){return"function"==typeof e[t]}))}var T=function(){function e(e){!function(e){return!(!function(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}(e)||"object"!=typeof e.crypto.subtle)&&w(e.crypto.subtle)}(u())?this.hash=new b(e):this.hash=new h(e)}return e.prototype.update=function(e,t){this.hash.update(s(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}()},260:e=>{"use strict";function t(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}t.proto=function(){return RegExp.escape=t,t},e.exports=t},431:(e,t,n)=>{const i=n(312),s=n(735);e.exports=new class{constructor(){if(this._cached_config=null,this._stored_pkey=null,document.currentScript){const e=new URL(document.currentScript.src);this._stored_pkey=e.searchParams.get("d")}this._config_request=!1}setPublicKey(e){!e&&this._stored_pkey||(this._stored_pkey=e)}_waitUntilConfigUnlock(){return new Promise((e=>{const t=setInterval((()=>{this._config_request||(clearInterval(t),e())}),100)}))}getStoredMetadata(){const e=document.querySelector("script#linguise-extra-metadata");if(e){return JSON.parse(e.textContent)}}async getConfig(e){if(this._config_request&&await this._waitUntilConfigUnlock(),this._config_request=!0,null!==this._cached_config)return this._cached_config;const t=this.getStoredMetadata();if(t)return this._cached_config=t,this._stored_pkey=t.public_key,this._config_request=!1,t;if(!this._stored_pkey)throw new Error("Linguise: No available key can be used");try{const t=await this.callAPI("/config/"+this._stored_pkey+(e?"/"+e:""),{method:"GET",headers:{"Content-Type":"application/json"}});return this._cached_config=t,this._config_request=!1,t}catch(e){throw this._config_request=!1,e}}async getUrlTranslations(e,t){if(!this._stored_pkey)throw new Error("Linguise: No available key can be used");return await this.callAPI("/translations/url/"+this._stored_pkey+"/"+e+"/"+s.hash(decodeURI(t)),{method:"GET",headers:{"Content-Type":"application/json"}})}async callAPI(e,t={}){const n=new URL("http"+("1"==={}.API_USE_HTTPS?"s":"")+"://"+{}.API_DOMAIN+({}.API_DOMAIN_PORT?":"+{}.API_DOMAIN_PORT:"")+{}.API_BASE_PATH+e),i={};-1!==["POST","PUT"].indexOf(t.method)&&(i["Content-Type"]="application/json"),t={...t,referrerPolicy:"origin",headers:new Headers(i)};const s=await fetch(n,t),r=await s.json();if(!1===r.success)throw r;return r.data}async translate(e,t,n,s=null){if(null===s&&(s=new URL("http"+("1"==={}.API_TRANSLATE_HTTPS?"s":"")+"://"+{}.API_TRANSLATE_HOST+({}.API_TRANSLATE_PORT?":"+{}.API_TRANSLATE_PORT:""))),!this._stored_pkey)throw new Error("Linguise: No available key can be used");const r=new FormData,a=new URL(window.location.href);r.append("version","2.2.6"),r.append("url",e),r.append("original_url",`${a.protocol}//${a.host}`),r.append("language",t),r.append("requested_path",window.location.pathname),r.append("content",n),r.append("public_key",this._stored_pkey),r.append("response_code","200"),r.append("user_agent",navigator.userAgent);const o=(new Date).getTime().toString(),l={Referer:window.location.href,"X-Linguise-Nonce":o,"X-Linguise-Key":this._stored_pkey,"X-Linguise-Language":t,"X-Linguise-Hash":await(async(e,t,n)=>{const s=new i.Sha256;s.update(`${e}_${t}-${n}`);const r=await s.digest();return Array.from(r).map((e=>e.toString(16).padStart(2,"0"))).join("")})(this._stored_pkey,o,t)},c=await fetch(s,{method:"POST",body:r,headers:l}),u=await c.json();if(void 0!==u.response_code&&200!==u.response_code)throw new Error(u.message);return u}}},592:(e,t,n)=>{const i=n(260),{IGNORED_NODE_NAME:s,NODE_TOKENIZER_CUSTOM_ATTRS:r}=n(775);e.exports=class{constructor(e=[]){this.exclusion_rules=[],this.text_replacement_rules=[],this.text_ignore_rules=[],this.dynamic_content_rules=[],e.forEach((e=>{if(e.apply_to_url&&e.apply_to_language)switch(e.type){case 1:this.text_ignore_rules.push(e.params);break;case 2:this.text_replacement_rules.push(e.params);break;case 3:this.exclusion_rules.push(e.params);break;case 6:this.dynamic_content_rules.push(e.params)}}))}findMatchingSelector(e,t){if(!e)return null;if(!t||0===t.length)return null;for(const n of t){const t=document.querySelectorAll(n);if(0!==t.length)for(const n of Array.from(t))if(n.contains(e))return n}return null}isElementRulesExcluded(e){return this.exclusion_rules.map((t=>{const n=t.element_selectors||[];return null!==this.findMatchingSelector(e,n)})).filter((e=>e)).length>0}isTextMatch(e,t,n,s=!1){if(!e)return!1;let r="gs";s&&(r+="i");const a="regex"===n?`(${t})`:`(${i(t)})`;return new RegExp(a,r).test(e)}isElementHasAttributes(e,t){return!!e&&(!(!t||0===t.length)&&t.map((t=>e.hasAttribute(t))).filter((e=>e)).length>0)}attachTextRules(e){const t=e.tokenize().map((e=>e.text));this.text_ignore_rules.forEach((n=>{if(n.languages&&!n.languages.includes(this.current_language))return;if(n.text_ignore.map((e=>t.map((t=>this.isTextMatch(t,e.text_ignore,e.text_ignore_type,e.ignore_case))).filter((e=>e)).length>0)).filter((e=>e)).length>0){const t=this.findMatchingSelector(e.element,n.element_selectors||[]);t&&(e.extraMetadata.id=e.extraMetadata.id||t.id,e.extraMetadata.class=[...e.extraMetadata.class||[],...t.className.split(" ")],e.extraMetadata.dataset={...e.extraMetadata.dataset||{},...t.dataset})}})),this.text_replacement_rules.forEach((n=>{if(n.languages&&!n.languages.includes(this.current_language))return;if(n.text_replace.filter((e=>"original"===e.source_type)).map((e=>t.map((t=>this.isTextMatch(t,e.text_replace,e.text_replace_type,e.ignore_case))).filter((e=>e)).length>0)).filter((e=>e)).length>0){const t=this.findMatchingSelector(e.element,n.element_selectors||[]);t&&(e.extraMetadata.id=e.extraMetadata.id||t.id,e.extraMetadata.class=[...e.extraMetadata.class||[],...t.className.split(" ")],e.extraMetadata.dataset={...e.extraMetadata.dataset||{},...t.dataset})}}))}collectDynamicNodes(){const e=[];for(const t of this.dynamic_content_rules){const n=t.element_selectors||[];if(!n||0===n.length)continue;const i=n.map((e=>Array.from(document.querySelectorAll(e)))).reduce(((e,t)=>[...e,...t]),[]);if(0===i.length)continue;const a=new Set;for(const t of i){if(a.has(t))continue;a.add(t);const n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,(e=>{if(!e.isConnected)return NodeFilter.FILTER_REJECT;if(e.nodeType===Node.COMMENT_NODE)return NodeFilter.FILTER_REJECT;if(e.nodeType===Node.ELEMENT_NODE&&this.isElementHasAttributes(e,r[e.nodeName]||[]))return NodeFilter.FILTER_SKIP;let t=e;return e.nodeType===Node.TEXT_NODE&&(t=e.parentElement),s.includes(e.nodeName)||s.includes(t.nodeName)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}));for(;n.nextNode();)if(n.currentNode.nodeType===Node.TEXT_NODE){if(!n.currentNode.parentElement)continue;e.push([n.currentNode,n.currentNode.parentElement])}else e.push([n.currentNode,n.currentNode])}}return e}}},230:e=>{class t{constructor(e,t,n,i={}){this.id=e?e.id:"noop",this.index=t,this.text=n,this.metaExtra=i,this.node=e,this.subId=null,this.tagName=null}isCached(){return this.node.cachedIndex.includes(this.index)}asHtml(){if(this.isCached())return;const e=this.tagName?this.tagName:this.node?this.node.tagWrapper:"div",t=["linguiseId","linguiseIndex","linguiseSubId","linguiseMetaExtra"],n=document.createElement("div"),i=document.createElement(e);i.dataset.linguiseId=this.id,i.dataset.linguiseIndex=this.index.toString(),this.subId&&(i.dataset.linguiseSubId=this.subId);const s=[];if(this.metaExtra)for(const[e,t]of Object.entries(this.metaExtra))i[e]=t,s.push(e);if(s.length>0&&(i.dataset.linguiseMetaExtra=s.join(";;")),this.node){let e=(this.node.element.nodeType===Node.TEXT_NODE?this.node.element.parentElement:this.node.element.attributes).className||"";const n=this.node.extraMetadata.class||[];if(n.length>0){const t=n.filter((e=>""!==e.trim()));e+=` ${Array.from(new Set(t)).join(" ")}`}if(i.className=e,this.node.extraMetadata.id&&(i.id=this.node.extraMetadata.id),this.node.extraMetadata.dataset){const e=new Set;for(const n of Object.keys(this.node.extraMetadata.dataset)){if(e.has(n))continue;if(-1!==t.indexOf(n))continue;const s=this.node.extraMetadata.dataset[n];e.add(n),i.dataset[n]=s}}}return i.textContent=this.text||"",n.appendChild(i),n.innerHTML}static fromElement(e){const n=e.dataset.linguiseId;let i=e.dataset.linguiseIndex;if(!n||!i)return;if(i=parseInt(i),isNaN(i))return;const s={};if(e.dataset.linguiseMetaExtra){const t=e.dataset.linguiseMetaExtra.split(";;");for(const n of t)s[n]=e.getAttribute(n)}const r=new t(null,i,e.textContent,s);r.id=n;const a=e.dataset.linguiseSubId;return a&&(r.subId=a),r}}e.exports=t},371:(e,t,n)=>{const{debounce:i}=n(775),s="v4.1",r="_linguise_ttl",a="linguiseDynamicCache";function o(e){return Math.floor(((new Date).getTime()+e)/1e3)}function l(e,t){return t?`${t}::${e}`:e}const c=new class{constructor(){this.caches={},this.global_ttl=void 0,this.MAX_TTL_TIME=2592e5,this.saveToStorageDebounced=i(this.saveToStorage.bind(this),300),document.addEventListener("visibilitychange",(()=>{"hidden"===document.visibilityState&&this.saveToStorage()}))}importFromStorage(){const e=localStorage.getItem(a);if(!e)return;const t=JSON.parse(e);t.version===s&&(this.caches=t.caches,this.global_ttl=Number(t[r]),this.updateTTL())}updateTTL(){const e=o(this.MAX_TTL_TIME);if(isNaN(this.global_ttl))return this.global_ttl=e,void this.saveToStorageDebounced();e>this.global_ttl&&(this.caches={}),this.global_ttl=e,this.saveToStorageDebounced()}setMaxTTL(e){this.MAX_TTL_TIME=e,this.updateTTL()}add(e,t,n,i){if(!n)throw new Error("Language is required");this.updateTTL(),this.caches[n]=this.caches[n]||{};const s=l(e,i);this.caches[n][s]?(this.caches[n][s].value=t,this.caches[n][s].ttl=o(this.MAX_TTL_TIME)):this.caches[n][s]={value:t,ttl:o(this.MAX_TTL_TIME)},this.saveToStorageDebounced()}get(e,t,n){if(!t)throw new Error("Language is required");const i=(new Date).getTime();if(1e3*this.global_ttl<i)return void this.flush();this.caches[t]=this.caches[t]||{};const s=l(e,n),r=this.caches[t][s];if(r){if(!(1e3*r.ttl<i))return this.caches[t][s].ttl=Math.floor((i+this.MAX_TTL_TIME)/1e3),this.updateTTL(),r.value;try{delete this.caches[t][s]}catch{}this.updateTTL()}}saveToStorage(){localStorage.setItem(a,JSON.stringify({version:s,caches:this.caches,[r]:this.global_ttl}))}flush(){this.caches={},this.updateTTL()}};e.exports=c,window.globalLinguiseCache=c},72:(e,t,n)=>{const i=n(230),s=n(813),r=n(371);e.exports=class extends s{constructor(e,t){super(e,e),this.mergeable=!1}shouldWeTranslate(e){return!e.trim().startsWith("data:image")&&super.shouldWeTranslate(e)}tokenize(e=!1){if(void 0!==this._cachedTokenized&&!e)return this._cachedTokenized;const t=this.element.getAttribute("src"),n=this.element.getAttribute("alt"),s=this.element.getAttribute("title");if(t){const r={};if(this.shouldWeTranslate(t)&&(r.src=t),n&&this.shouldWeTranslate(n)&&(r.alt=n),s&&this.shouldWeTranslate(s)&&(r.title=s),!Object.keys(r).length)throw new Error("No attribute to translate in image element");const a=new i(this,0,"",r);return a.subId="merged-src",a.tagName="img",e||(this._cachedTokenized=[a]),[a]}if(n||s){const t=[];if(n&&this.shouldWeTranslate(n)){const e=new i(this,0,n);e.subId="alt",t.push(e)}if(s&&this.shouldWeTranslate(s)){const e=new i(this,1,s);e.subId="title",t.push(e)}if(!t.length)throw new Error("No attribute to translate in image element");return e||(this._cachedTokenized=t),t}throw new Error("No attribute to translate in image element")}applyChange(e,t,n){const i=Object.assign({},{dryRun:!1,skipCache:!1},n||{});i.skipCache||this.cachedIndex.push(e.index);const s=e.subId;if(!s)return;let a=e.text;if("merged-src"!==s)"alt"===s&&this.applyAttributeChange("alt",a,{...i,language:t}),"title"===s&&this.applyAttributeChange("title",a,{...i,language:t});else{if(a=e.metaExtra.src,!a)return;const n=this.element.getAttribute("src");i.dryRun&&(a=`${n}#linguise-translated-demo`),this.element.setAttribute("src",a),i.skipCache||i.dryRun||r.add(n,a,t,s);const o=e.metaExtra.alt;o&&this.applyAttributeChange("alt",o,{...i,language:t,subId:s});const l=e.metaExtra.title;l&&this.applyAttributeChange("title",l,{...i,language:t,subId:s})}}blurParent(){}unblurParent(){}}},765:(e,t,n)=>{const i=n(230),s=n(813);n(371);e.exports=class extends s{constructor(e,t){super(e,e),this.tagWrapper="a"}shouldWeTranslate(e){const t=e.trim(),n=["http:","https:","mailto:","tel:","ftp:"];try{const e=new URL(t,window.location.href);if(!n.includes(e.protocol))return!1;const i=new URL(window.location.href);return i.protocol!==e.protocol||i.origin!==e.origin||i.pathname!==e.pathname||i.search!==e.search||i.hash===e.hash}catch(e){return!1}return super.shouldWeTranslate(e)}tokenize(e=!1){if(void 0!==this._cachedTokenized&&!e)return this._cachedTokenized;const t=this.element.getAttribute("href"),n=[];if(t&&this.shouldWeTranslate(t)){const e=new i(this,0,"",{href:t});e.subId="href",n.push(e)}if(!n.length)throw new Error("No attribute to translate in link element");return e||(this._cachedTokenized=n),n}applyChange(e,t,n){const i=Object.assign({},{dryRun:!1,skipCache:!1},n||{});i.skipCache||this.cachedIndex.push(e.index);const s=e.subId;if(!s)return;if(!e.metaExtra)return;let r=e.metaExtra.href;this.applyAttributeChange("href",r,{...i,language:t,subId:s})}blurParent(){}unblurParent(){}}},813:(e,t,n)=>{const i=n(230),s=n(371),{generateUUID:r}=n(775);e.exports=class{constructor(e,t){this.id=r(),this.element=e,this.parentElement=t||e,this._cachedTokenized=void 0,this.cachedIndex=[],this._blurred=!1,this.tagWrapper="div",this.extraMetadata={},this.mergeable=!1}shouldWeTranslate(e){const t=e.trim();return""!==t&&(!/^\d+(?:[,.]\d+)*$/.test(t)&&!/^[\W\d\s_-]*$/.test(t))}tokenize(e=!1){if(void 0!==this._cachedTokenized&&!e)return this._cachedTokenized;if(this.element.nodeType===Node.TEXT_NODE){const t=Array.from(this.parentElement.childNodes).indexOf(this.element);if(-1===t)throw new Error("can't find index of text node");if(!this.shouldWeTranslate(this.element.textContent))return[];const n=[new i(this,t,this.element.textContent)];return e||(this._cachedTokenized=n),n}let t=[];for(let e=0;e<this.element.childNodes.length;e++){const n=this.element.childNodes[e];if(n.nodeType===Node.TEXT_NODE){if(!this.shouldWeTranslate(n.textContent))continue;t.push(new i(this,e,n.textContent))}}return e||(this._cachedTokenized=t),t}asHtml(){const e=this.tokenize();if(!e.length)return;let t=[];for(let n=0;n<e.length;n++){const i=e[n].asHtml();i&&t.push(i)}return t.length?t.join(""):void 0}applyAttributeChange(e,t,n){let i=this.element;i.nodeType===Node.TEXT_NODE&&(i=this.parentElement);const r=i.getAttribute(e);n.dryRun&&(t="href"===e?`${r}#linguise-translated-demo`:`${r} (translated)`),i.setAttribute(e,t),n.skipCache||n.dryRun||s.add(r,t,n.language,n.subId||e)}applyChange(e,t,n){const i=Object.assign({},{dryRun:!1,skipCache:!1},n||{});if(i.skipCache||this.cachedIndex.push(e.index),this.element.nodeType===Node.TEXT_NODE)if(i.dryRun){const t=this.element.textContent.match(/\s*$/)[0];this.element.textContent=e.text+" (translated)"+t}else i.skipCache||s.add(this.element.textContent,e.text,t,e.subId),this.element.textContent=e.text;else if(this.element.childNodes[e.index])if(i.dryRun){const t=this.element.childNodes[e.index].textContent.match(/\s*$/)[0];this.element.childNodes[e.index].textContent=e.text+" (translated)"+t}else i.skipCache||s.add(this.element.childNodes[e.index].textContent,e.text,t,e.subId),this.element.childNodes[e.index].textContent=e.text}isElementModified(e=null){const t=this.tokenize(),n=this.tokenize(!0);if("number"==typeof e){const i=t.find((t=>t.index===e)),s=n.find((t=>t.index===e));if(!i||!s)return!0;if(i.text!==s.text)return!0;for(const e in i.metaExtra)if(i.metaExtra[e]!==s.metaExtra[e])return!0;return!1}if(t.length!==n.length)return!0;t.sort(((e,t)=>e.index-t.index)),n.sort(((e,t)=>e.index-t.index));for(let e=0;e<t.length;e++){const i=t[e],s=n[e];if(i.text!==s.text)return!0;for(const e in i.metaExtra)if(i.metaExtra[e]!==s.metaExtra[e])return!0}return!1}blurParent(){this.parentElement&&!this._blurred&&(this.parentElement.setAttribute("data-linguise-loading","1"),this._blurred=!0)}unblurParent(){this.parentElement&&(this.parentElement.removeAttribute("data-linguise-loading"),this._blurred=!1)}}},64:(e,t,n)=>{const i=n(230),s=n(813);n(371);e.exports=class extends s{constructor(e,t){super(e,e),this.mergeable=!1}tokenize(e=!1){if(void 0!==this._cachedTokenized&&!e)return this._cachedTokenized;const t=this.element.getAttribute("placeholder");if(t){const n=[];if(t&&this.shouldWeTranslate(t)){const e=new i(this,0,t);e.subId="placeholder",n.push(e)}if(!n.length)throw new Error("No attribute to translate in textarea/input element");return e||(this._cachedTokenized=n),n}throw new Error("No attribute to translate in textarea/input element")}applyChange(e,t,n){const i=Object.assign({},{dryRun:!1,skipCache:!1},n||{});i.skipCache||this.cachedIndex.push(e.index);const s=e.subId;if(!s)return;let r=e.text;"placeholder"===s&&this.applyAttributeChange("placeholder",r,{...i,language:t})}blurParent(){}unblurParent(){}}},462:(e,t,n)=>{const i=n(371),s=n(813),r=n(765),a=n(72),o=n(431),l=n(230),c=n(64),u=n(592),{debounce:h,generateUUID:d,IGNORED_NODE_NAME:g,EXTENDED_IGNORED_NODE_NAME:f,NODE_TOKENIZER_CUSTOM_ATTRS:p}=n(775);let _=!1;const y={IMG:a,A:r,TEXTAREA:c,INPUT:c};e.exports=class{constructor(e,t=null){this.config={apiKey:void 0,debounceDelay:2500,cacheTTL:2592e5,debug:!1,dryRun:!1,domainId:null,domainUrl:null,languageOverride:null,baseUrl:`${window.location.protocol}//${window.location.host}`,blurAnimation:!0},this.debouncedProcessTranslation=function(e,t){let n=null,i=[];const s=()=>{n=null,_&&console.log("Linguise: Debounce is not called after timeout, executing with",i.length,"items"),e(i),i=[]};return e=>{_&&console.log("Linguise: Called debouncer with",e.length,"items"),i=[...i,...e],e.length>0&&(n&&clearTimeout(n),n=setTimeout(s,t))}}(this.processTranslation.bind(this),this.config.debounceDelay),this.debounceDequeLockedNode=h(this.dequeLockedNode.bind(this),500),this.config_ready=!1,this._queued_translations=[],this._locked_node=[],this._translate_endpoint=t;let n=document.documentElement.lang||"";n.includes("-")&&!n.startsWith("zh-")&&(n=n.split("-")[0]),n=n.toLowerCase(),this.current_language=null,this.current_document_language=n,this.observer=null,this.rules=new u,this._config_fetch=e,this._linguise_editor=!1,"loading"===document.readyState?addEventListener("DOMContentLoaded",(()=>{this.initialize().then((()=>{this.wrapFetchConfig()})).catch((e=>{console.error("Linguise: Failed to initialize dynamic content",e),this.cancelProcess()}))})):this.initialize().then((()=>{this.wrapFetchConfig()})).catch((e=>{console.error("Linguise: Failed to initialize dynamic content",e),this.cancelProcess()}))}wrapFetchConfig(){"function"==typeof this._config_fetch&&this._config_fetch(this.config,(async e=>{const t=o.getStoredMetadata();if((e=Object.assign({},t||{},e)).debug&&(this.config.debug=!0),!e.dynamic_translations.enabled)return this.config.debug&&console.log("Linguise: Dynamic translation is disabled, cancelling"),void this.cancelProcess();if(!e.public_key)return this.config.debug&&console.log("Linguise: Public key is not set, cancelling"),void this.cancelProcess();this.config.debug&&console.log("Linguise: Config is ready, processing queued translations");let n=e.language;for(const t in e.languages)if(e.languages[t].code===this.current_document_language){n=this.current_document_language;break}if(this.config.languageOverride&&(n=this.config.languageOverride),e.language===n)return this.config.debug&&console.log("Linguise: Document language is the same as current language, cancelling"),void this.cancelProcess();this.current_language=n,this.config.apiKey=e.public_key,this.config.baseUrl=e.url||e.domain;const i=e.rules||[];if(this.rules=new u(i),o.setPublicKey(e.public_key),this.config_ready=!0,this.isLinguiseEditorActive())return this.config.debug&&console.log("Linguise: Linguise editor is active, cancelling dynamic content"),void this.cancelProcess();this._queued_translations.forEach((e=>{this.config.blurAnimation&&e.blurParent()}));const s=this.uniqueElementNode(this.rules.collectDynamicNodes()).filter((([e,t])=>this.isElementPreflightAllow(e,t))).map((([e,t])=>{const n=this.applyCacheOrTranslate(e,t);if(n)return n})).filter((e=>void 0!==e));s.forEach((e=>{e.blurParent()})),this.debouncedProcessTranslation([...s,...this._queued_translations])})).catch((e=>{console.error("Linguise: Failed to fetch config",e),this.cancelProcess()}))}async _translate(e){if(this.config.dryRun)return[e,!0];const t=this.config.languageOverride||this.current_language;try{const n=`<div class="linguise-dynamic-wrapper">${e}</div>`;return[(await o.translate(this.config.baseUrl,t,n,this._translate_endpoint)).content,!0]}catch(t){return console.error("Linguise: Failed to translate content",t),[e,!1]}}async processTranslation(e){if(!this.config_ready)return this.config.debug&&console.log("Linguise: Config is not ready, queueing translations"),void this._queued_translations.push(...e);if(this.isLinguiseEditorActive())return this.config.debug&&console.log("Linguise: Linguise editor is active, cancelling dynamic content"),void this.cancelProcess();e.forEach((e=>{this.rules.attachTextRules(e)}));const t=e.map((e=>{try{return e.tokenize()}catch{return[]}})).flat().filter((e=>!e.isCached())).map((e=>e.node)),n=function(e){const t=new Set,n=new Set;return e.filter((e=>{const n=t.has(e.id);return t.add(e.id),!n})).filter((e=>{const t=n.has(e.element);return n.add(e.element),!t}))}(t.filter((e=>e.element.isConnected)));e.forEach((e=>{e.blurParent()})),this.config.debug&&console.log("Linguise: Found uncached",n),this.config.debug&&console.debug("Linguise: Current translation queue:",e),this.config.debug&&console.debug("Linguise: Current uncached response:",t),this.config.debug&&console.debug("Linguise: Uncached disconnected:",t.filter((e=>!e.element.isConnected)));const i=function(e){const t=new Map,n=[];for(const i of e)i.element!==i.parentElement&&i.parentElement&&i.mergeable?t.has(i.parentElement)?t.get(i.parentElement).push(i):t.set(i.parentElement,[i]):n.push(i);const i=[];for(const[e,n]of t){if(1===n.length){i.push(n[0].asHtml());continue}const t=new Array(e.childNodes.length).fill(void 0);for(const i of n)for(let n=0;n<e.childNodes.length;n++)e.childNodes[n]===i.element&&(t[n]=i);const s=`<div data-linguise-parent="${d()}">`,r=t.filter((e=>void 0!==e)).map((e=>e.asHtml().replace("<div","<span").replace("</div>","</span>"))).join("");i.push(s+r+"</div>")}for(const e of n)i.push(e.asHtml());return i.join("")}(n);if(this.config.debug&&console.debug("Linguise: Translating",i),!i.length)return e.forEach((e=>{e.unblurParent()})),void(this.config.debug&&console.log("Linguise: Nothing to be translated to server"));this.config.debug&&console.log("Linguise: Sending translation to server...");const[s,r]=await this._translate(i);if(e.forEach((e=>{e.unblurParent()})),!s)return void(this.config.debug&&console.log("Linguise: Translation failed, cancelling"));this.config.debug&&console.log("  Linguise: Received translation from server...");const a=document.createElement("div");a.innerHTML=s,this.config.debug&&console.debug("   Linguise: Translated content",a),this.config.debug&&console.log("  Linguise: Updating DOM..."),a.querySelectorAll("[data-linguise-id]").forEach((t=>{const n=l.fromElement(t);if(!n)return;const i=e.find((e=>e.id===n.id));i&&(i.element.isConnected?i.isElementModified(n.index)?this.config.debug&&console.log("  Linguise: Element is changed, ignoring",i):(this.enqueLockedNode(i.element),i.applyChange(n,this.current_language,{dryRun:this.config.dryRun,skipCache:!r})):this.config.debug&&console.log("  Linguise: Element is not attached to DOM, ignoring"))}))}collectChildNodes(e,t=[]){e.nodeType===Node.TEXT_NODE?t.push([e,e.parentElement]):("IMG"===e.nodeName&&(e.hasAttribute("src")||e.hasAttribute("alt")||e.hasAttribute("title"))||"A"===e.nodeName&&e.hasAttribute("href")||["TEXTAREA","INPUT"].includes(e.nodeName)&&e.hasAttribute("placeholder"))&&t.push([e,e]);for(let n=0;n<e.childNodes.length;n++)this.collectChildNodes(e.childNodes[n],t);return t}uniqueElementNode(e){const t=new Set,n=[];for(const[i,s]of e)t.has(i)||(t.add(i),n.push([i,s]));return n}applyCacheOrTranslate(e,t){const n=function(e){const t=e.nodeName;return y[t]||s}(e),r=new n(e,t);if(this._locked_node.includes(e))return void(this.config.debug&&console.debug("Linguise: Skipping locked node",r));let a=[];try{a=r.tokenize()}catch{return}return a.map((e=>{const t=i.get(e.text,this.current_language||this.current_document_language,e.subId);if(t){const n=new l(null,e.index,t);return e.subId&&(n.subId=e.subId),this.enqueLockedNode(r.element),r.applyChange(n,this.current_language||this.current_document_language,{dryRun:this.config.dryRun}),!0}for(const[t,n]of Object.entries(e.metaExtra||{})){const s=i.get(n,this.current_language||this.current_document_language,e.subId);if(s){const n={};n[t]=s;const i=new l(null,e.index,e.text,n);return e.subId&&(i.subId=e.subId),this.enqueLockedNode(r.element),r.applyChange(i,this.current_language||this.current_document_language,{dryRun:this.config.dryRun}),!0}}return!1})).every((e=>e))?void 0:r}cancelProcess(){null!==this.observer&&this.observer.disconnect(),this._queued_translations.forEach((e=>{e.unblurParent()})),this.debounceDequeLockedNode()}extractScriptParam(){if(!document.currentScript)return{};const e=new URL(document.currentScript.src),t=e.searchParams.get("d"),n=e.searchParams.get("i"),i={};return t&&(i.apiKey=t),n&&(i.domainId=n),i}isLinguiseRelated(e){if(!e)return!1;if("BODY"===e.nodeName)return!1;if(e.nodeType===Node.ELEMENT_NODE){if(e.id&&(e.id.startsWith("linguise_")||e.id.startsWith("linguise-")))return!0;if("string"==typeof e.className&&(e.className.includes("linguise_")||e.className.includes("linguise-")))return!0}return this.isLinguiseRelated(e.parentNode)}isLinguiseEditorActive(){if(this._linguise_editor)return!0;if(document.querySelector("link#linguise_editor_style"))return this._linguise_editor=!0,!0;return!!document.querySelector("div#linguise_editor_toolbar")&&(this._linguise_editor=!0,!0)}dequeLockedNode(){this.config.debug&&console.log("Linguise: Dequeue-ing locked node",this._locked_node.length),this.config.debug&&console.debug("Linguise: Locked node removal",this._locked_node),this._locked_node=[]}enqueLockedNode(e){this._locked_node.push(e),this.debounceDequeLockedNode()}isElementPreflightAllow(e,t){return!!e.isConnected&&(e.nodeType!==Node.COMMENT_NODE&&(!this.isLinguiseRelated(e)&&((e.nodeType===Node.TEXT_NODE||!g.includes(e.nodeName))&&((e.nodeType!==Node.TEXT_NODE||!f.includes(t.nodeName))&&(!(e.nodeType===Node.ELEMENT_NODE&&e.hasAttribute("linguise-ignore")||t.hasAttribute("linguise-ignore"))&&(!(e.nodeType===Node.ELEMENT_NODE&&e.hasAttribute("data-linguise-loading")||t.hasAttribute("data-linguise-loading"))&&!this.rules.isElementRulesExcluded(e)))))))}async initialize(){if(void 0===window)throw new Error("Linguise: please run this on browser");document.getElementById("linguise-dynamic-content-style")&&document.getElementById("linguise-dynamic-content-style").remove();const e=document.createElement("style");e.id="linguise-dynamic-content-style",e.innerHTML="\n[data-linguise-loading] {\n    text-shadow: 0 0 6px #8f8f8f;\n    transition: text-shadow 0.3s ease-in-out;\n    color: transparent !important;\n    animation: linguise-loading-pulse 1.5s ease-in-out infinite;\n}\n\n@keyframes linguise-loading-pulse {\n    0% {\n        text-shadow: 0 0 6px #8f8f8f;\n    }\n    50% {\n        text-shadow: 0 0 10px #8f8f8f;\n    }\n    100% {\n        text-shadow: 0 0 6px #8f8f8f;\n    }\n}\n",document.head.appendChild(e);const t=this.extractScriptParam(),n=Object.assign({},this.config,t,window.lingConfig||{});if(!window.document.documentElement.lang)throw new Error("Linguise: document.lang is not set, disabling dynamic content");if(!this._config_fetch)throw new Error("Linguise: configFetch is not set, disabling dynamic content");if(this.config=n,_=this.config.debug,i.importFromStorage(),i.setMaxTTL(this.config.cacheTTL),null!==this.observer&&this.observer.disconnect(),this.observer=new MutationObserver((e=>{const t=[];e.forEach((e=>{const n=e.target;let i=e.target;if(n.nodeType===Node.TEXT_NODE&&(i=n.parentElement),this.isElementPreflightAllow(n,i))if("attributes"===e.type&&n.nodeType===Node.ELEMENT_NODE){if((p[n.nodeName]||[]).includes(e.attributeName)){const e=this.applyCacheOrTranslate(n,i);e&&t.push(e)}}else if("childList"===e.type&&e.addedNodes.length>0){const n=[];e.addedNodes.forEach((e=>{const t=this.uniqueElementNode(this.collectChildNodes(e));n.push(...t)}));const i=this.uniqueElementNode(n).filter((([e,t])=>this.isElementPreflightAllow(e,t)));if(i.length>0){const e=i.map((([e,t])=>this.applyCacheOrTranslate(e,t))).filter((e=>!!e));e.forEach((e=>{this.config_ready&&this.config.blurAnimation&&e.blurParent()})),t.push(...e)}}else if("characterData"===e.type&&n.nodeType===Node.TEXT_NODE){const e=this.applyCacheOrTranslate(n,i);e&&(this.config_ready&&e.blurParent(),t.push(e))}})),t.length&&this.debouncedProcessTranslation(t)})),this.isLinguiseEditorActive())return this.config.debug&&console.log("Linguise: Linguise editor is active, cancelling dynamic content"),void this.cancelProcess();const s=new Set;for(const e in p)p[e].forEach((e=>{s.add(e)}));this.config.debug&&console.log("Linguise: Starting observer",n),this.observer.observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeFilter:[...s,"linguise-ignore"]})}}},775:e=>{let t=!1;try{crypto.randomUUID(),t=!0}catch(e){console.warn("Linguise: crypto.randomUUID is not available, using unsafe UUID generator")}const n=["SCRIPT","NOSCRIPT","HEAD","META","STYLE","IFRAME","OBJECT","SELECT","AREA","AUDIO","SVG","MATH","CANVAS","MAP","AUDIO","TRACK","VIDEO"],i=[...n,"TEXTAREA","INPUT"];e.exports={debounce:function(e,t){let n=null;return(...i)=>{clearTimeout(n),n=setTimeout((()=>{e(...i)}),t)}},generateUUID:function(){return t?crypto.randomUUID():function(){let e=(new Date).getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(n){var i=16*Math.random();return e>0?(i=(e+i)%16|0,e=Math.floor(e/16)):(i=(t+i)%16|0,t=Math.floor(t/16)),("x"===n?i:3&i|8).toString(16)}))}()},IGNORED_NODE_NAME:n,EXTENDED_IGNORED_NODE_NAME:i,NODE_TOKENIZER_CUSTOM_ATTRS:{IMG:["alt","title","src"],A:["href"],INPUT:["placeholder"],TEXTAREA:["placeholder"]}}},738:(e,t,n)=>{const i=n(462),s=n(431);async function r(e,t){let n=e.apiKey;if(document.currentScript&&!n){n=new URL(document.currentScript.src).searchParams.get("d")}if(!n&&!s._stored_pkey)throw new Error("Linguise: cannot retrieve domain configuration, disabling dynamic content");s.setPublicKey(n);const i=await s.getConfig();if(!i)throw new Error("Linguise: cannot retrieve domain configuration, disabling dynamic content");i.public_key=s._stored_pkey,t(i)}function a(){let e=r,t=null;const n=function(){if(!window.linguise_configs)return;const e=window.linguise_configs.vars.configs;if(!e)return!1;const t=e.dynamic_translations,n=t?t.enabled:0,i=1===e.debug,s="string"==typeof n?"1"===n:1===n;if(!s)return!1;const r=t?t.public_key:"";return r?[async(t,n)=>{const a=[];for(const t in e.languages)a.push({code:t,name:e.languages[t]});n({public_key:r,dynamic_translations:{enabled:s},language:e.default_language,languages:a,debug:i,url:e.base_url})},e.translate_host]:(i&&console.warn("Linguise: No public key provided, dynamic translations are disabled."),!1)}(),s=function(){const e=document.querySelector('[type="linguise/json"]');if(!e)return;const t=JSON.parse(e.innerHTML);if(!t)return;const n="number"!=typeof t.dynamic_translations.enabled?parseInt(t.dynamic_translations.enabled):t.dynamic_translations.enabled;if(1!==n)return!1;let i=!1;t.debug&&(i="1"===t.debug||1===t.debug);const s=t.dynamic_translations.public_key.trim();return s?[async(e,r)=>{const a=[];for(const e in t.languages)a.push({code:e,name:t.languages[e]});r({public_key:s,language:t.language_default,languages:a,dynamic_translations:{enabled:1===n},debug:i,url:t.base_url})},t.translate_host]:(i&&console.warn("Linguise: No public key provided, dynamic translations are disabled."),!1)}();!1!==n&&!1!==s&&(n?(e=n[0],t=n[1]):s&&(e=s[0],t=s[1]),new i(e,t))}"loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",a)},735:e=>{e.exports=function(e){"use strict";var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(e,t){var n=e[0],i=e[1],s=e[2],r=e[3];i=((i+=((s=((s+=((r=((r+=((n=((n+=(i&s|~i&r)+t[0]-680876936|0)<<7|n>>>25)+i|0)&i|~n&s)+t[1]-389564586|0)<<12|r>>>20)+n|0)&n|~r&i)+t[2]+606105819|0)<<17|s>>>15)+r|0)&r|~s&n)+t[3]-1044525330|0)<<22|i>>>10)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i&s|~i&r)+t[4]-176418897|0)<<7|n>>>25)+i|0)&i|~n&s)+t[5]+1200080426|0)<<12|r>>>20)+n|0)&n|~r&i)+t[6]-1473231341|0)<<17|s>>>15)+r|0)&r|~s&n)+t[7]-45705983|0)<<22|i>>>10)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i&s|~i&r)+t[8]+1770035416|0)<<7|n>>>25)+i|0)&i|~n&s)+t[9]-1958414417|0)<<12|r>>>20)+n|0)&n|~r&i)+t[10]-42063|0)<<17|s>>>15)+r|0)&r|~s&n)+t[11]-1990404162|0)<<22|i>>>10)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i&s|~i&r)+t[12]+1804603682|0)<<7|n>>>25)+i|0)&i|~n&s)+t[13]-40341101|0)<<12|r>>>20)+n|0)&n|~r&i)+t[14]-1502002290|0)<<17|s>>>15)+r|0)&r|~s&n)+t[15]+1236535329|0)<<22|i>>>10)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i&r|s&~r)+t[1]-165796510|0)<<5|n>>>27)+i|0)&s|i&~s)+t[6]-1069501632|0)<<9|r>>>23)+n|0)&i|n&~i)+t[11]+643717713|0)<<14|s>>>18)+r|0)&n|r&~n)+t[0]-373897302|0)<<20|i>>>12)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i&r|s&~r)+t[5]-701558691|0)<<5|n>>>27)+i|0)&s|i&~s)+t[10]+38016083|0)<<9|r>>>23)+n|0)&i|n&~i)+t[15]-660478335|0)<<14|s>>>18)+r|0)&n|r&~n)+t[4]-405537848|0)<<20|i>>>12)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i&r|s&~r)+t[9]+568446438|0)<<5|n>>>27)+i|0)&s|i&~s)+t[14]-1019803690|0)<<9|r>>>23)+n|0)&i|n&~i)+t[3]-187363961|0)<<14|s>>>18)+r|0)&n|r&~n)+t[8]+1163531501|0)<<20|i>>>12)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i&r|s&~r)+t[13]-1444681467|0)<<5|n>>>27)+i|0)&s|i&~s)+t[2]-51403784|0)<<9|r>>>23)+n|0)&i|n&~i)+t[7]+1735328473|0)<<14|s>>>18)+r|0)&n|r&~n)+t[12]-1926607734|0)<<20|i>>>12)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i^s^r)+t[5]-378558|0)<<4|n>>>28)+i|0)^i^s)+t[8]-2022574463|0)<<11|r>>>21)+n|0)^n^i)+t[11]+1839030562|0)<<16|s>>>16)+r|0)^r^n)+t[14]-35309556|0)<<23|i>>>9)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i^s^r)+t[1]-1530992060|0)<<4|n>>>28)+i|0)^i^s)+t[4]+1272893353|0)<<11|r>>>21)+n|0)^n^i)+t[7]-155497632|0)<<16|s>>>16)+r|0)^r^n)+t[10]-1094730640|0)<<23|i>>>9)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i^s^r)+t[13]+681279174|0)<<4|n>>>28)+i|0)^i^s)+t[0]-358537222|0)<<11|r>>>21)+n|0)^n^i)+t[3]-722521979|0)<<16|s>>>16)+r|0)^r^n)+t[6]+76029189|0)<<23|i>>>9)+s|0,i=((i+=((s=((s+=((r=((r+=((n=((n+=(i^s^r)+t[9]-640364487|0)<<4|n>>>28)+i|0)^i^s)+t[12]-421815835|0)<<11|r>>>21)+n|0)^n^i)+t[15]+530742520|0)<<16|s>>>16)+r|0)^r^n)+t[2]-995338651|0)<<23|i>>>9)+s|0,i=((i+=((r=((r+=(i^((n=((n+=(s^(i|~r))+t[0]-198630844|0)<<6|n>>>26)+i|0)|~s))+t[7]+1126891415|0)<<10|r>>>22)+n|0)^((s=((s+=(n^(r|~i))+t[14]-1416354905|0)<<15|s>>>17)+r|0)|~n))+t[5]-57434055|0)<<21|i>>>11)+s|0,i=((i+=((r=((r+=(i^((n=((n+=(s^(i|~r))+t[12]+1700485571|0)<<6|n>>>26)+i|0)|~s))+t[3]-1894986606|0)<<10|r>>>22)+n|0)^((s=((s+=(n^(r|~i))+t[10]-1051523|0)<<15|s>>>17)+r|0)|~n))+t[1]-2054922799|0)<<21|i>>>11)+s|0,i=((i+=((r=((r+=(i^((n=((n+=(s^(i|~r))+t[8]+1873313359|0)<<6|n>>>26)+i|0)|~s))+t[15]-30611744|0)<<10|r>>>22)+n|0)^((s=((s+=(n^(r|~i))+t[6]-1560198380|0)<<15|s>>>17)+r|0)|~n))+t[13]+1309151649|0)<<21|i>>>11)+s|0,i=((i+=((r=((r+=(i^((n=((n+=(s^(i|~r))+t[4]-145523070|0)<<6|n>>>26)+i|0)|~s))+t[11]-1120210379|0)<<10|r>>>22)+n|0)^((s=((s+=(n^(r|~i))+t[2]+718787259|0)<<15|s>>>17)+r|0)|~n))+t[9]-343485551|0)<<21|i>>>11)+s|0,e[0]=n+e[0]|0,e[1]=i+e[1]|0,e[2]=s+e[2]|0,e[3]=r+e[3]|0}function i(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function s(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function r(e){var t,s,r,a,o,l,c=e.length,u=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)n(u,i(e.substring(t-64,t)));for(s=(e=e.substring(t-64)).length,r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<s;t+=1)r[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(r[t>>2]|=128<<(t%4<<3),t>55)for(n(u,r),t=0;t<16;t+=1)r[t]=0;return a=(a=8*c).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(a[2],16),l=parseInt(a[1],16)||0,r[14]=o,r[15]=l,n(u,r),u}function a(e){var t,i,r,a,o,l,c=e.length,u=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)n(u,s(e.subarray(t-64,t)));for(i=(e=t-64<c?e.subarray(t-64):new Uint8Array(0)).length,r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<i;t+=1)r[t>>2]|=e[t]<<(t%4<<3);if(r[t>>2]|=128<<(t%4<<3),t>55)for(n(u,r),t=0;t<16;t+=1)r[t]=0;return a=(a=8*c).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(a[2],16),l=parseInt(a[1],16)||0,r[14]=o,r[15]=l,n(u,r),u}function o(e){var n,i="";for(n=0;n<4;n+=1)i+=t[e>>8*n+4&15]+t[e>>8*n&15];return i}function l(e){var t;for(t=0;t<e.length;t+=1)e[t]=o(e[t]);return e.join("")}function c(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function u(e,t){var n,i=e.length,s=new ArrayBuffer(i),r=new Uint8Array(s);for(n=0;n<i;n+=1)r[n]=e.charCodeAt(n);return t?r:s}function h(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function d(e,t,n){var i=new Uint8Array(e.byteLength+t.byteLength);return i.set(new Uint8Array(e)),i.set(new Uint8Array(t),e.byteLength),n?i:i.buffer}function g(e){var t,n=[],i=e.length;for(t=0;t<i-1;t+=2)n.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,n)}function f(){this.reset()}return l(r("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,i){var s,r,a,o,l=this.byteLength,c=t(n,l),u=l;return i!==e&&(u=t(i,l)),c>u?new ArrayBuffer(0):(s=u-c,r=new ArrayBuffer(s),a=new Uint8Array(r),o=new Uint8Array(this,c,s),a.set(o),r)}}(),f.prototype.append=function(e){return this.appendBinary(c(e)),this},f.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,s=this._buff.length;for(t=64;t<=s;t+=64)n(this._hash,i(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},f.prototype.end=function(e){var t,n,i=this._buff,s=i.length,r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<s;t+=1)r[t>>2]|=i.charCodeAt(t)<<(t%4<<3);return this._finish(r,s),n=l(this._hash),e&&(n=g(n)),this.reset(),n},f.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},f.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},f.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},f.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},f.prototype._finish=function(e,t){var i,s,r,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(n(this._hash,e),a=0;a<16;a+=1)e[a]=0;i=(i=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(i[2],16),r=parseInt(i[1],16)||0,e[14]=s,e[15]=r,n(this._hash,e)},f.hash=function(e,t){return f.hashBinary(c(e),t)},f.hashBinary=function(e,t){var n=l(r(e));return t?g(n):n},f.ArrayBuffer=function(){this.reset()},f.ArrayBuffer.prototype.append=function(e){var t,i=d(this._buff.buffer,e,!0),r=i.length;for(this._length+=e.byteLength,t=64;t<=r;t+=64)n(this._hash,s(i.subarray(t-64,t)));return this._buff=t-64<r?new Uint8Array(i.buffer.slice(t-64)):new Uint8Array(0),this},f.ArrayBuffer.prototype.end=function(e){var t,n,i=this._buff,s=i.length,r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<s;t+=1)r[t>>2]|=i[t]<<(t%4<<3);return this._finish(r,s),n=l(this._hash),e&&(n=g(n)),this.reset(),n},f.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},f.ArrayBuffer.prototype.getState=function(){var e=f.prototype.getState.call(this);return e.buff=h(e.buff),e},f.ArrayBuffer.prototype.setState=function(e){return e.buff=u(e.buff,!0),f.prototype.setState.call(this,e)},f.ArrayBuffer.prototype.destroy=f.prototype.destroy,f.ArrayBuffer.prototype._finish=f.prototype._finish,f.ArrayBuffer.hash=function(e,t){var n=l(a(new Uint8Array(e)));return t?g(n):n},f}()}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";n(738);var e=function(){var e="";try{void 0===(e=document.querySelectorAll('[type="linguise/json"]')[0].innerHTML)&&(e="")}catch(e){}!function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";document.querySelectorAll(".joomla_linguise_switcher").forEach((function(e){e.classList.add("linguise_switcher")}));try{if(null==(t=null==t||""===t?document.getElementsByClassName("linguise_switcher")[0].data("config"):JSON.parse(t))||""===t)return}catch(e){}var n=function(e,t){var n=document.querySelector('link[rel="alternate"][hreflang="'+e+'"]');return null!==n&&void 0!==n.href?n.href:-1!==t.joomla_languages.indexOf(e)&&e!==t.language_default?"".concat(t.scheme,"//").concat(t.host+(t.base?t.base:"")+"/"+e+t.trailing_slashes):"".concat(t.scheme,"//").concat(t.host+(t.base?t.base:"")+(e===t.language_default?"":"/"+e)+t.original_path+t.trailing_slashes+(t.query?t.query:""))},i=Object.keys(t.languages);t.scheme=window.location.protocol,t.host=window.location.host,t.query=window.location.search;var s=new URL(t.base_url).pathname,r="/"===s?"":"\\".concat(s),a=new RegExp("^"+r+"/([a-z]{2}(?:-[a-z]{2})?)(?:/|/.*|$)"),o=(null===(e=window.location.pathname.match(a))||void 0===e?void 0:e[1])||null;if(o&&-1!==i.indexOf(o)&&o!==t.current_language&&(t.current_language=o),null==o&&(t.current_language=t.language_default),t.current_language||(t.base?t.base:"")+t.original_path.replace(/\/+$/g,"")===window.location.pathname.replace(/\/+$/g,""))t.current_language||(t.current_language=t.language_default);else{var l=new RegExp("^"+(""!==t.base?t.base:"")+"/("+i.join("|")+")(?:/(.*)|$)").exec(window.location.pathname);null!==l&&l.length>=2&&l[1]?t.current_language=l[1]:t.current_language=t.language_default}var c=document.querySelectorAll(".linguise_switcher");c.length&&c.forEach((function(e){var s="linguise_flag_".concat(t.current_language);"en"===t.current_language&&"en-gb"===t.flag_en_type?s="linguise_flag_en_gb":"de"===t.current_language&&"de-at"===t.flag_de_type?s="linguise_flag_de_at":"es"===t.current_language&&"es-mx"===t.flag_es_type?s="linguise_flag_es_mx":"es"===t.current_language&&"es-pu"===t.flag_es_type?s="linguise_flag_es_pu":"pt"===t.current_language&&"pt-br"===t.flag_pt_type?s="linguise_flag_pt_br":"zh-tw"===t.current_language&&"zh-cn"===t.flag_tw_type&&(s="linguise_flag_zh-cn");var r="";switch(t.flag_display_type){case"side_by_side":e.style.display="none";var a=document.createElement("ul");a.classList.add("linguise_switcher"),a.classList.add("linguise_switcher_side_by_side"),"rounded"===t.flag_shape?a.classList.add("linguise_flag_rounded"):a.classList.add("linguise_flag_rectangular"),a.setAttribute("data-config",JSON.stringify(t)),e.after(a);for(var o=0;o<i.length;o++){if(r+="<li ".concat(i[o]===t.current_language?'class="linguise_current"':"",">"),i[o]!==t.current_language?r+='<a  href="'+n(i[o],t)+'">':r+='<a href="javascript:void(0);">',1===parseInt(t.enable_flag)){var l="linguise_flag_".concat(i[o]);"en"===i[o]&&"en-gb"===t.flag_en_type?l="linguise_flag_en_gb":"de"===i[o]&&"de-at"===t.flag_de_type?l="linguise_flag_de_at":"es"===i[o]&&"es-mx"===t.flag_es_type?l="linguise_flag_es_mx":"es"===i[o]&&"es-pu"===t.flag_es_type?l="linguise_flag_es_pu":"pt"===i[o]&&"pt-br"===t.flag_pt_type?l="linguise_flag_pt_br":"zh-tw"===t.current_language&&"zh-cn"===t.flag_tw_type&&(l="linguise_flag_zh-cn"),r+='<span class="linguise_flags '.concat(l,' linguise_language_icon"></span>')}1===parseInt(t.enable_language_name)&&(r+='<span class="linguise_lang_name">'.concat(t.languages[i[o]],"</span>")),r+="</a>",r+="</li>"}a.innerHTML=r;break;case"dropdown":e.style.display="none",r+='<ul class="linguise_switcher linguise_switcher_dropdown '.concat("rounded"===t.flag_shape?"linguise_flag_rounded":"linguise_flag_rectangular",'">'),r+='<li class="linguise_current">',1===parseInt(t.enable_flag)&&(r+='<span class="linguise_flags '.concat(s,' linguise_language_icon"></span>')),1===parseInt(t.enable_language_name)&&(r+='<span class="linguise_lang_name">'.concat(t.languages[t.current_language],"</span>")),r+='<span class="lccaret">▼</span>',r+='<ul class="linguise_switcher_sub '.concat(i.length>15?"many_languages":"",'">');for(var c=0;c<i.length;c++)if(i[c]!==t.current_language){if(r+="<li>",i[c]!==t.current_language&&(r+='<a  href="'+n(i[c],t)+'">'),1===parseInt(t.enable_flag)){var u="linguise_flag_".concat(i[c]);"en"===i[c]&&"en-gb"===t.flag_en_type?u="linguise_flag_en_gb":"de"===i[c]&&"de-at"===t.flag_de_type?u="linguise_flag_de_at":"es"===i[c]&&"es-mx"===t.flag_es_type?u="linguise_flag_es_mx":"es"===i[c]&&"es-pu"===t.flag_es_type?u="linguise_flag_es_pu":"pt"===i[c]&&"pt-br"===t.flag_pt_type?u="linguise_flag_pt_br":"zh-tw"===t.current_language&&"zh-cn"===t.flag_tw_type&&(u="linguise_flag_zh-cn"),r+='<span class="linguise_flags '.concat(u,' linguise_language_icon"></span>')}1===parseInt(t.enable_language_name)&&(r+='<span class="linguise_lang_name">'.concat(t.languages[i[c]],"</span>")),i[c]!==t.current_language&&(r+="</a>"),r+="</li>"}r+="</ul>",r+="</li>",r+="</ul>";var h=document.createElement("template");h.innerHTML=r.trim(),e.parentNode.insertBefore(h.content.firstChild,e.nextSibling),e.remove();break;default:1===parseInt(t.enable_flag)&&(r+='<span class="linguise_flags '.concat(s,' linguise_language_icon"></span>')),1===parseInt(t.enable_language_name)&&(r+='<span class="linguise_lang_name">'.concat(t.languages[t.current_language],"</span>")),r+='<span class="lccaret">▼</span>',e.innerHTML=r,e.addEventListener("click",(function(e){e.preventDefault&&e.preventDefault(),openLanguagePopUp()})),e.href="#"}e.classList.contains("linguise_switcher_not_menu")&&-1!==["top_left_no_scroll","top_right_no_scroll","top_right_no_scroll","top_right_no_scroll","top_right_no_scroll","bottom_left_no_scroll","bottom_right_no_scroll"].indexOf(t.display_position)&&document.querySelector("body").appendChild(e)})),window.openLanguagePopUp=function(e){if(void 0!==e&&e.preventDefault&&e.preventDefault(),!0===window.language_popup_initialised)return document.querySelector("#linguise_background").style.display="block",void(document.querySelector("#linguise_popup").style.display="block");window.language_popup_initialised=!0;var s=document.createElement("div");s.id="linguise_background";var r=document.createElement("div");r.classList.add("rounded"===t.flag_shape?"linguise_flag_rounded":"linguise_flag_rectangular"),r.id="linguise_popup";var a=document.createElement("a");if(a.classList.add("close"),a.href="#",a.appendChild(document.createElement("span")),r.appendChild(a),t.pre_text){var o=document.createElement("p");o.innerHTML=t.pre_text,r.appendChild(o)}var l=document.createElement("ul");l.translate=!1;for(var c=0;c<i.length;c++){var u=document.createElement("li");i[c]===t.current_language&&u.classList.add("linguise_current");var h=u;if(i[c]!==t.current_language){var d=document.createElement("a");d.href=n(i[c],t),u.appendChild(d),h=d}if(1===parseInt(t.enable_flag)){var g=document.createElement("span");g.classList.add("linguise_flags");var f="linguise_flag_".concat(i[c]);"en"===i[c]&&"en-gb"===t.flag_en_type?f="linguise_flag_en_gb":"de"===i[c]&&"de-at"===t.flag_de_type?f="linguise_flag_de_at":"es"===i[c]&&"es-mx"===t.flag_es_type?f="linguise_flag_es_mx":"es"===i[c]&&"es-pu"===t.flag_es_type?f="linguise_flag_es_pu":"pt"===i[c]&&"pt-br"===t.flag_pt_type?f="linguise_flag_pt_br":"zh-tw"===t.current_language&&"zh-cn"===t.flag_tw_type&&(f="linguise_flag_zh-cn"),g.classList.add(f),h.appendChild(g)}var p=document.createElement("span");p.classList.add("linguise_lang_name"),p.innerText=t.languages[i[c]],h.appendChild(p),l.appendChild(u)}if(r.appendChild(l),t.post_text){var _=document.createElement("p");_.innerHTML=t.post_text,r.appendChild(_)}s.onclick=function(e){e.preventDefault(),s.style.display="none",r.style.display="none"},a.onclick=function(e){e.preventDefault(),s.style.display="none",r.style.display="none"},document.querySelector("body").appendChild(s),document.querySelector("body").appendChild(r)}}(e)};"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",(function(){e()}))})()})();
} catch (e) {
console.error('Error in file:https://www.annuncimacchinariusati.com/modules/mod_linguise/assets/js/front.bundle.js; Error:' + e.message);
};
try {
window.djRootUrl = 'https://www.annuncimacchinariusati.com/';
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {
jQuery(function(){ DJConditionalFieldsInit('https://www.annuncimacchinariusati.com/', 'item', '#ask_ex_fields', 'getAskFields', null, {}, 'https://www.annuncimacchinariusati.com/components/com_djclassifieds/assets/images/loading.gif'); });
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {
template="ut_binv";
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

				document.addEventListener("DOMContentLoaded", () =>{
					window.htmlAddContent = window?.htmlAddContent || "";
					if (window.htmlAddContent) {
        				document.body.insertAdjacentHTML("beforeend", window.htmlAddContent);
					}
				});
			
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {
jQuery(function($){

			var addonId 				= $("#sppb-addon-1646581700757"),
					prentSectionId	= addonId.parent().closest("section");

			if($("#sppb-addon-1646581700757").find(".optintype-popup").length !== 0 && $("body:not(.layout-edit)").length !== 0){
					//prentSectionId.hide();
					$("#sppb-addon-1646581700757").hide();
			}

			if($("#sppb-addon-1646581700757").find(".optintype-popup").length !== 0 && $("body:not(.layout-edit)").length !== 0){
				//var parentSection 	= $("#sppb-addon-1646581700757").parent().closest("section"),
				var addonWidth 			= addonId.parent().outerWidth(),
						optin_timein		= 2000,
						optin_timeout		= 10000,
						prentSectionId	= ".com-sppagebuilder:not(.layout-edit) #" + addonId.attr("id");

					window.addEventListener("load", () => {	
					setTimeout(() => {
						$("#sppb-addon-1646581700757").show();
						$.magnificPopup.open({
							
							items: {
								src: "<div class=\"sppb-optin-form-popup-wrap\" \">"+$(addonId)[0].outerHTML + "</div>"
								//src: "<div style=\"width:+"addonWidth"+\">" + $(addonId)[0].outerHTML + "</div>"
							},
							type: "inline",
									mainClass: "mfp-fade",
									disableOn: function() {
									return true;
								},
							callbacks: {
								open: () => {
									if(optin_timeout){
									setTimeout(() => {	
										$("#sppb-addon-1646581700757").magnificPopup("close");
									}, optin_timeout);
									}
								},
								
								close: () => {
									$("#sppb-addon-wrapper-1646581700757").hide();
								}
							}
						});
					}, optin_timein);
				}); //window
			};
		})
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {
jQuery(function(){ DJConditionalFieldsInit('https://www.annuncimacchinariusati.com/', 'item', '#search135_ex_fields', 'getSearchFields', '135', {"se":null,"type":"item"}, 'https://www.annuncimacchinariusati.com/components/com_djclassifieds/assets/images/loading.gif'); });
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {


				function se135_getFields(cat_id, group_id)
				{
					var $el = jQuery('#search135_ex_fields');
					var $prev_el = $el.clone();
					$el.find('select').each(function(i){
						$prev_el.find('select').eq(i).val(jQuery(this).val());
					});

										
					var ajax_data = {
						'option': 'com_djclassifieds',
						'view': 'item',
						'task': 'getSearchFields',
						'wrapper_id': 'search135_ex_fields',
						'mod_id': '135',
						'cat_id': cat_id,
						'se': '',
						'group_id': group_id
					};

					jQuery.ajax({
						url: '/elettromagnete-usato/prezzo/stock-elettromagneti-tipologie-varie',
						type: 'post',
						data: ajax_data
					}).done(function (response, textStatus, jqXHR){
						if(textStatus == 'success'){
							$el.html(response).find(':input').each(function(){
								if(typeof jQuery(this).attr('name') !== 'undefined' && $prev_el.find(':input[name="'+jQuery(this).attr('name')+'"]').length){
									var $f_new = jQuery(this).closest('.djseform_field');
									var $f_old = $prev_el.find(':input[name="'+jQuery(this).attr('name')+'"]').closest('.djseform_field');
									if($f_new.text() == $f_old.text()){ // replace only if the same values
										$f_new.replaceWith($f_old);
									}
								}
							});

							jQuery(document).trigger('djclassifieds.loaded', {context: 'module.search', client: 'site', ajax_data: ajax_data});
						}
					});
					
					if(cat_id){
						jQuery('#search135_ex_fields').attr('data-cat-id', cat_id.toString().replace('p',''));
					}else if(group_id){
						jQuery('#search135_ex_fields').attr('data-group-id', group_id);
					}
				}

				jQuery(function(){
																		se135_getFields();
															});

			
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

		jQuery(function(){
										
					});
	
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

	window.addEventListener('load', function () {
		document.body.append(document.getElementById('ut-login-145'));
		let hasScrollbar = window.innerWidth > document.documentElement.clientWidth;
		if(hasScrollbar){
			document.getElementById('sp-header').classList.add('modal-scroll');
		}
	});

} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

     (adsbygoogle = window.adsbygoogle || []).push({});

} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {


		jQuery(function($){
			var $mainimagelink = $('#djc_mainimagelink');
			var $mainimage = $('#djc_mainimage');
			var $thumblinks =  $('#djc_thumbnails a');

			if(!$mainimage.length || !$mainimagelink.length){
				return false;
			}
			
			$thumblinks.each(function(index){
				$(this).on('click',function(event){
					event.preventDefault();
					$thumblink = $(this);
					$mainimage.fadeOut('fast', function(){
						$mainimagelink.attr('href', $thumblink.attr('href'));
						$mainimagelink.attr('title', $thumblink.attr('title'));
						$mainimagelink.attr('rel', 'djc_lb_'+index);
						$mainimage.attr('src', $thumblink.attr('rel'));
						$mainimage.attr('alt', $thumblink.attr('title'));
						$mainimage.fadeIn('fast');
					});
				});
			});

			$('#djc_mainimagelink').click(function(e) {
				e.preventDefault();
				var rel = $(this).attr('rel');
				$('#'+rel).click();
			});
			
			$('.lightbox-djitem').magnificPopup({
				// delegate: '.dj-slide-link', // the selector for gallery item
				type: 'image',
				mainClass: 'mfp-img-mobile',
				gallery: {
					enabled: true
				},
				image: {
					verticalFit: true,
					titleSrc: 'title'
				},
				iframe: {
					patterns: {
						youtube: null,
						vimeo: null,
						link: {
							index: '/',
							src: '%id%'
						}
					}
				}
			});
		});

	
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {


	jQuery(function($){
        jQuery('#ask_form_button').click(function(){
            jQuery('#abuse_form').slideUp();
            jQuery('#ask_form').stop(true, false).slideToggle();
        });

                    var el = document.getElementById('ask_ex_fields');
            el.innerHTML = '<div class="djloader" style="text-align:center;margin-bottom:15px;"><img src="https://www.annuncimacchinariusati.com/components/com_djclassifieds/assets/images/loading.gif" /></div>';

            var ajax_data = {
                'option': 'com_djclassifieds',
                'view': 'item',
                'task': 'getAskFields',
                'wrapper_id': 'ask_ex_fields',
            };

            jQuery.ajax({
                url: '/elettromagnete-usato/prezzo/stock-elettromagneti-tipologie-varie',
                type: 'post',
                data: ajax_data
            }).done(function (response, textStatus, jqXHR){
                if(textStatus == 'success'){
                    el.innerHTML = response;
                    
                    jQuery(document).trigger('djclassifieds.loaded', {context: 'item', client: 'site', ajax_data: ajax_data});
                }
            });
        			
			});


} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

     (adsbygoogle = window.adsbygoogle || []).push({});

} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

		jQuery(function($){
			$('.djcf_tabs .accordion-toggle').click(function(){
				$(this).closest('.djcf_tabs').find('.accordion-body').stop(true, false).slideToggle('100');
			});
			$('.djcf_tabs li.nav-toggler').click(function(){
				$(this).closest('.djcf_tabs').find('div.tab-pane').stop(true, false).slideToggle('150');
			});
		});
	
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

     (adsbygoogle = window.adsbygoogle || []).push({});

} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

     (adsbygoogle = window.adsbygoogle || []).push({});

} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-YEXXZQ89RW');

} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
try {

  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-28079027-1');

} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};
