/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.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,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s})
;(function(sttc){var window=this;if(window.googletag&&googletag.evalScripts){googletag.evalScripts()}if(window.googletag&&googletag._loaded_)return;var q,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},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},ca=function(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")},da=ca(this),ea=typeof Symbol==="function"&&typeof Symbol("x")==="symbol",u={},fa={},v=function(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]}},w=function(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){if(a)return a;var b=function(f,g){this.g=f;ba(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.g};var c="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e},"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");var ha=function(a){a={next:a};a[v(u.Symbol,"iterator")]=function(){return this};return a},ia=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ja;if(ea&&typeof Object.setPrototypeOf=="function")ja=Object.setPrototypeOf;else{var ka;a:{var la={a:!0},ma={};try{ma.__proto__=la;ka=ma.a;break a}catch(a){}ka=!1}ja=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var na=ja,x=function(a,b){a.prototype=ia(b.prototype);a.prototype.constructor=a;if(na)na(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.Jb=b.prototype},z=function(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")},oa=function(a){if(!(a instanceof Array)){a=z(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},qa=function(a){return pa(a,a)},pa=function(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a},ra=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},sa=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)ra(d,e)&&(a[e]=d[e])}return a};w("Object.assign",function(a){return a||sa},"es6");var ta=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};w("globalThis",function(a){return a||da},"es_2020");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(){}function c(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({}),l=new a([[g,2],[h,3]]);if(l.get(g)!=2||l.get(h)!=3)return!1;l.delete(g);l.set(h,4);return!l.has(g)&&l.get(h)==4}catch(k){return!1}}())return a;var d="$jscomp_hidden_"+Math.random(),e=0,f=function(g){this.g=(e+=Math.random()+1).toString();if(g){g=z(g);for(var h;!(h=g.next()).done;)h=h.value,this.set(h[0],h[1])}};f.prototype.set=function(g,h){if(!c(g))throw Error("Invalid WeakMap key");if(!ra(g,d)){var l=new b;ba(g,d,{value:l})}if(!ra(g,d))throw Error("WeakMap key fail: "+g);g[d][this.g]=h;return this};f.prototype.get=function(g){return c(g)&&ra(g,d)?g[d][this.g]:void 0};f.prototype.has=function(g){return c(g)&&ra(g,d)&&ra(g[d],this.g)};f.prototype.delete=function(g){return c(g)&&ra(g,d)&&ra(g[d],this.g)?delete g[d][this.g]:!1};return f},"es6");w("Map",function(a){if(function(){if(!a||typeof a!="function"||!v(a.prototype,"entries")||typeof Object.seal!="function")return!1;try{var h=Object.seal({x:4}),l=new a(z([[h,"s"]]));if(l.get(h)!="s"||l.size!=1||l.get({x:4})||l.set({x:4},"t")!=l||l.size!=2)return!1;var k=v(l,"entries").call(l),p=k.next();if(p.done||p.value[0]!=h||p.value[1]!="s")return!1;p=k.next();return p.done||p.value[0].x!=4||p.value[1]!="t"||!k.next().done?!1:!0}catch(m){return!1}}())return a;var b=new u.WeakMap,c=function(h){this[0]={};this[1]=f();this.size=0;if(h){h=z(h);for(var l;!(l=h.next()).done;)l=l.value,this.set(l[0],l[1])}};c.prototype.set=function(h,l){h=h===0?0:h;var k=d(this,h);k.list||(k.list=this[0][k.id]=[]);k.u?k.u.value=l:(k.u={next:this[1],G:this[1].G,head:this[1],key:h,value:l},k.list.push(k.u),this[1].G.next=k.u,this[1].G=k.u,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.u&&h.list?(h.list.splice(h.index,1),h.list.length||delete this[0][h.id],h.u.G.next=h.u.next,h.u.next.G=h.u.G,h.u.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].G=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).u};c.prototype.get=function(h){return(h=d(this,h).u)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,l){for(var k=v(this,"entries").call(this),p;!(p=k.next()).done;)p=p.value,h.call(l,p[1],p[0],this)};c.prototype[v(u.Symbol,"iterator")]=v(c.prototype,"entries");var d=function(h,l){var k=l&&typeof l;k=="object"||k=="function"?b.has(l)?k=b.get(l):(k=""+ ++g,b.set(l,k)):k="p_"+l;var p=h[0][k];if(p&&ra(h[0],k))for(h=0;h<p.length;h++){var m=p[h];if(l!==l&&m.key!==m.key||l===m.key)return{id:k,list:p,index:h,u:m}}return{id:k,list:p,index:-1,u:void 0}},e=function(h,l){var k=h[1];return ha(function(){if(k){for(;k.head!=h[1];)k=k.G;for(;k.next!=k.head;)return k=k.next,{done:!1,value:l(k)};k=null}return{done:!0,value:void 0}})},f=function(){var h={};return h.G=h.next=h.head=h},g=0;return c},"es6");w("Set",function(a){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(z([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;var b=function(c){this.g=new u.Map;if(c){c=z(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size};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("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ra(b,d)&&c.push(b[d]);return c}},"es8");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");var ua=function(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.includes",function(a){return a?a:function(b,c){return ua(this,b,"includes").indexOf(b,c||0)!==-1}},"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)ra(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");w("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ua(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");var va=function(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 va(this,function(b,c){return[b,c]})}},"es6");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("Array.prototype.keys",function(a){return a?a:function(){return va(this,function(b){return b})}},"es6");w("Array.prototype.values",function(a){return a?a:function(){return va(this,function(b,c){return c})}},"es8");w("String.prototype.repeat",function(a){return a?a:function(b){var c=ua(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=ua(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");var B=this||self,wa=function(a){a=a.split(".");for(var b=B,c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b},xa=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"},ya=function(a,b,c){a=a.split(".");c=c||B;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},Aa=function(a){return a};function Ba(a){B.setTimeout(function(){throw a},0)};var Ca=function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Da(a,b){var c=0;a=Ca(String(a)).split(".");b=Ca(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=Ea(f[1].length==0?0:parseInt(f[1],10),g[1].length==0?0:parseInt(g[1],10))||Ea(f[2].length==0,g[2].length==0)||Ea(f[2],g[2]);f=f[3];g=g[3]}while(c==0)}return c}function Ea(a,b){return a<b?-1:a>b?1:0};var Fa,Ga=wa("CLOSURE_FLAGS"),Ha=Ga&&Ga[610401301];Fa=Ha!=null?Ha:!1;var Ia,Ja=B.navigator;Ia=Ja?Ja.userAgentData||null:null;function Ka(a){return Fa?Ia?Ia.brands.some(function(b){return(b=b.brand)&&b.indexOf(a)!=-1}):!1:!1}function C(a){var b;a:{if(b=B.navigator)if(b=b.userAgent)break a;b=""}return b.indexOf(a)!=-1};function La(){return Fa?!!Ia&&Ia.brands.length>0:!1}function Ma(){return La()?!1:C("Opera")}function Na(){return La()?!1:C("Trident")||C("MSIE")}function Oa(){return C("Firefox")||C("FxiOS")}function Pa(){return C("Safari")&&!(Qa()||(La()?0:C("Coast"))||Ma()||(La()?0:C("Edge"))||(La()?Ka("Microsoft Edge"):C("Edg/"))||(La()?Ka("Opera"):C("OPR"))||Oa()||C("Silk")||C("Android"))}function Qa(){return La()?Ka("Chromium"):(C("Chrome")||C("CriOS"))&&!(La()?0:C("Edge"))||C("Silk")}function Ra(){return C("Android")&&!(Qa()||Oa()||Ma()||C("Silk"))};var Sa=function(a,b){return Array.prototype.map.call(a,b,void 0)};function Ta(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]};var Ua=function(a){Ua[" "](a);return a};Ua[" "]=function(){};var Va=Na();Ra();Qa();Pa();var Wa={},Xa=null,Za=function(a){var b=[];Ya(a,function(c){b.push(c)});return b},Ya=function(a,b){function c(l){for(;d<a.length;){var k=a.charAt(d++),p=Xa[k];if(p!=null)return p;if(!/^[\s\xa0]*$/.test(k))throw Error("Unknown base64 encoding at char: "+k)}return l}$a();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))}},$a=function(){if(!Xa){Xa={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Wa[c]=d;for(var e=0;e<d.length;e++){var f=d[e];Xa[f]===void 0&&(Xa[f]=e)}}}};var ab=typeof Uint8Array!=="undefined",bb=!Va&&typeof btoa==="function";function cb(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var db=void 0,eb;function fb(a){if(eb)throw Error("");eb=function(b){B.setTimeout(function(){a(b)},0)}}function gb(a){if(eb)try{eb(a)}catch(b){throw b.cause=a,b}}function hb(a){a=Error(a);cb(a,"warning");gb(a);return a}function ib(a){if(a!=null){var b;var c=(b=db)!=null?b:db={};b=c[a]||0;b>=5||(c[a]=b+1,a=Error(),cb(a,"incident"),eb?gb(a):Ba(a))}};var jb=typeof u.Symbol==="function"&&typeof(0,u.Symbol)()==="symbol";function kb(a,b,c){return typeof u.Symbol==="function"&&typeof(0,u.Symbol)()==="symbol"?(c===void 0?0:c)&&u.Symbol.for&&a?u.Symbol.for(a):a!=null?(0,u.Symbol)(a):(0,u.Symbol)():b}var lb=kb("jas",void 0,!0),mb=kb(void 0,"0di"),nb=kb(void 0,"1oa"),ob=kb(void 0,(0,u.Symbol)()),pb=kb(void 0,"0actk"),qb=kb(void 0,"8utk");var D=jb?lb:"eb",rb={eb:{value:0,configurable:!0,writable:!0,enumerable:!1}},sb=Object.defineProperties;function tb(a,b){jb||D in a||sb(a,rb);a[D]|=b}function E(a,b){jb||D in a||sb(a,rb);a[D]=b}function ub(a){if(4&a)return 4096&a?4096:8192&a?8192:0}function vb(a){tb(a,32);return a}function wb(a,b){E(b,(a|0)&-30975)}function xb(a,b){E(b,(a|34)&-30941)};function yb(){return typeof BigInt==="function"};function zb(a){return Array.prototype.slice.call(a)};var Ab={};function Bb(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}var Cb,Db=[];E(Db,55);Cb=Object.freeze(Db);function Eb(a){if(a&2)throw Error()}function Fb(a,b){if(typeof b!=="number"||b<0||b>=a.length)throw Error()}function Gb(a,b){var c=Aa(ob);(b=c?b[c]:void 0)&&(a[ob]=zb(b))}var Hb=Object.freeze({});function Ib(a){var b=Jb;if(!a)throw Error((typeof b==="function"?b():b)||String(a))}function Kb(a){a.Gb=!0;return a}var Jb=void 0;var Lb=Kb(function(a){return typeof a==="number"}),Mb=Kb(function(a){return typeof a==="string"}),Nb=Kb(function(a){return typeof a==="boolean"});var Ob=typeof B.BigInt==="function"&&typeof B.BigInt(0)==="bigint";function Pb(a){var b=a;if(Mb(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b))}else if(Lb(b)&&!v(Number,"isSafeInteger").call(Number,b))throw Error(String(b));return Ob?BigInt(a):a=Nb(a)?a?"1":"0":Mb(a)?a.trim()||"0":String(a)}var Vb=Kb(function(a){return Ob?a>=Qb&&a<=Rb:a[0]==="-"?Sb(a,Tb):Sb(a,Ub)}),Tb=v(Number,"MIN_SAFE_INTEGER").toString(),Qb=Ob?BigInt(v(Number,"MIN_SAFE_INTEGER")):void 0,Ub=v(Number,"MAX_SAFE_INTEGER").toString(),Rb=Ob?BigInt(v(Number,"MAX_SAFE_INTEGER")):void 0;function Sb(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 F=0,G=0;function Wb(a){var b=a>>>0;F=b;G=(a-b)/4294967296>>>0}function Xb(a){if(a<0){Wb(-a);var b=z(Yb(F,G));a=b.next().value;b=b.next().value;F=a>>>0;G=b>>>0}else Wb(a)}function Zb(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else yb()?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+$b(c)+$b(a));return c}function $b(a){a=String(a);return"0000000".slice(a.length)+a}function ac(){var a=F,b=G;b&2147483648?yb()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=z(Yb(a,b)),a=b.next().value,b=b.next().value,a="-"+Zb(a,b)):a=Zb(a,b);return a}function Yb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function bc(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b)};var cc=typeof BigInt==="function"?BigInt.asIntN:void 0,dc=v(Number,"isSafeInteger"),ec=v(Number,"isFinite"),fc=v(Math,"trunc");function gc(a){if(typeof a!=="boolean")throw Error("Expected boolean but got "+xa(a)+": "+a);return a}var hc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function ic(a){switch(typeof a){case "bigint":return!0;case "number":return ec(a);case "string":return hc.test(a);default:return!1}}function H(a){if(a!=null){if(!ec(a))throw hb("enum");a|=0}return a}function jc(a){return a==null?a:ec(a)?a|0:void 0}function kc(a){if(typeof a!=="number")throw hb("int32");if(!ec(a))throw hb("int32");return a|0}function lc(a){return a==null?a:kc(a)}function mc(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return ec(a)?a|0:void 0}function nc(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return ec(a)?a>>>0:void 0}function oc(a){var b=0;b=b===void 0?0:b;if(!ic(a))throw hb("int64");var c=typeof a;switch(b){case 4096:switch(c){case "string":return pc(a);case "bigint":return String(cc(64,a));default:return qc(a)}case 8192:switch(c){case "string":return rc(a);case "bigint":return Pb(cc(64,a));default:return sc(a)}case 0:switch(c){case "string":return pc(a);case "bigint":return Pb(cc(64,a));default:return tc(a)}default:return bc(b,"Unknown format requested type for int64")}}function uc(a){return a==null?a:oc(a)}function vc(a){var b=a.length;return a[0]==="-"?b<20?!0:b===20&&Number(a.substring(0,7))>-922337:b<19?!0:b===19&&Number(a.substring(0,6))<922337}function wc(a){if(vc(a))return a;if(a.length<16)Xb(Number(a));else if(yb())a=BigInt(a),F=Number(a&BigInt(4294967295))>>>0,G=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");G=F=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)),G*=1E6,F=F*1E6+d,F>=4294967296&&(G+=v(Math,"trunc").call(Math,F/4294967296),G>>>=0,F>>>=0);b&&(b=z(Yb(F,G)),a=b.next().value,b=b.next().value,F=a,G=b)}return ac()}function tc(a){a=fc(a);if(!dc(a)){Xb(a);var b=F,c=G;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);var d=c*4294967296+(b>>>0);b=v(Number,"isSafeInteger").call(Number,d)?d:Zb(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function qc(a){a=fc(a);if(dc(a))a=String(a);else{var b=String(a);vc(b)?a=b:(Xb(a),a=ac())}return a}function pc(a){var b=fc(Number(a));if(dc(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return wc(a)}function rc(a){var b=fc(Number(a));if(dc(b))return Pb(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return yb()?Pb(cc(64,BigInt(a))):Pb(wc(a))}function sc(a){return dc(a)?Pb(tc(a)):Pb(qc(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 I(a){return a==null||typeof a==="string"?a:void 0}function zc(a,b,c,d){if(a!=null&&typeof a==="object"&&a.na===Ab)return a;if(!Array.isArray(a))return c?d&2?((a=b[mb])||(a=new b,tb(a.i,34),a=b[mb]=a),b=a):b=new b:b=void 0,b;var e=c=a[D]|0;e===0&&(e|=d&32);e|=d&2;e!==c&&E(a,e);return new b(a)};function Ac(a){return a};function Bc(a,b,c){var d=zb(a),e=d.length,f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;b<e;b++)d[b]=c(d[b]);if(f){b=d[b]={};for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(b[g]=c(f[g]))}Gb(d,a);return d}function Cc(a,b,c,d,e){if(a!=null){if(Array.isArray(a)){var f=a[D]|0;return a.length===0&&f&1?void 0:e&&f&2?a:Dc(a,b,c,d!==void 0,e)}return b(a,d)}}function Dc(a,b,c,d,e){var f=d||c?a[D]|0:0;d=d?!!(f&32):void 0;for(var g=zb(a),h=0,l=g.length,k=0;k<l;k++){var p=g[k];if(k===l-1&&Bb(p)){var m=void 0;var n=b,r=c,t=d,A=e,y=void 0;for(m in p)if(Object.prototype.hasOwnProperty.call(p,m)){var Z=Cc(p[m],n,r,t,A);if(Z!=null){var za=void 0;((za=y)!=null?za:y={})[m]=Z}}m=y}else m=Cc(g[k],b,c,d,e);g[k]=m;m!=null&&(h=k+1)}h<l&&(g.length=h);c&&(Gb(g,a),c(f,g));return g}function Ec(a){switch(typeof a){case "number":return v(Number,"isFinite").call(Number,a)?a:""+a;case "bigint":return Vb(a)?Number(a):""+a;case "boolean":return a?1:0;case "object":if(ab&&a!=null&&a instanceof Uint8Array){ab&&a!=null&&a instanceof Uint8Array&&ib(qb);if(bb){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);$a();b=Wa[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],l=a[e+2],k=b[g>>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|l>>6];l=b[l&63];c[f++]=k+g+h+l}k=0;l=d;switch(a.length-e){case 2:k=a[e+1],l=b[(k&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|k>>4]+l+d}a=c.join("")}return a}if(a.na===Ab)return Fc(a);return}return a}var Gc=typeof structuredClone!="undefined"?structuredClone:function(a){return Dc(a,Ec,void 0,void 0,!1)},Hc;function J(a){try{return Fc(a)}finally{Hc=void 0}}function Fc(a){var b=a.i;a=Dc(b,Ec,void 0,void 0,!1);var c=b[D]|0;if((b=a.length)&&!(c&512)){var d=a[b-1],e=!1;Bb(d)?(b--,e=!0):d=void 0;var f,g=(f=Hc)!=null?f:Ac;f=c&512?0:-1;c=b-f;g=g(c,f,a,d);d&&(a[b]=void 0);if(c<g&&d){c=!0;for(var h in d)if(Object.prototype.hasOwnProperty.call(d,h)){var l=+h;l<=g?(e=l+f,a[e]=d[h],b=Math.max(e+1,b),e=!1,delete d[h]):c=!1}c&&(d=void 0)}for(c=b-1;b>0;c=b-1)if(h=a[c],h==null)b--,e=!0;else if(c-=f,c>=g)e=void 0,((e=d)!=null?e:d={})[c]=h,b--,e=!0;else break;e&&(a.length=b);d&&a.push(d)}return a};function K(a,b,c){if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-33521665|(b&1023)<<15)}else{if(!Array.isArray(a))throw Error("narr");d=a[D]|0;16384&d||!(64&d)||2&d||Ic();if(d&2048)throw Error("farr");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("mid");a:{c=a;var e=c.length;if(e){var f=e-1,g=c[f];if(Bb(g)){d|=256;b=d&512?0:-1;f-=b;if(f>=1024)throw Error("pvtlmt");for(var h in g)Object.prototype.hasOwnProperty.call(g,h)&&(e=+h,e<f&&(c[e+b]=g[h],delete g[h]));d=d&-33521665|(f&1023)<<15;break a}}if(b){h=Math.max(b,e-(d&512?0:-1));if(h>1024)throw Error("spvt");d=d&-33521665|(h&1023)<<15}}}E(a,d);return a}function Ic(){ib(pb)};function Jc(a,b,c){c=c===void 0?xb:c;if(a!=null){if(ab&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=a[D]|0;if(d&2)return a;b&&(b=d===0||!!(d&32)&&!(d&64||!(d&16)));return b?(E(a,d|34),d&4&&Object.freeze(a),a):Dc(a,Jc,d&4?xb:c,!0,!0)}a.na===Ab&&(c=a.i,d=c[D]|0,a=d&2?a:new a.constructor(Kc(c,d,!0)));return a}}function Kc(a,b,c){var d=c||b&2?xb:wb,e=!!(b&32);a=Bc(a,b,function(f){return Jc(f,e,d)});tb(a,32|(c?2:0));return a}function Lc(a){var b=a.i,c=b[D]|0;return c&2?new a.constructor(Kc(b,c,!1)):a}function Mc(a){var b=a.i,c=b[D]|0;return c&2?a:new a.constructor(Kc(b,c,!0))};var Nc=Pb(0),L=function(a,b){a=a.i;return Oc(a,a[D]|0,b)},Oc=function(a,b,c){if(c===-1)return null;var d=c+(b&512?0:-1),e=a.length-1;if(d>=e&&b&256)return a[e][c];if(d<=e)return a[d]},N=function(a,b,c){var d=a.i,e=d[D]|0;Eb(e);M(d,e,b,c);return a};function M(a,b,c,d){var e=b&512?0:-1,f=c+e,g=a.length-1;if(f>=g&&b&256)return a[g][c]=d,b;if(f<=g)return a[f]=d,b;d!==void 0&&(g=b>>15&1023||536870912,c>=g?d!=null&&(f={},a[g+e]=(f[c]=d,f),b|=256,E(a,b)):a[f]=d);return b}var O=function(a){return a===Hb?2:4};function Pc(a,b,c,d,e){var f=a.i;a=f[D]|0;var g=2&a?1:d;e=!!e;d=Qc(f,a,b);var h=d[D]|0;if(!(4&h)){4&h&&(d=zb(d),h=Rc(h,a),a=M(f,a,b,d));for(var l=0,k=0;l<d.length;l++){var p=c(d[l]);p!=null&&(d[k++]=p)}k<l&&(d.length=k);h=Sc(h,a);c=(h|20)&-4097;h=c&=-8193;E(d,h);2&h&&Object.freeze(d)}g===1||g===4&&32&h?Tc(h)||(e=h,h|=2,h!==e&&E(d,h),Object.freeze(d)):(g===2&&Tc(h)&&(d=zb(d),h=Rc(h,a),h=Uc(h,a,e),E(d,h),a=M(f,a,b,d)),Tc(h)||(b=h,h=Uc(h,a,e),h!==b&&E(d,h)));return d}function Qc(a,b,c){a=Oc(a,b,c);return Array.isArray(a)?a:Cb}function Sc(a,b){a===0&&(a=Rc(a,b));return a|1}function Tc(a){return!!(2&a)&&!!(4&a)||!!(2048&a)}function Vc(a,b,c,d){var e=a.i,f=e[D]|0;Eb(f);if(c==null)return M(e,f,b),a;var g=c[D]|0,h=g,l=Tc(g),k=l||Object.isFrozen(c);l||(g=0);k||(c=zb(c),h=0,g=Rc(g,f),g=Uc(g,f,!0),k=!1);g|=21;var p;l=(p=ub(g))!=null?p:0;for(p=0;p<c.length;p++){var m=c[p],n=d(m,l);v(Object,"is").call(Object,m,n)||(k&&(c=zb(c),h=0,g=Rc(g,f),g=Uc(g,f,!0),k=!1),c[p]=n)}g!==h&&(k&&(c=zb(c),g=Rc(g,f),g=Uc(g,f,!0)),E(c,g));M(e,f,b,c);return a}function Wc(a,b,c,d){var e=a.i,f=e[D]|0;Eb(f);M(e,f,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a}var P=function(a,b,c,d){var e=a.i,f=e[D]|0;Eb(f);if(d==null){var g=Xc(e);if(Yc(g,e,f,c)===b)g.set(c,0);else return a}else f=Zc(e,f,c,b);M(e,f,b,d);return a},ad=function(a,b,c){return $c(a,b)===c?c:-1},$c=function(a,b){a=a.i;return Yc(Xc(a),a,a[D]|0,b)};function Xc(a){if(jb){var b;return(b=a[nb])!=null?b:a[nb]=new u.Map}if(nb in a)return a[nb];b=new u.Map;Object.defineProperty(a,nb,{value:b});return b}function Zc(a,b,c,d){var e=Xc(a),f=Yc(e,a,b,c);f!==d&&(f&&(b=M(a,b,f)),e.set(c,d));return b}function Yc(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];Oc(b,c,g)!=null&&(e!==0&&(c=M(b,c,e)),e=g)}a.set(d,e);return e}var bd=function(a,b,c){a=a.i;var d=a[D]|0;Eb(d);var e=Oc(a,d,c);b=Lc(zc(e,b,!0,d));e!==b&&M(a,d,c,b);return b};function cd(a,b,c){a=a.i;var d=a[D]|0,e=Oc(a,d,c);b=zc(e,b,!1,d);b!==e&&b!=null&&M(a,d,c,b);return b}var dd=function(a,b,c){(a=cd(a,b,c))||(a=b[mb])||(a=new b,tb(a.i,34),a=b[mb]=a);return a},Q=function(a,b,c){b=cd(a,b,c);if(b==null)return b;a=a.i;var d=a[D]|0;if(!(d&2)){var e=Lc(b);e!==b&&(b=e,M(a,d,c,b))}return b};function ed(a,b,c,d,e,f,g){a=a.i;var h=!!(2&b),l=h?1:e;f=!!f;g&&(g=!h);e=Qc(a,b,d);var k=e[D]|0;h=!!(4&k);if(!h){k=Sc(k,b);var p=e,m=b,n=!!(2&k);n&&(m|=2);for(var r=!n,t=!0,A=0,y=0;A<p.length;A++){var Z=zc(p[A],c,!1,m);if(Z instanceof c){if(!n){var za=!!((Z.i[D]|0)&2);r&&(r=!za);t&&(t=za)}p[y++]=Z}}y<A&&(p.length=y);k|=4;k=t?k|16:k&-17;k=r?k|8:k&-9;E(p,k);n&&Object.freeze(p)}if(g&&!(8&k||!e.length&&(l===1||l===4&&32&k))){Tc(k)&&(e=zb(e),k=Rc(k,b),b=M(a,b,d,e));c=e;g=k;for(p=0;p<c.length;p++)k=c[p],m=Lc(k),k!==m&&(c[p]=m);g|=8;g=c.length?g&-17:g|16;E(c,g);k=g}l===1||l===4&&32&k?Tc(k)||(b=k,k|=!e.length||16&k&&(!h||32&k)?2:2048,k!==b&&E(e,k),Object.freeze(e)):(l===2&&Tc(k)&&(e=zb(e),k=Rc(k,b),k=Uc(k,b,f),E(e,k),b=M(a,b,d,e)),Tc(k)||(d=k,k=Uc(k,b,f),k!==d&&E(e,k)));return e}var R=function(a,b,c,d){var e=a.i[D]|0;return ed(a,e,b,c,d,!1,!(2&e))},fd=function(a,b,c){c==null&&(c=void 0);return N(a,b,c)},gd=function(a,b,c,d){d==null&&(d=void 0);return P(a,b,c,d)},hd=function(a,b,c){var d=a.i,e=d[D]|0;Eb(e);if(c==null)return M(d,e,b),a;for(var f=c[D]|0,g=f,h=Tc(f),l=h||Object.isFrozen(c),k=!0,p=!0,m=0;m<c.length;m++){var n=c[m];h||(n=!!((n.i[D]|0)&2),k&&(k=!n),p&&(p=n))}h||(f=k?13:5,f=p?f|16:f&-17);l&&f===g||(c=zb(c),g=0,f=Rc(f,e),f=Uc(f,e,!0));f!==g&&E(c,f);M(d,e,b,c);return a};function Rc(a,b){a=(2&b?a|2:a&-3)|32;return a&=-2049}function Uc(a,b,c){32&b&&c||(a&=-33);return a}function id(a,b){Eb(a.i[D]|0);a=Pc(a,4,I,2,!0);var c,d=(c=ub(a[D]|0))!=null?c:0;if(Array.isArray(b)){c=b.length;for(var e=0;e<c;e++)a.push(xc(b[e],d))}else for(b=z(b),c=b.next();!c.done;c=b.next())a.push(xc(c.value,d))}var jd=function(a,b){a=L(a,b);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:!1},kd=function(a,b){var c=c===void 0?0:c;var d;return(d=mc(L(a,b)))!=null?d:c},ld=function(a,b){var c=c===void 0?0:c;var d;return(d=nc(L(a,b)))!=null?d:c},md=function(a,b){var c=c===void 0?0:c;a=L(a,b);a!=null&&(typeof a==="bigint"?Vb(a)?a=Number(a):(a=cc(64,a),a=Vb(a)?Number(a):String(a)):a=ic(a)?typeof a==="number"?tc(a):pc(a):void 0);return a!=null?a:c},nd=function(a,b){var c=c===void 0?Nc:c;a=L(a,b);b=typeof a;a=a==null?a:b==="bigint"?Pb(cc(64,a)):ic(a)?b==="string"?rc(a):sc(a):void 0;return a!=null?a:c},od=function(a,b){var c=c===void 0?0:c;a=a.i;var d=a[D]|0,e=Oc(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&&M(a,d,b,f);return f!=null?f:c},S=function(a,b){var c;return(c=I(L(a,b)))!=null?c:""},T=function(a,b){var c=c===void 0?0:c;var d;return(d=jc(L(a,b)))!=null?d:c},pd=function(a,b,c){a=Pc(a,b,mc,3,!0);Fb(a,c);return a[c]},qd=function(a,b,c){return T(a,ad(a,c,b))},rd=function(a,b,c){return Wc(a,b,uc(c),"0")},sd=function(a,b,c){return Wc(a,b,yc(c),"")};var U=function(a,b,c){this.i=K(a,b,c)};U.prototype.toJSON=function(){return J(this)};U.prototype.na=Ab;function td(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");tb(b,128);return new a(vb(b))};function ud(a){return function(b){if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b=new a(vb(b))}return b}};var vd=function(a){this.i=K(a)};x(vd,U);var wd=function(a){this.i=K(a)};x(wd,U);var xd=ud(wd);var yd=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};var zd=function(){return Fa&&Ia?!Ia.mobile&&(C("iPad")||C("Android")||C("Silk")):C("iPad")||C("Android")&&!C("Mobile")||C("Silk")};function Ad(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};var Bd;function Cd(){Bd===void 0&&(Bd=null);return Bd};var Dd=function(a){this.g=a};Dd.prototype.toString=function(){return this.g+""};function Ed(a){var b=Cd();return new Dd(b?b.createScriptURL(a):a)}function Gd(a){if(a instanceof Dd)return a.g;throw Error("")};var Hd=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;var Id=function(a){this.g=a};Id.prototype.toString=function(){return this.g+""};function Jd(a){a=a===void 0?document:a;var b,c;a=(c=(b=a).querySelector)==null?void 0:c.call(b,"script[nonce]");return a==null?"":a.nonce||a.getAttribute("nonce")||""};function Kd(a,b){a.src=Gd(b);(b=Jd(a.ownerDocument))&&a.setAttribute("nonce",b)};var Ld="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");function Md(a,b){var c=a.write;if(b instanceof Id)b=b.g;else throw Error("");c.call(a,b)};var Nd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Od=function(a){return a?decodeURI(a):a},Pd=/#|$/,Qd=function(a,b){var c=a.search(Pd);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 Rd(a,b){a=Gd(a).toString();a='<script src="'+Sd(a)+'"';if(b==null?0:b.async)a+=" async";(b==null?void 0:b.attributionSrc)!==void 0&&(a+=' attributionsrc="'+Sd(b.attributionSrc)+'"');if(b==null?0:b.Va)a+=' custom-element="'+Sd(b.Va)+'"';if(b==null?0:b.defer)a+=" defer";if(b==null?0:b.id)a+=' id="'+Sd(b.id)+'"';if(b==null?0:b.nonce)a+=' nonce="'+Sd(b.nonce)+'"';if(b==null?0:b.type)a+=' type="'+Sd(b.type)+'"';if(b==null?0:b.Fa)a+=' crossorigin="'+Sd(b.Fa)+'"';b=a+">\x3c/script>";a=Cd();return new Id(a?a.createHTML(b):b)}function Sd(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")};function Td(a){var b=ta.apply(1,arguments);if(b.length===0)return Ed(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Ed(c)}function Ud(a,b){a=Gd(a).toString();var c=a.split(/[?#]/),d=/[?]/.test(a)?"?"+c[1]:"";return Vd(c[0],d,/[#]/.test(a)?"#"+(d?c[2]:c[1]):"",b)}function Vd(a,b,c,d){function e(g,h){g!=null&&(Array.isArray(g)?g.forEach(function(l){return e(l,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 Ed(a+b+c)};var Wd=function(a){try{var b;if(b=!!a&&a.location.href!=null)a:{try{Ua(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c){return!1}},Xd=function(a){var b=b===void 0?!1:b;var c=c===void 0?B:c;for(var d=0;c&&d++<40&&(!b&&!Wd(c)||!a(c));)a:{try{var e=c.parent;if(e&&e!=c){c=e;break a}}catch(f){}c=null}},Yd=function(a){var b=a;Xd(function(c){b=c;return!1});return b},Zd=function(a){return Wd(a.top)?a.top:null},$d=function(){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()}},ae=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)},be=function(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},ce=yd(function(){return(Fa&&Ia?Ia.mobile:!zd()&&(C("iPod")||C("iPhone")||C("Android")||C("IEMobile")))?2:zd()?1:0});function de(a,b){if(a.length&&b.head){a=z(a);for(var c=a.next();!c.done;c=a.next())if((c=c.value)&&b.head){var d=ee("META");b.head.appendChild(d);d.httpEquiv="origin-trial";d.content=c}}}var fe=function(a){if(typeof a.goog_pvsid!=="number")try{var b=Object,c=b.defineProperty,d=void 0;d=d===void 0?Math.random:d;var e=Math.floor(d()*4503599627370496);c.call(b,a,"goog_pvsid",{value:e,configurable:!1})}catch(f){}return Number(a.goog_pvsid)||-1},ee=function(a,b){b=b===void 0?document:b;return b.createElement(String(a).toLowerCase())};var ge={Bb:0,Ab:1,xb:2,sb:3,yb:4,tb:5,zb:6,vb:7,wb:8,rb:9,ub:10,Cb:11};var he={Eb:0,Fb:1,Db:2};var ie=function(a){this.i=K(a)};x(ie,U);ie.prototype.getVersion=function(){return kd(this,2)};function je(a){return Za(a.length%4!==0?a+"A":a).map(function(b){return(q=b.toString(2),v(q,"padStart")).call(q,8,"0")}).join("")}function ke(a){if(!/^[0-1]+$/.test(a))throw Error("Invalid input ["+a+"] not a bit string.");return parseInt(a,2)}function le(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 me(a){var b=je(a),c=ke(b.slice(0,6));a=ke(b.slice(6,12));var d=new ie;c=Wc(d,1,lc(c),0);a=Wc(c,2,lc(a),0);b=b.slice(12);c=ke(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=ke(e[0])===0;e=e.slice(1);var h=ne(e,b),l=d.length===0?0:d[d.length-1];l=le(h)+l;e=e.slice(h.length);if(g)d.push(l);else{g=ne(e,b);h=le(g);for(var k=0;k<=h;k++)d.push(l+k);e=e.slice(g.length)}}if(e.length>0)throw Error("Found "+c+" sections ["+d+"] but has remaining input ["+e+"], entire input ["+b+"]");return Vc(a,3,d,kc)}function ne(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 oe="a".charCodeAt(),pe=Ad(ge),qe=Ad(he);var re=function(a){this.i=K(a)};x(re,U);var se=function(){var a=new re;return rd(a,1,0)},te=function(a){var b=Number;var c=c===void 0?"0":c;var d=L(a,1);var e=!0;e=e===void 0?!1:e;var f=typeof d;d=d==null?d:f==="bigint"?String(cc(64,d)):ic(d)?f==="string"?pc(d):e?qc(d):tc(d):void 0;b=b(d!=null?d:c);a=kd(a,2);return new Date(b*1E3+a/1E6)};var ue=function(a){if(/[^01]/.test(a))throw Error("Input bitstring "+a+" is malformed!");this.j=a;this.g=0},xe=function(a){var b=V(a,16);return!!V(a,1)===!0?(a=ve(a),a.forEach(function(c){if(c>b)throw Error("ID "+c+" is past MaxVendorId "+b+"!")}),a):we(a,b)},ve=function(a){for(var b=V(a,12),c=[];b--;){var d=!!V(a,1)===!0,e=V(a,16);if(d)for(d=V(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c},we=function(a,b,c){for(var d=[],e=0;e<b;e++)if(V(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},V=function(a,b){if(a.g+b>a.j.length)throw Error("Requested length "+b+" is past end of string.");var c=a.j.substring(a.g,a.g+b);a.g+=b;return parseInt(c,2)};ue.prototype.skip=function(a){this.g+=a};var ze=function(a){try{var b=Za(a.split(".")[0]).map(function(d){return(q=d.toString(2),v(q,"padStart")).call(q,8,"0")}).join(""),c=new ue(b);b={};b.tcString=a;b.gdprApplies=!0;c.skip(78);b.cmpId=V(c,12);b.cmpVersion=V(c,12);c.skip(30);b.tcfPolicyVersion=V(c,6);b.isServiceSpecific=!!V(c,1);b.useNonStandardStacks=!!V(c,1);b.specialFeatureOptins=ye(we(c,12,qe),qe);b.purpose={consents:ye(we(c,24,pe),pe),legitimateInterests:ye(we(c,24,pe),pe)};b.purposeOneTreatment=!!V(c,1);b.publisherCC=String.fromCharCode(oe+V(c,6))+String.fromCharCode(oe+V(c,6));b.vendor={consents:ye(xe(c),null),legitimateInterests:ye(xe(c),null)};return b}catch(d){return null}},ye=function(a,b){var c={};if(Array.isArray(b)&&b.length!==0){b=z(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c[d]=a.indexOf(d)!==-1}else for(a=z(a),b=a.next();!b.done;b=a.next())c[b.value]=!0;delete c[0];return c};var Ae=function(a){this.i=K(a)};x(Ae,U);var Be=function(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 Ce(a,b,c,d){d=d===void 0?!1:d;a.google_image_requests||(a.google_image_requests=[]);var e=ee("IMG",a.document);if(c){var f=function(){if(c){var g=a.google_image_requests,h=Array.prototype.indexOf.call(g,e,void 0);h>=0&&Array.prototype.splice.call(g,h,1)}e.removeEventListener&&e.removeEventListener("load",f,!1);e.removeEventListener&&e.removeEventListener("error",f,!1)};e.addEventListener&&e.addEventListener("load",f,!1);e.addEventListener&&e.addEventListener("error",f,!1)}d&&(e.attributionSrc="");e.src=b;a.google_image_requests.push(e)}var Ee=function(a){var b=b===void 0?!1:b;var c="https://pagead2.googlesyndication.com/pagead/gen_204?id=rcs_internal";ae(a,function(d,e){if(d||d===0)c+="&"+e+"="+encodeURIComponent(""+d)});De(c,b)},De=function(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)):Ce(c,a,b===void 0?!1:b,d===void 0?!1:d)};function Fe(a,b){try{var c=function(d){var e={};return[(e[d.Z]=d.W,e)]};return JSON.stringify([a.filter(function(d){return d.M}).map(c),J(b),a.filter(function(d){return!d.M}).map(c)])}catch(d){return Ge(d,b),""}}function Ge(a,b){try{var c=a instanceof Error?a:Error(String(a)),d=c.toString();c.name&&d.indexOf(c.name)==-1&&(d+=": "+c.name);c.message&&d.indexOf(c.message)==-1&&(d+=": "+c.message);if(c.stack)a:{var e=c.stack;a=d;try{e.indexOf(a)==-1&&(e=a+"\n"+e);for(var f;e!=f;)f=e,e=e.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\n)*)\\2"),"$1");d=e.replace(RegExp("\n *","g"),"\n");break a}catch(g){d=a;break a}d=void 0}Ee({m:d,b:T(b,1)||null,v:S(b,2)||null})}catch(g){}}var He=function(a,b){var c=new Ae;a=Wc(c,1,H(a),0);b=sd(a,2,b);this.o=Mc(b)};var Ie=function(a){this.i=K(a)};x(Ie,U);var Ke=function(a,b){return P(a,3,Je,b==null?b:gc(b))},Je=[1,2,3];var Le=function(a){this.i=K(a)};x(Le,U);var Ne=function(a,b){return P(a,2,Me,uc(b))},Me=[2,4];var Oe=function(a){this.i=K(a)};x(Oe,U);var Pe=function(a){var b=new Oe;return sd(b,1,a)},Qe=function(a,b){return fd(a,3,b)},Re=function(a,b){var c=a.i[D]|0;Eb(c);c=ed(a,c,Ie,4,2,!0);b=b!=null?b:new Ie;c.push(b);c[D]=(b.i[D]|0)&2?c[D]&-9:c[D]&-17;return a};var Se=function(a){this.i=K(a)};x(Se,U);var Te=function(a){this.i=K(a)};x(Te,U);var Ue=function(a,b){return Wc(a,1,H(b),0)},Ve=function(a,b){return Wc(a,2,H(b),0)};var We=function(a){this.i=K(a)};x(We,U);var Xe=[1,2];var Ye=function(a){this.i=K(a)};x(Ye,U);var Ze=function(a,b){return fd(a,1,b)},$e=function(a,b){return hd(a,2,b)},af=function(a,b){return Vc(a,4,b,kc)},bf=function(a,b){return hd(a,5,b)},cf=function(a,b){return Wc(a,6,H(b),0)};var df=function(a){this.i=K(a)};x(df,U);var ef=[1,2,3,4,6];var ff=function(a){this.i=K(a)};x(ff,U);var gf=function(a){this.i=K(a)};x(gf,U);var hf=[2,3,4];var jf=function(a){this.i=K(a)};x(jf,U);var kf=[3,4,5],lf=[6,7];var mf=function(a){this.i=K(a)};x(mf,U);var nf=[4,5];var of=function(a){this.i=K(a)};x(of,U);of.prototype.getTagSessionCorrelator=function(){return nd(this,2)};var qf=function(a){var b=new of;return gd(b,4,pf,a)},pf=[4,5,7,8,9];var rf=function(a){this.i=K(a)};x(rf,U);var sf=function(a){this.i=K(a)};x(sf,U);var tf=[1,2,4,5,6,8,9,10];var uf=function(a){this.i=K(a)};x(uf,U);uf.prototype.getTagSessionCorrelator=function(){return nd(this,2)};uf.prototype.ba=function(a){return pd(this,4,a)};var vf=function(a){this.i=K(a)};x(vf,U);vf.prototype.ab=function(){return kd(this,2)};vf.prototype.Za=function(a){var b=Pc(this,3,I,3,!0);Fb(b,a);return b[a]};var wf=function(a){this.i=K(a)};x(wf,U);var xf=function(a){this.i=K(a)};x(xf,U);xf.prototype.getTagSessionCorrelator=function(){return nd(this,1)};xf.prototype.ba=function(a){return pd(this,2,a)};var yf=function(a){this.i=K(a)};x(yf,U);var zf=[1,7],Af=[4,6,8];var Cf=function(a){this.g=a;this.Ra=new Bf(this.g)},Bf=function(a){this.g=a;this.Ha=new Df(this.g)},Df=function(a){this.g=a;this.outstream=new Ef;this.request=new Ff;this.threadYield=new Gf;this.cb=new Hf(this.g);this.gb=new If(this.g);this.mb=new Jf(this.g)},Hf=function(a){this.g=a};Hf.prototype.V=function(a){this.g.A(Qe(Re(Re(Pe("JwITQ"),Ke(new Ie,a.ka)),Ke(new Ie,a.ma)),Ne(new Le,Math.round(a.Y))))};var If=function(a){this.g=a};If.prototype.V=function(a){this.g.A(Qe(Re(Re(Pe("Pn3Upd"),Ke(new Ie,a.ka)),Ke(new Ie,a.ma)),Ne(new Le,Math.round(a.Y))))};var Jf=function(a){this.g=a};Jf.prototype.V=function(a){var b=this.g,c=b.A,d=Pe("rkgGzc");var e=new Ie;e=P(e,2,Je,uc(a.source));d=Re(d,e);e=new Ie;e=P(e,2,Je,uc(a.Ua));c.call(b,Qe(Re(d,e),Ne(new Le,Math.round(a.Y))))};var Ef=function(){},Ff=function(){},Gf=function(){},Kf=function(){He.apply(this,arguments);this.Ka=new Cf(this)};x(Kf,He);var Lf=function(){Kf.apply(this,arguments)};x(Lf,Kf);Lf.prototype.pb=function(){this.l.apply(this,oa(ta.apply(0,arguments).map(function(a){return{M:!0,Z:2,W:J(a)}})))};Lf.prototype.ob=function(){this.l.apply(this,oa(ta.apply(0,arguments).map(function(a){return{M:!0,Z:29,W:J(a)}})))};Lf.prototype.da=function(){this.l.apply(this,oa(ta.apply(0,arguments).map(function(a){return{M:!0,Z:4,W:J(a)}})))};Lf.prototype.qb=function(){this.l.apply(this,oa(ta.apply(0,arguments).map(function(a){return{M:!0,Z:15,W:J(a)}})))};Lf.prototype.A=function(){this.l.apply(this,oa(ta.apply(0,arguments).map(function(a){return{M:!1,Z:1,W:J(a)}})))};var Mf=function(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)}};var Nf=function(a,b,c,d,e,f,g,h){Lf.call(this,a,b);this.S=c;this.R=d;this.T=e;this.O=f;this.P=g;this.H=h;this.g=[];this.j=null;this.J=!1};x(Nf,Lf);var Of=function(a){a.j!==null&&(clearTimeout(a.j),a.j=null);if(a.g.length){var b=Fe(a.g,a.o);a.R(a.S+"?e=1",b);a.g=[]}};Nf.prototype.l=function(){var a=ta.apply(0,arguments),b=this;try{this.P&&Fe(this.g.concat(a),this.o).length>=65536&&Of(this),this.H&&!this.J&&(this.J=!0,this.H.g(function(){Of(b)})),this.g.push.apply(this.g,oa(a)),this.g.length>=this.O&&Of(this),this.g.length&&this.j===null&&(this.j=setTimeout(function(){Of(b)},this.T))}catch(c){Ge(c,this.o)}};var Pf=function(a,b,c,d,e,f){Nf.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",Mf,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!u.globalThis.fetch,f)};x(Pf,Nf);var Qf=function(a,b){this.g=a;this.defaultValue=b===void 0?!1:b},Rf=function(a,b){this.g=a;this.defaultValue=b===void 0?0:b};var Sf=new Qf(501898423),Tf=new Rf(695925491,20),Uf=new Qf(45624259),Vf=new Rf(635239304,100),Wf=new Qf(662101539),Xf=new Qf(713409478,!0),Yf=new Qf(690790009),Zf=new Rf(682056200,100),$f=new Rf(24),ag=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"]);var bg=function(a){this.i=K(a)};x(bg,U);var cg=function(a){this.i=K(a)};x(cg,U);var dg=function(a){this.i=K(a)};x(dg,U);var eg=function(a){this.i=K(a)};x(eg,U);var fg=ud(eg);var gg=function(a){this.g=a||{cookie:""}};gg.prototype.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.Hb;d=c.Ib||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.ib}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:"")};gg.prototype.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Ca(d[e]);if(f.lastIndexOf(c,0)==0)return f.slice(c.length);if(f==a)return""}return b};gg.prototype.isEmpty=function(){return!this.g.cookie};gg.prototype.clear=function(){for(var a=(this.g.cookie||"").split(";"),b=[],c=[],d,e,f=0;f<a.length;f++)e=Ca(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--)c=b[a],this.get(c),this.set(c,"",{ib:0,path:void 0,domain:void 0})};function hg(a){a=ig(a);try{var b=a?fg(a):null}catch(c){b=null}return b?Q(b,dg,4)||null:null}function ig(a){a=(new gg(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};Ad(ge).map(function(a){return Number(a)});Ad(he).map(function(a){return Number(a)});var jg=function(a){this.g=a},lg=function(a){a.__tcfapiPostMessageReady||kg(new jg(a))},kg=function(a){a.j=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.g.__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.g.addEventListener("message",a.j);a.g.__tcfapiPostMessageReady=!0};var mg=function(a){this.g=a;this.j=null},og=function(a){a.__uspapiPostMessageReady||ng(new mg(a))},ng=function(a){a.j=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.g.__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.g.addEventListener("message",a.j);a.g.__uspapiPostMessageReady=!0};var pg=function(a){this.i=K(a)};x(pg,U);var qg=function(a){this.i=K(a)};x(qg,U);var rg=ud(qg);function sg(a,b){function c(m){if(m.length<10)return null;var n=h(m.slice(0,4));n=l(n);m=h(m.slice(6,10));m=k(m);return"1"+n+m+"N"}function d(m){if(m.length<10)return null;var n=h(m.slice(0,6));n=l(n);m=h(m.slice(6,10));m=k(m);return"1"+n+m+"N"}function e(m){if(m.length<12)return null;var n=h(m.slice(0,6));n=l(n);m=h(m.slice(8,12));m=k(m);return"1"+n+m+"N"}function f(m){if(m.length<18)return null;var n=h(m.slice(0,8));n=l(n);m=h(m.slice(12,18));m=k(m);return"1"+n+m+"N"}function g(m){if(m.length<10)return null;var n=h(m.slice(0,6));n=l(n);m=h(m.slice(6,10));m=k(m);return"1"+n+m+"N"}function h(m){for(var n=[],r=0,t=0;t<m.length/2;t++)n.push(ke(m.slice(r,r+2))),r+=2;return n}function l(m){return m.every(function(n){return n===1})?"Y":"N"}function k(m){return m.some(function(n){return n===1})?"Y":"N"}if(a.length===0)return null;a=a.split(".");if(a.length>2)return null;a=je(a[0]);var p=ke(a.slice(0,6));a=a.slice(6);if(p!==1)return null;switch(b){case 8:return c(a);case 10:case 12:case 9:return d(a);case 11:return e(a);case 7:return f(a);case 13:return g(a);default:return null}};function tg(a,b){var c=a.document,d=function(){if(!a.frames[b])if(c.body){var e=ee("IFRAME",c);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;c.body.appendChild(e)}else a.setTimeout(d,5)};d()};var wg=function(a){this.g=a;var b=ig(this.g.document);try{var c=b?fg(b):null}catch(e){c=null}(b=c)?(c=Q(b,cg,5)||null,b=R(b,bg,7,O()),b=ug(b!=null?b:[]),c={Da:c,Ga:b}):c={Da:null,Ga:null};b=c;c=vg(b.Ga);b=b.Da;if(b!=null&&I(L(b,2))!=null&&S(b,2).length!==0){var d=cd(b,re,1)!==void 0?Q(b,re,1):se();b={uspString:S(b,2),ha:te(d)}}else b=null;this.l=b&&c?c.ha>b.ha?c.uspString:b.uspString:b?b.uspString:c?c.uspString:null;this.tcString=(c=hg(a.document))&&I(L(c,1))!=null?S(c,1):null;this.j=(a=hg(a.document))&&I(L(a,2))!=null?S(a,2):null},zg=function(a){a!==a.top||a.__uspapi||a.frames.__uspapiLocator||(a=new wg(a),xg(a),yg(a))},xg=function(a){!a.l||a.g.__uspapi||a.g.frames.__uspapiLocator||(a.g.__uspapiManager="fc",tg(a.g,"__uspapiLocator"),ya("__uspapi",function(b,c,d){typeof d==="function"&&b==="getUSPData"&&d({version:1,uspString:a.l},!0)},a.g),og(a.g))},ug=function(a){a=v(a,"find").call(a,function(b){return b&&T(b,1)===13});if(a==null?0:I(L(a,2))!=null)try{return rg(S(a,2))}catch(b){}return null},vg=function(a){if(a==null||I(L(a,1))==null||S(a,1).length===0||R(a,pg,2,O()).length===0)return null;var b=S(a,1);try{var c=me(b.split("~")[0]);var d=v(b,"includes").call(b,"~")?b.split("~").slice(1):[]}catch(e){return null}a=R(a,pg,2,O()).reduce(function(e,f){return md(Ag(e),1)>md(Ag(f),1)?e:f});c=Pc(c,3,mc,O()).indexOf(kd(a,1));return c===-1||c>=d.length?null:{uspString:sg(d[c],kd(a,1)),ha:te(Ag(a))}},Ag=function(a){return cd(a,re,2)!==void 0?Q(a,re,2):se()},yg=function(a){!a.tcString||a.g.__tcfapi||a.g.frames.__tcfapiLocator||(a.g.__tcfapiManager="fc",tg(a.g,"__tcfapiLocator"),a.g.__tcfapiEventListeners=a.g.__tcfapiEventListeners||[],ya("__tcfapi",function(b,c,d,e){if(typeof d==="function")if(c&&(c>2.2||c<=1))d(null,!1);else switch(c=a.g.__tcfapiEventListeners,b){case "ping":d({gdprApplies:!0,cmpLoaded:!0,cmpStatus:"loaded",displayStatus:"disabled",apiVersion:"2.2",cmpVersion:2,cmpId:300});break;case "addEventListener":b=c.push(d)-1;a.tcString?(e=ze(a.tcString),e.addtlConsent=a.j!=null?a.j: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&&c[e]?(c[e]=null,d(!0)):d(!1);break;case "getInAppTCData":case "getVendorList":d(null,!1);break;case "getTCData":d(null,!1)}},a.g),lg(a.g))};var Bg=qa(["https://pagead2.googlesyndication.com/pagead/managed/dict/","/",""]),Cg=qa(["https://securepubads.g.doubleclick.net/pagead/managed/dict/","/",""]);function Dg(a,b,c,d){try{if(Qa()&&c.length){var e=a.createElement("link"),f;if((f=e.relList)!=null&&f.supports("compression-dictionary")){var g=b?Td(Bg,c,"gpt"):Td(Cg,c,"gpt");if(g instanceof Dd)e.href=Gd(g).toString(),e.rel="compression-dictionary";else{if(Ld.indexOf("compression-dictionary")===-1)throw Error('TrustedResourceUrl href attribute required with rel="compression-dictionary"');var h=Hd.test(g)?g:void 0;h!==void 0&&(e.href=h,e.rel="compression-dictionary")}a.head.appendChild(e)}}}catch(l){Eg(d,{methodName:1296,K:l})}};var Fg=null;function Gg(a,b){var c=R(a,jf,2,O());if(!c.length)return Hg(a,b);a=T(a,1);if(a===1){var d=Gg(c[0],b);return d.success?{success:!0,value:!d.value}:d}c=Sa(c,function(h){return Gg(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 Hg(a,b){var c=$c(a,kf);a:{switch(c){case 3:var d=qd(a,3,kf);break a;case 4:d=qd(a,4,kf);break a;case 5:d=qd(a,5,kf);break a}d=void 0}if(!d)return{success:!1,errorType:2};b=(b=b[c])&&b[d];if(!b)return{success:!1,N:d,X:c,errorType:1};try{var e=b.apply;var f=Pc(a,8,I,O());var g=e.call(b,null,oa(f))}catch(h){return{success:!1,N:d,X:c,errorType:2}}e=T(a,1);if(e===4)return{success:!0,value:!!g};if(e===5)return{success:!0,value:g!=null};if(e===12)a=S(a,ad(a,lf,7));else a:{switch(c){case 4:a=od(a,ad(a,lf,6));break a;case 5:a=S(a,ad(a,lf,7));break a}a=void 0}if(a==null)return{success:!1,N:d,X:c,errorType:3};if(e===6)return{success:!0,value:g===a};if(e===9)return{success:!0,value:g!=null&&Da(String(g),a)===0};if(g==null)return{success:!1,N:d,X:c,errorType:4};switch(e){case 7:c=g<a;break;case 8:c=g>a;break;case 12:c=Mb(a)&&Mb(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Da(String(g),a)===-1;break;case 11:c=g!=null&&Da(String(g),a)===1;break;default:return{success:!1,errorType:3}}return{success:!0,value:c}}function Ig(a,b){return a?b?Gg(a,b):{success:!1,errorType:1}:{success:!0,value:!0}};var Jg=function(a){this.i=K(a)};x(Jg,U);var Kg=function(a){this.i=K(a)};x(Kg,U);Kg.prototype.getValue=function(){return Q(this,Jg,2)};var Lg=function(a){this.i=K(a)};x(Lg,U);var Mg=ud(Lg),Ng=[1,2,3,6,7,8];var Og=function(a,b,c){var d=d===void 0?new Pf(6,"unknown",b):d;this.A=a;this.o=c;this.j=d;this.g=[];this.l=a>0&&$d()<1/a},Qg=function(a,b,c,d,e,f){if(a.l){var g=Ve(Ue(new Te,b),c);b=cf($e(Ze(bf(af(new Ye,d),e),g),a.g.slice()),f);b=qf(b);a.j.da(Pg(a,b));if(f===1||f===3||f===4&&!a.g.some(function(h){return T(h,1)===T(g,1)&&T(h,2)===c}))a.g.push(g),a.g.length>100&&a.g.shift()}},Rg=function(a,b,c,d){if(a.l){var e=new Se;b=N(e,1,lc(b));c=N(b,2,lc(c));d=N(c,3,H(d));c=new of;d=gd(c,8,pf,d);a.j.da(Pg(a,d))}},Sg=function(a,b,c,d,e){if(a.l){var f=new mf;b=fd(f,1,b);c=N(b,2,H(c));d=N(c,3,lc(d));if(e.X===void 0)P(d,4,nf,H(e.errorType));else switch(e.X){case 3:c=new gf;c=P(c,2,hf,H(e.N));e=N(c,1,H(e.errorType));gd(d,5,nf,e);break;case 4:c=new gf;c=P(c,3,hf,H(e.N));e=N(c,1,H(e.errorType));gd(d,5,nf,e);break;case 5:c=new gf,c=P(c,4,hf,H(e.N)),e=N(c,1,H(e.errorType)),gd(d,5,nf,e)}e=new of;e=gd(e,9,pf,d);a.j.da(Pg(a,e))}},Pg=function(a,b){var c=Date.now();c=v(Number,"isFinite").call(Number,c)?Math.round(c):0;b=rd(b,1,c);c=fe(window);b=rd(b,2,c);return rd(b,6,a.A)};var W=function(a){var b="ja";if(a.ja&&a.hasOwnProperty(b))return a.ja;b=new a;return a.ja=b};var Tg=function(){var a={};this.C=(a[3]={},a[4]={},a[5]={},a)};var Ug=/^true$/.test("false");function Vg(a,b){switch(b){case 1:return qd(a,1,Ng);case 2:return qd(a,2,Ng);case 3:return qd(a,3,Ng);case 6:return qd(a,6,Ng);case 8:return qd(a,8,Ng);default:return null}}function Wg(a,b){if(!a)return null;switch(b){case 1:return jd(a,1);case 7:return S(a,3);case 2:return od(a,2);case 3:return S(a,3);case 6:return Pc(a,4,I,O());case 8:return Pc(a,4,I,O());default:return null}}var Xg=yd(function(){if(!Ug)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 Yg(a,b,c,d){var e=d=d===void 0?0:d,f,g;W(Zg).l[e]=(g=(f=W(Zg).l[e])==null?void 0:f.add(b))!=null?g:(new u.Set).add(b);e=Xg();if(e[b]!=null)return e[b];b=$g(d)[b];if(!b)return c;b=Mg(JSON.stringify(b));b=ah(b);a=Wg(b,a);return a!=null?a:c}function ah(a){var b=W(Tg).C;if(b&&$c(a,Ng)!==8){var c=Ta(R(a,Kg,5,O()),function(f){f=Ig(Q(f,jf,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=Q(a,Jg,4))!=null?e:null}var Zg=function(){this.j={};this.o=[];this.l={};this.g=new u.Map};function bh(a,b,c){return!!Yg(1,a,b===void 0?!1:b,c)}function ch(a,b,c){b=b===void 0?0:b;a=Number(Yg(2,a,b,c));return isNaN(a)?b:a}function dh(a,b,c){b=b===void 0?"":b;a=Yg(3,a,b,c);return typeof a==="string"?a:b}function eh(a,b,c){b=b===void 0?[]:b;a=Yg(6,a,b,c);return Array.isArray(a)?a:b}function fh(a,b,c){b=b===void 0?[]:b;a=Yg(8,a,b,c);return Array.isArray(a)?a:b}function $g(a){return W(Zg).j[a]||(W(Zg).j[a]={})}function gh(a,b){var c=$g(b);ae(a,function(d,e){if(c[e]){d=Mg(JSON.stringify(d));var f=ad(d,Ng,8);if(jc(L(d,f))!=null){var g=Mg(JSON.stringify(c[e]));f=bd(d,Jg,4);g=dd(g,Jg,4);g=Pc(g,4,I,O());id(f,g)}c[e]=J(d)}else c[e]=d})}function hh(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=z(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;for(var l=$g(h),k=z(a),p=k.next();!p.done;p=k.next()){p=p.value;var m=$c(p,Ng),n=Vg(p,m);if(n){var r=void 0,t=void 0,A=void 0;var y=(r=(A=W(Zg).g.get(h))==null?void 0:(t=A.get(n))==null?void 0:t.slice(0))!=null?r:[];a:{r=n;t=m;A=new df;switch(t){case 1:P(A,1,ef,H(r));break;case 2:P(A,2,ef,H(r));break;case 3:P(A,3,ef,H(r));break;case 6:P(A,4,ef,H(r));break;case 8:P(A,6,ef,H(r));break;default:y=void 0;break a}Vc(A,5,y,kc);y=A}if(r=y)t=void 0,r=!((t=W(Zg).l[h])==null||!t.has(n));r&&f.push(y);if(m===8&&l[n])y=Mg(JSON.stringify(l[n])),m=bd(p,Jg,4),y=dd(y,Jg,4),y=Pc(y,4,I,O()),id(m,y);else{if(m=y)r=void 0,m=!((r=W(Zg).g.get(h))==null||!r.has(n));m&&g.push(y)}e||(m=n,y=h,r=d,t=W(Zg),t.g.has(y)||t.g.set(y,new u.Map),t.g.get(y).has(m)||t.g.get(y).set(m,[]),r&&t.g.get(y).get(m).push(r));l[n]=J(p)}}}if(f.length||g.length)a=d!=null?d:void 0,c.l&&c.o&&(d=new ff,f=hd(d,2,f),g=hd(f,3,g),a&&Wc(g,1,lc(a),0),f=new of,g=gd(f,7,pf,g),c.j.da(Pg(c,g)))}function ih(a,b){b=$g(b);a=z(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=Mg(JSON.stringify(c)),e=$c(d,Ng);(d=Vg(d,e))&&(b[d]||(b[d]=c))}}function jh(){return v(Object,"keys").call(Object,W(Zg).j).map(function(a){return Number(a)})}function kh(a){(q=W(Zg).o,v(q,"includes")).call(q,a)||gh($g(4),a)};function X(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function Y(a,b,c){return b[a]||c}function lh(a){X(5,bh,a);X(6,ch,a);X(7,dh,a);X(8,eh,a);X(17,fh,a);X(13,ih,a);X(15,kh,a)}function mh(a){X(4,function(b){W(Tg).C=b},a);X(9,function(b,c){var d=W(Tg);d.C[3][b]==null&&(d.C[3][b]=c)},a);X(10,function(b,c){var d=W(Tg);d.C[4][b]==null&&(d.C[4][b]=c)},a);X(11,function(b,c){var d=W(Tg);d.C[5][b]==null&&(d.C[5][b]=c)},a);X(14,function(b){for(var c=W(Tg),d=z([3,4,5]),e=d.next();!e.done;e=d.next())e=e.value,v(Object,"assign").call(Object,c.C[e],b[e])},a)}function nh(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};var oh=function(){};oh.prototype.g=function(){};oh.prototype.j=function(){};oh.prototype.l=function(){return[]};var ph=function(a,b,c){a.j=function(d,e){Y(2,b,function(){return[]})(d,c,e)};a.l=function(){return Y(3,b,function(){return[]})(c)};a.g=function(d){Y(16,b,function(){})(d,c)}};function qh(a){W(oh).g(a)}function rh(){return W(oh).l()};function sh(a,b){try{var c=a.split(".");a=B;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 th={},uh={},vh={},wh={},xh=(wh[3]=(th[8]=function(a){try{return wa(a)!=null}catch(b){}},th[9]=function(a){try{var b=wa(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},th[10]=function(){return window===window.top},th[6]=function(a){var b=rh();return Array.prototype.indexOf.call(b,Number(a),void 0)>=0},th[27]=function(a){a=sh(a,"boolean");return a!==void 0?a:void 0},th[60]=function(a){try{return!!B.document.querySelector(a)}catch(b){}},th[80]=function(a){try{return!!B.matchMedia(a).matches}catch(b){}},th[69]=function(a){var b=B.document;b=b===void 0?document:b;var c;return!((c=b.featurePolicy)==null||!(q=c.features(),v(q,"includes")).call(q,a))},th[70]=function(a){var b=B.document;b=b===void 0?document:b;var c;return!((c=b.featurePolicy)==null||!(q=c.allowedFeatures(),v(q,"includes")).call(q,a))},th[79]=function(a){var b=B.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},th),wh[4]=(uh[3]=function(){return ce()},uh[6]=function(a){a=sh(a,"number");return a!==void 0?a:void 0},uh),wh[5]=(vh[2]=function(){return window.location.href},vh[3]=function(){try{return window.top.location.hash}catch(a){return""}},vh[4]=function(a){a=sh(a,"string");return a!==void 0?a:void 0},vh[12]=function(a){try{var b=sh(a,"string");if(b!==void 0)return atob(b)}catch(c){}},vh),wh);function yh(){var a=a===void 0?B:a;return a.ggeac||(a.ggeac={})};var zh=function(a){this.i=K(a)};x(zh,U);zh.prototype.getId=function(){return kd(this,1)};var Ah=function(a){this.i=K(a)};x(Ah,U);var Bh=function(a){return R(a,zh,2,O())};var Ch=function(a){this.i=K(a)};x(Ch,U);var Dh=function(a){this.i=K(a)};x(Dh,U);var Eh=function(a){this.i=K(a)};x(Eh,U);function Fh(a){var b={};return Gh((b[0]=new u.Map,b[1]=new u.Map,b[2]=new u.Map,b),a)}function Gh(a,b){for(var c=new u.Map,d=z(v(a[1],"entries").call(a[1])),e=d.next();!e.done;e=d.next()){var f=z(e.value);e=f.next().value;f=f.next().value;f=f[f.length-1];c.set(e,f.Qa+f.La*f.Ma)}b=z(b);for(d=b.next();!d.done;d=b.next())for(d=d.value,e=R(d,Ah,2,O()),e=z(e),f=e.next();!f.done;f=e.next())if(f=f.value,Bh(f).length!==0){var g=ld(f,8);if(T(f,4)&&!T(f,13)&&!T(f,14)){var h=void 0;g=(h=c.get(T(f,4)))!=null?h:0;h=ld(f,1)*Bh(f).length;c.set(T(f,4),g+h)}h=[];for(var l=0;l<Bh(f).length;l++){var k={Qa:g,La:ld(f,1),Ma:Bh(f).length,jb:l,aa:T(d,1),ea:f,F:Bh(f)[l]};h.push(k)}Hh(a[2],T(f,10),h)||Hh(a[1],T(f,4),h)||Hh(a[0],Bh(f)[0].getId(),h)}return a}function Hh(a,b,c){if(!b)return!1;a.has(b)||a.set(b,[]);var d;(d=a.get(b)).push.apply(d,oa(c));return!0};function Ih(){var a=fe(window);a=a===void 0?$d():a;return function(b){return be(b+" + "+a)%1E3}};var Jh=[12,13,20],Kh=function(a,b,c,d){d=d===void 0?{}:d;var e=d.ia===void 0?!1:d.ia;d=d.nb===void 0?[]:d.nb;this.L=a;this.B=c;this.o={};this.ia=e;a={};this.g=(a[b]=[],a[4]=[],a);this.j={};this.l={};var f=f===void 0?window:f;if(Fg===null){Fg="";try{b="";try{b=f.top.location.hash}catch(h){b=f.location.hash}if(b){var g=b.match(/\bdeid=([\d,]+)/);Fg=g?g[1]:""}}catch(h){}}if(f=Fg)for(f=z(f.split(",")||[]),g=f.next();!g.done;g=f.next())(g=Number(g.value))&&(this.j[g]=!0);d=z(d);for(f=d.next();!f.done;f=d.next())this.j[f.value]=!0},Nh=function(a,b,c,d){var e=[],f;if(f=b!==9)a.o[b]?f=!0:(a.o[b]=!0,f=!1);if(f)return Qg(a.B,b,c,e,[],4),e;f=v(Jh,"includes").call(Jh,b);for(var g=[],h=[],l=z([0,1,2]),k=l.next();!k.done;k=l.next()){k=k.value;for(var p=z(v(a.L[k],"entries").call(a.L[k])),m=p.next();!m.done;m=p.next()){var n=z(m.value);m=n.next().value;n=n.next().value;var r=m,t=n;m=new We;n=t.filter(function(Fd){return Fd.aa===b&&a.j[Fd.F.getId()]&&Lh(a,Fd)});if(n.length)for(m=z(n),n=m.next();!n.done;n=m.next())h.push(n.value.F);else if(!a.ia){n=void 0;k===2?(n=d[1],P(m,2,Xe,H(r))):n=d[0];var A=void 0,y=void 0;n=(y=(A=n)==null?void 0:A(String(r)))!=null?y:k===2&&T(t[0].ea,11)===1?void 0:d[0](String(r));if(n!==void 0){r=z(t);for(t=r.next();!t.done;t=r.next())if(t=t.value,t.aa===b){A=n-t.Qa;var Z=t;y=Z.La;var za=Z.Ma;Z=Z.jb;A<0||A>=y*za||A%za!==Z||!Lh(a,t)||(A=T(t.ea,13),A!==0&&A!==void 0&&(y=a.l[String(A)],y!==void 0&&y!==t.F.getId()?Rg(a.B,a.l[String(A)],t.F.getId(),A):a.l[String(A)]=t.F.getId()),h.push(t.F))}$c(m,Xe)!==0&&(Wc(m,3,lc(n),0),g.push(m))}}}}d=z(h);for(h=d.next();!h.done;h=d.next())h=h.value,l=h.getId(),e.push(l),Mh(a,l,f?4:c),hh(R(h,Lg,2,O()),f?jh():[c],a.B,l);Qg(a.B,b,c,e,g,1);return e},Mh=function(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];v(a,"includes").call(a,b)||a.push(b)},Lh=function(a,b){var c=W(Tg).C,d=Ig(Q(b.ea,jf,3),c);if(!d.success)return Sg(a.B,Q(b.ea,jf,3),b.aa,b.F.getId(),d),!1;if(!d.value)return!1;c=Ig(Q(b.F,jf,3),c);return c.success?c.value?!0:!1:(Sg(a.B,Q(b.F,jf,3),b.aa,b.F.getId(),c),!1)},Oh=function(a,b){b=b.map(function(c){return new Ch(c)}).filter(function(c){return!v(Jh,"includes").call(Jh,T(c,1))});a.L=Gh(a.L,b)},Ph=function(a,b){X(1,function(c){a.j[c]=!0},b);X(2,function(c,d,e){return Nh(a,c,d,e)},b);X(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);X(12,function(c){return void Oh(a,c)},b);X(16,function(c,d){return void Mh(a,c,d)},b)};var Qh=function(){var a={};this.g=function(b,c){return a[b]!=null?a[b]:c};this.j=function(b,c){return a[b]!=null?a[b]:c};this.H=function(b,c){return a[b]!=null?a[b]:c};this.l=function(b,c){return a[b]!=null?a[b]:c};this.A=function(b,c){return a[b]!=null?c.concat(a[b]):c};this.o=function(){}};function Rh(a){return W(Qh).g(a.g,a.defaultValue)}function Sh(a){return W(Qh).j(a.g,a.defaultValue)};var Th=function(){this.g=function(){}},Uh=function(a,b){a.g=Y(14,b,function(){})};function Vh(a){W(Th).g(a)};var Wh,Xh,Yh,Zh,$h,ai;function bi(a){var b=a.Ya;var c=a.C;var d=a.config;var e=a.Ta===void 0?yh():a.Ta;var f=a.Ca===void 0?0:a.Ca;var g=a.B===void 0?new Og((Zh=(Wh=Q(b,Dh,5))==null?void 0:md(Wh,2))!=null?Zh:0,($h=(Xh=Q(b,Dh,5))==null?void 0:md(Xh,4))!=null?$h:0,(ai=(Yh=Q(b,Dh,5))==null?void 0:jd(Yh,3))!=null?ai:!1):a.B;a=a.L===void 0?Fh(R(b,Ch,2,O(Hb))):a.L;e.hasOwnProperty("init-done")?(Y(12,e,function(){})(R(b,Ch,2,O()).map(function(h){return J(h)})),Y(13,e,function(){})(R(b,Lg,1,O()).map(function(h){return J(h)}),f),c&&Y(14,e,function(){})(c),ci(f,e)):(Ph(new Kh(a,f,g,d),e),lh(e),mh(e),nh(e),ci(f,e),hh(R(b,Lg,1,O(Hb)),[f],g,void 0,!0),Ug=Ug||!(!d||!d.la),Vh(xh),c&&Vh(c))}function ci(a,b){var c=b=b===void 0?yh():b;ph(W(oh),c,a);di(b,a);a=b;Uh(W(Th),a);W(Qh).o()}function di(a,b){var c=W(Qh);c.g=function(d,e){return Y(5,a,function(){return!1})(d,e,b)};c.j=function(d,e){return Y(6,a,function(){return 0})(d,e,b)};c.H=function(d,e){return Y(7,a,function(){return""})(d,e,b)};c.l=function(d,e){return Y(8,a,function(){return[]})(d,e,b)};c.A=function(d,e){return Y(17,a,function(){return[]})(d,e,b)};c.o=function(){Y(15,a,function(){})(b)}};var ei=qa(["https://pagead2.googlesyndication.com/pagead/js/err_rep.js"]),fi=function(){var a=a===void 0?"jserror":a;var b=b===void 0?.01:b;var c=c===void 0?Td(ei):c;this.g=a;this.l=b;this.j=c};var gi,hi=64;function ii(){try{return gi!=null||(gi=new Uint32Array(64)),hi>=64&&(crypto.getRandomValues(gi),hi=0),gi[hi++]}catch(a){return Math.floor(Math.random()*4294967296)}};var ji=function(){var a;this.U=a=a===void 0?{kb:ii()+(ii()&2097151)*4294967296,Wa:v(Number,"MAX_SAFE_INTEGER")}:a};function ki(a,b){return b>0&&a.kb*b<=a.Wa};var li=function(a){this.i=K(a)};x(li,U);function mi(a){a=a===void 0?B:a;return(a=a.performance)&&a.now?a.now():null};function ni(a,b){b=b.google_js_reporting_queue=b.google_js_reporting_queue||[];b.length<2048&&b.push(a)}function oi(a,b){var c=mi(b);c&&ni({label:a,type:9,value:c},b)}function pi(a,b,c){var d=!1;d=d===void 0?!1:d;var e=window,f=typeof queueMicrotask!=="undefined";return function(){var g=ta.apply(0,arguments);d&&f&&queueMicrotask(function(){e.google_rum_task_id_counter=e.google_rum_task_id_counter||1;e.google_rum_task_id_counter+=1});var h=mi(),l=3;try{var k=b.apply(this,g)}catch(p){l=13;if(!c)throw p;c(a,p)}finally{e.google_measure_js_timing&&h&&ni(v(Object,"assign").call(Object,{},{label:a.toString(),value:h,duration:(mi()||0)-h,type:l},d&&f&&{taskId:e.google_rum_task_id_counter=e.google_rum_task_id_counter||1}),e)}return k}}function qi(a,b){return pi(a,b,function(c,d){var e=new fi;var f=f===void 0?e.l:f;var g=g===void 0?e.g:g;Math.random()>f||(d.error&&d.meta&&d.id||(d=new Be(d,{context:c,id:g})),B.google_js_errors=B.google_js_errors||[],B.google_js_errors.push(d),B.error_rep_loaded||(f=B.document,c=ee("SCRIPT",f),Kd(c,e.j),(e=f.getElementsByTagName("script")[0])&&e.parentNode&&e.parentNode.insertBefore(c,e),B.error_rep_loaded=!0))})};function ri(a,b){return b==null?"&"+a+"=null":"&"+a+"="+Math.floor(b)}function si(a,b){return"&"+a+"="+b.toFixed(3)}function ti(){var a=new u.Set;var b=window.googletag;b=(b==null?0:b.apiReady)?b:void 0;try{if(!b)return a;for(var c=b.pubads(),d=z(c.getSlots()),e=d.next();!e.done;e=d.next())a.add(e.value.getSlotId().getDomId())}catch(f){}return a}function ui(a){a=a.id;return a!=null&&(ti().has(a)||v(a,"startsWith").call(a,"google_ads_iframe_")||v(a,"startsWith").call(a,"aswift"))}function vi(a,b,c){if(!a.sources)return!1;switch(wi(a)){case 2:var d=xi(a);if(d)return c.some(function(f){return yi(d,f)});break;case 1:var e=zi(a);if(e)return b.some(function(f){return yi(e,f)})}return!1}function wi(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 zi(a){return Ai(a,function(b){return b.currentRect})}function xi(a){return Ai(a,function(b){return b.previousRect})}function Ai(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 yi(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}var Bi=function(){var a={Ea:!0};a=a===void 0?{Ea:!1}:a;this.l=this.j=this.T=this.R=this.J=0;this.ya=this.va=Number.NEGATIVE_INFINITY;this.g=[];this.O={};this.sa=0;this.S=Infinity;this.qa=this.ta=this.ua=this.wa=this.Ba=this.A=this.Aa=this.ga=this.o=0;this.ra=!1;this.fa=this.P=this.H=0;this.B=null;this.xa=!1;this.pa=function(){};var b=document.querySelector("[data-google-query-id]");this.za=b?b.getAttribute("data-google-query-id"):null;this.Sa=a},Ci,Di,Gi=function(){var a=new Bi;if(Rh(Wf)){var b=window;if(!b.google_plmetrics&&window.PerformanceObserver){b.google_plmetrics=!0;b=["layout-shift","largest-contentful-paint","first-input","longtask"];a.Sa.Ea&&b.push("event");b=z(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);Ei(a).observe(d)}Fi(a)}}},Ei=function(a){a.B||(a.B=new PerformanceObserver(qi(640,function(b){Hi(a,b)})));return a.B},Fi=function(a){var b=qi(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&&Ii(a)}),c=qi(641,function(){return void Ii(a)});document.addEventListener("visibilitychange",b);document.addEventListener("pagehide",c);a.pa=function(){document.removeEventListener("visibilitychange",b);document.removeEventListener("pagehide",c);Ei(a).disconnect()}},Ii=function(a){if(!a.xa){a.xa=!0;Ei(a).takeRecords();var b="https://pagead2.googlesyndication.com/pagead/gen_204?id=plmetrics";window.LayoutShift&&(b+=si("cls",a.J),b+=si("mls",a.R),b+=ri("nls",a.T),window.LayoutShiftAttribution&&(b+=si("cas",a.A),b+=ri("nas",a.wa),b+=si("was",a.Ba)),b+=si("wls",a.ga),b+=si("tls",a.Aa));window.LargestContentfulPaint&&(b+=ri("lcp",a.ua),b+=ri("lcps",a.ta));window.PerformanceEventTiming&&a.ra&&(b+=ri("fid",a.qa));window.PerformanceLongTaskTiming&&(b+=ri("cbt",a.H),b+=ri("mbt",a.P),b+=ri("nlt",a.fa));for(var c=0,d=z(document.getElementsByTagName("iframe")),e=d.next();!e.done;e=d.next())ui(e.value)&&c++;b+=ri("nif",c);c=window.google_unique_id;b+=ri("ifi",typeof c==="number"?c:0);c=rh();b+="&eid="+encodeURIComponent(c.join());b+="&top="+(B===B.top?1:0);b+=a.za?"&qqid="+encodeURIComponent(a.za):ri("pvsid",fe(B));window.googletag&&(b+="&gpt=1");c=Math.min(a.g.length-1,Math.floor((a.B?a.sa:performance.interactionCount||0)/50));c>=0&&(c=a.g[c].latency,c>=0&&(b+=ri("inp",c)));window.fetch(b,{keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"});a.pa()}},Ji=function(a,b,c,d){if(!b.hadRecentInput){a.J+=Number(b.value);Number(b.value)>a.R&&(a.R=Number(b.value));a.T+=1;if(c=vi(b,c,d))a.A+=b.value,a.wa++;if(b.startTime-a.va>5E3||b.startTime-a.ya>1E3)a.va=b.startTime,a.j=0,a.l=0;a.ya=b.startTime;a.j+=b.value;c&&(a.l+=b.value);a.j>a.ga&&(a.ga=a.j,a.Ba=a.l,a.Aa=b.startTime+b.duration)}},Hi=function(a,b){var c=Ci!==window.scrollX||Di!==window.scrollY?[]:Ki,d=Li();b=z(b.getEntries());for(var e=b.next(),f={};!e.done;f={D:void 0},e=b.next())switch(f.D=e.value,e=f.D.entryType,e){case "layout-shift":Ji(a,f.D,c,d);break;case "largest-contentful-paint":f=f.D;a.ua=Math.floor(f.renderTime||f.loadTime);a.ta=f.size;break;case "first-input":e=f.D;a.qa=Number((e.processingStart-e.startTime).toFixed(3));a.ra=!0;a.g.some(function(g){return function(h){return v(h,"entries").some(function(l){return g.D.duration===l.duration&&g.D.startTime===l.startTime})}}(f))||Mi(a,f.D);break;case "longtask":f=Math.max(0,f.D.duration-50);a.H+=f;a.P=Math.max(a.P,f);a.fa+=1;break;case "event":Mi(a,f.D);break;default:bc(e)}},Mi=function(a,b){Ni(a,b);var c=a.g[a.g.length-1],d=a.O[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.O[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.O[e.id]})},Ni=function(a,b){b.interactionId&&(a.S=Math.min(a.S,b.interactionId),a.o=Math.max(a.o,b.interactionId),a.sa=a.o?(a.o-a.S)/7+1:0)},Li=function(){var a=v(Array,"from").call(Array,document.getElementsByTagName("iframe")).filter(ui),b=[].concat(oa(ti())).map(function(c){return document.getElementById(c)}).filter(function(c){return c!==null});Ci=window.scrollX;Di=window.scrollY;return Ki=[].concat(oa(a),oa(b)).map(function(c){return c.getBoundingClientRect()})},Ki=[];var Oi=function(a){this.i=K(a)};x(Oi,U);Oi.prototype.getVersion=function(){return S(this,2)};var Pi=function(a){this.i=K(a)};x(Pi,U);var Qi=function(a,b){return N(a,2,yc(b))},Ri=function(a,b){return N(a,3,yc(b))},Si=function(a,b){return N(a,4,yc(b))},Ti=function(a,b){return N(a,5,yc(b))},Ui=function(a,b){return N(a,9,yc(b))},Vi=function(a,b){return hd(a,10,b)},Wi=function(a,b){return N(a,11,b==null?b:gc(b))},Xi=function(a,b){return N(a,1,yc(b))},Yi=function(a,b){return N(a,7,b==null?b:gc(b))};var Zi="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function $i(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function aj(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"}function bj(a){if(!aj(a))return null;var b=$i(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(Zi).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a}function cj(a){var b;return Wi(Vi(Ti(Qi(Xi(Si(Yi(Ui(Ri(new Pi,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 Oi;d=N(d,1,yc(c.brand));return N(d,2,yc(c.version))}))||[]),a.wow64||!1)}function dj(a){var b,c;return(c=(b=bj(a))==null?void 0:b.then(function(d){return cj(d)}))!=null?c:null};var ej=function(a){this.i=K(a)};x(ej,U);var fj=function(a){this.i=K(a)};x(fj,U);var gj=function(a){var b=new fj;return fd(b,1,a)};function hj(a,b,c){try{Ib(!b._b_);var d={d:J(a.data),p:a.lb};b._b_=d}catch(e){Eg(c,{methodName:1298,K:e})}};var ij=function(a,b,c){this.g=a;this.I=b;this.j=c},Eg=function(a,b){var c=ki(a.I.U,1E3),d=Sh(Tf),e=ki(a.I.U,d);if(c||e){var f=a.j,g=f.Oa,h=f.Na,l=f.Ia,k=f.ba,p=f.ab;f=f.Za;k=k();var m=b.K;try{var n=Mb(m==null?void 0:m.name)?m.name:"Unknown error"}catch(y){n="e.name threw"}try{var r=Mb(m==null?void 0:m.message)?m.message:"Caught "+m}catch(y){r="e.message threw"}try{var t=Mb(m==null?void 0:m.stack)?m.stack:Error().stack;var A=t?t.split(/\n\s*/):[]}catch(y){A=["e.stack threw"]}t=A;A=new yf;A=rd(A,5,1E3);m=new wf;b=Wc(m,1,H(b.methodName),0);b=sd(b,2,n);b=sd(b,3,r);b=Vc(b,4,t,xc);b=Mc(b);b=gd(A,1,zf,b);n=new xf;g=rd(n,1,g);g=Vc(g,2,k,kc);h=sd(g,3,h);h=Mc(h);h=fd(b,2,h);h=Lc(Mc(h));g=new vf;l=sd(g,1,l);p=p==null?void 0:p();p=Wc(l,2,lc(p),0);f=f==null?void 0:f();f=Vc(p,3,f,xc);f=Mc(f);f=gd(h,4,Af,f);c&&a.g.pb(f);e&&(rd(f,5,d),c=f.i,Zc(c,c[D]|0,zf,1),c=bd(f,wf,1),c!=null&&N(c,4),a.g.ob(f))}};function jj(a){var b={};b=(b[0]=Ih(),b);W(oh).j(a,b)};var kj={},lj=(kj[253]=!1,kj[246]=[],kj[150]="",kj[263]=!1,kj[36]=/^true$/.test("false"),kj[264]=!1,kj[172]=null,kj[260]=void 0,kj[251]=null,kj),mj=function(){this.g=!1};function nj(a){W(mj).g=!0;return lj[a]}function oj(a,b){W(mj).g=!0;lj[a]=b};var pj=/^(?:https?:)?\/\/(?:www\.googletagservices\.com|securepubads\.g\.doubleclick\.net|(pagead2\.googlesyndication\.com))(\/tag\/js\/gpt(?:_[a-z]+)*\.js)/;function qj(a){var b=a.Ja;var c=a.hb;var d=a.Pa;var e=a.fb;var f=a.Xa;var g=a.bb;var h=b?!pj.test(b.src):!0;a={};b={};var l={};return l[3]=(a[3]=function(){return!h},a[59]=function(){var k=ta.apply(0,arguments),p=v(k,"includes"),m=String,n;var r=r===void 0?window:r;var t;r=(t=(n=Od(r.location.href.match(Nd)[3]||null))==null?void 0:n.split("."))!=null?t:[];r.length<2?n=null:(n=r[r.length-1],n=n==="uk"||n==="br"||n==="nz"?r.length<3?null:be(r.splice(r.length-3).join(".")):be(r.splice(r.length-2).join(".")));return p.call(k,m(n))},a[74]=function(){return v(ta.apply(0,arguments),"includes").call(ta.apply(0,arguments),String(be(window.location.href)))},a[61]=function(){return e},a[63]=function(){return e||g===".google.ch"},a[73]=function(k){return v(d,"includes").call(d,Number(k))},a),l[4]=(b[1]=function(){return f},b[13]=function(){return c||0},b),l[5]={},l};function rj(a,b){var c=nj(246);c=Gc(c);c=td(Eh,c);if(!R(c,Lg,1,O()).length&&R(a,Lg,1,O()).length){var d=R(a,Lg,1,O());hd(c,1,d)}!R(c,Ch,2,O()).length&&R(a,Ch,2,O()).length&&(d=R(a,Ch,2,O()),hd(c,2,d));cd(c,Dh,5)===void 0&&cd(a,Dh,5)!==void 0&&(a=Q(a,Dh,5),fd(c,5,a));oj(246,J(c));bi({Ya:c,C:qj(b),Ca:2,config:{la:b.la}});b.Pa.forEach(qh)};var sj=function(a,b,c){ij.call(this,a,b,c);this.j=c};x(sj,ij);var tj=qa(["https://pagead2.googlesyndication.com/pagead/ppub_config"]),uj=qa(["https://securepubads.g.doubleclick.net/pagead/ppub_config"]);function vj(a,b,c,d,e){a=a.location.host;var f=Qd(b.src,"domain");b=Qd(b.src,"network-code");if(a||f||b)if(Rh(Xf)){var g=new u.Map;a&&g.set("ippd",a);f&&g.set("pppd",f);b&&g.set("pppnc",b);a=g}else g={},a&&(g.ippd=a),f&&(g.pppd=f),b&&(g.pppnc=b),a=new u.Map(v(Object,"entries").call(Object,g));else a=void 0;a?(c=c?Td(tj):Td(uj),c=Ud(c,a),wj(c,d,e)):e(new u.globalThis.Error("no provided or inferred data"))}function wj(a,b,c){var d=new u.globalThis.XMLHttpRequest;d.open("GET",a.toString(),!0);d.withCredentials=!1;d.onload=function(){d.status<300?(oi("13",window),b(d.status===204?"":d.responseText)):c(new u.globalThis.Error("resp:"+d.status))};d.onerror=function(){return void c(new u.globalThis.Error("s:"+d.status+" rs:"+d.readyState))};d.send()};var xj=function(a,b,c){this.I=a;this.oa=b;this.ca=c;this.o=[];this.l=[]},Bj=function(a,b,c,d,e){if(Rh(Yf)||Yd(b)===Zd(b)){var f=e==null?void 0:S(dd(e,vd,1),1);(f==null?0:f.length)&&v(b.location.hostname,"includes").call(b.location.hostname,f)?(yj(a),zj(a,void 0,e)):(q=["http:","https:"],v(q,"includes")).call(q,b.location.protocol)?c?(yj(a),vj(Rh(Yf)?Yd(b):b.top,c,d,function(g){return void zj(a,g)},function(g){zj(a,void 0,void 0,g)})):Aj(a,5):Aj(a,4)}else Aj(a,1)},yj=function(a){nj(260);oj(260,function(b){a.g!==void 0||a.j?b(a.g,a.j):a.o.push(b)})},zj=function(a,b,c,d){a.g=b!=null?b:c==null?void 0:JSON.stringify(J(c));a.A=c;!a.A&&a.g&&a.l.length&&(a.A=xd(a.g));a.j=d;c=z(a.o);for(var e=c.next();!e.done;e=c.next())e=e.value,e(a.g,a.j);c=z(a.l);for(e=c.next();!e.done;e=c.next())e=e.value,e(a.A,a.j);a.o.length=0;a.l.length=0;Aj(a,d?6:b?3:2)},Aj=function(a,b){var c=Sh(Zf);ki(a.I.U,c)&&a.oa.Ka.Ra.Ha.mb.V({Y:c,source:b,Ua:Ra()?1:Qa()?2:(La()?0:C("Edge"))?3:Oa()?4:Na()?5:!C("iPad")&&!C("iPhone")||Pa()||Qa()||(La()?0:C("Coast"))||Oa()||!C("AppleWebKit")?Ma()?6:Pa()?7:C("Silk")?8:0:9});a=a.ca;var d=Sh(Zf);if(ki(a.I.U,d)){var e=a.j,f=e.Ia,g=e.ba;c=e.Na;e=e.Oa;var h=new uf;e=rd(h,2,e);f=sd(e,3,f);e=Math;h=e.trunc;a:{if(u.globalThis.performance){var l=performance.timeOrigin+performance.now();if(v(Number,"isFinite").call(Number,l)&&l>0)break a}l=Date.now();l=v(Number,"isFinite").call(Number,l)&&l>0?l:0}f=rd(f,1,h.call(e,l));g=g();g=Vc(f,4,g,kc);d=rd(g,5,d);c=sd(d,6,c);d=new sf;g=new rf;b=N(g,1,H(b));b=Mc(b);b=gd(d,10,tf,b);b=Mc(b);b=fd(c,7,b);b=Mc(b);a.g.qb(b)}};var Cj=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("Expected jspb data to be an array, got "+xa(b)+": "+b);tb(b,34);return new a(b)}}(ej),Dj=function(a){return function(){var b;(b=a[mb])||(b=new a,tb(b.i,34),b=a[mb]=b);return b}}(ej);function Ej(a,b){try{var c=Jb;if(!Mb(a)){var d,e,f=(e=(d=typeof c==="function"?c():c)==null?void 0:d.concat("\n"))!=null?e:"";throw Error(f+String(a))}return Cj(a)}catch(g){return Eg(b,{methodName:838,K:g}),Dj()}};function Fj(){var a;return(a=B.googletag)!=null?a:B.googletag={cmd:[]}}function Gj(a,b){var c=Fj();c.hasOwnProperty(a)||(c[a]=b)};var Hj=qa(["https://pagead2.googlesyndication.com/pagead/managed/js/gpt/","/pubads_impl.js"]),Ij=qa(["https://securepubads.g.doubleclick.net/pagead/managed/js/gpt/","/pubads_impl.js"]);function Jj(){var a=sttc,b=Kj(),c=b.I,d=b.oa,e=b.ca;fb(function(y){Eg(e,{methodName:1189,K:y})});b=Fj();a=Ej(a,e);Ib(!W(mj).g);v(Object,"assign").call(Object,lj,b._vars_);b._vars_=lj;a&&(jd(a,3)&&oj(36,!0),S(a,6)&&oj(150,S(a,6)),jd(a,12)&&oj(263,!0));var f=dd(a,Eh,1),g={fb:jd(a,5),hb:kd(a,2),Pa:Pc(a,10,mc,O()),Xa:kd(a,7),bb:S(a,6),la:jd(a,4)},h=Q(a,wd,9),l=window,k=l.document;Gj("_loaded_",!0);Gj("cmd",[]);var p,m=(p=Lj(k))!=null?p:Mj(k);Nj(f,l,v(Object,"assign").call(Object,{},{Ja:m},g));try{Gi()}catch(y){}oi("1",l);p=Oj(m);f=(m==null?void 0:m.crossOrigin)==="anonymous";g=Sh(Vf);if(ki(c.U,g)){var n=d.Ka.Ra.Ha;n.gb.V({Y:g,ka:(m==null?void 0:m.crossOrigin)==="anonymous",ma:Pj(m)});n.cb.V({Y:g,ka:f,ma:Od(p.toString().match(Nd)[3]||null)==="pagead2.googlesyndication.com"})}var r=!1;hj({data:Mc(gj(a)),lb:function(){return r}},b,e);g=!1;if(!Qj(k)){n="gpt-impl-"+Math.random();try{Md(k,Rd(p,{id:n,nonce:Jd(document),Fa:f?"anonymous":void 0}))}catch(y){}k.getElementById(n)&&(Rh(Sf)?g=!0:b._loadStarted_=!0)}if(Rh(Sf)?!g:!b._loadStarted_){g=ee("SCRIPT");Kd(g,p);g.async=!0;f&&(g.crossOrigin="anonymous");p=k.body;f=k.documentElement;var t,A;((A=(t=k.head)!=null?t:p)!=null?A:f).appendChild(g);Rh(Sf)||(b._loadStarted_=!0)}if(l===l.top)try{zg(l,dd(a,li,13))}catch(y){Eg(e,{methodName:1209,K:y})}Bj(new xj(c,d,e),l,m,Pj(m),h);Rh(Uf)&&Rj(l,function(){r=!0});Dg(l.document,Pj(m),S(a,14),e)}function Rj(a,b){var c=function(d){d.data!=null&&d.data!==""||d.origin.indexOf("android-app://")!==0||(b(),a.removeEventListener("message",c))};a.addEventListener("message",c)}function Kj(){var a=fe(window),b=new ji,c=new Pf(11,"m202502200101",1E3);return{oa:c,I:b,ca:new sj(c,b,{Oa:a,Na:window.document.URL,Ia:"m202502200101",ba:rh})}}function Lj(a){return(a=a.currentScript)?a:null}function Mj(a){var b;a=z((b=a.scripts)!=null?b:[]);for(b=a.next();!b.done;b=a.next())if(b=b.value,v(b.src,"includes").call(b.src,"/tag/js/gpt"))return b;return null}function Oj(a){a=Pj(a)?Td(Hj,"m202502200101"):Td(Ij,"m202502200101");var b=Sh($f);return b?Ud(a,new u.Map([["cb",b]])):a}function Nj(a,b,c){oj(172,c.Ja);rj(a,c);jj(12);jj(5);(a=dj(b))&&a.then(function(d){return void oj(251,JSON.stringify(J(d)))});de(W(Qh).l(ag.g,ag.defaultValue),b.document)}function Qj(a){var b=Lj(a);return a.readyState==="complete"||a.readyState==="loaded"||!(b==null||!b.async)}function Pj(a){return!(a==null||!a.src)&&Od(a.src.match(Nd)[3]||null)==="pagead2.googlesyndication.com"};try{Jj()}catch(a){try{Eg(Kj().ca,{methodName:420,K:a})}catch(b){}}}).call(this,"[[[[null,7,null,[null,0.1]],[null,null,null,[],[[[4,null,83],[null,null,null,[\"1 bidderRequests.bids bidder userIdAsEids.source\",\"2 bidderRequests.bids.userIdAsEids source provider\",\"3 bidderRequests.bids bidder ortb2Imp.ext.tid?\",\"5 bidderRequests.bids bidder mediaTypes.banner\",\"6 bidderRequests.bids bidder mediaTypes.native?\",\"7 bidderRequests.bids bidder mediaTypes.video\",\"8 bidderRequests.bids bidder ortb2Imp.ext.gpid?\",\"9 bidderRequests.bids bidder ortb2.site.content.data.ext.segment?\",\"10 bidderRequests.bids bidder ortb2.site.page\",\"11 bidderRequests.bids bidder ortb2.user.data.segment?\",\"12 bidderRequests.bids bidder ortb2.user.data.ext.segtax?\",\"13 bidsReceived adId creativeId\",\"14 bidderRequests.bids.userIdAsEids source uids.ext.provider\",\"15 bidderRequests.bids.userIdAsEids source uids.atype\",\"16 bidderRequests.bids.userIdAsEids source uids.length\",\"17 bidsReceived adId ttl\",\"18 bidsReceived adId meta.primaryCatId\",\"19 bidsReceived adId meta.secondaryCatIds\"]]]],657770675],[null,659575329,null,null,[[[4,null,83],[null,1]]]],[null,612427114,null,null,[[[4,null,83],[null,100]]]],[null,663827948,null,[null,-1]],[null,659579380,null,[null,-1],[[[4,null,83],[null,5000]]]],[null,659579379,null,[null,-1],[[[4,null,83],[null,60000]]]],[null,null,null,[null,null,null,[\"1 dbm\/(ad|clkk)\"]],[[[4,null,83],[null,null,null,[\"1 dbm\/(ad|clkk)\",\"2 (adsrvr|adserver)\\\\.org\/bid\/\",\"3 criteo.com\/(delivery|[a-z]+\/auction)\",\"4 yahoo.com\/bw\/[a-z]+\/imp\/\",\"5 (adnxs|adnxs-simple).com\/it\",\"6 amazon-adsystem.com\/[a-z\/]+\/impb\"]]]],655300591],[null,643045660,null,null,[[[4,null,83],[null,1]]]],[null,612427113,null,null,[[[4,null,83],[null,100]]]],[null,699982590,null,null,[[[4,null,83],[null,100]]]],[707204607,null,null,[1]],[707149547,null,null,[1]],[null,578655462,null,[null,1000]],[698519058,null,null,[1]],[691188989,null,null,[1]],[657763206,null,null,[1]],[704442313,null,null,[1]],[null,632270607,null,[null,1000]],[713772945,null,null,[1]],[null,680683506,null,[null,1000]],[null,625028672,null,[null,100]],[null,629733890,null,[null,1000]],[null,695925491,null,[null,20]],[721054319,null,null,[1]],[null,null,null,[],null,489560439],[null,null,null,[],null,505762507],[null,1921,null,[null,72]],[null,1920,null,[null,12]],[null,426169222,null,[null,1000]],[null,377289019,null,[null,10000]],[null,529,null,[null,20]],[null,573282293,null,[null,0.01]],[null,684553008,null,[null,100]],[45624259,null,null,[]],[45627954,null,null,[1]],[45646888,null,null,[]],[45622305,null,null,[]],[null,447000223,null,[null,0.01]],[360245597,null,null,[1]],[null,716359135,null,[null,10]],[null,716359138,null,[null,50]],[null,716359132,null,[null,100]],[null,716359134,null,[null,1000]],[null,716359137,null,[null,0.25]],[null,716359136,null,[null,10]],[null,716359133,null,[null,5]],[629201869,null,null,[1]],[null,550718589,null,[null,250],[[[3,[[4,null,15,null,null,null,null,[\"22814497764\"]],[4,null,15,null,null,null,null,[\"6581\"]],[4,null,15,null,null,null,null,[\"18190176\"]],[4,null,15,null,null,null,null,[\"21881754602\"]],[4,null,15,null,null,null,null,[\"6782\"]],[4,null,15,null,null,null,null,[\"309565630\"]],[4,null,15,null,null,null,null,[\"22306534072\"]],[4,null,15,null,null,null,null,[\"7229\"]],[4,null,15,null,null,null,null,[\"28253241\"]],[4,null,15,null,null,null,null,[\"1254144\"]],[4,null,15,null,null,null,null,[\"21732118914\"]],[4,null,15,null,null,null,null,[\"5441\"]],[4,null,15,null,null,null,null,[\"162717810\"]],[4,null,15,null,null,null,null,[\"51912183\"]],[4,null,15,null,null,null,null,[\"23202586\"]],[4,null,15,null,null,null,null,[\"44520695\"]],[4,null,15,null,null,null,null,[\"1030006\"]],[4,null,15,null,null,null,null,[\"21830601346\"]],[4,null,15,null,null,null,null,[\"23081961\"]],[4,null,15,null,null,null,null,[\"21880406607\"]],[4,null,15,null,null,null,null,[\"93656639\"]],[4,null,15,null,null,null,null,[\"1020351\"]],[4,null,15,null,null,null,null,[\"5931321\"]],[4,null,15,null,null,null,null,[\"3355436\"]],[4,null,15,null,null,null,null,[\"22106840220\"]],[4,null,15,null,null,null,null,[\"22875833199\"]],[4,null,15,null,null,null,null,[\"32866417\"]],[4,null,15,null,null,null,null,[\"8095840\"]],[4,null,15,null,null,null,null,[\"71161633\"]],[4,null,15,null,null,null,null,[\"22668755367\"]],[4,null,15,null,null,null,null,[\"6177\"]],[4,null,15,null,null,null,null,[\"147246189\"]],[4,null,15,null,null,null,null,[\"22152718\"]],[4,null,15,null,null,null,null,[\"21751243814\"]],[4,null,15,null,null,null,null,[\"22013536576\"]],[4,null,15,null,null,null,null,[\"4444\"]],[4,null,15,null,null,null,null,[\"44890869\"]],[4,null,15,null,null,null,null,[\"248415179\"]],[4,null,15,null,null,null,null,[\"5293\"]],[4,null,15,null,null,null,null,[\"21675937462\"]],[4,null,15,null,null,null,null,[\"21726375739\"]],[4,null,15,null,null,null,null,[\"1002212\"]],[4,null,15,null,null,null,null,[\"6718395\"]]]],[null,500]]]],[null,575880738,null,[null,10]],[null,586681283,null,[null,100]],[null,45679761,null,[null,30000]],[null,635239304,null,[null,100]],[null,618260805,null,[null,10]],[696192462,null,null,[1]],[null,532520346,null,[null,120]],[null,630428304,null,[null,100]],[null,624264750,null,[null,-1]],[607106222,null,null,[1]],[null,398776877,null,[null,60000]],[713409478,null,null,[1]],[null,374201269,null,[null,60000]],[null,371364213,null,[null,60000]],[690790009,null,null,[1]],[null,682056200,null,[null,100]],[null,376149757,null,[null,0.0025]],[570764855,null,null,[1]],[null,null,579921177,[null,null,\"control_1\\\\.\\\\d\"]],[null,570764854,null,[null,50]],[578725095,null,null,[1]],[684149381,null,null,[1]],[377936516,null,null,[1]],[null,599575765,null,[null,1000]],[null,null,2,[null,null,\"1-0-41\"]],[null,626653285,null,[null,1000]],[null,626653286,null,[null,2]],[null,642407444,null,[null,10]],[686634849,null,null,[1]],[700494715,null,null,[1]],[717995466,null,null,[1]],[715492454,null,null,[1]],[702753001,null,null,[1]],[704752709,null,null,[1]],[710747632,null,null,[1]],[705506757,null,null,[1]],[null,506394061,null,[null,100]],[null,null,null,[null,null,null,[\"95335247\"]],null,631604025],[null,694630217,null,[null,670]],[null,null,null,[],null,489],[715133891,null,null,[1]],[392065905,null,null,null,[[[3,[[4,null,68],[4,null,83]]],[1]]]],[null,360245595,null,[null,500]],[null,715129739,null,[null,30]],[null,681088477,null,[null,100]],[676934885,null,null,[1],[[[4,null,59,null,null,null,null,[\"4214592683\",\"3186860772\",\"2930824068\",\"4127372480\",\"3985777170\",\"2998550476\",\"1946945953\",\"2901923877\",\"1931583037\",\"733037847\",\"287365726\",\"396735883\",\"2445204049\"]],[]]]],[703552063,null,null,[1]],[703102329,null,null,[1]],[703102335,null,null,[1]],[703102334,null,null,[1]],[703102333,null,null,[1]],[703102330,null,null,[1]],[703102332,null,null,[1]],[563462360,null,null,[1]],[555237688,null,null,[],[[[2,[[4,null,70,null,null,null,null,[\"browsing-topics\"]],[1,[[4,null,27,null,null,null,null,[\"isSecureContext\"]]]]]],[1]]]],[555237686,null,null,[]],[507033477,null,null,[1]],[null,638742197,null,[null,500]],[null,514795754,null,[null,2]],[null,null,null,[null,null,null,[\"679602798\",\"965728666\",\"3786422334\",\"4071951799\"]],null,603422363],[590730356,null,null,null,[[[12,null,null,null,4,null,\"Chrome\\\\\/((?!1[0-1]\\\\d)(?!12[0-3])\\\\d{3,})\",[\"navigator.userAgent\"]],[1]]]],[716778109,null,null,[1]],[564724551,null,null,null,[[[12,null,null,null,4,null,\"Chrome\\\\\/((?!10\\\\d)(?!11[0-6])\\\\d{3,})\",[\"navigator.userAgent\"]],[1]]]],[null,596918936,null,[null,500]],[null,607730666,null,[null,10]],[703571918,null,null,[1]],[717000554,null,null,[1]],[647262744,null,null,[1]],[616896918,null,null,[1]],[638632925,null,null,[1]],[647331452,null,null,[1]],[647331451,null,null,[1]],[null,null,null,[null,null,null,[\"AlK2UR5SkAlj8jjdEc9p3F3xuFYlF6LYjAML3EOqw1g26eCwWPjdmecULvBH5MVPoqKYrOfPhYVL71xAXI1IBQoAAAB8eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==\",\"Amm8\/NmvvQfhwCib6I7ZsmUxiSCfOxWxHayJwyU1r3gRIItzr7bNQid6O8ZYaE1GSQTa69WwhPC9flq\/oYkRBwsAAACCeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==\",\"A9wSqI5i0iwGdf6L1CERNdmsTPgVu44ewj8QxTBYgsv1LCPUVF7YmWOvTappqB1139jAymxUW\/RO8zmMqo4zlAAAAACNeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9\",\"A+d7vJfYtay4OUbdtRPZA3y7bKQLsxaMEPmxgfhBGqKXNrdkCQeJlUwqa6EBbSfjwFtJWTrWIioXeMW+y8bWAgQAAACTeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9\"]],null,1934],[485990406,null,null,[]]],[[3,[[null,[[1337,[[77,null,null,[1]],[78,null,null,[1]],[80,null,null,[1]],[76,null,null,[1]],[84,null,null,[1]],[188,null,null,[1]]]]]],[1000,[[31072561]],[2,[[4,null,70,null,null,null,null,[\"run-ad-auction\"]],[12,null,null,null,4,null,\"FLEDGE_GAM_EXTERNAL_TESTER\",[\"navigator.userAgent\"]]]]],[1,[[31075124,[[null,514795754,null,[null,4]]]]],[4,null,74,null,null,null,null,[\"1585821863\",\"3976716532\"]],59],[1,[[31080344],[31090560,[[null,514795754,null,[null,4]],[null,null,null,[null,null,null,[\"https:\/\/td.doubleclick.net\",\"https:\/\/f.creativecdn.com\"]],null,663711111],[null,607730666,null,[null,1]],[null,641937776,null,[null,38912]]]],[95346223,[[null,514795754,null,[null,4]],[null,607730666,null,[null,1]],[null,641937776,null,[null,38912]]]],[95347233],[95348047,[[null,514795754,null,[null,4]],[null,641937776,null,[null,38912]]]]],[2,[[4,null,9,null,null,null,null,[\"fetch\"]],[4,null,9,null,null,null,null,[\"navigator.getInterestGroupAdAuctionData\"]],[1,[[4,null,63]]],[1,[[4,null,74,null,null,null,null,[\"1585821863\",\"3976716532\"]]]],[1,[[12,null,null,null,4,null,\".* Edg\/.*\",[\"navigator.userAgent\"]]]]]],59],[10,[[31088080],[31088081]]],[50,[[31088251],[31088252]],null,122,null,null,null,null,null,null,null,null,null,4],[3,[[31089135],[31089136,[[null,607730666,null,[null,1]]]],[31089137,[[null,514795754,null,[null,4]],[null,607730666,null,[null,1]],[null,641937776,null,[null,38912]]]]],[2,[[4,null,9,null,null,null,null,[\"fetch\"]],[4,null,9,null,null,null,null,[\"navigator.getInterestGroupAdAuctionData\"]],[1,[[4,null,63]]],[1,[[4,null,74,null,null,null,null,[\"1585821863\",\"3976716532\"]]]],[1,[[12,null,null,null,4,null,\".* Edg\/.*\",[\"navigator.userAgent\"]]]]]],59],[1,[[31089990],[31089992,[[null,514795754,null,[null,4]],[null,641937776,null,[null,38912]]]]],[2,[[4,null,9,null,null,null,null,[\"fetch\"]],[4,null,9,null,null,null,null,[\"navigator.getInterestGroupAdAuctionData\"]],[1,[[4,null,63]]],[1,[[4,null,74,null,null,null,null,[\"1585821863\",\"3976716532\"]]]],[1,[[12,null,null,null,4,null,\".* Edg\/.*\",[\"navigator.userAgent\"]]]]]],59],[null,[[31090146,[[null,null,null,[null,null,null,[\"v\",\"1-0-41\"]],null,1]]],[31090147,[[null,null,2,[null,null,\"1-0-41\"]]]]]],[null,[[44798283,[[null,514795754,null,[null,4]]]]],[2,[[4,null,70,null,null,null,null,[\"run-ad-auction\"]],[1,[[4,null,63]]]]],59],[490,[[83321072],[83321073,[[null,612427113,null,[null,100]]]]],null,136],[10,[[83321074],[83321075,[[null,612427113,null,[null,100]]]]],null,136],[null,[[95331143],[95331207]],[2,[[4,null,9,null,null,null,null,[\"fetch\"]],[4,null,9,null,null,null,null,[\"navigator.getInterestGroupAdAuctionData\"]],[1,[[4,null,63]]],[1,[[4,null,74,null,null,null,null,[\"1585821863\",\"3976716532\"]]]],[1,[[12,null,null,null,4,null,\".* Edg\/.*\",[\"navigator.userAgent\"]]]]]],59],[10,[[95332149],[95332150,[[616896918,null,null,[]]]]],null,59],[null,[[95335986],[95345212,[[null,514795754,null,[null,4]],[null,607730666,null,[null,1]],[null,641937776,null,[null,38912]]]]],[2,[[4,null,9,null,null,null,null,[\"fetch\"]],[4,null,9,null,null,null,null,[\"navigator.getInterestGroupAdAuctionData\"]],[1,[[4,null,63]]],[1,[[4,null,74,null,null,null,null,[\"1585821863\",\"3976716532\"]]]],[1,[[12,null,null,null,4,null,\".* Edg\/.*\",[\"navigator.userAgent\"]]]]]],59],[50,[[95345325],[95345326,[[45646888,null,null,[1]]]]]],[10,[[95347484],[95347486,[[null,682021787,null,[null,5]]]],[95347487],[95347488,[[null,682021787,null,[null,2]]]],[95347489,[[null,682021787,null,[null,5]]]],[95347490,[[null,682021787,null,[null,10]]]]],null,116],[1000,[[95347588,null,[2,[[12,null,null,null,12,null,\".*318515657.*\",[\"window.gmaSdk.as.eid\"]],[1,[[12,null,null,null,12,null,\".*318515661.*\",[\"window.gmaSdk.as.eid\"]]]]]]]],null,137,null,null,null,null,null,null,null,null,31],[1000,[[95347589,null,[2,[[12,null,null,null,12,null,\".*318515661.*\",[\"window.gmaSdk.as.eid\"]],[1,[[12,null,null,null,12,null,\".*318515657.*\",[\"window.gmaSdk.as.eid\"]]]]]]]],null,137,null,null,null,null,null,null,null,null,31],[null,[[676982960],[676982998]]]]],[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]],[80,null,null,[1]],[76,null,null,[1]]]]],[4,null,6,null,null,null,null,[\"31061691\"]]]]],[5,[[50,[[31067420],[31067421,[[360245597,null,null,[]]]],[31077191]],[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],[1000,[[31084129,null,[2,[[2,[[8,null,null,1,null,-1],[7,null,null,1,null,10]]],[4,null,3]]]]],null,80,null,null,null,null,null,null,null,null,4],[1000,[[31084130,null,[2,[[2,[[8,null,null,1,null,9],[7,null,null,1,null,20]]],[4,null,3]]]]],null,80,null,null,null,null,null,null,null,null,4],[50,[[31085776],[31085777,[[45624259,null,null,[1]]]]],null,114],[50,[[31085778,[[45624259,null,null,[1]]]]],[4,null,74,null,null,null,null,[\"1361264289\",\"592241938\",\"3780447416\"]],114],[100,[[31086814],[31086815,[[null,665058368,null,[null,1]]]]]],[1,[[31087707]],[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],[1,[[31087708]],[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],[null,[[31087882],[31087883],[31087884]],[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],[1,[[31089417],[31089418,[[662648078,null,null,[1]]]]],null,139,null,null,null,998,null,null,null,null,null,8],[1,[[31089419],[31089420]],[4,null,61],139,null,null,null,998,null,null,null,null,null,8],[50,[[31089438],[31089439,[[608664189,null,null,[1]]]]]],[10,[[31089468],[31089469,[[680005527,null,null,[1]]]]]],[10,[[31089588],[31089589,[[null,707091695,null,[null,1]]]],[31089590,[[null,707155067,null,[null,1]],[null,707091695,null,[null,1]]]],[31089591,[[null,707155067,null,[null,2]],[null,707091695,null,[null,1]]]],[31089592,[[null,707155067,null,[null,3]],[null,707091695,null,[null,1]]]]]],[1,[[31089681],[31089682,[[710738456,null,null,[1]]]]]],[10,[[31090021],[31090022,[[697841467,null,null,[1]]]]]],[null,[[31090154],[31090155,[[667794963,null,null,[1]]]]]],[10,[[31090345],[31090346,[[682414837,null,null,[1]]]]]],[100,[[31090425],[31090426,[[-1401403512,null,null,[1]]]]]],[10,[[31090457],[31090458,[[700790209,null,null,[1]]]]]],[10,[[31090463],[31090464,[[720351949,null,null,[1]]]]]],[100,[[31090465],[31090466,[[723109738,null,null,[1]]]]]],[10,[[31090475],[31090476,[[630167509,null,null,[1]]]]]],[1000,[[31090514,[[null,24,null,[null,31090514]]],[6,null,null,13,null,31090514]]],[4,null,3],1,null,null,null,null,null,null,null,null,3],[1000,[[31090515,[[null,24,null,[null,31090515]]],[6,null,null,13,null,31090515]]],[4,null,3],1,null,null,null,null,null,null,null,null,3],[1000,[[31090550,[[null,24,null,[null,31090550]]],[6,null,null,13,null,31090550]]],[4,null,3],1,null,null,null,null,null,null,null,null,3],[1000,[[31090551,[[null,24,null,[null,31090551]]],[6,null,null,13,null,31090551]]],[4,null,3],1,null,null,null,null,null,null,null,null,3],[10,[[95347779],[95347780,[[676934885,null,null,[1]]]]]],[50,[[95352074],[95352075,[[713290237,null,null,[1]]]]]]]],[9,[[1000,[[31083577]],[4,null,13,null,null,null,null,[\"cxbbhbxm\"]]]]],[2,[[10,[[31084489],[31084490]],null,null,null,null,32,null,null,142,1],[null,[[31084528],[31084529]],null,null,null,null,36,900,null,166,1],[1000,[[31084739,[[null,612427114,null,[null,100]]]]],[4,null,6,null,null,null,null,[\"31065645\"]]],[10,[[31084865],[31084866]],null,null,null,null,35,null,null,166,1],[1000,[[31087377,null,[2,[[4,null,86],[4,null,6,null,null,null,null,[\"31065644\"]]]]]],null,131,null,null,null,null,null,null,null,null,28],[1000,[[31087378,null,[2,[[4,null,86],[4,null,6,null,null,null,null,[\"31065645\"]]]]]],null,131,null,null,null,null,null,null,null,null,28],[1000,[[31087490,null,[2,[[1,[[4,null,86]]],[4,null,6,null,null,null,null,[\"31065644\"]]]]]],null,131,null,null,null,null,null,null,null,null,28],[1000,[[31087491,null,[2,[[1,[[4,null,86]]],[4,null,6,null,null,null,null,[\"31065645\"]]]]]],null,131,null,null,null,null,null,null,null,null,28],[1,[[31090361,null,[12,null,null,null,13,null,\".*userId.*\",[\"installedModules\"]]]]],[10,[[31090455],[31090456,[[null,532520346,null,[null,30]]]]],null,null,null,null,null,null,null,104,1],[10,[[95342027],[95342028]],[4,null,83],129],[50,[[95349880],[95349881,[[null,null,null,null,[[[4,null,83],[null,null,null,[\"1 dbm\/(ad|clkk)\",\"2 (adsrvr|adserver)\\\\.org\/bid\/\",\"3 criteo.com\/(delivery|[a-z]+\/auction)\",\"4 yahoo.com\/bw\/[a-z]+\/imp\/\",\"5 (adnxs|adnxs-simple).com\/it\",\"6 amazon-adsystem.com\/[a-z\/]+\/impb\",\"7 temu.com\/api\/[a-z0-9]+\/ads\",\"8 temu.com\/[a-z0-9]+\/impr\"]]]],655300591]]]],[4,null,83],129],[50,[[95351361],[95351362,[[null,null,null,null,[[[4,null,83],[]]],655300591]]]],[4,null,83],129],[50,[[95351363],[95351364,[[null,null,null,null,[[[4,null,83],[]]],657770675]]]],[4,null,83],129]]],[4,[[null,[[44714449,[[null,7,null,[null,1]]]],[676982961,[[null,7,null,[null,0.4]],[212,null,null,[1]]]],[676982996,[[null,7,null,[null,1]]]]],null,78]]]],null,null,[null,1000,1,1000]],31090551,null,null,null,\".google.com.tr\",440,null,null,null,null,null,[0,0,0],\"m202502200101\"]")
;window.googletag=window.googletag||{cmd:[]};googletag.cmd.push(function(){googletag.defineSlot('/54504446/Magforher/Magforher_970x250',[970,250],'div-gpt-ad-1700640215474-0').addService(googletag.pubads());googletag.defineSlot('/54504446/Magforher/Magforher_320x100',[320,100],'div-gpt-ad-1700640242798-0').addService(googletag.pubads());googletag.defineSlot('/54504446/Magforher/Magforher_300x600',[300,600],'div-gpt-ad-1700641957998-0').addService(googletag.pubads());googletag.defineOutOfPageSlot('/54504446/Magforher/Magforher_800x600','div-gpt-ad-1700641979863-0').addService(googletag.pubads());googletag.pubads().enableSingleRequest();googletag.pubads().collapseEmptyDivs();googletag.enableServices()})
;googletag.cmd.push(function(){googletag.display('div-gpt-ad-1700641979863-0')})
;googletag.cmd.push(function(){googletag.display('div-gpt-ad-1700640215474-0')})
;var sbiajaxurl="https://www.magforher.com/wp-admin/admin-ajax.php"
;"object"==typeof navigator&&function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Plyr",t):(e="undefined"!=typeof globalThis?globalThis:e||self).Plyr=t()}(this,(function(){"use strict";!function(){if("undefined"!=typeof window)try{var e=new window.CustomEvent("test",{cancelable:!0});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default")}catch(e){var t=function(e,t){var n,i;return(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable,(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i=n.preventDefault,n.preventDefault=function(){i.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},n};t.prototype=window.Event.prototype,window.CustomEvent=t}}();var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}var n=function(e){return e&&e.Math==Math&&e},i=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")(),r=function(e){try{return!!e()}catch(e){return!0}},o=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l={f:s&&!a.call({1:2},1)?function(e){var t=s(this,e);return!!t&&t.enumerable}:a},c=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},u={}.toString,h=function(e){return u.call(e).slice(8,-1)},f="".split,d=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==h(e)?f.call(e,""):Object(e)}:Object,p=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},m=function(e){return d(p(e))},g=function(e){return"object"==typeof e?null!==e:"function"==typeof e},v=function(e,t){if(!g(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!g(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!g(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!g(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},y={}.hasOwnProperty,b=function(e,t){return y.call(e,t)},w=i.document,k=g(w)&&g(w.createElement),T=function(e){return k?w.createElement(e):{}},S=!o&&!r((function(){return 7!=Object.defineProperty(T("div"),"a",{get:function(){return 7}}).a})),E=Object.getOwnPropertyDescriptor,A={f:o?E:function(e,t){if(e=m(e),t=v(t,!0),S)try{return E(e,t)}catch(e){}if(b(e,t))return c(!l.f.call(e,t),e[t])}},C=function(e){if(!g(e))throw TypeError(String(e)+" is not an object");return e},P=Object.defineProperty,x={f:o?P:function(e,t,n){if(C(e),t=v(t,!0),C(n),S)try{return P(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},O=o?function(e,t,n){return x.f(e,t,c(1,n))}:function(e,t,n){return e[t]=n,e},I=function(e,t){try{O(i,e,t)}catch(n){i[e]=t}return t},L="__core-js_shared__",j=i[L]||I(L,{}),N=Function.toString;"function"!=typeof j.inspectSource&&(j.inspectSource=function(e){return N.call(e)});var R,M,_,U=j.inspectSource,D=i.WeakMap,F="function"==typeof D&&/native code/.test(U(D)),q=t((function(e){(e.exports=function(e,t){return j[e]||(j[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.7.0",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),H=0,B=Math.random(),V=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++H+B).toString(36)},z=q("keys"),W=function(e){return z[e]||(z[e]=V(e))},K={},$=i.WeakMap;if(F){var Y=j.state||(j.state=new $),G=Y.get,X=Y.has,Q=Y.set;R=function(e,t){return t.facade=e,Q.call(Y,e,t),t},M=function(e){return G.call(Y,e)||{}},_=function(e){return X.call(Y,e)}}else{var J=W("state");K[J]=!0,R=function(e,t){return t.facade=e,O(e,J,t),t},M=function(e){return b(e,J)?e[J]:{}},_=function(e){return b(e,J)}}var Z,ee={set:R,get:M,has:_,enforce:function(e){return _(e)?M(e):R(e,{})},getterFor:function(e){return function(t){var n;if(!g(t)||(n=M(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},te=t((function(e){var t=ee.get,n=ee.enforce,r=String(String).split("String");(e.exports=function(e,t,o,a){var s,l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,u=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof t||b(o,"name")||O(o,"name",t),(s=n(o)).source||(s.source=r.join("string"==typeof t?t:""))),e!==i?(l?!u&&e[t]&&(c=!0):delete e[t],c?e[t]=o:O(e,t,o)):c?e[t]=o:I(t,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||U(this)}))})),ne=i,ie=function(e){return"function"==typeof e?e:void 0},re=function(e,t){return arguments.length<2?ie(ne[e])||ie(i[e]):ne[e]&&ne[e][t]||i[e]&&i[e][t]},oe=Math.ceil,ae=Math.floor,se=function(e){return isNaN(e=+e)?0:(e>0?ae:oe)(e)},le=Math.min,ce=function(e){return e>0?le(se(e),9007199254740991):0},ue=Math.max,he=Math.min,fe=function(e,t){var n=se(e);return n<0?ue(n+t,0):he(n,t)},de=function(e){return function(t,n,i){var r,o=m(t),a=ce(o.length),s=fe(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},pe={includes:de(!0),indexOf:de(!1)},me=pe.indexOf,ge=function(e,t){var n,i=m(e),r=0,o=[];for(n in i)!b(K,n)&&b(i,n)&&o.push(n);for(;t.length>r;)b(i,n=t[r++])&&(~me(o,n)||o.push(n));return o},ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=ve.concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(e){return ge(e,ye)}},we={f:Object.getOwnPropertySymbols},ke=re("Reflect","ownKeys")||function(e){var t=be.f(C(e)),n=we.f;return n?t.concat(n(e)):t},Te=function(e,t){for(var n=ke(t),i=x.f,r=A.f,o=0;o<n.length;o++){var a=n[o];b(e,a)||i(e,a,r(t,a))}},Se=/#|\.prototype\./,Ee=function(e,t){var n=Ce[Ae(e)];return n==xe||n!=Pe&&("function"==typeof t?r(t):!!t)},Ae=Ee.normalize=function(e){return String(e).replace(Se,".").toLowerCase()},Ce=Ee.data={},Pe=Ee.NATIVE="N",xe=Ee.POLYFILL="P",Oe=Ee,Ie=A.f,Le=function(e,t){var n,r,o,a,s,l=e.target,c=e.global,u=e.stat;if(n=c?i:u?i[l]||I(l,{}):(i[l]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(s=Ie(n,r))&&s.value:n[r],!Oe(c?r:l+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Te(a,o)}(e.sham||o&&o.sham)&&O(a,"sham",!0),te(n,r,a,e)}},je=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())})),Ne=je&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Re=Array.isArray||function(e){return"Array"==h(e)},Me=function(e){return Object(p(e))},_e=Object.keys||function(e){return ge(e,ve)},Ue=o?Object.defineProperties:function(e,t){C(e);for(var n,i=_e(t),r=i.length,o=0;r>o;)x.f(e,n=i[o++],t[n]);return e},De=re("document","documentElement"),Fe=W("IE_PROTO"),qe=function(){},He=function(e){return"<script>"+e+"</"+"script>"},Be=function(){try{Z=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Be=Z?function(e){e.write(He("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Z):((t=T("iframe")).style.display="none",De.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(He("document.F=Object")),e.close(),e.F);for(var n=ve.length;n--;)delete Be.prototype[ve[n]];return Be()};K[Fe]=!0;var Ve=Object.create||function(e,t){var n;return null!==e?(qe.prototype=C(e),n=new qe,qe.prototype=null,n[Fe]=e):n=Be(),void 0===t?n:Ue(n,t)},ze=be.f,We={}.toString,Ke="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],$e={f:function(e){return Ke&&"[object Window]"==We.call(e)?function(e){try{return ze(e)}catch(e){return Ke.slice()}}(e):ze(m(e))}},Ye=q("wks"),Ge=i.Symbol,Xe=Ne?Ge:Ge&&Ge.withoutSetter||V,Qe=function(e){return b(Ye,e)||(je&&b(Ge,e)?Ye[e]=Ge[e]:Ye[e]=Xe("Symbol."+e)),Ye[e]},Je={f:Qe},Ze=x.f,et=function(e){var t=ne.Symbol||(ne.Symbol={});b(t,e)||Ze(t,e,{value:Je.f(e)})},tt=x.f,nt=Qe("toStringTag"),it=function(e,t,n){e&&!b(e=n?e:e.prototype,nt)&&tt(e,nt,{configurable:!0,value:t})},rt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},ot=function(e,t,n){if(rt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},at=Qe("species"),st=function(e,t){var n;return Re(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Re(n.prototype)?g(n)&&null===(n=n[at])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},lt=[].push,ct=function(e){var t=1==e,n=2==e,i=3==e,r=4==e,o=6==e,a=5==e||o;return function(s,l,c,u){for(var h,f,p=Me(s),m=d(p),g=ot(l,c,3),v=ce(m.length),y=0,b=u||st,w=t?b(s,v):n?b(s,0):void 0;v>y;y++)if((a||y in m)&&(f=g(h=m[y],y,p),e))if(t)w[y]=f;else if(f)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:lt.call(w,h)}else if(r)return!1;return o?-1:i||r?r:w}},ut={forEach:ct(0),map:ct(1),filter:ct(2),some:ct(3),every:ct(4),find:ct(5),findIndex:ct(6)},ht=ut.forEach,ft=W("hidden"),dt="Symbol",pt=Qe("toPrimitive"),mt=ee.set,gt=ee.getterFor(dt),vt=Object.prototype,yt=i.Symbol,bt=re("JSON","stringify"),wt=A.f,kt=x.f,Tt=$e.f,St=l.f,Et=q("symbols"),At=q("op-symbols"),Ct=q("string-to-symbol-registry"),Pt=q("symbol-to-string-registry"),xt=q("wks"),Ot=i.QObject,It=!Ot||!Ot.prototype||!Ot.prototype.findChild,Lt=o&&r((function(){return 7!=Ve(kt({},"a",{get:function(){return kt(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=wt(vt,t);i&&delete vt[t],kt(e,t,n),i&&e!==vt&&kt(vt,t,i)}:kt,jt=function(e,t){var n=Et[e]=Ve(yt.prototype);return mt(n,{type:dt,tag:e,description:t}),o||(n.description=t),n},Nt=Ne?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof yt},Rt=function(e,t,n){e===vt&&Rt(At,t,n),C(e);var i=v(t,!0);return C(n),b(Et,i)?(n.enumerable?(b(e,ft)&&e[ft][i]&&(e[ft][i]=!1),n=Ve(n,{enumerable:c(0,!1)})):(b(e,ft)||kt(e,ft,c(1,{})),e[ft][i]=!0),Lt(e,i,n)):kt(e,i,n)},Mt=function(e,t){C(e);var n=m(t),i=_e(n).concat(Ft(n));return ht(i,(function(t){o&&!_t.call(n,t)||Rt(e,t,n[t])})),e},_t=function(e){var t=v(e,!0),n=St.call(this,t);return!(this===vt&&b(Et,t)&&!b(At,t))&&(!(n||!b(this,t)||!b(Et,t)||b(this,ft)&&this[ft][t])||n)},Ut=function(e,t){var n=m(e),i=v(t,!0);if(n!==vt||!b(Et,i)||b(At,i)){var r=wt(n,i);return!r||!b(Et,i)||b(n,ft)&&n[ft][i]||(r.enumerable=!0),r}},Dt=function(e){var t=Tt(m(e)),n=[];return ht(t,(function(e){b(Et,e)||b(K,e)||n.push(e)})),n},Ft=function(e){var t=e===vt,n=Tt(t?At:m(e)),i=[];return ht(n,(function(e){!b(Et,e)||t&&!b(vt,e)||i.push(Et[e])})),i};if(je||(te((yt=function(){if(this instanceof yt)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=V(e),n=function(e){this===vt&&n.call(At,e),b(this,ft)&&b(this[ft],t)&&(this[ft][t]=!1),Lt(this,t,c(1,e))};return o&&It&&Lt(vt,t,{configurable:!0,set:n}),jt(t,e)}).prototype,"toString",(function(){return gt(this).tag})),te(yt,"withoutSetter",(function(e){return jt(V(e),e)})),l.f=_t,x.f=Rt,A.f=Ut,be.f=$e.f=Dt,we.f=Ft,Je.f=function(e){return jt(Qe(e),e)},o&&(kt(yt.prototype,"description",{configurable:!0,get:function(){return gt(this).description}}),te(vt,"propertyIsEnumerable",_t,{unsafe:!0}))),Le({global:!0,wrap:!0,forced:!je,sham:!je},{Symbol:yt}),ht(_e(xt),(function(e){et(e)})),Le({target:dt,stat:!0,forced:!je},{for:function(e){var t=String(e);if(b(Ct,t))return Ct[t];var n=yt(t);return Ct[t]=n,Pt[n]=t,n},keyFor:function(e){if(!Nt(e))throw TypeError(e+" is not a symbol");if(b(Pt,e))return Pt[e]},useSetter:function(){It=!0},useSimple:function(){It=!1}}),Le({target:"Object",stat:!0,forced:!je,sham:!o},{create:function(e,t){return void 0===t?Ve(e):Mt(Ve(e),t)},defineProperty:Rt,defineProperties:Mt,getOwnPropertyDescriptor:Ut}),Le({target:"Object",stat:!0,forced:!je},{getOwnPropertyNames:Dt,getOwnPropertySymbols:Ft}),Le({target:"Object",stat:!0,forced:r((function(){we.f(1)}))},{getOwnPropertySymbols:function(e){return we.f(Me(e))}}),bt){var qt=!je||r((function(){var e=yt();return"[null]"!=bt([e])||"{}"!=bt({a:e})||"{}"!=bt(Object(e))}));Le({target:"JSON",stat:!0,forced:qt},{stringify:function(e,t,n){for(var i,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(i=t,(g(t)||void 0!==e)&&!Nt(e))return Re(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!Nt(t))return t}),r[1]=t,bt.apply(null,r)}})}yt.prototype[pt]||O(yt.prototype,pt,yt.prototype.valueOf),it(yt,dt),K[ft]=!0;var Ht=x.f,Bt=i.Symbol;if(o&&"function"==typeof Bt&&(!("description"in Bt.prototype)||void 0!==Bt().description)){var Vt={},zt=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof zt?new Bt(e):void 0===e?Bt():Bt(e);return""===e&&(Vt[t]=!0),t};Te(zt,Bt);var Wt=zt.prototype=Bt.prototype;Wt.constructor=zt;var Kt=Wt.toString,$t="Symbol(test)"==String(Bt("test")),Yt=/^Symbol\((.*)\)[^)]+$/;Ht(Wt,"description",{configurable:!0,get:function(){var e=g(this)?this.valueOf():this,t=Kt.call(e);if(b(Vt,e))return"";var n=$t?t.slice(7,-1):t.replace(Yt,"$1");return""===n?void 0:n}}),Le({global:!0,forced:!0},{Symbol:zt})}et("iterator");var Gt=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))},Xt=Object.defineProperty,Qt={},Jt=function(e){throw e},Zt=function(e,t){if(b(Qt,e))return Qt[e];t||(t={});var n=[][e],i=!!b(t,"ACCESSORS")&&t.ACCESSORS,a=b(t,0)?t[0]:Jt,s=b(t,1)?t[1]:void 0;return Qt[e]=!!n&&!r((function(){if(i&&!o)return!0;var e={length:-1};i?Xt(e,1,{enumerable:!0,get:Jt}):e[1]=1,n.call(e,a,s)}))},en=ut.forEach,tn=Gt("forEach"),nn=Zt("forEach"),rn=tn&&nn?[].forEach:function(e){return en(this,e,arguments.length>1?arguments[1]:void 0)};Le({target:"Array",proto:!0,forced:[].forEach!=rn},{forEach:rn});var on=pe.indexOf,an=[].indexOf,sn=!!an&&1/[1].indexOf(1,-0)<0,ln=Gt("indexOf"),cn=Zt("indexOf",{ACCESSORS:!0,1:0});Le({target:"Array",proto:!0,forced:sn||!ln||!cn},{indexOf:function(e){return sn?an.apply(this,arguments)||0:on(this,e,arguments.length>1?arguments[1]:void 0)}});var un=Qe("unscopables"),hn=Array.prototype;null==hn[un]&&x.f(hn,un,{configurable:!0,value:Ve(null)});var fn,dn,pn,mn=function(e){hn[un][e]=!0},gn={},vn=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),yn=W("IE_PROTO"),bn=Object.prototype,wn=vn?Object.getPrototypeOf:function(e){return e=Me(e),b(e,yn)?e[yn]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?bn:null},kn=Qe("iterator"),Tn=!1;[].keys&&("next"in(pn=[].keys())?(dn=wn(wn(pn)))!==Object.prototype&&(fn=dn):Tn=!0),null==fn&&(fn={}),b(fn,kn)||O(fn,kn,(function(){return this}));var Sn={IteratorPrototype:fn,BUGGY_SAFARI_ITERATORS:Tn},En=Sn.IteratorPrototype,An=function(){return this},Cn=function(e,t,n){var i=t+" Iterator";return e.prototype=Ve(En,{next:c(1,n)}),it(e,i,!1),gn[i]=An,e},Pn=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return C(n),function(e){if(!g(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),xn=Sn.IteratorPrototype,On=Sn.BUGGY_SAFARI_ITERATORS,In=Qe("iterator"),Ln="keys",jn="values",Nn="entries",Rn=function(){return this},Mn=function(e,t,n,i,r,o,a){Cn(n,t,i);var s,l,c,u=function(e){if(e===r&&m)return m;if(!On&&e in d)return d[e];switch(e){case Ln:case jn:case Nn:return function(){return new n(this,e)}}return function(){return new n(this)}},h=t+" Iterator",f=!1,d=e.prototype,p=d[In]||d["@@iterator"]||r&&d[r],m=!On&&p||u(r),g="Array"==t&&d.entries||p;if(g&&(s=wn(g.call(new e)),xn!==Object.prototype&&s.next&&(wn(s)!==xn&&(Pn?Pn(s,xn):"function"!=typeof s[In]&&O(s,In,Rn)),it(s,h,!0))),r==jn&&p&&p.name!==jn&&(f=!0,m=function(){return p.call(this)}),d[In]!==m&&O(d,In,m),gn[t]=m,r)if(l={values:u(jn),keys:o?m:u(Ln),entries:u(Nn)},a)for(c in l)(On||f||!(c in d))&&te(d,c,l[c]);else Le({target:t,proto:!0,forced:On||f},l);return l},_n="Array Iterator",Un=ee.set,Dn=ee.getterFor(_n),Fn=Mn(Array,"Array",(function(e,t){Un(this,{type:_n,target:m(e),index:0,kind:t})}),(function(){var e=Dn(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");gn.Arguments=gn.Array,mn("keys"),mn("values"),mn("entries");var qn=[].join,Hn=d!=Object,Bn=Gt("join",",");Le({target:"Array",proto:!0,forced:Hn||!Bn},{join:function(e){return qn.call(m(this),void 0===e?",":e)}});var Vn,zn,Wn=function(e,t,n){var i=v(t);i in e?x.f(e,i,c(0,n)):e[i]=n},Kn=re("navigator","userAgent")||"",$n=i.process,Yn=$n&&$n.versions,Gn=Yn&&Yn.v8;Gn?zn=(Vn=Gn.split("."))[0]+Vn[1]:Kn&&(!(Vn=Kn.match(/Edge\/(\d+)/))||Vn[1]>=74)&&(Vn=Kn.match(/Chrome\/(\d+)/))&&(zn=Vn[1]);var Xn=zn&&+zn,Qn=Qe("species"),Jn=function(e){return Xn>=51||!r((function(){var t=[];return(t.constructor={})[Qn]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Zn=Jn("slice"),ei=Zt("slice",{ACCESSORS:!0,0:0,1:2}),ti=Qe("species"),ni=[].slice,ii=Math.max;Le({target:"Array",proto:!0,forced:!Zn||!ei},{slice:function(e,t){var n,i,r,o=m(this),a=ce(o.length),s=fe(e,a),l=fe(void 0===t?a:t,a);if(Re(o)&&("function"!=typeof(n=o.constructor)||n!==Array&&!Re(n.prototype)?g(n)&&null===(n=n[ti])&&(n=void 0):n=void 0,n===Array||void 0===n))return ni.call(o,s,l);for(i=new(void 0===n?Array:n)(ii(l-s,0)),r=0;s<l;s++,r++)s in o&&Wn(i,r,o[s]);return i.length=r,i}});var ri={};ri[Qe("toStringTag")]="z";var oi="[object z]"===String(ri),ai=Qe("toStringTag"),si="Arguments"==h(function(){return arguments}()),li=oi?h:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),ai))?n:si?h(t):"Object"==(i=h(t))&&"function"==typeof t.callee?"Arguments":i},ci=oi?{}.toString:function(){return"[object "+li(this)+"]"};oi||te(Object.prototype,"toString",ci,{unsafe:!0});var ui=function(){var e=C(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function hi(e,t){return RegExp(e,t)}var fi={UNSUPPORTED_Y:r((function(){var e=hi("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:r((function(){var e=hi("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},di=RegExp.prototype.exec,pi=String.prototype.replace,mi=di,gi=function(){var e=/a/,t=/b*/g;return di.call(e,"a"),di.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),vi=fi.UNSUPPORTED_Y||fi.BROKEN_CARET,yi=void 0!==/()??/.exec("")[1];(gi||yi||vi)&&(mi=function(e){var t,n,i,r,o=this,a=vi&&o.sticky,s=ui.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),yi&&(n=new RegExp("^"+l+"$(?!\\s)",s)),gi&&(t=o.lastIndex),i=di.call(a?n:o,u),a?i?(i.input=i.input.slice(c),i[0]=i[0].slice(c),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:gi&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),yi&&i&&i.length>1&&pi.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var bi=mi;Le({target:"RegExp",proto:!0,forced:/./.exec!==bi},{exec:bi});var wi="toString",ki=RegExp.prototype,Ti=ki.toString,Si=r((function(){return"/a/b"!=Ti.call({source:"a",flags:"b"})})),Ei=Ti.name!=wi;(Si||Ei)&&te(RegExp.prototype,wi,(function(){var e=C(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in ki)?ui.call(e):n)}),{unsafe:!0});var Ai=function(e){return function(t,n){var i,r,o=String(p(t)),a=se(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},Ci={codeAt:Ai(!1),charAt:Ai(!0)},Pi=Ci.charAt,xi="String Iterator",Oi=ee.set,Ii=ee.getterFor(xi);Mn(String,"String",(function(e){Oi(this,{type:xi,string:String(e),index:0})}),(function(){var e,t=Ii(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=Pi(n,i),t.index+=e.length,{value:e,done:!1})}));var Li=Qe("species"),ji=!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Ni="$0"==="a".replace(/./,"$0"),Ri=Qe("replace"),Mi=!!/./[Ri]&&""===/./[Ri]("a","$0"),_i=!r((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Ui=function(e,t,n,i){var o=Qe(e),a=!r((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),s=a&&!r((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Li]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!a||!s||"replace"===e&&(!ji||!Ni||Mi)||"split"===e&&!_i){var l=/./[o],c=n(o,""[e],(function(e,t,n,i,r){return t.exec===bi?a&&!r?{done:!0,value:l.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:Ni,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Mi}),u=c[0],h=c[1];te(String.prototype,e,u),te(RegExp.prototype,o,2==t?function(e,t){return h.call(e,this,t)}:function(e){return h.call(e,this)})}i&&O(RegExp.prototype[o],"sham",!0)},Di=Ci.charAt,Fi=function(e,t,n){return t+(n?Di(e,t).length:1)},qi=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==h(e))throw TypeError("RegExp#exec called on incompatible receiver");return bi.call(e,t)},Hi=Math.max,Bi=Math.min,Vi=Math.floor,zi=/\$([$&'`]|\d\d?|<[^>]*>)/g,Wi=/\$([$&'`]|\d\d?)/g;Ui("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=p(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var c=C(e),u=String(this),h="function"==typeof i;h||(i=String(i));var f=c.global;if(f){var d=c.unicode;c.lastIndex=0}for(var p=[];;){var m=qi(c,u);if(null===m)break;if(p.push(m),!f)break;""===String(m[0])&&(c.lastIndex=Fi(u,ce(c.lastIndex),d))}for(var g,v="",y=0,b=0;b<p.length;b++){m=p[b];for(var w=String(m[0]),k=Hi(Bi(se(m.index),u.length),0),T=[],S=1;S<m.length;S++)T.push(void 0===(g=m[S])?g:String(g));var E=m.groups;if(h){var A=[w].concat(T,k,u);void 0!==E&&A.push(E);var P=String(i.apply(void 0,A))}else P=s(w,u,k,T,E,i);k>=y&&(v+=u.slice(y,k)+P,y=k+w.length)}return v+u.slice(y)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,c=Wi;return void 0!==o&&(o=Me(o),c=zi),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var h=Vi(u/10);return 0===h?t:h<=l?void 0===r[h-1]?a.charAt(1):r[h-1]+a.charAt(1):t}c=r[u-1]}return void 0===c?"":c}))}}));var Ki=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};Ui("search",1,(function(e,t,n){return[function(t){var n=p(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=C(e),o=String(this),a=r.lastIndex;Ki(a,0)||(r.lastIndex=0);var s=qi(r,o);return Ki(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var $i=Qe("match"),Yi=function(e){var t;return g(e)&&(void 0!==(t=e[$i])?!!t:"RegExp"==h(e))},Gi=Qe("species"),Xi=function(e,t){var n,i=C(e).constructor;return void 0===i||null==(n=C(i)[Gi])?t:rt(n)},Qi=[].push,Ji=Math.min,Zi=4294967295,er=!r((function(){return!RegExp(Zi,"y")}));Ui("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(p(this)),r=void 0===n?Zi:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!Yi(e))return t.call(i,e,r);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,h=new RegExp(e.source,c+"g");(o=bi.call(h,i))&&!((a=h.lastIndex)>u&&(l.push(i.slice(u,o.index)),o.length>1&&o.index<i.length&&Qi.apply(l,o.slice(1)),s=o[0].length,u=a,l.length>=r));)h.lastIndex===o.index&&h.lastIndex++;return u===i.length?!s&&h.test("")||l.push(""):l.push(i.slice(u)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=p(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=C(e),s=String(this),l=Xi(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(er?"y":"g"),h=new l(er?a:"^(?:"+a.source+")",u),f=void 0===r?Zi:r>>>0;if(0===f)return[];if(0===s.length)return null===qi(h,s)?[s]:[];for(var d=0,p=0,m=[];p<s.length;){h.lastIndex=er?p:0;var g,v=qi(h,er?s:s.slice(p));if(null===v||(g=Ji(ce(h.lastIndex+(er?0:p)),s.length))===d)p=Fi(s,p,c);else{if(m.push(s.slice(d,p)),m.length===f)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===f)return m;p=d=g}}return m.push(s.slice(d)),m}]}),!er);var tr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var nr in tr){var ir=i[nr],rr=ir&&ir.prototype;if(rr&&rr.forEach!==rn)try{O(rr,"forEach",rn)}catch(e){rr.forEach=rn}}var or=Qe("iterator"),ar=Qe("toStringTag"),sr=Fn.values;for(var lr in tr){var cr=i[lr],ur=cr&&cr.prototype;if(ur){if(ur[or]!==sr)try{O(ur,or,sr)}catch(e){ur[or]=sr}if(ur[ar]||O(ur,ar,lr),tr[lr])for(var hr in Fn)if(ur[hr]!==Fn[hr])try{O(ur,hr,Fn[hr])}catch(e){ur[hr]=Fn[hr]}}}var fr=Qe("iterator"),dr=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,i){t.delete("b"),n+=i+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[fr]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),pr=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},mr=Object.assign,gr=Object.defineProperty,vr=!mr||r((function(){if(o&&1!==mr({b:1},mr(gr({},"a",{enumerable:!0,get:function(){gr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=mr({},e)[n]||_e(mr({},t)).join("")!=i}))?function(e,t){for(var n=Me(e),i=arguments.length,r=1,a=we.f,s=l.f;i>r;)for(var c,u=d(arguments[r++]),h=a?_e(u).concat(a(u)):_e(u),f=h.length,p=0;f>p;)c=h[p++],o&&!s.call(u,c)||(n[c]=u[c]);return n}:mr,yr=function(e){var t=e.return;if(void 0!==t)return C(t.call(e)).value},br=function(e,t,n,i){try{return i?t(C(n)[0],n[1]):t(n)}catch(t){throw yr(e),t}},wr=Qe("iterator"),kr=Array.prototype,Tr=function(e){return void 0!==e&&(gn.Array===e||kr[wr]===e)},Sr=Qe("iterator"),Er=function(e){if(null!=e)return e[Sr]||e["@@iterator"]||gn[li(e)]},Ar=function(e){var t,n,i,r,o,a,s=Me(e),l="function"==typeof this?this:Array,c=arguments.length,u=c>1?arguments[1]:void 0,h=void 0!==u,f=Er(s),d=0;if(h&&(u=ot(u,c>2?arguments[2]:void 0,2)),null==f||l==Array&&Tr(f))for(n=new l(t=ce(s.length));t>d;d++)a=h?u(s[d],d):s[d],Wn(n,d,a);else for(o=(r=f.call(s)).next,n=new l;!(i=o.call(r)).done;d++)a=h?br(r,u,[i.value,d],!0):i.value,Wn(n,d,a);return n.length=d,n},Cr=2147483647,Pr=/[^\0-\u007E]/,xr=/[.\u3002\uFF0E\uFF61]/g,Or="Overflow: input needs wider integers to process",Ir=Math.floor,Lr=String.fromCharCode,jr=function(e){return e+22+75*(e<26)},Nr=function(e,t,n){var i=0;for(e=n?Ir(e/700):e>>1,e+=Ir(e/t);e>455;i+=36)e=Ir(e/35);return Ir(i+36*e/(e+38))},Rr=function(e){var t,n,i=[],r=(e=function(e){for(var t=[],n=0,i=e.length;n<i;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),n--)}else t.push(r)}return t}(e)).length,o=128,a=0,s=72;for(t=0;t<e.length;t++)(n=e[t])<128&&i.push(Lr(n));var l=i.length,c=l;for(l&&i.push("-");c<r;){var u=Cr;for(t=0;t<e.length;t++)(n=e[t])>=o&&n<u&&(u=n);var h=c+1;if(u-o>Ir((Cr-a)/h))throw RangeError(Or);for(a+=(u-o)*h,o=u,t=0;t<e.length;t++){if((n=e[t])<o&&++a>Cr)throw RangeError(Or);if(n==o){for(var f=a,d=36;;d+=36){var p=d<=s?1:d>=s+26?26:d-s;if(f<p)break;var m=f-p,g=36-p;i.push(Lr(jr(p+m%g))),f=Ir(m/g)}i.push(Lr(jr(f))),s=Nr(a,h,c==l),a=0,++c}}++a,++o}return i.join("")},Mr=function(e,t,n){for(var i in t)te(e,i,t[i],n);return e},_r=function(e){var t=Er(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return C(t.call(e))},Ur=re("fetch"),Dr=re("Headers"),Fr=Qe("iterator"),qr="URLSearchParams",Hr="URLSearchParamsIterator",Br=ee.set,Vr=ee.getterFor(qr),zr=ee.getterFor(Hr),Wr=/\+/g,Kr=Array(4),$r=function(e){return Kr[e-1]||(Kr[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},Yr=function(e){try{return decodeURIComponent(e)}catch(t){return e}},Gr=function(e){var t=e.replace(Wr," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace($r(n--),Yr);return t}},Xr=/[!'()~]|%20/g,Qr={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Jr=function(e){return Qr[e]},Zr=function(e){return encodeURIComponent(e).replace(Xr,Jr)},eo=function(e,t){if(t)for(var n,i,r=t.split("&"),o=0;o<r.length;)(n=r[o++]).length&&(i=n.split("="),e.push({key:Gr(i.shift()),value:Gr(i.join("="))}))},to=function(e){this.entries.length=0,eo(this.entries,e)},no=function(e,t){if(e<t)throw TypeError("Not enough arguments")},io=Cn((function(e,t){Br(this,{type:Hr,iterator:_r(Vr(e).entries),kind:t})}),"Iterator",(function(){var e=zr(this),t=e.kind,n=e.iterator.next(),i=n.value;return n.done||(n.value="keys"===t?i.key:"values"===t?i.value:[i.key,i.value]),n})),ro=function(){pr(this,ro,qr);var e,t,n,i,r,o,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,h=[];if(Br(u,{type:qr,entries:h,updateURL:function(){},updateSearchParams:to}),void 0!==c)if(g(c))if("function"==typeof(e=Er(c)))for(n=(t=e.call(c)).next;!(i=n.call(t)).done;){if((a=(o=(r=_r(C(i.value))).next).call(r)).done||(s=o.call(r)).done||!o.call(r).done)throw TypeError("Expected sequence with length 2");h.push({key:a.value+"",value:s.value+""})}else for(l in c)b(c,l)&&h.push({key:l,value:c[l]+""});else eo(h,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},oo=ro.prototype;Mr(oo,{append:function(e,t){no(arguments.length,2);var n=Vr(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){no(arguments.length,1);for(var t=Vr(this),n=t.entries,i=e+"",r=0;r<n.length;)n[r].key===i?n.splice(r,1):r++;t.updateURL()},get:function(e){no(arguments.length,1);for(var t=Vr(this).entries,n=e+"",i=0;i<t.length;i++)if(t[i].key===n)return t[i].value;return null},getAll:function(e){no(arguments.length,1);for(var t=Vr(this).entries,n=e+"",i=[],r=0;r<t.length;r++)t[r].key===n&&i.push(t[r].value);return i},has:function(e){no(arguments.length,1);for(var t=Vr(this).entries,n=e+"",i=0;i<t.length;)if(t[i++].key===n)return!0;return!1},set:function(e,t){no(arguments.length,1);for(var n,i=Vr(this),r=i.entries,o=!1,a=e+"",s=t+"",l=0;l<r.length;l++)(n=r[l]).key===a&&(o?r.splice(l--,1):(o=!0,n.value=s));o||r.push({key:a,value:s}),i.updateURL()},sort:function(){var e,t,n,i=Vr(this),r=i.entries,o=r.slice();for(r.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(r[t].key>e.key){r.splice(t,0,e);break}t===n&&r.push(e)}i.updateURL()},forEach:function(e){for(var t,n=Vr(this).entries,i=ot(e,arguments.length>1?arguments[1]:void 0,3),r=0;r<n.length;)i((t=n[r++]).value,t.key,this)},keys:function(){return new io(this,"keys")},values:function(){return new io(this,"values")},entries:function(){return new io(this,"entries")}},{enumerable:!0}),te(oo,Fr,oo.entries),te(oo,"toString",(function(){for(var e,t=Vr(this).entries,n=[],i=0;i<t.length;)e=t[i++],n.push(Zr(e.key)+"="+Zr(e.value));return n.join("&")}),{enumerable:!0}),it(ro,qr),Le({global:!0,forced:!dr},{URLSearchParams:ro}),dr||"function"!=typeof Ur||"function"!=typeof Dr||Le({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,i,r=[e];return arguments.length>1&&(g(t=arguments[1])&&(n=t.body,li(n)===qr&&((i=t.headers?new Dr(t.headers):new Dr).has("content-type")||i.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=Ve(t,{body:c(0,String(n)),headers:c(0,i)}))),r.push(t)),Ur.apply(this,r)}});var ao,so={URLSearchParams:ro,getState:Vr},lo=Ci.codeAt,co=i.URL,uo=so.URLSearchParams,ho=so.getState,fo=ee.set,po=ee.getterFor("URL"),mo=Math.floor,go=Math.pow,vo="Invalid scheme",yo="Invalid host",bo="Invalid port",wo=/[A-Za-z]/,ko=/[\d+-.A-Za-z]/,To=/\d/,So=/^(0x|0X)/,Eo=/^[0-7]+$/,Ao=/^\d+$/,Co=/^[\dA-Fa-f]+$/,Po=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,xo=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,Oo=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Io=/[\u0009\u000A\u000D]/g,Lo=function(e,t){var n,i,r;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return yo;if(!(n=No(t.slice(1,-1))))return yo;e.host=n}else if(Ho(e)){if(t=function(e){var t,n,i=[],r=e.toLowerCase().replace(xr,".").split(".");for(t=0;t<r.length;t++)n=r[t],i.push(Pr.test(n)?"xn--"+Rr(n):n);return i.join(".")}(t),Po.test(t))return yo;if(null===(n=jo(t)))return yo;e.host=n}else{if(xo.test(t))return yo;for(n="",i=Ar(t),r=0;r<i.length;r++)n+=Fo(i[r],Mo);e.host=n}},jo=function(e){var t,n,i,r,o,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],i=0;i<t;i++){if(""==(r=l[i]))return e;if(o=10,r.length>1&&"0"==r.charAt(0)&&(o=So.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)a=0;else{if(!(10==o?Ao:8==o?Eo:Co).test(r))return e;a=parseInt(r,o)}n.push(a)}for(i=0;i<t;i++)if(a=n[i],i==t-1){if(a>=go(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),i=0;i<n.length;i++)s+=n[i]*go(256,3-i);return s},No=function(e){var t,n,i,r,o,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,h=0,f=function(){return e.charAt(h)};if(":"==f()){if(":"!=e.charAt(1))return;h+=2,u=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=n=0;n<4&&Co.test(f());)t=16*t+parseInt(f(),16),h++,n++;if("."==f()){if(0==n)return;if(h-=n,c>6)return;for(i=0;f();){if(r=null,i>0){if(!("."==f()&&i<4))return;h++}if(!To.test(f()))return;for(;To.test(f());){if(o=parseInt(f(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;h++}l[c]=256*l[c]+r,2!=++i&&4!=i||c++}if(4!=i)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;l[c++]=t}else{if(null!==u)return;h++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},Ro=function(e){var t,n,i,r;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=mo(e/256);return t.join(".")}if("object"==typeof e){for(t="",i=function(e){for(var t=null,n=1,i=null,r=0,o=0;o<8;o++)0!==e[o]?(r>n&&(t=i,n=r),i=null,r=0):(null===i&&(i=o),++r);return r>n&&(t=i,n=r),t}(e),n=0;n<8;n++)r&&0===e[n]||(r&&(r=!1),i===n?(t+=n?":":"::",r=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},Mo={},_o=vr({},Mo,{" ":1,'"':1,"<":1,">":1,"`":1}),Uo=vr({},_o,{"#":1,"?":1,"{":1,"}":1}),Do=vr({},Uo,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Fo=function(e,t){var n=lo(e,0);return n>32&&n<127&&!b(t,e)?e:encodeURIComponent(e)},qo={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Ho=function(e){return b(qo,e.scheme)},Bo=function(e){return""!=e.username||""!=e.password},Vo=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},zo=function(e,t){var n;return 2==e.length&&wo.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Wo=function(e){var t;return e.length>1&&zo(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Ko=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&zo(t[0],!0)||t.pop()},$o=function(e){return"."===e||"%2e"===e.toLowerCase()},Yo={},Go={},Xo={},Qo={},Jo={},Zo={},ea={},ta={},na={},ia={},ra={},oa={},aa={},sa={},la={},ca={},ua={},ha={},fa={},da={},pa={},ma=function(e,t,n,i){var r,o,a,s,l,c=n||Yo,u=0,h="",f=!1,d=!1,p=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(Oo,"")),t=t.replace(Io,""),r=Ar(t);u<=r.length;){switch(o=r[u],c){case Yo:if(!o||!wo.test(o)){if(n)return vo;c=Xo;continue}h+=o.toLowerCase(),c=Go;break;case Go:if(o&&(ko.test(o)||"+"==o||"-"==o||"."==o))h+=o.toLowerCase();else{if(":"!=o){if(n)return vo;h="",c=Xo,u=0;continue}if(n&&(Ho(e)!=b(qo,h)||"file"==h&&(Bo(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Ho(e)&&qo[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?c=sa:Ho(e)&&i&&i.scheme==e.scheme?c=Qo:Ho(e)?c=ta:"/"==r[u+1]?(c=Jo,u++):(e.cannotBeABaseURL=!0,e.path.push(""),c=fa)}break;case Xo:if(!i||i.cannotBeABaseURL&&"#"!=o)return vo;if(i.cannotBeABaseURL&&"#"==o){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,c=pa;break}c="file"==i.scheme?sa:Zo;continue;case Qo:if("/"!=o||"/"!=r[u+1]){c=Zo;continue}c=na,u++;break;case Jo:if("/"==o){c=ia;break}c=ha;continue;case Zo:if(e.scheme=i.scheme,o==ao)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==o||"\\"==o&&Ho(e))c=ea;else if("?"==o)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",c=da;else{if("#"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),c=ha;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=pa}break;case ea:if(!Ho(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,c=ha;continue}c=ia}else c=na;break;case ta:if(c=na,"/"!=o||"/"!=h.charAt(u+1))continue;u++;break;case na:if("/"!=o&&"\\"!=o){c=ia;continue}break;case ia:if("@"==o){f&&(h="%40"+h),f=!0,a=Ar(h);for(var m=0;m<a.length;m++){var g=a[m];if(":"!=g||p){var v=Fo(g,Do);p?e.password+=v:e.username+=v}else p=!0}h=""}else if(o==ao||"/"==o||"?"==o||"#"==o||"\\"==o&&Ho(e)){if(f&&""==h)return"Invalid authority";u-=Ar(h).length+1,h="",c=ra}else h+=o;break;case ra:case oa:if(n&&"file"==e.scheme){c=ca;continue}if(":"!=o||d){if(o==ao||"/"==o||"?"==o||"#"==o||"\\"==o&&Ho(e)){if(Ho(e)&&""==h)return yo;if(n&&""==h&&(Bo(e)||null!==e.port))return;if(s=Lo(e,h))return s;if(h="",c=ua,n)return;continue}"["==o?d=!0:"]"==o&&(d=!1),h+=o}else{if(""==h)return yo;if(s=Lo(e,h))return s;if(h="",c=aa,n==oa)return}break;case aa:if(!To.test(o)){if(o==ao||"/"==o||"?"==o||"#"==o||"\\"==o&&Ho(e)||n){if(""!=h){var y=parseInt(h,10);if(y>65535)return bo;e.port=Ho(e)&&y===qo[e.scheme]?null:y,h=""}if(n)return;c=ua;continue}return bo}h+=o;break;case sa:if(e.scheme="file","/"==o||"\\"==o)c=la;else{if(!i||"file"!=i.scheme){c=ha;continue}if(o==ao)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==o)e.host=i.host,e.path=i.path.slice(),e.query="",c=da;else{if("#"!=o){Wo(r.slice(u).join(""))||(e.host=i.host,e.path=i.path.slice(),Ko(e)),c=ha;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=pa}}break;case la:if("/"==o||"\\"==o){c=ca;break}i&&"file"==i.scheme&&!Wo(r.slice(u).join(""))&&(zo(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),c=ha;continue;case ca:if(o==ao||"/"==o||"\\"==o||"?"==o||"#"==o){if(!n&&zo(h))c=ha;else if(""==h){if(e.host="",n)return;c=ua}else{if(s=Lo(e,h))return s;if("localhost"==e.host&&(e.host=""),n)return;h="",c=ua}continue}h+=o;break;case ua:if(Ho(e)){if(c=ha,"/"!=o&&"\\"!=o)continue}else if(n||"?"!=o)if(n||"#"!=o){if(o!=ao&&(c=ha,"/"!=o))continue}else e.fragment="",c=pa;else e.query="",c=da;break;case ha:if(o==ao||"/"==o||"\\"==o&&Ho(e)||!n&&("?"==o||"#"==o)){if(".."===(l=(l=h).toLowerCase())||"%2e."===l||".%2e"===l||"%2e%2e"===l?(Ko(e),"/"==o||"\\"==o&&Ho(e)||e.path.push("")):$o(h)?"/"==o||"\\"==o&&Ho(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&zo(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(o==ao||"?"==o||"#"==o))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",c=da):"#"==o&&(e.fragment="",c=pa)}else h+=Fo(o,Uo);break;case fa:"?"==o?(e.query="",c=da):"#"==o?(e.fragment="",c=pa):o!=ao&&(e.path[0]+=Fo(o,Mo));break;case da:n||"#"!=o?o!=ao&&("'"==o&&Ho(e)?e.query+="%27":e.query+="#"==o?"%23":Fo(o,Mo)):(e.fragment="",c=pa);break;case pa:o!=ao&&(e.fragment+=Fo(o,_o))}u++}},ga=function(e){var t,n,i=pr(this,ga,"URL"),r=arguments.length>1?arguments[1]:void 0,a=String(e),s=fo(i,{type:"URL"});if(void 0!==r)if(r instanceof ga)t=po(r);else if(n=ma(t={},String(r)))throw TypeError(n);if(n=ma(s,a,null,t))throw TypeError(n);var l=s.searchParams=new uo,c=ho(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},o||(i.href=ya.call(i),i.origin=ba.call(i),i.protocol=wa.call(i),i.username=ka.call(i),i.password=Ta.call(i),i.host=Sa.call(i),i.hostname=Ea.call(i),i.port=Aa.call(i),i.pathname=Ca.call(i),i.search=Pa.call(i),i.searchParams=xa.call(i),i.hash=Oa.call(i))},va=ga.prototype,ya=function(){var e=po(this),t=e.scheme,n=e.username,i=e.password,r=e.host,o=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==r?(c+="//",Bo(e)&&(c+=n+(i?":"+i:"")+"@"),c+=Ro(r),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},ba=function(){var e=po(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Ho(e)?t+"://"+Ro(e.host)+(null!==n?":"+n:""):"null"},wa=function(){return po(this).scheme+":"},ka=function(){return po(this).username},Ta=function(){return po(this).password},Sa=function(){var e=po(this),t=e.host,n=e.port;return null===t?"":null===n?Ro(t):Ro(t)+":"+n},Ea=function(){var e=po(this).host;return null===e?"":Ro(e)},Aa=function(){var e=po(this).port;return null===e?"":String(e)},Ca=function(){var e=po(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Pa=function(){var e=po(this).query;return e?"?"+e:""},xa=function(){return po(this).searchParams},Oa=function(){var e=po(this).fragment;return e?"#"+e:""},Ia=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&Ue(va,{href:Ia(ya,(function(e){var t=po(this),n=String(e),i=ma(t,n);if(i)throw TypeError(i);ho(t.searchParams).updateSearchParams(t.query)})),origin:Ia(ba),protocol:Ia(wa,(function(e){var t=po(this);ma(t,String(e)+":",Yo)})),username:Ia(ka,(function(e){var t=po(this),n=Ar(String(e));if(!Vo(t)){t.username="";for(var i=0;i<n.length;i++)t.username+=Fo(n[i],Do)}})),password:Ia(Ta,(function(e){var t=po(this),n=Ar(String(e));if(!Vo(t)){t.password="";for(var i=0;i<n.length;i++)t.password+=Fo(n[i],Do)}})),host:Ia(Sa,(function(e){var t=po(this);t.cannotBeABaseURL||ma(t,String(e),ra)})),hostname:Ia(Ea,(function(e){var t=po(this);t.cannotBeABaseURL||ma(t,String(e),oa)})),port:Ia(Aa,(function(e){var t=po(this);Vo(t)||(""==(e=String(e))?t.port=null:ma(t,e,aa))})),pathname:Ia(Ca,(function(e){var t=po(this);t.cannotBeABaseURL||(t.path=[],ma(t,e+"",ua))})),search:Ia(Pa,(function(e){var t=po(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",ma(t,e,da)),ho(t.searchParams).updateSearchParams(t.query)})),searchParams:Ia(xa),hash:Ia(Oa,(function(e){var t=po(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",ma(t,e,pa)):t.fragment=null}))}),te(va,"toJSON",(function(){return ya.call(this)}),{enumerable:!0}),te(va,"toString",(function(){return ya.call(this)}),{enumerable:!0}),co){var La=co.createObjectURL,ja=co.revokeObjectURL;La&&te(ga,"createObjectURL",(function(e){return La.apply(co,arguments)})),ja&&te(ga,"revokeObjectURL",(function(e){return ja.apply(co,arguments)}))}function Na(e){return(Na="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ra(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ma(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _a(e,t,n){return t&&Ma(e.prototype,t),n&&Ma(e,n),e}function Ua(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Da(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Da(Object(n),!0).forEach((function(t){Ua(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Da(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qa(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ha(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||Va(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ba(e){return function(e){if(Array.isArray(e))return za(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Va(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Va(e,t){if(e){if("string"==typeof e)return za(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?za(e,t):void 0}}function za(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}it(ga,"URL"),Le({global:!0,forced:!dr,sham:!o},{URL:ga}),function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},i=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},r=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(e){return!1}})()||function(){var r=function e(t){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var n=Na(t);if("undefined"===n);else if("string"===n)""!==t&&this._fromString(t);else if(t instanceof e){var i=this;t.forEach((function(e,t){i.append(t,e)}))}else{if(null===t||"object"!==n)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(t))for(var r=0;r<t.length;r++){var o=t[r];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var a in t)t.hasOwnProperty(a)&&this.append(a,t[a])}},o=r.prototype;o.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},o.delete=function(e){delete this._entries[e]},o.get=function(e){return e in this._entries?this._entries[e][0]:null},o.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},o.has=function(e){return e in this._entries},o.set=function(e,t){this._entries[e]=[String(t)]},o.forEach=function(e,t){var n;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){n=this._entries[i];for(var r=0;r<n.length;r++)e.call(t,n[r],i,this)}},o.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},o.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},o.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var e=[];return this.forEach((function(t,n){e.push(i(n)+"="+i(t))})),e.join("&")},e.URLSearchParams=r}();var o=e.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var e=this,t=[];this.forEach((function(n,i){t.push([i,n]),e._entries||e.delete(i)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var i,o=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)i=o[n].split("="),this.append(r(i[0]),i.length>1?r(i[1]):"")}})}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var i,r=document;if(n&&(void 0===e.location||n!==e.location.href)){n=n.toLowerCase(),(i=(r=document.implementation.createHTMLDocument("")).createElement("base")).href=n,r.head.appendChild(i);try{if(0!==i.href.indexOf(n))throw new Error(i.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=r.createElement("a");o.href=t,i&&(r.body.appendChild(o),o.href=o.href);var a=r.createElement("input");if(a.type="url",a.value=t,":"===o.protocol||!/:/.test(o.href)||!a.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new e.URLSearchParams(this.search),l=!0,c=!0,u=this;["append","delete","set"].forEach((function(e){var t=s[e];s[e]=function(){t.apply(s,arguments),l&&(c=!1,u.search=s.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var h=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==h&&(h=this.search,c&&(l=!1,this.searchParams._fromString(this.search),l=!0))}})},i=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(i,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(i,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(i,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e);var Wa=Qe("isConcatSpreadable"),Ka=9007199254740991,$a="Maximum allowed index exceeded",Ya=Xn>=51||!r((function(){var e=[];return e[Wa]=!1,e.concat()[0]!==e})),Ga=Jn("concat"),Xa=function(e){if(!g(e))return!1;var t=e[Wa];return void 0!==t?!!t:Re(e)};Le({target:"Array",proto:!0,forced:!Ya||!Ga},{concat:function(e){var t,n,i,r,o,a=Me(this),s=st(a,0),l=0;for(t=-1,i=arguments.length;t<i;t++)if(Xa(o=-1===t?a:arguments[t])){if(l+(r=ce(o.length))>Ka)throw TypeError($a);for(n=0;n<r;n++,l++)n in o&&Wn(s,l,o[n])}else{if(l>=Ka)throw TypeError($a);Wn(s,l++,o)}return s.length=l,s}});var Qa=ut.filter,Ja=Jn("filter"),Za=Zt("filter");Le({target:"Array",proto:!0,forced:!Ja||!Za},{filter:function(e){return Qa(this,e,arguments.length>1?arguments[1]:void 0)}});var es=ut.find,ts="find",ns=!0,is=Zt(ts);ts in[]&&Array(1).find((function(){ns=!1})),Le({target:"Array",proto:!0,forced:ns||!is},{find:function(e){return es(this,e,arguments.length>1?arguments[1]:void 0)}}),mn(ts);var rs=Qe("iterator"),os=!1;try{var as=0,ss={next:function(){return{done:!!as++}},return:function(){os=!0}};ss[rs]=function(){return this},Array.from(ss,(function(){throw 2}))}catch(e){}var ls=function(e,t){if(!t&&!os)return!1;var n=!1;try{var i={};i[rs]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},cs=!ls((function(e){Array.from(e)}));Le({target:"Array",stat:!0,forced:cs},{from:Ar});var us=pe.includes,hs=Zt("indexOf",{ACCESSORS:!0,1:0});Le({target:"Array",proto:!0,forced:!hs},{includes:function(e){return us(this,e,arguments.length>1?arguments[1]:void 0)}}),mn("includes");var fs=ut.map,ds=Jn("map"),ps=Zt("map");Le({target:"Array",proto:!0,forced:!ds||!ps},{map:function(e){return fs(this,e,arguments.length>1?arguments[1]:void 0)}});var ms=function(e,t,n){var i,r;return Pn&&"function"==typeof(i=t.constructor)&&i!==n&&g(r=i.prototype)&&r!==n.prototype&&Pn(e,r),e},gs="\t\n\v\f\r                　\u2028\u2029\ufeff",vs="["+gs+"]",ys=RegExp("^"+vs+vs+"*"),bs=RegExp(vs+vs+"*$"),ws=function(e){return function(t){var n=String(p(t));return 1&e&&(n=n.replace(ys,"")),2&e&&(n=n.replace(bs,"")),n}},ks={start:ws(1),end:ws(2),trim:ws(3)},Ts=be.f,Ss=A.f,Es=x.f,As=ks.trim,Cs="Number",Ps=i.Number,xs=Ps.prototype,Os=h(Ve(xs))==Cs,Is=function(e){var t,n,i,r,o,a,s,l,c=v(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=As(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+c}for(a=(o=c.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||l>r)return NaN;return parseInt(o,i)}return+c};if(Oe(Cs,!Ps(" 0o1")||!Ps("0b1")||Ps("+0x1"))){for(var Ls,js=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof js&&(Os?r((function(){xs.valueOf.call(n)})):h(n)!=Cs)?ms(new Ps(Is(t)),n,js):Is(t)},Ns=o?Ts(Ps):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Rs=0;Ns.length>Rs;Rs++)b(Ps,Ls=Ns[Rs])&&!b(js,Ls)&&Es(js,Ls,Ss(Ps,Ls));js.prototype=xs,xs.constructor=js,te(i,Cs,js)}var Ms=r((function(){_e(1)}));Le({target:"Object",stat:!0,forced:Ms},{keys:function(e){return _e(Me(e))}});var _s=function(e){if(Yi(e))throw TypeError("The method doesn't accept regular expressions");return e},Us=Qe("match"),Ds=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Us]=!1,"/./"[e](t)}catch(e){}}return!1};Le({target:"String",proto:!0,forced:!Ds("includes")},{includes:function(e){return!!~String(p(this)).indexOf(_s(e),arguments.length>1?arguments[1]:void 0)}});var Fs=!r((function(){return Object.isExtensible(Object.preventExtensions({}))})),qs=t((function(e){var t=x.f,n=V("meta"),i=0,r=Object.isExtensible||function(){return!0},o=function(e){t(e,n,{value:{objectID:"O"+ ++i,weakData:{}}})},a=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!g(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!b(e,n)){if(!r(e))return"F";if(!t)return"E";o(e)}return e[n].objectID},getWeakData:function(e,t){if(!b(e,n)){if(!r(e))return!0;if(!t)return!1;o(e)}return e[n].weakData},onFreeze:function(e){return Fs&&a.REQUIRED&&r(e)&&!b(e,n)&&o(e),e}};K[n]=!0})),Hs=(qs.REQUIRED,qs.fastKey,qs.getWeakData,qs.onFreeze,function(e,t){this.stopped=e,this.result=t}),Bs=function(e,t,n){var i,r,o,a,s,l,c,u=n&&n.that,h=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),p=ot(t,u,1+h+d),m=function(e){return i&&yr(i),new Hs(!0,e)},g=function(e){return h?(C(e),d?p(e[0],e[1],m):p(e[0],e[1])):d?p(e,m):p(e)};if(f)i=e;else{if("function"!=typeof(r=Er(e)))throw TypeError("Target is not iterable");if(Tr(r)){for(o=0,a=ce(e.length);a>o;o++)if((s=g(e[o]))&&s instanceof Hs)return s;return new Hs(!1)}i=r.call(e)}for(l=i.next;!(c=l.call(i)).done;){try{s=g(c.value)}catch(e){throw yr(i),e}if("object"==typeof s&&s&&s instanceof Hs)return s}return new Hs(!1)},Vs=qs.getWeakData,zs=ee.set,Ws=ee.getterFor,Ks=ut.find,$s=ut.findIndex,Ys=0,Gs=function(e){return e.frozen||(e.frozen=new Xs)},Xs=function(){this.entries=[]},Qs=function(e,t){return Ks(e.entries,(function(e){return e[0]===t}))};Xs.prototype={get:function(e){var t=Qs(this,e);if(t)return t[1]},has:function(e){return!!Qs(this,e)},set:function(e,t){var n=Qs(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=$s(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}};var Js={getConstructor:function(e,t,n,i){var r=e((function(e,o){pr(e,r,t),zs(e,{type:t,id:Ys++,frozen:void 0}),null!=o&&Bs(o,e[i],{that:e,AS_ENTRIES:n})})),o=Ws(t),a=function(e,t,n){var i=o(e),r=Vs(C(t),!0);return!0===r?Gs(i).set(t,n):r[i.id]=n,e};return Mr(r.prototype,{delete:function(e){var t=o(this);if(!g(e))return!1;var n=Vs(e);return!0===n?Gs(t).delete(e):n&&b(n,t.id)&&delete n[t.id]},has:function(e){var t=o(this);if(!g(e))return!1;var n=Vs(e);return!0===n?Gs(t).has(e):n&&b(n,t.id)}}),Mr(r.prototype,n?{get:function(e){var t=o(this);if(g(e)){var n=Vs(e);return!0===n?Gs(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return a(this,e,t)}}:{add:function(e){return a(this,e,!0)}}),r}},Zs=(t((function(e){var t,n=ee.enforce,o=!i.ActiveXObject&&"ActiveXObject"in i,a=Object.isExtensible,s=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},l=e.exports=function(e,t,n){var o=-1!==e.indexOf("Map"),a=-1!==e.indexOf("Weak"),s=o?"set":"add",l=i[e],c=l&&l.prototype,u=l,h={},f=function(e){var t=c[e];te(c,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(a&&!g(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return a&&!g(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(a&&!g(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(Oe(e,"function"!=typeof l||!(a||c.forEach&&!r((function(){(new l).entries().next()})))))u=n.getConstructor(t,e,o,s),qs.REQUIRED=!0;else if(Oe(e,!0)){var d=new u,p=d[s](a?{}:-0,1)!=d,m=r((function(){d.has(1)})),v=ls((function(e){new l(e)})),y=!a&&r((function(){for(var e=new l,t=5;t--;)e[s](t,t);return!e.has(-0)}));v||((u=t((function(t,n){pr(t,u,e);var i=ms(new l,t,u);return null!=n&&Bs(n,i[s],{that:i,AS_ENTRIES:o}),i}))).prototype=c,c.constructor=u),(m||y)&&(f("delete"),f("has"),o&&f("get")),(y||p)&&f(s),a&&c.clear&&delete c.clear}return h[e]=u,Le({global:!0,forced:u!=l},h),it(u,e),a||n.setStrong(u,e,o),u}("WeakMap",s,Js);if(F&&o){t=Js.getConstructor(s,"WeakMap",!0),qs.REQUIRED=!0;var c=l.prototype,u=c.delete,h=c.has,f=c.get,d=c.set;Mr(c,{delete:function(e){if(g(e)&&!a(e)){var i=n(this);return i.frozen||(i.frozen=new t),u.call(this,e)||i.frozen.delete(e)}return u.call(this,e)},has:function(e){if(g(e)&&!a(e)){var i=n(this);return i.frozen||(i.frozen=new t),h.call(this,e)||i.frozen.has(e)}return h.call(this,e)},get:function(e){if(g(e)&&!a(e)){var i=n(this);return i.frozen||(i.frozen=new t),h.call(this,e)?f.call(this,e):i.frozen.get(e)}return f.call(this,e)},set:function(e,i){if(g(e)&&!a(e)){var r=n(this);r.frozen||(r.frozen=new t),h.call(this,e)?d.call(this,e,i):r.frozen.set(e,i)}else d.call(this,e,i);return this}})}})),ut.every),el=Gt("every"),tl=Zt("every");Le({target:"Array",proto:!0,forced:!el||!tl},{every:function(e){return Zs(this,e,arguments.length>1?arguments[1]:void 0)}}),Le({target:"Object",stat:!0,forced:Object.assign!==vr},{assign:vr});var nl=ks.trim;Le({target:"String",proto:!0,forced:function(e){return r((function(){return!!gs[e]()||"᠎"!="᠎"[e]()||gs[e].name!==e}))}("trim")},{trim:function(){return nl(this)}});var il=ut.some,rl=Gt("some"),ol=Zt("some");Le({target:"Array",proto:!0,forced:!rl||!ol},{some:function(e){return il(this,e,arguments.length>1?arguments[1]:void 0)}});var al="".repeat||function(e){var t=String(p(this)),n="",i=se(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n},sl=1..toFixed,ll=Math.floor,cl=function(e,t,n){return 0===t?n:t%2==1?cl(e,t-1,n*e):cl(e*e,t/2,n)},ul=sl&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!r((function(){sl.call({})}));Le({target:"Number",proto:!0,forced:ul},{toFixed:function(e){var t,n,i,r,o=function(e){if("number"!=typeof e&&"Number"!=h(e))throw TypeError("Incorrect invocation");return+e}(this),a=se(e),s=[0,0,0,0,0,0],l="",c="0",u=function(e,t){for(var n=-1,i=t;++n<6;)i+=e*s[n],s[n]=i%1e7,i=ll(i/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=ll(n/e),n=n%e*1e7},d=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+al.call("0",7-n.length)+n}return t};if(a<0||a>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(l="-",o=-o),o>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*cl(2,69,1))-69)<0?o*cl(2,-t,1):o/cl(2,t,1),n*=4503599627370496,(t=52-t)>0){for(u(0,n),i=a;i>=7;)u(1e7,0),i-=7;for(u(cl(10,i,1),0),i=t-1;i>=23;)f(1<<23),i-=23;f(1<<i),u(1,1),f(2),c=d()}else u(0,n),u(1<<-t,0),c=d()+al.call("0",a);return c=a>0?l+((r=c.length)<=a?"0."+al.call("0",a-r)+c:c.slice(0,r-a)+"."+c.slice(r-a)):l+c}});var hl=l.f,fl=function(e){return function(t){for(var n,i=m(t),r=_e(i),a=r.length,s=0,l=[];a>s;)n=r[s++],o&&!hl.call(i,n)||l.push(e?[n,i[n]]:i[n]);return l}},dl={entries:fl(!0),values:fl(!1)},pl=dl.entries;Le({target:"Object",stat:!0},{entries:function(e){return pl(e)}});var ml=dl.values;Le({target:"Object",stat:!0},{values:function(e){return ml(e)}}),Le({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});var gl=A.f,vl=r((function(){gl(1)}));function yl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function bl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function kl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wl(Object(n),!0).forEach((function(t){bl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Le({target:"Object",stat:!0,forced:!o||vl,sham:!o},{getOwnPropertyDescriptor:function(e,t){return gl(m(e),t)}}),Le({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,i=m(e),r=A.f,o=ke(i),a={},s=0;o.length>s;)void 0!==(n=r(i,t=o[s++]))&&Wn(a,t,n);return a}}),Ui("match",1,(function(e,t,n){return[function(t){var n=p(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=C(e),o=String(this);if(!r.global)return qi(r,o);var a=r.unicode;r.lastIndex=0;for(var s,l=[],c=0;null!==(s=qi(r,o));){var u=String(s[0]);l[c]=u,""===u&&(r.lastIndex=Fi(o,ce(r.lastIndex),a)),c++}return 0===c?null:l}]}));var Tl={addCSS:!0,thumbWidth:15,watch:!0};function Sl(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}var El=function(e){return null!=e?e.constructor:null},Al=function(e,t){return!!(e&&t&&e instanceof t)},Cl=function(e){return null==e},Pl=function(e){return El(e)===Object},xl=function(e){return El(e)===String},Ol=function(e){return Array.isArray(e)},Il=function(e){return Al(e,NodeList)},Ll=xl,jl=Ol,Nl=Il,Rl=function(e){return Al(e,Element)},Ml=function(e){return Al(e,Event)},_l=function(e){return Cl(e)||(xl(e)||Ol(e)||Il(e))&&!e.length||Pl(e)&&!Object.keys(e).length};function Ul(e,t){if(1>t){var n=function(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}(t);return parseFloat(e.toFixed(n))}return Math.round(e/t)*t}var Dl,Fl,ql,Hl=function(){function e(t,n){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),Rl(t)?this.element=t:Ll(t)&&(this.element=document.querySelector(t)),Rl(this.element)&&_l(this.element.rangeTouch)&&(this.config=kl({},Tl,{},n),this.init())}return function(e,t,n){t&&yl(e.prototype,t),n&&yl(e,n)}(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,n=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(e){t.element[n](e,(function(e){return t.set(e)}),!1)}))}},{key:"get",value:function(t){if(!e.enabled||!Ml(t))return null;var n,i=t.target,r=t.changedTouches[0],o=parseFloat(i.getAttribute("min"))||0,a=parseFloat(i.getAttribute("max"))||100,s=parseFloat(i.getAttribute("step"))||1,l=i.getBoundingClientRect(),c=100/l.width*(this.config.thumbWidth/2)/100;return 0>(n=100/l.width*(r.clientX-l.left))?n=0:100<n&&(n=100),50>n?n-=(100-2*n)*c:50<n&&(n+=2*(n-50)*c),o+Ul(n/100*(a-o),s)}},{key:"set",value:function(t){e.enabled&&Ml(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(e,t){if(e&&t){var n=new Event(t,{bubbles:!0});e.dispatchEvent(n)}}(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=null;if(_l(t)||Ll(t)?i=Array.from(document.querySelectorAll(Ll(t)?t:'input[type="range"]')):Rl(t)?i=[t]:Nl(t)?i=Array.from(t):jl(t)&&(i=t.filter(Rl)),_l(i))return null;var r=kl({},Tl,{},n);if(Ll(t)&&r.watch){var o=new MutationObserver((function(n){Array.from(n).forEach((function(n){Array.from(n.addedNodes).forEach((function(n){Rl(n)&&Sl(n,t)&&new e(n,r)}))}))}));o.observe(document.body,{childList:!0,subtree:!0})}return i.map((function(t){return new e(t,n)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}(),Bl=i.Promise,Vl=Qe("species"),zl=function(e){var t=re(e),n=x.f;o&&t&&!t[Vl]&&n(t,Vl,{configurable:!0,get:function(){return this}})},Wl=/(iphone|ipod|ipad).*applewebkit/i.test(Kn),Kl="process"==h(i.process),$l=i.location,Yl=i.setImmediate,Gl=i.clearImmediate,Xl=i.process,Ql=i.MessageChannel,Jl=i.Dispatch,Zl=0,ec={},tc="onreadystatechange",nc=function(e){if(ec.hasOwnProperty(e)){var t=ec[e];delete ec[e],t()}},ic=function(e){return function(){nc(e)}},rc=function(e){nc(e.data)},oc=function(e){i.postMessage(e+"",$l.protocol+"//"+$l.host)};Yl&&Gl||(Yl=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return ec[++Zl]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},Dl(Zl),Zl},Gl=function(e){delete ec[e]},Kl?Dl=function(e){Xl.nextTick(ic(e))}:Jl&&Jl.now?Dl=function(e){Jl.now(ic(e))}:Ql&&!Wl?(ql=(Fl=new Ql).port2,Fl.port1.onmessage=rc,Dl=ot(ql.postMessage,ql,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&$l&&"file:"!==$l.protocol&&!r(oc)?(Dl=oc,i.addEventListener("message",rc,!1)):Dl=tc in T("script")?function(e){De.appendChild(T("script")).onreadystatechange=function(){De.removeChild(this),nc(e)}}:function(e){setTimeout(ic(e),0)});var ac,sc,lc,cc,uc,hc,fc,dc,pc={set:Yl,clear:Gl},mc=A.f,gc=pc.set,vc=i.MutationObserver||i.WebKitMutationObserver,yc=i.document,bc=i.process,wc=i.Promise,kc=mc(i,"queueMicrotask"),Tc=kc&&kc.value;Tc||(ac=function(){var e,t;for(Kl&&(e=bc.domain)&&e.exit();sc;){t=sc.fn,sc=sc.next;try{t()}catch(e){throw sc?cc():lc=void 0,e}}lc=void 0,e&&e.enter()},!Wl&&!Kl&&vc&&yc?(uc=!0,hc=yc.createTextNode(""),new vc(ac).observe(hc,{characterData:!0}),cc=function(){hc.data=uc=!uc}):wc&&wc.resolve?(fc=wc.resolve(void 0),dc=fc.then,cc=function(){dc.call(fc,ac)}):cc=Kl?function(){bc.nextTick(ac)}:function(){gc.call(i,ac)});var Sc,Ec,Ac,Cc,Pc=Tc||function(e){var t={fn:e,next:void 0};lc&&(lc.next=t),sc||(sc=t,cc()),lc=t},xc=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=rt(t),this.reject=rt(n)},Oc={f:function(e){return new xc(e)}},Ic=function(e,t){if(C(e),g(t)&&t.constructor===e)return t;var n=Oc.f(e);return(0,n.resolve)(t),n.promise},Lc=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},jc=pc.set,Nc=Qe("species"),Rc="Promise",Mc=ee.get,_c=ee.set,Uc=ee.getterFor(Rc),Dc=Bl,Fc=i.TypeError,qc=i.document,Hc=i.process,Bc=re("fetch"),Vc=Oc.f,zc=Vc,Wc=!!(qc&&qc.createEvent&&i.dispatchEvent),Kc="function"==typeof PromiseRejectionEvent,$c="unhandledrejection",Yc=Oe(Rc,(function(){if(!(U(Dc)!==String(Dc))){if(66===Xn)return!0;if(!Kl&&!Kc)return!0}if(Xn>=51&&/native code/.test(Dc))return!1;var e=Dc.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[Nc]=t,!(e.then((function(){}))instanceof t)})),Gc=Yc||!ls((function(e){Dc.all(e).catch((function(){}))})),Xc=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},Qc=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Pc((function(){for(var i=e.value,r=1==e.state,o=0;n.length>o;){var a,s,l,c=n[o++],u=r?c.ok:c.fail,h=c.resolve,f=c.reject,d=c.domain;try{u?(r||(2===e.rejection&&tu(e),e.rejection=1),!0===u?a=i:(d&&d.enter(),a=u(i),d&&(d.exit(),l=!0)),a===c.promise?f(Fc("Promise-chain cycle")):(s=Xc(a))?s.call(a,h,f):h(a)):f(i)}catch(e){d&&!l&&d.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Zc(e)}))}},Jc=function(e,t,n){var r,o;Wc?((r=qc.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),i.dispatchEvent(r)):r={promise:t,reason:n},!Kc&&(o=i["on"+e])?o(r):e===$c&&function(e,t){var n=i.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},Zc=function(e){jc.call(i,(function(){var t,n=e.facade,i=e.value;if(eu(e)&&(t=Lc((function(){Kl?Hc.emit("unhandledRejection",i,n):Jc($c,n,i)})),e.rejection=Kl||eu(e)?2:1,t.error))throw t.value}))},eu=function(e){return 1!==e.rejection&&!e.parent},tu=function(e){jc.call(i,(function(){var t=e.facade;Kl?Hc.emit("rejectionHandled",t):Jc("rejectionhandled",t,e.value)}))},nu=function(e,t,n){return function(i){e(t,i,n)}},iu=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Qc(e,!0))},ru=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Fc("Promise can't be resolved itself");var i=Xc(t);i?Pc((function(){var n={done:!1};try{i.call(t,nu(ru,n,e),nu(iu,n,e))}catch(t){iu(n,t,e)}})):(e.value=t,e.state=1,Qc(e,!1))}catch(t){iu({done:!1},t,e)}}};Yc&&(Dc=function(e){pr(this,Dc,Rc),rt(e),Sc.call(this);var t=Mc(this);try{e(nu(ru,t),nu(iu,t))}catch(e){iu(t,e)}},(Sc=function(e){_c(this,{type:Rc,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Mr(Dc.prototype,{then:function(e,t){var n=Uc(this),i=Vc(Xi(this,Dc));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=Kl?Hc.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&Qc(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),Ec=function(){var e=new Sc,t=Mc(e);this.promise=e,this.resolve=nu(ru,t),this.reject=nu(iu,t)},Oc.f=Vc=function(e){return e===Dc||e===Ac?new Ec(e):zc(e)},"function"==typeof Bl&&(Cc=Bl.prototype.then,te(Bl.prototype,"then",(function(e,t){var n=this;return new Dc((function(e,t){Cc.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Bc&&Le({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return Ic(Dc,Bc.apply(i,arguments))}}))),Le({global:!0,wrap:!0,forced:Yc},{Promise:Dc}),it(Dc,Rc,!1),zl(Rc),Ac=re(Rc),Le({target:Rc,stat:!0,forced:Yc},{reject:function(e){var t=Vc(this);return t.reject.call(void 0,e),t.promise}}),Le({target:Rc,stat:!0,forced:Yc},{resolve:function(e){return Ic(this,e)}}),Le({target:Rc,stat:!0,forced:Gc},{all:function(e){var t=this,n=Vc(t),i=n.resolve,r=n.reject,o=Lc((function(){var n=rt(t.resolve),o=[],a=0,s=1;Bs(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=Vc(t),i=n.reject,r=Lc((function(){var r=rt(t.resolve);Bs(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var ou,au=A.f,su="".startsWith,lu=Math.min,cu=Ds("startsWith"),uu=!(cu||(ou=au(String.prototype,"startsWith"),!ou||ou.writable));Le({target:"String",proto:!0,forced:!uu&&!cu},{startsWith:function(e){var t=String(p(this));_s(e);var n=ce(lu(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return su?su.call(t,i,n):t.slice(n,n+i.length)===i}});var hu,fu,du,pu=function(e){return null!=e?e.constructor:null},mu=function(e,t){return Boolean(e&&t&&e instanceof t)},gu=function(e){return null==e},vu=function(e){return pu(e)===Object},yu=function(e){return pu(e)===String},bu=function(e){return pu(e)===Function},wu=function(e){return Array.isArray(e)},ku=function(e){return mu(e,NodeList)},Tu=function(e){return gu(e)||(yu(e)||wu(e)||ku(e))&&!e.length||vu(e)&&!Object.keys(e).length},Su=gu,Eu=vu,Au=function(e){return pu(e)===Number&&!Number.isNaN(e)},Cu=yu,Pu=function(e){return pu(e)===Boolean},xu=bu,Ou=wu,Iu=ku,Lu=function(e){return mu(e,Element)},ju=function(e){return mu(e,Event)},Nu=function(e){return mu(e,KeyboardEvent)},Ru=function(e){return mu(e,TextTrack)||!gu(e)&&yu(e.kind)},Mu=function(e){return mu(e,Promise)&&bu(e.then)},_u=function(e){if(mu(e,window.URL))return!0;if(!yu(e))return!1;var t=e;e.startsWith("http://")&&e.startsWith("https://")||(t="http://".concat(e));try{return!Tu(new URL(t).hostname)}catch(e){return!1}},Uu=Tu,Du=(hu=document.createElement("span"),fu={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},du=Object.keys(fu).find((function(e){return void 0!==hu.style[e]})),!!Cu(du)&&fu[du]);function Fu(e,t){setTimeout((function(){try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}}),t)}var qu={isIE:!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},Hu=function(e){return function(t,n,i,r){rt(n);var o=Me(t),a=d(o),s=ce(o.length),l=e?s-1:0,c=e?-1:1;if(i<2)for(;;){if(l in a){r=a[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in a&&(r=n(r,a[l],l,o));return r}},Bu={left:Hu(!1),right:Hu(!0)}.left,Vu=Gt("reduce"),zu=Zt("reduce",{1:0});function Wu(e,t){return t.split(".").reduce((function(e,t){return e&&e[t]}),e)}function Ku(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(!n.length)return e;var r=n.shift();return Eu(r)?(Object.keys(r).forEach((function(t){Eu(r[t])?(Object.keys(e).includes(t)||Object.assign(e,Ua({},t,{})),Ku(e[t],r[t])):Object.assign(e,Ua({},t,r[t]))})),Ku.apply(void 0,[e].concat(n))):e}function $u(e,t){var n=e.length?e:[e];Array.from(n).reverse().forEach((function(e,n){var i=n>0?t.cloneNode(!0):t,r=e.parentNode,o=e.nextSibling;i.appendChild(e),o?r.insertBefore(i,o):r.appendChild(i)}))}function Yu(e,t){Lu(e)&&!Uu(t)&&Object.entries(t).filter((function(e){var t=Ha(e,2)[1];return!Su(t)})).forEach((function(t){var n=Ha(t,2),i=n[0],r=n[1];return e.setAttribute(i,r)}))}function Gu(e,t,n){var i=document.createElement(e);return Eu(t)&&Yu(i,t),Cu(n)&&(i.innerText=n),i}function Xu(e,t,n,i){Lu(t)&&t.appendChild(Gu(e,n,i))}function Qu(e){Iu(e)||Ou(e)?Array.from(e).forEach(Qu):Lu(e)&&Lu(e.parentNode)&&e.parentNode.removeChild(e)}function Ju(e){if(Lu(e))for(var t=e.childNodes.length;t>0;)e.removeChild(e.lastChild),t-=1}function Zu(e,t){return Lu(t)&&Lu(t.parentNode)&&Lu(e)?(t.parentNode.replaceChild(e,t),e):null}function eh(e,t){if(!Cu(e)||Uu(e))return{};var n={},i=Ku({},t);return e.split(",").forEach((function(e){var t=e.trim(),r=t.replace(".",""),o=t.replace(/[[\]]/g,"").split("="),a=Ha(o,1)[0],s=o.length>1?o[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":Cu(i.class)?n.class="".concat(i.class," ").concat(r):n.class=r;break;case"#":n.id=t.replace("#","");break;case"[":n[a]=s}})),Ku(i,n)}function th(e,t){if(Lu(e)){var n=t;Pu(n)||(n=!e.hidden),e.hidden=n}}function nh(e,t,n){if(Iu(e))return Array.from(e).map((function(e){return nh(e,t,n)}));if(Lu(e)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),e.classList[i](t),e.classList.contains(t)}return!1}function ih(e,t){return Lu(e)&&e.classList.contains(t)}function rh(e,t){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function oh(e){return this.elements.container.querySelectorAll(e)}function ah(e){return this.elements.container.querySelector(e)}function sh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Lu(e)&&(e.focus({preventScroll:!0}),t&&nh(e,this.config.classNames.tabFocus))}Le({target:"Array",proto:!0,forced:!Vu||!zu||!Kl&&Xn>79&&Xn<83},{reduce:function(e){return Bu(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var lh,ch={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},uh={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,n){var i=qu.isIPhone&&n&&uh.playsinline,r=uh[e]||"html5"!==t;return{api:r,ui:r&&uh.rangeInput&&("video"!==e||!qu.isIPhone||i)}},pip:!(qu.isIPhone||!xu(Gu("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||Gu("video").disablePictureInPicture)),airplay:xu(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){if(Uu(e))return!1;var t=Ha(e.split("/"),1)[0],n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(ch).includes(n)&&(n+='; codecs="'.concat(ch[e],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(lh=document.createElement("input"),lh.type="range","range"===lh.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==Du,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},hh=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function fh(e,t,n){var i=this,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&"addEventListener"in e&&!Uu(t)&&xu(n)){var s=t.split(" "),l=a;hh&&(l={passive:o,capture:a}),s.forEach((function(t){i&&i.eventListeners&&r&&i.eventListeners.push({element:e,type:t,callback:n,options:l}),e[r?"addEventListener":"removeEventListener"](t,n,l)}))}}function dh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];fh.call(this,e,t,n,!0,i,r)}function ph(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];fh.call(this,e,t,n,!1,i,r)}function mh(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=function a(){ph(e,n,a,r,o);for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];i.apply(t,l)};fh.call(this,e,n,a,!0,r,o)}function gh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(Lu(e)&&!Uu(t)){var r=new CustomEvent(t,{bubbles:n,detail:Fa(Fa({},i),{},{plyr:this})});e.dispatchEvent(r)}}function vh(){this&&this.eventListeners&&(this.eventListeners.forEach((function(e){var t=e.element,n=e.type,i=e.callback,r=e.options;t.removeEventListener(n,i,r)})),this.eventListeners=[])}function yh(){var e=this;return new Promise((function(t){return e.ready?setTimeout(t,0):dh.call(e,e.elements.container,"ready",t)})).then((function(){}))}function bh(e){Mu(e)&&e.then(null,(function(){}))}function wh(e){return!!(Ou(e)||Cu(e)&&e.includes(":"))&&(Ou(e)?e:e.split(":")).map(Number).every(Au)}function kh(e){if(!Ou(e)||!e.every(Au))return null;var t=Ha(e,2),n=t[0],i=t[1],r=function e(t,n){return 0===n?t:e(n,t%n)}(n,i);return[n/r,i/r]}function Th(e){var t=function(e){return wh(e)?e.split(":").map(Number):null},n=t(e);if(null===n&&(n=t(this.config.ratio)),null===n&&!Uu(this.embed)&&Ou(this.embed.ratio)&&(n=this.embed.ratio),null===n&&this.isHTML5){var i=this.media;n=kh([i.videoWidth,i.videoHeight])}return n}function Sh(e){if(!this.isVideo)return{};var t=this.elements.wrapper,n=Th.call(this,e),i=Ha(Ou(n)?n:[0,0],2),r=100/i[0]*i[1];if(t.style.paddingBottom="".concat(r,"%"),this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){var o=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),a=(o-r)/(o/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform="translateY(-".concat(a,"%)")}else this.isHTML5&&t.classList.toggle(this.config.classNames.videoFixedRatio,null!==n);return{padding:r,ratio:n}}var Eh={getSources:function(){var e=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((function(t){var n=t.getAttribute("type");return!!Uu(n)||uh.mime.call(e,n)})):[]},getQualityOptions:function(){return this.config.quality.forced?this.config.quality.options:Eh.getSources.call(this).map((function(e){return Number(e.getAttribute("size"))})).filter(Boolean)},setup:function(){if(this.isHTML5){var e=this;e.options.speed=e.config.speed.options,Uu(this.config.ratio)||Sh.call(e),Object.defineProperty(e.media,"quality",{get:function(){var t=Eh.getSources.call(e).find((function(t){return t.getAttribute("src")===e.source}));return t&&Number(t.getAttribute("size"))},set:function(t){if(e.quality!==t){if(e.config.quality.forced&&xu(e.config.quality.onChange))e.config.quality.onChange(t);else{var n=Eh.getSources.call(e).find((function(e){return Number(e.getAttribute("size"))===t}));if(!n)return;var i=e.media,r=i.currentTime,o=i.paused,a=i.preload,s=i.readyState,l=i.playbackRate;e.media.src=n.getAttribute("src"),("none"!==a||s)&&(e.once("loadedmetadata",(function(){e.speed=l,e.currentTime=r,o||bh(e.play())})),e.media.load())}gh.call(e,e.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(Qu(Eh.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function Ah(e){return Ou(e)?e.filter((function(t,n){return e.indexOf(t)===n})):e}var Ch=x.f,Ph=be.f,xh=ee.set,Oh=Qe("match"),Ih=i.RegExp,Lh=Ih.prototype,jh=/a/g,Nh=/a/g,Rh=new Ih(jh)!==jh,Mh=fi.UNSUPPORTED_Y;if(o&&Oe("RegExp",!Rh||Mh||r((function(){return Nh[Oh]=!1,Ih(jh)!=jh||Ih(Nh)==Nh||"/a/i"!=Ih(jh,"i")})))){for(var _h=function(e,t){var n,i=this instanceof _h,r=Yi(e),o=void 0===t;if(!i&&r&&e.constructor===_h&&o)return e;Rh?r&&!o&&(e=e.source):e instanceof _h&&(o&&(t=ui.call(e)),e=e.source),Mh&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=ms(Rh?new Ih(e,t):Ih(e,t),i?this:Lh,_h);return Mh&&n&&xh(a,{sticky:n}),a},Uh=function(e){e in _h||Ch(_h,e,{configurable:!0,get:function(){return Ih[e]},set:function(t){Ih[e]=t}})},Dh=Ph(Ih),Fh=0;Dh.length>Fh;)Uh(Dh[Fh++]);Lh.constructor=_h,_h.prototype=Lh,te(i,"RegExp",_h)}function qh(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return Uu(e)?e:e.toString().replace(/{(\d+)}/g,(function(e,t){return n[t].toString()}))}zl("RegExp");var Hh=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),n.toString())},Bh=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toString().replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))};function Vh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.toString();return t=Hh(t,"-"," "),t=Hh(t,"_"," "),t=Bh(t),Hh(t," ","")}function zh(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var Wh={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},Kh=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Uu(e)||Uu(t))return"";var n=Wu(t.i18n,e);if(Uu(n))return Object.keys(Wh).includes(e)?Wh[e]:"";var i={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(i).forEach((function(e){var t=Ha(e,2),i=t[0],r=t[1];n=Hh(n,i,r)})),n},$h=function(){function e(t){Ra(this,e),this.enabled=t.config.storage.enabled,this.key=t.config.storage.key}return _a(e,[{key:"get",value:function(t){if(!e.supported||!this.enabled)return null;var n=window.localStorage.getItem(this.key);if(Uu(n))return null;var i=JSON.parse(n);return Cu(t)&&t.length?i[t]:i}},{key:"set",value:function(t){if(e.supported&&this.enabled&&Eu(t)){var n=this.get();Uu(n)&&(n={}),Ku(n,t),window.localStorage.setItem(this.key,JSON.stringify(n))}}}],[{key:"supported",get:function(){try{if(!("localStorage"in window))return!1;var e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}]),e}();function Yh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise((function(n,i){try{var r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",(function(){if("text"===t)try{n(JSON.parse(r.responseText))}catch(e){n(r.responseText)}else n(r.response)})),r.addEventListener("error",(function(){throw new Error(r.status)})),r.open("GET",e,!0),r.responseType=t,r.send()}catch(e){i(e)}}))}function Gh(e,t){if(Cu(e)){var n="cache",i=Cu(t),r=function(){return null!==document.getElementById(t)},o=function(e,t){e.innerHTML=t,i&&r()||document.body.insertAdjacentElement("afterbegin",e)};if(!i||!r()){var a=$h.supported,s=document.createElement("div");if(s.setAttribute("hidden",""),i&&s.setAttribute("id",t),a){var l=window.localStorage.getItem("".concat(n,"-").concat(t));if(null!==l){var c=JSON.parse(l);o(s,c.content)}}Yh(e).then((function(e){Uu(e)||(a&&window.localStorage.setItem("".concat(n,"-").concat(t),JSON.stringify({content:e})),o(s,e))})).catch((function(){}))}}}var Xh=Math.ceil,Qh=Math.floor;Le({target:"Math",stat:!0},{trunc:function(e){return(e>0?Qh:Xh)(e)}});var Jh=function(e){return Math.trunc(e/60/60%60,10)},Zh=function(e){return Math.trunc(e/60%60,10)},ef=function(e){return Math.trunc(e%60,10)};function tf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!Au(e))return tf(void 0,t,n);var i=function(e){return"0".concat(e).slice(-2)},r=Jh(e),o=Zh(e),a=ef(e);return r=t||r>0?"".concat(r,":"):"","".concat(n&&e>0?"-":"").concat(r).concat(i(o),":").concat(i(a))}var nf={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||qu.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=ah.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:oh.call(this,this.config.selectors.buttons.play),pause:ah.call(this,this.config.selectors.buttons.pause),restart:ah.call(this,this.config.selectors.buttons.restart),rewind:ah.call(this,this.config.selectors.buttons.rewind),fastForward:ah.call(this,this.config.selectors.buttons.fastForward),mute:ah.call(this,this.config.selectors.buttons.mute),pip:ah.call(this,this.config.selectors.buttons.pip),airplay:ah.call(this,this.config.selectors.buttons.airplay),settings:ah.call(this,this.config.selectors.buttons.settings),captions:ah.call(this,this.config.selectors.buttons.captions),fullscreen:ah.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=ah.call(this,this.config.selectors.progress),this.elements.inputs={seek:ah.call(this,this.config.selectors.inputs.seek),volume:ah.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:ah.call(this,this.config.selectors.display.buffer),currentTime:ah.call(this,this.config.selectors.display.currentTime),duration:ah.call(this,this.config.selectors.display.duration)},Lu(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var n="http://www.w3.org/2000/svg",i=nf.getIconUrl.call(this),r="".concat(i.cors?"":i.url,"#").concat(this.config.iconPrefix),o=document.createElementNS(n,"svg");Yu(o,Ku(t,{"aria-hidden":"true",focusable:"false"}));var a=document.createElementNS(n,"use"),s="".concat(r,"-").concat(e);return"href"in a&&a.setAttributeNS("http://www.w3.org/1999/xlink","href",s),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s),o.appendChild(a),o},createLabel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Kh(e,this.config),i=Fa(Fa({},t),{},{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")});return Gu("span",i,n)},createBadge:function(e){if(Uu(e))return null;var t=Gu("span",{class:this.config.classNames.menu.value});return t.appendChild(Gu("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var n=this,i=Ku({},t),r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(e=Vh(e)).charAt(0).toLowerCase()+e.slice(1)}(e),o={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach((function(e){Object.keys(i).includes(e)&&(o[e]=i[e],delete i[e])})),"button"!==o.element||Object.keys(i).includes("type")||(i.type="button"),Object.keys(i).includes("class")?i.class.split(" ").some((function(e){return e===n.config.classNames.control}))||Ku(i,{class:"".concat(i.class," ").concat(this.config.classNames.control)}):i.class=this.config.classNames.control,e){case"play":o.toggle=!0,o.label="play",o.labelPressed="pause",o.icon="play",o.iconPressed="pause";break;case"mute":o.toggle=!0,o.label="mute",o.labelPressed="unmute",o.icon="volume",o.iconPressed="muted";break;case"captions":o.toggle=!0,o.label="enableCaptions",o.labelPressed="disableCaptions",o.icon="captions-off",o.iconPressed="captions-on";break;case"fullscreen":o.toggle=!0,o.label="enterFullscreen",o.labelPressed="exitFullscreen",o.icon="enter-fullscreen",o.iconPressed="exit-fullscreen";break;case"play-large":i.class+=" ".concat(this.config.classNames.control,"--overlaid"),r="play",o.label="play",o.icon="play";break;default:Uu(o.label)&&(o.label=r),Uu(o.icon)&&(o.icon=e)}var a=Gu(o.element);return o.toggle?(a.appendChild(nf.createIcon.call(this,o.iconPressed,{class:"icon--pressed"})),a.appendChild(nf.createIcon.call(this,o.icon,{class:"icon--not-pressed"})),a.appendChild(nf.createLabel.call(this,o.labelPressed,{class:"label--pressed"})),a.appendChild(nf.createLabel.call(this,o.label,{class:"label--not-pressed"}))):(a.appendChild(nf.createIcon.call(this,o.icon)),a.appendChild(nf.createLabel.call(this,o.label))),Ku(i,eh(this.config.selectors.buttons[r],i)),Yu(a,i),"play"===r?(Ou(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(a)):this.elements.buttons[r]=a,a},createRange:function(e,t){var n=Gu("input",Ku(eh(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":Kh(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,nf.updateRangeFill.call(this,n),Hl.setup(n),n},createProgress:function(e,t){var n=Gu("progress",Ku(eh(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(Gu("span",null,"0"));var i={played:"played",buffer:"buffered"}[e],r=i?Kh(i,this.config):"";n.innerText="% ".concat(r.toLowerCase())}return this.elements.display[e]=n,n},createTime:function(e,t){var n=eh(this.config.selectors.display[e],t),i=Gu("div",Ku(n,{class:"".concat(n.class?n.class:""," ").concat(this.config.classNames.display.time," ").trim(),"aria-label":Kh(e,this.config)}),"00:00");return this.elements.display[e]=i,i},bindMenuItemShortcuts:function(e,t){var n=this;dh.call(this,e,"keydown keyup",(function(i){if([32,38,39,40].includes(i.which)&&(i.preventDefault(),i.stopPropagation(),"keydown"!==i.type)){var r,o=rh(e,'[role="menuitemradio"]');if(!o&&[32,39].includes(i.which))nf.showMenuPanel.call(n,t,!0);else 32!==i.which&&(40===i.which||o&&39===i.which?(r=e.nextElementSibling,Lu(r)||(r=e.parentNode.firstElementChild)):(r=e.previousElementSibling,Lu(r)||(r=e.parentNode.lastElementChild)),sh.call(n,r,!0))}}),!1),dh.call(this,e,"keyup",(function(e){13===e.which&&nf.focusFirstMenuItem.call(n,null,!0)}))},createMenuItem:function(e){var t=this,n=e.value,i=e.list,r=e.type,o=e.title,a=e.badge,s=void 0===a?null:a,l=e.checked,c=void 0!==l&&l,u=eh(this.config.selectors.inputs[r]),h=Gu("button",Ku(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:n})),f=Gu("span");f.innerHTML=o,Lu(s)&&f.appendChild(s),h.appendChild(f),Object.defineProperty(h,"checked",{enumerable:!0,get:function(){return"true"===h.getAttribute("aria-checked")},set:function(e){e&&Array.from(h.parentNode.children).filter((function(e){return rh(e,'[role="menuitemradio"]')})).forEach((function(e){return e.setAttribute("aria-checked","false")})),h.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(h,"click keyup",(function(e){if(!Nu(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),h.checked=!0,r){case"language":t.currentTrack=Number(n);break;case"quality":t.quality=n;break;case"speed":t.speed=parseFloat(n)}nf.showMenuPanel.call(t,"home",Nu(e))}}),r,!1),nf.bindMenuItemShortcuts.call(this,h,r),i.appendChild(h)},formatTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Au(e))return e;var n=Jh(this.duration)>0;return tf(e,n,t)},updateTimeDisplay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Lu(e)&&Au(t)&&(e.innerText=nf.formatTime(t,n))},updateVolume:function(){this.supported.ui&&(Lu(this.elements.inputs.volume)&&nf.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),Lu(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Lu(e)&&(e.value=t,nf.updateRangeFill.call(this,e))},updateProgress:function(e){var t=this;if(this.supported.ui&&ju(e)){var n=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":n=function(e,t){return 0===e||0===t||Number.isNaN(e)||Number.isNaN(t)?0:(e/t*100).toFixed(2)}(this.currentTime,this.duration),"timeupdate"===e.type&&nf.setRange.call(this,this.elements.inputs.seek,n);break;case"playing":case"progress":!function(e,n){var i=Au(n)?n:0,r=Lu(e)?e:t.elements.display.buffer;if(Lu(r)){r.value=i;var o=r.getElementsByTagName("span")[0];Lu(o)&&(o.childNodes[0].nodeValue=i)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=ju(e)?e.target:e;if(Lu(t)&&"range"===t.getAttribute("type")){if(rh(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var n=nf.formatTime(this.currentTime),i=nf.formatTime(this.duration),r=Kh("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",n).replace("{duration}",i))}else if(rh(t,this.config.selectors.inputs.volume)){var o=100*t.value;t.setAttribute("aria-valuenow",o),t.setAttribute("aria-valuetext","".concat(o.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);qu.isWebkit&&t.style.setProperty("--value","".concat(t.value/t.max*100,"%"))}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&Lu(this.elements.inputs.seek)&&Lu(this.elements.display.seekTooltip)&&0!==this.duration){var n="".concat(this.config.classNames.tooltip,"--visible"),i=function(e){return nh(t.elements.display.seekTooltip,n,e)};if(this.touch)i(!1);else{var r=0,o=this.elements.progress.getBoundingClientRect();if(ju(e))r=100/o.width*(e.pageX-o.left);else{if(!ih(this.elements.display.seekTooltip,n))return;r=parseFloat(this.elements.display.seekTooltip.style.left,10)}r<0?r=0:r>100&&(r=100),nf.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*r),this.elements.display.seekTooltip.style.left="".concat(r,"%"),ju(e)&&["mouseenter","mouseleave"].includes(e.type)&&i("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!Lu(this.elements.display.duration)&&this.config.invertTime;nf.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||nf.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return th(this.elements.display.currentTime,!0),void th(this.elements.progress,!0);Lu(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=Lu(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&nf.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&nf.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),nf.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){th(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,n){var i=this.elements.settings.panels[e],r=null,o=t;if("captions"===e)r=this.currentTrack;else{if(r=Uu(n)?this[e]:n,Uu(r)&&(r=this.config[e].default),!Uu(this.options[e])&&!this.options[e].includes(r))return void this.debug.warn("Unsupported value of '".concat(r,"' for ").concat(e));if(!this.config[e].options.includes(r))return void this.debug.warn("Disabled value of '".concat(r,"' for ").concat(e))}if(Lu(o)||(o=i&&i.querySelector('[role="menu"]')),Lu(o)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=nf.getLabel.call(this,e,r);var a=o&&o.querySelector('[value="'.concat(r,'"]'));Lu(a)&&(a.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?Kh("normal",this.config):"".concat(t,"&times;");case"quality":if(Au(t)){var n=Kh("qualityLabel.".concat(t),this.config);return n.length?n:"".concat(t,"p")}return Bh(t);case"captions":return af.getLabel.call(this);default:return null}},setQualityMenu:function(e){var t=this;if(Lu(this.elements.settings.panels.quality)){var n="quality",i=this.elements.settings.panels.quality.querySelector('[role="menu"]');Ou(e)&&(this.options.quality=Ah(e).filter((function(e){return t.config.quality.options.includes(e)})));var r=!Uu(this.options.quality)&&this.options.quality.length>1;if(nf.toggleMenuButton.call(this,n,r),Ju(i),nf.checkMenu.call(this),r){var o=function(e){var n=Kh("qualityBadge.".concat(e),t.config);return n.length?nf.createBadge.call(t,n):null};this.options.quality.sort((function(e,n){var i=t.config.quality.options;return i.indexOf(e)>i.indexOf(n)?1:-1})).forEach((function(e){nf.createMenuItem.call(t,{value:e,list:i,type:n,title:nf.getLabel.call(t,"quality",e),badge:o(e)})})),nf.updateSetting.call(this,n,i)}}},setCaptionsMenu:function(){var e=this;if(Lu(this.elements.settings.panels.captions)){var t="captions",n=this.elements.settings.panels.captions.querySelector('[role="menu"]'),i=af.getTracks.call(this),r=Boolean(i.length);if(nf.toggleMenuButton.call(this,t,r),Ju(n),nf.checkMenu.call(this),r){var o=i.map((function(t,i){return{value:i,checked:e.captions.toggled&&e.currentTrack===i,title:af.getLabel.call(e,t),badge:t.language&&nf.createBadge.call(e,t.language.toUpperCase()),list:n,type:"language"}}));o.unshift({value:-1,checked:!this.captions.toggled,title:Kh("disabled",this.config),list:n,type:"language"}),o.forEach(nf.createMenuItem.bind(this)),nf.updateSetting.call(this,t,n)}}},setSpeedMenu:function(){var e=this;if(Lu(this.elements.settings.panels.speed)){var t="speed",n=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter((function(t){return t>=e.minimumSpeed&&t<=e.maximumSpeed}));var i=!Uu(this.options.speed)&&this.options.speed.length>1;nf.toggleMenuButton.call(this,t,i),Ju(n),nf.checkMenu.call(this),i&&(this.options.speed.forEach((function(i){nf.createMenuItem.call(e,{value:i,list:n,type:t,title:nf.getLabel.call(e,"speed",i)})})),nf.updateSetting.call(this,t,n))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!Uu(e)&&Object.values(e).some((function(e){return!e.hidden}));th(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=e;Lu(n)||(n=Object.values(this.elements.settings.panels).find((function(e){return!e.hidden})));var i=n.querySelector('[role^="menuitem"]');sh.call(this,i,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,n=this.elements.buttons.settings;if(Lu(t)&&Lu(n)){var i=t.hidden,r=i;if(Pu(e))r=e;else if(Nu(e)&&27===e.which)r=!1;else if(ju(e)){var o=xu(e.composedPath)?e.composedPath()[0]:e.target,a=t.contains(o);if(a||!a&&e.target!==n&&r)return}n.setAttribute("aria-expanded",r),th(t,!r),nh(this.elements.container,this.config.classNames.menu.open,r),r&&Nu(e)?nf.focusFirstMenuItem.call(this,null,!0):r||i||sh.call(this,n,Nu(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var n=t.scrollWidth,i=t.scrollHeight;return Qu(t),{width:n,height:i}},showMenuPanel:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.elements.container.querySelector("#plyr-settings-".concat(this.id,"-").concat(t));if(Lu(i)){var r=i.parentNode,o=Array.from(r.children).find((function(e){return!e.hidden}));if(uh.transitions&&!uh.reducedMotion){r.style.width="".concat(o.scrollWidth,"px"),r.style.height="".concat(o.scrollHeight,"px");var a=nf.getMenuSize.call(this,i),s=function t(n){n.target===r&&["width","height"].includes(n.propertyName)&&(r.style.width="",r.style.height="",ph.call(e,r,Du,t))};dh.call(this,r,Du,s),r.style.width="".concat(a.width,"px"),r.style.height="".concat(a.height,"px")}th(o,!0),th(i,!1),nf.focusFirstMenuItem.call(this,i,n)}},setDownloadUrl:function(){var e=this.elements.buttons.download;Lu(e)&&e.setAttribute("href",this.download)},create:function(e){var t=this,n=nf.bindMenuItemShortcuts,i=nf.createButton,r=nf.createProgress,o=nf.createRange,a=nf.createTime,s=nf.setQualityMenu,l=nf.setSpeedMenu,c=nf.showMenuPanel;this.elements.controls=null,Ou(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(i.call(this,"play-large"));var u=Gu("div",eh(this.config.selectors.controls.wrapper));this.elements.controls=u;var h={class:"plyr__controls__item"};return Ah(Ou(this.config.controls)?this.config.controls:[]).forEach((function(s){if("restart"===s&&u.appendChild(i.call(t,"restart",h)),"rewind"===s&&u.appendChild(i.call(t,"rewind",h)),"play"===s&&u.appendChild(i.call(t,"play",h)),"fast-forward"===s&&u.appendChild(i.call(t,"fast-forward",h)),"progress"===s){var l=Gu("div",{class:"".concat(h.class," plyr__progress__container")}),f=Gu("div",eh(t.config.selectors.progress));if(f.appendChild(o.call(t,"seek",{id:"plyr-seek-".concat(e.id)})),f.appendChild(r.call(t,"buffer")),t.config.tooltips.seek){var d=Gu("span",{class:t.config.classNames.tooltip},"00:00");f.appendChild(d),t.elements.display.seekTooltip=d}t.elements.progress=f,l.appendChild(t.elements.progress),u.appendChild(l)}if("current-time"===s&&u.appendChild(a.call(t,"currentTime",h)),"duration"===s&&u.appendChild(a.call(t,"duration",h)),"mute"===s||"volume"===s){var p=t.elements.volume;if(Lu(p)&&u.contains(p)||(p=Gu("div",Ku({},h,{class:"".concat(h.class," plyr__volume").trim()})),t.elements.volume=p,u.appendChild(p)),"mute"===s&&p.appendChild(i.call(t,"mute")),"volume"===s&&!qu.isIos){var m={max:1,step:.05,value:t.config.volume};p.appendChild(o.call(t,"volume",Ku(m,{id:"plyr-volume-".concat(e.id)})))}}if("captions"===s&&u.appendChild(i.call(t,"captions",h)),"settings"===s&&!Uu(t.config.settings)){var g=Gu("div",Ku({},h,{class:"".concat(h.class," plyr__menu").trim(),hidden:""}));g.appendChild(i.call(t,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(e.id),"aria-expanded":!1}));var v=Gu("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(e.id),hidden:""}),y=Gu("div"),b=Gu("div",{id:"plyr-settings-".concat(e.id,"-home")}),w=Gu("div",{role:"menu"});b.appendChild(w),y.appendChild(b),t.elements.settings.panels.home=b,t.config.settings.forEach((function(i){var r=Gu("button",Ku(eh(t.config.selectors.buttons.settings),{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));n.call(t,r,i),dh.call(t,r,"click",(function(){c.call(t,i,!1)}));var o=Gu("span",null,Kh(i,t.config)),a=Gu("span",{class:t.config.classNames.menu.value});a.innerHTML=e[i],o.appendChild(a),r.appendChild(o),w.appendChild(r);var s=Gu("div",{id:"plyr-settings-".concat(e.id,"-").concat(i),hidden:""}),l=Gu("button",{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--back")});l.appendChild(Gu("span",{"aria-hidden":!0},Kh(i,t.config))),l.appendChild(Gu("span",{class:t.config.classNames.hidden},Kh("menuBack",t.config))),dh.call(t,s,"keydown",(function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),c.call(t,"home",!0))}),!1),dh.call(t,l,"click",(function(){c.call(t,"home",!1)})),s.appendChild(l),s.appendChild(Gu("div",{role:"menu"})),y.appendChild(s),t.elements.settings.buttons[i]=r,t.elements.settings.panels[i]=s})),v.appendChild(y),g.appendChild(v),u.appendChild(g),t.elements.settings.popup=v,t.elements.settings.menu=g}if("pip"===s&&uh.pip&&u.appendChild(i.call(t,"pip",h)),"airplay"===s&&uh.airplay&&u.appendChild(i.call(t,"airplay",h)),"download"===s){var k=Ku({},h,{element:"a",href:t.download,target:"_blank"});t.isHTML5&&(k.download="");var T=t.config.urls.download;!_u(T)&&t.isEmbed&&Ku(k,{icon:"logo-".concat(t.provider),label:t.provider}),u.appendChild(i.call(t,"download",k))}"fullscreen"===s&&u.appendChild(i.call(t,"fullscreen",h))})),this.isHTML5&&s.call(this,Eh.getQualityOptions.call(this)),l.call(this),u},inject:function(){var e=this;if(this.config.loadSprite){var t=nf.getIconUrl.call(this);t.cors&&Gh(t.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var i={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;xu(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),Lu(this.config.controls)||Cu(this.config.controls)?n=this.config.controls:(n=nf.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:af.getLabel.call(this)}),r=!1);var o,a;if(r&&Cu(this.config.controls)&&(o=n,Object.entries(i).forEach((function(e){var t=Ha(e,2),n=t[0],i=t[1];o=Hh(o,"{".concat(n,"}"),i)})),n=o),Cu(this.config.selectors.controls.container)&&(a=document.querySelector(this.config.selectors.controls.container)),Lu(a)||(a=this.elements.container),a[Lu(n)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",n),Lu(this.elements.controls)||nf.findElements.call(this),!Uu(this.elements.buttons)){var s=function(t){var n=e.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return ih(t,n)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];nh(t,n,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach((function(e){Ou(e)||Iu(e)?Array.from(e).filter(Boolean).forEach(s):s(e)}))}if(qu.isEdge&&Fu(a),this.config.tooltips.controls){var l=this.config,c=l.classNames,u=l.selectors,h="".concat(u.controls.wrapper," ").concat(u.labels," .").concat(c.hidden),f=oh.call(this,h);Array.from(f).forEach((function(t){nh(t,e.config.classNames.hidden,!1),nh(t,e.config.classNames.tooltip,!0)}))}}};function rf(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e;if(t){var i=document.createElement("a");i.href=n,n=i.href}try{return new URL(n)}catch(e){return null}}function of(e){var t=new URLSearchParams;return Eu(e)&&Object.entries(e).forEach((function(e){var n=Ha(e,2),i=n[0],r=n[1];t.set(i,r)})),t}var af={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!uh.textTracks)Ou(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&nf.setCaptionsMenu.call(this);else{if(Lu(this.elements.captions)||(this.elements.captions=Gu("div",eh(this.config.selectors.captions)),function(e,t){Lu(e)&&Lu(t)&&t.parentNode.insertBefore(e,t.nextSibling)}(this.elements.captions,this.elements.wrapper)),qu.isIE&&window.URL){var e=this.media.querySelectorAll("track");Array.from(e).forEach((function(e){var t=e.getAttribute("src"),n=rf(t);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&Yh(t,"blob").then((function(t){e.setAttribute("src",window.URL.createObjectURL(t))})).catch((function(){Qu(e)}))}))}var t=Ah((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map((function(e){return e.split("-")[0]}))),n=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();if("auto"===n)n=Ha(t,1)[0];var i=this.storage.get("captions");if(Pu(i)||(i=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:i,language:n,languages:t}),this.isHTML5){var r=this.config.captions.update?"addtrack removetrack":"removetrack";dh.call(this,this.media.textTracks,r,af.update.bind(this))}setTimeout(af.update.bind(this),0)}},update:function(){var e=this,t=af.getTracks.call(this,!0),n=this.captions,i=n.active,r=n.language,o=n.meta,a=n.currentTrackNode,s=Boolean(t.find((function(e){return e.language===r})));this.isHTML5&&this.isVideo&&t.filter((function(e){return!o.get(e)})).forEach((function(t){e.debug.log("Track added",t),o.set(t,{default:"showing"===t.mode}),"showing"===t.mode&&(t.mode="hidden"),dh.call(e,t,"cuechange",(function(){return af.updateCues.call(e)}))})),(s&&this.language!==r||!t.includes(a))&&(af.setLanguage.call(this,r),af.toggle.call(this,i&&s)),nh(this.elements.container,this.config.classNames.captions.enabled,!Uu(t)),Ou(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&nf.setCaptionsMenu.call(this)},toggle:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var i=this.captions.toggled,r=this.config.classNames.captions.active,o=Su(e)?!i:e;if(o!==i){if(n||(this.captions.active=o,this.storage.set({captions:o})),!this.language&&o&&!n){var a=af.getTracks.call(this),s=af.findTrack.call(this,[this.captions.language].concat(Ba(this.captions.languages)),!0);return this.captions.language=s.language,void af.set.call(this,a.indexOf(s))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=o),nh(this.elements.container,r,o),this.captions.toggled=o,nf.updateSetting.call(this,"captions"),gh.call(this,this.media,o?"captionsenabled":"captionsdisabled")}setTimeout((function(){o&&t.captions.toggled&&(t.captions.currentTrackNode.mode="hidden")}))}},set:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=af.getTracks.call(this);if(-1!==e)if(Au(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var i=n[e],r=i||{},o=r.language;this.captions.currentTrackNode=i,nf.updateSetting.call(this,"captions"),t||(this.captions.language=o,this.storage.set({language:o})),this.isVimeo&&this.embed.enableTextTrack(o),gh.call(this,this.media,"languagechange")}af.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&af.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else af.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(Cu(e)){var n=e.toLowerCase();this.captions.language=n;var i=af.getTracks.call(this),r=af.findTrack.call(this,[n]);af.set.call(this,i.indexOf(r),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=Array.from((this.media||{}).textTracks||[]);return n.filter((function(n){return!e.isHTML5||t||e.captions.meta.has(n)})).filter((function(e){return["captions","subtitles"].includes(e.kind)}))},findTrack:function(e){var t,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=af.getTracks.call(this),o=function(e){return Number((n.captions.meta.get(e)||{}).default)},a=Array.from(r).sort((function(e,t){return o(t)-o(e)}));return e.every((function(e){return!(t=a.find((function(t){return t.language===e})))})),t||(i?a[0]:void 0)},getCurrentTrack:function(){return af.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!Ru(t)&&uh.textTracks&&this.captions.toggled&&(t=af.getCurrentTrack.call(this)),Ru(t)?Uu(t.label)?Uu(t.language)?Kh("enabled",this.config):e.language.toUpperCase():t.label:Kh("disabled",this.config)},updateCues:function(e){if(this.supported.ui)if(Lu(this.elements.captions))if(Su(e)||Array.isArray(e)){var t=e;if(!t){var n=af.getCurrentTrack.call(this);t=Array.from((n||{}).activeCues||[]).map((function(e){return e.getCueAsHTML()})).map(zh)}var i=t.map((function(e){return e.trim()})).join("\n");if(i!==this.elements.captions.innerHTML){Ju(this.elements.captions);var r=Gu("span",eh(this.config.selectors.caption));r.innerHTML=i,this.elements.captions.appendChild(r),gh.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},sf={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.6.3/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1}},lf="picture-in-picture",cf="inline",uf={html5:"html5",youtube:"youtube",vimeo:"vimeo"},hf="audio",ff="video";var df=function(){},pf=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Ra(this,e),this.enabled=window.console&&t,this.enabled&&this.log("Debugging enabled")}return _a(e,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):df}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):df}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):df}}]),e}(),mf=function(){function e(t){var n=this;Ra(this,e),this.player=t,this.prefix=e.prefix,this.property=e.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===t.config.fullscreen.fallback,this.player.elements.fullscreen=t.config.fullscreen.container&&function(e,t){return(Element.prototype.closest||function(){var e=this;do{if(rh.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,t.config.fullscreen.container),dh.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),(function(){n.onChange()})),dh.call(this.player,this.player.elements.container,"dblclick",(function(e){Lu(n.player.elements.controls)&&n.player.elements.controls.contains(e.target)||n.player.listeners.proxy(e,n.toggle,"fullscreen")})),dh.call(this,this.player.elements.container,"keydown",(function(e){return n.trapFocus(e)})),this.update()}return _a(e,[{key:"onChange",value:function(){if(this.enabled){var e=this.player.elements.buttons.fullscreen;Lu(e)&&(e.pressed=this.active);var t=this.target===this.player.media?this.target:this.player.elements.container;gh.call(this.player,t,this.active?"enterfullscreen":"exitfullscreen",!0)}}},{key:"toggleFallback",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",nh(this.target,this.player.config.classNames.fullscreen.fallback,e),qu.isIos){var t=document.head.querySelector('meta[name="viewport"]'),n="viewport-fit=cover";t||(t=document.createElement("meta")).setAttribute("name","viewport");var i=Cu(t.content)&&t.content.includes(n);e?(this.cleanupViewport=!i,i||(t.content+=",".concat(n))):this.cleanupViewport&&(t.content=t.content.split(",").filter((function(e){return e.trim()!==n})).join(","))}this.onChange()}},{key:"trapFocus",value:function(e){if(!qu.isIos&&this.active&&"Tab"===e.key&&9===e.keyCode){var t=document.activeElement,n=oh.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),i=Ha(n,1)[0],r=n[n.length-1];t!==r||e.shiftKey?t===i&&e.shiftKey&&(r.focus(),e.preventDefault()):(i.focus(),e.preventDefault())}}},{key:"update",value:function(){var t;this.enabled?(t=this.forceFallback?"Fallback (forced)":e.native?"Native":"Fallback",this.player.debug.log("".concat(t," fullscreen enabled"))):this.player.debug.log("Fullscreen not supported and fallback disabled");nh(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(qu.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():!e.native||this.forceFallback?this.toggleFallback(!0):this.prefix?Uu(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen({navigationUI:"hide"}))}},{key:"exit",value:function(){if(this.enabled)if(qu.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),bh(this.player.play());else if(!e.native||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!Uu(this.prefix)){var t="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(t).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"usingNative",get:function(){return e.native&&!this.forceFallback}},{key:"enabled",get:function(){return(e.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){if(!this.enabled)return!1;if(!e.native||this.forceFallback)return ih(this.target,this.player.config.classNames.fullscreen.fallback);var t=this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement;return t&&t.shadowRoot?t===this.target.getRootNode().host:t===this.target}},{key:"target",get:function(){return qu.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(xu(document.exitFullscreen))return"";var e="";return["webkit","moz","ms"].some((function(t){return!(!xu(document["".concat(t,"ExitFullscreen")])&&!xu(document["".concat(t,"CancelFullScreen")]))&&(e=t,!0)})),e}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),e}(),gf=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1};function vf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise((function(n,i){var r=new Image,o=function(){delete r.onload,delete r.onerror,(r.naturalWidth>=t?n:i)(r)};Object.assign(r,{onload:o,onerror:o,src:e})}))}Le({target:"Math",stat:!0},{sign:gf});var yf={addStyleHook:function(){nh(this.elements.container,this.config.selectors.container.replace(".",""),!0),nh(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void yf.toggleNativeControls.call(this,!0);Lu(this.elements.controls)||(nf.inject.call(this),this.listeners.controls()),yf.toggleNativeControls.call(this),this.isHTML5&&af.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,nf.updateVolume.call(this),nf.timeUpdate.call(this),yf.checkPlaying.call(this),nh(this.elements.container,this.config.classNames.pip.supported,uh.pip&&this.isHTML5&&this.isVideo),nh(this.elements.container,this.config.classNames.airplay.supported,uh.airplay&&this.isHTML5),nh(this.elements.container,this.config.classNames.isIos,qu.isIos),nh(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((function(){gh.call(e,e.media,"ready")}),0),yf.setTitle.call(this),this.poster&&yf.setPoster.call(this,this.poster,!1).catch((function(){})),this.config.duration&&nf.durationUpdate.call(this)},setTitle:function(){var e=Kh("play",this.config);if(Cu(this.config.title)&&!Uu(this.config.title)&&(e+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach((function(t){t.setAttribute("aria-label",e)})),this.isEmbed){var t=ah.call(this,"iframe");if(!Lu(t))return;var n=Uu(this.config.title)?"video":this.config.title,i=Kh("frameTitle",this.config);t.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(e){nh(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),yh.call(this).then((function(){return vf(e)})).catch((function(n){throw e===t.poster&&yf.togglePoster.call(t,!1),n})).then((function(){if(e!==t.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((function(){return Object.assign(t.elements.poster.style,{backgroundImage:"url('".concat(e,"')"),backgroundSize:""}),yf.togglePoster.call(t,!0),e})))},checkPlaying:function(e){var t=this;nh(this.elements.container,this.config.classNames.playing,this.playing),nh(this.elements.container,this.config.classNames.paused,this.paused),nh(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((function(e){Object.assign(e,{pressed:t.playing}),e.setAttribute("aria-label",Kh(t.playing?"pause":"play",t.config))})),ju(e)&&"timeupdate"===e.type||yf.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((function(){nh(t.elements.container,t.config.classNames.loading,t.loading),yf.toggleControls.call(t)}),this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}},migrateStyles:function(){var e=this;Object.values(Fa({},this.media.style)).filter((function(e){return!Uu(e)&&Cu(e)&&e.startsWith("--plyr")})).forEach((function(t){e.elements.container.style.setProperty(t,e.media.style.getPropertyValue(t)),e.media.style.removeProperty(t)})),Uu(this.media.style)&&this.media.removeAttribute("style")}},bf=function(){function e(t){Ra(this,e),this.player=t,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return _a(e,[{key:"handleKey",value:function(e){var t=this.player,n=t.elements,i=e.keyCode?e.keyCode:e.which,r="keydown"===e.type,o=r&&i===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&Au(i)){if(r){var a=document.activeElement;if(Lu(a)){var s=t.config.selectors.editable;if(a!==n.inputs.seek&&rh(a,s))return;if(32===e.which&&rh(a,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(e.preventDefault(),e.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:o||(t.currentTime=t.duration/10*(i-48));break;case 32:case 75:o||bh(t.togglePlay());break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:o||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:o||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===i&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}}},{key:"toggleMenu",value:function(e){nf.toggleMenu.call(this.player,e)}},{key:"firstTouch",value:function(){var e=this.player,t=e.elements;e.touch=!0,nh(t.container,e.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(e){var t=this.player,n=t.elements;if(clearTimeout(this.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(this.lastKeyDown=e.timeStamp);var i,r=e.timeStamp-this.lastKeyDown<=20;if("focus"!==e.type||r)i=t.config.classNames.tabFocus,nh(oh.call(t,".".concat(i)),i,!1),"focusout"!==e.type&&(this.focusTimer=setTimeout((function(){var e=document.activeElement;n.container.contains(e)&&nh(document.activeElement,t.config.classNames.tabFocus,!0)}),10))}}},{key:"global",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.player;t.config.keyboard.global&&fh.call(t,window,"keydown keyup",this.handleKey,e,!1),fh.call(t,document.body,"click",this.toggleMenu,e),mh.call(t,document.body,"touchstart",this.firstTouch),fh.call(t,document.body,"keydown focus blur focusout",this.setTabFocus,e,!1,!0)}},{key:"container",value:function(){var e=this.player,t=e.config,n=e.elements,i=e.timers;!t.keyboard.global&&t.keyboard.focused&&dh.call(e,n.container,"keydown keyup",this.handleKey,!1),dh.call(e,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(function(t){var r=n.controls;r&&"enterfullscreen"===t.type&&(r.pressed=!1,r.hover=!1);var o=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(yf.toggleControls.call(e,!0),o=e.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout((function(){return yf.toggleControls.call(e,!1)}),o)}));var r=function(t){if(!t)return Sh.call(e);var i=n.container.getBoundingClientRect(),r=i.width,o=i.height;return Sh.call(e,"".concat(r,":").concat(o))},o=function(){clearTimeout(i.resized),i.resized=setTimeout(r,50)};dh.call(e,n.container,"enterfullscreen exitfullscreen",(function(t){var i=e.fullscreen,a=i.target,s=i.usingNative;if(a===n.container&&(e.isEmbed||!Uu(e.config.ratio))){var l="enterfullscreen"===t.type,c=r(l);c.padding;!function(t,n,i){if(e.isVimeo&&!e.config.vimeo.premium){var r=e.elements.wrapper.firstChild,o=Ha(t,2)[1],a=Ha(Th.call(e),2),s=a[0],l=a[1];r.style.maxWidth=i?"".concat(o/l*s,"px"):null,r.style.margin=i?"0 auto":null}}(c.ratio,0,l),l&&setTimeout((function(){return Fu(n.container)}),100),s||(l?dh.call(e,window,"resize",o):ph.call(e,window,"resize",o))}}))}},{key:"media",value:function(){var e=this,t=this.player,n=t.elements;if(dh.call(t,t.media,"timeupdate seeking seeked",(function(e){return nf.timeUpdate.call(t,e)})),dh.call(t,t.media,"durationchange loadeddata loadedmetadata",(function(e){return nf.durationUpdate.call(t,e)})),dh.call(t,t.media,"ended",(function(){t.isHTML5&&t.isVideo&&t.config.resetOnEnd&&(t.restart(),t.pause())})),dh.call(t,t.media,"progress playing seeking seeked",(function(e){return nf.updateProgress.call(t,e)})),dh.call(t,t.media,"volumechange",(function(e){return nf.updateVolume.call(t,e)})),dh.call(t,t.media,"playing play pause ended emptied timeupdate",(function(e){return yf.checkPlaying.call(t,e)})),dh.call(t,t.media,"waiting canplay seeked playing",(function(e){return yf.checkLoading.call(t,e)})),t.supported.ui&&t.config.clickToPlay&&!t.isAudio){var i=ah.call(t,".".concat(t.config.classNames.video));if(!Lu(i))return;dh.call(t,n.container,"click",(function(r){([n.container,i].includes(r.target)||i.contains(r.target))&&(t.touch&&t.config.hideControls||(t.ended?(e.proxy(r,t.restart,"restart"),e.proxy(r,(function(){bh(t.play())}),"play")):e.proxy(r,(function(){bh(t.togglePlay())}),"play")))}))}t.supported.ui&&t.config.disableContextMenu&&dh.call(t,n.wrapper,"contextmenu",(function(e){e.preventDefault()}),!1),dh.call(t,t.media,"volumechange",(function(){t.storage.set({volume:t.volume,muted:t.muted})})),dh.call(t,t.media,"ratechange",(function(){nf.updateSetting.call(t,"speed"),t.storage.set({speed:t.speed})})),dh.call(t,t.media,"qualitychange",(function(e){nf.updateSetting.call(t,"quality",null,e.detail.quality)})),dh.call(t,t.media,"ready qualitychange",(function(){nf.setDownloadUrl.call(t)}));var r=t.config.events.concat(["keyup","keydown"]).join(" ");dh.call(t,t.media,r,(function(e){var i=e.detail,r=void 0===i?{}:i;"error"===e.type&&(r=t.media.error),gh.call(t,n.container,e.type,!0,r)}))}},{key:"proxy",value:function(e,t,n){var i=this.player,r=i.config.listeners[n],o=!0;xu(r)&&(o=r.call(i,e)),!1!==o&&xu(t)&&t.call(i,e)}},{key:"bind",value:function(e,t,n,i){var r=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.player,s=a.config.listeners[i],l=xu(s);dh.call(a,e,t,(function(e){return r.proxy(e,n,i)}),o&&!l)}},{key:"controls",value:function(){var e=this,t=this.player,n=t.elements,i=qu.isIE?"change":"input";if(n.buttons.play&&Array.from(n.buttons.play).forEach((function(n){e.bind(n,"click",(function(){bh(t.togglePlay())}),"play")})),this.bind(n.buttons.restart,"click",t.restart,"restart"),this.bind(n.buttons.rewind,"click",(function(){t.lastSeekTime=Date.now(),t.rewind()}),"rewind"),this.bind(n.buttons.fastForward,"click",(function(){t.lastSeekTime=Date.now(),t.forward()}),"fastForward"),this.bind(n.buttons.mute,"click",(function(){t.muted=!t.muted}),"mute"),this.bind(n.buttons.captions,"click",(function(){return t.toggleCaptions()})),this.bind(n.buttons.download,"click",(function(){gh.call(t,t.media,"download")}),"download"),this.bind(n.buttons.fullscreen,"click",(function(){t.fullscreen.toggle()}),"fullscreen"),this.bind(n.buttons.pip,"click",(function(){t.pip="toggle"}),"pip"),this.bind(n.buttons.airplay,"click",t.airplay,"airplay"),this.bind(n.buttons.settings,"click",(function(e){e.stopPropagation(),e.preventDefault(),nf.toggleMenu.call(t,e)}),null,!1),this.bind(n.buttons.settings,"keyup",(function(e){var n=e.which;[13,32].includes(n)&&(13!==n?(e.preventDefault(),e.stopPropagation(),nf.toggleMenu.call(t,e)):nf.focusFirstMenuItem.call(t,null,!0))}),null,!1),this.bind(n.settings.menu,"keydown",(function(e){27===e.which&&nf.toggleMenu.call(t,e)})),this.bind(n.inputs.seek,"mousedown mousemove",(function(e){var t=n.progress.getBoundingClientRect(),i=100/t.width*(e.pageX-t.left);e.currentTarget.setAttribute("seek-value",i)})),this.bind(n.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(function(e){var n=e.currentTarget,i=e.keyCode?e.keyCode:e.which,r="play-on-seeked";if(!Nu(e)||39===i||37===i){t.lastSeekTime=Date.now();var o=n.hasAttribute(r),a=["mouseup","touchend","keyup"].includes(e.type);o&&a?(n.removeAttribute(r),bh(t.play())):!a&&t.playing&&(n.setAttribute(r,""),t.pause())}})),qu.isIos){var r=oh.call(t,'input[type="range"]');Array.from(r).forEach((function(t){return e.bind(t,i,(function(e){return Fu(e.target)}))}))}this.bind(n.inputs.seek,i,(function(e){var n=e.currentTarget,i=n.getAttribute("seek-value");Uu(i)&&(i=n.value),n.removeAttribute("seek-value"),t.currentTime=i/n.max*t.duration}),"seek"),this.bind(n.progress,"mouseenter mouseleave mousemove",(function(e){return nf.updateSeekTooltip.call(t,e)})),this.bind(n.progress,"mousemove touchmove",(function(e){var n=t.previewThumbnails;n&&n.loaded&&n.startMove(e)})),this.bind(n.progress,"mouseleave touchend click",(function(){var e=t.previewThumbnails;e&&e.loaded&&e.endMove(!1,!0)})),this.bind(n.progress,"mousedown touchstart",(function(e){var n=t.previewThumbnails;n&&n.loaded&&n.startScrubbing(e)})),this.bind(n.progress,"mouseup touchend",(function(e){var n=t.previewThumbnails;n&&n.loaded&&n.endScrubbing(e)})),qu.isWebkit&&Array.from(oh.call(t,'input[type="range"]')).forEach((function(n){e.bind(n,"input",(function(e){return nf.updateRangeFill.call(t,e.target)}))})),t.config.toggleInvert&&!Lu(n.display.duration)&&this.bind(n.display.currentTime,"click",(function(){0!==t.currentTime&&(t.config.invertTime=!t.config.invertTime,nf.timeUpdate.call(t))})),this.bind(n.inputs.volume,i,(function(e){t.volume=e.target.value}),"volume"),this.bind(n.controls,"mouseenter mouseleave",(function(e){n.controls.hover=!t.touch&&"mouseenter"===e.type})),n.fullscreen&&Array.from(n.fullscreen.children).filter((function(e){return!e.contains(n.container)})).forEach((function(i){e.bind(i,"mouseenter mouseleave",(function(e){n.controls.hover=!t.touch&&"mouseenter"===e.type}))})),this.bind(n.controls,"mousedown mouseup touchstart touchend touchcancel",(function(e){n.controls.pressed=["mousedown","touchstart"].includes(e.type)})),this.bind(n.controls,"focusin",(function(){var i=t.config,r=t.timers;nh(n.controls,i.classNames.noTransition,!0),yf.toggleControls.call(t,!0),setTimeout((function(){nh(n.controls,i.classNames.noTransition,!1)}),0);var o=e.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout((function(){return yf.toggleControls.call(t,!1)}),o)})),this.bind(n.inputs.volume,"wheel",(function(e){var n=e.webkitDirectionInvertedFromDevice,i=Ha([e.deltaX,-e.deltaY].map((function(e){return n?-e:e})),2),r=i[0],o=i[1],a=Math.sign(Math.abs(r)>Math.abs(o)?r:o);t.increaseVolume(a/50);var s=t.media.volume;(1===a&&s<1||-1===a&&s>0)&&e.preventDefault()}),"volume",!1)}}]),e}(),wf=Jn("splice"),kf=Zt("splice",{ACCESSORS:!0,0:0,1:2}),Tf=Math.max,Sf=Math.min,Ef=9007199254740991,Af="Maximum allowed length exceeded";Le({target:"Array",proto:!0,forced:!wf||!kf},{splice:function(e,t){var n,i,r,o,a,s,l=Me(this),c=ce(l.length),u=fe(e,c),h=arguments.length;if(0===h?n=i=0:1===h?(n=0,i=c-u):(n=h-2,i=Sf(Tf(se(t),0),c-u)),c+n-i>Ef)throw TypeError(Af);for(r=st(l,i),o=0;o<i;o++)(a=u+o)in l&&Wn(r,o,l[a]);if(r.length=i,n<i){for(o=u;o<c-i;o++)s=o+n,(a=o+i)in l?l[s]=l[a]:delete l[s];for(o=c;o>c-i+n;o--)delete l[o-1]}else if(n>i)for(o=c-i;o>u;o--)s=o+n-1,(a=o+i-1)in l?l[s]=l[a]:delete l[s];for(o=0;o<n;o++)l[o+u]=arguments[o+2];return l.length=c-i+n,r}});var Cf=t((function(e,t){e.exports=function(){var e=function(){},t={},n={},i={};function r(e,t){e=e.push?e:[e];var r,o,a,s=[],l=e.length,c=l;for(r=function(e,n){n.length&&s.push(e),--c||t(s)};l--;)o=e[l],(a=n[o])?r(o,a):(i[o]=i[o]||[]).push(r)}function o(e,t){if(e){var r=i[e];if(n[e]=t,r)for(;r.length;)r[0](e,t),r.splice(0,1)}}function a(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function s(t,n,i,r){var o,a,l=document,c=i.async,u=(i.numRetries||0)+1,h=i.before||e,f=t.replace(/[\?|#].*$/,""),d=t.replace(/^(css|img)!/,"");r=r||0,/(^css!|\.css$)/.test(f)?((a=l.createElement("link")).rel="stylesheet",a.href=d,(o="hideFocus"in a)&&a.relList&&(o=0,a.rel="preload",a.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(f)?(a=l.createElement("img")).src=d:((a=l.createElement("script")).src=t,a.async=void 0===c||c),a.onload=a.onerror=a.onbeforeload=function(e){var l=e.type[0];if(o)try{a.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((r+=1)<u)return s(t,n,i,r)}else if("preload"==a.rel&&"style"==a.as)return a.rel="stylesheet";n(t,l,e.defaultPrevented)},!1!==h(t,a)&&l.head.appendChild(a)}function l(e,t,n){var i,r,o=(e=e.push?e:[e]).length,a=o,l=[];for(i=function(e,n,i){if("e"==n&&l.push(e),"b"==n){if(!i)return;l.push(e)}--o||t(l)},r=0;r<a;r++)s(e[r],i,n)}function c(e,n,i){var r,s;if(n&&n.trim&&(r=n),s=(r?i:n)||{},r){if(r in t)throw"LoadJS";t[r]=!0}function c(t,n){l(e,(function(e){a(s,e),t&&a({success:t,error:n},e),o(r,e)}),s)}if(s.returnPromise)return new Promise(c);c()}return c.ready=function(e,t){return r(e,(function(e){a(t,e)})),c},c.done=function(e){o(e,[])},c.reset=function(){t={},n={},i={}},c.isDefined=function(e){return e in t},c}()}));function Pf(e){return new Promise((function(t,n){Cf(e,{success:t,error:n})}))}function xf(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,gh.call(this,this.media,e?"play":"pause"))}var Of={setup:function(){var e=this;nh(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,Sh.call(e),Eu(window.Vimeo)?Of.ready.call(e):Pf(e.config.urls.vimeo.sdk).then((function(){Of.ready.call(e)})).catch((function(t){e.debug.warn("Vimeo SDK (player.js) failed to load",t)}))},ready:function(){var e=this,t=this,n=t.config.vimeo,i=n.premium,r=n.referrerPolicy,o=qa(n,["premium","referrerPolicy"]);i&&Object.assign(o,{controls:!1,sidedock:!1});var a=of(Fa({loop:t.config.loop.active,autoplay:t.autoplay,muted:t.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative},o)),s=t.media.getAttribute("src");Uu(s)&&(s=t.media.getAttribute(t.config.attributes.embed.id));var l,c=Uu(l=s)?null:Au(Number(l))?l:l.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:l,u=Gu("iframe"),h=qh(t.config.urls.vimeo.iframe,c,a);if(u.setAttribute("src",h),u.setAttribute("allowfullscreen",""),u.setAttribute("allow","autoplay,fullscreen,picture-in-picture"),Uu(r)||u.setAttribute("referrerPolicy",r),i||!n.customControls)u.setAttribute("data-poster",t.poster),t.media=Zu(u,t.media);else{var f=Gu("div",{class:t.config.classNames.embedContainer,"data-poster":t.poster});f.appendChild(u),t.media=Zu(f,t.media)}n.customControls||Yh(qh(t.config.urls.vimeo.api,h)).then((function(e){!Uu(e)&&e.thumbnail_url&&yf.setPoster.call(t,e.thumbnail_url).catch((function(){}))})),t.embed=new window.Vimeo.Player(u,{autopause:t.config.autopause,muted:t.muted}),t.media.paused=!0,t.media.currentTime=0,t.supported.ui&&t.embed.disableTextTrack(),t.media.play=function(){return xf.call(t,!0),t.embed.play()},t.media.pause=function(){return xf.call(t,!1),t.embed.pause()},t.media.stop=function(){t.pause(),t.currentTime=0};var d=t.media.currentTime;Object.defineProperty(t.media,"currentTime",{get:function(){return d},set:function(e){var n=t.embed,i=t.media,r=t.paused,o=t.volume,a=r&&!n.hasPlayed;i.seeking=!0,gh.call(t,i,"seeking"),Promise.resolve(a&&n.setVolume(0)).then((function(){return n.setCurrentTime(e)})).then((function(){return a&&n.pause()})).then((function(){return a&&n.setVolume(o)})).catch((function(){}))}});var p=t.config.speed.selected;Object.defineProperty(t.media,"playbackRate",{get:function(){return p},set:function(e){t.embed.setPlaybackRate(e).then((function(){p=e,gh.call(t,t.media,"ratechange")})).catch((function(){t.options.speed=[1]}))}});var m=t.config.volume;Object.defineProperty(t.media,"volume",{get:function(){return m},set:function(e){t.embed.setVolume(e).then((function(){m=e,gh.call(t,t.media,"volumechange")}))}});var g=t.config.muted;Object.defineProperty(t.media,"muted",{get:function(){return g},set:function(e){var n=!!Pu(e)&&e;t.embed.setVolume(n?0:t.config.volume).then((function(){g=n,gh.call(t,t.media,"volumechange")}))}});var v,y=t.config.loop;Object.defineProperty(t.media,"loop",{get:function(){return y},set:function(e){var n=Pu(e)?e:t.config.loop.active;t.embed.setLoop(n).then((function(){y=n}))}}),t.embed.getVideoUrl().then((function(e){v=e,nf.setDownloadUrl.call(t)})).catch((function(t){e.debug.warn(t)})),Object.defineProperty(t.media,"currentSrc",{get:function(){return v}}),Object.defineProperty(t.media,"ended",{get:function(){return t.currentTime===t.duration}}),Promise.all([t.embed.getVideoWidth(),t.embed.getVideoHeight()]).then((function(n){var i=Ha(n,2),r=i[0],o=i[1];t.embed.ratio=[r,o],Sh.call(e)})),t.embed.setAutopause(t.config.autopause).then((function(e){t.config.autopause=e})),t.embed.getVideoTitle().then((function(n){t.config.title=n,yf.setTitle.call(e)})),t.embed.getCurrentTime().then((function(e){d=e,gh.call(t,t.media,"timeupdate")})),t.embed.getDuration().then((function(e){t.media.duration=e,gh.call(t,t.media,"durationchange")})),t.embed.getTextTracks().then((function(e){t.media.textTracks=e,af.setup.call(t)})),t.embed.on("cuechange",(function(e){var n=e.cues,i=(void 0===n?[]:n).map((function(e){return function(e){var t=document.createDocumentFragment(),n=document.createElement("div");return t.appendChild(n),n.innerHTML=e,t.firstChild.innerText}(e.text)}));af.updateCues.call(t,i)})),t.embed.on("loaded",(function(){(t.embed.getPaused().then((function(e){xf.call(t,!e),e||gh.call(t,t.media,"playing")})),Lu(t.embed.element)&&t.supported.ui)&&t.embed.element.setAttribute("tabindex",-1)})),t.embed.on("bufferstart",(function(){gh.call(t,t.media,"waiting")})),t.embed.on("bufferend",(function(){gh.call(t,t.media,"playing")})),t.embed.on("play",(function(){xf.call(t,!0),gh.call(t,t.media,"playing")})),t.embed.on("pause",(function(){xf.call(t,!1)})),t.embed.on("timeupdate",(function(e){t.media.seeking=!1,d=e.seconds,gh.call(t,t.media,"timeupdate")})),t.embed.on("progress",(function(e){t.media.buffered=e.percent,gh.call(t,t.media,"progress"),1===parseInt(e.percent,10)&&gh.call(t,t.media,"canplaythrough"),t.embed.getDuration().then((function(e){e!==t.media.duration&&(t.media.duration=e,gh.call(t,t.media,"durationchange"))}))})),t.embed.on("seeked",(function(){t.media.seeking=!1,gh.call(t,t.media,"seeked")})),t.embed.on("ended",(function(){t.media.paused=!0,gh.call(t,t.media,"ended")})),t.embed.on("error",(function(e){t.media.error=e,gh.call(t,t.media,"error")})),n.customControls&&setTimeout((function(){return yf.build.call(t)}),0)}};function If(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,gh.call(this,this.media,e?"play":"pause"))}function Lf(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}var jf={setup:function(){var e=this;if(nh(this.elements.wrapper,this.config.classNames.embed,!0),Eu(window.YT)&&xu(window.YT.Player))jf.ready.call(this);else{var t=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){xu(t)&&t(),jf.ready.call(e)},Pf(this.config.urls.youtube.sdk).catch((function(t){e.debug.warn("YouTube API failed to load",t)}))}},getTitle:function(e){var t=this;Yh(qh(this.config.urls.youtube.api,e)).then((function(e){if(Eu(e)){var n=e.title,i=e.height,r=e.width;t.config.title=n,yf.setTitle.call(t),t.embed.ratio=[r,i]}Sh.call(t)})).catch((function(){Sh.call(t)}))},ready:function(){var e=this,t=e.config.youtube,n=e.media&&e.media.getAttribute("id");if(Uu(n)||!n.startsWith("youtube-")){var i=e.media.getAttribute("src");Uu(i)&&(i=e.media.getAttribute(this.config.attributes.embed.id));var r,o,a=Uu(r=i)?null:r.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:r,s=Gu("div",{id:(o=e.provider,"".concat(o,"-").concat(Math.floor(1e4*Math.random()))),"data-poster":t.customControls?e.poster:void 0});if(e.media=Zu(s,e.media),t.customControls){var l=function(e){return"https://i.ytimg.com/vi/".concat(a,"/").concat(e,"default.jpg")};vf(l("maxres"),121).catch((function(){return vf(l("sd"),121)})).catch((function(){return vf(l("hq"))})).then((function(t){return yf.setPoster.call(e,t.src)})).then((function(t){t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")})).catch((function(){}))}e.embed=new window.YT.Player(e.media,{videoId:a,host:Lf(t),playerVars:Ku({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&t.customControls?0:1,disablekb:1,playsinline:e.config.fullscreen.iosNative?0:1,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},t),events:{onError:function(t){if(!e.media.error){var n=t.data,i={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occured";e.media.error={code:n,message:i},gh.call(e,e.media,"error")}},onPlaybackRateChange:function(t){var n=t.target;e.media.playbackRate=n.getPlaybackRate(),gh.call(e,e.media,"ratechange")},onReady:function(n){if(!xu(e.media.play)){var i=n.target;jf.getTitle.call(e,a),e.media.play=function(){If.call(e,!0),i.playVideo()},e.media.pause=function(){If.call(e,!1),i.pauseVideo()},e.media.stop=function(){i.stopVideo()},e.media.duration=i.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:function(){return Number(i.getCurrentTime())},set:function(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,gh.call(e,e.media,"seeking"),i.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:function(){return i.getPlaybackRate()},set:function(e){i.setPlaybackRate(e)}});var r=e.config.volume;Object.defineProperty(e.media,"volume",{get:function(){return r},set:function(t){r=t,i.setVolume(100*r),gh.call(e,e.media,"volumechange")}});var o=e.config.muted;Object.defineProperty(e.media,"muted",{get:function(){return o},set:function(t){var n=Pu(t)?t:o;o=n,i[n?"mute":"unMute"](),i.setVolume(100*r),gh.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:function(){return i.getVideoUrl()}}),Object.defineProperty(e.media,"ended",{get:function(){return e.currentTime===e.duration}});var s=i.getAvailablePlaybackRates();e.options.speed=s.filter((function(t){return e.config.speed.options.includes(t)})),e.supported.ui&&t.customControls&&e.media.setAttribute("tabindex",-1),gh.call(e,e.media,"timeupdate"),gh.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval((function(){e.media.buffered=i.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered<e.media.buffered)&&gh.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),gh.call(e,e.media,"canplaythrough"))}),200),t.customControls&&setTimeout((function(){return yf.build.call(e)}),50)}},onStateChange:function(n){var i=n.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(n.data)&&(e.media.seeking=!1,gh.call(e,e.media,"seeked")),n.data){case-1:gh.call(e,e.media,"timeupdate"),e.media.buffered=i.getVideoLoadedFraction(),gh.call(e,e.media,"progress");break;case 0:If.call(e,!1),e.media.loop?(i.stopVideo(),i.playVideo()):gh.call(e,e.media,"ended");break;case 1:t.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(If.call(e,!0),gh.call(e,e.media,"playing"),e.timers.playing=setInterval((function(){gh.call(e,e.media,"timeupdate")}),50),e.media.duration!==i.getDuration()&&(e.media.duration=i.getDuration(),gh.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),If.call(e,!1);break;case 3:gh.call(e,e.media,"waiting")}gh.call(e,e.elements.container,"statechange",!1,{code:n.data})}}})}}},Nf={setup:function(){this.media?(nh(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),nh(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&nh(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=Gu("div",{class:this.config.classNames.video}),$u(this.media,this.elements.wrapper),this.elements.poster=Gu("div",{class:this.config.classNames.poster,hidden:""}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?Eh.setup.call(this):this.isYouTube?jf.setup.call(this):this.isVimeo&&Of.setup.call(this)):this.debug.warn("No media element found!")}},Rf=function(){function e(t){var n=this;Ra(this,e),this.player=t,this.config=t.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((function(e,t){n.on("loaded",e),n.on("error",t)})),this.load()}return _a(e,[{key:"load",value:function(){var e=this;this.enabled&&(Eu(window.google)&&Eu(window.google.ima)?this.ready():Pf(this.player.config.urls.googleIMA.sdk).then((function(){e.ready()})).catch((function(){e.trigger("error",new Error("Google IMA SDK failed to load"))})))}},{key:"ready",value:function(){var e,t=this;this.enabled||((e=this).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then((function(){t.clearSafetyTimer("onAdsManagerLoaded()")})),this.listeners(),this.setupIMA()}},{key:"setupIMA",value:function(){var e=this;this.elements.container=Gu("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(function(t){return e.onAdsManagerLoaded(t)}),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(t){return e.onAdError(t)}),!1),this.requestAds()}},{key:"requestAds",value:function(){var e=this.player.elements.container;try{var t=new google.ima.AdsRequest;t.adTagUrl=this.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(t)}catch(e){this.onAdError(e)}}},{key:"pollCountdown",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!t)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");var n=function(){var t=tf(Math.max(e.manager.getRemainingTime(),0)),n="".concat(Kh("advertisement",e.player.config)," - ").concat(t);e.elements.container.setAttribute("data-badge-text",n)};this.countdownTimer=setInterval(n,100)}},{key:"onAdsManagerLoaded",value:function(e){var t=this;if(this.enabled){var n=new google.ima.AdsRenderingSettings;n.restoreCustomPlaybackStateOnAdBreakComplete=!0,n.enablePreloading=!0,this.manager=e.getAdsManager(this.player,n),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){return t.onAdError(e)})),Object.keys(google.ima.AdEvent.Type).forEach((function(e){t.manager.addEventListener(google.ima.AdEvent.Type[e],(function(e){return t.onAdEvent(e)}))})),this.trigger("loaded")}}},{key:"addCuePoints",value:function(){var e=this;Uu(this.cuePoints)||this.cuePoints.forEach((function(t){if(0!==t&&-1!==t&&t<e.player.duration){var n=e.player.elements.progress;if(Lu(n)){var i=100/e.player.duration*t,r=Gu("span",{class:e.player.config.classNames.cues});r.style.left="".concat(i.toString(),"%"),n.appendChild(r)}}}))}},{key:"onAdEvent",value:function(e){var t=this,n=this.player.elements.container,i=e.getAd(),r=e.getAdData();switch(function(e){gh.call(t.player,t.player.media,"ads".concat(e.replace(/_/g,"").toLowerCase()))}(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),i.isLinear()||(i.width=n.offsetWidth,i.height=n.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:r.adError&&this.player.debug.warn("Non-fatal ad error: ".concat(r.adError.getMessage()))}}},{key:"onAdError",value:function(e){this.cancel(),this.player.debug.warn("Ads error",e)}},{key:"listeners",value:function(){var e,t=this,n=this.player.elements.container;this.player.on("canplay",(function(){t.addCuePoints()})),this.player.on("ended",(function(){t.loader.contentComplete()})),this.player.on("timeupdate",(function(){e=t.player.currentTime})),this.player.on("seeked",(function(){var n=t.player.currentTime;Uu(t.cuePoints)||t.cuePoints.forEach((function(i,r){e<i&&i<n&&(t.manager.discardAdBreak(),t.cuePoints.splice(r,1))}))})),window.addEventListener("resize",(function(){t.manager&&t.manager.resize(n.offsetWidth,n.offsetHeight,google.ima.ViewMode.NORMAL)}))}},{key:"play",value:function(){var e=this,t=this.player.elements.container;this.managerPromise||this.resumeContent(),this.managerPromise.then((function(){e.manager.setVolume(e.player.volume),e.elements.displayContainer.initialize();try{e.initialized||(e.manager.init(t.offsetWidth,t.offsetHeight,google.ima.ViewMode.NORMAL),e.manager.start()),e.initialized=!0}catch(t){e.onAdError(t)}})).catch((function(){}))}},{key:"resumeContent",value:function(){this.elements.container.style.zIndex="",this.playing=!1,bh(this.player.media.play())}},{key:"pauseContent",value:function(){this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}},{key:"cancel",value:function(){this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}},{key:"loadAds",value:function(){var e=this;this.managerPromise.then((function(){e.manager&&e.manager.destroy(),e.managerPromise=new Promise((function(t){e.on("loaded",t),e.player.debug.log(e.manager)})),e.initialized=!1,e.requestAds()})).catch((function(){}))}},{key:"trigger",value:function(e){for(var t=this,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=this.events[e];Ou(o)&&o.forEach((function(e){xu(e)&&e.apply(t,i)}))}},{key:"on",value:function(e,t){return Ou(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this}},{key:"startSafetyTimer",value:function(e,t){var n=this;this.player.debug.log("Safety timer invoked from: ".concat(t)),this.safetyTimer=setTimeout((function(){n.cancel(),n.clearSafetyTimer("startSafetyTimer()")}),e)}},{key:"clearSafetyTimer",value:function(e){Su(this.safetyTimer)||(this.player.debug.log("Safety timer cleared from: ".concat(e)),clearTimeout(this.safetyTimer),this.safetyTimer=null)}},{key:"enabled",get:function(){var e=this.config;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!Uu(e.publisherId)||_u(e.tagUrl))}},{key:"tagUrl",get:function(){var e=this.config;if(_u(e.tagUrl))return e.tagUrl;var t={AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId};return"".concat("https://go.aniview.com/api/adserver6/vast/","?").concat(of(t))}}]),e}(),Mf=ut.findIndex,_f="findIndex",Uf=!0,Df=Zt(_f);_f in[]&&Array(1).findIndex((function(){Uf=!1})),Le({target:"Array",proto:!0,forced:Uf||!Df},{findIndex:function(e){return Mf(this,e,arguments.length>1?arguments[1]:void 0)}}),mn(_f);var Ff=Math.min,qf=[].lastIndexOf,Hf=!!qf&&1/[1].lastIndexOf(1,-0)<0,Bf=Gt("lastIndexOf"),Vf=Zt("indexOf",{ACCESSORS:!0,1:0}),zf=Hf||!Bf||!Vf?function(e){if(Hf)return qf.apply(this,arguments)||0;var t=m(this),n=ce(t.length),i=n-1;for(arguments.length>1&&(i=Ff(i,se(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:qf;Le({target:"Array",proto:!0,forced:zf!==[].lastIndexOf},{lastIndexOf:zf});var Wf=function(e,t){var n={};return e>t.width/t.height?(n.width=t.width,n.height=1/e*t.width):(n.height=t.height,n.width=e*t.height),n},Kf=function(){function e(t){Ra(this,e),this.player=t,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return _a(e,[{key:"load",value:function(){var e=this;this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then((function(){e.enabled&&(e.render(),e.determineContainerAutoSizing(),e.loaded=!0)}))}},{key:"getThumbnails",value:function(){var e=this;return new Promise((function(t){var n=e.player.config.previewThumbnails.src;if(Uu(n))throw new Error("Missing previewThumbnails.src config attribute");var i=function(){e.thumbnails.sort((function(e,t){return e.height-t.height})),e.player.debug.log("Preview thumbnails",e.thumbnails),t()};if(xu(n))n((function(t){e.thumbnails=t,i()}));else{var r=(Cu(n)?[n]:n).map((function(t){return e.getThumbnail(t)}));Promise.all(r).then(i)}}))}},{key:"getThumbnail",value:function(e){var t=this;return new Promise((function(n){Yh(e).then((function(i){var r,o,a={frames:(r=i,o=[],r.split(/\r\n\r\n|\n\n|\r\r/).forEach((function(e){var t={};e.split(/\r\n|\n|\r/).forEach((function(e){if(Au(t.startTime)){if(!Uu(e.trim())&&Uu(t.text)){var n=e.trim().split("#xywh="),i=Ha(n,1);if(t.text=i[0],n[1]){var r=Ha(n[1].split(","),4);t.x=r[0],t.y=r[1],t.w=r[2],t.h=r[3]}}}else{var o=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);o&&(t.startTime=60*Number(o[1]||0)*60+60*Number(o[2])+Number(o[3])+Number("0.".concat(o[4])),t.endTime=60*Number(o[6]||0)*60+60*Number(o[7])+Number(o[8])+Number("0.".concat(o[9])))}})),t.text&&o.push(t)})),o),height:null,urlPrefix:""};a.frames[0].text.startsWith("/")||a.frames[0].text.startsWith("http://")||a.frames[0].text.startsWith("https://")||(a.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));var s=new Image;s.onload=function(){a.height=s.naturalHeight,a.width=s.naturalWidth,t.thumbnails.push(a),n()},s.src=a.urlPrefix+a.frames[0].text}))}))}},{key:"startMove",value:function(e){if(this.loaded&&ju(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t=this.player.elements.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);this.seekTime=this.player.media.duration*(n/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=tf(this.seekTime)}this.showImageAtCurrentTime()}}},{key:"endMove",value:function(){this.toggleThumbContainer(!1,!0)}},{key:"startScrubbing",value:function(e){(Su(e.button)||!1===e.button||0===e.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:"endScrubbing",value:function(){var e=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):mh.call(this.player,this.player.media,"timeupdate",(function(){e.mouseDown||e.toggleScrubbingContainer(!1)}))}},{key:"listeners",value:function(){var e=this;this.player.on("play",(function(){e.toggleThumbContainer(!1,!0)})),this.player.on("seeked",(function(){e.toggleThumbContainer(!1)})),this.player.on("timeupdate",(function(){e.lastTime=e.player.media.currentTime}))}},{key:"render",value:function(){this.elements.thumb.container=Gu("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=Gu("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var e=Gu("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=Gu("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(e),Lu(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=Gu("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:"destroy",value:function(){this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}},{key:"showImageAtCurrentTime",value:function(){var e=this;this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();var t=this.thumbnails[0].frames.findIndex((function(t){return e.seekTime>=t.startTime&&e.seekTime<=t.endTime})),n=t>=0,i=0;this.mouseDown||this.toggleThumbContainer(n),n&&(this.thumbnails.forEach((function(n,r){e.loadedImages.includes(n.frames[t].text)&&(i=r)})),t!==this.showingThumb&&(this.showingThumb=t,this.loadImage(i)))}},{key:"loadImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=this.showingThumb,i=this.thumbnails[t],r=i.urlPrefix,o=i.frames[n],a=i.frames[n].text,s=r+a;if(this.currentImageElement&&this.currentImageElement.dataset.filename===a)this.showImage(this.currentImageElement,o,t,n,a,!1),this.currentImageElement.dataset.index=n,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);var l=new Image;l.src=s,l.dataset.index=n,l.dataset.filename=a,this.showingThumbFilename=a,this.player.debug.log("Loading image: ".concat(s)),l.onload=function(){return e.showImage(l,o,t,n,a,!0)},this.loadingImage=l,this.removeOldImages(l)}}},{key:"showImage",value:function(e,t,n,i,r){var o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.player.debug.log("Showing thumb: ".concat(r,". num: ").concat(i,". qual: ").concat(n,". newimg: ").concat(o)),this.setImageSizeAndOffset(e,t),o&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(r)||this.loadedImages.push(r)),this.preloadNearby(i,!0).then(this.preloadNearby(i,!1)).then(this.getHigherQuality(n,e,t,r))}},{key:"removeOldImages",value:function(e){var t=this;Array.from(this.currentImageContainer.children).forEach((function(n){if("img"===n.tagName.toLowerCase()){var i=t.usingSprites?500:1e3;if(n.dataset.index!==e.dataset.index&&!n.dataset.deleting){n.dataset.deleting=!0;var r=t.currentImageContainer;setTimeout((function(){r.removeChild(n),t.player.debug.log("Removing thumb: ".concat(n.dataset.filename))}),i)}}}))}},{key:"preloadNearby",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise((function(i){setTimeout((function(){var r=t.thumbnails[0].frames[e].text;if(t.showingThumbFilename===r){var o;o=n?t.thumbnails[0].frames.slice(e):t.thumbnails[0].frames.slice(0,e).reverse();var a=!1;o.forEach((function(e){var n=e.text;if(n!==r&&!t.loadedImages.includes(n)){a=!0,t.player.debug.log("Preloading thumb filename: ".concat(n));var o=t.thumbnails[0].urlPrefix+n,s=new Image;s.src=o,s.onload=function(){t.player.debug.log("Preloaded thumb filename: ".concat(n)),t.loadedImages.includes(n)||t.loadedImages.push(n),i()}}})),a||i()}}),300)}))}},{key:"getHigherQuality",value:function(e,t,n,i){var r=this;if(e<this.thumbnails.length-1){var o=t.naturalHeight;this.usingSprites&&(o=n.h),o<this.thumbContainerHeight&&setTimeout((function(){r.showingThumbFilename===i&&(r.player.debug.log("Showing higher quality thumb for: ".concat(i)),r.loadImage(e+1))}),300)}}},{key:"toggleThumbContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(n,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"toggleScrubbingContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"determineContainerAutoSizing",value:function(){(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)}},{key:"setThumbContainerSizeAndPos",value:function(){if(this.sizeSpecifiedInCSS){if(this.elements.thumb.imageContainer.clientHeight>20&&this.elements.thumb.imageContainer.clientWidth<20){var e=Math.floor(this.elements.thumb.imageContainer.clientHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.width="".concat(e,"px")}else if(this.elements.thumb.imageContainer.clientHeight<20&&this.elements.thumb.imageContainer.clientWidth>20){var t=Math.floor(this.elements.thumb.imageContainer.clientWidth/this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(t,"px")}}else{var n=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(this.thumbContainerHeight,"px"),this.elements.thumb.imageContainer.style.width="".concat(n,"px")}this.setThumbContainerPos()}},{key:"setThumbContainerPos",value:function(){var e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),n=this.elements.thumb.container,i=t.left-e.left+10,r=t.right-e.left-n.clientWidth-10,o=this.mousePosX-e.left-n.clientWidth/2;o<i&&(o=i),o>r&&(o=r),n.style.left="".concat(o,"px")}},{key:"setScrubbingContainerSize",value:function(){var e=Wf(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}),t=e.width,n=e.height;this.elements.scrubbing.container.style.width="".concat(t,"px"),this.elements.scrubbing.container.style.height="".concat(n,"px")}},{key:"setImageSizeAndOffset",value:function(e,t){if(this.usingSprites){var n=this.thumbContainerHeight/t.h;e.style.height="".concat(e.naturalHeight*n,"px"),e.style.width="".concat(e.naturalWidth*n,"px"),e.style.left="-".concat(t.x*n,"px"),e.style.top="-".concat(t.y*n,"px")}}},{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?Wf(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}).height:this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),e}(),$f={insertElements:function(e,t){var n=this;Cu(t)?Xu(e,this.media,{src:t}):Ou(t)&&t.forEach((function(t){Xu(e,n.media,t)}))},change:function(e){var t=this;Wu(e,"sources.length")?(Eh.cancelRequests.call(this),this.destroy.call(this,(function(){t.options.quality=[],Qu(t.media),t.media=null,Lu(t.elements.container)&&t.elements.container.removeAttribute("class");var n=e.sources,i=e.type,r=Ha(n,1)[0],o=r.provider,a=void 0===o?uf.html5:o,s=r.src,l="html5"===a?i:"div",c="html5"===a?{}:{src:s};Object.assign(t,{provider:a,type:i,supported:uh.check(i,a,t.config.playsinline),media:Gu(l,c)}),t.elements.container.appendChild(t.media),Pu(e.autoplay)&&(t.config.autoplay=e.autoplay),t.isHTML5&&(t.config.crossorigin&&t.media.setAttribute("crossorigin",""),t.config.autoplay&&t.media.setAttribute("autoplay",""),Uu(e.poster)||(t.poster=e.poster),t.config.loop.active&&t.media.setAttribute("loop",""),t.config.muted&&t.media.setAttribute("muted",""),t.config.playsinline&&t.media.setAttribute("playsinline","")),yf.addStyleHook.call(t),t.isHTML5&&$f.insertElements.call(t,"source",n),t.config.title=e.title,Nf.setup.call(t),t.isHTML5&&Object.keys(e).includes("tracks")&&$f.insertElements.call(t,"track",e.tracks),(t.isHTML5||t.isEmbed&&!t.supported.ui)&&yf.build.call(t),t.isHTML5&&t.media.load(),Uu(e.previewThumbnails)||(Object.assign(t.config.previewThumbnails,e.previewThumbnails),t.previewThumbnails&&t.previewThumbnails.loaded&&(t.previewThumbnails.destroy(),t.previewThumbnails=null),t.config.previewThumbnails.enabled&&(t.previewThumbnails=new Kf(t))),t.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}};var Yf,Gf=function(){function e(t,n){var i=this;if(Ra(this,e),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=uh.touch,this.media=t,Cu(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||Iu(this.media)||Ou(this.media))&&(this.media=this.media[0]),this.config=Ku({},sf,e.defaults,n||{},function(){try{return JSON.parse(i.media.getAttribute("data-plyr-config"))}catch(e){return{}}}()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new pf(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",uh),!Su(this.media)&&Lu(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(uh.check().api){var r=this.media.cloneNode(!0);r.autoplay=!1,this.elements.original=r;var o=this.media.tagName.toLowerCase(),a=null,s=null;switch(o){case"div":if(a=this.media.querySelector("iframe"),Lu(a)){if(s=rf(a.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?uf.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?uf.vimeo:null}(s.toString()),this.elements.container=this.media,this.media=a,this.elements.container.className="",s.search.length){var l=["1","true"];l.includes(s.searchParams.get("autoplay"))&&(this.config.autoplay=!0),l.includes(s.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=l.includes(s.searchParams.get("playsinline")),this.config.youtube.hl=s.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(Uu(this.provider)||!Object.keys(uf).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=ff;break;case"video":case"audio":this.type=o,this.provider=uf.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=uh.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new bf(this),this.storage=new $h(this),this.media.plyr=this,Lu(this.elements.container)||(this.elements.container=Gu("div",{tabindex:0}),$u(this.media,this.elements.container)),yf.migrateStyles.call(this),yf.addStyleHook.call(this),Nf.setup.call(this),this.config.debug&&dh.call(this,this.elements.container,this.config.events.join(" "),(function(e){i.debug.log("event: ".concat(e.type))})),this.fullscreen=new mf(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&yf.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new Rf(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",(function(){return bh(i.play())})),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Kf(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return _a(e,[{key:"play",value:function(){var e=this;return xu(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then((function(){return e.ads.play()})).catch((function(){return bh(e.media.play())})),this.media.play()):null}},{key:"pause",value:function(){return this.playing&&xu(this.media.pause)?this.media.pause():null}},{key:"togglePlay",value:function(e){return(Pu(e)?e:!this.playing)?this.play():this.pause()}},{key:"stop",value:function(){this.isHTML5?(this.pause(),this.restart()):xu(this.media.stop)&&this.media.stop()}},{key:"restart",value:function(){this.currentTime=0}},{key:"rewind",value:function(e){this.currentTime-=Au(e)?e:this.config.seekTime}},{key:"forward",value:function(e){this.currentTime+=Au(e)?e:this.config.seekTime}},{key:"increaseVolume",value:function(e){var t=this.media.muted?0:this.volume;this.volume=t+(Au(e)?e:0)}},{key:"decreaseVolume",value:function(e){this.increaseVolume(-e)}},{key:"toggleCaptions",value:function(e){af.toggle.call(this,e,!1)}},{key:"airplay",value:function(){uh.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:"toggleControls",value:function(e){if(this.supported.ui&&!this.isAudio){var t=ih(this.elements.container,this.config.classNames.hideControls),n=void 0===e?void 0:!e,i=nh(this.elements.container,this.config.classNames.hideControls,n);if(i&&Ou(this.config.controls)&&this.config.controls.includes("settings")&&!Uu(this.config.settings)&&nf.toggleMenu.call(this,!1),i!==t){var r=i?"controlshidden":"controlsshown";gh.call(this,this.media,r)}return!i}return!1}},{key:"on",value:function(e,t){dh.call(this,this.elements.container,e,t)}},{key:"once",value:function(e,t){mh.call(this,this.elements.container,e,t)}},{key:"off",value:function(e,t){ph(this.elements.container,e,t)}},{key:"destroy",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var i=function(){document.body.style.overflow="",t.embed=null,n?(Object.keys(t.elements).length&&(Qu(t.elements.buttons.play),Qu(t.elements.captions),Qu(t.elements.controls),Qu(t.elements.wrapper),t.elements.buttons.play=null,t.elements.captions=null,t.elements.controls=null,t.elements.wrapper=null),xu(e)&&e()):(vh.call(t),Eh.cancelRequests.call(t),Zu(t.elements.original,t.elements.container),gh.call(t,t.elements.original,"destroyed",!0),xu(e)&&e.call(t.elements.original),t.ready=!1,setTimeout((function(){t.elements=null,t.media=null}),200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(yf.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&xu(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}}},{key:"supports",value:function(e){return uh.mime.call(this,e)}},{key:"isHTML5",get:function(){return this.provider===uf.html5}},{key:"isEmbed",get:function(){return this.isYouTube||this.isVimeo}},{key:"isYouTube",get:function(){return this.provider===uf.youtube}},{key:"isVimeo",get:function(){return this.provider===uf.vimeo}},{key:"isVideo",get:function(){return this.type===ff}},{key:"isAudio",get:function(){return this.type===hf}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(e){if(this.duration){var t=Au(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var e=this.media.buffered;return Au(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=Au(t)&&t!==1/0?t:0;return e||n}},{key:"volume",set:function(e){var t=e;Cu(t)&&(t=Number(t)),Au(t)||(t=this.storage.get("volume")),Au(t)||(t=this.config.volume),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!Uu(e)&&this.muted&&t>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(e){var t=e;Pu(t)||(t=this.storage.get("muted")),Pu(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||(!!this.isAudio||(Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)))}},{key:"speed",set:function(e){var t=this,n=null;Au(e)&&(n=e),Au(n)||(n=this.storage.get("speed")),Au(n)||(n=this.config.speed.selected);var i=this.minimumSpeed,r=this.maximumSpeed;n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(e,t),n)}(n,i,r),this.config.speed.selected=n,setTimeout((function(){t.media.playbackRate=n}),0)},get:function(){return Number(this.media.playbackRate)}},{key:"minimumSpeed",get:function(){return this.isYouTube?Math.min.apply(Math,Ba(this.options.speed)):this.isVimeo?.5:.0625}},{key:"maximumSpeed",get:function(){return this.isYouTube?Math.max.apply(Math,Ba(this.options.speed)):this.isVimeo?2:16}},{key:"quality",set:function(e){var t=this.config.quality,n=this.options.quality;if(n.length){var i=[!Uu(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(Au),r=!0;if(!n.includes(i)){var o=function(e,t){return Ou(e)&&e.length?e.reduce((function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e})):null}(n,i);this.debug.warn("Unsupported quality option: ".concat(i,", using ").concat(o," instead")),i=o,r=!1}t.selected=i,this.media.quality=i,r&&this.storage.set({quality:i})}},get:function(){return this.media.quality}},{key:"loop",set:function(e){var t=Pu(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t},get:function(){return Boolean(this.media.loop)}},{key:"source",set:function(e){$f.change.call(this,e)},get:function(){return this.media.currentSrc}},{key:"download",get:function(){var e=this.config.urls.download;return _u(e)?e:this.source},set:function(e){_u(e)&&(this.config.urls.download=e,nf.setDownloadUrl.call(this))}},{key:"poster",set:function(e){this.isVideo?yf.setPoster.call(this,e,!1).catch((function(){})):this.debug.warn("Poster can only be set for video")},get:function(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}},{key:"ratio",get:function(){if(!this.isVideo)return null;var e=kh(Th.call(this));return Ou(e)?e.join(":"):e},set:function(e){this.isVideo?Cu(e)&&wh(e)?(this.config.ratio=e,Sh.call(this)):this.debug.error("Invalid aspect ratio specified (".concat(e,")")):this.debug.warn("Aspect ratio can only be set for video")}},{key:"autoplay",set:function(e){var t=Pu(e)?e:this.config.autoplay;this.config.autoplay=t},get:function(){return Boolean(this.config.autoplay)}},{key:"currentTrack",set:function(e){af.set.call(this,e,!1)},get:function(){var e=this.captions,t=e.toggled,n=e.currentTrack;return t?n:-1}},{key:"language",set:function(e){af.setLanguage.call(this,e,!1)},get:function(){return(af.getCurrentTrack.call(this)||{}).language}},{key:"pip",set:function(e){if(uh.pip){var t=Pu(e)?e:!this.pip;xu(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?lf:cf),xu(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}},get:function(){return uh.pip?Uu(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===lf:null}}],[{key:"supported",value:function(e,t,n){return uh.check(e,t,n)}},{key:"loadSprite",value:function(e,t){return Gh(e,t)}},{key:"setup",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;return Cu(t)?i=Array.from(document.querySelectorAll(t)):Iu(t)?i=Array.from(t):Ou(t)&&(i=t.filter(Lu)),Uu(i)?null:i.map((function(t){return new e(t,n)}))}}]),e}();return Gf.defaults=(Yf=sf,JSON.parse(JSON.stringify(Yf))),Gf}))
;/*! This file is auto-generated */
!function(n,t){var r,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(n="undefined"!=typeof globalThis?globalThis:n||self,r=n._,(e=n._=t()).noConflict=function(){return n._=r,e})}(this,function(){var n="1.13.7",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},e=Array.prototype,V=Object.prototype,F="undefined"!=typeof Symbol?Symbol.prototype:null,P=e.push,f=e.slice,s=V.toString,q=V.hasOwnProperty,r="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,U=Array.isArray,W=Object.keys,z=Object.create,L=r&&ArrayBuffer.isView,$=isNaN,C=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=Math.pow(2,53)-1;function l(u,o){return o=null==o?u.length-1:+o,function(){for(var n=Math.max(arguments.length-o,0),t=Array(n),r=0;r<n;r++)t[r]=arguments[r+o];switch(o){case 0:return u.call(this,t);case 1:return u.call(this,arguments[0],t);case 2:return u.call(this,arguments[0],arguments[1],t)}for(var e=Array(o+1),r=0;r<o;r++)e[r]=arguments[r];return e[o]=t,u.apply(this,e)}}function o(n){var t=typeof n;return"function"==t||"object"==t&&!!n}function H(n){return void 0===n}function Q(n){return!0===n||!1===n||"[object Boolean]"===s.call(n)}function i(n){var t="[object "+n+"]";return function(n){return s.call(n)===t}}var X=i("String"),Y=i("Number"),Z=i("Date"),nn=i("RegExp"),tn=i("Error"),rn=i("Symbol"),en=i("ArrayBuffer"),a=i("Function"),t=t.document&&t.document.childNodes,p=a="function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof t?function(n){return"function"==typeof n||!1}:a,t=i("Object"),un=u&&(!/\[native code\]/.test(String(DataView))||t(new DataView(new ArrayBuffer(8)))),a="undefined"!=typeof Map&&t(new Map),u=i("DataView");var h=un?function(n){return null!=n&&p(n.getInt8)&&en(n.buffer)}:u,v=U||i("Array");function y(n,t){return null!=n&&q.call(n,t)}var on=i("Arguments"),an=(!function(){on(arguments)||(on=function(n){return y(n,"callee")})}(),on);function fn(n){return Y(n)&&$(n)}function cn(n){return function(){return n}}function ln(t){return function(n){n=t(n);return"number"==typeof n&&0<=n&&n<=G}}function sn(t){return function(n){return null==n?void 0:n[t]}}var d=sn("byteLength"),pn=ln(d),hn=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var vn=r?function(n){return L?L(n)&&!h(n):pn(n)&&hn.test(s.call(n))}:cn(!1),g=sn("length");function yn(n,t){t=function(t){for(var r={},n=t.length,e=0;e<n;++e)r[t[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(n){return r[n]=!0,t.push(n)}}}(t);var r=J.length,e=n.constructor,u=p(e)&&e.prototype||V,o="constructor";for(y(n,o)&&!t.contains(o)&&t.push(o);r--;)(o=J[r])in n&&n[o]!==u[o]&&!t.contains(o)&&t.push(o)}function b(n){if(!o(n))return[];if(W)return W(n);var t,r=[];for(t in n)y(n,t)&&r.push(t);return K&&yn(n,r),r}function dn(n,t){var r=b(t),e=r.length;if(null==n)return!e;for(var u=Object(n),o=0;o<e;o++){var i=r[o];if(t[i]!==u[i]||!(i in u))return!1}return!0}function m(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)}function gn(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,d(n))}m.VERSION=n,m.prototype.valueOf=m.prototype.toJSON=m.prototype.value=function(){return this._wrapped},m.prototype.toString=function(){return String(this._wrapped)};var bn="[object DataView]";function mn(n,t,r,e){var u;return n===t?0!==n||1/n==1/t:null!=n&&null!=t&&(n!=n?t!=t:("function"==(u=typeof n)||"object"==u||"object"==typeof t)&&function n(t,r,e,u){t instanceof m&&(t=t._wrapped);r instanceof m&&(r=r._wrapped);var o=s.call(t);if(o!==s.call(r))return!1;if(un&&"[object Object]"==o&&h(t)){if(!h(r))return!1;o=bn}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+r;case"[object Number]":return+t!=+t?+r!=+r:0==+t?1/+t==1/r:+t==+r;case"[object Date]":case"[object Boolean]":return+t==+r;case"[object Symbol]":return F.valueOf.call(t)===F.valueOf.call(r);case"[object ArrayBuffer]":case bn:return n(gn(t),gn(r),e,u)}o="[object Array]"===o;if(!o&&vn(t)){var i=d(t);if(i!==d(r))return!1;if(t.buffer===r.buffer&&t.byteOffset===r.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof r)return!1;var i=t.constructor,a=r.constructor;if(i!==a&&!(p(i)&&i instanceof i&&p(a)&&a instanceof a)&&"constructor"in t&&"constructor"in r)return!1}e=e||[];u=u||[];var f=e.length;for(;f--;)if(e[f]===t)return u[f]===r;e.push(t);u.push(r);if(o){if((f=t.length)!==r.length)return!1;for(;f--;)if(!mn(t[f],r[f],e,u))return!1}else{var c,l=b(t);if(f=l.length,b(r).length!==f)return!1;for(;f--;)if(c=l[f],!y(r,c)||!mn(t[c],r[c],e,u))return!1}e.pop();u.pop();return!0}(n,t,r,e))}function c(n){if(!o(n))return[];var t,r=[];for(t in n)r.push(t);return K&&yn(n,r),r}function jn(e){var u=g(e);return function(n){if(null==n)return!1;var t=c(n);if(g(t))return!1;for(var r=0;r<u;r++)if(!p(n[e[r]]))return!1;return e!==_n||!p(n[wn])}}var wn="forEach",t=["clear","delete"],u=["get","has","set"],U=t.concat(wn,u),_n=t.concat(u),r=["add"].concat(t,wn,"has"),u=a?jn(U):i("Map"),t=a?jn(_n):i("WeakMap"),U=a?jn(r):i("Set"),a=i("WeakSet");function j(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e}function An(n){for(var t={},r=b(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t}function xn(n){var t,r=[];for(t in n)p(n[t])&&r.push(t);return r.sort()}function Sn(f,c){return function(n){var t=arguments.length;if(c&&(n=Object(n)),!(t<2||null==n))for(var r=1;r<t;r++)for(var e=arguments[r],u=f(e),o=u.length,i=0;i<o;i++){var a=u[i];c&&void 0!==n[a]||(n[a]=e[a])}return n}}var On=Sn(c),w=Sn(b),Mn=Sn(c,!0);function En(n){var t;return o(n)?z?z(n):((t=function(){}).prototype=n,n=new t,t.prototype=null,n):{}}function Bn(n){return v(n)?n:[n]}function _(n){return m.toPath(n)}function Nn(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0}function In(n,t,r){n=Nn(n,_(t));return H(n)?r:n}function Tn(n){return n}function A(t){return t=w({},t),function(n){return dn(n,t)}}function kn(t){return t=_(t),function(n){return Nn(n,t)}}function x(u,o,n){if(void 0===o)return u;switch(null==n?3:n){case 1:return function(n){return u.call(o,n)};case 3:return function(n,t,r){return u.call(o,n,t,r)};case 4:return function(n,t,r,e){return u.call(o,n,t,r,e)}}return function(){return u.apply(o,arguments)}}function Dn(n,t,r){return null==n?Tn:p(n)?x(n,t,r):(o(n)&&!v(n)?A:kn)(n)}function Rn(n,t){return Dn(n,t,1/0)}function S(n,t,r){return m.iteratee!==Rn?m.iteratee(n,t):Dn(n,t,r)}function Vn(){}function Fn(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))}m.toPath=Bn,m.iteratee=Rn;var O=Date.now||function(){return(new Date).getTime()};function Pn(t){function r(n){return t[n]}var n="(?:"+b(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return e.test(n=null==n?"":""+n)?n.replace(u,r):n}}var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},qn=Pn(r),r=Pn(An(r)),Un=m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Wn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function $n(n){return"\\"+zn[n]}var Cn=/^\s*(\w|\$)+\s*$/;var Kn=0;function Jn(n,t,r,e,u){return e instanceof t?(e=En(n.prototype),o(t=n.apply(e,u))?t:e):n.apply(r,u)}var M=l(function(u,o){function i(){for(var n=0,t=o.length,r=Array(t),e=0;e<t;e++)r[e]=o[e]===a?arguments[n++]:o[e];for(;n<arguments.length;)r.push(arguments[n++]);return Jn(u,i,this,this,r)}var a=M.placeholder;return i}),Gn=(M.placeholder=m,l(function(t,r,e){var u;if(p(t))return u=l(function(n){return Jn(t,u,r,this,e.concat(n))});throw new TypeError("Bind must be called on a function")})),E=ln(g);function B(n,t,r,e){if(e=e||[],t||0===t){if(t<=0)return e.concat(n)}else t=1/0;for(var u=e.length,o=0,i=g(n);o<i;o++){var a=n[o];if(E(a)&&(v(a)||an(a)))if(1<t)B(a,t-1,r,e),u=e.length;else for(var f=0,c=a.length;f<c;)e[u++]=a[f++];else r||(e[u++]=a)}return e}var Hn=l(function(n,t){var r=(t=B(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=Gn(n[e],n)}return n});var Qn=l(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),Xn=M(Qn,m,1);function Yn(n){return function(){return!n.apply(this,arguments)}}function Zn(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}}var nt=M(Zn,2);function tt(n,t,r){t=S(t,r);for(var e,u=b(n),o=0,i=u.length;o<i;o++)if(t(n[e=u[o]],e,n))return e}function rt(o){return function(n,t,r){t=S(t,r);for(var e=g(n),u=0<o?0:e-1;0<=u&&u<e;u+=o)if(t(n[u],u,n))return u;return-1}}var et=rt(1),ut=rt(-1);function ot(n,t,r,e){for(var u=(r=S(r,e,1))(t),o=0,i=g(n);o<i;){var a=Math.floor((o+i)/2);r(n[a])<u?o=a+1:i=a}return o}function it(o,i,a){return function(n,t,r){var e=0,u=g(n);if("number"==typeof r)0<o?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;if(t!=t)return 0<=(r=i(f.call(n,e,u),fn))?r+e:-1;for(r=0<o?e:u-1;0<=r&&r<u;r+=o)if(n[r]===t)return r;return-1}}var at=it(1,et,ot),ft=it(-1,ut);function ct(n,t,r){t=(E(n)?et:tt)(n,t,r);if(void 0!==t&&-1!==t)return n[t]}function N(n,t,r){if(t=x(t,r),E(n))for(u=0,o=n.length;u<o;u++)t(n[u],u,n);else for(var e=b(n),u=0,o=e.length;u<o;u++)t(n[e[u]],e[u],n);return n}function I(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=Array(u),i=0;i<u;i++){var a=e?e[i]:i;o[i]=t(n[a],a,n)}return o}function lt(p){return function(n,t,r,e){var u=3<=arguments.length,o=n,i=x(t,e,4),a=r,f=!E(o)&&b(o),c=(f||o).length,l=0<p?0:c-1;for(u||(a=o[f?f[l]:l],l+=p);0<=l&&l<c;l+=p){var s=f?f[l]:l;a=i(a,o[s],s,o)}return a}}var st=lt(1),pt=lt(-1);function T(n,e,t){var u=[];return e=S(e,t),N(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u}function ht(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(!t(n[i],i,n))return!1}return!0}function vt(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(t(n[i],i,n))return!0}return!1}function k(n,t,r,e){return E(n)||(n=j(n)),0<=at(n,t,r="number"==typeof r&&!e?r:0)}var yt=l(function(n,r,e){var u,o;return p(r)?o=r:(r=_(r),u=r.slice(0,-1),r=r[r.length-1]),I(n,function(n){var t=o;if(!t){if(null==(n=u&&u.length?Nn(n,u):n))return;t=n[r]}return null==t?t:t.apply(n,e)})});function dt(n,t){return I(n,kn(t))}function gt(n,e,t){var r,u,o=-1/0,i=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&o<r&&(o=r);else e=S(e,t),N(n,function(n,t,r){u=e(n,t,r),(i<u||u===-1/0&&o===-1/0)&&(o=n,i=u)});return o}var bt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function mt(n){return n?v(n)?f.call(n):X(n)?n.match(bt):E(n)?I(n,Tn):j(n):[]}function jt(n,t,r){if(null==t||r)return(n=E(n)?n:j(n))[Fn(n.length-1)];for(var e=mt(n),r=g(e),u=(t=Math.max(Math.min(t,r),0),r-1),o=0;o<t;o++){var i=Fn(o,u),a=e[o];e[o]=e[i],e[i]=a}return e.slice(0,t)}function D(o,t){return function(r,e,n){var u=t?[[],[]]:{};return e=S(e,n),N(r,function(n,t){t=e(n,t,r);o(u,n,t)}),u}}var wt=D(function(n,t,r){y(n,r)?n[r].push(t):n[r]=[t]}),_t=D(function(n,t,r){n[r]=t}),At=D(function(n,t,r){y(n,r)?n[r]++:n[r]=1}),xt=D(function(n,t,r){n[r?0:1].push(t)},!0);function St(n,t,r){return t in r}var Ot=l(function(n,t){var r={},e=t[0];if(null!=n){p(e)?(1<t.length&&(e=x(e,t[1])),t=c(n)):(e=St,t=B(t,!1,!1),n=Object(n));for(var u=0,o=t.length;u<o;u++){var i=t[u],a=n[i];e(a,i,n)&&(r[i]=a)}}return r}),Mt=l(function(n,r){var t,e=r[0];return p(e)?(e=Yn(e),1<r.length&&(t=r[1])):(r=I(B(r,!1,!1),String),e=function(n,t){return!k(r,t)}),Ot(n,e,t)});function Et(n,t,r){return f.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))}function Bt(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[0]:Et(n,n.length-t)}function R(n,t,r){return f.call(n,null==t||r?1:t)}var Nt=l(function(n,t){return t=B(t,!0,!0),T(n,function(n){return!k(t,n)})}),It=l(function(n,t){return Nt(n,t)});function Tt(n,t,r,e){Q(t)||(e=r,r=t,t=!1),null!=r&&(r=S(r,e));for(var u=[],o=[],i=0,a=g(n);i<a;i++){var f=n[i],c=r?r(f,i,n):f;t&&!r?(i&&o===c||u.push(f),o=c):r?k(o,c)||(o.push(c),u.push(f)):k(u,f)||u.push(f)}return u}var kt=l(function(n){return Tt(B(n,!0,!0))});function Dt(n){for(var t=n&&gt(n,g).length||0,r=Array(t),e=0;e<t;e++)r[e]=dt(n,e);return r}var Rt=l(Dt);function Vt(n,t){return n._chain?m(t).chain():t}function Ft(r){return N(xn(r),function(n){var t=m[n]=r[n];m.prototype[n]=function(){var n=[this._wrapped];return P.apply(n,arguments),Vt(this,t.apply(m,n))}}),m}N(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];m.prototype[t]=function(){var n=this._wrapped;return null!=n&&(r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Vt(this,n)}}),N(["concat","join","slice"],function(n){var t=e[n];m.prototype[n]=function(){var n=this._wrapped;return Vt(this,n=null!=n?t.apply(n,arguments):n)}});n=Ft({__proto__:null,VERSION:n,restArguments:l,isObject:o,isNull:function(n){return null===n},isUndefined:H,isBoolean:Q,isElement:function(n){return!(!n||1!==n.nodeType)},isString:X,isNumber:Y,isDate:Z,isRegExp:nn,isError:tn,isSymbol:rn,isArrayBuffer:en,isDataView:h,isArray:v,isFunction:p,isArguments:an,isFinite:function(n){return!rn(n)&&C(n)&&!isNaN(parseFloat(n))},isNaN:fn,isTypedArray:vn,isEmpty:function(n){var t;return null==n||("number"==typeof(t=g(n))&&(v(n)||X(n)||an(n))?0===t:0===g(b(n)))},isMatch:dn,isEqual:function(n,t){return mn(n,t)},isMap:u,isWeakMap:t,isSet:U,isWeakSet:a,keys:b,allKeys:c,values:j,pairs:function(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},invert:An,functions:xn,methods:xn,extend:On,extendOwn:w,assign:w,defaults:Mn,create:function(n,t){return n=En(n),t&&w(n,t),n},clone:function(n){return o(n)?v(n)?n.slice():On({},n):n},tap:function(n,t){return t(n),n},get:In,has:function(n,t){for(var r=(t=_(t)).length,e=0;e<r;e++){var u=t[e];if(!y(n,u))return!1;n=n[u]}return!!r},mapObject:function(n,t,r){t=S(t,r);for(var e=b(n),u=e.length,o={},i=0;i<u;i++){var a=e[i];o[a]=t(n[a],a,n)}return o},identity:Tn,constant:cn,noop:Vn,toPath:Bn,property:kn,propertyOf:function(t){return null==t?Vn:function(n){return In(t,n)}},matcher:A,matches:A,times:function(n,t,r){var e=Array(Math.max(0,n));t=x(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},random:Fn,now:O,escape:qn,unescape:r,templateSettings:Un,template:function(o,n,t){n=Mn({},n=!n&&t?t:n,m.templateSettings);var r,t=RegExp([(n.escape||Wn).source,(n.interpolate||Wn).source,(n.evaluate||Wn).source].join("|")+"|$","g"),i=0,a="__p+='";if(o.replace(t,function(n,t,r,e,u){return a+=o.slice(i,u).replace(Ln,$n),i=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",t=n.variable){if(!Cn.test(t))throw new Error("variable is not a bare identifier: "+t)}else a="with(obj||{}){\n"+a+"}\n",t="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t,"_",a)}catch(n){throw n.source=a,n}function e(n){return r.call(this,n,m)}return e.source="function("+t+"){\n"+a+"}",e},result:function(n,t,r){var e=(t=_(t)).length;if(!e)return p(r)?r.call(n):r;for(var u=0;u<e;u++){var o=null==n?void 0:n[t[u]];void 0===o&&(o=r,u=e),n=p(o)?o.call(n):o}return n},uniqueId:function(n){var t=++Kn+"";return n?n+t:t},chain:function(n){return(n=m(n))._chain=!0,n},iteratee:Rn,partial:M,bind:Gn,bindAll:Hn,memoize:function(e,u){function o(n){var t=o.cache,r=""+(u?u.apply(this,arguments):n);return y(t,r)||(t[r]=e.apply(this,arguments)),t[r]}return o.cache={},o},delay:Qn,defer:Xn,throttle:function(r,e,u){function o(){l=!1===u.leading?0:O(),i=null,c=r.apply(a,f),i||(a=f=null)}function n(){var n=O(),t=(l||!1!==u.leading||(l=n),e-(n-l));return a=this,f=arguments,t<=0||e<t?(i&&(clearTimeout(i),i=null),l=n,c=r.apply(a,f),i||(a=f=null)):i||!1===u.trailing||(i=setTimeout(o,t)),c}var i,a,f,c,l=0;return u=u||{},n.cancel=function(){clearTimeout(i),l=0,i=a=f=null},n},debounce:function(t,r,e){function u(){var n=O()-i;n<r?o=setTimeout(u,r-n):(o=null,e||(f=t.apply(c,a)),o||(a=c=null))}var o,i,a,f,c,n=l(function(n){return c=this,a=n,i=O(),o||(o=setTimeout(u,r),e&&(f=t.apply(c,a))),f});return n.cancel=function(){clearTimeout(o),o=a=c=null},n},wrap:function(n,t){return M(t,n)},negate:Yn,compose:function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},after:function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},before:Zn,once:nt,findKey:tt,findIndex:et,findLastIndex:ut,sortedIndex:ot,indexOf:at,lastIndexOf:ft,find:ct,detect:ct,findWhere:function(n,t){return ct(n,A(t))},each:N,forEach:N,map:I,collect:I,reduce:st,foldl:st,inject:st,reduceRight:pt,foldr:pt,filter:T,select:T,reject:function(n,t,r){return T(n,Yn(S(t)),r)},every:ht,all:ht,some:vt,any:vt,contains:k,includes:k,include:k,invoke:yt,pluck:dt,where:function(n,t){return T(n,A(t))},max:gt,min:function(n,e,t){var r,u,o=1/0,i=1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&r<o&&(o=r);else e=S(e,t),N(n,function(n,t,r){((u=e(n,t,r))<i||u===1/0&&o===1/0)&&(o=n,i=u)});return o},shuffle:function(n){return jt(n,1/0)},sample:jt,sortBy:function(n,e,t){var u=0;return e=S(e,t),dt(I(n,function(n,t,r){return{value:n,index:u++,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")},groupBy:wt,indexBy:_t,countBy:At,partition:xt,toArray:mt,size:function(n){return null==n?0:(E(n)?n:b(n)).length},pick:Ot,omit:Mt,first:Bt,head:Bt,take:Bt,initial:Et,last:function(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[n.length-1]:R(n,Math.max(0,n.length-t))},rest:R,tail:R,drop:R,compact:function(n){return T(n,Boolean)},flatten:function(n,t){return B(n,t,!1)},without:It,uniq:Tt,unique:Tt,union:kt,intersection:function(n){for(var t=[],r=arguments.length,e=0,u=g(n);e<u;e++){var o=n[e];if(!k(t,o)){for(var i=1;i<r&&k(arguments[i],o);i++);i===r&&t.push(o)}}return t},difference:Nt,unzip:Dt,transpose:Dt,zip:Rt,object:function(n,t){for(var r={},e=0,u=g(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},range:function(n,t,r){null==t&&(t=n||0,n=0),r=r||(t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),o=0;o<e;o++,n+=r)u[o]=n;return u},chunk:function(n,t){if(null==t||t<1)return[];for(var r=[],e=0,u=n.length;e<u;)r.push(f.call(n,e,e+=t));return r},mixin:Ft,default:m});return n._=n})
;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function n(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t){return"string"==typeof t}function u(t){return"function"==typeof t}function C(t){return"number"==typeof t}function o(t){return void 0===t}function A(t){return"object"==typeof t}function B(t){return!1!==t}function e(){return"undefined"!=typeof window}function M(t){return u(t)||I(t)}function i(t){return(St=ht(t,oe))&&si}function x(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function P(t,e){return!e&&console.warn(t)}function r(t,e){return t&&(oe[t]=e)&&St&&(St[t]=e)||oe}function E(){return 0}function D(t){var e,i,n=t[0];if(A(n)||u(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=ue.length;i--&&!ue[i].targetTest(n););e=ue[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new Ee(t[i],e)))||t.splice(i,1);return t}function L(t){return t._gsap||D(ge(t))[0]._gsap}function s(t,e,i){return(i=t[e])&&u(i)?t[e]():o(i)&&t.getAttribute&&t.getAttribute(e)||i}function h(t,e){return(t=t.split(",")).forEach(e)||t}function O(t){return Math.round(1e5*t)/1e5||0}function a(t,e,i){var n,o=C(t[1]),r=(o?2:1)+(e<2?0:1),s=t[r];if(o&&(s.duration=t[1]),s.parent=i,e){for(n=s;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=B(i.vars.inherit)&&i.parent;s.immediateRender=B(n.immediateRender),e<2?s.runBackwards=1:s.startAt=t[r-1]}return s}function R(){var t,e,i=se.length,n=se.slice(0);for(ae={},t=se.length=0;t<i;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function l(t,e,i,n){se.length&&R(),t.render(e,i,n),se.length&&R()}function c(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(ne).length<2?e:I(t)?t.trim():t}function d(t){return t}function z(t,e){for(var i in e)i in t||(t[i]=e[i]);return t}function p(t,e){for(var i in e)i in t||"duration"===i||"ease"===i||(t[i]=e[i])}function f(t,e){for(var i in e)t[i]=A(e[i])?f(t[i]||(t[i]={}),e[i]):e[i];return t}function W(t,e){var i,n={};for(i in t)i in e||(n[i]=t[i]);return n}function k(t){var e=t.parent||Tt,i=t.keyframes?p:z;if(B(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t}function m(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var o=e._prev,r=e._next;o?o._next=r:t[i]===e&&(t[i]=r),r?r._prev=o:t[n]===e&&(t[n]=o),e._next=e._prev=e.parent=null}function N(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function g(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t}function T(t){return t._repeat?ft(t._tTime,t=t.duration()+t._rDelay)*t:0}function v(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function S(t){return t._end=O(t._start+(t._tDur/Math.abs(t._ts||t._rts||Xt)||0))}function b(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=O(t._dp._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),S(t),i._dirty||g(i,t)),t}function H(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=v(t.rawTime(),e),(!e._dur||fe(0,e.totalDuration(),i)-e._tTime>Xt)&&e.render(i,!0)),g(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)0<=i.rawTime()&&i.totalTime(i._tTime),i=i._dp;t._zTime=-Xt}}function y(t,e,i,n){return e.parent&&N(e),e._start=O(i+e._delay),e._end=O(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,i,n,o){void 0===i&&(i="_first");var r,s=t[n=void 0===n?"_last":n];if(o)for(r=e[o];s&&s[o]>r;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,n||H(t,e),t}function G(t,e){return(oe.ScrollTrigger||x("scrollTrigger",e))&&oe.ScrollTrigger.create(e,t)}function F(t,e,i,n){return Le(t,e),!t._initted||!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&_t!==Se.frame&&(se.push(t),t._lazy=[e,n])}function X(t,e,i,n){var o=t._repeat,r=O(e)||0,e=t._tTime/t._tDur;return e&&!n&&(t._time*=r/t._dur),t._dur=r,t._tDur=o?o<0?1e10:O(r*(o+1)+t._rDelay*o):r,e&&!n?b(t,t._tTime=t._tDur*e):t.parent&&S(t),i||g(t.parent,t),t}function w(t){return t instanceof Ge?g(t):X(t,t._dur)}function V(t,e){var i,n=t.labels,o=t._recent||he,r=t.duration()>=Ft?o.endTime(!1):t._dur;return I(e)&&(isNaN(e)||e in n)?"<"===(i=e.charAt(0))||">"===i?("<"===i?o._start:o.endTime(0<=o._repeat))+(parseFloat(e.substr(1))||0):(i=e.indexOf("="))<0?(e in n||(n[e]=r),n[e]):(n=+(e.charAt(i-1)+e.substr(i+1)),1<i?V(t,e.substr(0,i-1))+n:r+n):null==e?r:+e}function $(t,e){return t||0===t?e(t):e}function U(t){return(t=(t+"").substr((parseFloat(t)+"").length))&&isNaN(t)?t:""}function j(t,e){return t&&A(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&A(t[0]))&&!t.nodeType&&t!==vt}function Y(t){return t.sort(function(){return.5-Math.random()})}function q(t){if(u(t))return t;var h=A(t)?t:{each:t},f=Pe(h.ease),m=h.from||0,g=parseFloat(h.base)||0,T={},t=0<m&&m<1,v=isNaN(m)||t,b=h.axis,y=m,S=m;return I(m)?y=S={center:.5,edges:.5,end:1}[m]||0:!t&&v&&(y=m[0],S=m[1]),function(t,e,i){var n,o,r,s,a,l,c,d,u=(i||h).length,p=T[u];if(!p){if(!(d="auto"===h.grid?0:(h.grid||[1,Ft])[1])){for(l=-Ft;l<(l=i[d++].getBoundingClientRect().left)&&d<u;);d--}for(p=T[u]=[],n=v?Math.min(d,u)*y-.5:m%d,o=v?u*S/d-.5:m/d|0,c=Ft,a=l=0;a<u;a++)r=a%d-n,s=o-(a/d|0),p[a]=s=b?Math.abs("y"===b?s:r):jt(r*r+s*s),l<s&&(l=s),s<c&&(c=s);"random"===m&&Y(p),p.max=l-c,p.min=c,p.v=u=(parseFloat(h.amount)||parseFloat(h.each)*(u<d?u-1:b?"y"===b?u/d:d:Math.max(d,u/d))||0)*("edges"===m?-1:1),p.b=u<0?g-u:g,p.u=U(h.amount||h.each)||0,f=f&&u<0?Me(f):f}return u=(p[t]-p.min)/p.max||0,O(p.b+(f?f(u):u)*p.v)+p.u}}function K(e){var i=e<1?Math.pow(10,(e+"").length-2):1;return function(t){return Math.floor(Math.round(parseFloat(t)/e)*e*i)/i+(C(t)?0:U(t))}}function Q(l,t){var c,d,e=Qt(l);return!e&&A(l)&&(c=e=l.radius||Ft,l.values?(l=ge(l.values),(d=!C(l[0]))&&(c*=c)):l=K(l.increment)),$(t,e?u(l)?function(t){return d=l(t),Math.abs(d-t)<=c?d:t}:function(t){for(var e,i,n=parseFloat(d?t.x:t),o=parseFloat(d?t.y:0),r=Ft,s=0,a=l.length;a--;)(e=d?(e=l[a].x-n)*e+(i=l[a].y-o)*i:Math.abs(l[a]-n))<r&&(r=e,s=a);return s=!c||r<=c?l[s]:t,d||s===t||C(t)?s:s+U(t)}:K(l))}function Z(t,e,i,n){return $(Qt(t)?!e:!0===i?!!(i=0):!n,function(){return Qt(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t+Math.random()*(e-t))/i)*i*n)/n})}function J(e,i,t){return $(t,function(t){return e[~~i(t)]})}function tt(t){for(var e,i,n,o,r=0,s="";~(e=t.indexOf("random(",r));)n=t.indexOf(")",e),o="["===t.charAt(e+7),i=t.substr(e+7,n-e-7).match(o?ne:Zt),s+=t.substr(r,e-r)+Z(o?i:+i[0],o?0:+i[1],+i[2]||1e-5),r=n+1;return s+t.substr(r,t.length-r)}function et(t,e,i){var n,o,r,s=t.labels,a=Ft;for(n in s)(o=s[n]-e)<0==!!i&&o&&a>(o=Math.abs(o))&&(r=n,a=o);return r}function it(t){return N(t),t.progress()<1&&gt(t,"onInterrupt"),t}function nt(t,e,i){return(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*Te+.5|0}function ot(t,e,i){var n,o,r,s,a,l,c,d=t?C(t)?[t>>16,t>>8&Te,t&Te]:0:ve.black;if(!d){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ve[t])d=ve[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(o=t.charAt(2))+o+(r=t.charAt(3))+r),d=[(t=parseInt(t.substr(1),16))>>16,t>>8&Te,t&Te];else if("hsl"===t.substr(0,3))if(d=c=t.match(Zt),e){if(~t.indexOf("="))return d=t.match(Jt),i&&d.length<4&&(d[3]=1),d}else s=+d[0]%360/360,a=d[1]/100,n=2*(l=d[2]/100)-(o=l<=.5?l*(a+1):l+a-l*a),3<d.length&&(d[3]*=1),d[0]=nt(s+1/3,n,o),d[1]=nt(s,n,o),d[2]=nt(s-1/3,n,o);else d=t.match(Zt)||ve.transparent;d=d.map(Number)}return e&&!c&&(n=d[0]/Te,o=d[1]/Te,r=d[2]/Te,l=((t=Math.max(n,o,r))+(e=Math.min(n,o,r)))/2,t===e?s=a=0:(c=t-e,a=.5<l?c/(2-t-e):c/(t+e),s=t===n?(o-r)/c+(o<r?6:0):t===o?(r-n)/c+2:(n-o)/c+4,s*=60),d[0]=~~(s+.5),d[1]=~~(100*a+.5),d[2]=~~(100*l+.5)),i&&d.length<4&&(d[3]=1),d}function rt(t){var e=[],i=[],n=-1;return t.split(be).forEach(function(t){t=t.match(te)||[];e.push.apply(e,t),i.push(n+=t.length+1)}),e.c=i,e}function st(t,e,i){var n,o,r,s,a="",l=(t+a).match(be),c=e?"hsla(":"rgba(",d=0;if(!l)return t;if(l=l.map(function(t){return(t=ot(t,e,1))&&c+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),i&&(r=rt(t),(n=i.c).join(a)!==r.c.join(a)))for(s=(o=t.replace(be,"1").split(te)).length-1;d<s;d++)a+=o[d]+(~n.indexOf(d)?l.shift()||c+"0,0,0,0)":(r.length?r:l.length?l:i).shift());if(!o)for(s=(o=t.split(be)).length-1;d<s;d++)a+=o[d]+l[d];return a+o[s]}function at(t){var e=t.join(" ");if(be.lastIndex=0,be.test(e))return e=ye.test(e),t[1]=st(t[1],e),t[0]=st(t[0],e,rt(t[1])),!0}function lt(t,e){for(var i,n=t._first;n;)n instanceof Ge?lt(n,e):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===e||(n.timeline?lt(n.timeline,e):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=e)),n=n._next}function ct(t,e,i,n){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var o,r={easeIn:e,easeOut:i,easeInOut:n};return h(t,function(t){for(var e in _e[t]=oe[t]=r,_e[o=t.toLowerCase()]=i,r)_e[o+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=_e[t+"."+e]=r[e]}),1}function dt(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function ut(i,t,e){function n(t){return 1===t?1:o*Math.pow(2,-10*t)*qt((t-r)*s)+1}var o=1<=t?t:1,r=(s=(e||(i?.3:.45))/(t<1?t:1))/Vt*(Math.asin(1/o)||0),t="out"===i?n:"in"===i?function(t){return 1-n(1-t)}:dt(n),s=Vt/s;return t.config=function(t,e){return ut(i,t,e)},t}function pt(e,i){function n(t){return t?--t*t*((i+1)*t+i)+1:0}void 0===i&&(i=1.70158);var t="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:dt(n);return t.config=function(t){return pt(e,t)},t}function ht(t,e){for(var i in e)t[i]=e[i];return t}function ft(t,e){return(t/=e)&&~~t===t?~~t-1:~~t}function mt(e,t,i,n,o){var r=t-e,s=n-i;return $(o,function(t){return i+((t-e)/r*s||0)})}function gt(t,e,i){var n=t.vars,o=n[e];return o&&(e=n[e+"Params"],t=n.callbackScope||t,i&&se.length&&R(),e?o.apply(t,e):o.call(t))}var Tt,vt,bt,yt,St,wt,_t,Ct,At,Mt,Pt,It,xt,Et,kt,Ht,Gt,Bt,Dt,Lt,Ot,Rt,zt,Wt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Nt={duration:.5,overwrite:!1,delay:0},Ft=1e8,Xt=1/Ft,Vt=2*Math.PI,$t=Vt/4,Ut=0,jt=Math.sqrt,Yt=Math.cos,qt=Math.sin,Kt="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Qt=Array.isArray,Zt=/(?:-?\.?\d|\.)+/gi,Jt=/[-+=.]*\d+[.e\-+]*\d*[e\-\+]*\d*/g,te=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ee=/[-+=.]*\d+(?:\.|e-|e)*\d*/gi,ie=/[+-]=-?[\.\d]+/,ne=/[#\-+.]*\b[a-z\d-=+%.]+/gi,oe={},re={},se=[],ae={},le={},ce={},de=30,ue=[],pe="",he={_start:0,endTime:E},fe=function(t,e,i){return i<t?t:e<i?e:i},me=[].slice,ge=function(t,e){return!I(t)||e||!bt&&we()?Qt(t)?(i=e,void 0===n&&(n=[]),t.forEach(function(t){return I(t)&&!i||j(t,1)?n.push.apply(n,ge(t)):n.push(t)})||n):j(t)?me.call(t,0):t?[t]:[]:me.call(yt.querySelectorAll(t),0);var i,n},Te=255,ve={aqua:[0,Te,Te],lime:[0,Te,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Te],navy:[0,0,128],white:[Te,Te,Te],olive:[128,128,0],yellow:[Te,Te,0],orange:[Te,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Te,0,0],pink:[Te,192,203],cyan:[0,Te,Te],transparent:[Te,Te,Te,0]},be=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in ve)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ye=/hsl[a]?\(/,Se=(kt=Date.now,Ht=500,Gt=33,Bt=kt(),Dt=Bt,Ot=Lt=1e3/240,It={time:0,frame:0,tick:function(){Ie(!0)},deltaRatio:function(t){return xt/(1e3/(t||60))},wake:function(){wt&&(!bt&&e()&&(vt=bt=window,yt=vt.document||{},oe.gsap=si,(vt.gsapVersions||(vt.gsapVersions=[])).push(si.version),i(St||vt.GreenSockGlobals||!vt.gsap&&vt||{}),Pt=vt.requestAnimationFrame),At&&It.sleep(),Mt=Pt||function(t){return setTimeout(t,Ot-1e3*It.time+1|0)},Ct=1,Ie(2))},sleep:function(){(Pt?vt.cancelAnimationFrame:clearTimeout)(At),Ct=0,Mt=E},lagSmoothing:function(t,e){Ht=t||1e8,Gt=Math.min(e,Ht,0)},fps:function(t){Lt=1e3/(t||240),Ot=1e3*It.time+Lt},add:function(t){Rt.indexOf(t)<0&&Rt.push(t),we()},remove:function(t){~(t=Rt.indexOf(t))&&Rt.splice(t,1)&&t<=Et&&Et--},_listeners:Rt=[]}),we=function(){return!Ct&&Se.wake()},_e={},Ce=/^[\d.\-M][\d.\-,\s]/,Ae=/["']/g,Me=function(e){return function(t){return 1-e(1-t)}},Pe=function(t,e){return t&&(u(t)?t:_e[t]||(r=((i=t)+"").split("("),(s=_e[r[0]])&&1<r.length&&s.config?s.config.apply(null,~i.indexOf("{")?[function(t){for(var e,i,n,o={},r=t.substr(1,t.length-3).split(":"),s=r[0],a=1,l=r.length;a<l;a++)i=r[a],e=a!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,e),o[s]=isNaN(n)?n.replace(Ae,"").trim():+n,s=i.substr(e+1).trim();return o}(r[1])]:(o=(n=i).indexOf("(")+1,t=n.indexOf(")"),r=n.indexOf("(",o),n.substring(o,~r&&r<t?n.indexOf(")",t+1):t).split(",").map(c))):_e._CE&&Ce.test(i)?_e._CE("",i):s))||e;var i,n,o,r,s};function Ie(t){var e,i,n,o=kt()-Dt,r=!0===t;if(Ht<o&&(Bt+=o-Gt),(0<(o=(i=(Dt+=o)-Bt)-Ot)||r)&&(n=++It.frame,xt=i-1e3*It.time,It.time=i/=1e3,Ot+=o+(Lt<=o?4:Lt-o),e=1),r||(At=Mt(Ie)),e)for(Et=0;Et<Rt.length;Et++)Rt[Et](i,xt,n,t)}function xe(t){return t<1/2.75?zt*t*t:t<.7272727272727273?zt*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?zt*(t-=2.25/2.75)*t+.9375:zt*Math.pow(t-2.625/2.75,2)+.984375}h("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var i=e<5?e+1:e;ct(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},function(t){return 1-Math.pow(1-t,i)},function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow(2*(1-t),i)/2})}),_e.Linear.easeNone=_e.none=_e.Linear.easeIn,ct("Elastic",ut("in"),ut("out"),ut()),zt=7.5625,ct("Bounce",function(t){return 1-xe(1-t)},xe),ct("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),ct("Circ",function(t){return-(jt(1-t*t)-1)}),ct("Sine",function(t){return 1===t?1:1-Yt(t*$t)}),ct("Back",pt("in"),pt("out"),pt()),_e.SteppedEase=_e.steps=oe.SteppedEase={config:function(t,e){var i=1/(t=void 0===t?1:t),n=t+(e?0:1),o=e?1:0;return function(t){return((n*fe(0,.99999999,t)|0)+o)*i}}},Nt.ease=_e["quad.out"],h("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return pe+=t+","+t+"Params,"});var Ee=function(t,e){this.id=Ut++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:s,this.set=e?e.getSetter:Ke},ke=((Ln=He.prototype).delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ln.duration=function(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ln.totalDuration=function(t){return arguments.length?(this._dirty=0,X(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ln.totalTime=function(t,e){if(we(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(b(this,t);i.parent;)i.parent._time!==i._start+(0<=i._ts?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&y(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Xt||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),l(this,t,e)),this},Ln.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+T(this))%this._dur||(t?this._dur:0),e):this._time},Ln.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},Ln.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+T(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},Ln.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?ft(this._tTime,i)+1:1},Ln.timeScale=function(t){if(!arguments.length)return this._rts===-Xt?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?v(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-Xt?0:this._rts,function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this.totalTime(fe(-this._delay,this._tDur,e),!0))},Ln.paused=function(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(we(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&(this._tTime-=Xt)&&Math.abs(this._zTime)!==Xt))),this):this._ps},Ln.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return!e||!e._sort&&this.parent||y(e,this,t-this._delay),this}return this._start},Ln.endTime=function(t){return this._start+(B(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},Ln.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?v(e.rawTime(t),this):this._tTime:this._tTime},Ln.globalTime=function(t){for(var e=this,i=arguments.length?t:e.rawTime();e;)i=e._start+i/(e._ts||1),e=e._dp;return i},Ln.repeat=function(t){return arguments.length?(this._repeat=t,w(this)):this._repeat},Ln.repeatDelay=function(t){return arguments.length?(this._rDelay=t,w(this)):this._rDelay},Ln.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ln.seek=function(t,e){return this.totalTime(V(this,t),B(e))},Ln.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,B(e))},Ln.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ln.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ln.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ln.resume=function(){return this.paused(!1)},Ln.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-Xt:0)),this):this._rts<0},Ln.invalidate=function(){return this._initted=0,this._zTime=-Xt,this},Ln.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<this.endTime(!0)-Xt))},Ln.eventCallback=function(t,e,i){var n=this.vars;return 1<arguments.length?(e?(n[t]=e,i&&(n[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},Ln.then=function(n){var o=this;return new Promise(function(e){function t(){var t=o.then;o.then=null,u(i)&&(i=i(o))&&(i.then||i===o)&&(o.then=t),e(i),o.then=t}var i=u(n)?n:d;o._initted&&1===o.totalProgress()&&0<=o._ts||!o._tTime&&o._ts<0?t():o._prom=t})},Ln.kill=function(){it(this)},He);function He(t,e){var i=t.parent||Tt;this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,X(this,+t.duration,1,1),this.data=t.data,Ct||Se.wake(),i&&y(i,this,e||0===e?e:i._time,1),t.reversed&&this.reverse(),t.paused&&this.paused(!0)}z(ke.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Xt,_prom:0,_ps:!1,_rts:1});var Ge=function(i){function t(t,e){return(e=i.call(this,t=void 0===t?{}:t,e)||this).labels={},e.smoothChildTiming=!!t.smoothChildTiming,e.autoRemoveChildren=!!t.autoRemoveChildren,e._sort=B(t.sortChildren),e.parent&&H(e.parent,_(e)),t.scrollTrigger&&G(_(e),t.scrollTrigger),e}n(t,i);var e=t.prototype;return e.to=function(t,e,i,n){return new Ne(t,a(arguments,0,this),V(this,C(e)?n:i)),this},e.from=function(t,e,i,n){return new Ne(t,a(arguments,1,this),V(this,C(e)?n:i)),this},e.fromTo=function(t,e,i,n,o){return new Ne(t,a(arguments,2,this),V(this,C(e)?o:n)),this},e.set=function(t,e,i){return e.duration=0,e.parent=this,k(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ne(t,e,V(this,i),1),this},e.call=function(t,e,i){return y(this,Ne.delayedCall(0,t,e),V(this,i))},e.staggerTo=function(t,e,i,n,o,r,s){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=r,i.onCompleteParams=s,i.parent=this,new Ne(t,i,V(this,o)),this},e.staggerFrom=function(t,e,i,n,o,r,s){return i.runBackwards=1,k(i).immediateRender=B(i.immediateRender),this.staggerTo(t,e,i,n,o,r,s)},e.staggerFromTo=function(t,e,i,n,o,r,s,a){return n.startAt=i,k(n).immediateRender=B(n.immediateRender),this.staggerTo(t,e,n,o,r,s,a)},e.render=function(t,e,i){var n,o,r,s,a,l,c,d,u,p,h=this._time,f=this._dirty?this.totalDuration():this._tDur,m=this._dur,g=this!==Tt&&f-Xt<t&&0<=t?f:t<Xt?0:t,T=this._zTime<0!=t<0&&(this._initted||!m);if(g!==this._tTime||i||T){if(h!==this._time&&m&&(g+=this._time-h,t+=this._time-h),n=g,d=this._start,a=!(c=this._ts),T&&(m||(h=this._zTime),!t&&e||(this._zTime=t)),this._repeat&&(v=this._yoyo,n=O(g%(s=m+this._rDelay)),g===f?(r=this._repeat,n=m):((r=~~(g/s))&&r===g/s&&(n=m,r--),m<n&&(n=m)),u=ft(this._tTime,s),v&&1&r&&(n=m-n,p=1),r!==(u=!h&&this._tTime&&u!==r?r:u)&&!this._lock)){var T=v&&1&u,v=T===(v&&1&r),h=(T=r<u?!T:T)?0:m;if(this._lock=1,this.render(h||(p?0:O(r*s)),e,!m)._lock=0,!e&&this.parent&&gt(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),h!==this._time||a!=!this._ts)return this;if(m=this._dur,f=this._tDur,v&&(this._lock=2,this.render(h=T?m:-1e-4,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!a)return this;lt(this,p)}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=function(t,e,i){var n;if(e<i)for(n=t._first;n&&n._start<=i;){if(!n._dur&&"isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(!n._dur&&"isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,O(h),O(n)))&&(g-=n-(n=l._start)),this._tTime=g,this._time=n,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t),h||!n||e||gt(this,"onStart"),h<=n&&0<=t)for(b=this._first;b;){if(o=b._next,(b._act||n>=b._start)&&b._ts&&l!==b){if(b.parent!==this)return this.render(t,e,i);if(b.render(0<b._ts?(n-b._start)*b._ts:(b._dirty?b.totalDuration():b._tDur)+(n-b._start)*b._ts,e,i),n!==this._time||!this._ts&&!a){l=0,o&&(g+=this._zTime=-Xt);break}}b=o}else for(var b=this._last,y=t<0?t:n;b;){if(o=b._prev,(b._act||y<=b._end)&&b._ts&&l!==b){if(b.parent!==this)return this.render(t,e,i);if(b.render(0<b._ts?(y-b._start)*b._ts:(b._dirty?b.totalDuration():b._tDur)+(y-b._start)*b._ts,e,i),n!==this._time||!this._ts&&!a){l=0,o&&(g+=this._zTime=y?-Xt:Xt);break}}b=o}if(l&&!e&&(this.pause(),l.render(h<=n?0:-Xt)._zTime=h<=n?1:-1,this._ts))return this._start=d,S(this),this.render(t,e,i);this._onUpdate&&!e&&gt(this,"onUpdate",!0),(g===f&&f>=this.totalDuration()||!g&&h)&&(d!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||(!t&&m||!(g===f&&0<this._ts||!g&&this._ts<0)||N(this,1),e||t<0&&!h||!g&&!h||(gt(this,g===f?"onComplete":"onReverseComplete",!0),!this._prom||g<f&&0<this.timeScale()||this._prom())))}return this},e.add=function(t,e){var i=this;if(C(e)||(e=V(this,e)),!(t instanceof ke)){if(Qt(t))return t.forEach(function(t){return i.add(t,e)}),this;if(I(t))return this.addLabel(t,e);if(!u(t))return this;t=Ne.delayedCall(0,t)}return this!==t?y(this,t,e):this},e.getChildren=function(t,e,i,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=-Ft);for(var o=[],r=this._first;r;)r._start>=n&&(r instanceof Ne?e&&o.push(r):(i&&o.push(r),t&&o.push.apply(o,r.getChildren(!0,e,i)))),r=r._next;return o},e.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},e.remove=function(t){return I(t)?this.removeLabel(t):u(t)?this.killTweensOf(t):(m(this,t),t===this._recent&&(this._recent=this._last),g(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=O(Se.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function(t,e){return this.labels[t]=V(this,e),this},e.removeLabel=function(t){return delete this.labels[t],this},e.addPause=function(t,e,i){i=Ne.delayedCall(0,e||E,i);return i.data="isPause",this._hasPause=1,y(this,i,V(this,t))},e.removePause=function(t){var e=this._first;for(t=V(this,t);e;)e._start===t&&"isPause"===e.data&&N(e),e=e._next},e.killTweensOf=function(t,e,i){for(var n=this.getTweensOf(t,i),o=n.length;o--;)Oe!==n[o]&&n[o].kill(t,e);return this},e.getTweensOf=function(t,e){for(var i,n=[],o=ge(t),r=this._first,s=C(e);r;)r instanceof Ne?function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i}(r._targets,o)&&(s?(!Oe||r._initted&&r._ts)&&r.globalTime(0)<=e&&r.globalTime(r.totalDuration())>e:!e||r.isActive())&&n.push(r):(i=r.getTweensOf(o,e)).length&&n.push.apply(n,i),r=r._next;return n},e.tweenTo=function(t,e){e=e||{};var i=this,n=V(i,t),t=e.startAt,o=e.onStart,r=e.onStartParams,s=Ne.to(i,z(e,{ease:"none",lazy:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(t&&"time"in t?t.time:i._time))/i.timeScale())||Xt,onStart:function(){i.pause();var t=e.duration||Math.abs((n-i._time)/i.timeScale());s._dur!==t&&X(s,t,0,1).render(s._time,!0,!0),o&&o.apply(s,r||[])}}));return s},e.tweenFromTo=function(t,e,i){return this.tweenTo(e,z({startAt:{time:V(this,t)}},i))},e.recent=function(){return this._recent},e.nextLabel=function(t){return et(this,V(this,t=void 0===t?this._time:t))},e.previousLabel=function(t){return et(this,V(this,t=void 0===t?this._time:t),1)},e.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Xt)},e.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var n,o=this._first,r=this.labels;o;)o._start>=i&&(o._start+=t,o._end+=t),o=o._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return g(this)},e.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return i.prototype.invalidate.call(this)},e.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._time=this._tTime=this._pTime=0,t&&(this.labels={}),g(this)},e.totalDuration=function(t){var e,i,n,o=0,r=this,s=r._last,a=Ft;if(arguments.length)return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-t:t));if(r._dirty){for(n=r.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),a<(i=s._start)&&r._sort&&s._ts&&!r._lock?(r._lock=1,y(r,s,i-s._delay,1)._lock=0):a=i,i<0&&s._ts&&(o-=i,(!n&&!r._dp||n&&n.smoothChildTiming)&&(r._start+=i/r._ts,r._time-=i,r._tTime-=i),r.shiftChildren(-i,!1,-1/0),a=0),s._end>o&&s._ts&&(o=s._end),s=e;X(r,r===Tt&&r._time>o?r._time:o,1,1),r._dirty=0}return r._tDur},t.updateRoot=function(t){if(Tt._ts&&(l(Tt,v(t,Tt)),_t=Se.frame),Se.frame>=de){de+=Wt.autoSleep||120;var e=Tt._first;if((!e||!e._ts)&&Wt.autoSleep&&Se._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Se.sleep()}}},t}(ke);function Be(t,e,i,n,o,r){var s,a,l,c;if(le[t]&&!1!==(s=new le[t]).init(o,s.rawVars?e[t]:function(t,e,i,n,o){if(!A(t=u(t)?Re(t,o,e,i,n):t)||t.style&&t.nodeType||Qt(t)||Kt(t))return I(t)?Re(t,o,e,i,n):t;var r,s={};for(r in t)s[r]=Re(t[r],o,e,i,n);return s}(e[t],n,o,r,i),i,n,r)&&(i._pt=a=new ei(i._pt,o,t,0,1,s.render,s,0,s.priority),i!==ri))for(l=i._ptLookup[i._targets.indexOf(o)],c=s._props.length;c--;)l[s._props[c]]=a;return s}z(Ge.prototype,{_lock:0,_hasPause:0,_forcing:0});function De(t,e,i,n,o,r,s,a,l){u(n)&&(n=n(o||0,t,r));var o=t[e],r="get"!==i?i:u(o)?l?t[e.indexOf("set")||!u(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():o,i=u(o)?l?qe:Ye:je;if(I(n)&&("="===(n=~n.indexOf("random(")?tt(n):n).charAt(1)&&(n=parseFloat(r)+parseFloat(n.substr(2))*("-"===n.charAt(0)?-1:1)+(U(r)||0))),r!==n)return isNaN(r*n)?(o||e in t||x(e,n),function(t,e,i,n,o,r,s){var a,l,c,d,u,p=new ei(this._pt,t,e,0,1,Je,null,o),h=0,f=0;for(p.b=i,p.e=n,i+="",(o=~(n+="").indexOf("random("))&&(n=tt(n)),r&&(r(r=[i,n],t,e),i=r[0],n=r[1]),a=i.match(ee)||[];u=ee.exec(n);)c=u[0],d=n.substring(h,u.index),l?l=(l+1)%5:"rgba("===d.substr(-5)&&(l=1),c!==a[f++]&&(u=parseFloat(a[f-1])||0,p._pt={_next:p._pt,p:d||1===f?d:",",s:u,c:"="===c.charAt(1)?parseFloat(c.substr(2))*("-"===c.charAt(0)?-1:1):parseFloat(c)-u,m:l&&l<4?Math.round:0},h=ee.lastIndex);return p.c=h<n.length?n.substring(h,n.length):"",p.fp=s,(ie.test(n)||o)&&(p.e=0),this._pt=p}.call(this,t,e,r,n,i,a||Wt.stringFilter,l)):(i=new ei(this._pt,t,e,+r||0,n-(r||0),"boolean"==typeof o?Ze:Qe,0,i),l&&(i.fp=l),s&&i.modifier(s,this,t),this._pt=i)}function Le(t,e){var i,n,o,r,s,a,l,c,d,u,p,h,f,m=t.vars,g=m.ease,T=m.startAt,v=m.immediateRender,b=m.lazy,y=m.onUpdate,S=m.onUpdateParams,w=m.callbackScope,_=m.runBackwards,C=m.yoyoEase,A=m.keyframes,M=m.autoRevert,P=t._dur,I=t._startAt,x=t._targets,E=t.parent,k=E&&"nested"===E.data?E.parent._targets:x,H="auto"===t._overwrite,G=t.timeline;if(t._ease=Pe(g=!(!G||A&&g)?"none":g,Nt.ease),t._yEase=C?Me(Pe(!0===C?g:C,Nt.ease)):0,C&&t._yoyo&&!t._repeat&&(C=t._yEase,t._yEase=t._ease,t._ease=C),!G){if(h=(c=x[0]?L(x[0]).harness:0)&&m[c.prop],i=W(m,re),I&&I.render(-1,!0).kill(),T){if(N(t._startAt=Ne.set(x,z({data:"isStart",overwrite:!1,parent:E,immediateRender:!0,lazy:B(b),startAt:null,delay:0,onUpdate:y,onUpdateParams:S,callbackScope:w,stagger:0},T))),v)if(0<e)M||(t._startAt=0);else if(P&&!(e<0&&I))return void(e&&(t._zTime=e))}else if(_&&P)if(I)M||(t._startAt=0);else if(o=z({overwrite:!1,data:"isFromStart",lazy:(v=e?!1:v)&&B(b),immediateRender:v,stagger:0,parent:E},i),h&&(o[c.prop]=h),N(t._startAt=Ne.set(x,o)),v){if(!e)return}else Le(t._startAt,Xt);for(t._pt=0,b=P&&B(b)||b&&!P,n=0;n<x.length;n++){if(l=(s=x[n])._gsap||D(x)[n]._gsap,t._ptLookup[n]=u={},ae[l.id]&&se.length&&R(),p=k===x?n:k.indexOf(s),c&&!1!==(d=new c).init(s,h||i,t,p,k)&&(t._pt=r=new ei(t._pt,s,d.name,0,1,d.render,d,0,d.priority),d._props.forEach(function(t){u[t]=r}),d.priority&&(a=1)),!c||h)for(o in i)le[o]&&(d=Be(o,i,t,p,s,k))?d.priority&&(a=1):u[o]=r=De.call(t,s,o,"get",i[o],p,k,0,m.stringFilter);t._op&&t._op[n]&&t.kill(s,t._op[n]),H&&t._pt&&(Oe=t,Tt.killTweensOf(s,u,t.globalTime(0)),f=!t.parent,Oe=0),t._pt&&b&&(ae[l.id]=1)}a&&ti(t),t._onInit&&t._onInit(t)}t._from=!G&&!!m.runBackwards,t._onUpdate=y,t._initted=(!t._op||t._pt)&&!f}var Oe,Re=function(t,e,i,n,o){return u(t)?t.call(e,i,n,o):I(t)&&~t.indexOf("random(")?tt(t):t},ze=pe+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",We=(ze+",id,stagger,delay,duration,paused,scrollTrigger").split(","),Ne=function(w){function o(t,e,i,n){var o;"number"==typeof e&&(i.duration=e,e=i,i=null);var r,s,a,l,c,d,u,p,h=(o=w.call(this,n?e:k(e),i)||this).vars,f=h.duration,m=h.delay,g=h.immediateRender,T=h.stagger,v=h.overwrite,b=h.keyframes,n=h.defaults,i=h.scrollTrigger,y=h.yoyoEase,h=o.parent,S=(Qt(t)||Kt(t)?C(t[0]):"length"in e)?[t]:ge(t);if(o._targets=S.length?D(S):P("GSAP target "+t+" not found. https://greensock.com",!Wt.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=v,b||T||M(f)||M(m)){if(e=o.vars,(r=o.timeline=new Ge({data:"nested",defaults:n||{}})).kill(),r.parent=_(o),b)z(r.vars.defaults,{ease:"none"}),b.forEach(function(t){return r.to(S,t,">")});else{if(l=S.length,u=T?q(T):E,A(T))for(c in T)~ze.indexOf(c)&&((p=p||{})[c]=T[c]);for(s=0;s<l;s++){for(c in a={},e)We.indexOf(c)<0&&(a[c]=e[c]);a.stagger=0,y&&(a.yoyoEase=y),p&&ht(a,p),d=S[s],a.duration=+Re(f,_(o),s,d,S),a.delay=(+Re(m,_(o),s,d,S)||0)-o._delay,!T&&1===l&&a.delay&&(o._delay=m=a.delay,o._start+=m,a.delay=0),r.to(d,a,u(s,d,S))}r.duration()?f=m=0:o.timeline=0}f||o.duration(f=r.duration())}else o.timeline=0;return!0===v&&(Oe=_(o),Tt.killTweensOf(S),Oe=0),h&&H(h,_(o)),(g||!f&&!b&&o._start===O(h._time)&&B(g)&&function t(e){return!e||e._ts&&t(e.parent)}(_(o))&&"nested"!==h.data)&&(o._tTime=-Xt,o.render(Math.max(0,-m))),i&&G(_(o),i),o}n(o,w);var t=o.prototype;return t.render=function(t,e,i){var n,o,r,s,a,l,c,d,u,p=this._time,h=this._tDur,f=this._dur,m=h-Xt<t&&0<=t?h:t<Xt?0:t;if(f){if(m!==this._tTime||!t||i||this._startAt&&this._zTime<0!=t<0){if(n=m,d=this.timeline,this._repeat){if(n=O(m%(s=f+this._rDelay)),m===h?(r=this._repeat,n=f):((r=~~(m/s))&&r===m/s&&(n=f,r--),f<n&&(n=f)),(l=this._yoyo&&1&r)&&(u=this._yEase,n=f-n),a=ft(this._tTime,s),n===p&&!i&&this._initted)return this;r!==a&&(d&&this._yEase&&lt(d,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=i=1,this.render(O(s*r),!0).invalidate()._lock=0))}if(!this._initted){if(F(this,t<0?t:n,i,e))return this._tTime=0,this;if(f!==this._dur)return this.render(t,e,i)}for(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(u||this._ease)(n/f),this._from&&(this.ratio=c=1-c),!n||p||e||gt(this,"onStart"),o=this._pt;o;)o.r(c,o.d),o=o._next;d&&d.render(t<0?t:!n&&l?-Xt:d._dur*c,e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,i),gt(this,"onUpdate")),this._repeat&&r!==a&&this.vars.onRepeat&&!e&&this.parent&&gt(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),!t&&f||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||N(this,1),e||t<0&&!p||!m&&!p||(gt(this,m===h?"onComplete":"onReverseComplete",!0),!this._prom||m<h&&0<this.timeScale()||this._prom()))}}else!function(t,e,i,n){var o,r,s=t.ratio,a=e<0||!e&&s&&!t._start&&t._zTime>Xt&&!t._dp._lock||(t._ts<0||t._dp._ts<0)&&"isFromStart"!==t.data&&"isStart"!==t.data?0:1,l=t._rDelay,c=0;if(l&&t._repeat&&(c=fe(0,t._tDur,e),ft(c,l)!==(r=ft(t._tTime,l))&&(s=1-a,t.vars.repeatRefresh&&t._initted&&t.invalidate())),a!==s||n||t._zTime===Xt||!e&&t._zTime){if(t._initted||!F(t,e,n,i)){for(r=t._zTime,t._zTime=e||(i?Xt:0),i=i||e&&!r,t.ratio=a,t._from&&(a=1-a),t._time=0,t._tTime=c,i||gt(t,"onStart"),o=t._pt;o;)o.r(a,o.d),o=o._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!i&&gt(t,"onUpdate"),c&&t._repeat&&!i&&t.parent&&gt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===a&&(a&&N(t,1),i||(gt(t,a?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}}else t._zTime||(t._zTime=e)}(this,t,e,i);return this},t.targets=function(){return this._targets},t.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),w.prototype.invalidate.call(this)},t.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e)&&(this._lazy=0,this.parent))return it(this);if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Oe&&!0!==Oe.vars.overwrite)._first||it(this),this.parent&&i!==this.timeline.totalDuration()&&X(this,this._dur*this.timeline._tDur/i,0,1),this}var n,o,r,s,a,l,c,d=this._targets,u=t?ge(t):d,p=this._ptLookup,t=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0}(d,u))return"all"===e&&(this._pt=0),it(this);for(n=this._op=this._op||[],"all"!==e&&(I(e)&&(a={},h(e,function(t){return a[t]=1}),e=a),e=function(t,e){var i,n,o,r,t=t[0]?L(t[0]).harness:0,s=t&&t.aliases;if(!s)return e;for(n in i=ht({},e),s)if(n in i)for(o=(r=s[n].split(",")).length;o--;)i[r[o]]=i[n];return i}(d,e)),c=d.length;c--;)if(~u.indexOf(d[c]))for(a in o=p[c],"all"===e?(n[c]=e,s=o,r={}):(r=n[c]=n[c]||{},s=e),s)(l=o&&o[a])&&("kill"in l.d&&!0!==l.d.kill(a)||m(this,l,"_pt"),delete o[a]),"all"!==r&&(r[a]=1);return this._initted&&!this._pt&&t&&it(this),this},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e){return new o(t,a(arguments,1))},o.delayedCall=function(t,e,i,n){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},o.fromTo=function(t,e,i){return new o(t,a(arguments,2))},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,i){return Tt.killTweensOf(t,e,i)},o}(ke);function Fe(t,e,i){return t.setAttribute(e,i)}function Xe(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)}z(Ne.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),h("staggerTo,staggerFrom,staggerFromTo",function(i){Ne[i]=function(){var t=new Ge,e=me.call(arguments,0);return e.splice("staggerFromTo"===i?5:4,0,0),t[i].apply(t,e)}});function Ve(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next}function $e(t,e,i,n){for(var o,r=this._pt;r;)o=r._next,r.p===n&&r.modifier(t,e,i),r=o}function Ue(t){for(var e,i,n=this._pt;n;)i=n._next,n.p===t&&!n.op||n.op===t?m(this,n,"_pt"):n.dep||(e=1),n=i;return!e}var je=function(t,e,i){return t[e]=i},Ye=function(t,e,i){return t[e](i)},qe=function(t,e,i,n){return t[e](n.fp,i)},Ke=function(t,e){return u(t[e])?Ye:o(t[e])&&t.setAttribute?Fe:je},Qe=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},Ze=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Je=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round(1e4*(i.s+i.c*t))/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},ti=function(t){for(var e,i,n,o,r=t._pt;r;){for(e=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:o)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:o=r,r=e}t._pt=n},ei=(ii.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=Xe,this.m=t,this.mt=i,this.tween=e},ii);function ii(t,e,i,n,o,r,s,a,l){this.t=e,this.s=n,this.c=o,this.p=i,this.r=r||Qe,this.d=s||this,this.set=a||je,this.pr=l||0,(this._next=t)&&(t._prev=this)}h(pe+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return re[t]=1}),oe.TweenMax=oe.TweenLite=Ne,oe.TimelineLite=oe.TimelineMax=Ge,Tt=new Ge({sortChildren:!1,defaults:Nt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Wt.stringFilter=at;var ni={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(t){var e=(t=!t.name&&t.default||t).name,i=u(t),n=e&&!i&&t.init?function(){this._props=[]}:t,o={init:E,render:Ve,add:De,kill:Ue,modifier:$e,rawVars:0},i={targetTest:0,get:0,getSetter:Ke,aliases:{},register:0};if(we(),t!==n){if(le[e])return;z(n,z(W(t,o),i)),ht(n.prototype,ht(o,W(t,i))),le[n.prop=e]=n,t.targetTest&&(ue.push(n),re[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}r(e,n),t.register&&t.register(si,n,ei)})},timeline:function(t){return new Ge(t)},getTweensOf:function(t,e){return Tt.getTweensOf(t,e)},getProperty:function(n,t,e,i){var o=L((n=I(n)?ge(n)[0]:n)||{}).get,r=e?d:c;return"native"===e&&(e=""),n&&(t?r((le[t]&&le[t].get||o)(n,t,e,i)):function(t,e,i){return r((le[t]&&le[t].get||o)(n,t,e,i))})},quickSetter:function(i,e,n){if(1<(i=ge(i)).length){var o=i.map(function(t){return si.quickSetter(t,e,n)}),r=o.length;return function(t){for(var e=r;e--;)o[e](t)}}i=i[0]||{};var s=le[e],a=L(i),l=a.harness&&(a.harness.aliases||{})[e]||e,c=s?function(t){var e=new s;ri._pt=0,e.init(i,n?t+n:t,ri,0,[i]),e.render(1,e),ri._pt&&Ve(1,ri)}:a.set(i,l);return s?c:function(t){return c(i,l,n?t+n:t,a,1)}},isTweening:function(t){return 0<Tt.getTweensOf(t,!0).length},defaults:function(t){return t&&t.ease&&(t.ease=Pe(t.ease,Nt.ease)),f(Nt,t||{})},config:function(t){return f(Wt,t||{})},registerEffect:function(t){var n=t.name,o=t.effect,e=t.plugins,r=t.defaults,t=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!le[t]&&!oe[t]&&P(n+" effect requires "+t+" plugin.")}),ce[n]=function(t,e,i){return o(ge(t),z(e||{},r),i)},t&&(Ge.prototype[n]=function(t,e,i){return this.add(ce[n](t,A(e)?e:(i=e)&&{},this),i)})},registerEase:function(t,e){_e[t]=Pe(e)},parseEase:function(t,e){return arguments.length?Pe(t,e):_e},getById:function(t){return Tt.getById(t)},exportRoot:function(t,e){var i,n,o=new Ge(t=void 0===t?{}:t);for(o.smoothChildTiming=B(t.smoothChildTiming),Tt.remove(o),o._dp=0,o._time=o._tTime=Tt._time,i=Tt._first;i;)n=i._next,!e&&!i._dur&&i instanceof Ne&&i.vars.onComplete===i._targets[0]||y(o,i,i._start-i._delay),i=n;return y(Tt,o,0),o},utils:{wrap:function t(e,i,n){var o=i-e;return Qt(e)?J(e,t(0,e.length),i):$(n,function(t){return(o+(t-e)%o)%o+e})},wrapYoyo:function t(e,i,n){var o=i-e,r=2*o;return Qt(e)?J(e,t(0,e.length-1),i):$(n,function(t){return e+(o<(t=(r+(t-e)%r)%r||0)?r-t:t)})},distribute:q,random:Z,snap:Q,normalize:function(t,e,i){return mt(t,e,0,1,i)},getUnit:U,clamp:function(e,i,t){return $(t,function(t){return fe(e,i,t)})},splitColor:ot,toArray:ge,mapRange:mt,pipe:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(e,i){return function(t){return e(parseFloat(t))+(i||U(t))}},interpolate:function t(e,i,n,o){var r=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!r){var s,a,l,c,d,u=I(e),p={};if(!0===n&&(o=1)&&(n=null),u)e={p:e},i={p:i};else if(Qt(e)&&!Qt(i)){for(l=[],c=e.length,d=c-2,a=1;a<c;a++)l.push(t(e[a-1],e[a]));c--,r=function(t){t*=c;var e=Math.min(d,~~t);return l[e](t-e)},n=i}else o||(e=ht(Qt(e)?[]:{},e));if(!l){for(s in i)De.call(p,e,s,"get",i[s]);r=function(t){return Ve(t,p),u?e.p:e}}}return $(n,r)},shuffle:Y},install:i,effects:ce,ticker:Se,updateRoot:Ge.updateRoot,plugins:le,globalTimeline:Tt,core:{PropTween:ei,globals:r,Tween:Ne,Timeline:Ge,Animation:ke,getCache:L,_removeLinkedListItem:m}};function oi(t,o){return{name:t,rawVars:1,init:function(t,n,e){e._onInit=function(t){var e,i;if(I(n)&&(e={},h(n,function(t){return e[t]=1}),n=e),o){for(i in e={},n)e[i]=o(n[i]);n=e}!function(t,e){var i,n,o,r=t._targets;for(i in e)for(n=r.length;n--;)(o=(o=t._ptLookup[n][i])&&o.d)&&(o._pt&&(o=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i}(o,i)),o&&o.modifier&&o.modifier(e[i],t,r[n],i))}(t,n)}}}}h("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return ni[t]=Ne[t]}),Se.add(Ge.updateRoot);var ri=ni.to({},{duration:0}),si=ni.registerPlugin({name:"attr",init:function(t,e,i,n,o){var r,s;for(r in e)(s=this.add(t,"setAttribute",(t.getAttribute(r)||0)+"",e[r],n,o,0,0,r))&&(s.op=r),this._props.push(r)}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i])}},oi("roundProps",K),oi("modifiers"),oi("snap",Q))||ni;function ai(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function li(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function ci(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function di(t,e){t=e.s+e.c*t;e.set(e.t,e.p,~~(t+(t<0?-.5:.5))+e.u,e)}function ui(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function pi(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function hi(t,e,i){return t.style[e]=i}function fi(t,e,i){return t.style.setProperty(e,i)}function mi(t,e,i){return t._gsap[e]=i}function gi(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i}function Ti(t,e,i,n,o){t=t._gsap;t.scaleX=t.scaleY=i,t.renderTransform(o,t)}function vi(t,e,i,n,o){t=t._gsap;t[e]=i,t.renderTransform(o,t)}function bi(t,e){e=Oi.createElementNS?Oi.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Oi.createElement(t);return e.style?e:Oi.createElement(t)}function yi(t,e,i){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(hn,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&yi(t,yn(e)||e,1)||""}function Si(){"undefined"!=typeof window&&window.document&&(Ri=(Oi=window.document).documentElement,Wi=bi("div")||{style:{}},Ni=bi("div"),Tn=yn(Tn),vn=Tn+"Origin",Wi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Xi=!!yn("perspective"),zi=1)}function wi(t){var e,i=bi("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,r=this.style.cssText;if(Ri.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=wi}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),Ri.removeChild(i),this.style.cssText=r,e}function _i(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])}function Ci(e){var i;try{i=e.getBBox()}catch(t){i=wi.call(e,!0)}return!(i=!(i&&(i.width||i.height)||e.getBBox===wi)?wi.call(e,!0):i)||i.width||i.x||i.y?i:{x:+_i(e,["x","cx","x1"])||0,y:+_i(e,["y","cy","y1"])||0,width:0,height:0}}function Ai(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Ci(t))}function Mi(t,e){e&&(t=t.style,e in cn&&e!==vn&&(e=Tn),t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(hn,"-$1").toLowerCase())):t.removeAttribute(e))}function Pi(t,e,i,n,o,r){r=new ei(t._pt,e,i,0,1,r?pi:ui);return(t._pt=r).b=n,r.e=o,t._props.push(i),r}function Ii(t,e,i,n){var o=parseFloat(i)||0,r=(i+"").trim().substr((o+"").length)||"px",s=Wi.style,a=fn.test(e),l="svg"===t.tagName.toLowerCase(),c=(l?"client":"offset")+(a?"Width":"Height"),d="px"===n,u="%"===n;return n===r||!o||Sn[n]||Sn[r]?o:("px"===r||d||(o=Ii(t,e,i,"px")),i=t.getCTM&&Ai(t),u&&(cn[e]||~e.indexOf("adius"))?O(o/(i?t.getBBox()[a?"width":"height"]:t[c])*100):(s[a?"width":"height"]=100+(d?r:n),l=~e.indexOf("adius")||"em"===n&&t.appendChild&&!l?t:t.parentNode,(i=(l=!(l=i?(t.ownerSVGElement||{}).parentNode:l)||l===Oi||!l.appendChild?Oi.body:l)._gsap)&&u&&i.width&&a&&i.time===Se.time?O(o/i.width*100):(!u&&"%"!==r||(s.position=yi(t,"position")),l===t&&(s.position="static"),l.appendChild(Wi),t=Wi[c],l.removeChild(Wi),s.position="absolute",a&&u&&((i=L(l)).time=Se.time,i.width=l[c]),O(d?t*o/100:t&&o?100/t*o:0))))}function xi(t,e,i,n){var o;return zi||Si(),e in gn&&"transform"!==e&&~(e=gn[e]).indexOf(",")&&(e=e.split(",")[0]),cn[e]&&"transform"!==e?(o=Mn(t,n),o="transformOrigin"!==e?o[e]:Pn(yi(t,vn))+" "+o.zOrigin+"px"):(o=t.style[e])&&"auto"!==o&&!n&&!~(o+"").indexOf("calc(")||(o=_n[e]&&_n[e](t,e,i)||yi(t,e)||s(t,e)||("opacity"===e?1:0)),i&&!~(o+"").indexOf(" ")?Ii(t,e,o,i)+i:o}function Ei(t,e,i,n){var o;i&&"none"!==i||((r=(o=yn(e,t,1))&&yi(t,o,1))&&r!==i?(e=o,i=r):"borderColor"===e&&(i=yi(t,"borderTopColor")));var r,s,a,l,c,d,u,p,h,f,m=new ei(this._pt,t.style,e,0,1,Je),g=0,T=0;if(m.b=i,m.e=n,i+="","auto"==(n+="")&&(t.style[e]=n,n=yi(t,e)||n,t.style[e]=i),at(r=[i,n]),n=r[1],s=(i=r[0]).match(te)||[],(n.match(te)||[]).length){for(;d=te.exec(n);)p=d[0],u=n.substring(g,d.index),l?l=(l+1)%5:"rgba("!==u.substr(-5)&&"hsla("!==u.substr(-5)||(l=1),p!==(c=s[T++]||"")&&(a=parseFloat(c)||0,h=c.substr((a+"").length),(f="="===p.charAt(1)?+(p.charAt(0)+"1"):0)&&(p=p.substr(2)),d=parseFloat(p),p=p.substr((d+"").length),g=te.lastIndex-p.length,p||(p=p||Wt.units[e]||h,g===n.length&&(n+=p,m.e+=p)),h!==p&&(a=Ii(t,e,c,p)||0),m._pt={_next:m._pt,p:u||1===T?u:",",s:a,c:f?f*d:d-a,m:l&&l<4?Math.round:0});m.c=g<n.length?n.substring(g,n.length):""}else m.r="display"===e&&"none"===n?pi:ui;return ie.test(n)&&(m.e=0),this._pt=m}function ki(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,n,o,r=e.t,s=r.style,a=e.u,e=r._gsap;if("all"===a||!0===a)s.cssText="",n=1;else for(o=(a=a.split(",")).length;-1<--o;)i=a[o],cn[i]&&(n=1,i="transformOrigin"===i?vn:Tn),Mi(r,i);n&&(Mi(r,Tn),e&&(e.svg&&r.removeAttribute("transform"),Mn(r,1),e.uncache=1))}}function Hi(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function Gi(t){t=yi(t,Tn);return Hi(t)?Cn:t.substr(7).match(Jt).map(O)}function Bi(t,e){var i,n,o,r=t._gsap||L(t),s=t.style,a=Gi(t);return r.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(a=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?Cn:a:(a!==Cn||t.offsetParent||t===Ri||r.svg||(n=s.display,s.display="block",(r=t.parentNode)&&t.offsetParent||(o=1,i=t.nextSibling,Ri.appendChild(t)),a=Gi(t),n?s.display=n:Mi(t,"display"),o&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ri.removeChild(t))),e&&6<a.length?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)}function Di(t,e,i,n,o,r){var s,a,l=t._gsap,c=o||Bi(t,!0),d=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,h=l.yOffset||0,f=c[0],m=c[1],g=c[2],T=c[3],v=c[4],b=c[5],y=e.split(" "),S=parseFloat(y[0])||0,o=parseFloat(y[1])||0;i?c!==Cn&&(s=f*T-m*g)&&(a=S*(-m/s)+o*(f/s)-(f*b-m*v)/s,S=S*(T/s)+o*(-g/s)+(g*b-T*v)/s,o=a):(S=(a=Ci(t)).x+(~y[0].indexOf("%")?S/100*a.width:S),o=a.y+(~(y[1]||y[0]).indexOf("%")?o/100*a.height:o)),n||!1!==n&&l.smooth?(l.xOffset=p+((v=S-d)*f+(b=o-u)*g)-v,l.yOffset=h+(v*m+b*T)-b):l.xOffset=l.yOffset=0,l.xOrigin=S,l.yOrigin=o,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!i,t.style[vn]="0px 0px",r&&(Pi(r,l,"xOrigin",d,S),Pi(r,l,"yOrigin",u,o),Pi(r,l,"xOffset",p,l.xOffset),Pi(r,l,"yOffset",h,l.yOffset)),t.setAttribute("data-svg-origin",S+" "+o)}function Li(t,e,i){var n=U(e);return O(parseFloat(e)+parseFloat(Ii(t,"x",i+"px",n)))+n}Ne.version=Ge.version=si.version="3.5.1",wt=1,e()&&we();var Oi,Ri,zi,Wi,Ni,Fi,Xi,Vi=_e.Power0,$i=_e.Power1,Ui=_e.Power2,ji=_e.Power3,Yi=_e.Power4,qi=_e.Linear,Ki=_e.Quad,Qi=_e.Cubic,Zi=_e.Quart,Ji=_e.Quint,tn=_e.Strong,en=_e.Elastic,nn=_e.Back,on=_e.SteppedEase,rn=_e.Bounce,sn=_e.Sine,an=_e.Expo,ln=_e.Circ,cn={},dn=180/Math.PI,un=Math.PI/180,pn=Math.atan2,hn=/([A-Z])/g,fn=/(?:left|right|width|margin|padding|x)/i,mn=/[\s,\(]\S/,gn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Tn="transform",vn=Tn+"Origin",bn="O,Moz,ms,Ms,Webkit".split(","),yn=function(t,e,i){var n=(e||Wi).style,o=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(bn[o]+t in n););return o<0?null:(3===o?"ms":0<=o?bn[o]:"")+t},Sn={deg:1,rad:1,turn:1},wn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},_n={clearProps:function(t,e,i,n,o){if("isFromStart"!==o.data){e=t._pt=new ei(t._pt,e,i,0,0,ki);return e.u=n,e.pr=-10,e.tween=o,t._props.push(i),1}}},Cn=[1,0,0,1,0,0],An={},Mn=function(t,e){var i=t._gsap||new Ee(t);if("x"in i&&!e&&!i.uncache)return i;var n,o,r,s,a,l,c,d,u,p,h,f,m,g,T,v,b,y,S,w,_,C,A,M,P,I=t.style,x=i.scaleX<0,E="deg",k=yi(t,vn)||"0",H=n=o=s=a=l=c=d=0,G=r=1;return i.svg=!(!t.getCTM||!Ai(t)),u=Bi(t,i.svg),i.svg&&(y=!i.uncache&&t.getAttribute("data-svg-origin"),Di(t,y||k,!!y||i.originIsAbsolute,!1!==i.smooth,u)),C=i.xOrigin||0,M=i.yOrigin||0,u!==Cn&&(f=u[0],m=u[1],g=u[2],T=u[3],H=v=u[4],n=b=u[5],6===u.length?(G=Math.sqrt(f*f+m*m),r=Math.sqrt(T*T+g*g),s=f||m?pn(m,f)*dn:0,(c=g||T?pn(g,T)*dn+s:0)&&(r*=Math.cos(c*un)),i.svg&&(H-=C-(C*f+M*g),n-=M-(C*m+M*T))):(P=u[6],A=u[7],_=u[8],e=u[9],C=u[10],M=u[11],H=u[12],n=u[13],o=u[14],a=(u=pn(P,C))*dn,u&&(y=v*(p=Math.cos(-u))+_*(h=Math.sin(-u)),S=b*p+e*h,w=P*p+C*h,_=v*-h+_*p,e=b*-h+e*p,C=P*-h+C*p,M=A*-h+M*p,v=y,b=S,P=w),l=(u=pn(-g,C))*dn,u&&(p=Math.cos(-u),M=T*(h=Math.sin(-u))+M*p,f=y=f*p-_*h,m=S=m*p-e*h,g=w=g*p-C*h),s=(u=pn(m,f))*dn,u&&(y=f*(p=Math.cos(u))+m*(h=Math.sin(u)),S=v*p+b*h,m=m*p-f*h,b=b*p-v*h,f=y,v=S),a&&359.9<Math.abs(a)+Math.abs(s)&&(a=s=0,l=180-l),G=O(Math.sqrt(f*f+m*m+g*g)),r=O(Math.sqrt(b*b+P*P)),u=pn(v,b),c=2e-4<Math.abs(u)?u*dn:0,d=M?1/(M<0?-M:M):0),i.svg&&(y=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Hi(yi(t,Tn)),y&&t.setAttribute("transform",y))),90<Math.abs(c)&&Math.abs(c)<270&&(x?(G*=-1,c+=s<=0?180:-180,s+=s<=0?180:-180):(r*=-1,c+=c<=0?180:-180)),i.x=((i.xPercent=H&&Math.round(t.offsetWidth/2)===Math.round(-H)?-50:0)?0:H)+"px",i.y=((i.yPercent=n&&Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)?0:n)+"px",i.z=o+"px",i.scaleX=O(G),i.scaleY=O(r),i.rotation=O(s)+E,i.rotationX=O(a)+E,i.rotationY=O(l)+E,i.skewX=c+E,i.skewY=0+E,i.transformPerspective=d+"px",(i.zOrigin=parseFloat(k.split(" ")[2])||0)&&(I[vn]=Pn(k)),i.xOffset=i.yOffset=0,i.force3D=Wt.force3D,i.renderTransform=i.svg?Gn:Xi?Hn:In,i.uncache=0,i},Pn=function(t){return(t=t.split(" "))[0]+" "+t[1]},In=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Hn(t,e)},xn="0deg",En="0px",kn=") ",Hn=function(t,e){var i=e||this,n=i.xPercent,o=i.yPercent,r=i.x,s=i.y,a=i.z,l=i.rotation,c=i.rotationY,d=i.rotationX,u=i.skewX,p=i.skewY,h=i.scaleX,f=i.scaleY,m=i.transformPerspective,g=i.force3D,T=i.target,v=i.zOrigin,b="",e="auto"===g&&t&&1!==t||!0===g;!v||d===xn&&c===xn||(i=parseFloat(c)*un,t=Math.sin(i),g=Math.cos(i),i=parseFloat(d)*un,r=Li(T,r,t*(t=Math.cos(i))*-v),s=Li(T,s,-Math.sin(i)*-v),a=Li(T,a,g*t*-v+v)),m!==En&&(b+="perspective("+m+kn),(n||o)&&(b+="translate("+n+"%, "+o+"%) "),!e&&r===En&&s===En&&a===En||(b+=a!==En||e?"translate3d("+r+", "+s+", "+a+") ":"translate("+r+", "+s+kn),l!==xn&&(b+="rotate("+l+kn),c!==xn&&(b+="rotateY("+c+kn),d!==xn&&(b+="rotateX("+d+kn),u===xn&&p===xn||(b+="skew("+u+", "+p+kn),1===h&&1===f||(b+="scale("+h+", "+f+kn),T.style[Tn]=b||"translate(0, 0)"},Gn=function(t,e){var i,n,o,r,s,a=e||this,l=a.xPercent,c=a.yPercent,d=a.x,u=a.y,p=a.rotation,h=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,T=a.target,v=a.xOrigin,b=a.yOrigin,y=a.xOffset,S=a.yOffset,w=a.forceCSS,e=parseFloat(d),a=parseFloat(u),p=parseFloat(p),h=parseFloat(h);(f=parseFloat(f))&&(h+=f=parseFloat(f),p+=f),p||h?(p*=un,h*=un,i=Math.cos(p)*m,n=Math.sin(p)*m,o=Math.sin(p-h)*-g,r=Math.cos(p-h)*g,h&&(f*=un,s=Math.tan(h-f),o*=s=Math.sqrt(1+s*s),r*=s,f&&(s=Math.tan(f),i*=s=Math.sqrt(1+s*s),n*=s)),i=O(i),n=O(n),o=O(o),r=O(r)):(i=m,r=g,n=o=0),(e&&!~(d+"").indexOf("px")||a&&!~(u+"").indexOf("px"))&&(e=Ii(T,"x",d,"px"),a=Ii(T,"y",u,"px")),(v||b||y||S)&&(e=O(e+v-(v*i+b*o)+y),a=O(a+b-(v*n+b*r)+S)),(l||c)&&(e=O(e+l/100*(s=T.getBBox()).width),a=O(a+c/100*s.height)),T.setAttribute("transform",s="matrix("+i+","+n+","+o+","+r+","+e+","+a+")"),w&&(T.style[Tn]=s)};h("padding,margin,Width,Radius",function(e,i){var t="Right",n="Bottom",o="Left",a=(i<3?["Top",t,n,o]:["Top"+o,"Top"+t,n+t,n+o]).map(function(t){return i<2?e+t:"border"+t+e});_n[1<i?"border"+e:e]=function(e,t,i,n,o){var r,s;if(arguments.length<4)return r=a.map(function(t){return xi(e,t,i)}),5===(s=r.join(" ")).split(r[0]).length?r[0]:s;r=(n+"").split(" "),s={},a.forEach(function(t,e){return s[t]=r[e]=r[e]||r[(e-1)/2|0]}),e.init(t,s,o)}});var Bn,Dn={name:"css",register:Si,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,o){var r,s,a,l,c,d,u,p,h,f,m,g,T,v,b,y,S,w,_,C,A,M=this._props,P=t.style;for(c in zi||Si(),e)if("autoRound"!==c&&(s=e[c],!le[c]||!Be(c,e,i,n,t,o)))if(S=typeof s,y=_n[c],"function"===S&&(S=typeof(s=s.call(i,n,t,o))),"string"===S&&~s.indexOf("random(")&&(s=tt(s)),y)y(this,t,c,s,i)&&(g=1);else if("--"===c.substr(0,2))this.add(P,"setProperty",getComputedStyle(t).getPropertyValue(c)+"",s+"",n,o,0,0,c);else if("undefined"!==S){if(r=xi(t,c),l=parseFloat(r),(u="string"===S&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0)&&(s=s.substr(2)),a=parseFloat(s),c in gn&&("autoAlpha"===c&&Pi(this,P,"visibility",(l=1===l&&"hidden"===xi(t,"visibility")&&a?0:l)?"inherit":"hidden",a?"inherit":"hidden",!a),"scale"!==c&&"transform"!==c&&~(c=gn[c]).indexOf(",")&&(c=c.split(",")[0])),p=c in cn)if(h||((f=t._gsap).renderTransform||Mn(t),m=!1!==e.smoothOrigin&&f.smooth,(h=this._pt=new ei(this._pt,P,Tn,0,1,f.renderTransform,f,0,-1)).dep=1),"scale"===c)this._pt=new ei(this._pt,f,"scaleY",f.scaleY,u?u*a:a-f.scaleY),M.push("scaleY",c),c+="X";else{if("transformOrigin"===c){A=C=_=void 0,_=(w=s).split(" "),C=_[0],A=_[1]||"50%","top"!==C&&"bottom"!==C&&"left"!==A&&"right"!==A||(w=C,C=A,A=w),_[0]=wn[C]||C,_[1]=wn[A]||A,s=_.join(" "),f.svg?Di(t,s,0,m,0,this):((d=parseFloat(s.split(" ")[2])||0)!==f.zOrigin&&Pi(this,f,"zOrigin",f.zOrigin,d),Pi(this,P,c,Pn(r),Pn(s)));continue}if("svgOrigin"===c){Di(t,s,1,m,0,this);continue}if(c in An){T=this,v=f,b=c,y=l,S=u,A=A=C=w=void 0,w=360,C=I(_=s),A=parseFloat(_)*(C&&~_.indexOf("rad")?dn:1),A=y+(S=S?A*S:A-y)+"deg",C&&("short"===(_=_.split("_")[1])&&(S%=w)!=S%180&&(S+=S<0?w:-w),"cw"===_&&S<0?S=(S+36e9)%w-~~(S/w)*w:"ccw"===_&&0<S&&(S=(S-36e9)%w-~~(S/w)*w)),T._pt=S=new ei(T._pt,v,b,y,S,li),S.e=A,S.u="deg",T._props.push(b);continue}if("smoothOrigin"===c){Pi(this,f,"smooth",f.smooth,s);continue}if("force3D"===c){f[c]=s;continue}if("transform"===c){!function(t,e,i){var n,o,r,s,a,l=Ni.style,c=i._gsap;for(o in l.cssText=getComputedStyle(i).cssText+";position:absolute;display:block;",l[Tn]=e,Oi.body.appendChild(Ni),n=Mn(Ni,1),cn)(r=c[o])!==(s=n[o])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(o)<0&&(r=U(r)!==(a=U(s))?Ii(i,o,r,a):parseFloat(r),s=parseFloat(s),t._pt=new ei(t._pt,c,o,r,s-r,ai),t._pt.u=a||0,t._props.push(o));Oi.body.removeChild(Ni)}(this,s,t);continue}}else c in P||(c=yn(c)||c);if(p||(a||0===a)&&(l||0===l)&&!mn.test(s)&&c in P)a=a||0,(b=(r+"").substr((l+"").length))!==(d=U(s)||(c in Wt.units?Wt.units[c]:b))&&(l=Ii(t,c,r,d)),this._pt=new ei(this._pt,p?f:P,c,l,u?u*a:a-l,"px"!==d||!1===e.autoRound||p?ai:di),this._pt.u=d||0,b!==d&&(this._pt.b=r,this._pt.r=ci);else if(c in P)Ei.call(this,t,c,r,s);else{if(!(c in t)){x(c,s);continue}this.add(t,c,t[c],s,n,o)}M.push(c)}g&&ti(this)},get:xi,aliases:gn,getSetter:function(t,e,i){var n=gn[e];return(e=n&&n.indexOf(",")<0?n:e)in cn&&e!==vn&&(t._gsap.x||xi(t,"x"))?i&&Fi===i?"scale"===e?gi:mi:(Fi=i||{})&&("scale"===e?Ti:vi):t.style&&!o(t.style[e])?hi:~e.indexOf("-")?fi:Ke(t,e)},core:{_removeProperty:Mi,_getMatrix:Bi}};si.utils.checkPrefix=yn,Bn=h("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(On="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){cn[t]=1}),h(On,function(t){Wt.units[t]="deg",An[t]=1}),gn[Bn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+On,h("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){t=t.split(":");gn[t[1]]=Bn[t[0]]}),h("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Wt.units[t]="px"}),si.registerPlugin(Dn);var Ln=si.registerPlugin(Dn)||si,On=Ln.core.Tween;t.Back=nn,t.Bounce=rn,t.CSSPlugin=Dn,t.Circ=ln,t.Cubic=Qi,t.Elastic=en,t.Expo=an,t.Linear=qi,t.Power0=Vi,t.Power1=$i,t.Power2=Ui,t.Power3=ji,t.Power4=Yi,t.Quad=Ki,t.Quart=Zi,t.Quint=Ji,t.Sine=sn,t.SteppedEase=on,t.Strong=tn,t.TimelineLite=Ge,t.TimelineMax=Ge,t.TweenLite=Ne,t.TweenMax=On,t.default=Ln,t.gsap=Ln,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function e(){return"undefined"!=typeof window}function i(){return n||e()&&(n=window.gsap)&&n.registerPlugin&&n}function s(t){return"string"==typeof t}function p(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,e="client"+i;return t===h||t===o||t===u?Math.max(o[n],u[n])-(h["inner"+i]||o[e]||u[e]):t[n]-t["offset"+i]}function a(t,e){var i="scroll"+("x"===e?"Left":"Top");return t===h&&(null!=t.pageXOffset?i="page"+e.toUpperCase()+"Offset":t=null!=o[i]?o:u),function(){return t[i]}}function r(t,e){var i=f(t)[0].getBoundingClientRect(),n=!e||e===h||e===u,t=n?{top:o.clientTop-(h.pageYOffset||o.scrollTop||u.scrollTop||0),left:o.clientLeft-(h.pageXOffset||o.scrollLeft||u.scrollLeft||0)}:e.getBoundingClientRect(),t={x:i.left-t.left,y:i.top-t.top};return!n&&e&&(t.x+=a(e,"x")(),t.y+=a(e,"y")()),t}function l(t,e,i,n,o){return isNaN(t)||"object"==typeof t?s(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+n-o:"max"===t?p(e,i)-o:Math.min(p(e,i),r(t,e)[i]-o):parseFloat(t)-o}function c(){n=i(),e()&&n&&document.body&&(h=window,u=document.body,o=document.documentElement,f=n.utils.toArray,n.config({autoKillThreshold:7}),m=n.config(),d=1)}var n,d,h,o,u,f,m,g={version:"3.5.1",name:"scrollTo",rawVars:1,register:function(t){n=t,c()},init:function(t,e,i,n,o){d||c();var r=this;r.isWin=t===h,r.target=t,r.tween=i,"object"!=typeof e?s((e={y:e}).y)&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),r.vars=e,r.autoKill=!!e.autoKill,r.getX=a(t,"x"),r.getY=a(t,"y"),r.x=r.xPrev=r.getX(),r.y=r.yPrev=r.getY(),null!=e.x?(r.add(r,"x",r.x,l(e.x,t,"x",r.x,e.offsetX||0),n,o,Math.round),r._props.push("scrollTo_x")):r.skipX=1,null!=e.y?(r.add(r,"y",r.y,l(e.y,t,"y",r.y,e.offsetY||0),n,o,Math.round),r._props.push("scrollTo_y")):r.skipY=1},render:function(t,e){for(var i,n,o,r=e._pt,s=e.target,a=e.tween,l=e.autoKill,c=e.xPrev,d=e.yPrev,u=e.isWin;r;)r.r(t,r.d),r=r._next;i=u||!e.skipX?e.getX():c,o=(n=u||!e.skipY?e.getY():d)-d,d=i-c,c=m.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),l&&(!e.skipX&&(c<d||d<-c)&&i<p(s,"x")&&(e.skipX=1),!e.skipY&&(c<o||o<-c)&&n<p(s,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(a.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(a,e.vars.onAutoKillParams||[]))),u?h.scrollTo(e.skipX?i:e.x,e.skipY?n:e.y):(e.skipY||(s.scrollTop=e.y),e.skipX||(s.scrollLeft=e.x)),e.xPrev=e.x,e.yPrev=e.y},kill:function(t){var e="scrollTo"===t;!e&&"scrollTo_x"!==t||(this.skipX=1),!e&&"scrollTo_y"!==t||(this.skipY=1)}};g.max=p,g.getOffset=r,g.buildGetter=a,i()&&n.registerPlugin(g),t.ScrollToPlugin=g,t.default=g,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},t=i[t]=i[t]||[];return-1==t.indexOf(e)&&t.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length){e=t.indexOf(e);return-1!=e&&t.splice(e,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o];n&&n[r]&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(e,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("ev-emitter")):e.imagesLoaded=i(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function r(t,e){for(var i in e)t[i]=e[i];return t}function s(t,e,i){if(!(this instanceof s))return new s(t,e,i);var n,o=t;return(o="string"==typeof t?document.querySelectorAll(t):o)?(this.elements=(n=o,Array.isArray(n)?n:"object"==typeof n&&"number"==typeof n.length?c.call(n):[n]),this.options=r({},this.options),"function"==typeof e?i=e:r(this.options,e),i&&this.on("always",i),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(o||t))}function i(t){this.img=t}function n(t,e){this.url=t,this.element=e,this.img=new Image}var a=e.jQuery,l=e.console,c=Array.prototype.slice;(s.prototype=Object.create(t.prototype)).options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&d[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background)for(var r=t.querySelectorAll(this.options.background),n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}};var d={1:!0,9:!0,11:!0};return s.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},s.prototype.addImage=function(t){t=new i(t);this.images.push(t)},s.prototype.addBackground=function(t,e){e=new n(t,e);this.images.push(e)},s.prototype.check=function(){function e(t,e,i){setTimeout(function(){n.progress(t,e,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},s.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,t,e)},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(t=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[t](this))},(i.prototype=Object.create(t.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},i.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},(s.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((a=t).fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(a(this))})})(),s}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(l){"use strict";var c="animsition",r=!1;l("body").imagesLoaded(function(){r=!0});var d={init:function(o){o=l.extend({inClass:"fade-in",outClass:"fade-out",inDuration:1500,outDuration:800,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"animsition-loading",loadingInner:"",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",transition:function(t){window.location.href=t}},o),d.settings={timer:!1,data:{inClass:"animsition-in-class",inDuration:"animsition-in-duration",outClass:"animsition-out-class",outDuration:"animsition-out-duration",overlay:"animsition-overlay"},events:{inStart:"animsition.inStart",inEnd:"animsition.inEnd",outStart:"animsition.outStart",outEnd:"animsition.outEnd"}};var t=d.supportCheck.call(this,o);return t||!(0<o.browser.length)||t&&this.length?(d.optionCheck.call(this,o)&&l("."+o.overlayClass).length<=0&&d.addOverlay.call(this,o),o.loading&&l("."+o.loadingClass).length<=0&&d.addLoading.call(this,o),this.each(function(){var n=this,t=l(this),e=l(window),i=l(document);t.data(c)||(o=l.extend({},o),t.data(c,{options:o}),o.timeout&&d.addTimer.call(n),o.onLoadEvent&&(r?(d.settings.timer&&clearTimeout(d.settings.timer),d.in.call(n)):l("body").imagesLoaded(function(){d.settings.timer&&clearTimeout(d.settings.timer),d.in.call(n)})),e.on("pageshow."+c,function(t){t.originalEvent.persisted&&d.in.call(n)}),e.on("unload."+c,function(){}),i.on("click."+c,o.linkElement,function(t){t.preventDefault();var e=l(this),i=e.attr("href");2===t.which||t.metaKey||t.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&t.ctrlKey?window.open(i,"_blank"):d.out.call(n,e,i)}))})):("console"in window||(window.console={},window.console.log=function(t){return t}),this.length||console.log("Animsition: Element does not exist on page."),t||console.log("Animsition: Does not support this browser."),d.destroy.call(this))},addOverlay:function(t){l(t.overlayParentElement).prepend('<div class="'+t.overlayClass+'"></div>')},addLoading:function(t){l(t.loadingParentElement).append('<div class="'+t.loadingClass+'">'+t.loadingInner+"</div>")},removeLoading:function(){var t=l(this).data(c).options;l(t.loadingParentElement).children("."+t.loadingClass).fadeOut().remove()},addTimer:function(){var t=this,e=l(this).data(c).options;d.settings.timer=setTimeout(function(){d.in.call(t),l(window).off("load."+c)},e.timeoutCountdown)},supportCheck:function(t){var e=l(this),i=t.browser,n=i.length,o=!1;0===n&&(o=!0);for(var r=0;r<n;r++)if("string"==typeof e.css(i[r])){o=!0;break}return o},optionCheck:function(t){var e=l(this),e=!(!t.overlay&&!e.data(d.settings.data.overlay));return e},animationCheck:function(t,e,i){var n=l(this).data(c).options,o=typeof t,r=e&&"string"==o&&0<t.length;return!e&&"number"==o||r||(e&&i?t=n.inClass:!e&&i?t=n.inDuration:e&&!i?t=n.outClass:e||i||(t=n.outDuration)),t},in:function(){var t=this,e=l(this),i=e.data(c).options,n=e.data(d.settings.data.inDuration),o=e.data(d.settings.data.inClass),r=d.animationCheck.call(t,n,!1,!0),s=d.animationCheck.call(t,o,!0,!0),n=d.optionCheck.call(t,i),o=e.data(c).outClass;i.loading&&d.removeLoading.call(t),o&&e.removeClass(o),(n?d.inOverlay:d.inDefault).call(t,s,r)},inDefault:function(t,e){var i=l(this);i.css({"animation-duration":e+"ms"}).addClass(t).trigger(d.settings.events.inStart).animateCallback(function(){i.removeClass(t).css({opacity:1}).trigger(d.settings.events.inEnd)})},inOverlay:function(t,e){var i=l(this),n=i.data(c).options;i.css({opacity:1}).trigger(d.settings.events.inStart),l(n.overlayParentElement).children("."+n.overlayClass).css({"animation-duration":e+"ms"}).addClass(t).animateCallback(function(){i.trigger(d.settings.events.inEnd)})},out:function(t,e){var i=this,n=l(this),o=n.data(c).options,r=t.data(d.settings.data.outClass),s=n.data(d.settings.data.outClass),a=t.data(d.settings.data.outDuration),t=n.data(d.settings.data.outDuration),t=a||t,s=d.animationCheck.call(i,r||s,!0,!1),t=d.animationCheck.call(i,t,!1,!1),o=d.optionCheck.call(i,o);n.data(c).outClass=s,(o?d.outOverlay:d.outDefault).call(i,s,t,e)},outDefault:function(t,e,i){var n=l(this),o=n.data(c).options;n.css({"animation-duration":e+1+"ms"}).addClass(t).trigger(d.settings.events.outStart).animateCallback(function(){n.trigger(d.settings.events.outEnd),o.transition(i)})},outOverlay:function(t,e,i){var n=l(this),o=n.data(c).options,r=n.data(d.settings.data.inClass),r=d.animationCheck.call(this,r,!0,!0);l(o.overlayParentElement).children("."+o.overlayClass).css({"animation-duration":e+1+"ms"}).removeClass(r).addClass(t).trigger(d.settings.events.outStart).animateCallback(function(){n.trigger(d.settings.events.outEnd),o.transition(i)})},destroy:function(){return this.each(function(){var t=l(this);l(window).off("."+c),t.css({opacity:1}).removeData(c)})}};l.fn.animateCallback=function(e){var i="animationend webkitAnimationEnd";return this.each(function(){var t=l(this);t.on(i,function(){return t.off(i),e.call(this)})})},l.fn.animsition=function(t){return d[t]?d[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void l.error("Method "+t+" does not exist on jQuery."+c):d.init.apply(this,arguments)}}),function(i){"use strict";i.fn.foundationAlerts=function(t){var e=i.extend({callback:i.noop},t);i(document).on("click",".notification-box a.close",function(t){t.preventDefault(),i(this).closest(".notification-box").fadeOut(function(){i(this).remove(),e.callback()})})}}(jQuery),function(o){"use strict";o.fn.foundationTabs=function(t){function e(t){var e=t.closest("dl").find("dd.active"),i=t.find("a").attr("href"),n="";/^#/.test(i)&&(n=(n=i+"Tab").replace(/^.+#/,"#"),o(n).parents(".tabs-content").find(">li").removeClass("active").hide(),o(n).addClass("active").show()),e.removeClass("active"),t.addClass("active")}o.extend({callback:o.noop},t);o(document).on("click.fndtn","dl.tabs dd a",function(t){return e(o(this).parents("dd")),!1}),o(document).find("dl.tabs").each(function(){e(o(this).find("dd:eq(0)"))})}}(jQuery),jQuery(function(t){t(document).foundationAlerts(),t(document).foundationTabs()}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery)}(this,function(d){"use strict";function u(t,e){var i=t.getBoundingClientRect(),n=i.top,o=i.bottom,r=i.left,s=i.right,a=d.extend({tolerance:0,viewport:window},e),l=!1,c=a.viewport.jquery?a.viewport:d(a.viewport);c.length||(console.warn("isInViewport: The viewport selector you have provided matches no element on page."),console.warn("isInViewport: Defaulting to viewport as window"),c=d(window));var t=c.height(),i=c.width(),e=c[0].toString();return c[0]!==window&&"[object Window]"!==e&&"[object DOMWindow]"!==e&&(n-=(e=c[0].getBoundingClientRect()).top,o-=e.top,r-=e.left,s-=e.left,u.scrollBarWidth=u.scrollBarWidth||(e=c,c=d("<div></div>").css({width:"100%"}),e.append(c),e=e.width()-c.width(),c.remove(),e),i-=u.scrollBarWidth),a.tolerance=~~Math.round(parseFloat(a.tolerance)),a.tolerance<0&&(a.tolerance=t+a.tolerance),s<=0||i<=r?l:a.tolerance?n<=a.tolerance&&o>=a.tolerance:0<o&&n<=t}function n(t){if(t){t=t.split(",");return 1===t.length&&isNaN(t[0])&&(t[1]=t[0],t[0]=void 0),{tolerance:t[0]?t[0].trim():void 0,viewport:t[1]?d(t[1].trim()):void 0}}return{}}(d=d&&d.hasOwnProperty("default")?d.default:d).extend(d.expr.pseudos||d.expr[":"],{"in-viewport":d.expr.createPseudo?d.expr.createPseudo(function(e){return function(t){return u(t,n(e))}}):function(t,e,i){return u(t,n(i[3]))}}),d.fn.isInViewport=function(i){return this.filter(function(t,e){return u(e,i)})},d.fn.run=function(t){var i=this;if(!((t=1===arguments.length&&"function"==typeof t?[t]:t)instanceof Array))throw new SyntaxError("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions");return t.forEach(function(e){"function"!=typeof e?(console.warn("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions"),console.warn("isInViewport: Ignoring non-function values in array and moving on")):[].slice.call(i).forEach(function(t){return e.call(d(t))})}),this}}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.hoverIntent&&t(jQuery)}(function(l){"use strict";function c(t){o=t.pageX,r=t.pageY}var o,r,s={interval:100,sensitivity:6,timeout:0},d=0,u=function(t,e,i,n){return Math.sqrt((i.pX-o)*(i.pX-o)+(i.pY-r)*(i.pY-r))<n.sensitivity?(e.off("mousemove.hoverIntent"+i.namespace,c),delete i.timeoutId,i.isActive=!0,delete i.pX,delete i.pY,n.over.apply(e[0],[t])):(i.pX=o,i.pY=r,void(i.timeoutId=setTimeout(function(){u(t,e,i,n)},n.interval)))};l.fn.hoverIntent=function(t,e,i){var n=d++,a=l.extend({},s),a=l.isPlainObject(t)?l.extend(a,t):l.isFunction(e)?l.extend(a,{over:t,out:e,selector:i}):l.extend(a,{over:t,out:t,selector:e}),e=function(t){var o=l.extend({},t),r=l(this),e=r.data("hoverIntent");e||r.data("hoverIntent",e={});var s=e[n];s||(e[n]=s={id:n}),s.timeoutId&&(s.timeoutId=clearTimeout(s.timeoutId));e=s.namespace=".hoverIntent"+n;"mouseenter"===t.type?s.isActive||(s.pX=o.pageX,s.pY=o.pageY,r.on("mousemove.hoverIntent"+e,c),s.timeoutId=setTimeout(function(){u(o,r,s,a)},a.interval)):s.isActive&&(r.off("mousemove.hoverIntent"+e,c),s.timeoutId=setTimeout(function(){var t,e,i,n;t=o,e=r,i=s,n=a.out,delete e.data("hoverIntent")[i.id],n.apply(e[0],[t])},a.timeout))};return this.on({"mouseenter.hoverIntent":e,"mouseleave.hoverIntent":e},a.selector)}}),window.requestAnimationFrame||function(){for(var r=0,t=["webkit","moz"],e=0;e<t.length&&!window.requestAnimationFrame;++e)window.requestAnimationFrame=window[t[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[e]+"CancelAnimationFrame"]||window[t[e]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,e){var i=(new Date).getTime(),n=Math.max(0,16-(i-r)),o=window.setTimeout(function(){t(i+n)},n);return r=i+n,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}(),window.History.enabled||(function(t){"use strict";var e=t.History=t.History||{},n=t.jQuery;if(void 0!==e.Adapter)throw new Error("History.js Adapter has already been loaded...");e.Adapter={bind:function(t,e,i){n(t).bind(e,i)},trigger:function(t,e,i){n(t).trigger(e,i)},extractEventData:function(t,e,i){return e&&e.originalEvent&&e.originalEvent[t]||i&&i[t]||void 0},onDomLoad:function(t){n(t)}},void 0!==e.init&&e.init()}(window),function(r,i){"use strict";var a=r.console||i,l=r.document,n=r.navigator,o=!1,s=r.setTimeout,c=r.clearTimeout,d=r.setInterval,u=r.clearInterval,p=r.JSON,h=r.alert,f=r.History=r.History||{},m=r.history;try{(o=r.sessionStorage).setItem("TEST","1"),o.removeItem("TEST")}catch(t){o=!1}if(p.stringify=p.stringify||p.encode,p.parse=p.parse||p.decode,void 0!==f.init)throw new Error("History.js Core has already been loaded...");f.init=function(t){return void 0!==f.Adapter&&(void 0!==f.initCore&&f.initCore(),void 0!==f.initHtml4&&f.initHtml4(),!0)},f.initCore=function(t){if(void 0!==f.initCore.initialized)return!1;var e;if(f.initCore.initialized=!0,f.options=f.options||{},f.options.hashChangeInterval=f.options.hashChangeInterval||100,f.options.safariPollInterval=f.options.safariPollInterval||500,f.options.doubleCheckInterval=f.options.doubleCheckInterval||500,f.options.disableSuid=f.options.disableSuid||!1,f.options.storeInterval=f.options.storeInterval||1e3,f.options.busyDelay=f.options.busyDelay||250,f.options.debug=f.options.debug||!1,f.options.initialTitle=f.options.initialTitle||l.title,f.options.html4Mode=f.options.html4Mode||!1,f.options.delayInit=f.options.delayInit||!1,f.intervalList=[],f.clearAllIntervals=function(){var t,e=f.intervalList;if(null!=e){for(t=0;t<e.length;t++)u(e[t]);f.intervalList=null}},f.debug=function(){f.options.debug&&f.log.apply(f,arguments)},f.log=function(){var t,e,i,n,o,r=void 0!==a&&void 0!==a.log&&void 0!==a.log.apply,s=l.getElementById("log");for(r?(t=(n=Array.prototype.slice.call(arguments)).shift(),(void 0!==a.debug?a.debug:a.log).apply(a,[t,n])):t="\n"+arguments[0]+"\n",e=1,i=arguments.length;e<i;++e){if("object"==typeof(o=arguments[e])&&void 0!==p)try{o=p.stringify(o)}catch(t){}t+="\n"+o+"\n"}return s?(s.value+=t+"\n-----\n",s.scrollTop=s.scrollHeight-s.clientHeight):r||h(t),!0},f.getInternetExplorerMajorVersion=function(){return f.getInternetExplorerMajorVersion.cached=void 0!==f.getInternetExplorerMajorVersion.cached?f.getInternetExplorerMajorVersion.cached:function(){for(var t=3,e=l.createElement("div"),i=e.getElementsByTagName("i");(e.innerHTML="\x3c!--[if gt IE "+ ++t+"]><i></i><![endif]--\x3e")&&i[0];);return 4<t&&t}()},f.isInternetExplorer=function(){return f.isInternetExplorer.cached=void 0!==f.isInternetExplorer.cached?f.isInternetExplorer.cached:Boolean(f.getInternetExplorerMajorVersion())},f.options.html4Mode?f.emulated={pushState:!0,hashChange:!0}:f.emulated={pushState:!Boolean(r.history&&r.history.pushState&&r.history.replaceState&&!/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i.test(n.userAgent)&&!/AppleWebKit\/5([0-2]|3[0-2])/i.test(n.userAgent)),hashChange:Boolean(!("onhashchange"in r||"onhashchange"in l)||f.isInternetExplorer()&&f.getInternetExplorerMajorVersion()<8)},f.enabled=!f.emulated.pushState,f.bugs={setHash:Boolean(!f.emulated.pushState&&"Apple Computer, Inc."===n.vendor&&/AppleWebKit\/5([0-2]|3[0-3])/.test(n.userAgent)),safariPoll:Boolean(!f.emulated.pushState&&"Apple Computer, Inc."===n.vendor&&/AppleWebKit\/5([0-2]|3[0-3])/.test(n.userAgent)),ieDoubleCheck:Boolean(f.isInternetExplorer()&&f.getInternetExplorerMajorVersion()<8),hashEscape:Boolean(f.isInternetExplorer()&&f.getInternetExplorerMajorVersion()<7)},f.isEmptyObject=function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0},f.cloneObject=function(t){var e=t?(e=p.stringify(t),p.parse(e)):{};return e},f.getRootUrl=function(){var t=l.location.protocol+"//"+(l.location.hostname||l.location.host);return l.location.port&&(t+=":"+l.location.port),t+="/"},f.getBaseHref=function(){var t=l.getElementsByTagName("base"),e="";return(e=(e=1===t.length?t[0].href.replace(/[^\/]+$/,""):e).replace(/\/+$/,""))&&(e+="/"),e},f.getBaseUrl=function(){return f.getBaseHref()||f.getBasePageUrl()||f.getRootUrl()},f.getPageUrl=function(){return((f.getState(!1,!1)||{}).url||f.getLocationHref()).replace(/\/+$/,"").replace(/[^\/]+$/,function(t,e,i){return/\./.test(t)?t:t+"/"})},f.getBasePageUrl=function(){return f.getLocationHref().replace(/[#\?].*/,"").replace(/[^\/]+$/,function(t,e,i){return/[^\/]$/.test(t)?"":t}).replace(/\/+$/,"")+"/"},f.getFullUrl=function(t,e){var i=t,n=t.substring(0,1);return e=void 0===e||e,(i=!/[a-z]+\:\/\//.test(t)?"/"===n?f.getRootUrl()+t.replace(/^\/+/,""):"#"===n?f.getPageUrl().replace(/#.*/,"")+t:"?"===n?f.getPageUrl().replace(/[\?#].*/,"")+t:e?f.getBaseUrl()+t.replace(/^(\.\/)+/,""):f.getBasePageUrl()+t.replace(/^(\.\/)+/,""):i).replace(/\#$/,"")},f.getShortUrl=function(t){var e=t,i=f.getBaseUrl(),t=f.getRootUrl(),e=(e=f.emulated.pushState?e.replace(i,""):e).replace(t,"/");return e=(e=f.isTraditionalAnchor(e)?"./"+e:e).replace(/^(\.\/)+/g,"./").replace(/\#$/,"")},f.getLocationHref=function(t){return(t=t||l).URL===t.location.href?t.location.href:t.location.href===decodeURIComponent(t.URL)?t.URL:(!t.location.hash||decodeURIComponent(t.location.href.replace(/^[^#]+/,""))!==t.location.hash)&&(-1!=t.URL.indexOf("#")||-1==t.location.href.indexOf("#"))&&t.URL||t.location.href},f.store={},f.idToState=f.idToState||{},f.stateToId=f.stateToId||{},f.urlToId=f.urlToId||{},f.storedStates=f.storedStates||[],f.savedStates=f.savedStates||[],f.normalizeStore=function(){f.store.idToState=f.store.idToState||{},f.store.urlToId=f.store.urlToId||{},f.store.stateToId=f.store.stateToId||{}},f.getState=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);var i=f.getLastSavedState();return!i&&e&&(i=f.createStateObject()),t&&((i=f.cloneObject(i)).url=i.cleanUrl||i.url),i},f.getIdByState=function(t){var e,i=f.extractId(t.url);if(!i)if(e=f.getStateString(t),void 0!==f.stateToId[e])i=f.stateToId[e];else if(void 0!==f.store.stateToId[e])i=f.store.stateToId[e];else{for(;i=(new Date).getTime()+String(Math.random()).replace(/\D/g,""),void 0!==f.idToState[i]||void 0!==f.store.idToState[i];);f.stateToId[e]=i,f.idToState[i]=t}return i},f.normalizeState=function(t){var e;return void 0!==(t=!t||"object"!=typeof t?{}:t).normalized?t:(t.data&&"object"==typeof t.data||(t.data={}),(e={normalized:!0}).title=t.title||"",e.url=f.getFullUrl(t.url||f.getLocationHref()),e.hash=f.getShortUrl(e.url),e.data=f.cloneObject(t.data),e.id=f.getIdByState(e),e.cleanUrl=e.url.replace(/\??\&_suid.*/,""),e.url=e.cleanUrl,t=!f.isEmptyObject(e.data),(e.title||t)&&!0!==f.options.disableSuid&&(e.hash=f.getShortUrl(e.url).replace(/\??\&_suid.*/,""),/\?/.test(e.hash)||(e.hash+="?"),e.hash+="&_suid="+e.id),e.hashedUrl=f.getFullUrl(e.hash),(f.emulated.pushState||f.bugs.safariPoll)&&f.hasUrlDuplicate(e)&&(e.url=e.hashedUrl),e)},f.createStateObject=function(t,e,i){return f.normalizeState({data:t,title:e,url:i})},f.getStateById=function(t){return t=String(t),f.idToState[t]||f.store.idToState[t]||i},f.getStateString=function(t){t={data:f.normalizeState(t).data,title:t.title,url:t.url};return p.stringify(t)},f.getStateId=function(t){return f.normalizeState(t).id},f.getHashByState=function(t){return f.normalizeState(t).hash},f.extractId=function(t){var e=-1!=t.indexOf("#")?t.split("#")[0]:t,e=/(.*)\&_suid=([0-9]+)$/.exec(e);e&&e[1];return(e?String(e[2]||""):"")||!1},f.isTraditionalAnchor=function(t){return!/[\/\?\.]/.test(t)},f.extractState=function(t,e){var i,n,o=null;return e=e||!1,(o=(i=f.extractId(t))?f.getStateById(i):o)||(n=f.getFullUrl(t),(o=(i=f.getIdByUrl(n)||!1)?f.getStateById(i):o)||!e||f.isTraditionalAnchor(t)||(o=f.createStateObject(null,null,n))),o},f.getIdByUrl=function(t){return f.urlToId[t]||f.store.urlToId[t]||i},f.getLastSavedState=function(){return f.savedStates[f.savedStates.length-1]||i},f.getLastStoredState=function(){return f.storedStates[f.storedStates.length-1]||i},f.hasUrlDuplicate=function(t){var e=f.extractState(t.url);return e&&e.id!==t.id},f.storeState=function(t){return f.urlToId[t.url]=t.id,f.storedStates.push(f.cloneObject(t)),t},f.isLastSavedState=function(t){var e=!1;return e=f.savedStates.length?t.id===f.getLastSavedState().id:e},f.saveState=function(t){return!f.isLastSavedState(t)&&(f.savedStates.push(f.cloneObject(t)),!0)},f.getStateByIndex=function(t){return void 0===t?f.savedStates[f.savedStates.length-1]:t<0?f.savedStates[f.savedStates.length+t]:f.savedStates[t]},f.getCurrentIndex=function(){return f.savedStates.length<1?0:f.savedStates.length-1},f.getHash=function(t){t=f.getLocationHref(t);return f.getHashByUrl(t)},f.unescapeHash=function(t){t=f.normalizeHash(t);return t=decodeURIComponent(t)},f.normalizeHash=function(t){return t.replace(/[^#]*#/,"").replace(/#.*/,"")},f.setHash=function(t,e){return!1!==e&&f.busy()?(f.pushQueue({scope:f,callback:f.setHash,args:arguments,queue:e}),!1):(f.busy(!0),(e=f.extractState(t,!0))&&!f.emulated.pushState?f.pushState(e.data,e.title,e.url,!1):f.getHash()!==t&&(f.bugs.setHash?(e=f.getPageUrl(),f.pushState(null,null,e+"#"+t,!1)):l.location.hash=t),f)},f.escapeHash=function(t){t=f.normalizeHash(t),t=r.encodeURIComponent(t);return t=!f.bugs.hashEscape?t.replace(/\%21/g,"!").replace(/\%26/g,"&").replace(/\%3D/g,"=").replace(/\%3F/g,"?"):t},f.getHashByUrl=function(t){t=String(t).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");return t=f.unescapeHash(t)},f.setTitle=function(t){var e,i=t.title;i||(e=f.getStateByIndex(0))&&e.url===t.url&&(i=e.title||f.options.initialTitle);try{l.getElementsByTagName("title")[0].innerHTML=i.replace("<","&lt;").replace(">","&gt;").replace(" & "," &amp; ")}catch(t){}return l.title=i,f},f.queues=[],f.busy=function(t){var i;return void 0!==t?f.busy.flag=t:void 0===f.busy.flag&&(f.busy.flag=!1),f.busy.flag||(c(f.busy.timeout),i=function(){var t,e;if(!f.busy.flag)for(t=f.queues.length-1;0<=t;--t)0!==(e=f.queues[t]).length&&(e=e.shift(),f.fireQueueItem(e),f.busy.timeout=s(i,f.options.busyDelay))},f.busy.timeout=s(i,f.options.busyDelay)),f.busy.flag},f.busy.flag=!1,f.fireQueueItem=function(t){return t.callback.apply(t.scope||f,t.args||[])},f.pushQueue=function(t){return f.queues[t.queue||0]=f.queues[t.queue||0]||[],f.queues[t.queue||0].push(t),f},f.queue=function(t,e){return"function"==typeof t&&(t={callback:t}),void 0!==e&&(t.queue=e),f.busy()?f.pushQueue(t):f.fireQueueItem(t),f},f.clearQueue=function(){return f.busy.flag=!1,f.queues=[],f},f.stateChanged=!1,f.doubleChecker=!1,f.doubleCheckComplete=function(){return f.stateChanged=!0,f.doubleCheckClear(),f},f.doubleCheckClear=function(){return f.doubleChecker&&(c(f.doubleChecker),f.doubleChecker=!1),f},f.doubleCheck=function(t){return f.stateChanged=!1,f.doubleCheckClear(),f.bugs.ieDoubleCheck&&(f.doubleChecker=s(function(){return f.doubleCheckClear(),f.stateChanged||t(),!0},f.options.doubleCheckInterval)),f},f.safariStatePoll=function(){var t=f.extractState(f.getLocationHref());if(!f.isLastSavedState(t))return t||f.createStateObject(),f.Adapter.trigger(r,"popstate"),f},f.back=function(t){return!1!==t&&f.busy()?(f.pushQueue({scope:f,callback:f.back,args:arguments,queue:t}),!1):(f.busy(!0),f.doubleCheck(function(){f.back(!1)}),m.go(-1),!0)},f.forward=function(t){return!1!==t&&f.busy()?(f.pushQueue({scope:f,callback:f.forward,args:arguments,queue:t}),!1):(f.busy(!0),f.doubleCheck(function(){f.forward(!1)}),m.go(1),!0)},f.go=function(t,e){var i;if(0<t)for(i=1;i<=t;++i)f.forward(e);else{if(!(t<0))throw new Error("History.go: History.go requires a positive or negative integer passed.");for(i=-1;t<=i;--i)f.back(e)}return f},f.emulated.pushState?(e=function(){},f.pushState=f.pushState||e,f.replaceState=f.replaceState||e):(f.onPopState=function(t,e){var i,n,o=!1;return f.doubleCheckComplete(),(n=f.getHash())?((n=f.extractState(n||f.getLocationHref(),!0))?f.replaceState(n.data,n.title,n.url,!1):(f.Adapter.trigger(r,"anchorchange"),f.busy(!1)),f.expectedStateId=!1):(o=(o=(i=f.Adapter.extractEventData("state",t,e)||!1)?f.getStateById(i):f.expectedStateId?f.getStateById(f.expectedStateId):f.extractState(f.getLocationHref()))||f.createStateObject(null,null,f.getLocationHref()),f.expectedStateId=!1,f.isLastSavedState(o)?(f.busy(!1),!1):(f.storeState(o),f.saveState(o),f.setTitle(o),f.Adapter.trigger(r,"statechange"),f.busy(!1),!0))},f.Adapter.bind(r,"popstate",f.onPopState),f.pushState=function(t,e,i,n){if(f.getHashByUrl(i)&&f.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(!1!==n&&f.busy())return f.pushQueue({scope:f,callback:f.pushState,args:arguments,queue:n}),!1;f.busy(!0);i=f.createStateObject(t,e,i);return f.isLastSavedState(i)?f.busy(!1):(f.storeState(i),f.expectedStateId=i.id,m.pushState(i.id,i.title,i.url),f.Adapter.trigger(r,"popstate")),!0},f.replaceState=function(t,e,i,n){if(f.getHashByUrl(i)&&f.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(!1!==n&&f.busy())return f.pushQueue({scope:f,callback:f.replaceState,args:arguments,queue:n}),!1;f.busy(!0);i=f.createStateObject(t,e,i);return f.isLastSavedState(i)?f.busy(!1):(f.storeState(i),f.expectedStateId=i.id,m.replaceState(i.id,i.title,i.url),f.Adapter.trigger(r,"popstate")),!0}),o){try{f.store=p.parse(o.getItem("History.store"))||{}}catch(t){f.store={}}f.normalizeStore()}else f.store={},f.normalizeStore();f.Adapter.bind(r,"unload",f.clearAllIntervals),f.saveState(f.storeState(f.extractState(f.getLocationHref(),!0))),o&&(f.onUnload=function(){var e,t,i;try{e=p.parse(o.getItem("History.store"))||{}}catch(t){e={}}for(t in e.idToState=e.idToState||{},e.urlToId=e.urlToId||{},e.stateToId=e.stateToId||{},f.idToState)f.idToState.hasOwnProperty(t)&&(e.idToState[t]=f.idToState[t]);for(t in f.urlToId)f.urlToId.hasOwnProperty(t)&&(e.urlToId[t]=f.urlToId[t]);for(t in f.stateToId)f.stateToId.hasOwnProperty(t)&&(e.stateToId[t]=f.stateToId[t]);f.store=e,f.normalizeStore(),i=p.stringify(e);try{o.setItem("History.store",i)}catch(t){if(t.code!==DOMException.QUOTA_EXCEEDED_ERR)throw t;o.length&&(o.removeItem("History.store"),o.setItem("History.store",i))}},f.intervalList.push(d(f.onUnload,f.options.storeInterval)),f.Adapter.bind(r,"beforeunload",f.onUnload),f.Adapter.bind(r,"unload",f.onUnload)),f.emulated.pushState||(f.bugs.safariPoll&&f.intervalList.push(d(f.safariStatePoll,f.options.safariPollInterval)),"Apple Computer, Inc."!==n.vendor&&"Mozilla"!==(n.appCodeName||"")||(f.Adapter.bind(r,"hashchange",function(){f.Adapter.trigger(r,"popstate")}),f.getHash()&&f.Adapter.onDomLoad(function(){f.Adapter.trigger(r,"hashchange")})))},f.options&&f.options.delayInit||f.init()}(window)),function(p){var n={data:[],tag:"img",mode:"display",LS_Variable:"__HotspotPlugin_LocalStorage",hiddenClass:"hidden",interactivity:"hover",done_btnId:"HotspotPlugin_Done",remove_btnId:"HotspotPlugin_Remove",sync_btnId:"HotspotPlugin_Server",done_btnClass:"btn btn-success HotspotPlugin_Done",remove_btnClass:"vc_ui-button-default HotspotPlugin_Remove",sync_btnClass:"btn btn-info HotspotPlugin_Server",hotspotClass:"HotspotPlugin_Hotspot",hotspotAuxClass:"HotspotPlugin_inc",hotspotOverlayClass:"HotspotPlugin_Overlay",popupTitle:"Tooltip content",saveText:"Save",closeText:"Close",dataStuff:[{property:"Title",default:"Hotspot Title"},{property:"Message",default:"Hotspot Content"}]},s=1;function e(t,e){this.config=p.extend(!0,{},n,e),this.element=t,this.imageEl=t.find(this.config.tag),this.imageParent=this.imageEl.parent(),this.broadcast="";var i=this;p.each(this.config,function(t,e){"function"==typeof e&&i.element.on(t+".thb_hotspot",function(){e(i.broadcast)})}),this.init()}e.prototype.init=function(){var t,e;this.getData(),"admin"===this.config.mode&&((t=new Image).src=p((e=this).imageEl).attr("src"),t.onload=function(){var a=e.imageEl[0].height,l=e.imageEl[0].width;p("<span/>",{html:"<p>This is Admin-mode. Click this Panel to Store Messages</p>"}).addClass(e.config.hotspotOverlayClass).appendTo(e.imageParent);var t,c=e,d=[],u=s;e.element.delegate("span","click",function(t){t.preventDefault(),u++;for(var e=p(this).offset(),i=(t.pageX-e.left)/l*100,e=(t.pageY-e.top)/a*100,n=c.config.dataStuff,o={index:u,x:i,y:e},r=0;r<n.length;r++){var s=n[r];o[s.property]=s.default}d.push(o),c.storeData(d),d=[],c.popupWindow(u),p("body").trigger("ihwt-hotspot-updated")}),e.element.delegate(".thb_hotspot","click",function(t){var e=p(this).find("> div").data("index"),i=c.getItemData(e)[0];c.popupWindow(e,i)}),e.element.delegate(".delete-item","click",function(t){t.preventDefault(),t.stopPropagation();t=p(this).parent().data("index");c.removeItem(t),setTimeout(function(){c.updateView()},0)}),void 0!==p.fn.draggable&&(t={containment:"parent",stop:function(t,e){var i=+p(t.target).find("> div").data("index"),t={};t.x=e.position.left/l*100,t.y=e.position.top/a*100,c.updateData(t,i)}},0<p(".thb_hotspot").length&&(p(".thb_hotspot").draggable(t),p("body").on("ihwt-hotspot-updated",function(){p(".thb_hotspot:not(.ui-draggable-handle)").draggable(t)})))})},e.prototype.popupWindow=function(r,t){for(var s=this,a=this.config.dataStuff,e="",i=this.config.popupTitle,n=this.config.saveText,o=this.config.closeText,l=0;l<a.length;l++){var c=a[l],d=void 0!==t&&void 0!==t[c.property]?t[c.property]:c.default,u="";"Title"===c.property&&(u='<label class="wpb_element_label">'+c.property+'</label><input type="text" class="ihwt-hotspot-'+c.property+'" value="'+d+'" />'),"Product"===c.property&&(u+='<label class="wpb_element_label">Select WooCommerce Product</label>',u+='<select class="wc-product-search ihwt-hotspot-'+c.property+'" id="ihwt-hotspot-products" data-placeholder="Search for a product&hellip;" data-action="woocommerce_json_search_products_and_variations">',"object"==typeof d?p(d).each(function(t,e){u+='<option value="'+e[0]+'" selected="selected">'+e[1]+"</option>"}):u+="string"==typeof d&&""!==d?'<option value="'+d+'" selected="selected">'+d+"</option>":'<option value=""></option>',u+="</select>",u+='<span class="vc_description vc_clearfix">Select WooCommerce Product. If a WooCommerce Product ID is entered, Title &amp; Message are not used.</span>'),"Message"===c.property&&(u='<label class="wpb_element_label">'+c.property+'</label><textarea class="ihwt-hotspot-'+c.property+'">'+d+"</textarea>"),"Position"===c.property&&(u='<label class="wpb_element_label">Tooltip Position</label><select class="wpb_vc_param_value wpb-input wpb-select thb_tooltip_position dropdown ihwt-hotspot-'+c.property+'">',["top","left","right","bottom"].forEach(function(t){u+='<option value="'+t+'" '+(t===d?'selected="selected"':"")+">"+t+"</option>"}),u+="</select>"),e+='<div class="vc_shortcode-param vc_column">'+u+"</div>"}n='<div class="vc_ui-panel vc_active thb-hotspot-popup">'+('<div class="vc_ui-panel-window-inner"><div class="vc_ui-panel-header-container vc_ui-panel-header-o-stacked-bottom"><div class="vc_ui-panel-header"><div class="vc_ui-panel-header-controls"><button type="button" class="vc_general vc_ui-control-button vc_ui-close-button" data-vc-ui-element="button-close"><i class="vc-composer-icon vc-c-icon-close"></i></button></div><h3 class="vc_ui-panel-header-heading" data-vc-ui-element="panel-title">'+i+"<h3></div></div>")+'<div class="vc_ui-panel-content-container"><div class="vc_ui-panel-content vc_properties-list vc_edit_form_elements">'+e+"</div></div>"+('<div class="vc_ui-panel-footer-container" data-vc-ui-element="panel-footer"><div class="vc_ui-panel-footer"><div class="vc_ui-button-group"><a href="#" title="'+o+'" class="vc_general vc_ui-button vc_ui-button-default vc_ui-button-shape-rounded vc_ui-button-fw ihwt-hotspot-close">'+o+'</a><a href="#" title="'+n+'" class="vc_general vc_ui-button vc_ui-button-action vc_ui-button-shape-rounded vc_ui-button-fw ihwt-hotspot-save">'+n+"</a></div></div></div>")+"</div></div>";p("body").append(n),p(".ihwt-hotspot-save").on("click",function(){for(var t=p(this).parents(".thb-hotspot-popup"),e={},i=0;i<a.length;i++){var n,o=a[i];"Product"===o.property?(n=[],t.find(".ihwt-hotspot-"+o.property+" option:selected").each(function(){var t=p(this),e=[];e[0]=t.val(),e[1]=t.text(),n.push(e)}),e[o.property]=n):e[o.property]=t.find(".ihwt-hotspot-"+o.property).val()}return p(".thb-hotspot-popup").remove(),s.updateData(e,r),s.updateView(),!1}),p("body").on("click",".ihwt-hotspot-close, .thb-hotspot-popup .vc_ui-close-button",function(){return p(".thb-hotspot-popup").remove(),!1}),p("body").trigger("wc-enhanced-select-init")},e.prototype.getItemData=function(e){if(""!==e){var t=decodeURIComponent(p(this.config.LS_Variable).val()),i=[],n=[];return t&&(i=JSON.parse(t)),p.each(i,function(t){t=i[t];t.index===e&&n.push(t)}),n}},e.prototype.getData=function(){null===(""===p(this.config.LS_Variable).val()||p(this.config.LS_Variable).val())&&0===this.config.data.length||("admin"!==this.config.mode||""!==p(this.config.LS_Variable).val()&&null!==p(this.config.LS_Variable).val())&&(this.beautifyData(),p("body").trigger("ihwt-hotspot-initialized"))},e.prototype.beautifyData=function(){for(var t,e,i=this,n=(e="admin"!==this.config.mode&&0!==this.config.data.length?this.config.data:(t=decodeURIComponent(p(this.config.LS_Variable).val()),JSON.parse(t))).length-1;0<=n;n--){var o=e[n];n===e.length-1&&(s=o.index);var r="",r="none"===this.config.interactivity?p('<div id="ihwt-hotspot-dot-'+o.index+'" class="thb-hotspot-content" data-index="'+o.index+'">'+(n+1)+'<i class="delete-item vc-composer-icon vc-c-icon-close"></i></div>'):p('<div id="ihwt-hotspot-dot-'+o.index+'" class="thb-hotspot-content" data-index="'+o.index+'">'+(n+1)+'<i class="delete-item vc-composer-icon vc-c-icon-close"></i></div>').addClass(this.config.hiddenClass);p.each(o,function(t,e){"string"==typeof e&&p("<div/>",{html:e}).addClass("thb-hotspot-param Hotspot_"+t).appendTo(r)});o=p("<div/>",{html:r}).css({top:o.y+"%",left:o.x+"%"}).addClass(this.config.hotspotClass).appendTo(this.element);"click"===i.config.interactivity?(o.on(i.config.interactivity,function(t){p(this).children("div").toggleClass(i.config.hiddenClass)}),r.css("display","block")):r.removeClass(this.config.hiddenClass),"none"===this.config.interactivity&&r.css("display","block")}},e.prototype.storeData=function(e){var t,i;0!==e.length&&(t=decodeURIComponent(p(this.config.LS_Variable).val()),i=[],t&&(i=JSON.parse(t)),p.each(e,function(t){t=e[t];i.push(t)}),p(this.config.LS_Variable).val(encodeURIComponent(JSON.stringify(i))),this.broadcast="Saved to LocalStorage",this.element.trigger("afterSave.hotspot"))},e.prototype.updateData=function(i,t){var e,n;0!==i.length&&""!==t&&(e=decodeURIComponent(p(this.config.LS_Variable).val()),n=[],e&&(n=JSON.parse(e)),p.each(n,function(e){n[e].index===t&&p.each(n[e],function(t){void 0!==i[t]&&void 0!==n[e][t]&&(n[e][t]=i[t])})}),p(this.config.LS_Variable).val(encodeURIComponent(JSON.stringify(n))),this.broadcast="Saved to LocalStorage",this.element.trigger("afterSave.hotspot"))},e.prototype.removeItem=function(e){var t,i,n;""!==e&&(t=decodeURIComponent(p(this.config.LS_Variable).val()),i=[],n=[],t&&(i=JSON.parse(t)),p.each(i,function(t){t=i[t];t.index!==e&&n.push(t)}),p(this.config.LS_Variable).val(encodeURIComponent(JSON.stringify(n))),this.broadcast="Saved to LocalStorage",this.element.trigger("afterSave.hotspot"))},e.prototype.removeData=function(){null!==p(this.config.LS_Variable).val&&confirm("Are you sure you want delete all spots?")&&(p(this.config.LS_Variable).val(""),this.broadcast="Removed successfully",this.element.trigger("afterRemove.hotspot"),this.updateView())},e.prototype.updateView=function(){0<this.element.find(".thb_hotspot").length&&this.element.find(".thb_hotspot").remove(),this.beautifyData(),p("body").trigger("ihwt-hotspot-updated")},p.fn.hotspot=function(t){return new e(this,t),this}}(jQuery),function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,u=void 0===n?function(){}:function(t){n.error(t)};function o(l,c,d){(d=d||e||t.jQuery)&&(c.prototype.option||(c.prototype.option=function(t){d.isPlainObject(t)&&(this.options=d.extend(!0,this.options,t))}),d.fn[l]=function(t){if("string"!=typeof t)return a=t,this.each(function(t,e){var i=d.data(e,l);i?(i.option(a),i._init()):(i=new c(e,a),d.data(e,l,i))}),this;var n,o,r,s,a,e=i.call(arguments,1);return o=e,s="$()."+l+'("'+(n=t)+'")',(t=this).each(function(t,e){var i=d.data(e,l);i?(e=i[n])&&"_"!=n.charAt(0)?(i=e.apply(i,o),r=void 0===r?i:r):u(s+" is not a valid method"):u(l+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==r?r:t},r(d))}function r(t){!t||t&&t.bridget||(t.bridget=o)}return r(e||t.jQuery),o}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},t=i[t]=i[t]||[];return-1==t.indexOf(e)&&t.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length){e=t.indexOf(e);return-1!=e&&t.splice(e,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),o=i[n+=s?0:1]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function h(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},f=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],m=f.length;function g(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t}var T,v=!1;function b(t){if(v||(v=!0,(p=document.createElement("div")).style.width="200px",p.style.padding="1px 2px 3px 4px",p.style.borderStyle="solid",p.style.borderWidth="1px 2px 3px 4px",p.style.boxSizing="border-box",(u=document.body||document.documentElement).appendChild(p),d=g(p),b.isBoxSizeOuter=T=200==h(d.width),u.removeChild(p)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var e=g(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<m;e++)t[f[e]]=0;return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var n=i.isBorderBox="border-box"==e.boxSizing,o=0;o<m;o++){var r=f[o],s=e[r],s=parseFloat(s);i[r]=isNaN(s)?0:s}var a=i.paddingLeft+i.paddingRight,l=i.paddingTop+i.paddingBottom,c=i.marginLeft+i.marginRight,d=i.marginTop+i.marginBottom,u=i.borderLeftWidth+i.borderRightWidth,p=i.borderTopWidth+i.borderBottomWidth,t=n&&T,n=h(e.width);!1!==n&&(i.width=n+(t?0:a+u));n=h(e.height);return!1!==n&&(i.height=n+(t?0:l+p)),i.innerWidth=i.width-(a+u),i.innerHeight=i.height-(l+p),i.outerWidth=i.width+c,i.outerHeight=i.height+d,i}}return b}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var i=function(){var t=Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(i,r){var l={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},removeFrom:function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},getParent:function(t,e){for(;t!=document.body;)if(t=t.parentNode,r(t,e))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){var e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,n){t=l.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(n){r(t,n)&&o.push(t);for(var e=t.querySelectorAll(n),i=0;i<e.length;i++)o.push(e[i])}else o.push(t)}),o},debounceMethod:function(t,e,n){var o=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r];t&&clearTimeout(t);var e=arguments,i=this;this[r]=setTimeout(function(){o.apply(i,e),delete i[r]},n||100)}},docReady:function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}},c=i.console;return l.htmlInit=function(s,a){l.docReady(function(){var t=l.toDashed(a),n="data-"+t,e=document.querySelectorAll("["+n+"]"),t=document.querySelectorAll(".js-"+t),t=l.makeArray(e).concat(l.makeArray(t)),o=n+"-options",r=i.jQuery;t.forEach(function(e){var t=e.getAttribute(n)||e.getAttribute(o);try{i=t&&JSON.parse(t)}catch(t){return void(c&&c.error("Error parsing "+n+" on "+e.className+": "+t))}var i=new s(e,i);r&&r.data(e,a,i)})})},l}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,n="string"==typeof i.transition?"transition":"WebkitTransition",o="string"==typeof i.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],s={transform:o,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}t=a.prototype=Object.create(t.prototype);t.constructor=a,t._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getSize=function(){this.size=e(this.element)},t.css=function(t){var e,i=this.element.style;for(e in t)i[s[e]||e]=t[e]},t.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],t=this.layout.size,n=-1!=n.indexOf("%")?parseFloat(n)/100*t.width:parseInt(n,10),o=-1!=o.indexOf("%")?parseFloat(o)/100*t.height:parseInt(o,10),n=isNaN(n)?0:n,o=isNaN(o)?0:o;n-=e?t.paddingLeft:t.paddingRight,o-=i?t.paddingTop:t.paddingBottom,this.position.x=n,this.position.y=o},t.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"right":"left",r=this.position.x+t[i?"paddingLeft":"paddingRight"];e[i?"left":"right"]=this.getXValue(r),e[o]="";o=n?"bottom":"top",t=this.position.y+t[n?"paddingTop":"paddingBottom"];e[n?"top":"bottom"]=this.getYValue(t),e[o]="",this.css(e),this.emitEvent("layout",[this])},t.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},t.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},t._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),r=parseInt(e,10),r=o===this.position.x&&r===this.position.y;this.setPosition(t,e),!r||this.isTransitioning?((r={}).transform=this.getTranslate(t-i,e-n),this.transition({to:r,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})):this.layoutPosition()},t.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},t.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},t.moveTo=t._transitionTo,t.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},t._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},t.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,i=this._transn;for(e in t.onTransitionEnd)i.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)i.ingProperties[e]=!0,t.isCleaning&&(i.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var l="opacity,"+o.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});t.enableTransition=function(){var t;this.isTransitioning||(t=this.layout.options.transitionDuration,this.css({transitionProperty:l,transitionDuration:t="number"==typeof t?t+"ms":t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1))},t.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},t.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};t.ontransitionend=function(t){var e,i;t.target===this.element&&(e=this._transn,i=c[t.propertyName]||t.propertyName,delete e.ingProperties[i],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this]))},t.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},t._removeStyles=function(t){var e,i={};for(e in t)i[e]="";this.css(i)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return t.removeTransitionStyles=function(){this.css(d)},t.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},t.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},t.remove=function(){n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},t.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},t.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},t.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},t.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},t.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},t.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(o,r){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,i,n){return r(o,t,e,i,n)}):"object"==typeof module&&module.exports?module.exports=r(o,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=r(o,o.EvEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)}(window,function(t,e,o,n,r){"use strict";function i(){}var s=t.console,a=t.jQuery,l=0,c={};function d(t,e){var i=n.getQueryElement(t);i?(this.element=i,a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),e=++l,this.element.outlayerGUID=e,(c[e]=this)._create(),this._getOption("initLayout")&&this.layout()):s&&s.error("Bad element for "+this.constructor.namespace+": "+(i||t))}d.namespace="outlayer",d.Item=r,d.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var u=d.prototype;function p(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}n.extend(u,e.prototype),u.option=function(t){n.extend(this.options,t)},u._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},d.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=new i(e[o],this);n.push(r)}return n},u._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},u.getItemElements=function(){return this.items.map(function(t){return t.element})},u.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=o(this.element)},u._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[t]=i?o(i)[e]:n):this[t]=0},u.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},u._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},u._layoutItems=function(t,i){var n;this._emitCompleteOnItems("layout",t),t&&t.length&&(n=[],t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,n.push(e)},this),this._processLayoutQueue(n))},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},u.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),t=e&&e[1],e=e&&e[2];if(!t.length)return 0;t=parseFloat(t);e=h[e]||1;return t*e}(t),this.stagger;this.stagger=0},u._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){var t;!this._getOption("resizeContainer")||(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},u._getContainerSize=i,u._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},u._emitCompleteOnItems=function(e,t){var i=this;function n(){i.dispatchEvent(e+"Complete",null,[t])}var o,r=t.length;function s(){++o==r&&n()}t&&r?(o=0,t.forEach(function(t){t.once(e,s)})):n()},u.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;this.emitEvent(t,n),a&&(this.$element=this.$element||a(this.element),e?((e=a.Event(e)).type=t,this.$element.trigger(e,i)):this.$element.trigger(t,i))},u.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},u.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},u.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},u.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},u._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)},u._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},u._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},u._manageStamp=i,u._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,t=o(t);return{left:e.left-i.left-t.marginLeft,top:e.top-i.top-t.marginTop,right:i.right-e.right-t.marginRight,bottom:i.bottom-e.bottom-t.marginBottom}},u.handleEvent=n.handleEvent,u.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},u.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},u.onresize=function(){this.resize()},n.debounceMethod(d,"onresize",100),u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},u.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},u.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},u.prepended=function(t){var e=this._itemize(t);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},u.reveal=function(t){var i;this._emitCompleteOnItems("reveal",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.reveal()}))},u.hide=function(t){var i;this._emitCompleteOnItems("hide",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.hide()}))},u.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},u.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},u.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},u.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){t=this.getItem(t);t&&e.push(t)},this),e},u.remove=function(t){t=this.getItems(t);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},u.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();t=this.element.outlayerGUID;delete c[t],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},d.data=function(t){t=(t=n.getQueryElement(t))&&t.outlayerGUID;return t&&c[t]},d.create=function(t,e){var i=p(d);return i.defaults=n.extend({},d.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},d.compatOptions),i.namespace=t,i.data=d.data,i.Item=p(r),n.htmlInit(i,t),a&&a.bridget&&a.bridget(t,i),i};var h={ms:1,s:1e3};return d.Item=r,d}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t,e=this.layout.options.getSortData,i=this.layout._sorters;for(t in e){var n=i[t];this.sortData[t]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(e,i){"use strict";function n(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return i.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;this._getMeasurement(i,n),this[i]||(t=this.getFirstItemSize(),this[i]=t&&t[n]||this.isotope.size["inner"+e])},o.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(t,e){function i(){n.apply(this,arguments)}return(i.prototype=Object.create(o)).constructor=i,e&&(i.options=e),n.modes[i.prototype.namespace=t]=i},n}),function(t,e){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,a){t=t.create("masonry");return t.compatOptions.fitWidth="isFitWidth",t.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0},t.prototype.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(i=(e=this.items[0])&&e.element,this.columnWidth=i&&a(i).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,i=e/t,t=t-e%t,i=Math[t&&t<1?"round":"floor"](i);this.cols=Math.max(i,1)},t.prototype.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,t=a(t);this.containerWidth=t&&t.innerWidth},t.prototype._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),i=Math.min(i,this.cols),n=this._getColGroup(i),e=Math.min.apply(Math,n),o=n.indexOf(e),i={x:this.columnWidth*o,y:e},r=e+t.size.outerHeight,s=this.cols+1-n.length,a=0;a<s;a++)this.colYs[o+a]=r;return i},t.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},t.prototype._manageStamp=function(t){var e=a(t),i=this._getElementOffset(t),n=this._getOption("originLeft")?i.left:i.right,t=n+e.outerWidth,n=Math.floor(n/this.columnWidth),n=Math.max(0,n),o=Math.floor(t/this.columnWidth);o-=t%this.columnWidth?0:1;for(var o=Math.min(this.cols-1,o),r=(this._getOption("originTop")?i.top:i.bottom)+e.outerHeight,s=n;s<=o;s++)this.colYs[s]=Math.max(r,this.colYs[s])},t.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},t.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},t.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},t}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i,t=t.create("masonry"),n=t.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(i in e.prototype)o[i]||(n[i]=e.prototype[i]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var s=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:s.apply(this.isotope,arguments)},t}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),t=e.prototype;return t._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},t._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);i={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,i},t._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),t=e.prototype;return t._resetLayout=function(){this.y=0},t._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},t._getContainerSize=function(){return{height:this.y}},e}),function(s,a){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(t,e,i,n,o,r){return a(s,t,0,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=a(s,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope/js/item"),require("isotope/js/layout-mode"),require("isotope/js/layout-modes/masonry"),require("isotope/js/layout-modes/fit-rows"),require("isotope/js/layout-modes/vertical")):s.Isotope=a(s,s.Outlayer,s.getSize,s.matchesSelector,s.fizzyUIUtils,s.Isotope.Item,s.Isotope.LayoutMode)}(window,function(t,i,e,n,r,o,s){var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=o,c.LayoutMode=s;o=c.prototype;o._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],s.modes)this._initLayoutMode(t)},o.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},o._itemize=function(){for(var t=i.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++)t[e].id=this.itemGUID++;return this._updateItemsSortData(t),t},o._initLayoutMode=function(t){var e=s.modes[t],i=this.options[t]||{};this.options[t]=e.options?r.extend(e.options,i):i,this.modes[t]=new e(this)},o.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},o._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},o.arrange=function(t){this.option(t),this._getIsInstant();t=this._filter(this.items);this.filteredItems=t.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[t]):this._hideReveal(t),this._sort(),this._layout()},o._init=o.arrange,o._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},o._getIsInstant=function(){var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;return this._isInstant=t},o._bindArrangeComplete=function(){var t,e,i,n=this;function o(){t&&e&&i&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}this.once("layoutComplete",function(){t=!0,o()}),this.once("hideComplete",function(){e=!0,o()}),this.once("revealComplete",function(){i=!0,o()})},o._filter=function(t){for(var e=this.options.filter,i=[],n=[],o=[],r=this._getFilterTest(e=e||"*"),s=0;s<t.length;s++){var a,l=t[s];l.isIgnored||((a=r(l))&&i.push(l),a&&l.isHidden?n.push(l):a||l.isHidden||o.push(l))}return{matches:i,needReveal:n,needHide:o}},o._getFilterTest=function(e){return a&&this.options.isJQueryFiltering?function(t){return a(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return n(t.element,e)}},o.updateSortData=function(t){t=t?(t=r.makeArray(t),this.getItems(t)):this.items;this._getSorters(),this._updateItemsSortData(t)},o._getSorters=function(){var t,e=this.options.getSortData;for(t in e){var i=e[t];this._sorters[t]=d(i)}},o._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()};var d=function(t){if("string"!=typeof t)return t;var e=l(t).split(" "),i=e[0],n=i.match(/^\[(.+)\]$/),o=function(e,i){if(e)return function(t){return t.getAttribute(e)};return function(t){t=t.querySelector(i);return t&&t.textContent}}(n&&n[1],i),r=c.sortDataParsers[e[1]];return t=r?function(t){return t&&r(o(t))}:function(t){return t&&o(t)}};c.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},o._sort=function(){var t,s,a,e=this.options.sortBy;e&&(t=[].concat.apply(e,this.sortHistory),s=t,a=this.options.sortAscending,this.filteredItems.sort(function(t,e){for(var i=0;i<s.length;i++){var n=s[i],o=t.sortData[n],r=e.sortData[n];if(r<o||o<r)return(r<o?1:-1)*((void 0!==a[n]?a[n]:a)?1:-1)}return 0}),e!=this.sortHistory[0]&&this.sortHistory.unshift(e))},o._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},o._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},o._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},o._manageStamp=function(t){this._mode()._manageStamp(t)},o._getContainerSize=function(){return this._mode()._getContainerSize()},o.needsResizeLayout=function(){return this._mode().needsResizeLayout()},o.appended=function(t){t=this.addItems(t);t.length&&(t=this._filterRevealAdded(t),this.filteredItems=this.filteredItems.concat(t))},o.prepended=function(t){var e=this._itemize(t);e.length&&(this._resetLayout(),this._manageStamps(),t=this._filterRevealAdded(e),this.layoutItems(this.filteredItems),this.filteredItems=t.concat(this.filteredItems),this.items=e.concat(this.items))},o._filterRevealAdded=function(t){t=this._filter(t);return this.hide(t.needHide),this.reveal(t.matches),this.layoutItems(t.matches,!0),t.matches},o.insert=function(t){var e=this.addItems(t);if(e.length){for(var i,n=e.length,o=0;o<n;o++)i=e[o],this.element.appendChild(i.element);t=this._filter(e).matches;for(o=0;o<n;o++)e[o].isLayoutInstant=!0;for(this.arrange(),o=0;o<n;o++)delete e[o].isLayoutInstant;this.reveal(t)}};var u=o.remove;return o.remove=function(t){t=r.makeArray(t);var e=this.getItems(t);u.call(this,t);for(var i=e&&e.length,n=0;i&&n<i;n++){var o=e[n];r.removeFrom(this.filteredItems,o)}},o.shuffle=function(){for(var t=0;t<this.items.length;t++)this.items[t].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},o._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;e=t.apply(this,e);return this.options.transitionDuration=i,e},o.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},c}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(c){function t(){}function d(t,e){f.ev.on("mfp"+t+y,e)}function u(t,e,i,n){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),n?e&&e.appendChild(o):(o=c(o),e&&o.appendTo(e)),o}function p(t,e){f.ev.triggerHandler("mfp"+t,e),f.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),f.st.callbacks[t]&&f.st.callbacks[t].apply(f,c.isArray(e)?e:[e]))}function h(t){return t===e&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=c(f.st.closeMarkup.replace("%title%",f.st.tClose)),e=t),f.currTemplate.closeBtn}function r(){c.magnificPopup.instance||((f=new t).init(),c.magnificPopup.instance=f)}var f,n,m,o,g,e,l="Close",T="BeforeClose",v="MarkupParse",b="Open",y=".mfp",S="mfp-ready",i="mfp-removing",s="mfp-prevent-close",a=!!window.jQuery,w=c(window);t.prototype={constructor:t,init:function(){var t=navigator.appVersion;f.isLowIE=f.isIE8=document.all&&!document.addEventListener,f.isAndroid=/android/gi.test(t),f.isIOS=/iphone|ipad|ipod/gi.test(t),f.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=c(document),f.popupsCache={}},open:function(t){if(!1===t.isObj){f.items=t.items.toArray(),f.index=0;for(var e,i=t.items,n=0;n<i.length;n++)if((e=(e=i[n]).parsed?e.el[0]:e)===t.el[0]){f.index=n;break}}else f.items=c.isArray(t.items)?t.items:[t.items],f.index=t.index||0;if(!f.isOpen){f.types=[],g="",t.mainEl&&t.mainEl.length?f.ev=t.mainEl.eq(0):f.ev=m,t.key?(f.popupsCache[t.key]||(f.popupsCache[t.key]={}),f.currTemplate=f.popupsCache[t.key]):f.currTemplate={},f.st=c.extend(!0,{},c.magnificPopup.defaults,t),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=u("bg").on("click"+y,function(){f.close()}),f.wrap=u("wrap").attr("tabindex",-1).on("click"+y,function(t){f._checkIfClose(t.target)&&f.close()}),f.container=u("container",f.wrap)),f.contentContainer=u("content"),f.st.preloader&&(f.preloader=u("preloader",f.container,f.st.tLoading));var o=c.magnificPopup.modules;for(n=0;n<o.length;n++){var r=(r=o[n]).charAt(0).toUpperCase()+r.slice(1);f["init"+r].call(f)}p("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(d(v,function(t,e,i,n){i.close_replaceWith=h(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(h())),f.st.alignTop&&(g+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:w.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}),f.st.enableEscapeKey&&m.on("keyup"+y,function(t){27===t.keyCode&&f.close()}),w.on("resize"+y,function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var s=f.wH=w.height(),a={};f.fixedContentPos&&f._hasScrollBar(s)&&((l=f._getScrollbarSize())&&(a.marginRight=l)),f.fixedContentPos&&(f.isIE7?c("body, html").css("overflow","hidden"):a.overflow="hidden");var l=f.st.mainClass;return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),p("BuildControls"),c("html").css(a),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||c(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(S),f._setFocus()):f.bgOverlay.addClass(S),m.on("focusin"+y,f._onFocusIn)},16),f.isOpen=!0,f.updateSize(s),p(b),t}f.updateItemHTML()},close:function(){f.isOpen&&(p(T),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(i),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){p(l);var t=i+" "+S+" ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(t+=f.st.mainClass+" "),f._removeClassFromMFP(t),f.fixedContentPos&&(t={marginRight:""},f.isIE7?c("body, html").css("overflow",""):t.overflow="",c("html").css(t)),m.off("keyup.mfp focusin"+y),f.ev.off(y),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f.st.autoFocusLast&&f._lastFocusedEl&&c(f._lastFocusedEl).focus(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,p("AfterClose")},updateSize:function(t){var e;f.isIOS?(e=document.documentElement.clientWidth/window.innerWidth,e=window.innerHeight*e,f.wrap.css("height",e),f.wH=e):f.wH=t||w.height(),f.fixedContentPos||f.wrap.css("height",f.wH),p("Resize")},updateItemHTML:function(){var t=f.items[f.index];f.contentContainer.detach(),f.content&&f.content.detach();var e=(t=!t.parsed?f.parseEl(f.index):t).type;p("BeforeChange",[f.currItem?f.currItem.type:"",e]),f.currItem=t,f.currTemplate[e]||(i=!!f.st[e]&&f.st[e].markup,p("FirstMarkupParse",i),f.currTemplate[e]=!i||c(i)),o&&o!==t.type&&f.container.removeClass("mfp-"+o+"-holder");var i=f["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,f.currTemplate[e]);f.appendContent(i,e),t.preloaded=!0,p("Change",t),o=t.type,f.container.prepend(f.contentContainer),p("AfterChange")},appendContent:function(t,e){(f.content=t)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[e]?f.content.find(".mfp-close").length||f.content.append(h()):f.content=t:f.content="",p("BeforeAppend"),f.container.addClass("mfp-"+e+"-holder"),f.contentContainer.append(f.content)},parseEl:function(t){var e,i=f.items[t];if((i=i.tagName?{el:c(i)}:(e=i.type,{data:i,src:i.src})).el){for(var n=f.types,o=0;o<n.length;o++)if(i.el.hasClass("mfp-"+n[o])){e=n[o];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=e||f.st.type||"inline",i.index=t,i.parsed=!0,f.items[t]=i,p("ElementParse",i),f.items[t]},addGroup:function(e,i){function t(t){t.mfpEl=this,f._openClick(t,e,i)}var n="click.magnificPopup";(i=i||{}).mainEl=e,i.items?(i.isObj=!0,e.off(n).on(n,t)):(i.isObj=!1,i.delegate?e.off(n).on(n,i.delegate,t):(i.items=e).off(n).on(n,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i:c.magnificPopup.defaults).midClick||!(2===t.which||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)){var n=(void 0!==i.disableOn?i:c.magnificPopup.defaults).disableOn;if(n)if(c.isFunction(n)){if(!n.call(f))return!0}else if(w.width()<n)return!0;t.type&&(t.preventDefault(),f.isOpen&&t.stopPropagation()),i.el=c(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),f.open(i)}},updateStatus:function(t,e){var i;f.preloader&&(n!==t&&f.container.removeClass("mfp-s-"+n),i={status:t,text:e=!e&&"loading"===t?f.st.tLoading:e},p("UpdateStatus",i),t=i.status,f.preloader.html(e=i.text),f.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+t),n=t)},_checkIfClose:function(t){if(!c(t).hasClass(s)){var e=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(e&&i)return!0;if(!f.content||c(t).hasClass("mfp-close")||f.preloader&&t===f.preloader[0])return!0;if(t===f.content[0]||c.contains(f.content[0],t)){if(e)return!0}else if(i&&c.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){f.bgOverlay.addClass(t),f.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),f.wrap.removeClass(t)},_hasScrollBar:function(t){return(f.isIE7?m.height():document.body.scrollHeight)>(t||w.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).focus()},_onFocusIn:function(t){return t.target===f.wrap[0]||c.contains(f.wrap[0],t.target)?void 0:(f._setFocus(),!1)},_parseMarkup:function(o,t,e){var r;e.data&&(t=c.extend(e.data,t)),p(v,[o,t,e]),c.each(t,function(t,e){return void 0===e||!1===e||void(1<(r=t.split("_")).length?0<(i=o.find(y+"-"+r[0])).length&&("replaceWith"===(n=r[1])?i[0]!==e[0]&&i.replaceWith(e):"img"===n?i.is("img")?i.attr("src",e):i.replaceWith(c("<img>").attr("src",e).attr("class",i.attr("class"))):i.attr(r[1],e)):o.find(y+"-"+t).html(e));var i,n})},_getScrollbarSize:function(){var t;return void 0===f.scrollbarSize&&((t=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),f.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)),f.scrollbarSize}},c.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return r(),(t=t?c.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(c.magnificPopup.defaults[t]=e.options),c.extend(this.proto,e.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}},c.fn.magnificPopup=function(t){r();var e,i,n,o=c(this);return"string"==typeof t?"open"===t?(e=a?o.data("magnificPopup"):o[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=e.items?e.items[i]:(n=o,(n=e.delegate?n.find(e.delegate):n).eq(i)),f._openClick({mfpEl:n},o,e)):f.isOpen&&f[t].apply(f,Array.prototype.slice.call(arguments,1)):(t=c.extend(!0,{},t),a?o.data("magnificPopup",t):o[0].magnificPopup=t,f.addGroup(o,t)),o};function _(){M&&(A.after(M.addClass(C)).detach(),M=null)}var C,A,M,P="inline";c.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(P),d(l+"."+P,function(){_()})},getInline:function(t,e){if(_(),t.src){var i,n=f.st.inline,o=c(t.src);return o.length?((i=o[0].parentNode)&&i.tagName&&(A||(C=n.hiddenClass,A=u(C),C="mfp-"+C),M=o.after(A).detach().removeClass(C)),f.updateStatus("ready")):(f.updateStatus("error",n.tNotFound),o=c("<div>")),t.inlineElement=o}return f.updateStatus("ready"),f._parseMarkup(e,{},t),e}}});function I(){E&&c(document.body).removeClass(E)}function x(){I(),f.req&&f.req.abort()}var E,k="ajax";c.magnificPopup.registerModule(k,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(k),E=f.st.ajax.cursor,d(l+"."+k,x),d("BeforeChange."+k,x)},getAjax:function(n){E&&c(document.body).addClass(E),f.updateStatus("loading");var t=c.extend({url:n.src,success:function(t,e,i){i={data:t,xhr:i};p("ParseAjax",i),f.appendContent(c(i.data),k),n.finished=!0,I(),f._setFocus(),setTimeout(function(){f.wrap.addClass(S)},16),f.updateStatus("ready"),p("AjaxContentAdded")},error:function(){I(),n.finished=n.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",n.src))}},f.st.ajax.settings);return f.req=c.ajax(t),""}}});var H;c.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 t=f.st.image,e=".image";f.types.push("image"),d(b+e,function(){"image"===f.currItem.type&&t.cursor&&c(document.body).addClass(t.cursor)}),d(l+e,function(){t.cursor&&c(document.body).removeClass(t.cursor),w.off("resize"+y)}),d("Resize"+e,f.resizeImage),f.isLowIE&&d("AfterChange",f.resizeImage)},resizeImage:function(){var t,e=f.currItem;e&&e.img&&f.st.image.verticalFit&&(t=0,f.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",f.wH-t))},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,H&&clearInterval(H),t.isCheckingImgSize=!1,p("ImageHasSize",t),t.imgHidden&&(f.content&&f.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(t){H&&clearInterval(H),H=setInterval(function(){return 0<n.naturalWidth?void f._onImageHasSize(e):(200<i&&clearInterval(H),void(3===++i?o(10):40===i?o(50):100===i&&o(500)))},t)};o(1)},getImage:function(t,e){var i,n=0,o=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,p("ImageLoadComplete")):++n<200?setTimeout(o,100):r())},r=function(){t&&(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("error",s.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},s=f.st.image,a=e.find(".mfp-img");return a.length&&((i=document.createElement("img")).className="mfp-img",t.el&&t.el.find("img").length&&(i.alt=t.el.find("img").attr("alt")),t.img=c(i).on("load.mfploader",o).on("error.mfploader",r),i.src=t.src,a.is("img")&&(t.img=t.img.clone()),0<(i=t.img[0]).naturalWidth?t.hasSize=!0:i.width||(t.hasSize=!1)),f._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=f.st.image.titleSrc;if(e){if(c.isFunction(e))return e.call(f,t);if(t.el)return t.el.attr(e)||""}return""}(t),img_replaceWith:t.img},t),f.resizeImage(),t.hasSize?(H&&clearInterval(H),t.loadError?(e.addClass("mfp-loading"),f.updateStatus("error",s.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),f.findImageSize(t))),e}}});var G;c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,e,i,n,o,r,s=f.st.zoom,a=".zoom";s.enabled&&f.supportsTransition&&(n=s.duration,o=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+s.duration/1e3+"s "+s.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},t="transition";return n["-webkit-"+t]=n["-moz-"+t]=n["-o-"+t]=n[t]=i,e.css(n),e},r=function(){f.content.css("visibility","visible")},d("BuildControls"+a,function(){f._allowZoom()&&(clearTimeout(e),f.content.css("visibility","hidden"),(t=f._getItemToZoom())?((i=o(t)).css(f._getOffset()),f.wrap.append(i),e=setTimeout(function(){i.css(f._getOffset(!0)),e=setTimeout(function(){r(),setTimeout(function(){i.remove(),t=i=null,p("ZoomAnimationEnded")},16)},n)},16)):r())}),d(T+a,function(){if(f._allowZoom()){if(clearTimeout(e),f.st.removalDelay=n,!t){if(!(t=f._getItemToZoom()))return;i=o(t)}i.css(f._getOffset(!0)),f.wrap.append(i),f.content.css("visibility","hidden"),setTimeout(function(){i.css(f._getOffset())},16)}}),d(l+a,function(){f._allowZoom()&&(r(),i&&i.remove(),t=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(t){var e=t?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem),i=e.offset(),n=parseInt(e.css("padding-top"),10),t=parseInt(e.css("padding-bottom"),10);i.top-=c(window).scrollTop()-n;n={width:e.width(),height:(a?e.innerHeight():e[0].offsetHeight)-t-n};return(G=void 0===G?void 0!==document.createElement("p").style.MozTransform:G)?n["-moz-transform"]=n.transform="translate("+i.left+"px,"+i.top+"px)":(n.left=i.left,n.top=i.top),n}}});function B(t){var e;!f.currTemplate[D]||(e=f.currTemplate[D].find("iframe")).length&&(t||(e[0].src="//about:blank"),f.isIE8&&e.css("display",t?"block":"none"))}var D="iframe";c.magnificPopup.registerModule(D,{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(){f.types.push(D),d("BeforeChange",function(t,e,i){e!==i&&(e===D?B():i===D&&B(!0))}),d(l+"."+D,function(){B()})},getIframe:function(t,e){var i=t.src,n=f.st.iframe;c.each(n.patterns,function(){return-1<i.indexOf(this.index)?(this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1):void 0});var o={};return n.srcAction&&(o[n.srcAction]=i),f._parseMarkup(e,o,t),f.updateStatus("ready"),e}}});function L(t){var e=f.items.length;return e-1<t?t-e:t<0?e+t:t}function O(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)}c.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 r=f.st.gallery,t=".mfp-gallery";return f.direction=!0,!(!r||!r.enabled)&&(g+=" mfp-gallery",d(b+t,function(){r.navigateByImgClick&&f.wrap.on("click"+t,".mfp-img",function(){return 1<f.items.length?(f.next(),!1):void 0}),m.on("keydown"+t,function(t){37===t.keyCode?f.prev():39===t.keyCode&&f.next()})}),d("UpdateStatus"+t,function(t,e){e.text&&(e.text=O(e.text,f.currItem.index,f.items.length))}),d(v+t,function(t,e,i,n){var o=f.items.length;i.counter=1<o?O(r.tCounter,n.index,o):""}),d("BuildControls"+t,function(){var t,e;1<f.items.length&&r.arrows&&!f.arrowLeft&&(e=r.arrowMarkup,t=f.arrowLeft=c(e.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(s),e=f.arrowRight=c(e.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(s),t.click(function(){f.prev()}),e.click(function(){f.next()}),f.container.append(t.add(e)))}),d("Change"+t,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),void d(l+t,function(){m.off(t),f.wrap.off("click"+t),f.arrowRight=f.arrowLeft=null}))},next:function(){f.direction=!0,f.index=L(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=L(f.index-1),f.updateItemHTML()},goTo:function(t){f.direction=t>=f.index,f.index=t,f.updateItemHTML()},preloadNearbyImages:function(){for(var t=f.st.gallery.preload,e=Math.min(t[0],f.items.length),i=Math.min(t[1],f.items.length),n=1;n<=(f.direction?i:e);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?e:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(t){var e;t=L(t),f.items[t].preloaded||((e=f.items[t]).parsed||(e=f.parseEl(t)),p("LazyLoad",e),"image"===e.type&&(e.img=c('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,p("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}});var R="retina";c.magnificPopup.registerModule(R,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=f.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n)&&(d("ImageHasSize."+R,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})}),d("ElementParse."+R,function(t,e){e.src=i.replaceSrc(e,n)})))}}}),r()}),function(d){var i="panr",n={moveTarget:!1,sensitivity:30,scale:!1,scaleOnHover:!0,scaleTo:1.1,scaleDuration:.25,panY:!0,panX:!0,panDuration:1.25,resetPanOnMouseLeave:!0,onEnter:function(){},onLeave:function(){}};function e(t,e){this.element=t,this.settings=d.extend({},n,e),this._defaults=n,this._name=i,this.init()}e.prototype={init:function(){var e,i,n,o,r,s=this.settings,a=d(this.element),t=a.width(),l=(a.height(),a.width()-s.sensitivity),c=(t-l)/l;(s.scale||!s.scaleOnHover&&s.scale)&&TweenMax.set(a,{scale:s.scaleTo,ease:Quart.easeOut}),"string"===jQuery.type(s.moveTarget)&&(s.moveTarget=d(this.element).parent(s.moveTarget)),s.moveTarget||(s.moveTarget=d(this.element)),s.moveTarget.on("mousemove",function(t){e=t.pageX-a.offset().left,i=t.pageY-a.offset().top,s.panX&&(n={x:-c*e}),s.panY&&(o={y:-c*i}),o=d.extend({},n,o,{ease:Quart.easeOut}),TweenMax.to(a,s.panDuration,o)}),s.moveTarget.on("mouseenter",function(t){s.scaleOnHover&&TweenMax.to(a,s.scaleDuration,{scale:s.scaleTo,ease:Quart.easeOut}),s.onEnter(a)}),s.scale&&(s.scaleOnHover||s.scale)&&!s.resetPanOnMouseLeave||(r={scale:1.005,x:0,y:0,ease:Quart.easeOut}),s.moveTarget.on("mouseleave",function(t){TweenMax.to(a,s.scaleDuration,r),s.onLeave(a)})}},d.fn[i]=function(t){return this.each(function(){d.data(this,"plugin_"+i)||d.data(this,"plugin_"+i,new e(this,t))})}}(jQuery,(window,document)),function(l){function t(t){var a=this;"string"==typeof(t=t||{})&&(t={elements:t}),this.sel=null,this.textSelection="",this.htmlSelection="",this.app_id=l("#thbSelectionSharerPopover").data("appid"),this.viaTwitterAccount=l("#thbSelectionSharerPopover").data("user"),this.url2share=l('meta[property="og:url"]').attr("content")||l('meta[property="og:url"]').attr("value")||window.location.href,this.getSelectionText=function(t){var e="",i="";if((t=t||window.getSelection()).rangeCount){for(var n=document.createElement("div"),o=0,r=t.rangeCount;o<r;++o)n.appendChild(t.getRangeAt(o).cloneContents());i=n.textContent,e=n.innerHTML}return a.textSelection=i,a.htmlSelection=e||i,i},this.selectionDirection=function(t){var e=t||window.getSelection(),t=document.createRange();return e.anchorNode?(t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset),t.collapsed?"backward":"forward"):0},this.getSelectionDimensions=function(){var t,e=window.getSelection(),i=0,n=0,o=0,r=0,s=l(window).scrollTop();return e.rangeCount&&(t=e.getRangeAt(0).cloneRange()).getBoundingClientRect&&(t=t.getBoundingClientRect(),i=Math.ceil(t.right-t.left),n=Math.ceil(t.bottom-t.top),o=Math.ceil(s+t.top-a.$popover.height()),r=Math.ceil(t.left-a.$popover.width()/2)),{width:i,height:n,offsetTop:o,offsetLeft:r}},this.show=function(i){setTimeout(function(){var t=window.getSelection(),e=a.getSelectionText(t);!t.isCollapsed&&e&&10<e.length&&e.match(/ /)&&(i&&(left=a.getSelectionDimensions().offsetLeft+a.getSelectionDimensions().width/2,top=a.getSelectionDimensions().offsetTop),a.$popover.removeClass("anim").css({left:left,top:a.getSelectionDimensions().offsetTop-10}).show(),setTimeout(function(){a.$popover.addClass("anim").css("top",top)},0))},10)},this.hide=function(t){a.$popover.hide()},this.smart_truncate=function(t,e){if(!t||!t.length)return t;var i=t.length>e,t=i?t.substr(0,e-1):t,t=i?t.substr(0,t.lastIndexOf(" ")):t;return i?t+"...":t},this.shareTwitter=function(t){t.preventDefault();var e="“"+a.smart_truncate(a.textSelection.trim(),114)+"”",i="http://twitter.com/intent/tweet?text="+encodeURIComponent(e)+"&url="+encodeURIComponent(window.location.href);a.viaTwitterAccount&&e.length<114-a.viaTwitterAccount.length&&(i+="&via="+a.viaTwitterAccount);t=screen.width/2-320,e=screen.height/2-220-100;return window.open(i,"share_twitter","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=640, height=440, top="+e+", left="+t),a.hide(),!1},this.shareFacebook=function(t){t.preventDefault();var e=a.htmlSelection.replace(/<p[^>]*>/gi,"\n").replace(/<\/p>|  /gi,"").trim(),i="http://www.facebook.com/dialog/share?&app_id="+a.app_id+"&display=popup&name="+encodeURIComponent(e)+"&link="+encodeURIComponent(a.url2share)+"&href="+encodeURIComponent(a.url2share)+"&redirect_uri="+encodeURIComponent(a.url2share),t=screen.width/2-320,e=screen.height/2-220-100;return window.open(i,"share_facebook","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=640, height=440, top="+e+", left="+t),a.hide(),!1},this.shareEmail=function(t){var e=a.htmlSelection.replace(/<p[^>]*>/gi,"\n").replace(/<\/p>|  /gi,"").trim(),i={};return i.subject=encodeURIComponent("Quote from "+document.title),i.body=encodeURIComponent("“"+e+"”")+"%0D%0A%0D%0AFrom: "+document.title+"%0D%0A"+window.location.href,l(this).attr("href","mailto:?subject="+i.subject+"&body="+i.body),a.hide(),!0},this.render=function(){a.$popover=l("#thbSelectionSharerPopover"),a.$popover.find("a.twitter").on("click",a.shareTwitter),a.$popover.find("a.facebook").on("click",a.shareFacebook),a.$popover.find("a.email").on("click",a.shareEmail)},this.setElements=function(t){"string"==typeof t&&(t=l(t)),a.$elements=t instanceof l?t:l(t),a.$elements.mouseup(a.show).mousedown(a.hide),a.$elements.bind("touchstart",function(t){a.isMobile=!0}),document.onselectionchange=a.selectionChanged},this.selectionChanged=function(t){a.isMobile},this.render(),t.elements&&this.setElements(t.elements)}l.fn.thbSelectionSharer=function(){return(new t).setElements(this),this},"function"==typeof define?define(function(){return t.load=function(t,e,i,n){(new SelectionSharer).setElements("p"),i()},t}):window.thbSelectionSharer=t}(jQuery),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(t.jQuery)}(this,function(c){"use strict";var d="vide",o={volume:1,playbackRate:1,muted:!0,loop:!0,playsinline:"",autoplay:!0,position:"50% 50%",posterType:"detect",resizing:!0,bgColor:"transparent",className:""},u="Not implemented";function r(t){for(var e,i,n,o,r={},s=t.replace(/\s*:\s*/g,":").replace(/\s*,\s*/g,",").split(","),a=0,l=s.length;a<l&&(-1===(i=s[a]).search(/^(http|https|ftp):\/\//)&&-1!==i.search(":"));a++)e=i.indexOf(":"),n=i.substring(0,e),"string"==typeof(o="string"==typeof(o=(o=i.substring(e+1))||void 0)?"true"===o||"false"!==o&&o:o)&&(o=isNaN(o)?o:+o),r[n]=o;return null==n&&null==o?t:r}function n(t,e,i){if(this.$element=c(t),"string"==typeof e&&(e=r(e)),i?"string"==typeof i&&(i=r(i)):i={},"string"==typeof e)e=e.replace(/\.\w*$/,"");else if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&(e[n]=e[n]);this.settings=c.extend({},o,i),this.path=e;try{this.init()}catch(t){if(t.message!==u)throw t}}n.prototype.init=function(){var t,e=this,i=e.path,n=i,o=e.$element,r=e.settings,s=function(t){for(var e,i=(t=""+t).split(/\s+/),n="50%",o="50%",r=0,s=i.length;r<s;r++)"left"===(e=i[r])?n="0%":"right"===e?n="100%":"top"===e?o="0%":"bottom"===e?o="100%":"center"===e?0===r?n="50%":o="50%":0===r?n=e:o=e;return{x:n,y:o}}(r.position),a=r.posterType,l=e.$wrapper=c("<div>").addClass(r.className).css({position:"absolute","z-index":0,top:0,left:0,bottom:0,right:0,overflow:"hidden","-webkit-background-size":"cover","-moz-background-size":"cover","-o-background-size":"cover","background-size":"cover","background-color":r.bgColor,"background-repeat":"no-repeat","background-position":s.x+" "+s.y});"object"==typeof i&&(i.poster?n=i.poster:i.mp4?n=i.mp4:i.webm?n=i.webm:i.ogv&&(n=i.ogv)),"none"!==a&&l.css("background-image","url("+n+")"),"static"===o.css("position")&&o.css("position","relative"),o.prepend(l),t=e.$video=c('<video><source src="'+i.mp4+'" type="video/mp4"></video>');try{t.prop({autoplay:r.autoplay,loop:r.loop,volume:r.volume,preload:"auto",muted:r.muted,defaultMuted:r.muted,playbackRate:r.playbackRate,defaultPlaybackRate:r.playbackRate})}catch(t){throw new Error(u)}t.attr("playsinline",r.playsinline),t.css({margin:"auto",position:"absolute","z-index":0,top:s.y,left:s.x,"-webkit-transform":"translate(-"+s.x+", -"+s.y+")","-ms-transform":"translate(-"+s.x+", -"+s.y+")","-moz-transform":"translate(-"+s.x+", -"+s.y+")",transform:"translate(-"+s.x+", -"+s.y+")",visibility:"hidden",opacity:0}).one("canplaythrough."+d,function(){e.resize()}).one("canplay playing."+d,function(){t.css({visibility:"visible"}).animate({opacity:1})}),o.on("resize."+d,function(){r.resizing&&e.resize()}),l.append(t)},n.prototype.getVideoObject=function(){return this.$video[0]},n.prototype.resize=function(){var t,e,i,n,o;this.$video&&(o=this.$wrapper,e=(n=(t=this.$video)[0]).videoHeight,i=n.videoWidth,(n=o.height())/e<(o=o.width())/i?t.css({width:o+2,height:"auto"}):t.css({width:"auto",height:n+2}))},n.prototype.destroy=function(){delete c[d].lookup[this.index],this.$video&&this.$video.off(d),this.$element.off(d).removeData(d),this.$wrapper.remove()},c[d]={lookup:[]},c.fn[d]=function(t,e){var i;return this.each(function(){(i=c.data(this,d))&&i.destroy(),(i=new n(this,t,e)).index=c[d].lookup.push(i)-1,c.data(this,d,i)}),this},c(document).ready(function(){var t=c(window);t.on("resize."+d,function(){for(var t,e=c[d].lookup.length,i=0;i<e;i++)(t=c[d].lookup[i])&&t.settings.resizing&&t.resize()}),t.on("unload."+d,function(){return!1}),c(document).find("[data-vide-bg]").each(function(t,e){var i=c(e),n=i.data(d+"-options"),e=i.data(d+"-bg");i[d](e,n)})})}),function(t){var e,i,n;"function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),e||(i=window.Cookies,(n=window.Cookies=t()).noConflict=function(){return window.Cookies=i,n})}(function(){function a(){for(var t=0,e={};t<arguments.length;t++){var i,n=arguments[t];for(i in n)e[i]=n[i]}return e}function c(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function t(l){function s(){}function i(t,e,i){if("undefined"!=typeof document){"number"==typeof(i=a({path:"/"},s.defaults,i)).expires&&(i.expires=new Date(+new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var n=JSON.stringify(e);/^[\{\[]/.test(n)&&(e=n)}catch(t){}e=l.write?l.write(e,t):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var o,r="";for(o in i)i[o]&&(r+="; "+o,!0!==i[o]&&(r+="="+i[o].split(";")[0]));return document.cookie=t+"="+e+r}}function e(t,e){if("undefined"!=typeof document){for(var i={},n=document.cookie?document.cookie.split("; "):[],o=0;o<n.length;o++){var r=n[o].split("="),s=r.slice(1).join("=");e||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var a=c(r[0]),s=(l.read||l)(s,a)||c(s);if(e)try{s=JSON.parse(s)}catch(t){}if(i[a]=s,t===a)break}catch(t){}}return t?i[t]:i}}return s.set=i,s.get=function(t){return e(t,!1)},s.getJSON=function(t){return e(t,!0)},s.remove=function(t,e){i(t,"",a(e,{expires:-1}))},s.defaults={},s.withConverter=t,s}(function(){})}),function(t){var e=function(c,L,d){"use strict";var O,R;if(function(){var t,e={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};R=c.lazySizesConfig||c.lazysizesConfig||{};for(t in e)t in R||(R[t]=e[t])}(),!L||!L.getElementsByClassName)return{init:function(){},cfg:R,noSupport:!0};var z=L.documentElement,n=c.HTMLPictureElement,W="addEventListener",N="getAttribute",F=c[W].bind(c),X=c.setTimeout,V=c.requestAnimationFrame||X,a=c.requestIdleCallback,$=/^picture$/i,o=["load","error","lazyincluded","_lazyloaded"],i={},U=Array.prototype.forEach,j=function(t,e){return i[e]||(i[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),i[e].test(t[N]("class")||"")&&i[e]},Y=function(t,e){j(t,e)||t.setAttribute("class",(t[N]("class")||"").trim()+" "+e)},q=function(t,e){var i;(i=j(t,e))&&t.setAttribute("class",(t[N]("class")||"").replace(i," "))},K=function(e,i,t){var n=t?W:"removeEventListener";t&&K(e,i),o.forEach(function(t){e[n](t,i)})},Q=function(t,e,i,n,o){var r=L.createEvent("Event");return i||(i={}),i.instance=O,r.initEvent(e,!n,!o),r.detail=i,t.dispatchEvent(r),r},Z=function(t,e){var i;!n&&(i=c.picturefill||R.pf)?(e&&e.src&&!t[N]("srcset")&&t.setAttribute("srcset",e.src),i({reevaluate:!0,elements:[t]})):e&&e.src&&(t.src=e.src)},J=function(t,e){return(getComputedStyle(t,null)||{})[e]},s=function(t,e,i){for(i=i||t.offsetWidth;i<R.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i},tt=function(){var i,n,e=[],o=[],r=e,s=function(){var t=r;for(r=e.length?o:e,i=!0,n=!1;t.length;)t.shift()();i=!1},t=function(t,e){i&&!e?t.apply(this,arguments):(r.push(t),n||(n=!0,(L.hidden?X:V)(s)))};return t._lsFlush=s,t}(),et=function(i,t){return t?function(){tt(i)}:function(){var t=this,e=arguments;tt(function(){i.apply(t,e)})}},it=function(t){var i,n=0,o=R.throttleDelay,r=R.ricTimeout,e=function(){i=!1,n=d.now(),t()},s=a&&r>49?function(){a(e,{timeout:r}),r!==R.ricTimeout&&(r=R.ricTimeout)}:et(function(){X(e)},!0);return function(t){var e;(t=!0===t)&&(r=33),i||(i=!0,e=o-(d.now()-n),e<0&&(e=0),t||e<9?s():X(s,e))}},nt=function(t){var e,i,n=99,o=function(){e=null,t()},r=function(){var t=d.now()-i;t<n?X(r,n-t):(a||o)(o)};return function(){i=d.now(),e||(e=X(r,n))}},t=function(){var h,f,u,m,t,g,T,v,b,y,S,w,r=/^img$/i,p=/^iframe$/i,_="onscroll"in c&&!/(gle|ing)bot/.test(navigator.userAgent),C=0,A=0,M=0,P=-1,I=function(t){M--,(!t||M<0||!t.target)&&(M=0)},x=function(t){return null==w&&(w="hidden"==J(L.body,"visibility")),w||!("hidden"==J(t.parentNode,"visibility")&&"hidden"==J(t,"visibility"))},E=function(t,e){var i,n=t,o=x(t);for(v-=e,S+=e,b-=e,y+=e;o&&(n=n.offsetParent)&&n!=L.body&&n!=z;)(o=(J(n,"opacity")||1)>0)&&"visible"!=J(n,"overflow")&&(i=n.getBoundingClientRect(),o=y>i.left&&b<i.right&&S>i.top-1&&v<i.bottom+1);return o},e=function(){var t,e,i,n,o,r,s,a,l,c,d,u,p=O.elements;if((m=R.loadMode)&&M<8&&(t=p.length)){for(e=0,P++;e<t;e++)if(p[e]&&!p[e]._lazyRace)if(!_||O.prematureUnveil&&O.prematureUnveil(p[e]))D(p[e]);else if((a=p[e][N]("data-expand"))&&(r=1*a)||(r=A),c||(c=!R.expand||R.expand<1?z.clientHeight>500&&z.clientWidth>500?500:370:R.expand,O._defEx=c,d=c*R.expFactor,u=R.hFac,w=null,A<d&&M<1&&P>2&&m>2&&!L.hidden?(A=d,P=0):A=m>1&&P>1&&M<6?c:C),l!==r&&(g=innerWidth+r*u,T=innerHeight+r,s=-1*r,l=r),i=p[e].getBoundingClientRect(),(S=i.bottom)>=s&&(v=i.top)<=T&&(y=i.right)>=s*u&&(b=i.left)<=g&&(S||y||b||v)&&(R.loadHidden||x(p[e]))&&(f&&M<3&&!a&&(m<3||P<4)||E(p[e],r))){if(D(p[e]),o=!0,M>9)break}else!o&&f&&!n&&M<4&&P<4&&m>2&&(h[0]||R.preloadAfterLoad)&&(h[0]||!a&&(S||y||b||v||"auto"!=p[e][N](R.sizesAttr)))&&(n=h[0]||p[e]);n&&!o&&D(n)}},i=it(e),k=function(t){var e=t.target;if(e._lazyCache)return void delete e._lazyCache;I(t),Y(e,R.loadedClass),q(e,R.loadingClass),K(e,H),Q(e,"lazyloaded")},n=et(k),H=function(t){n({target:t.target})},G=function(e,i){try{e.contentWindow.location.replace(i)}catch(t){e.src=i}},B=function(t){var e,i=t[N](R.srcsetAttr);(e=R.customMedia[t[N]("data-media")||t[N]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},s=et(function(e,t,i,n,o){var r,s,a,l,c,d;(c=Q(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?Y(e,R.autosizesClass):e.setAttribute("sizes",n)),s=e[N](R.srcsetAttr),r=e[N](R.srcAttr),o&&(a=e.parentNode,l=a&&$.test(a.nodeName||"")),d=t.firesLoad||"src"in e&&(s||r||l),c={target:e},Y(e,R.loadingClass),d&&(clearTimeout(u),u=X(I,2500),K(e,H,!0)),l&&U.call(a.getElementsByTagName("source"),B),s?e.setAttribute("srcset",s):r&&!l&&(p.test(e.nodeName)?G(e,r):e.src=r),o&&(s||l)&&Z(e,{src:r})),e._lazyRace&&delete e._lazyRace,q(e,R.lazyClass),tt(function(){var t=e.complete&&e.naturalWidth>1;d&&!t||(t&&Y(e,"ls-is-cached"),k(c),e._lazyCache=!0,X(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&M--},!0)}),D=function(t){if(!t._lazyRace){var e,i=r.test(t.nodeName),n=i&&(t[N](R.sizesAttr)||t[N]("sizes")),o="auto"==n;(!o&&f||!i||!t[N]("src")&&!t.srcset||t.complete||j(t,R.errorClass)||!j(t,R.lazyClass))&&(e=Q(t,"lazyunveilread").detail,o&&ot.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,M++,s(t,e,o,n,i))}},o=nt(function(){R.loadMode=3,i()}),a=function(){3==R.loadMode&&(R.loadMode=2),o()},l=function(){if(!f){if(d.now()-t<999)return void X(l,999);f=!0,R.loadMode=3,i(),F("scroll",a,!0)}};return{_:function(){t=d.now(),O.elements=L.getElementsByClassName(R.lazyClass),h=L.getElementsByClassName(R.lazyClass+" "+R.preloadClass),F("scroll",i,!0),F("resize",i,!0),F("pageshow",function(t){if(t.persisted){var e=L.querySelectorAll("."+R.loadingClass);e.length&&e.forEach&&V(function(){e.forEach(function(t){t.complete&&D(t)})})}}),c.MutationObserver?new MutationObserver(i).observe(z,{childList:!0,subtree:!0,attributes:!0}):(z[W]("DOMNodeInserted",i,!0),z[W]("DOMAttrModified",i,!0),setInterval(i,999)),F("hashchange",i,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){L[W](t,i,!0)}),/d$|^c/.test(L.readyState)?l():(F("load",l),L[W]("DOMContentLoaded",i),X(l,2e4)),O.elements.length?(e(),tt._lsFlush()):i()},checkElems:i,unveil:D,_aLSL:a}}(),ot=function(){var i,r=et(function(t,e,i,n){var o,r,s;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),$.test(e.nodeName||""))for(o=e.getElementsByTagName("source"),r=0,s=o.length;r<s;r++)o[r].setAttribute("sizes",n);i.detail.dataAttr||Z(t,i.detail)}),n=function(t,e,i){var n,o=t.parentNode;o&&(i=s(t,o,i),n=Q(t,"lazybeforesizes",{width:i,dataAttr:!!e}),n.defaultPrevented||(i=n.detail.width)&&i!==t._lazysizesWidth&&r(t,o,n,i))},t=function(){var t,e=i.length;if(e)for(t=0;t<e;t++)n(i[t])},e=nt(t);return{_:function(){i=L.getElementsByClassName(R.autosizesClass),F("resize",e)},checkElems:e,updateElem:n}}(),e=function(){!e.i&&L.getElementsByClassName&&(e.i=!0,ot._(),t._())};return X(function(){R.init&&e()}),O={cfg:R,autoSizer:ot,loader:t,init:e,uP:Z,aC:Y,rC:q,hC:j,fire:Q,gW:s,rAF:tt}}(t,t.document,Date);t.lazySizes=e,"object"==typeof module&&module.exports&&(module.exports=e)}("undefined"!=typeof window?window:{}),function(r){(function(){if("undefined"!=typeof module&&module.exports)return function(t){module.exports=t()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(t){window.MobileDetect=t()};throw new Error("unknown environment")})()(function(){"use strict";function e(t,e){return null!=t&&null!=e&&t.toLowerCase()===e.toLowerCase()}function i(t,e){var i,n,o=t.length;if(!o||!e)return!1;for(i=e.toLowerCase(),n=0;n<o;++n)if(i===t[n].toLowerCase())return!0;return!1}function a(t){for(var e in t)d.call(t,e)&&(t[e]=new RegExp(t[e],"i"))}function o(t,e){this.ua=(t||"").substr(0,500),this._cache={},this.maxPhoneWidth=e||600}var l,c={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-8703F|Tab2A7-10F|TB2-X30L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b(?!\\))",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},d=Object.prototype.hasOwnProperty;return c.FALLBACK_PHONE="UnknownPhone",c.FALLBACK_TABLET="UnknownTablet",c.FALLBACK_MOBILE="UnknownMobile",l="isArray"in Array?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},function(){var t,e,i,n,o,r,s=c.mobileDetectRules;for(t in s.props)if(d.call(s.props,t)){for(e=s.props[t],o=(e=!l(e)?[e]:e).length,n=0;n<o;++n)0<=(r=(i=e[n]).indexOf("[VER]"))&&(i=i.substring(0,r)+"([\\w._\\+]+)"+i.substring(r+5)),e[n]=new RegExp(i,"i");s.props[t]=e}a(s.oss),a(s.phones),a(s.tablets),a(s.uas),a(s.utils),s.oss0={WindowsPhoneOS:s.oss.WindowsPhoneOS,WindowsMobileOS:s.oss.WindowsMobileOS}}(),c.findMatch=function(t,e){for(var i in t)if(d.call(t,i)&&t[i].test(e))return i;return null},c.findMatches=function(t,e){var i,n=[];for(i in t)d.call(t,i)&&t[i].test(e)&&n.push(i);return n},c.getVersionStr=function(t,e){var i,n,o,r,s=c.mobileDetectRules.props;if(d.call(s,t))for(o=(i=s[t]).length,n=0;n<o;++n)if(null!==(r=i[n].exec(e)))return r[1];return null},c.getVersion=function(t,e){e=c.getVersionStr(t,e);return e?c.prepareVersionNo(e):NaN},c.prepareVersionNo=function(t){var e=t.split(/[a-z._ \/\-]/i);return 1===e.length&&(t=e[0]),1<e.length&&(t=e[0]+".",e.shift(),t+=e.join("")),Number(t)},c.isMobileFallback=function(t){return c.detectMobileBrowsers.fullPattern.test(t)||c.detectMobileBrowsers.shortPattern.test(t.substr(0,4))},c.isTabletFallback=function(t){return c.detectMobileBrowsers.tabletPattern.test(t)},c.prepareDetectionCache=function(t,e,i){var n;if(t.mobile===r)return(n=c.findMatch(c.mobileDetectRules.tablets,e))?(t.mobile=t.tablet=n,void(t.phone=null)):(n=c.findMatch(c.mobileDetectRules.phones,e))?(t.mobile=t.phone=n,void(t.tablet=null)):void(c.isMobileFallback(e)?(i=o.isPhoneSized(i))===r?(t.mobile=c.FALLBACK_MOBILE,t.tablet=t.phone=null):i?(t.mobile=t.phone=c.FALLBACK_PHONE,t.tablet=null):(t.mobile=t.tablet=c.FALLBACK_TABLET,t.phone=null):c.isTabletFallback(e)?(t.mobile=t.tablet=c.FALLBACK_TABLET,t.phone=null):t.mobile=t.tablet=t.phone=null)},c.mobileGrade=function(t){var e=null!==t.mobile();return t.os("iOS")&&4.3<=t.version("iPad")||t.os("iOS")&&3.1<=t.version("iPhone")||t.os("iOS")&&3.1<=t.version("iPod")||2.1<t.version("Android")&&t.is("Webkit")||7<=t.version("Windows Phone OS")||t.is("BlackBerry")&&6<=t.version("BlackBerry")||t.match("Playbook.*Tablet")||1.4<=t.version("webOS")&&t.match("Palm|Pre|Pixi")||t.match("hp.*TouchPad")||t.is("Firefox")&&12<=t.version("Firefox")||t.is("Chrome")&&t.is("AndroidOS")&&4<=t.version("Android")||t.is("Skyfire")&&4.1<=t.version("Skyfire")&&t.is("AndroidOS")&&2.3<=t.version("Android")||t.is("Opera")&&11<t.version("Opera Mobi")&&t.is("AndroidOS")||t.is("MeeGoOS")||t.is("Tizen")||t.is("Dolfin")&&2<=t.version("Bada")||(t.is("UC Browser")||t.is("Dolfin"))&&2.3<=t.version("Android")||t.match("Kindle Fire")||t.is("Kindle")&&3<=t.version("Kindle")||t.is("AndroidOS")&&t.is("NookTablet")||11<=t.version("Chrome")&&!e||5<=t.version("Safari")&&!e||4<=t.version("Firefox")&&!e||7<=t.version("MSIE")&&!e||10<=t.version("Opera")&&!e?"A":t.os("iOS")&&t.version("iPad")<4.3||t.os("iOS")&&t.version("iPhone")<3.1||t.os("iOS")&&t.version("iPod")<3.1||t.is("Blackberry")&&5<=t.version("BlackBerry")&&t.version("BlackBerry")<6||5<=t.version("Opera Mini")&&t.version("Opera Mini")<=6.5&&(2.3<=t.version("Android")||t.is("iOS"))||t.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||11<=t.version("Opera Mobi")&&t.is("SymbianOS")?"B":(t.version("BlackBerry")<5||t.match("MSIEMobile|Windows CE.*Mobile")||t.version("Windows Mobile"),"C")},c.detectOS=function(t){return c.findMatch(c.mobileDetectRules.oss0,t)||c.findMatch(c.mobileDetectRules.oss,t)},c.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},o.prototype={constructor:o,mobile:function(){return c.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return c.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return c.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===r&&(this._cache.userAgent=c.findMatch(c.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===r&&(this._cache.userAgents=c.findMatches(c.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===r&&(this._cache.os=c.detectOS(this.ua)),this._cache.os},version:function(t){return c.getVersion(t,this.ua)},versionStr:function(t){return c.getVersionStr(t,this.ua)},is:function(t){return i(this.userAgents(),t)||e(t,this.os())||e(t,this.phone())||e(t,this.tablet())||i(c.findMatches(c.mobileDetectRules.utils,this.ua),t)},match:function(t){return(t=!(t instanceof RegExp)?new RegExp(t,"i"):t).test(this.ua)},isPhoneSized:function(t){return o.isPhoneSized(t||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===r&&(this._cache.grade=c.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?o.isPhoneSized=function(t){return t<0?r:c.getDeviceSmallerSide()<=t}:o.isPhoneSized=function(){},o._impl=c,o.version="1.4.3 2018-09-08",o})}(),function(){var c,n,d,u,t,s,h,I,o,f,l,r,p,i,m,x,a,e,g,T=[].slice;function v(t){var e,i,n,o,r,s,a,l=this;if(this.options=t,this.el=this.options.el,null!=this.el.odometer)return this.el.odometer;for(e in this.el.odometer=this,s=v.options)n=s[e],null==this.options[e]&&(this.options[e]=n);null==(t=this.options).duration&&(t.duration=c),this.MAX_VALUES=this.options.duration/u/d|0,this.resetFormat(),this.value=this.cleanValue(null!=(t=this.options.value)?t:""),this.renderInside(),this.render();try{for(o=0,r=(a=["innerHTML","innerText","textContent"]).length;o<r;o++)i=a[o],null!=this.el[i]&&function(e){Object.defineProperty(l.el,e,{get:function(){var t;return"innerHTML"===e?l.inside.outerHTML:null!=(t=l.inside.innerText)?t:l.inside.textContent},set:function(t){return l.update(t)}})}(i)}catch(t){this.watchForMutations()}}n=/^\(?([^)]*)\)?(?:(.)(d+))?$/,c=2e3,d=2,u=1e3/30,g=document.createElement("div").style,h=null!=g.transition||null!=g.webkitTransition||null!=g.mozTransition||null!=g.oTransition,p=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,o=function(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]},r=function(t,e){return t.className=t.className.replace(new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi")," ")},I=function(t,e){return r(t,e),t.className+=" "+e},m=function(t,e){var i;return null!=document.createEvent?((i=document.createEvent("HTMLEvents")).initEvent(e,!0,!0),t.dispatchEvent(i)):void 0},l=function(){var t;return null!=(t=null!=(t=window.performance)&&"function"==typeof t.now?t.now():void 0)?t:+new Date},i=function(t,e){return(e=null==e?0:e)?(t*=Math.pow(10,e),t+=.5,(t=Math.floor(t))/Math.pow(10,e)):Math.round(t)},x=function(t){return t<0?Math.ceil(t):Math.floor(t)},a=!(f=function(t){return t-i(t)}),(g=function(){var t,e,i,n,o;if(!a&&null!=window.jQuery){for(a=!0,o=[],e=0,i=(n=["html","text"]).length;e<i;e++)t=n[e],o.push(function(){var i=window.jQuery.fn[t];return window.jQuery.fn[t]=function(t){var e;return null==t||null==(null!=(e=this[0])?e.odometer:void 0)?i.apply(this,arguments):this[0].odometer.update(t)}}());return o}})(),setTimeout(g,0),v.prototype.renderInside=function(){return this.inside=document.createElement("div"),this.inside.className="odometer-inside",this.el.innerHTML="",this.el.appendChild(this.inside)},v.prototype.watchForMutations=function(){var e=this;if(null!=t)try{return null==this.observer&&(this.observer=new t(function(){var t=e.el.innerText;return e.renderInside(),e.render(e.value),e.update(t)})),this.watchMutations=!0,this.startWatchingMutations()}catch(t){0}},v.prototype.startWatchingMutations=function(){return this.watchMutations?this.observer.observe(this.el,{childList:!0}):void 0},v.prototype.stopWatchingMutations=function(){var t;return null!=(t=this.observer)?t.disconnect():void 0},v.prototype.cleanValue=function(t){var e;return"string"==typeof t&&(t=(t=(t=t.replace(null!=(e=this.format.radix)?e:".","<radix>")).replace(/[.,]/g,"")).replace("<radix>","."),t=parseFloat(t,10)||0),i(t,this.format.precision)},v.prototype.bindTransitionEnd=function(){var t,e,i,n,o,r,s=this;if(!this.transitionEndBound){for(this.transitionEndBound=!0,e=!1,r=[],i=0,n=(o="transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd".split(" ")).length;i<n;i++)t=o[i],r.push(this.el.addEventListener(t,function(){return e||(e=!0,setTimeout(function(){return s.render(),e=!1,m(s.el,"odometerdone")},0)),!0},!1));return r}},v.prototype.resetFormat=function(){var t,e,i=null!=(e=this.options.format)?e:"(,ddd).dd";if(!(t=n.exec(i=i||"d")))throw new Error("Odometer: Unparsable digit format");return i=(e=t.slice(1,4))[0],t=e[1],e=(null!=(e=e[2])?e.length:void 0)||0,this.format={repeating:i,radix:t,precision:e}},v.prototype.render=function(t){var e,i,n,o,r,s,a,l,c,d,u,p;for(null==t&&(t=this.value),this.stopWatchingMutations(),this.resetFormat(),this.inside.innerHTML="",s=this.options.theme,r=[],l=0,d=(e=this.el.className.split(" ")).length;l<d;l++)(i=e[l]).length&&((o=/^odometer-theme-(.+)$/.exec(i))?s=o[1]:/^odometer(-|$)/.test(i)||r.push(i));for(r.push("odometer"),h||r.push("odometer-no-transitions"),r.push(s?"odometer-theme-"+s:"odometer-auto-theme"),this.el.className=r.join(" "),this.ribbons={},this.digits=[],a=!this.format.precision||!f(t)||!1,c=0,u=(p=t.toString().split("").reverse()).length;c<u;c++)n=p[c],this.addDigit(n,a="."===n?!0:a);return this.startWatchingMutations()},v.prototype.update=function(t){var e,i=this;return(e=(t=this.cleanValue(t))-this.value)?(r(this.el,"odometer-animating-up odometer-animating-down odometer-animating"),I(this.el,0<e?"odometer-animating-up":"odometer-animating-down"),this.stopWatchingMutations(),this.animate(t),this.startWatchingMutations(),setTimeout(function(){return i.el.offsetHeight,I(i.el,"odometer-animating")},0),this.value=t):void 0},v.prototype.renderDigit=function(){return o('<span class="odometer-digit"><span class="odometer-digit-spacer">8</span><span class="odometer-digit-inner"><span class="odometer-ribbon"><span class="odometer-ribbon-inner"><span class="odometer-value"></span></span></span></span></span>')},v.prototype.insertDigit=function(t,e){return null!=e?this.inside.insertBefore(t,e):this.inside.children.length?this.inside.insertBefore(t,this.inside.children[0]):this.inside.appendChild(t)},v.prototype.addSpacer=function(t,e,i){var n=o('<span class="odometer-formatting-mark"></span>');return n.innerHTML=t,i&&I(n,i),this.insertDigit(n,e)},v.prototype.addDigit=function(t,e){var i,n,o;if(null==e&&(e=!0),"-"===t)return this.addSpacer(t,null,"odometer-negation-mark");if("."===t)return this.addSpacer(null!=(o=this.format.radix)?o:".",null,"odometer-radix-mark");if(e)for(n=!1;;){if(!this.format.repeating.length){if(n)throw new Error("Bad odometer format without digits");this.resetFormat(),n=!0}if(i=this.format.repeating[this.format.repeating.length-1],this.format.repeating=this.format.repeating.substring(0,this.format.repeating.length-1),"d"===i)break;this.addSpacer(i)}return(e=this.renderDigit()).querySelector(".odometer-value").innerHTML=t,this.digits.push(e),this.insertDigit(e)},v.prototype.animate=function(t){return h&&"count"!==this.options.animation?this.animateSlide(t):this.animateCount(t)},v.prototype.animateCount=function(e){var i,n,o,r,s,a=this;if(n=+e-this.value)return r=o=l(),i=this.value,(s=function(){var t;return l()-r>a.options.duration?(a.value=e,a.render(),void m(a.el,"odometerdone")):(50<(t=l()-o)&&(o=l(),t=t/a.options.duration,i+=n*t,a.render(Math.round(i))),null!=p?p(s):setTimeout(s,50))})()},v.prototype.getDigitCount=function(){for(var t,e,i,n=1<=arguments.length?T.call(arguments,0):[],o=i=0,r=n.length;i<r;o=++i)e=n[o],n[o]=Math.abs(e);return t=Math.max.apply(Math,n),Math.ceil(Math.log(t+1)/Math.log(10))},v.prototype.getFractionalDigitCount=function(){for(var t,e,i=1<=arguments.length?T.call(arguments,0):[],n=/^\-?\d*\.(\d*?)0*$/,o=e=0,r=i.length;e<r;o=++e)t=i[o],i[o]=t.toString(),t=n.exec(i[o]),i[o]=null==t?0:t[1].length;return Math.max.apply(Math,i)},v.prototype.resetDigits=function(){return this.digits=[],this.ribbons=[],this.inside.innerHTML="",this.resetFormat()},v.prototype.animateSlide=function(t){var e,i,n,o,r,s,a,l,c,d,u,p,h,f,m,g,T,v,b,y,S,w,_,C,A,M=this.value,P=this.getFractionalDigitCount(M,t);if(P&&(t*=Math.pow(10,P),M*=Math.pow(10,P)),n=t-M){for(this.bindTransitionEnd(),o=this.getDigitCount(M,t),r=[],d=T=e=0;0<=o?T<o:o<T;d=0<=o?++T:--T){if(m=x(M/Math.pow(10,o-d-1)),s=(a=x(t/Math.pow(10,o-d-1)))-m,Math.abs(s)>this.MAX_VALUES){for(c=[],u=s/(this.MAX_VALUES+this.MAX_VALUES*e*.5),i=m;0<s&&i<a||s<0&&a<i;)c.push(Math.round(i)),i+=u;c[c.length-1]!==a&&c.push(a),e++}else c=function(){A=[];for(var t=m;m<=a?t<=a:a<=t;m<=a?t++:t--)A.push(t);return A}.apply(this);for(d=v=0,y=c.length;v<y;d=++v)l=c[d],c[d]=Math.abs(l%10);r.push(c)}for(this.resetDigits(),d=b=0,S=(C=r.reverse()).length;b<S;d=++b)for(c=C[d],this.digits[d]||this.addDigit(" ",P<=d),null==(g=this.ribbons)[d]&&(g[d]=this.digits[d].querySelector(".odometer-ribbon-inner")),this.ribbons[d].innerHTML="",w=(c=n<(p=_=0)?c.reverse():c).length;_<w;p=++_)l=c[p],(f=document.createElement("div")).className="odometer-value",f.innerHTML=l,this.ribbons[d].appendChild(f),p===c.length-1&&I(f,"odometer-last-value"),0===p&&I(f,"odometer-first-value");return m<0&&this.addDigit("-"),null!=(h=this.inside.querySelector(".odometer-radix-mark"))&&h.parent.removeChild(h),P?this.addSpacer(this.format.radix,this.digits[P-1],"odometer-radix-mark"):void 0}},(s=v).options=null!=(g=window.odometerOptions)?g:{},setTimeout(function(){var t,e,i,n,o;if(window.odometerOptions){for(t in o=[],n=window.odometerOptions)e=n[t],o.push(null!=(i=s.options)[t]?(i=s.options)[t]:i[t]=e);return o}},0),s.init=function(){var t,e,i,n,o,r;if(null!=document.querySelectorAll){for(r=[],i=0,n=(e=document.querySelectorAll(s.options.selector||".odometer")).length;i<n;i++)t=e[i],r.push(t.odometer=new s({el:t,value:null!=(o=t.innerText)?o:t.textContent}));return r}},null!=(null!=(g=document.documentElement)?g.doScroll:void 0)&&null!=document.createEventObject?(e=document.onreadystatechange,document.onreadystatechange=function(){return"complete"===document.readyState&&!1!==s.options.auto&&s.init(),null!=e?e.apply(this,arguments):void 0}):document.addEventListener("DOMContentLoaded",function(){return!1!==s.options.auto?s.init():void 0},!1),"function"==typeof define&&define.amd?define(["jquery"],function(){return s}):!1===typeof exports?module.exports=s:window.Odometer=s}.call(this),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.PerfectScrollbar=e()}(this,function(){"use strict";function l(t){return getComputedStyle(t)}function c(t,e){for(var i in e){var n=e[i];"number"==typeof n&&(n+="px"),t.style[i]=n}return t}function d(t){var e=document.createElement("div");return e.className=t,e}function a(t,e){if(!n)throw new Error("No element matching method supported");return n.call(t,e)}function r(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function s(t,e){return Array.prototype.filter.call(t.children,function(t){return a(t,e)})}function T(t,e){var i=t.element.classList,t=m.state.scrolling(e);i.contains(t)?clearTimeout(o[e]):i.add(t)}function v(t,e){o[e]=setTimeout(function(){return t.element.classList.remove(m.state.scrolling(e))},t.settings.scrollingThreshold)}function u(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function p(t,e,i,n){var o=i[0],r=i[1],s=i[2],a=i[3],l=i[4],c=i[5],d=t.element,i=!1;t.reach[a]=null,e<=0&&(e=0,t.reach[a]="start"),e>=t[o]-t[r]&&((e=t[o]-t[r])-d[s]<=2&&(i=!0),t.reach[a]="end");r=d[s]-e;r&&(d.dispatchEvent(u("ps-scroll-"+a)),0<r?d.dispatchEvent(u("ps-scroll-"+l)):d.dispatchEvent(u("ps-scroll-"+c)),i||(d[s]=e),t.reach[a]&&d.dispatchEvent(u("ps-"+a+"-reach-"+t.reach[a])),n&&(T(t=t,a=a),v(t,a)))}function h(t){return parseInt(t,10)||0}function f(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),e=t.settings.maxScrollbarLength?Math.min(e,t.settings.maxScrollbarLength):e}function e(e,t){function i(t){b(e,u,f+g*(t[s]-m),!1),T(e,p),y(e),t.stopPropagation(),t.preventDefault()}function n(){v(e,p),e.event.unbind(e.ownerDocument,"mousemove",i)}var o=t[0],r=t[1],s=t[2],a=t[3],l=t[4],c=t[5],d=t[6],u=t[7],p=t[8],h=e.element,f=null,m=null,g=null;e.event.bind(e[l],"mousedown",function(t){f=h[d],m=t[s],g=(e[r]-e[o])/(e[a]-e[c]),e.event.bind(e.ownerDocument,"mousemove",i),e.event.once(e.ownerDocument,"mouseup",n),t.stopPropagation(),t.preventDefault()})}function i(t){this.element=t,this.handlers={}}var n=Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.msMatchesSelector,m={main:"ps",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},o={x:null,y:null},t={isEmpty:{configurable:!0}};i.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},i.prototype.unbind=function(e,i){var n=this;this.handlers[e]=this.handlers[e].filter(function(t){return!(!i||t===i)||(n.element.removeEventListener(e,t,!1),!1)})},i.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},t.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return 0===e.handlers[t].length})},Object.defineProperties(i.prototype,t);function g(){this.eventElements=[]}g.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return t||(t=new i(e),this.eventElements.push(t)),t},g.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},g.prototype.unbind=function(t,e,i){t=this.eventElement(t);t.unbind(e,i),t.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(t),1)},g.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},g.prototype.once=function(t,e,i){var n=this.eventElement(t),o=function(t){n.unbind(e,o),i(t)};n.bind(e,o)};function b(t,e,i,n){var o;if(void 0===n&&(n=!0),"top"===e)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}p(t,i,o,n)}function y(t){var e,i,n,o=t.element;t.containerWidth=o.clientWidth,t.containerHeight=o.clientHeight,t.contentWidth=o.scrollWidth,t.contentHeight=o.scrollHeight,o.contains(t.scrollbarXRail)||(s(o,m.element.rail("x")).forEach(r),o.appendChild(t.scrollbarXRail)),o.contains(t.scrollbarYRail)||(s(o,m.element.rail("y")).forEach(r),o.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=f(t,h(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=h((t.negativeScrollAdjustment+o.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=f(t,h(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=h(o.scrollTop*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),e=o,n={width:(i=t).railXWidth},i.isRtl?n.left=i.negativeScrollAdjustment+e.scrollLeft+i.containerWidth-i.contentWidth:n.left=e.scrollLeft,i.isScrollbarXUsingBottom?n.bottom=i.scrollbarXBottom-e.scrollTop:n.top=i.scrollbarXTop+e.scrollTop,c(i.scrollbarXRail,n),n={top:e.scrollTop,height:i.railYHeight},i.isScrollbarYUsingRight?i.isRtl?n.right=i.contentWidth-(i.negativeScrollAdjustment+e.scrollLeft)-i.scrollbarYRight-i.scrollbarYOuterWidth:n.right=i.scrollbarYRight-e.scrollLeft:i.isRtl?n.left=i.negativeScrollAdjustment+e.scrollLeft+2*i.containerWidth-i.contentWidth-i.scrollbarYLeft-i.scrollbarYOuterWidth:n.left=i.scrollbarYLeft+e.scrollLeft,c(i.scrollbarYRail,n),c(i.scrollbarX,{left:i.scrollbarXLeft,width:i.scrollbarXWidth-i.railBorderXWidth}),c(i.scrollbarY,{top:i.scrollbarYTop,height:i.scrollbarYHeight-i.railBorderYWidth}),t.scrollbarXActive?o.classList.add(m.state.active("x")):(o.classList.remove(m.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,b(t,"left",0)),t.scrollbarYActive?o.classList.add(m.state.active("y")):(o.classList.remove(m.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,b(t,"top",0))}function S(t,e){var i,n=this;if(void 0===e&&(e={}),!(t="string"==typeof t?document.querySelector(t):t)||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(i in(this.element=t).classList.add(m.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipePropagation:!0,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!1,wheelSpeed:1},e)n.settings[i]=e[i];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var o,r=function(){return t.classList.add(m.state.focus)},s=function(){return t.classList.remove(m.state.focus)};this.isRtl="rtl"===l(t).direction,this.isNegativeScroll=(o=t.scrollLeft,t.scrollLeft=-1,a=t.scrollLeft<0,t.scrollLeft=o,a),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new g,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=d(m.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=d(m.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",r),this.event.bind(this.scrollbarX,"blur",s),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var a=l(this.scrollbarXRail);this.scrollbarXBottom=parseInt(a.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=h(a.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=h(a.borderLeftWidth)+h(a.borderRightWidth),c(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=h(a.marginLeft)+h(a.marginRight),c(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=d(m.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=d(m.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",r),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null,r=l(this.scrollbarYRail),this.scrollbarYRight=parseInt(r.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=h(r.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?h((s=l(s=this.scrollbarY)).width)+h(s.paddingLeft)+h(s.paddingRight)+h(s.borderLeftWidth)+h(s.borderRightWidth):null,this.railBorderYWidth=h(r.borderTopWidth)+h(r.borderBottomWidth),c(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=h(r.marginTop)+h(r.marginBottom),c(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.settings.handlers.forEach(function(t){return A[t](n)}),this.event.bind(this.element,"scroll",function(){return y(n)}),y(this)}var w=document&&"WebkitAppearance"in document.documentElement.style,_=window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),C=navigator&&navigator.msMaxTouchPoints,A={"click-rail":function(i){var n=i.element;i.event.bind(i.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),i.event.bind(i.scrollbarYRail,"mousedown",function(t){var e=t.pageY-window.pageYOffset-i.scrollbarYRail.getBoundingClientRect().top>i.scrollbarYTop?1:-1;b(i,"top",n.scrollTop+e*i.containerHeight),y(i),t.stopPropagation()}),i.event.bind(i.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),i.event.bind(i.scrollbarXRail,"mousedown",function(t){var e=t.pageX-window.pageXOffset-i.scrollbarXRail.getBoundingClientRect().left>i.scrollbarXLeft?1:-1;b(i,"left",n.scrollLeft+e*i.containerWidth),y(i),t.stopPropagation()})},"drag-thumb":function(t){e(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","left","x"]),e(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","top","y"])},keyboard:function(r){var s=r.element;r.event.bind(r.ownerDocument,"keydown",function(t){if(!(t.isDefaultPrevented&&t.isDefaultPrevented()||t.defaultPrevented)&&(a(s,":hover")||a(r.scrollbarX,":focus")||a(r.scrollbarY,":focus"))){var e=document.activeElement||r.ownerDocument.activeElement;if(e){if("IFRAME"===e.tagName)e=e.contentDocument.activeElement;else for(;e.shadowRoot;)e=e.shadowRoot.activeElement;if(a(o=e,"input,[contenteditable]")||a(o,"select,[contenteditable]")||a(o,"textarea,[contenteditable]")||a(o,"button,[contenteditable]"))return}var i=0,n=0;switch(t.which){case 37:i=t.metaKey?-r.contentWidth:t.altKey?-r.containerWidth:-30;break;case 38:n=t.metaKey?r.contentHeight:t.altKey?r.containerHeight:30;break;case 39:i=t.metaKey?r.contentWidth:t.altKey?r.containerWidth:30;break;case 40:n=t.metaKey?-r.contentHeight:t.altKey?-r.containerHeight:-30;break;case 32:n=t.shiftKey?r.containerHeight:-r.containerHeight;break;case 33:n=r.containerHeight;break;case 34:n=-r.containerHeight;break;case 36:n=r.contentHeight;break;case 35:n=-r.contentHeight;break;default:return}r.settings.suppressScrollX&&0!==i||r.settings.suppressScrollY&&0!==n||(b(r,"top",s.scrollTop-n),b(r,"left",s.scrollLeft+i),y(r),function(t,e){var i=s.scrollTop;if(0===t){if(!r.scrollbarYActive)return;if(0===i&&0<e||i>=r.contentHeight-r.containerHeight&&e<0)return!r.settings.wheelPropagation}if(i=s.scrollLeft,0===e){if(!r.scrollbarXActive)return;if(0===i&&t<0||i>=r.contentWidth-r.containerWidth&&0<t)return!r.settings.wheelPropagation}return 1}(i,n)&&t.preventDefault())}var o})},wheel:function(o){function t(t){var e,i,n,n=(e=(n=t).deltaX,i=-1*n.deltaY,void 0!==e&&void 0!==i||(e=-1*n.wheelDeltaX/6,i=n.wheelDeltaY/6),n.deltaMode&&1===n.deltaMode&&(e*=10,i*=10),e!=e&&i!=i&&(e=0,i=n.wheelDelta),n.shiftKey?[-i,-e]:[e,i]),e=n[0],i=n[1];!function(t,e,i){if(!w&&r.querySelector("select:focus"))return 1;if(r.contains(t))for(var n=t;n&&n!==r;){if(n.classList.contains(m.element.consuming))return 1;var o=l(n);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){o=n.scrollHeight-n.clientHeight;if(0<o&&!(0===n.scrollTop&&0<i||n.scrollTop===o&&i<0))return 1;o=n.scrollLeft-n.clientWidth;if(0<o&&!(0===n.scrollLeft&&e<0||n.scrollLeft===o&&0<e))return 1}n=n.parentNode}}(t.target,e,i)&&(n=!1,o.settings.useBothWheelAxes?o.scrollbarYActive&&!o.scrollbarXActive?(b(o,"top",i?r.scrollTop-i*o.settings.wheelSpeed:r.scrollTop+e*o.settings.wheelSpeed),n=!0):o.scrollbarXActive&&!o.scrollbarYActive&&(b(o,"left",e?r.scrollLeft+e*o.settings.wheelSpeed:r.scrollLeft-i*o.settings.wheelSpeed),n=!0):(b(o,"top",r.scrollTop-i*o.settings.wheelSpeed),b(o,"left",r.scrollLeft+e*o.settings.wheelSpeed)),y(o),(n=n||function(t,e){var i=r.scrollTop;if(0===t){if(!o.scrollbarYActive)return!1;if(0===i&&0<e||i>=o.contentHeight-o.containerHeight&&e<0)return!o.settings.wheelPropagation}if(i=r.scrollLeft,0===e){if(!o.scrollbarXActive)return!1;if(0===i&&t<0||i>=o.contentWidth-o.containerWidth&&0<t)return!o.settings.wheelPropagation}return!0}(e,i))&&(t.stopPropagation(),t.preventDefault()))}var r=o.element;void 0!==window.onwheel?o.event.bind(r,"wheel",t):void 0!==window.onmousewheel&&o.event.bind(r,"mousewheel",t)},touch:function(s){function r(t,e){b(s,"top",d.scrollTop-e),b(s,"left",d.scrollLeft-t),y(s)}function t(){f=!0}function e(){f=!1}function a(t){return t.targetTouches?t.targetTouches[0]:t}function l(t){return(!t.pointerType||"pen"!==t.pointerType||0!==t.buttons)&&(t.targetTouches&&1===t.targetTouches.length||t.pointerType&&"mouse"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE)}function c(t){var e;l(t)&&(m=!0,e=a(t),u.pageX=e.pageX,u.pageY=e.pageY,p=(new Date).getTime(),null!==o&&clearInterval(o),t.stopPropagation())}function i(t){var e,i,n,o;!m&&s.settings.swipePropagation&&c(t),!f&&m&&l(t)&&(r(o=(i={pageX:(e=a(t)).pageX,pageY:e.pageY}).pageX-u.pageX,n=i.pageY-u.pageY),u=i,0<(i=(e=(new Date).getTime())-p)&&(h.x=o/i,h.y=n/i,p=e),n=(o=function(t,e){var i=d.scrollTop,n=d.scrollLeft,o=Math.abs(t),r=Math.abs(e);if(o<r){if(e<0&&i===s.contentHeight-s.containerHeight||0<e&&0===i)return{stop:!s.settings.swipePropagation,prevent:0===window.scrollY}}else if(r<o&&(t<0&&n===s.contentWidth-s.containerWidth||0<t&&0===n))return{stop:!s.settings.swipePropagation,prevent:!0};return{stop:!0,prevent:!0}}(o,n)).stop,o=o.prevent,n&&t.stopPropagation(),o&&t.preventDefault())}function n(){!f&&m&&(m=!1,s.settings.swipeEasing&&(clearInterval(o),o=setInterval(function(){s.isInitialized||!h.x&&!h.y||Math.abs(h.x)<.01&&Math.abs(h.y)<.01?clearInterval(o):(r(30*h.x,30*h.y),h.x*=.8,h.y*=.8)},10)))}var d,u,p,h,o,f,m;(_||C)&&(d=s.element,u={},p=0,o=null,m=f=!(h={}),_?(s.event.bind(window,"touchstart",t),s.event.bind(window,"touchend",e),s.event.bind(d,"touchstart",c),s.event.bind(d,"touchmove",i),s.event.bind(d,"touchend",n)):C&&(window.PointerEvent?(s.event.bind(window,"pointerdown",t),s.event.bind(window,"pointerup",e),s.event.bind(d,"pointerdown",c),s.event.bind(d,"pointermove",i),s.event.bind(d,"pointerup",n)):window.MSPointerEvent&&(s.event.bind(window,"MSPointerDown",t),s.event.bind(window,"MSPointerUp",e),s.event.bind(d,"MSPointerDown",c),s.event.bind(d,"MSPointerMove",i),s.event.bind(d,"MSPointerUp",n))))}},t={isInitialized:{configurable:!0}};return t.isInitialized.get=function(){return this.element.classList.contains(m.main)},S.prototype.update=function(){this.isInitialized&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,c(this.scrollbarXRail,{display:"block"}),c(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=h(l(this.scrollbarXRail).marginLeft)+h(l(this.scrollbarXRail).marginRight),this.railYMarginHeight=h(l(this.scrollbarYRail).marginTop)+h(l(this.scrollbarYRail).marginBottom),c(this.scrollbarXRail,{display:"none"}),c(this.scrollbarYRail,{display:"none"}),y(this),c(this.scrollbarXRail,{display:""}),c(this.scrollbarYRail,{display:""}))},S.prototype.destroy=function(){this.isInitialized&&(this.event.unbindAll(),r(this.scrollbarX),r(this.scrollbarY),r(this.scrollbarXRail),r(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null)},S.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")},Object.defineProperties(S.prototype,t),S}),function(T,y,S){"use strict";function e(t){if(v=y.documentElement,n=y.body,W(),J=this,ot=(t=t||{}).constants||{},t.easing)for(var e in t.easing)F[e]=t.easing[e];ut=t.edgeStrategy||"set",it={beforerender:t.beforerender,render:t.render,keyframe:t.keyframe},(nt=!1!==t.forceHeight)&&(It=t.scale||1),rt=t.mobileDeceleration||c,at=!1!==t.smoothScrolling,lt=t.smoothScrollingDuration||u,ct={targetTop:J.getScrollTop()},(Lt=(t.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||T.opera)})())?((et=y.getElementById(t.skrollrBody||d))&&Z(),X(),wt(v,[r,l],[s])):wt(v,[r,a],[s]),J.refresh(),ft(T,"resize orientationchange",function(){var t=v.clientWidth,e=v.clientHeight;e===Gt&&t===Ht||(Gt=e,Ht=t,Bt=!0)});var i=N();return function t(){V(),ht=i(t)}(),J}function w(t,e){return e.toUpperCase()}var v,n,_={get:function(){return J},init:function(t){return J||new e(t)},VERSION:"0.6.30"},C=Object.prototype.hasOwnProperty,b=T.Math,o=T.getComputedStyle,A="touchstart",M="touchmove",P="touchcancel",I="touchend",x="skrollable",E=x+"-before",k=x+"-between",H=x+"-after",r="skrollr",s="no-"+r,a=r+"-desktop",l=r+"-mobile",c=.004,d="skrollr-body",u=200,G="___skrollable_id",B=/^(?:input|textarea|button|select)$/i,i=/^\s+|\s+$/g,D=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,p=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,h=/^(@?[a-z\-]+)\[(\w+)\]$/,L=/-([a-z0-9_])/g,f=/[\-+]?[\d]*\.?[\d]+/g,m=/\{\?\}/g,g=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,O=/[a-z\-]+-gradient/g,R="",z="",W=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(o){var e,i=o(n,null);for(e in i)if(R=e.match(t)||+e==e&&i[e].match(t))break;R?"-"===(R=R[0]).slice(0,1)?R={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[z=R]:z="-"+R.toLowerCase()+"-":R=z=""}},N=function(){var t=T.requestAnimationFrame||T[R.toLowerCase()+"RequestAnimationFrame"],i=At();return t=Lt||!t?function(t){var e=At()-i,e=b.max(0,1e3/60-e);return T.setTimeout(function(){i=At(),t()},e)}:t},F={begin:function(){return 0},end:function(){return 1},linear:function(t){return t},quadratic:function(t){return t*t},cubic:function(t){return t*t*t},swing:function(t){return-b.cos(t*b.PI)/2+.5},sqrt:function(t){return b.sqrt(t)},outCubic:function(t){return b.pow(t-1,3)+1},bounce:function(t){var e;if(t<=.5083)e=3;else if(t<=.8489)e=9;else if(t<=.96208)e=27;else{if(!(t<=.99981))return 1;e=91}return 1-b.abs(3*b.cos(t*e*1.028)/e)}};e.prototype.refresh=function(t){var e,i,n=!1;for(t===S?(n=!0,tt=[],Dt=0,t=y.getElementsByTagName("*")):t.length===S&&(t=[t]),e=0,i=t.length;e<i;e++){var o=t[e],r=o,s=[],a=at,l=ut,c=!1;if(n&&G in o&&delete o[G],o.attributes){for(var d,u,p,h=0,f=o.attributes.length;h<f;h++){var m,g,T,v=o.attributes[h];if("data-anchor-target"!==v.name)"data-smooth-scrolling"!==v.name?"data-edge-strategy"!==v.name?"data-emit-events"!==v.name?null!==(T=v.name.match(D))&&(m={props:v.value,element:o,eventType:v.name.replace(L,w)},s.push(m),(g=T[1])&&(m.constant=g.substr(1)),g=T[2],/p$/.test(g)?(m.isPercentage=!0,m.offset=(0|g.slice(0,-1))/100):m.offset=0|g,g=T[3],T=T[4]||g,g&&"start"!==g&&"end"!==g?(m.mode="relative",m.anchors=[g,T]):(m.mode="absolute","end"===g?m.isEnd=!0:m.isPercentage||(m.offset=m.offset*It))):c=!0:l=v.value:a="off"!==v.value;else if(null===(r=y.querySelector(v.value)))throw'Unable to find anchor target "'+v.value+'"'}s.length&&(p=!n&&G in o?(u=o[G],d=tt[u].styleAttr,tt[u].classAttr):(u=o[G]=Dt++,d=o.style.cssText,St(o)),tt[u]={element:o,styleAttr:d,classAttr:p,anchorTarget:r,keyFrames:s,smoothScrolling:a,edgeStrategy:l,emitEvents:c,lastFrameIndex:-1},wt(o,[x],[]))}}for(vt(),e=0,i=t.length;e<i;e++){var b=tt[t[e][G]];b!==S&&($(b),j(b))}return J},e.prototype.relativeToAbsolute=function(t,e,i){var n=v.clientHeight,o=t.getBoundingClientRect(),t=o.top,o=o.bottom-o.top;return"bottom"===e?t-=n:"center"===e&&(t-=n/2),"bottom"===i?t+=o:"center"===i&&(t+=o/2),(t+=J.getScrollTop())+.5|0},e.prototype.animateTo=function(t,e){e=e||{};var i=At(),n=J.getScrollTop(),o=e.duration===S?1e3:e.duration;return(st={startTop:n,topDiff:t-n,targetTop:t,duration:o,startTime:i,endTime:i+o,easing:F[e.easing||"linear"],done:e.done}).topDiff||(st.done&&st.done.call(J,!1),st=S),J},e.prototype.stopAnimateTo=function(){st&&st.done&&st.done.call(J,!0),st=S},e.prototype.isAnimatingTo=function(){return!!st},e.prototype.isMobile=function(){return Lt},e.prototype.setScrollTop=function(t,e){return dt=!0===e,Lt?Ot=b.min(b.max(t,0),Pt):T.scrollTo(0,t),J},e.prototype.getScrollTop=function(){return Lt?Ot:T.pageYOffset||v.scrollTop||n.scrollTop||0},e.prototype.getMaxScrollTop=function(){return Pt},e.prototype.on=function(t,e){return it[t]=e,J},e.prototype.off=function(t){return delete it[t],J},e.prototype.destroy=function(){var t;(t=T.cancelAnimationFrame||T[R.toLowerCase()+"CancelAnimationFrame"],t=Lt||!t?function(t){return T.clearTimeout(t)}:t)(ht),gt(),wt(v,[s],[r,a,l]);for(var e=0,i=tt.length;e<i;e++)Q(tt[e].element);v.style.overflow=n.style.overflow="",v.style.height=n.style.height="",et&&_.setStyle(et,"transform","none"),xt="down",Lt=Bt=!(Et=-(It=1)),Ot=Dt=Gt=Ht=Pt=0,pt=ut=dt=ct=lt=at=st=rt=ot=nt=it=et=J=S};var X=function(){var s,a,l,c,d,u,p,h,f,m,g;ft(v,[A,M,P,I].join(" "),function(t){var e=t.changedTouches[0];for(c=t.target;3===c.nodeType;)c=c.parentNode;switch(d=e.clientY,u=e.clientX,f=t.timeStamp,B.test(c.tagName)||t.preventDefault(),t.type){case A:s&&s.blur(),J.stopAnimateTo(),s=c,a=p=d,l=u,0;break;case M:B.test(c.tagName)&&y.activeElement!==c&&t.preventDefault(),h=d-p,g=f-m,J.setScrollTop(Ot-h,!0),p=d,m=f;break;default:case P:case I:var i=a-d,n=l-u,o=n*n+i*i;if(o<49)return void(B.test(s.tagName)||(s.focus(),(r=y.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,t.view,1,e.screenX,e.screenY,e.clientX,e.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),s.dispatchEvent(r)));s=S;var n=b.max(b.min(n=h/g,3),-3),i=b.abs(n/rt),o=n*i+.5*rt*i*i,r=J.getScrollTop()-o,n=0;Pt<r?(n=(Pt-r)/o,r=Pt):r<0&&(n=-r/o,r=0),J.animateTo(r+.5|0,{easing:"outCubic",duration:i*=1-n})}}),T.scrollTo(0,0),v.style.overflow=n.style.overflow="hidden"},V=function(){Bt&&(Bt=!1,vt());var t,e,i,n=J.getScrollTop(),o=At();st?(o>=st.endTime?(n=st.targetTop,t=st.done,st=S):(i=st.easing((o-st.startTime)/st.duration),n=st.startTop+i*st.topDiff|0),J.setScrollTop(n,!0)):dt||(e=ct.targetTop-n,o<=(ct=e?{startTop:Et,topDiff:n-Et,targetTop:n,startTime:kt,endTime:kt+lt}:ct).endTime&&(i=F.sqrt((o-ct.startTime)/lt),n=ct.startTop+i*ct.topDiff|0)),!dt&&Et===n||(i={curTop:n,lastTop:Et,maxTop:Pt,direction:xt=Et<n?"down":n<Et?"up":xt},(dt=!1)!==(it.beforerender&&it.beforerender.call(J,i))&&(function(t,e){for(var i=0,n=tt.length;i<n;i++){var o,r=tt[i],s=r.element,a=r.smoothScrolling?t:e,l=r.keyFrames,c=l.length,d=l[0],u=l[l.length-1],p=a<d.frame,h=a>u.frame,f=p?d:u,m=r.emitEvents,g=r.lastFrameIndex;if(p||h){if(p&&-1===r.edge||h&&1===r.edge)continue;switch(p?(wt(s,[E],[H,k]),m&&-1<g&&(Tt(s,d.eventType,xt),r.lastFrameIndex=-1)):(wt(s,[H],[E,k]),m&&g<c&&(Tt(s,u.eventType,xt),r.lastFrameIndex=c)),r.edge=p?-1:1,r.edgeStrategy){case"reset":Q(s);continue;case"ease":a=f.frame;break;default:var T=f.props;for(o in T)C.call(T,o)&&(y=K(T[o].value),0===o.indexOf("@")?s.setAttribute(o.substr(1),y):_.setStyle(s,o,y));continue}}else 0!==r.edge&&(wt(s,[x,k],[E,H]),r.edge=0);for(var v=0;v<c-1;v++)if(a>=l[v].frame&&a<=l[v+1].frame){var b,y,S=l[v],w=l[v+1];for(o in S.props)C.call(S.props,o)&&(b=(a-S.frame)/(w.frame-S.frame),b=S.props[o].easing(b),y=q(S.props[o].value,w.props[o].value,b),y=K(y),0===o.indexOf("@")?s.setAttribute(o.substr(1),y):_.setStyle(s,o,y));m&&g!==v&&(Tt(s,("down"===xt?S:w).eventType,xt),r.lastFrameIndex=v);break}}}(n,J.getScrollTop()),Lt&&et&&_.setStyle(et,"transform","translate(0, "+-Ot+"px) "+pt),Et=n,it.render&&it.render.call(J,i)),t&&t.call(J,!1)),kt=o},$=function(t){for(var e=0,i=t.keyFrames.length;e<i;e++){for(var n,o,r,s=t.keyFrames[e],a={};null!==(r=p.exec(s.props));)o=r[1],n=r[2],r=null!==(r=o.match(h))?(o=r[1],r[2]):"linear",n=n.indexOf("!")?U(n):[n.slice(1)],a[o]={value:n,easing:F[r]};s.props=a}},U=function(t){var e=[];return g.lastIndex=0,t=t.replace(g,function(t){return t.replace(f,function(t){return t/255*100+"%"})}),z&&(O.lastIndex=0,t=t.replace(O,function(t){return z+t})),t=t.replace(f,function(t){return e.push(+t),"{?}"}),e.unshift(t),e},j=function(t){for(var e={},i=0,n=t.keyFrames.length;i<n;i++)Y(t.keyFrames[i],e);for(e={},i=t.keyFrames.length-1;0<=i;i--)Y(t.keyFrames[i],e)},Y=function(t,e){for(var i in e)C.call(t.props,i)||(t.props[i]=e[i]);for(i in t.props)e[i]=t.props[i]},q=function(t,e,i){var n=t.length;if(n!==e.length)throw"Can't interpolate between \""+t[0]+'" and "'+e[0]+'"';for(var o=[t[0]],r=1;r<n;r++)o[r]=t[r]+(e[r]-t[r])*i;return o},K=function(t){var e=1;return m.lastIndex=0,t[0].replace(m,function(){return t[e++]})},Q=function(t,e){for(var i,n,o=0,r=(t=[].concat(t)).length;o<r;o++)n=t[o],(i=tt[n[G]])&&(e?(n.style.cssText=i.dirtyStyleAttr,wt(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=St(n),n.style.cssText=i.styleAttr,wt(n,i.classAttr)))},Z=function(){pt="translateZ(0)",_.setStyle(et,"transform",pt);var t=o(et),e=t.getPropertyValue("transform"),t=t.getPropertyValue(z+"transform");e&&"none"!==e||t&&"none"!==t||(pt="")};_.setStyle=function(t,e,i){t=t.style;if("zIndex"===(e=e.replace(L,w).replace("-","")))isNaN(i)?t[e]=i:t[e]=""+(0|i);else if("float"===e)t.styleFloat=t.cssFloat=i;else try{R&&(t[R+e.slice(0,1).toUpperCase()+e.slice(1)]=i),t[e]=i}catch(t){}};var J,tt,et,it,nt,ot,rt,st,at,lt,ct,dt,ut,pt,ht,ft=_.addEvent=function(t,e,i){for(var n,o=function(t){return(t=t||T.event).target||(t.target=t.srcElement),t.preventDefault||(t.preventDefault=function(){t.returnValue=!1,t.defaultPrevented=!0}),i.call(this,t)},r=0,s=(e=e.split(" ")).length;r<s;r++)n=e[r],t.addEventListener?t.addEventListener(n,i,!1):t.attachEvent("on"+n,o),Rt.push({element:t,name:n,listener:i})},mt=_.removeEvent=function(t,e,i){for(var n=0,o=(e=e.split(" ")).length;n<o;n++)t.removeEventListener?t.removeEventListener(e[n],i,!1):t.detachEvent("on"+e[n],i)},gt=function(){for(var t,e=0,i=Rt.length;e<i;e++)t=Rt[e],mt(t.element,t.name,t.listener);Rt=[]},Tt=function(t,e,i){it.keyframe&&it.keyframe.call(J,t,e,i)},vt=function(){var t=J.getScrollTop();Pt=0,nt&&!Lt&&(n.style.height=""),function(){for(var t,e,i,n,o,r,s,a,l,c=v.clientHeight,d=bt(),u=0,p=tt.length;u<p;u++)for(e=(t=tt[u]).element,i=t.anchorTarget,o=0,r=(n=t.keyFrames).length;o<r;o++)a=(s=n[o]).offset,l=d[s.constant]||0,s.frame=a,s.isPercentage&&(s.frame=a*=c),"relative"===s.mode&&(Q(e),s.frame=J.relativeToAbsolute(i,s.anchors[0],s.anchors[1])-a,Q(e,!0)),s.frame+=l,nt&&!s.isEnd&&s.frame>Pt&&(Pt=s.frame);for(Pt=b.max(Pt,yt()),u=0,p=tt.length;u<p;u++){for(o=0,r=(n=(t=tt[u]).keyFrames).length;o<r;o++)l=d[(s=n[o]).constant]||0,s.isEnd&&(s.frame=Pt-s.offset+l);t.keyFrames.sort(Mt)}}(),nt&&!Lt&&(n.style.height=Pt+v.clientHeight+"px"),Lt?J.setScrollTop(b.min(J.getScrollTop(),Pt)):J.setScrollTop(t,!0),dt=!0},bt=function(){var t,e,i=v.clientHeight,n={};for(t in ot)e=ot[t],"function"==typeof e?e=e.call(J):/p$/.test(e)&&(e=e.slice(0,-1)/100*i),n[t]=e;return n},yt=function(){var t=0;return et&&(t=b.max(et.offsetHeight,et.scrollHeight)),b.max(t,n.scrollHeight,n.offsetHeight,v.scrollHeight,v.offsetHeight,v.clientHeight)-v.clientHeight},St=function(t){var e="className";return T.SVGElement&&t instanceof T.SVGElement&&(t=t[e],e="baseVal"),t[e]},wt=function(t,e,i){var n="className";if(T.SVGElement&&t instanceof T.SVGElement&&(t=t[n],n="baseVal"),i!==S){for(var o=t[n],r=0,s=i.length;r<s;r++)o=Ct(o).replace(Ct(i[r])," ");for(var o=_t(o),a=0,l=e.length;a<l;a++)-1===Ct(o).indexOf(Ct(e[a]))&&(o+=" "+e[a]);t[n]=_t(o)}else t[n]=e},_t=function(t){return t.replace(i,"")},Ct=function(t){return" "+t+" "},At=Date.now||function(){return+new Date},Mt=function(t,e){return t.frame-e.frame},Pt=0,It=1,xt="down",Et=-1,kt=At(),Ht=0,Gt=0,Bt=!1,Dt=0,Lt=!1,Ot=0,Rt=[];"function"==typeof define&&define.amd?define([],function(){return _}):"undefined"!=typeof module&&module.exports?module.exports=_:T.skrollr=_}(window,document),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(c){"use strict";var n,r=window.Slick||{};n=0,(r=function(t,e){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(t),appendDots:c(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return c('<button type="button" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},c.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=c(t),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,t=c(t).data("slick")||{},i.options=c.extend({},i.defaults,e,t),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=c.proxy(i.autoPlay,i),i.autoPlayClear=c.proxy(i.autoPlayClear,i),i.autoPlayIterator=c.proxy(i.autoPlayIterator,i),i.changeSlide=c.proxy(i.changeSlide,i),i.clickHandler=c.proxy(i.clickHandler,i),i.selectHandler=c.proxy(i.selectHandler,i),i.setPosition=c.proxy(i.setPosition,i),i.swipeHandler=c.proxy(i.swipeHandler,i),i.dragHandler=c.proxy(i.dragHandler,i),i.keyHandler=c.proxy(i.keyHandler,i),i.instanceUid=n++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},r.prototype.addSlide=r.prototype.slickAdd=function(t,e,i){var n=this;if("boolean"==typeof e)i=e,e=null;else if(e<0||e>=n.slideCount)return!1;n.unload(),"number"==typeof e?0===e&&0===n.$slides.length?c(t).appendTo(n.$slideTrack):i?c(t).insertBefore(n.$slides.eq(e)):c(t).insertAfter(n.$slides.eq(e)):!0===i?c(t).prependTo(n.$slideTrack):c(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(t,e){c(e).attr("data-slick-index",t)}),n.$slidesCache=n.$slides,n.reinit()},r.prototype.animateHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.animate({height:t},this.options.speed))},r.prototype.animateSlide=function(t,e){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(t=-t),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,e):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,e):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),c({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate("+t+"px, 0px)":i[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(i)},complete:function(){e&&e.call()}})):(n.applyTransition(),t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate3d("+t+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(i),e&&setTimeout(function(){n.disableTransition(),e.call()},n.options.speed))},r.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t=t&&null!==t?c(t).not(this.$slider):t},r.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=c(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},r.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,(!1===e.options.fade?e.$slideTrack:e.$slides.eq(t)).css(i)},r.prototype.autoPlay=function(){this.autoPlayClear(),this.slideCount>this.options.slidesToShow&&(this.autoPlayTimer=setInterval(this.autoPlayIterator,this.options.autoplaySpeed))},r.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},r.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},r.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=c(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=c(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},r.prototype.buildDots=function(){var t,e,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),e=c("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)e.append(c("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=e.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},r.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){c(e).attr("data-slick-index",t).data("originalStyling",c(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?c('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),c("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},r.prototype.buildRows=function(){var t,e,i,n=this,o=document.createDocumentFragment(),r=n.$slider.children();if(0<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,e=Math.ceil(r.length/i),t=0;t<e;t++){for(var s=document.createElement("div"),a=0;a<n.options.rows;a++){for(var l=document.createElement("div"),c=0;c<n.options.slidesPerRow;c++){var d=t*i+(a*n.options.slidesPerRow+c);r.get(d)&&l.appendChild(r.get(d))}s.appendChild(l)}o.appendChild(s)}n.$slider.empty().append(o),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},r.prototype.checkResponsive=function(t,e){var i,n,o,r=this,s=!1,a=r.$slider.width(),l=window.innerWidth||c(window).width();if("window"===r.respondTo?o=l:"slider"===r.respondTo?o=a:"min"===r.respondTo&&(o=Math.min(l,a)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(i in n=null,r.breakpoints)r.breakpoints.hasOwnProperty(i)&&(!1===r.originalSettings.mobileFirst?o<r.breakpoints[i]&&(n=r.breakpoints[i]):o>r.breakpoints[i]&&(n=r.breakpoints[i]));null!==n?null!==r.activeBreakpoint&&n===r.activeBreakpoint&&!e||(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=c.extend({},r.originalSettings,r.breakpointSettings[n]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),s=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),s=n),t||!1===s||r.$slider.trigger("breakpoint",[r,s])}},r.prototype.changeSlide=function(t,e){var i,n=this,o=c(t.currentTarget);switch(o.is("a")&&t.preventDefault(),o.is("li")||(o=o.closest("li")),i=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,t.data.message){case"previous":r=0==i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-r,!1,e);break;case"next":r=0==i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+r,!1,e);break;case"index":var r=0===t.data.index?0:t.data.index||o.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(r),!1,e),o.children().trigger("focus");break;default:return}},r.prototype.checkNavigable=function(t){var e=this.getNavigableIndexes(),i=0;if(t>e[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},r.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(c("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",c.proxy(t.interrupt,t,!0)).off("mouseleave.slick",c.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),c(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().off("click.slick",t.selectHandler),c(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),c(window).off("resize.slick.slick-"+t.instanceUid,t.resize),c("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),c(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},r.prototype.cleanUpSlideEvents=function(){this.$list.off("mouseenter.slick",c.proxy(this.interrupt,this,!0)),this.$list.off("mouseleave.slick",c.proxy(this.interrupt,this,!1))},r.prototype.cleanUpRows=function(){var t;0<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},r.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},r.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),c(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){c(this).attr("style",c(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},r.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(t)).css(e)},r.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},r.prototype.fadeSlideOut=function(t){!1===this.cssTransitions?this.$slides.eq(t).animate({opacity:0,zIndex:this.options.zIndex-2},this.options.speed,this.options.easing):(this.applyTransition(t),this.$slides.eq(t).css({opacity:0,zIndex:this.options.zIndex-2}))},r.prototype.filterSlides=r.prototype.slickFilter=function(t){null!==t&&(this.$slidesCache=this.$slides,this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.filter(t).appendTo(this.$slideTrack),this.reinit())},r.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(t){var e=c(this);setTimeout(function(){i.options.pauseOnFocus&&e.is(":focus")&&(i.focussed=!0,i.autoPlay())},0)}).on("blur.slick","*",function(t){c(this),i.options.pauseOnFocus&&(i.focussed=!1,i.autoPlay())})},r.prototype.getCurrent=r.prototype.slickCurrentSlide=function(){return this.currentSlide},r.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++n;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},r.prototype.getLeft=function(t){var e,i,n=this,o=0;return n.slideOffset=0,e=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,i=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?i=-1.5:1===n.options.slidesToShow&&(i=-2)),o=e*n.options.slidesToShow*i),n.slideCount%n.options.slidesToScroll!=0&&t+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(o=t>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(t-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(t-n.slideCount))*e*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*e*-1))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,o=(t+n.options.slidesToShow-n.slideCount)*e),n.slideCount<=n.options.slidesToShow&&(o=n.slideOffset=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?t*n.slideWidth*-1+n.slideOffset:t*e*-1+o,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},r.prototype.getOption=r.prototype.slickGetOption=function(t){return this.options[t]},r.prototype.getNavigableIndexes=function(){for(var t=this,e=0,i=0,n=[],o=!1===t.options.infinite?t.slideCount:(e=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,2*t.slideCount);e<o;)n.push(e),e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return n},r.prototype.getSlick=function(){return this},r.prototype.getSlideCount=function(){var o,r=this,t=!0===r.options.centerMode?Math.floor(r.$list.width()/2):0,s=-1*r.swipeLeft+t;return!0===r.options.swipeToSlide?(r.$slideTrack.find(".slick-slide").each(function(t,e){var i=c(e).outerWidth(),n=e.offsetLeft;if(!0!==r.options.centerMode&&(n+=i/2),s<n+i)return o=e,!1}),Math.abs(c(o).attr("data-slick-index")-r.currentSlide)||1):r.options.slidesToScroll},r.prototype.goTo=r.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},r.prototype.init=function(t){var e=this;c(e.$slider).hasClass("slick-initialized")||(c(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},r.prototype.initADA=function(){var i=this,n=Math.ceil(i.slideCount/i.options.slidesToShow),o=i.getNavigableIndexes().filter(function(t){return 0<=t&&t<i.slideCount});i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==i.$dots&&(i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function(t){var e=o.indexOf(t);c(this).attr({role:"tabpanel",id:"slick-slide"+i.instanceUid+t,tabindex:-1}),-1!==e&&(e="slick-slide-control"+i.instanceUid+e,c("#"+e).length&&c(this).attr({"aria-describedby":e}))}),i.$dots.attr("role","tablist").find("li").each(function(t){var e=o[t];c(this).attr({role:"presentation"}),c(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+i.instanceUid+t,"aria-controls":"slick-slide"+i.instanceUid+e,"aria-label":t+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(i.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var t=i.currentSlide,e=t+i.options.slidesToShow;t<e;t++)i.options.focusOnChange?i.$slides.eq(t).attr({tabindex:"0"}):i.$slides.eq(t).removeAttr("tabindex");i.activateADA()},r.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},r.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(c("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&c("li",t.$dots).on("mouseenter.slick",c.proxy(t.interrupt,t,!0)).on("mouseleave.slick",c.proxy(t.interrupt,t,!1))},r.prototype.initSlideEvents=function(){this.options.pauseOnHover&&(this.$list.on("mouseenter.slick",c.proxy(this.interrupt,this,!0)),this.$list.on("mouseleave.slick",c.proxy(this.interrupt,this,!1)))},r.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),c(document).on(t.visibilityChange,c.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),c(window).on("orientationchange.slick.slick-"+t.instanceUid,c.proxy(t.orientationChange,t)),c(window).on("resize.slick.slick-"+t.instanceUid,c.proxy(t.resize,t)),c("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),c(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),c(t.setPosition)},r.prototype.initUI=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.show(),this.$nextArrow.show()),!0===this.options.dots&&this.slideCount>this.options.slidesToShow&&this.$dots.show()},r.prototype.keyHandler=function(t){t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===this.options.accessibility?this.changeSlide({data:{message:!0===this.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===this.options.accessibility&&this.changeSlide({data:{message:!0===this.options.rtl?"previous":"next"}}))},r.prototype.lazyLoad=function(){function t(t){c("img[data-lazy]",t).each(function(){var t=c(this),e=c(this).attr("data-lazy"),i=c(this).attr("data-srcset"),n=c(this).attr("data-sizes")||r.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){t.animate({opacity:0},100,function(){i&&(t.attr("srcset",i),n&&t.attr("sizes",n)),t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,e])})},o.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,e])},o.src=e})}var e,i,n,r=this;if(!0===r.options.centerMode?n=!0===r.options.infinite?(i=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(i=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),r.options.slidesToShow/2+1+2+r.currentSlide):(i=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(i+r.options.slidesToShow),!0===r.options.fade&&(0<i&&i--,n<=r.slideCount&&n++)),e=r.$slider.find(".slick-slide").slice(i,n),"anticipated"===r.options.lazyLoad)for(var o=i-1,s=n,a=r.$slider.find(".slick-slide"),l=0;l<r.options.slidesToScroll;l++)o<0&&(o=r.slideCount-1),e=(e=e.add(a.eq(o))).add(a.eq(s)),o--,s++;t(e),r.slideCount<=r.options.slidesToShow?t(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?t(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&t(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},r.prototype.loadSlider=function(){this.setPosition(),this.$slideTrack.css({opacity:1}),this.$slider.removeClass("slick-loading"),this.initUI(),"progressive"===this.options.lazyLoad&&this.progressiveLazyLoad()},r.prototype.next=r.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},r.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},r.prototype.pause=r.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},r.prototype.play=r.prototype.slickPlay=function(){this.autoPlay(),this.options.autoplay=!0,this.paused=!1,this.focussed=!1,this.interrupted=!1},r.prototype.postSlide=function(t){var e=this;!e.unslicked&&(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.slideCount>e.options.slidesToShow&&e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&(e.initADA(),e.options.focusOnChange))&&c(e.$slides.get(e.currentSlide)).attr("tabindex",0).focus()},r.prototype.prev=r.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},r.prototype.preventDefault=function(t){t.preventDefault()},r.prototype.progressiveLazyLoad=function(t){t=t||1;var e,i,n,o,r=this,s=c("img[data-lazy]",r.$slider);s.length?(e=s.first(),i=e.attr("data-lazy"),n=e.attr("data-srcset"),o=e.attr("data-sizes")||r.$slider.attr("data-sizes"),(s=document.createElement("img")).onload=function(){n&&(e.attr("srcset",n),o&&e.attr("sizes",o)),e.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===r.options.adaptiveHeight&&r.setPosition(),r.$slider.trigger("lazyLoaded",[r,e,i]),r.progressiveLazyLoad()},s.onerror=function(){t<3?setTimeout(function(){r.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,i]),r.progressiveLazyLoad())},s.src=i):r.$slider.trigger("allImagesLoaded",[r])},r.prototype.refresh=function(t){var e=this,i=e.slideCount-e.options.slidesToShow;!e.options.infinite&&e.currentSlide>i&&(e.currentSlide=i),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),i=e.currentSlide,e.destroy(!0),c.extend(e,e.initials,{currentSlide:i}),e.init(),t||e.changeSlide({data:{message:"index",index:i}},!1)},r.prototype.registerBreakpoints=function(){var t,e,i,n=this,o=n.options.responsive||null;if("array"===c.type(o)&&o.length){for(t in n.respondTo=n.options.respondTo||"window",o)if(i=n.breakpoints.length-1,o.hasOwnProperty(t)){for(e=o[t].breakpoint;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===e&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(e),n.breakpointSettings[e]=o[t].settings}n.breakpoints.sort(function(t,e){return n.options.mobileFirst?t-e:e-t})}},r.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},r.prototype.resize=function(){var t=this;c(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=c(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},r.prototype.removeSlide=r.prototype.slickRemove=function(t,e,i){var n=this;return t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,!(n.slideCount<1||t<0||t>n.slideCount-1)&&(n.unload(),(!0===i?n.$slideTrack.children():n.$slideTrack.children(this.options.slide).eq(t)).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,void n.reinit())},r.prototype.setCSS=function(t){var e,i,n=this,o={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,!1===n.transformsEnabled||(!(o={})===n.cssTransitions?o[n.animType]="translate("+e+", "+i+")":o[n.animType]="translate3d("+e+", "+i+", 0px)"),n.$slideTrack.css(o)},r.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},r.prototype.setFade=function(){var i,n=this;n.$slides.each(function(t,e){i=n.slideWidth*t*-1,!0===n.options.rtl?c(e).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}):c(e).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},r.prototype.setHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.css("height",t))},r.prototype.setOption=r.prototype.slickSetOption=function(){var t,e,i,n,o,r=this,s=!1;if("object"===c.type(arguments[0])?(i=arguments[0],s=arguments[1],o="multiple"):"string"===c.type(arguments[0])&&(i=arguments[0],n=arguments[1],s=arguments[2],"responsive"===arguments[0]&&"array"===c.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)r.options[i]=n;else if("multiple"===o)c.each(i,function(t,e){r.options[t]=e});else if("responsive"===o)for(e in n)if("array"!==c.type(r.options.responsive))r.options.responsive=[n[e]];else{for(t=r.options.responsive.length-1;0<=t;)r.options.responsive[t].breakpoint===n[e].breakpoint&&r.options.responsive.splice(t,1),t--;r.options.responsive.push(n[e])}s&&(r.unload(),r.reinit())},r.prototype.setPosition=function(){this.setDimensions(),this.setHeight(),!1===this.options.fade?this.setCSS(this.getLeft(this.currentSlide)):this.setFade(),this.$slider.trigger("setPosition",[this])},r.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},r.prototype.setSlideClasses=function(t){var e,i,n,o=this,r=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");o.$slides.eq(t).addClass("slick-current"),!0===o.options.centerMode?(i=o.options.slidesToShow%2==0?1:0,n=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&(n<=t&&t<=o.slideCount-1-n?o.$slides.slice(t-n+i,t+n+1).addClass("slick-active").attr("aria-hidden","false"):(e=o.options.slidesToShow+t,r.slice(e-n+1+i,e+n+2).addClass("slick-active").attr("aria-hidden","false")),0===t?r.eq(r.length-1-o.options.slidesToShow).addClass("slick-center"):t===o.slideCount-1&&r.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(t).addClass("slick-center")):0<=t&&t<=o.slideCount-o.options.slidesToShow?o.$slides.slice(t,t+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):r.length<=o.options.slidesToShow?r.addClass("slick-active").attr("aria-hidden","false"):(n=o.slideCount%o.options.slidesToShow,e=!0===o.options.infinite?o.options.slidesToShow+t:t,(o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-t<o.options.slidesToShow?r.slice(e-(o.options.slidesToShow-n),e+n):r.slice(e,e+o.options.slidesToShow)).addClass("slick-active").attr("aria-hidden","false")),"ondemand"!==o.options.lazyLoad&&"anticipated"!==o.options.lazyLoad||o.lazyLoad()},r.prototype.setupInfinite=function(){var t,e,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(e=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,t=n.slideCount;t>n.slideCount-i;--t)c(n.$slides[e=t-1]).clone(!0).attr("id","").attr("data-slick-index",e-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(t=0;t<i+n.slideCount;t+=1)c(n.$slides[e=t]).clone(!0).attr("id","").attr("data-slick-index",e+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){c(this).attr("id","")})}},r.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},r.prototype.selectHandler=function(t){t=c(t.target).is(".slick-slide")?c(t.target):c(t.target).parents(".slick-slide"),t=(t=parseInt(t.attr("data-slick-index")))||0;return this.slideCount<=this.options.slidesToShow?void this.slideHandler(t,!1,!0):void this.slideHandler(t)},r.prototype.slideHandler=function(t,e,i){var n,o,r,s=this;if(e=e||!1,!(!0===s.animating&&!0===s.options.waitForAnimate||!0===s.options.fade&&s.currentSlide===t))return!1===e&&s.asNavFor(t),r=s.getLeft(n=t),e=s.getLeft(s.currentSlide),s.currentLeft=null===s.swipeLeft?e:s.swipeLeft,!1===s.options.infinite&&!1===s.options.centerMode&&(t<0||t>s.getDotCount()*s.options.slidesToScroll)||!1===s.options.infinite&&!0===s.options.centerMode&&(t<0||t>s.slideCount-s.options.slidesToScroll)?void(!1===s.options.fade&&(n=s.currentSlide,!0!==i&&s.slideCount>s.options.slidesToShow?s.animateSlide(e,function(){s.postSlide(n)}):s.postSlide(n))):(s.options.autoplay&&clearInterval(s.autoPlayTimer),o=n<0?s.slideCount%s.options.slidesToScroll!=0?s.slideCount-s.slideCount%s.options.slidesToScroll:s.slideCount+n:n>=s.slideCount?s.slideCount%s.options.slidesToScroll!=0?0:n-s.slideCount:n,s.animating=!0,s.$slider.trigger("beforeChange",[s,s.currentSlide,o]),t=s.currentSlide,s.currentSlide=o,s.setSlideClasses(s.currentSlide),s.options.asNavFor&&((e=(e=s.getNavTarget()).slick("getSlick")).slideCount<=e.options.slidesToShow&&e.setSlideClasses(s.currentSlide)),s.updateDots(),s.updateArrows(),!0===s.options.fade?(!0!==i?(s.fadeSlideOut(t),s.fadeSlide(o,function(){s.postSlide(o)})):s.postSlide(o),void s.animateHeight()):void(!0!==i&&s.slideCount>s.options.slidesToShow?s.animateSlide(r,function(){s.postSlide(o)}):s.postSlide(o)))},r.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},r.prototype.swipeDirection=function(){var t=this.touchObject.startX-this.touchObject.curX,e=this.touchObject.startY-this.touchObject.curY,t=Math.atan2(e,t),t=Math.round(180*t/Math.PI);return(t=t<0?360-Math.abs(t):t)<=45&&0<=t||t<=360&&315<=t?!1===this.options.rtl?"left":"right":135<=t&&t<=225?!1===this.options.rtl?"right":"left":!0===this.options.verticalSwiping?35<=t&&t<=135?"down":"up":"vertical"},r.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1;if(n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},r.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},r.prototype.swipeMove=function(t){var e,i,n=this,o=void 0!==t.originalEvent?t.originalEvent.touches:null;return!(!n.dragging||n.scrolling||o&&1!==o.length)&&(e=n.getLeft(n.currentSlide),n.touchObject.curX=void 0!==o?o[0].pageX:t.clientX,n.touchObject.curY=void 0!==o?o[0].pageY:t.clientY,n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curX-n.touchObject.startX,2))),i=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2))),!n.options.verticalSwiping&&!n.swiping&&4<i?!(n.scrolling=!0):(!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=i),o=n.swipeDirection(),void 0!==t.originalEvent&&4<n.touchObject.swipeLength&&(n.swiping=!0,t.preventDefault()),i=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(i=n.touchObject.curY>n.touchObject.startY?1:-1),t=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===o||n.currentSlide>=n.getDotCount()&&"left"===o)&&(t=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=e+t*i:n.swipeLeft=e+t*(n.$list.height()/n.listWidth)*i,!0===n.options.verticalSwiping&&(n.swipeLeft=e+t*i),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))))},r.prototype.swipeStart=function(t){var e,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?!(i.touchObject={}):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(i.dragging=!0))},r.prototype.unfilterSlides=r.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit())},r.prototype.unload=function(){var t=this;c(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},r.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},r.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2);!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},r.prototype.updateDots=function(){null!==this.$dots&&(this.$dots.find("li").removeClass("slick-active").end(),this.$dots.find("li").eq(Math.floor(this.currentSlide/this.options.slidesToScroll)).addClass("slick-active"))},r.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},c.fn.slick=function(){for(var t,e=arguments[0],i=Array.prototype.slice.call(arguments,1),n=this.length,o=0;o<n;o++)if("object"==typeof e||void 0===e?this[o].slick=new r(this[o],e):t=this[o].slick[e].apply(this[o].slick,i),void 0!==t)return t;return this}}),function(_,C){"use strict";_.fn.thb_3dImg=function(t){var m=_(C),e=_(this),i=document,g=(i.documentElement,i.getElementsByTagName("body")[0]),T=i.getElementsByTagName("html")[0],v=(e.length,new MobileDetect(C.navigator.userAgent)),b="ontouchstart"in m||navigator.msMaxTouchPoints;function y(t,e,i,n,o){var r=i.find(".atvImg-container"),s=g.scrollTop||T.scrollTop,a=g.scrollLeft,l=(e?t.touches[0]:t).pageX,c=(e?t.touches[0]:t).pageY,d=i[0].getBoundingClientRect(),e=i.width(),t=i.height(),u=320/e,p=.52-(l-d.left-a)/e,h=.52-(c-d.top-s)/t,t=c-d.top-s-t/2,e=l-d.left-a-e/2,i=i.parents(".type-portfolio").hasClass("masonry-tall")?.03:.05;TweenMax.to(r,.15,{rotationX:i*u*(t-h)+"deg",rotationY:.03*u*(p-e)+"deg",scale:1.07,force3D:!0});var f=o;_.each(n,function(t,e){TweenMax.set(_(this),{x:p*f*(2.5*t/u),y:h*o*(2.5*t/u)}),f--})}function S(t,e){e.addClass("over")}function w(t,e,i){e.removeClass("over"),TweenMax.to(e,.15,{scale:1,rotationX:"0deg",rotationY:"0deg"}),_.each(i,function(){TweenMax.set(_(this),{clearProps:"transform"})})}e.each(function(){var t=_(this),e=t.find(".atvImg-layer"),i=e.length,n=_("<div />").addClass("atvImg-container"),o=_("<div />").addClass("atvImg-shadow"),r=_("<div />").addClass("atvImg-layers"),s=[];e.each(function(){var t=_(this);t.addClass("atvImg-rendered-layer"),t.appendTo(r),s.push(t)}),n.append(o),n.append(r),t.append(n);var a,l,c,d,u,p,h,f,o=t.width();TweenMax.set(t,{perspective:3*o}),b&&!v.mobile()?(m.preventScroll=!1,p=s,h=i,f=n,(u=t).on("touchstart",function(t){m.preventScroll=!0,S(0,f)}),t.on("touchmove",function(t){m.preventScroll&&t.preventDefault(),C.requestAnimationFrame(function(){y(t,!0,u,p,h)})}),t.on("touchend",function(t){m.preventScroll=!1,w(0,f,p)})):(l=s,c=i,d=n,(a=t).on("mouseenter",function(t){S(0,d)}),t.on("mousemove",function(t){y(t,!1,a,l,c)}),t.on("mouseleave",function(t){w(0,d,l)}))})}}(jQuery,this)
;var themeajax={"themeurl":"https:\/\/www.magforher.com\/wp-content\/themes\/thevoux-wp","url":"https:\/\/www.magforher.com\/wp-admin\/admin-ajax.php","l10n":{"loading":"Loading ...","nomore":"No More Posts","close":"Close","prev":"Prev","next":"Next","adding_to_cart":"Adding to Cart","pinit":"PIN IT"},"svg":{"prev_arrow":"<svg version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" x=\"0px\" y=\"0px\"\r\r\n\t width=\"15.983px\" height=\"11.837px\" viewBox=\"0 0 15.983 11.837\" enable-background=\"new 0 0 15.983 11.837\" xml:space=\"preserve\"><path class=\"thb-arrow-head\" d=\"M1.486,5.924l4.845-4.865c0.24-0.243,0.24-0.634,0-0.876c-0.242-0.243-0.634-0.243-0.874,0L0.18,5.481\r\r\n\t\tc-0.24,0.242-0.24,0.634,0,0.876l5.278,5.299c0.24,0.241,0.632,0.241,0.874,0c0.24-0.241,0.24-0.634,0-0.876L1.486,5.924z\"\/><path class=\"thb-arrow-line\" d=\"M15.982,5.92c0,0.328-0.264,0.593-0.592,0.593H0.592C0.264,6.513,0,6.248,0,5.92c0-0.327,0.264-0.591,0.592-0.591h14.799\r\r\n\t\tC15.719,5.329,15.982,5.593,15.982,5.92z\"\/><\/svg>","next_arrow":"<svg version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" x=\"0px\" y=\"0px\" width=\"15.983px\" height=\"11.837px\" viewBox=\"0 0 15.983 11.837\" enable-background=\"new 0 0 15.983 11.837\" xml:space=\"preserve\"><path class=\"thb-arrow-head\" d=\"M9.651,10.781c-0.24,0.242-0.24,0.635,0,0.876c0.242,0.241,0.634,0.241,0.874,0l5.278-5.299c0.24-0.242,0.24-0.634,0-0.876\r\r\n\t\tl-5.278-5.299c-0.24-0.243-0.632-0.243-0.874,0c-0.24,0.242-0.24,0.634,0,0.876l4.845,4.865L9.651,10.781z\"\/><path class=\"thb-arrow-line\" d=\"M0.591,5.329h14.799c0.328,0,0.592,0.265,0.592,0.591c0,0.328-0.264,0.593-0.592,0.593H0.591C0.264,6.513,0,6.248,0,5.92\r\r\n\t\tC0,5.593,0.264,5.329,0.591,5.329z\"\/><\/svg>","close_arrow":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 64 64\" enable-background=\"new 0 0 64 64\"><g fill=\"none\" stroke=\"#000\" stroke-width=\"2\" stroke-miterlimit=\"10\"><path d=\"m18.947 17.15l26.1 25.903\"\/><path d=\"m19.05 43.15l25.902-26.1\"\/><\/g><\/svg>"},"settings":{"infinite_count":"","current_url":"https:\/\/www.magforher.com\/beymen-x-press\/","newsletter":"off","newsletter_length":"1","newsletter_delay":"0","page_transition":"off","page_transition_style":"thb-fade","page_transition_in_speed":"500","page_transition_out_speed":"250","header_submenu_style":"style1","thb_custom_video_player":"on","viai_publisher_id":"431861828953521"}}
;var skroller;!function(m,h,g){"use strict";var p=m(document),v=m(h),b=m("body"),n=(m(".header:not(.fixed)"),new MobileDetect(h.navigator.userAgent)),f=f||{};h.lazySizesConfig=h.lazySizesConfig||{},h.lazySizesConfig.expand=100,h.lazySizesConfig.loadMode=1,h.lazySizesConfig.loadHidden=!1,gsap.defaults({ease:"Quart.easeOut"}),gsap.config({nullTargetWarn:!1}),f={init:function(){var e,a=this;function t(){for(e in a){var t;!a.hasOwnProperty(e)||void 0!==(t=a[e]).selector&&void 0!==t.init&&0<m(t.selector).length&&t.init()}}"on"!==themeajax.settings.page_transition||b.hasClass("compose-mode")||b.hasClass("elementor-editor-active")?t():m(".thb-page-transition-on").animsition({inClass:themeajax.settings.page_transition_style+"-in",outClass:themeajax.settings.page_transition_style+"-out",inDuration:parseInt(themeajax.settings.page_transition_in_speed,10),outDuration:parseInt(themeajax.settings.page_transition_out_speed,10),loading:!1,touchSupport:!1,linkElement:'.animsition-link, a[href]:not([target="_blank"]):not([target=" _blank"]):not([href^="'+themeajax.settings.current_url+'#"]):not([href^="#"]):not([href*="javascript"]):not([href*=".jpg"]):not([href*=".jpeg"]):not([href*=".gif"]):not([href*=".png"]):not([href*=".mov"]):not([href*=".swf"]):not([href*=".mp4"]):not([href*=".flv"]):not([href*=".avi"]):not([href*=".mp3"]):not([href^="mailto:"]):not([class="no-animation"]):not(.ajax_add_to_cart):not(.tribe-common-cta)'}).on("animsition.inEnd",function(){t()})},newsletterPopup:{selector:".newsletter-popup",init:function(){m(this.selector);"1"!==Cookies.get("newsletter_popup")&&"off"!==themeajax.settings.newsletter&&g.delay(function(){m.magnificPopup.open({type:"inline",items:{src:"#newsletter-popup",type:"inline"},mainClass:"mfp newsletter-popup mfp-zoom-3d",tLoading:themeajax.l10n.lightbox_loading,removalDelay:550,fixedBgPos:!0,fixedContentPos:!0,closeBtnInside:!0,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",callbacks:{close:function(){Cookies.set("newsletter_popup","1",{expires:parseInt(themeajax.settings.newsletter_length,10)})}}})},1e3*parseInt(themeajax.settings.newsletter_delay,10))}},cookieBar:{selector:".thb-cookie-bar",init:function(){var t=m(this.selector),e=m(".button",t);"hide"!==Cookies.get("thb-thevoux-cookiebar")&&gsap.to(t,{duration:.5,opacity:"1",y:"0%"}),e.on("click",function(){return Cookies.set("thb-thevoux-cookiebar","hide",{expires:30}),gsap.to(t,{duration:.5,opacity:"0",y:"100%"}),!1})}},responsiveNav:{selector:"#wrapper",init:function(){var t=m(this.selector),e=m(".mobile-toggle",".header"),a=m(".click-capture","#content-container"),i=m("#mobile-menu"),n=i.find(".thb-mobile-menu>li>a"),o=i.find(".thb-mobile-menu li>span"),r=m(".quick_search"),s=m(".social_header");e.on("click",function(){return t.toggleClass("open-menu"),!1}),a.add(i.find(".close")).on("click",function(){return t.removeClass("open-menu"),n.find(".sub-menu").hide(),!1}),o.on("click",function(){var t=m(this),e=t.prev("a"),a=i.find("a");return t.parents(".sub-menu").length||a.filter(".active").not(e).removeClass("active").parent("li").find(".sub-menu").eq(0).slideUp(),e.hasClass("active")?e.removeClass("active").parent("li:eq(0)").find(".sub-menu").eq(0).slideUp("200"):e.addClass("active").parent("li:eq(0)").find(".sub-menu").eq(0).slideDown("200"),!1}),r.on("click touchend",function(t){var e=m(this);return(t.target.classList.contains("quick_search")||t.target.classList.contains("search_icon"))&&(e.toggleClass("active"),e.hasClass("active")&&setTimeout(function(){e.find(".search-field").get(0).focus()},1e3)),t.target.classList.contains("search-field")&&e.find(".search-field").get(0).focus(),t.stopPropagation(),!1}),s.on("click touchstart","i.social_toggle",function(){return s.toggleClass("active"),!1})}},centeredMenu:{selector:".centered-menu",init:function(){var e=m(this.selector);v.on("resize",function(){var t=e.outerWidth(),t=parseInt(e.offset().left-(v.outerWidth()/2-t/2),10);1024<v.outerWidth()&&0!==t&&e.css({marginLeft:-2*t+"px"})}).trigger("resize")}},fullMenu:{selector:".full-menu",init:function(){var t=m(this.selector),e=t.find(".menu-item-has-children"),n=e.filter(".menu-item-mega-parent");e.each(function(){var t=m(this),e=t.find(">.sub-menu,>.thb_mega_menu_holder"),a=t.find(".thb_mega_menu li"),i=t.find(".category-children>.row");a.first().addClass("active"),t.hoverIntent(function(){TweenLite.to(e,.5,{autoAlpha:1,onStart:function(){e.css("display","block")}})},function(){TweenLite.to(e,.5,{autoAlpha:0,onComplete:function(){e.css("display","none")}})}),a.on("mouseenter",function(){var t=m(this),e=t.index();a.removeClass("active"),t.addClass("active"),TweenLite.set(i,{display:"none"}),TweenLite.set(i.filter(":nth-child("+(e+1)+")"),{display:"flex"})})}),t.each(function(){var t=m(this),e=t.parents(".header"),a=g.debounce(function(){t.find(".thb_mega_menu_holder").css({width:function(){return(e.hasClass("fixed")?v:e).outerWidth()},left:function(){return e.hasClass("style4")||e.hasClass("style5")||e.hasClass("style6")?-1*(e.find(".full-menu-container").offset().left-e.find(".nav_holder").offset().left):e.hasClass("boxed")?0:e.offset().left}})},30),i=g.debounce(function(){var a=m(".thb-borders").length?m(".thb-borders").css("border-top-width"):0;n.find(".thb_mega_menu_holder").each(function(){var t,e=m(this);e.show(),e.offset().left<=0?t=-1*e.offset().left+parseInt(a,10)+5:e.offset().left+e.outerWidth()>m(h).outerWidth()&&(t=-1*Math.round(e.offset().left+e.outerWidth()-m(h).outerWidth()+parseInt(a,10)+5)),e.hide(),e.css({marginLeft:t+"px"})})},30);"style1"===themeajax.settings.header_submenu_style?v.on("resize.resizeMegaMenu",a).trigger("resize.resizeMegaMenu"):v.on("resize.resizeMegaMenu_style2",i).trigger("resize.resizeMegaMenu_style2")})}},fixedHeader:{selector:".header.fixed",init:function(){var t=this,e=m(t.selector),a=b.hasClass("single-post");v.on("scroll.fixed-header",function(){t.scroll(e,a)}).trigger("scroll.fixed-header")},scroll:function(t,e){var a=v.scrollTop(),i="header--slide",n="header--unslide";400<a?(t.hasClass(n)&&t.removeClass(n),t.hasClass(i)||setTimeout(function(){t.addClass(i)},10)):a<400&&0<a?t.hasClass(i)&&(t.removeClass(i),t.addClass(n)):(t.removeClass(i),t.removeClass(n))}},fullHeightContent:{selector:".full-height-content",init:function(){var t=this,e=m(t.selector);t.control(e),v.resize(g.debounce(function(){t.control(e)},50))},control:function(t){var a=m(".header"),e=m("#wpadminbar"),i=e?e.outerHeight():0;t.each(function(){var t=m(this),e=v.height()-a.outerHeight()-i;t.css("min-height",e)})}},pinIt:{selector:".thb-pinit-on",init:function(t){var e=this;m(e.selector).length&&(m("#wrapper").imagesLoaded(function(){e.check(m(".post-detail .post-content-container img:not(.attachment-woocommerce_thumbnail):not(.thb-pinned)"))}),m(".post-detail .post-content-container img:not(.attachment-woocommerce_thumbnail):not(.thb-pinned)").on("lazyloaded",function(){e.check(m(this))}))},check:function(t){t.each(function(){var t,e,a,i,n,o=m(this),r="thb-pinned";o.hasClass(r)||o.hasClass("attachment-woocommerce_thumbnail")||o.hasClass("avatar")||100<o.width()&&100<o.height()&&(e=o.parent(),t=o.parents(".post[data-url]").data("url"),e=e.is("a")?(void 0!==(i=e.attr("href"))&&i.match(/\.(gif|jpeg|jpg|png)/)&&(a=i),e.closest("figure").length||e.wrap('<figure class="thb-pin-it-container"></figure>'),e.parent()):(e.is("figure")||e.closest("figure").length||o.wrap('<figure class="thb-pin-it-container"></figure>'),o.parent()),o.closest("figure").hasClass("thb-pin-it-container")||o.closest("figure").addClass("thb-pin-it-container"),a=a||(o.is("img")?void 0!==o.data("src")?o.data("src"):o.attr("src"):void 0!==e.find("img").data("src")?e.find("img").data("src"):e.find("img").attr("src")),n="",(i=(i=!(i=e).is("figure")?e.closest("figure"):i).find(".wp-caption-text").text()?i.find(".wp-caption-text").text():i.find("img").attr("alt"))&&(n="&amp;description="+encodeURIComponent(i)),["alignnone","aligncenter","alignleft","alignright"].forEach(function(t){e.find("img").hasClass(t)&&(e.find("img").removeClass(t),e.find("img").closest("figure").addClass(t),t=e.find("img").attr("width"),"NaN"!==parseInt(t)&&e.find("img").closest("figure").width(t))}),m('<a class="thb-pin-it" href="https://pinterest.com/pin/create/bookmarklet/?url='+encodeURIComponent(t)+"&amp;media="+encodeURIComponent(a)+n+'&is_video=false" target="_blank"><i class="fa fa-pinterest"></i></a>').appendTo(e).addClass("thb-pin-it-ready").on("click",function(){var t=screen.width/2-320,e=screen.height/2-220-100;return h.open(m(this).attr("href"),"mywin","left="+t+",top="+e+",width=640,height=440,toolbar=0"),!1}),o.addClass(r))})}},carousel:{selector:".slick, .thb-carousel",init:function(t){(t||m(this.selector)).each(function(){var e=m(this),t=e.data("columns"),a=!0===e.data("navigation"),i=!0===e.data("autoplay"),n=e.data("autoplay-speed")?e.data("autoplay-speed"):4e3,o=!0===e.data("pagination"),r=!!e.data("center")&&e.data("center"),s=!1!==e.data("infinite"),l=!!e.data("vertical")&&e.data("vertical"),c=e.data("asnavfor"),d=!0===e.data("adaptive"),u=b.hasClass("rtl"),h=e.hasClass("center-arrows"),p=e.hasClass("bottom-left-nav"),f="",g="";e.hasClass("bottom-right-nav")&&(f='<span class="arrow-text">'+themeajax.l10n.prev+"</span>",g='<span class="arrow-text">'+themeajax.l10n.next+"</span>",e.append('<div class="bottom-right-nav-arrows"></div>')),e.hasClass("slick")||e.addClass("slick");t={dots:o,arrows:a,infinite:s,speed:1e3,centerMode:r,slidesToShow:t,adaptiveHeight:d,slidesToScroll:1,rtl:u,rows:0,autoplay:i,slide:":not(.bottom-right-nav-arrows)",centerPadding:"50px",autoplaySpeed:n,pauseOnHover:!0,vertical:l,verticalSwiping:l,accessibility:!1,focusOnSelect:!1,prevArrow:'<button type="button" class="slick-nav slick-prev">'+themeajax.svg.prev_arrow+f+"</button>",nextArrow:'<button type="button" class="slick-nav slick-next">'+g+themeajax.svg.next_arrow+"</button>",responsive:[{breakpoint:1025,settings:{slidesToShow:t<3?t:3,centerPadding:"30px"}},{breakpoint:641,settings:{slidesToShow:1,centerPadding:"15px"}}]};c&&m(c).is(":visible")&&(t.asNavFor=c),e.hasClass("bottom-right-nav")&&(t.appendArrows=e.find(".bottom-right-nav-arrows")),(e.hasClass("product-images")||e.data("fade")||e.hasClass("bottom-right-nav"))&&(t.fade=!0),e.hasClass("product-images")&&(t.adaptiveHeight=!0),e.hasClass("product-thumbnails")&&(t.focusOnSelect=!0),e.on("init",function(){(h||p)&&v.trigger("resize.position_arrows")}),h&&v.on("resize.position_arrows",function(){var t=e.find(".post-gallery").length?e.find(".post-gallery"):e.find(".thb-placeholder"),t=Math.round(t.outerHeight()/2);e.find(".slick-nav").css({top:t})}),p&&v.on("resize.position_arrows",function(){var t=m("h1,h2",e.find(".slick-current")).offset().left-e.offset().left;0<t&&(m(".slick-prev",e).css("left",function(){return t+"px"}),m(".slick-next",e).css("left",function(){return 55+t+"px"}))}),e.hasClass("featured-style12")&&(t.dotsClass="post-title-bullets",t.customPaging=function(t,e){var a=m(t.$slides[e]),t=a.find(".post-meta").text(),a=a.find("h1").text();return m('<button type="button" class="post" />').html("<span>0"+(e+1)+'</span><div class="thb-post-top"><aside class="post-meta style1">'+t+"</aside></div><h6>"+a+"</h6>")},t.responsive[0].settings.dots=!1,t.responsive[1].settings.dots=!1,e.parents(".full-width-row").length&&e.on("setPosition",function(){var t=e.find(".slick-active .row.max_width"),t=v.width()-(t.offset().left+t.outerWidth())+15;e.find(".post-title-bullets").css("right",t+"px")})),e.find(".wp-post-image").on("lazyloaded",function(){h&&v.trigger("resize.position_arrows"),e.trigger("setPosition")}),e.slick(t)})}},masonry:{selector:".masonry",init:function(){m(this.selector).each(function(){var t,e,a,i,n,o=m(this),r=o.data("security"),s=(o.children(".columns"),m(o.data("loadmore"))),l=o.data("rand"),c="thb_postajax_"+l,d=2,u={duration:.5,y:0,opacity:1,stagger:.1};l&&(t=h[c].columns,e=h[c].style,a=h[c].loop,i=h[c].count),s&&(n=s.text()),o.imagesLoaded(function(){o.on("layoutComplete",function(t,e){var a=g.map(e,"element");v.on("scroll.masonry",g.debounce(function(){(e=m(a).filter(":in-viewport").filter(function(){return void 0===m(this).data("thb-in-viewport")||!1===m(this).data("thb-in-viewport")}))&&(e.data("thb-in-viewport",!0),gsap.to(e.find(".post"),u))},20)).trigger("scroll.masonry")}).isotope({itemSelector:".columns",transitionDuration:0,hiddenStyle:{},visibleStyle:{}}),s&&s.on("click",function(){return s.text(themeajax.l10n.loading).addClass("loading"),m.post(themeajax.url,{action:"thb_ajax",security:r,loop:a,columns:t,style:e,page:d},function(t){d++;var e=m.parseHTML(m.trim(t)),a=e?e.length:0;""===t||"undefined"===t||"No More Posts"===t||"No $args array created"===t?s.text(themeajax.l10n.nomore).removeClass("loading").off("click"):m(e).imagesLoaded(function(){m(e).appendTo(o).hide(),o.isotope("appended",m(e)),m(e).show(),gsap.to(m(e).find(".post"),u),h.skroller&&h.skroller.refresh(),f.shareArticleDetail.init(),(a<i?s.text(themeajax.l10n.nomore):s.text(n)).removeClass("loading")}),m(document.body).trigger("thb_after_masonry_load")}),!1})})})}},plyr:{selector:".flex-video, .wp-video video",init:function(){var t=m(this.selector),e=themeajax.settings.thb_custom_video_player,a=themeajax.settings.viai_publisher_id,i={playsinline:!0,hideControls:!1,clickToPlay:!0,fullscreen:{enabled:!0,fallback:!0,iosNative:!0}};a&&""!==a&&(i.ads={enabled:!0,publisherId:a}),"on"===e&&(n.mobile()||n.tablet()||t.each(function(){new Plyr(m(this),i)}))}},commentToggle:{selector:".comment-button",init:function(){var t=m(this.selector,".expanded-comments-off");t.next(".commentlist_container");t.on("click",function(){return t.hasClass("toggled")?t.removeClass("toggled"):t.addClass("toggled"),!1}),m(this.selector,".expanded-comments-on").on("click",function(){return!1})},open:function(){m(this.selector).addClass("toggled")}},shareArticleDetail:{selector:".share-article, .share-article-loop",init:function(){var t=m(this.selector),e=t.find(".social");e.data("pin-no-hover",!0),e.not(".whatsapp").on("click",function(){var t=screen.width/2-320,e=screen.height/2-220-100;return h.open(m(this).attr("href"),"mywin","left="+t+",top="+e+",width=640,height=440,toolbar=0"),!1}),t.find(".comment").on("click",function(){var t=m(this).parents(".post-detail-row").find("#comments");if(t.length){var e=m("#wpadminbar").outerHeight()||0,e=t.offset().top-100-e;return gsap.to(h,v.height()/500,{duration:v.height()/500,scrollTo:{y:e,autoKill:!1},onComplete:function(){f.commentToggle.open()}}),!1}return h.location=m(this).attr("href"),!1})}},skrollr:{selector:".parallax_bg, .single-post",init:function(){h.skroller=skrollr.init({forceHeight:!1,easing:"outCubic",mobileCheck:function(){return!1},render:function(){void 0!==h.vcParallaxSkroll&&vcParallaxSkroll&&vcParallaxSkroll.refresh()}})}},custom_scroll:{selector:".custom_scroll",init:function(){m(this.selector).each(function(){var t=m(this);new PerfectScrollbar(t[0],{suppressScrollX:!0})})}},magnificImage:{selector:'[rel="mfp"], [rel="magnific"]',init:function(){var t;m(this.selector).each(function(){t=m(this).hasClass("video")?"iframe":"image",m(this).magnificPopup({type:t,fixedContentPos:!1,closeBtnInside:!1,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",mainClass:"mfp-zoom-in",removalDelay:400,image:{verticalFit:!0,titleSrc:function(t){return t.el.attr("title")}},callbacks:{imageLoadComplete:function(){var t=this;g.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")}}})})}},magnificInline:{selector:'[rel="inline"]',init:function(){m(this.selector).each(function(){m(this).data("class")&&m(this).data("class");m(this).magnificPopup({type:"inline",fixedContentPos:!1,closeBtnInside:!1,mainClass:"mfp-zoom-in",removalDelay:400,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",callbacks:{imageLoadComplete:function(){var t=this;g.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")}}})})}},magnificGallery:{selector:'[rel="gallery"], .post-content .gallery',init:function(){m(this.selector).each(function(){m(this).magnificPopup({delegate:"a:not(.thb-pin-it)",type:"image",mainClass:"mfp-zoom-in",removalDelay:400,closeBtnInside:!1,fixedContentPos:!1,overflowY:"scroll",closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",gallery:{enabled:!0,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir% mfp-prevent-close thb-animated-arrow circular">'+themeajax.svg.prev_arrow+"</button>"},image:{verticalFit:!0,titleSrc:function(t){return t.el.attr("alt")}},callbacks:{imageLoadComplete:function(){var t=this;g.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")},open:function(){m.magnificPopup.instance.next=function(){var t=this;t.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){m.magnificPopup.proto.next.call(t)},125)},m.magnificPopup.instance.prev=function(){var t=this;this.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){m.magnificPopup.proto.prev.call(t)},125)}}}})})}},lightboxGallery:{selector:".gallery-link",init:function(){m(this.selector).each(function(){var t=m(this),i=[],e=m(t.attr("href")),a=m(".post-gallery-content",e),n=a.eq(0).find(".thb-gallery-grid");t.data("click-attached")||(t.data("click-attached",!0),a.each(function(t){var e=m(this),a=m(".lightbox-grid",e);0<t&&n.clone().appendTo(e.find(".image")),i.push({src:m(this)}),a.on("click",function(){e.find(".image").toggleClass("gridActive")})}),t.on("click",function(){return m.magnificPopup.open({mainClass:"mfp-zoom-in post-gallery-lightbox",alignTop:!0,closeBtnInside:!0,items:i,removalDelay:400,overflowY:"hidden",gallery:{enabled:!0},closeMarkup:'<button title="%title%" class="mfp-close">'+themeajax.svg.close_arrow+"</button>",callbacks:{imageLoadComplete:function(){var t=this;g.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")},open:function(){var e=m.magnificPopup.instance;m(".lightbox-close").on("click",function(){return e.close(),!1}),m(".thb-gallery-arrow.prev").on("click",function(){return e.prev(),!1}),m(".thb-gallery-arrow.next").on("click",function(){return e.next(),!1}),this.content.find(".thb-grid-image").on("click",function(){var t=m(this).parent().index();return e.goTo(t),!1}),e.next=function(){var t=this;t.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){a.find(".image").removeClass("gridActive"),m.magnificPopup.proto.next.call(t),t.content.find(".thb-grid-image").on("click",function(){var t=m(this).parent().index();return e.goTo(t),!1})},125)},e.prev=function(){var t=this;t.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){a.find(".image").removeClass("gridActive"),m.magnificPopup.proto.prev.call(t),t.content.find(".thb-grid-image").on("click",function(){var t=m(this).parent().index();return e.goTo(t),!1})},125)}},close:function(){a.find(".image").removeClass("gridActive"),m(".thb-gallery-arrow.prev").off("click"),m(".thb-gallery-arrow.next").off("click")}}}),!1}))})}},verticalGalleries:{selector:".thb-gallery-container",init:function(){m(this.selector).each(function(){var e=m(this),n=m(".thb-gallery-item",e),o=n.length;n.each(function(){var t=m(this),e=m(".arrow.to_top",t),a=m(".arrow.to_bottom",t),i=n.index(t);e.on("click",function(){var t;return 0<i&&(t=n.eq(i-1).offset().top-(m("#wpadminbar").outerHeight()||0)-m(".header.fixed").outerHeight()-20,gsap.to(v,{duration:1,scrollTo:{y:t,autoKill:!1}})),!1}),a.on("click",function(){var t;return i<o&&(t=n.eq(i+1).offset().top-(m("#wpadminbar").outerHeight()||0)-m(".header.fixed").outerHeight()-20,gsap.to(v,{duration:1,scrollTo:{y:t,autoKill:!1}})),!1})}),p.keyup(function(t){40===t.keyCode?m(".thb-gallery-item:in-viewport",e).last().find(".arrow.to_bottom").trigger("click"):38===t.keyCode&&m(".thb-gallery-item:in-viewport",e).last().find(".arrow.to_top").trigger("click")})})}},overlay:{selector:".panr",init:function(t){var e=m(this.selector);(t?t.find(this.selector):e).each(function(){var t=m(this);t.find("img").panr({moveTarget:t,scaleDuration:1,sensitivity:10,scaleTo:1.1,panDuration:2})})}},slideType:{selector:".thb-slidetype",control:function(t,e,a){var i,n,o,r,s;void 0!==t.data("thb-in-viewport")&&!a||(t.data("thb-in-viewport",!0),i=t.data("style"),o=gsap.timeline({onComplete:function(){"style1"!==i&&n.revert()}}),s=.25,a=.05,t.find(".thb-slidetype-entry").length&&("style1"===i?(r=t.find(".thb-slidetype-entry .lines"),s=.65,a=.15):"style2"===i?(r=(n=new SplitText(t.find(".thb-slidetype-entry"),{type:"words"})).words,s=.65,a=.15):"style3"===i&&(r=(n=new SplitText(t.find(".thb-slidetype-entry"),{type:"chars"})).chars),o.set(t,{visibility:"visible"}).from(r,{duration:s,y:"200%",delay:e,stagger:a},"+=0")))}},autoType:{selector:".thb-autotype",control:function(t,e,a){var i,n,o,r;void 0!==t.data("thb-in-viewport")&&!a||(t.data("thb-in-viewport",!0),n=(i=t.find(".thb-autotype-entry")).data("strings"),o=i.data("speed")?i.data("speed"):50,r=1===i.data("thb-loop"),a=1===i.data("thb-cursor"),t.find(".thb-autotype-entry").length&&i.typed({strings:n,loop:r,showCursor:a,cursorChar:"|",contentType:"html",typeSpeed:o,backDelay:1e3}))}},fadeType:{selector:".thb-fadetype",control:function(t,e,a){if(void 0===t.data("thb-in-viewport")||a){t.data("thb-in-viewport",!0);var i=new SplitText(m(".thb-fadetype-entry",t),{type:"chars"}),n=gsap.timeline({onComplete:function(){i.revert()}});if(n.set(t,{visibility:"visible"}),t.hasClass("thb-fadetype-style1"))n.from(i.chars,{duration:.25,autoAlpha:0,y:10,rotationX:"-90deg",delay:e,stagger:.05});else if(t.hasClass("thb-fadetype-style2"))for(var o=i.chars.length,r=0;r<o;r++){var s=i.chars[r],l=.5*Math.random();n.from(s,{duration:2,opacity:0,ease:Linear.easeNone},l).from(s,{duration:2,yPercent:-50,ease:Expo.easeOut},l)}}}},thb_3dImg:{selector:".thb_3dimg",init:function(t){var e=m(this.selector);(t?t.find(this.selector):e).thb_3dImg()}},articleScroll:{selector:"#infinite-article",pagetitle:m("#page-title"),org_post_url:h.location.href,org_post_title:document.title,init:function(){var t=this,r=m(t.selector),e=r.data("security"),a=r.data("infinite"),s=r.find(".post-detail:first-child").data("id"),l=s,c=!1,i=(m("#footer").outerHeight()||0)+(m("#subfooter").outerHeight()||0),n=themeajax.settings.infinite_count,d=0,o=g.debounce(function(){t.location_change()},10),u=g.debounce(function(){(!n||d<parseInt(n,10))&&v.scrollTop()>=p.height()-v.height()-i-200&&!1===c&&s===l&&(r.addClass("thb-loading"),m.ajax(themeajax.url,{method:"POST",data:{action:"thb_infinite_ajax",post_id:l,security:e},beforeSend:function(){c=!(s=null)},success:function(t){d++,c=!1;var e,a,i=m.parseHTML(t),n=m(i).find(".adsbygoogle"),o=m(i).find(".twitter-tweet, .twitter-timeline"),t=m(i).find(".instagram-media");r.removeClass("thb-loading"),i?(s=m(i).find(".post-detail").data("id"),l=s,m(i).appendTo(r),f.carousel.init(m(i).find(".slick")),f.plyr.init(),h.skroller&&h.skroller.refresh(),f.verticalGalleries.init(),f.shareArticleDetail.init(),f.lightboxGallery.init(),f.magnificGallery.init(),f.selectionShare.init(),f.animation.init(),f.pinIt.check(m(i).find(".post-content-container img")),void 0!==h.instgrm?h.instgrm.Embeds.process():t.length&&void 0===h.instgrm&&((e=document.createElement("script")).src="//platform.instagram.com/en_US/embeds.js",e.onload=function(){h.instgrm.Embeds.process()},b.append(e)),void 0!==h.twttr?twttr.widgets.load(document.getElementById("infinite-article")):o.length&&void 0===h.twttr&&(h.twttr=(t=document,e="twitter-wjs",o=t.getElementsByTagName("script")[0],a=h.twttr||{},t.getElementById(e)||((t=t.createElement("script")).id=e,t.src="https://platform.twitter.com/widgets.js",o.parentNode.insertBefore(t,o),a._e=[],a.ready=function(t){a._e.push(t)}),a)),void 0!==h.addthis&&addthis.toolbox(),void 0!==h.atnt&&h.atnt(),void 0!==h.googletag&&googletag.pubads().refresh(),void 0!==h.adsbygoogle&&n.length&&n.each(function(){(adsbygoogle=h.adsbygoogle||[]).push({})}),"undefined"!=typeof FB&&FB.init({status:!0,cookie:!0,xfbml:!0}),m(document.body).trigger("thb_after_infinite_load")):s=null}}))},50);"on"===a?(v.scroll(o),v.scroll(u)):v.scroll(function(){t.borderWidth(m(".post-detail-row").offset().top,m(".post-detail-row").outerHeight(!0))})},location_change:function(){var t,e,a,i=this,r=(m(i.selector),v.scrollTop()),s=r+v.height(),l=[];m(".post-detail-row").each(function(){var t=m(this),e=t.find(".post-detail"),a=e.data("id"),i=t.offset().top,n=t.outerHeight(!0),t=e.data("url"),e=e.find(".post-title h1").text(),o=i+n;(i<r&&s<o||r<i&&i<s||r<o&&o<s)&&l.push({id:a,top:i,bottom:o,post_url:t,post_title:e,alength:n})}),0===l.length?(e=i.org_post_url,a=i.org_post_title):1===l.length?(e=(t=l.pop()).post_url,a=t.post_title,i.borderWidth(t.top,t.alength)):(e=l[0].post_url,a=l[0].post_title,i.borderWidth(l[0].top,l[0].alength)),i.updateURL(e,a)},updateURL:function(t,e){h.location.href!==t&&(""!==t&&(history.replaceState(null,null,t),document.title=e,this.pagetitle.html(e)),this.updateGA(t,e))},updateGA:function(t,e){var a;"undefined"!=typeof _gaq?_gaq.push(["_trackPageview",t]):"undefined"!=typeof ga&&(a=/.+?\:\/\/.+?(\/.+?)(?:#|\?|$)/.exec(t)[1],ga("send","pageview",a)),"undefined"!=typeof gtag&&(e={page_title:e,page_location:location.href,page_path:location.pathname},gtag("event","page_view",e)),void 0!==h.reinvigorate&&void 0!==h.reinvigorate.ajax_track&&reinvigorate.ajax_track(t),"undefined"!=typeof googletag&&googletag.pubads().refresh()},borderWidth:function(t,e){e=(v.scrollTop()-t+(m(".header.fixed").outerHeight()+(m("#wpadminbar").outerHeight()||0)))/e;m(".progress",".header").css({width:100*e+"%"})}},videoPlaylist:{selector:".video_playlist",init:function(){m(this.selector).each(function(){var i=m(this),n=i.data("security"),o=i.find(".video-side");i.find(".video_play").on("click",function(){var t=m(this),e=t.data("video-url"),a=t.data("post-id");return t.hasClass("video-active")||(i.find(".video_play").removeClass("video-active"),i.find('.video_play[data-video-url="'+e+'"]').addClass("video-active"),o.addClass("thb-loading"),m.post(themeajax.url,{action:"thb-parse-embed",security:n,post_ID:a},function(t){t.success&&(o.html(t.data.body),h.FB&&FB.XFBML.parse(),f.plyr.init()),o.removeClass("thb-loading")})),!1})})}},postGridAjaxify:{selector:".ajaxify-pagination",init:function(){var n=m(this.selector);n.data("initialized",!0);var o=h.History,r=h.document;if(!o.enabled)return!1;var s=o.getRootUrl();m.fn.ajaxify=g.debounce(function(){var t=m(this);return t.find(".page-numbers").on("click",function(t){var e=m(this),a=e.attr("href"),e=e.attr("title")||null;return!(2!==t.which&&!t.metaKey)||(o.pushState(null,e,a),t.preventDefault(),!1)}),t},50),n.ajaxify(),m(h).bind("statechange",function(){var e=o.getState().url,a=e.replace(s,""),t=m("#wpadminbar"),i=t?t.outerHeight():0,t=m(".header.fixed").length?m(".header.fixed").outerHeight():0;n.addClass("thb-loading"),jQuery("html, body").animate({scrollTop:n.offset().top-i-t-30},800),m.post(e,function(t){t=m.parseHTML(t),t=m(t).find(".ajaxify-pagination");if(!t)return r.location.href=e,!1;n.stop(!0,!0),n.html(t).ajaxify().animate({opacity:1},500,"linear",function(){n.removeClass("thb-loading"),f.shareArticleDetail.init(),m(r.body).trigger("thb_after_pagination_load")}),void 0!==h.pageTracker&&h.pageTracker._trackPageview(a),void 0!==h.reinvigorate&&void 0!==h.reinvigorate.ajax_track&&reinvigorate.ajax_track(e)})})}},paginationStyle2:{selector:".pagination-style2",init:function(){var d=m(this.selector);d.each(function(){var t=m(this),e=t.data("security"),i=2,n=m(t.data("loadmore")),t=t.data("rand"),o=n.text(),t="thb_postajax_"+t,a=h[t].loop,r=h[t].style,s=h[t].columns,l=h[t].count,c=h[t].featured_index;0<n.length&&n.on("click",function(){return n.text(themeajax.l10n.loading),m.post(themeajax.url,{action:"thb_posts",security:e,count:l,loop:a,page:i,columns:s,style:r,thb_i:d.find(".post").length,featured_index:c},function(t){i++;var e=m.parseHTML(m.trim(t)),a=e?e.length:0;""===t||"undefined"===t||"No More Posts"===t||"No $args array created"===t?(t="",n.text(themeajax.l10n.nomore).removeClass("loading").off("click")):((e=m(e).filter(function(){return 1===this.nodeType})).insertBefore(n.parents(".masonry_loader")).hide(),gsap.fromTo(e,{display:"none",autoAlpha:0,y:20},{duration:.25,display:"block",y:0,autoAlpha:1,stagger:.15}),(a<l?n.text(themeajax.l10n.nomore):n.text(o)).removeClass("loading"))}),!1})})}},paginationStyle3:{selector:".pagination-style3",init:function(){var u=m(this.selector);u.each(function(){var i=m(this),t=i.data("security"),n=!1,o=2,e="thb_postajax_"+i.data("rand"),a=h[e].loop,r=h[e].style,s=h[e].columns,l=h[e].count,c=h[e].featured_index,d=g.debounce(function(){!1===n&&v.scrollTop()+v.height()+150>=i.offset().top+i.outerHeight()&&m.ajax(themeajax.url,{method:"POST",data:{action:"thb_posts",security:t,count:l,loop:a,page:o,columns:s,style:r,thb_i:u.find(".post").length,featured_index:c},beforeSend:function(){i.addClass("thb-loading"),n=!0},success:function(t){n=!1,o++;var e=m.parseHTML(m.trim(t)),a=e?e.length:0;i.removeClass("thb-loading"),""===t||"undefined"===t||"No More Posts"===t||"No $args array created"===t?v.off("scroll",d):(m(e).appendTo(i).hide(),gsap.fromTo(m(e),{duration:.25,display:"none",opacity:0,y:20,stagger:.15},{display:"block",y:0,opacity:1,onComplete:function(){l<=a&&v.on("scroll",d)}}))}})},30);v.on("scroll",d)})}},selectionShare:{selector:".thb-selectionSharer",init:function(){m(this.selector);m(".post-content *").thbSelectionSharer()}},retinaJS:{selector:"img.retina_size",init:function(){m(this.selector).each(function(){m(this).attr("width",function(){return m(this).attr("width")/2}).addClass("retina_active")})}},writeFirst:{selector:".write_first",init:function(){m(this.selector).on("click",function(){var t=m(".woocommerce-tabs").offset().top-(m("#wpadminbar").outerHeight()||0)-m(".header.fixed").outerHeight();return m(".reviews_tab a").trigger("click"),gsap.to(h,{duration:v.height()/500,scrollTo:{y:t,autoKill:!1}}),!1})}},contact:{selector:".contact_map:not(.disabled)",init:function(){var f=this;m(f.selector).each(function(){var d,t=m(this),e=t.data("map-zoom"),a=t.data("map-style"),i=t.data("map-type"),n=t.data("pan-control"),o=t.data("zoom-control"),r=t.data("maptype-control"),s=t.data("scale-control"),l=t.data("streetview-control"),u=t.find(".thb-location"),h=new google.maps.LatLngBounds,i={center:{lat:-34.397,lng:150.644},styles:a,zoom:e,draggable:!("ontouchend"in document),scrollwheel:!1,panControl:n,zoomControl:o,mapTypeControl:r,scaleControl:s,streetViewControl:l,mapTypeId:i,gestureHandling:"cooperative"},p=new google.maps.Map(t[0],i);p.addListener("tilesloaded",function(){d||(u.each(function(t){var e=m(this).data("option"),a=e.latitude,i=e.longitude,n=new google.maps.LatLng(a,i),o=e.marker_image,r=e.marker_size,s=e.retina_marker,l=e.marker_title,c=e.marker_description,e=new Image;h.extend(n),e.src=o,m(e).on("load",function(){f.setMarkers(t,u.length,p,a,i,o,r,l,c,s)}),d=!0}),0<e?(p.setCenter(h.getCenter()),p.setZoom(e)):(p.setCenter(h.getCenter()),p.fitBounds(h)))}),v.on("resize",g.debounce(function(){p.setCenter(h.getCenter())},50))})},setMarkers:function(t,e,n,o,r,s,l,c,d,u){setTimeout(function(t){var e=(e=s.toLowerCase().split("."))[e.length-1];(m.inArray(e,["svg"])||u)&&(s=new google.maps.MarkerImage(s,null,null,null,new google.maps.Size(l[0]/2,l[1]/2)));var a=new google.maps.Marker({position:new google.maps.LatLng(o,r),map:n,animation:google.maps.Animation.DROP,icon:s,optimized:!1}),i=new google.maps.InfoWindow({content:"<h3>"+c+"</h3><div>"+d+"</div>"});a.addListener("click",function(){i.open(n,a)})},250*t,t)}},animation:{selector:".animation, .thb-counter, .thb-progressbar, .thb-fadetype, .thb-slidetype, .thb-autotype",init:function(){var t=this,e=m(t.selector);v.on("scroll.thb-animation",function(){t.control(e,!0)}).trigger("scroll.thb-animation")},container:function(t){t=m(this.selector,t);this.control(t,!1)},control:function(t,e){var a=0,i=.15,n=.5;(e?t.filter(":in-viewport"):t).each(function(){var t=m(this),e={autoAlpha:1,x:0,y:0,z:0,rotationZ:"0deg",rotationX:"0deg",rotationY:"0deg",delay:a*i};i=t.hasClass("thb-client")||t.hasClass("thb-counter")||t.hasClass("thb-iconlist-li")?(n=.2,.05):t.hasClass("thb-team-member")?(n=.4,.1):(n=.5,.15),!0!==t.data("thb-animated")&&(t.data("thb-animated",!0),t.hasClass("thb-counter")?f.counter.control(t,a*i):t.hasClass("thb-autotype")?f.autoType.control(t,a*i):t.hasClass("thb-fadetype")?f.fadeType.control(t,a*i):t.hasClass("thb-slidetype")?f.slideType.control(t,a*i):t.hasClass("thb-progressbar")?f.progressBar.control(t,a*i):(t.hasClass("scale")&&(e.scale=1),e.duration=n,gsap.to(t,e)),a++)})}},hotSpotClick:{selector:".thb-hotspot-container.click",init:function(){m(this.selector).each(function(){var t=m(this);m(".thb-hotspot-content",t).on("click",function(t){return m(this).parent(".thb-hotspot").toggleClass("active"),!1})})}},counter:{selector:".thb-counter",control:function(t,e){var a,i,n,o,r;void 0===t.data("thb-in-viewport")&&(t.data("thb-in-viewport",!0),i=(o=(a=t).find(".counter").eq(0))[0],n=o.data("count"),t=o.data("speed"),o=a.data("separator"),t={el:i,value:0,duration:t,theme:"minimal"},a.hasClass("single-decimal")?t.format="(,ddd).d":o&&""!==o||(t.format=""),r=new Odometer(t),gsap.set(a,{visibility:"visible"}),setTimeout(function(){r.update(n)},e))}},progressBar:{selector:".thb-progressbar",control:function(t,e,a){var i;void 0!==t.data("thb-in-viewport")&&!a||(a=(i=t.find(".thb-progress")).data("progress"),gsap.timeline().to(t,{duration:.6,autoAlpha:1,delay:e}).to(i.find("span"),{duration:1,scaleX:a/100}))}},newsletter:{selector:".newsletter-form:not(.thb-active)",init:function(){m(this.selector).each(function(){var a=m(this),t={action:"thb_subscribe_emails",privacy:!1,security:a.data("security")};a.addClass("thb-active"),a.on("submit",function(){return a.next(".thb-custom-checkbox").length&&(t.privacy=!0,t.checked=a.next(".thb-custom-checkbox").find(".thb-newsletter-privacy").is(":checked")),t.email=a.find(".widget_subscribe").val(),m.ajax(themeajax.url,{method:"POST",data:t,beforeSend:function(){a.addClass("thb-loading")},success:function(t){var e=m.parseHTML(m.trim(t));a.removeClass("thb-loading"),m(e).appendTo(b),g.delay(function(){m(e).remove()},8e3)}}),!1})})}},widget_nav_menu:{selector:".widget_nav_menu, .widget_pages",init:function(){m(this.selector).find(".menu-item-has-children, .page_item_has_children").each(function(){var t=m(this),e=m(">a",t);e.append('<div class="thb-arrow"><i class="fa fa-angle-down"></i></div>'),m(".thb-arrow",t).on("click",function(t){var e=m(this).parents("a"),a=e.next(".sub-menu, .children");e.hasClass("active")?(e.removeClass("active"),a.slideUp("200")):(e.addClass("active"),a.slideDown("200")),t.stopPropagation(),t.preventDefault()}),"#"===e.attr("href")&&e.on("click",function(t){var e=m(this),a=e.next(".sub-menu");e.hasClass("active")?(e.removeClass("active"),a.slideUp("200")):(e.addClass("active"),a.slideDown("200")),t.preventDefault()})})}},toTop:{selector:"#scroll_totop",init:function(){var t=this;m(t.selector).on("click",function(){return gsap.to(h,{duration:1,scrollTo:{y:0,autoKill:!1}}),!1}),v.scroll(g.debounce(function(){t.control()},50))},control:function(){var t=m(this.selector);300<v.scrollTop()?gsap.to(t,{duration:.2,autoAlpha:1}):TweenMax.to(t,{duration:.2,autoAlpha:0})}},quantity:{selector:".quantity:not(.hidden)",init:function(){var t=this;m(t.selector);t.initialize(),b.on("updated_cart_totals",function(){t.initialize()})},initialize:function(){m("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />').end().find('input[type="number"]').attr("type","text"),m(".plus, .minus").on("click",function(){var t=m(this).closest(".quantity").find(".qty"),e=parseFloat(t.val()),a=parseFloat(t.attr("max")),i=parseFloat(t.attr("min")),n=t.attr("step");return e&&""!==e&&"NaN"!==e||(e=0),""!==a&&"NaN"!==a||(a=""),""!==i&&"NaN"!==i||(i=0),"any"!==n&&""!==n&&void 0!==n&&"NaN"!==parseFloat(n)||(n=1),m(this).is(".plus")?a&&(a===e||a<e)?t.val(a):t.val(e+parseFloat(n)):i&&(i===e||e<i)?t.val(i):0<e&&t.val(e-parseFloat(n)),t.trigger("change"),!1})}},updateCart:{selector:".quick_cart",init:function(){m(this.selector);b.bind("added_to_cart",f.updateCart.update_cart_dropdown)},update_cart_dropdown:function(t){b.hasClass("woocommerce-cart")?location.reload():m(".quick_cart").trigger("click")}},shop:{selector:".products .product",init:function(){m(this.selector).each(function(){m(this).find(".add_to_cart_button").on("click",function(){""!==m(this).data("added-text")&&m(this).text(m(this).data("added-text"))})})}},productAjaxAddtoCart:{selector:".thb-single-product-ajax-on.single-product .product-type-variable form.cart, .thb-single-product-ajax-on.single-product .product-type-simple form.cart",init:function(){var t=m(this.selector),a=m(".single_add_to_cart_button",t);p.on("submit","body.single-product form.cart",function(t){t.preventDefault();var t=m(this),e=a.text();a.is(".disabled")||a.is(".wc-variation-selection-needed")||(t={product_id:t.find("[name*='add-to-cart']").val(),product_variation_data:t.serialize()},m.ajax({method:"POST",data:t.product_variation_data,dataType:"html",url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","add-to-cart="+t.product_id+"&thb-ajax-add-to-cart=1"),cache:!1,headers:{"cache-control":"no-cache"},beforeSend:function(){b.trigger("adding_to_cart"),a.addClass("disabled").text(themeajax.l10n.adding_to_cart)},success:function(t){t=m.parseHTML(t),t={".float_count":m(t).find(".float_count").html(),".thb_prod_ajax_to_cart_notices":m(t).find(".thb_prod_ajax_to_cart_notices").html(),".widget_shopping_cart_content":m(t).find(".widget_shopping_cart_content").html()};m.each(t,function(t,e){m(t).html(e)}),b.trigger("wc_fragments_refreshed"),a.removeClass("disabled").text(e)},error:function(t){b.trigger("wc_fragments_ajax_error"),a.removeClass("disabled").text(e)}}))})}},variations:{selector:"form.variations_form",init:function(){var t=m(this.selector),a=m("#product-images"),e=m("#product-thumbnails"),i=m(".first",a),n=m("img",i),o=m("a",i),r=o.attr("href"),s=n.attr("src"),l=m(".first img",e),c=l.attr("src"),d=m("p.price",".product-information").eq(0),u=d.html();t.on("show_variation",function(t,e){e.price_html&&d.html(e.price_html),a.length&&e.hasOwnProperty("image")&&e.image.src&&(n.attr("src",e.image.src).attr("srcset",""),l.attr("src",e.image.thumb_src).attr("srcset",""),o.attr("href",e.image.full_src),a.hasClass("slick-initialized")&&a.slick("slickGoTo",0),"undefined"!=typeof wc_single_product_params&&"1"===wc_single_product_params.zoom_enabled&&n.attr("data-src",e.image.full_src))}).on("reset_image",function(){d.html(u),a.length&&(n.attr("src",s).attr("srcset",""),l.attr("src",c).attr("srcset",""),o.attr("href",r),"undefined"!=typeof wc_single_product_params&&"1"===wc_single_product_params.zoom_enabled&&n.attr("data-src",s))}),t.find(".single_variation").is(":visible")&&t.find(".single_variation .woocommerce-variation-price").html()&&d.html(t.find(".single_variation .woocommerce-variation-price").html())}},loginForm:{selector:".thb-overflow-container",init:function(){var e=m(this.selector),t=m("ul",e),a=m("a",t);a.on("click",function(){var t=m(this);return t.hasClass("active")||(a.removeClass("active"),t.addClass("active"),m(".thb-form-container",e).toggleClass("register-active")),!1})}}},m(function(){m("#vc_inline-anchor").length?v.on("vc_reload",function(){f.init()}):f.init(),h.site=f})}(jQuery,this,_)
;