1var thConfig={tabletPortraitBreakpoint:980,tabletPaysageBreakpoint:1024,desktopBreakpoint:1280,mobileBreakpoint:600,debug:!0,map:{init:{maps_class:".maps:not(.no-autoload):not(.initialized)",tileLayerUrl:"https://data.geopf.fr/wmts?&REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&STYLE=normal&TILEMATRIXSET=PM&FORMAT=image/png&LAYER=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",accessToken:tokenmap,tileLayerOptions:{attribution:"",maxZoom:16,accessToken:tokenmap}}},tagmanager:thGlobalDefaults.tagmanager};if("object"==typeof jsConfig)for(var key in jsConfig)if("object"==typeof jsConfig[key])for(var subkey in jsConfig[key])thConfig[key][subkey]=jsConfig[key][subkey];else thConfig[key]=jsConfig[key];function isIE(){return!(!navigator.userAgent.match(/trident/gi)&&"Microsoft Internet Explorer"!=navigator.appName)}function isTouchDevice(){return"ontouchstart"in document.documentElement}function isNoHover(){return!!(isTouchDevice()&&document.body.clientWidth<=thConfig.desktopBreakpoint)}function isTabletPortraitOrSmalller(){return document.body.clientWidth<thConfig.tabletPortraitBreakpoint}function isMobileOrSmaller(){return document.body.clientWidth<=thConfig.mobileBreakpoint}function hasIscroll(){return!navigator.userAgent.match(/Android/i)&&!(navigator.userAgent.match(/iP(hone|od|ad)/)||document.body.clientWidth<=1024)}function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function thSlider(t,e){return this.el=t,this.el.posX=0,this.state={items:null,current:0,count:null},this.options={duration:400,onchange:null,oninit:null},this._setup=function(t){var e;t.onchange&&(this.options.onchange=t.onchange),t.oninit&&(this.options.oninit=t.oninit),!t.duration&&0!==t.duration||(this.options.duration=t.duration),t.draggable&&!this.isMobile()&&this._enableDesktopDrag(),this.isMobile()&&(this.el.className+=" scroll-mode"),this._updateState(),this.options.oninit&&this.options.oninit(this),this.options.duration&&this.options.onchange&&(e=this).el.addEventListener("transitionend",function(){e.options.onchange(e)},!1)},this.isMobile=function(){return document.body.clientWidth<1024||"ontouchstart"in document.documentElement&&document.body.clientWidth<=1366},this._updateState=function(){this.state.items=[];for(var t=this.el.childNodes,e=0;e!=t.length;e++)"#text"!=t[e].nodeName&&this.state.items.push(t[e]);this.state.count=this.state.items.length},this.next=function(){var t=this.state.current+1;if(t>=this.state.count)return!1;this.goto(t)},this.prev=function(){var t=this.state.current-1;if(t<0)return!1;this.goto(t)},this.goto=function(t){this._refresh(t)},this.canNext=function(){return this.state.current!==this.state.count-1},this.canPrev=function(){return 0!==this.state.current},this.lastItemIn=function(){return this.state.items[this.state.count-1].getBoundingClientRect().right>this.el.parentNode.getBoundingClientRect().right},this._move=function(e,t){if(this.isMobile()){try{this.el.scroll({left:this.el.scrollLeft+-1*e,top:0,behavior:"smooth"})}catch(t){this.el.scrollLeft=this.el.scrollLeft+-1*e}this.options.onchange&&this.options.onchange(this)}else this.el.style.transition=t?"all "+t+"ms ease":null,this.el.style.transform="translate3d("+e+"px,0,0)",this.el.posX=e},this._getCurrent=function(){for(var t=this.el.parentNode.getBoundingClientRect().left,e=(this._updateState(),!1),i=0;i<this.state.count;i++)if(this.state.items[i].getBoundingClientRect().left>t){this.state.current=i,e=!0;break}return e||(this.state.current=this.state.count-1),this.state.current},this._refresh=function(t){if(0===t||t){if(t>this.state.count)return!1;this.state.current=t}else t=this._getCurrent();var e,i=this.state.items[t],n=this.el.parentNode.getBoundingClientRect().left,n=n-(n-this.el.getBoundingClientRect().left+i.getBoundingClientRect().left);i.currentStyle||window.getComputedStyle(i);console.log(t),console.log(n),this._move(n,this.options.duration),this.options.onchange&&(this.options.duration?this.onChangeWithDurationAlready||(this.onChangeWithDurationAlready=!0,(e=this).el.addEventListener("transitionend",function(){e.options.onchange(e)},!1)):this.options.onchange(this))},this._enableDesktopDrag=function(){var e=this,i=null,n=null,o=!1,a=0;e.el.addEventListener("mousedown",function(t){t.preventDefault(),(new Date).getTime(),o=!(a=0),i=t.clientX,n=(n=e.el.posX)||0}),e.el.addEventListener("mousemove",function(t){o&&0!=t.clientX&&(t.preventDefault(),t.stopPropagation(),a=t.clientX-i,e._move(n+a))}),e.el.addEventListener("mouseup",function(t){o&&(o=!1,t.preventDefault(),t.stopPropagation(),2<a||a<-2)&&(e._move(n+(t.clientX-i)),e._refresh())}),e.el.addEventListener("click",function(t){(20<a||a<-20)&&(t.preventDefault(),t.stopPropagation())})},this._setup(e),this.options.onchange&&this.options.onchange(this),this}((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()})(this,function(){var j;function p(){return j.apply(null,arguments)}function l(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function N(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function B(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function $(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function R(t,e){for(var i=[],n=0;n<t.length;++n)i.push(e(t[n],n));return i}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t,e){for(var i in e)f(e,i)&&(t[i]=e[i]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function c(t,e,i,n){return De(t,e,i,n,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invali
vendor: 4,895 bytes, line 1
1dFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function W(t){if(null==t._isValid){var e=m(t),i=H.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||(e.meridiem,i));if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function F(t){var e=c(NaN);return null!=t?s(m(e),t):m(e).userInvalidated=!0,e}var H=Array.prototype.some||function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1},Y=p.momentProperties=[];function V(t,e){var i,n,o;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=m(e)),a(e._locale)||(t._locale=e._locale),0<Y.length)for(i=0;i<Y.length;i++)a(o=e[n=Y[i]])||(t[n]=o);return t}var U=!1;function q(t){V(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===U&&(U=!0,p.updateOffset(this),U=!1)}function r(t){return t instanceof q||null!=t&&null!=t._isAMomentObject}function u(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function d(t){var t=+t,e=0;return e=0!=t&&isFinite(t)?u(t):e}function Z(t,e,i){for(var n=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0,r=0;r<n;r++)(i&&t[r]!==e[r]||!i&&d(t[r])!==d(e[r]))&&a++;return a+o}function G(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(o,a){var r=!0;return s(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,o),r){for(var t,e=[],i=0;i<arguments.length;i++){if(t="","object"==typeof arguments[i]){for(var n in t+="\n["+i+"] ",arguments[0])t+=n+": "+arguments[0][n]+", ";t=t.slice(0,-2)}else t=arguments[i];e.push(t)}G(o+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),r=!1}return a.apply(this,arguments)},a)}var X={};function Q(t,e){null!=p.deprecationHandler&&p.deprecationHandler(t,e),X[t]||(G(e),X[t]=!0)}function h(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function J(t,e){var i,n=s({},t);for(i in e)f(e,i)&&(N(t[i])&&N(e[i])?(n[i]={},s(n[i],t[i]),s(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)f(t,i)&&!f(e,i)&&N(t[i])&&(n[i]=s({},n[i]));return n}function K(t){null!=t&&this.set(t)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var tt=Object.keys||function(t){var e,i=[];for(e in t)f(t,e)&&i.push(e);return i},et={};function e(t,e){var i=t.toLowerCase();et[i]=et[i+"s"]=et[e]=t}function g(t){return"string"==typeof t?et[t]||et[t.toLowerCase()]:void 0}function it(t){var e,i,n={};for(i in t)f(t,i)&&(e=g(i))&&(n[e]=t[i]);return n}var nt={};function i(t,e){nt[t]=e}function v(t,e,i){var n=""+Math.abs(t);return(0<=t?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var ot=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,at=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,rt={},st={};function n(t,e,i,n){var o="string"==typeof n?function(){return this[n]()}:n;t&&(st[t]=o),e&&(st[e[0]]=function(){return v(o.apply(this,arguments),e[1],e[2])}),i&&(st[i]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function lt(t,e){return t.isValid()?(e=ct(e,t.localeData()),rt[e]=rt[e]||(n=>{for(var t,o=n.match(ot),e=0,a=o.length;e<a;e++)st[o[e]]?o[e]=st[o[e]]:o[e]=(t=o[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",i=0;i<a;i++)e+=h(o[i])?o[i].call(t,n):o[i];return e}})(e),rt[e](t)):t.localeData().invalidDate()}function ct(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(at.lastIndex=0;0<=i&&at.test(t);)t=t.replace(at,n),at.lastIndex=0,--i;return t}var o=/\d/,y=/\d\d/,ut=/\d{3}/,dt=/\d{4}/,ht=/[+-]?\d{6}/,b=/\d\d?/,pt=/\d\d\d\d?/,ft=/\d\d\d\d\d\d?/,mt=/\d{1,3}/,gt=/\d{1,4}/,vt=/[+-]?\d{1,6}/,yt=/\d+/,bt=/[+-]?\d+/,_t=/Z|[+-]\d\d:?\d\d/gi,wt=/Z|[+-]\d\d(?::?\d\d)?/gi,xt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,kt={};function _(t,i,n){kt[t]=h(i)?i:function(t,e){return t&&n?n:i}}function St(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ct={};function w(t,i){var e,n=i;for("string"==typeof t&&(t=[t]),B(i)&&(n=function(t,e){e[i]=d(t)}),e=0;e<t.length;e++)Ct[t[e]]=n}
1function Tt(t,o){w(t,function(t,e,i,n){i._w=i._w||{},o(t,i._w,i,n)})}var x=0,k=1,S=2,C=3,T=4,M=5,Mt=6,At=7,Lt=8;function Dt(t){return Pt(t)?366:365}function Pt(t){return t%4==0&&t%100!=0||t%400==0}n("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),n(0,["YY",2],0,function(){return this.year()%100}),n(0,["YYYY",4],0,"year"),n(0,["YYYYY",5],0,"year"),n(0,["YYYYYY",6,!0],0,"year"),e("year","y"),i("year",1),_("Y",bt),_("YY",b,y),_("YYYY",gt,dt),_("YYYYY",vt,ht),_("YYYYYY",vt,ht),w(["YYYYY","YYYYYY"],x),w("YYYY",function(t,e){e[x]=2===t.length?p.parseTwoDigitYear(t):d(t)}),w("YY",function(t,e){e[x]=p.parseTwoDigitYear(t)}),w("Y",function(t,e){e[x]=parseInt(t,10)}),p.parseTwoDigitYear=function(t){return d(t)+(68<d(t)?1900:2e3)};var A,It=Et("FullYear",!0);function Et(e,i){return function(t){return null!=t?(Ot(this,e,t),p.updateOffset(this,i),this):zt(this,e)}}function zt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Ot(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&Pt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),jt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function jt(t,e){return isNaN(t)||isNaN(e)?NaN:(t+=(e-(e=(e%12+12)%12))/12,1==e?Pt(t)?29:28:31-e%7%2)}A=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},n("M",["MM",2],"Mo",function(){return this.month()+1}),n("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),n("MMMM",0,0,function(t){return this.localeData().months(this,t)}),e("month","M"),i("month",8),_("M",b),_("MM",b,y),_("MMM",function(t,e){return e.monthsShortRegex(t)}),_("MMMM",function(t,e){return e.monthsRegex(t)}),w(["M","MM"],function(t,e){e[k]=d(t)-1}),w(["MMM","MMMM"],function(t,e,i,n){n=i._locale.monthsParse(t,n,i._strict);null!=n?e[k]=n:m(i).invalidMonth=t});var Nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Bt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$t="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Rt(t,e){var i;if(t.isValid()){if("string"==typeof e)if(/^\d+$/.test(e))e=d(e);else if(!B(e=t.localeData().monthsParse(e)))return;i=Math.min(t.date(),jt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i)}}function Wt(t){return null!=t?(Rt(this,t),p.updateOffset(this,!0),this):zt(this,"Month")}var Ft=xt,Ht=xt;function Yt(){function t(t,e){return e.length-t.length}for(var e,i=[],n=[],o=[],a=0;a<12;a++)e=c([2e3,a]),i.push(this.monthsShort(e,"")),n.push(this.months(e,"")),o.push(this.months(e,"")),o.push(this.monthsShort(e,""));for(i.sort(t),n.sort(t),o.sort(t),a=0;a<12;a++)i[a]=St(i[a]),n[a]=St(n[a]);for(a=0;a<24;a++)o[a]=St(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Vt(t){var e;return t<100&&0<=t?((e=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,e)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Ut(t,e,i){i=7+e-i;return-(7+Vt(t,0,i).getUTCDay()-e)%7+i-1}function qt(t,e,i,n,o){var a,e=1+7*(e-1)+(7+i-n)%7+Ut(t,n,o),i=e<=0?Dt(a=t-1)+e:e>Dt(t)?(a=t+1,e-Dt(t)):(a=t,e);return{year:a,dayOfYear:i}}function Zt(t,e,i){var n,o,a=Ut(t.year(),e,i),a=Math.floor((t.dayOfYear()-a-1)/7)+1;return a<1?n=a+Gt(o=t.year()-1,e,i):a>Gt(t.year(),e,i)?(n=a-Gt(t.year(),e,i),o=t.year()+1):(o=t.year(),n=a),{week:n,year:o}}function Gt(t,e,i){var n=Ut(t,e,i),e=Ut(t+1,e,i);return(Dt(t)-n+e)/7}function Xt(t,e){return t.slice(e,7).concat(t.slice(0,e))}n("w",["ww",2],"wo","week"),n("W",["WW",2],"Wo","isoWeek"),e("week","w"),e("isoWeek","W"),i("week",5),i("isoWeek",5),_("w",b),_("ww",b,y),_("W",b),_("WW",b,y),Tt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=d(t)}),n("d",0,"do","day"),n("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),n("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),n("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),n("e",0,0,"weekday"),n("E",0,0,"isoWeekday"),e("day","d"),e("weekday","e"),e("isoWeekday","E"),i("day",11),i("weekday",11),i("isoWeekday",11),_("d",b),_("e",b),_("E",b),_("dd",function(t,e){return e.weekdaysMinRegex(t)}),_("ddd",function(t,e){return e.weekdaysShortRegex(t)}),_("dddd",function(t,e){return e.weekdaysRegex(t)}
vendor: 6,081 bytes, line 1
1),Tt(["dd","ddd","dddd"],function(t,e,i,n){n=i._locale.weekdaysParse(t,n,i._strict);null!=n?e.d=n:m(i).invalidWeekday=t}),Tt(["d","e","E"],function(t,e,i,n){e[n]=d(t)});var Qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),te=xt,ee=xt,ie=xt;function ne(){function t(t,e){return e.length-t.length}for(var e,i,n,o=[],a=[],r=[],s=[],l=0;l<7;l++)n=c([2e3,1]).day(l),e=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),n=this.weekdays(n,""),o.push(e),a.push(i),r.push(n),s.push(e),s.push(i),s.push(n);for(o.sort(t),a.sort(t),r.sort(t),s.sort(t),l=0;l<7;l++)a[l]=St(a[l]),r[l]=St(r[l]),s[l]=St(s[l]);this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function oe(){return this.hours()%12||12}function ae(t,e){n(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function re(t,e){return e._meridiemParse}n("H",["HH",2],0,"hour"),n("h",["hh",2],0,oe),n("k",["kk",2],0,function(){return this.hours()||24}),n("hmm",0,0,function(){return""+oe.apply(this)+v(this.minutes(),2)}),n("hmmss",0,0,function(){return""+oe.apply(this)+v(this.minutes(),2)+v(this.seconds(),2)}),n("Hmm",0,0,function(){return""+this.hours()+v(this.minutes(),2)}),n("Hmmss",0,0,function(){return""+this.hours()+v(this.minutes(),2)+v(this.seconds(),2)}),ae("a",!0),ae("A",!1),e("hour","h"),i("hour",13),_("a",re),_("A",re),_("H",b),_("h",b),_("k",b),_("HH",b,y),_("hh",b,y),_("kk",b,y),_("hmm",pt),_("hmmss",ft),_("Hmm",pt),_("Hmmss",ft),w(["H","HH"],C),w(["k","kk"],function(t,e,i){t=d(t);e[C]=24===t?0:t}),w(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),w(["h","hh"],function(t,e,i){e[C]=d(t),m(i).bigHour=!0}),w("hmm",function(t,e,i){var n=t.length-2;e[C]=d(t.substr(0,n)),e[T]=d(t.substr(n)),m(i).bigHour=!0}),w("hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[C]=d(t.substr(0,n)),e[T]=d(t.substr(n,2)),e[M]=d(t.substr(o)),m(i).bigHour=!0}),w("Hmm",function(t,e,i){var n=t.length-2;e[C]=d(t.substr(0,n)),e[T]=d(t.substr(n))}),w("Hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[C]=d(t.substr(0,n)),e[T]=d(t.substr(n,2)),e[M]=d(t.substr(o))});var se,xt=Et("Hours",!0),le={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Bt,monthsShort:$t,week:{dow:0,doy:6},weekdays:Qt,weekdaysMin:Kt,weekdaysShort:Jt,meridiemParse:/[ap]\.?m?\.?/i},L={},ce={};function ue(t){return t&&t.toLowerCase().replace("_","-")}function de(t){var e;if(!L[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=se._abbr,require("./locale/"+t),he(e)}catch(t){}return L[t]}function he(t,e){return t&&((e=a(e)?fe(t):pe(t,e))?se=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),se._abbr}function pe(t,e){if(null===e)return delete L[t],null;var i,n=le;if(e.abbr=t,null!=L[t])Q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=L[t]._config;else if(null!=e.parentLocale)if(null!=L[e.parentLocale])n=L[e.parentLocale]._config;else{if(null==(i=de(e.parentLocale)))return ce[e.parentLocale]||(ce[e.parentLocale]=[]),ce[e.parentLocale].push({name:t,config:e}),null;n=i._config}return L[t]=new K(J(n,e)),ce[t]&&ce[t].forEach(function(t){pe(t.name,t.config)}),he(t),L[t]}function fe(t){var e;if(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t){if(!l(t)){if(e=de(t))return e;t=[t]}for(var i,n,o,a,r=t,s=0;s<r.length;){for(i=(a=ue(r[s]).split("-")).length,n=(n=ue(r[s+1]))?n.split("-"):null;0<i;){if(o=de(a.slice(0,i).join("-")))return o;if(n&&n.length>=i&&Z(a,n,!0)>=i-1)break;i--}s++}}return se}function me(t){var e=t._a;return e&&-2===m(t).overflow&&(e=e[k]<0||11<e[k]?k:e[S]<1||e[S]>jt(e[x],e[k])?S:e[C]<0||24<e[C]||24===e[C]&&(0!==e[T]||0!==e[M]||0!==e[Mt])?C:e[T]<0||59<e[T]?T:e[M]<0||59<e[M]?M:e[Mt]<0||999<e[Mt]?Mt:-1,m(t)._overflowDayOfYear&&(e<x||S<e)&&(e=S),m(t)._overflowWeeks&&-1===e&&(e=At),m(t)._overflowWeekday&&-1===e&&(e=Lt),m(t).overflow=e),t}function ge(t,e,i){return null!=t?t:null!=e?e:i}function ve(t){var e,i,n,o,a,r,s,l,c=[];if(!t._d){var u=t,d=new Date(p.now()),h=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()];for(t._w&&null==t._a[S]&&null==t._a[k]&&(null!=(d=(u=t)._w).GG||null!=d.W||null!=d.E?(o=1,a=4,s=ge(d.GG,u._a[x],Zt(D(),1,4).year),l=ge(d.W,1),((i=ge(d.E,1))<1||7<i)&&(n=!0)):(o=u._locale._week.dow,a=u._locale._week.doy,r=Zt(D(),o,a),s=ge(d.gg,u._a[x],r.year),l=ge(d.w,r.week),null!=d.d?((i=d.d)<0||6<i)&&(n=!0):null!=d.e?(i=d.e+o,(d.e<0||6<d.e)&&(n=!0)):i=o),l<1||l>Gt(s,o,a)?m(u)._overflowWeeks=!0:null!=n?m(u)._overflowWeekday=!0:(r=qt(s,l,i,o,a),u._a[x]=r.year,u._dayOfYear=r.dayOfYear)),null!=t._dayOfYear&&(d=ge(t._a[x],h[x]),(t._dayOfYear>Dt(d)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=Vt(d,0,t._dayOfYear),t._a[k]=n.getUTCMonth(),t._a[S]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=c[e]=h[e];for(;e<7;e++)t._a[e]=c[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[C]&&0===t._a[T]&&0===t._a[M]&&0===t._a[Mt]&&(t._nextDay=!0,t._a[C]=0),t._d=(t._useUTC?Vt:function(t,e,
1i,n,o,a,r){var s;return t<100&&0<=t?(s=new Date(t+400,e,i,n,o,a,r),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,i,n,o,a,r),s}).apply(null,c),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[C]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(m(t).weekdayMismatch=!0)}}var ye=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,be=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_e=/Z|[+-]\d\d(?::?\d\d)?/,we=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ke=/^\/?Date\((\-?\d+)/i;function Se(t){var e,i,n,o,a,r,s=t._i,l=ye.exec(s)||be.exec(s);if(l){for(m(t).iso=!0,e=0,i=we.length;e<i;e++)if(we[e][1].exec(l[1])){o=we[e][0],n=!1!==we[e][2];break}if(null==o)return t._isValid=!1;if(l[3]){for(e=0,i=xe.length;e<i;e++)if(xe[e][1].exec(l[3])){a=(l[2]||" ")+xe[e][0];break}if(null==a)return t._isValid=!1}if(!n&&null!=a)return t._isValid=!1;if(l[4]){if(!_e.exec(l[4]))return t._isValid=!1;r="Z"}t._f=o+(a||"")+(r||""),Ae(t)}else t._isValid=!1}var Ce=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;var Te={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Me(t){var e,i,n,o,a,r,s=Ce.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));
1s?(e=s[4],i=s[3],n=s[2],o=s[5],a=s[6],r=s[7],e=[(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e,$t.indexOf(i),parseInt(n,10),parseInt(o,10),parseInt(a,10)],r&&e.push(parseInt(r,10)),n=i=e,o=t,(a=s[1])&&Jt.indexOf(a)!==new Date(n[0],n[1],n[2]).getDay()?(m(o).weekdayMismatch=!0,o._isValid=!1):(t._a=i,t._tzm=(r=s[8],e=s[9],a=s[10],r?Te[r]:e?0:((r=parseInt(a,10))-(e=r%100))/100*60+e),t._d=Vt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0)):t._isValid=!1}function Ae(t){if(t._f!==p.ISO_8601)if(t._f!==p.RFC_2822){t._a=[],m(t).empty=!0;for(var e,i,n,o=""+t._i,a=o.length,r=0,s=ct(t._f,t._locale).match(ot)||[],l=0;l<s.length;l++)e=s[l],(h=(o.match((h=t,f(kt,d=e)?kt[d](h._strict,h._locale):new RegExp(St(d.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,o){return e||i||n||o})))))||[])[0])&&(0<(d=o.substr(0,o.indexOf(h))).length&&m(t).unusedInput.push(d),o=o.slice(o.indexOf(h)+h.length),r+=h.length),st[e]?(h?m(t).empty=!1:m(t).unusedTokens.push(e),d=e,n=t,null!=(i=h)&&f(Ct,d)&&Ct[d](i,n._a,n,d)):t._strict&&!h&&m(t).unusedTokens.push(e);m(t).charsLeftOver=a-r,0<o.length&&m(t).unusedInput.push(o),t._a[C]<=12&&!0===m(t).bigHour&&0<t._a[C]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[C]=(a=t._locale,c=t._a[C],null==(u=t._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):(null!=a.isPM&&((a=a.isPM(u))&&c<12&&(c+=12),a||12!==c||(c=0)),c)),ve(t),me(t)}else Me(t);else Se(t);var c,u,d,h}function Le(t){var e,i,n=t._i,o=t._f;return t._locale=t._locale||fe(t._l),null===n||void 0===o&&""===n?F({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),r(n)?new q(me(n)):($(n)?t._d=n:l(o)?(t=>{var e,i,n,o,a;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(o=0;o<t._f.length;o++)a=0,e=V({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],Ae(e),W(e)&&(a=(a+=m(e).charsLeftOver)+10*m(e).unusedTokens.length,m(e).score=a,null==n||a<n)&&(n=a,i=e);s(t,i||e)})(t):o?Ae(t):a(o=(n=t)._i)?n._d=new Date(p.now()):$(o)?n._d=new Date(o.valueOf()):"string"==typeof o?(e=n,null===(i=ke.exec(e._i))?(Se(e),!1===e._isValid&&(delete e._isValid,Me(e),!1===e._isValid)&&(delete e._isValid,p.createFromInputFallback(e))):e._d=new Date(+i[1])):l(o)?(n._a=R(o.slice(0),function(t){return parseInt(t,10)}),ve(n)):N(o)?(e=n)._d||(i=it(e._i),e._a=R([i.year,i.month,i.day||i.date,i.hour,i.minute,i.second,i.millisecond],function(t){return t&&parseInt(t,10)}),ve(e)):B(o)?n._d=new Date(o):p.createFromInputFallback(n),W(t)||(t._d=null),t))}function De(t,e,i,n,o){var a={};return!0!==i&&!1!==i||(n=i,i=void 0),(N(t)&&(t=>{if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(t.hasOwnProperty(e))return;return 1})(t)||l(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=o,a._l=i,a._i=t,a._f=e,a._strict=n,(o=new q(me(Le(a))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function D(t,e,i,n){return De(t,e,i,n,!1)}p.createFromInputFallback=t("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};pt=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=D.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:F()}),ft=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=D.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:F()});function Pe(t,e){var i,n;if(!(e=1===e.length&&l(e[0])?e[0]:e).length)return D();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Ie=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ee(t){var t=it(t),e=t.year||0,i=t.quarter||0,n=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,r=t.hour||0,s=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=(t=>{for(var e in t)if(-1===A.call(Ie,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<Ie.length;++n)if(t[Ie[n]]){if(i)return!1;parseFloat(t[Ie[n]])!==d(t[Ie[n]])&&(i=!0)}return!0})(t),this._milliseconds=+c+1e3*l+6e4*s+1e3*r*60*60,this._days=+a+7*o,this._months=+n+3*i+12*e,this._data={},this._locale=fe(),this._bubble()}function ze(t){return t instanceof Ee}function Oe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function je(t,i){n(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+v(~~(t/60),2)+i+v(~~t%60,2)})}je("Z",":"),je("ZZ",""),_("Z",wt),_("ZZ",wt),w(["Z","ZZ"],function(t,e,
vendor: 10,751 bytes, line 1
1i){i._useUTC=!0,i._tzm=Be(wt,t)});var Ne=/([\+\-]|\d\d)/gi;function Be(t,e){var e=(e||"").match(t);return null===e?null:0===(e=60*(t=((e[e.length-1]||[])+"").match(Ne)||["-",0,0])[1]+d(t[2]))?0:"+"===t[0]?e:-e}function $e(t,e){var i;return e._isUTC?(e=e.clone(),i=(r(t)||$(t)?t:D(t)).valueOf()-e.valueOf(),e._d.setTime(e._d.valueOf()+i),p.updateOffset(e,!1),e):D(t).local()}function Re(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function We(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Fe=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,He=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(t,e){var i,n,o=t;return ze(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:B(t)?(o={},e?o[e]=t:o.milliseconds=t):(e=Fe.exec(t))?(i="-"===e[1]?-1:1,o={y:0,d:d(e[S])*i,h:d(e[C])*i,m:d(e[T])*i,s:d(e[M])*i,ms:d(Oe(1e3*e[Mt]))*i}):(e=He.exec(t))?(i="-"===e[1]?-1:1,o={y:Ye(e[2],i),M:Ye(e[3],i),w:Ye(e[4],i),d:Ye(e[5],i),h:Ye(e[6],i),m:Ye(e[7],i),s:Ye(e[8],i)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(e=D(o.from),i=D(o.to),e=e.isValid()&&i.isValid()?(i=$e(i,e),e.isBefore(i)?n=Ve(e,i):((n=Ve(i,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(o={}).ms=e.milliseconds,o.M=e.months),n=new Ee(o),ze(t)&&f(t,"_locale")&&(n._locale=t._locale),n}function Ye(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function Ve(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function Ue(n,o){return function(t,e){var i;return null===e||isNaN(+e)||(Q(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=t,t=e,e=i),qe(this,P(t="string"==typeof t?+t:t,e),n),this}}function qe(t,e,i,n){var o=e._milliseconds,a=Oe(e._days),e=Oe(e._months);t.isValid()&&(n=null==n||n,e&&Rt(t,zt(t,"Month")+e*i),a&&Ot(t,"Date",zt(t,"Date")+a*i),o&&t._d.setTime(t._d.valueOf()+o*i),n)&&p.updateOffset(t,a||e)}P.fn=Ee.prototype,P.invalid=function(){return P(NaN)};Bt=Ue(1,"add"),Qt=Ue(-1,"subtract");function Ze(t,e){var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(1+i,"months")-n)))||0}function Ge(t){return void 0===t?this._locale._abbr:(null!=(t=fe(t))&&(this._locale=t),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Kt=t("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function Xe(){return this._locale}var Qe=126227808e5;function Je(t,e){return(t%e+e)%e}function Ke(t,e,i){return t<100&&0<=t?new Date(t+400,e,i)-Qe:new Date(t,e,i).valueOf()}function ti(t,e,i){return t<100&&0<=t?Date.UTC(t+400,e,i)-Qe:Date.UTC(t,e,i)}function ei(t,e){n(0,[t,t.length],0,e)}function ii(t,e,i,n,o){var a;return null==t?Zt(this,n,o).year:((a=Gt(t,n,o))<e&&(e=a),function(t,e,i,n,o){t=qt(t,e,i,n,o),e=Vt(t.year,0,t.dayOfYear);return this.year(e.getUTCFullYear()),this.month(e.getUTCMonth()),this.date(e.getUTCDate()),this}.call(this,t,e,i,n,o))}n(0,["gg",2],0,function(){return this.weekYear()%100}),n(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ei("gggg","weekYear"),ei("ggggg","weekYear"),ei("GGGG","isoWeekYear"),ei("GGGGG","isoWeekYear"),e("weekYear","gg"),e("isoWeekYear","GG"),i("weekYear",1),i("isoWeekYear",1),_("G",bt),_("g",bt),_("GG",b,y),_("gg",b,y),_("GGGG",gt,dt),_("gggg",gt,dt),_("GGGGG",vt,ht),_("ggggg",vt,ht),Tt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=d(t)}),Tt(["gg","GG"],function(t,e,i,n){e[n]=p.parseTwoDigitYear(t)}),n("Q",0,"Qo","quarter"),e("quarter","Q"),i("quarter",7),_("Q",o),w("Q",function(t,e){e[k]=3*(d(t)-1)}),n("D",["DD",2],"Do","date"),e("date","D"),i("date",9),_("D",b),_("DD",b,y),_("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),w(["D","DD"],S),w("Do",function(t,e){e[S]=d(t.match(b)[0])});gt=Et("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),e("dayOfYear","DDD"),i("dayOfYear",4),_("DDD",mt),_("DDDD",ut),w(["DDD","DDDD"],function(t,e,i){i._dayOfYear=d(t)}),n("m",["mm",2],0,"minute"),e("minute","m"),i("minute",14),_("m",b),_("mm",b,y),w(["m","mm"],T),dt=Et("Minutes",!1);n("s",["ss",2],0,"second"),e("second","s"),i("second",15),_("s",b),_("ss",b,y),w(["s","ss"],M);var ni,vt=Et("Seconds",!1);for(n("S",0,0,function(){return~~(this.millisecond()/100)}),n(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),n(0,["SSS",3],0,"millisecond"),n(0,["SSSS",4],0,function(){return 10*this.millisecond()}),n(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),n(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),n(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),n(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),n(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),e("millisecond","ms"),i("millisecond",16),_("S",mt,o),_("SS",mt,y),_("SSS",mt,ut),ni="SSSS";ni.length<=9;ni+="S")_(ni,yt);function oi(t,e){e[Mt]=d(1e3*("0."+t))}for(ni="S";ni.length<=9;ni+="S")w(ni,oi);ht=Et("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName"),o=q.prototype;function ai(t){return t}o.add=Bt,o.calendar=function(t,e){var t=t||D(),i=$e(t,this).startOf("day"),i=p.calendarFormat(this,i)||"sameElse",e=e&&(h(e[i])?e[i].call(this,t):e[i]);return this.format(e||this.localeData().calendar(i,this,D(t)))},o.clone=function(){return new q(this)},o.diff=function(t,e,i){var n,o,a;if(!this.isValid())return NaN;if(!(n=$e(t,this)).isValid())return NaN;switch(o=6e4*(n.utcOffset()-this.utcOffset()),e=g(e)){case"year":a=Ze(this,n)/12;break;case"month":a=Ze(this,n);break;case"quarter":a=Ze(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-o)/864e5;break;case"week":a=(this-n-o)/6048e5;break;default:a=this-n}return i?a:u(a)},o.endOf=function(t){var e;if(void 0!==(t=g(t))&&"millisecond"!==t&&this.isValid()){var i=this._isUTC?ti:Ke;switch(t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-Je(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-Je(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-Je(e,1e3)-1}this._d.setTime(e),p.updateOffset(this,!0)}return this},o.format=function(t){t=t||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat);t=lt(this,t);return this.localeData().postformat(t)},o.from=function(t,e){return this.isValid()&&(r(t)&&t.isValid()||D(t).isValid())?P({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},o.fromNow=function(t){return this.from(D(),t)},o.to=function(t,e){return this.isValid()&&(r(t)&&t.isValid()||D(t).isValid())?P({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},o.toNow=function(t){return this.to(D(),t)},o.get=function(t){return h(this[t=g(t)])?this[t]():this},o.invalidAt=function(){return m(this).overflow},o.isAfter=function(t,e){t=r(t)?t:D(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=g(e)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},o.isBefore=function(t,e){t=r(t)?t:D(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=g(e)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},o.isBetween=function(t,e,i,n){t=r(t)?t:D(t),e=r(e)?e:D(e);return!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(n=n||"()")[0]?this.isAfter(t,i):!this.isBefore(t,i))&&(")"===n[1]?this.isBefore(e,i):!this.isAfter(e,i))},o.isSame=function(t,e){var t=r(t)?t:D(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=g(e)||"millisecond")?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},o.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},o.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},o.isValid=function(){return W(this)},o.lang=Kt,o.locale=Ge,o.localeData=Xe,o.max=ft,o.min=pt,o.parsingFlags=function(){return s({},m(this))},o.set=function(i,t){if("object"==typeof i)for(var e=(()=>{var t,e=[];for(t in i)e.push({unit:t,priority:nt[t]});return e.sort(function(t,e){return t.priority-e.priority}),e})(i=it(i)),n=0;n<e.length;n++)this[e[n].unit](i[e[n].unit]);else if(h(this[i=g(i)]))return this[i](t);return this},o.startOf=function(t){var e;if(void 0!==(t=g(t))&&"millisecond"!==t&&this.isValid()){var i=this._isUTC?ti:Ke;switch(t){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Je(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=Je(e,6e4);break;case"second":e=this._d.valueOf(),e-=Je(e,1e3)}this._d.setTime(e),p.updateOffset(this,!0)}return this},o.subtract=Qt,o.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},o.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},o.toDate=function(){return new Date(this.valueOf())},o.toISOString=function(t){var e;return this.isValid()?(e=(t=!0!==t)?this.clone().utc():this).year()<0||9999<e.year()?lt(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):h(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",lt(e,"Z")):lt(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},o.inspect=function(){var t,e,i;
vendor: 4,529 bytes, line 1
1return this.isValid()?(e="moment",t="",this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z"),e="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+i+"-MM-DD[T]HH:mm:ss.SSS"+(t+'[")]'))):"moment.invalid(/* "+this._i+" */)"},o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},o.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},o.year=It,o.isLeapYear=function(){return Pt(this.year())},o.weekYear=function(t){return ii.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},o.isoWeekYear=function(t){return ii.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},o.quarter=o.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},o.month=Wt,o.daysInMonth=function(){return jt(this.year(),this.month())},o.week=o.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},o.isoWeek=o.isoWeeks=function(t){var e=Zt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},o.weeksInYear=function(){var t=this.localeData()._week;return Gt(this.year(),t.dow,t.doy)},o.isoWeeksInYear=function(){return Gt(this.year(),1,4)},o.date=gt,o.day=o.days=function(t){var e,i,n;return this.isValid()?(n=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=t?(e=t,i=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=i.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-n,"d")):n):null!=t?this:NaN},o.weekday=function(t){var e;return this.isValid()?(e=(this.day()+7-this.localeData()._week.dow)%7,null==t?e:this.add(t-e,"d")):null!=t?this:NaN},o.isoWeekday=function(t){var e,i;return this.isValid()?null==t?this.day()||7:(e=t,i=this.localeData(),i="string"==typeof e?i.weekdaysParse(e)%7||7:isNaN(e)?null:e,this.day(this.day()%7?i:i-7)):null!=t?this:NaN},o.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},o.hour=o.hours=xt,o.minute=o.minutes=dt,o.second=o.seconds=vt,o.millisecond=o.milliseconds=ht,o.utcOffset=function(t,e,i){var n,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?o:Re(this);if("string"==typeof t){if(null===(t=Be(wt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=Re(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),o!==t&&(!e||this._changeInProgress?qe(this,P(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},o.utc=function(t){return this.utcOffset(0,t)},o.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t)&&this.subtract(Re(this),"m"),this},o.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Be(_t,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},o.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?D(t).utcOffset():0,(this.utcOffset()-t)%60==0)},o.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},o.isLocal=function(){return!!this.isValid()&&!this._isUTC},o.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},o.isUtc=We,o.isUTC=We,o.zoneAbbr=function(){return this._isUTC?"UTC":""},o.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},o.dates=t("dates accessor is deprecated. Use date instead.",gt),o.months=t("months accessor is deprecated. Use month instead",Wt),o.years=t("years accessor is deprecated. Use year instead",It),o.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),o.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var t,e;return a(this._isDSTShifted)&&(V(t={},this),(t=Le(t))._a?(e=(t._isUTC?c:D)(t._a),this._isDSTShifted=this.isValid()&&0<Z(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=K.prototype;function ri(t,e,i,n){var o=fe(),n=c().set(n,e);return o[i](n,t)}
vendor: 4,189 bytes, line 1
1function si(t,e,i){if(B(t)&&(e=t,t=void 0),t=t||"",null!=e)return ri(t,e,i,"month");for(var n=[],o=0;o<12;o++)n[o]=ri(t,o,i,"month");return n}function li(t,e,i,n){"boolean"==typeof t?B(e)&&(i=e,e=void 0):(e=t,t=!1,B(i=e)&&(i=e,e=void 0)),e=e||"";var o=fe(),a=t?o._week.dow:0;if(null!=i)return ri(e,(i+a)%7,n,"day");for(var r=[],s=0;s<7;s++)r[s]=ri(e,(s+a)%7,n,"day");return r}y.calendar=function(t,e,i){t=this._calendar[t]||this._calendar.sameElse;return h(t)?t.call(e,i):t},y.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(t){return this._ordinal.replace("%d",t)},y.preparse=ai,y.postformat=ai,y.relativeTime=function(t,e,i,n){var o=this._relativeTime[i];return h(o)?o(t,e,i,n):o.replace(/%d/i,t)},y.pastFuture=function(t,e){t=this._relativeTime[0<t?"future":"past"];return h(t)?t(e):t.replace(/%s/i,e)},y.set=function(t){var e,i;for(i in t)h(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.months=function(t,e){return t?(l(this._months)?this._months:this._months[(this._months.isFormat||Nt).test(e)?"format":"standalone"])[t.month()]:l(this._months)?this._months:this._months.standalone},y.monthsShort=function(t,e){return t?(l(this._monthsShort)?this._monthsShort:this._monthsShort[Nt.test(e)?"format":"standalone"])[t.month()]:l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(t,e,i){var n,o;if(this._monthsParseExact)return function(t,e,i){var n,o,a,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=c([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(o=A.call(this._shortMonthsParse,t))?o:null:-1!==(o=A.call(this._longMonthsParse,t))?o:null:"MMM"===e?-1!==(o=A.call(this._shortMonthsParse,t))||-1!==(o=A.call(this._longMonthsParse,t))?o:null:-1!==(o=A.call(this._longMonthsParse,t))||-1!==(o=A.call(this._shortMonthsParse,t))?o:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(o=c([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},y.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Yt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ht),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Yt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Ft),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(t){return Zt(t,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(t,e){e=l(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Xt(e,this._week.dow):t?e[t.day()]:e},y.weekdaysMin=function(t){return!0===t?Xt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},y.weekdaysShort=function(t){return!0===t?Xt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}
vendor: 6,652 bytes, line 1
1,y.weekdaysParse=function(t,e,i){var n,o;if(this._weekdaysParseExact)return function(t,e,i){var n,o,a,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=c([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(o=A.call(this._weekdaysParse,t))?o:null:"ddd"===e?-1!==(o=A.call(this._shortWeekdaysParse,t))?o:null:-1!==(o=A.call(this._minWeekdaysParse,t))?o:null:"dddd"===e?-1!==(o=A.call(this._weekdaysParse,t))||-1!==(o=A.call(this._shortWeekdaysParse,t))||-1!==(o=A.call(this._minWeekdaysParse,t))?o:null:"ddd"===e?-1!==(o=A.call(this._shortWeekdaysParse,t))||-1!==(o=A.call(this._weekdaysParse,t))||-1!==(o=A.call(this._minWeekdaysParse,t))?o:null:-1!==(o=A.call(this._minWeekdaysParse,t))||-1!==(o=A.call(this._weekdaysParse,t))||-1!==(o=A.call(this._shortWeekdaysParse,t))?o:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(o=c([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},y.weekdaysRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=te),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ee),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ie),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},y.meridiem=function(t,e,i){return 11<t?i?"pm":"PM":i?"am":"AM"},he("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===d(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),p.lang=t("moment.lang is deprecated. Use moment.locale instead.",he),p.langData=t("moment.langData is deprecated. Use moment.localeData instead.",fe);var I=Math.abs;function ci(t,e,i,n){e=P(e,i);return t._milliseconds+=n*e._milliseconds,t._days+=n*e._days,t._months+=n*e._months,t._bubble()}function ui(t){return t<0?Math.floor(t):Math.ceil(t)}function di(t){return 4800*t/146097}function hi(t){return 146097*t/4800}function E(t){return function(){return this.as(t)}}mt=E("ms"),ut=E("s"),Bt=E("m"),ft=E("h"),pt=E("d"),Qt=E("w"),xt=E("M"),dt=E("Q"),vt=E("y");function pi(t){return function(){return this.isValid()?this._data[t]:NaN}}var ht=pi("milliseconds"),gt=pi("seconds"),It=pi("minutes"),y=pi("hours"),fi=pi("days"),mi=pi("months"),gi=pi("years"),vi=Math.round,z={ss:44,s:45,m:45,h:22,d:26,M:11},yi=Math.abs;function bi(t){return(0<t)-(t<0)||+t}function _i(){var t,e,i,n,o,a,r,s,l,c;return this.isValid()?(a=yi(this._milliseconds)/1e3,i=yi(this._days),e=yi(this._months),n=u((o=u(a/60))/60),a%=60,o%=60,t=u(e/12),e=e%=12,i=i,n=n,o=o,a=a?a.toFixed(3).replace(/\.?0+$/,""):"",(r=this.asSeconds())?(s=bi(this._months)!==bi(r)?"-":"",l=bi(this._days)!==bi(r)?"-":"",c=bi(this._milliseconds)!==bi(r)?"-":"",(r<0?"-":"")+"P"+(t?s+t+"Y":"")+(e?s+e+"M":"")+(i?l+i+"D":"")+(n||o||a?"T":"")+(n?c+n+"H":"")+(o?c+o+"M":"")+(a?c+a+"S":"")):"P0D"):this.localeData().invalidDate()}var O=Ee.prototype;return O.isValid=function(){return this._isValid},O.abs=function(){var t=this._data;return this._milliseconds=I(this._milliseconds),this._days=I(this._days),this._months=I(this._months),t.milliseconds=I(t.milliseconds),t.seconds=I(t.seconds),t.minutes=I(t.minutes),t.hours=I(t.hours),t.months=I(t.months),t.years=I(t.years),this},O.add=function(t,e){return ci(this,t,e,1)},O.subtract=function(t,e){return ci(this,t,e,-1)},O.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=g(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+di(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(hi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},O.asMilliseconds=mt,O.asSeconds=ut,O.asMinutes=Bt,O.asHours=ft,O.asDays=pt,O.asWeeks=Qt,O.asMonths=xt,O.asQuarters=dt,O.asYears=vt,O.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*d(this._months/12):NaN},O._bubble=function(){var t=this._milliseconds,e=this._days,i=this._months,n=this._data;return 0<=t&&0<=e&&0<=i||t<=0&&e<=0&&i<=0||(t+=864e5*ui(hi(i)+e),i=e=0),n.milliseconds=t%1e3,t=u(t/1e3),n.seconds=t%60,t=u(t/60),n.minutes=t%60,t=u(t/60),n.hours=t%24,i+=t=u(di(e+=u(t/24))),e-=ui(hi(t)),t=u(i/12),i%=12,n.days=e,n.months=i,n.years=t,this},O.clone=function(){return P(this)},O.get=function(t){return t=g(t),this.isValid()?this[t+"s"]():NaN},O.milliseconds=ht,O.seconds=gt,O.minutes=It,O.hours=y,O.days=fi,O.weeks=function(){return u(this.days()/7)},O.months=mi,O.years=gi,O.humanize=function(t){var e,i,n,o,a,r,s,l,c;return this.isValid()?(e=!t,i=l=this.localeData(),r=P(this).abs(),s=vi(r.as("s")),c=vi(r.as("m")),n=vi(r.as("h")),o=vi(r.as("d")),a=vi(r.as("M")),r=vi(r.as("y")),(s=(s<=z.ss?["s",s]:s<z.s&&["ss",s])||(c<=1?["m"]:c<z.m&&["mm",c])||(n<=1?["h"]:n<z.h&&["hh",n])||
1(o<=1?["d"]:o<z.d&&["dd",o])||(a<=1?["M"]:a<z.M&&["MM",a])||(r<=1?["y"]:["yy",r]))[2]=e,s[3]=0<+this,s[4]=i,c=function(t,e,i,n,o){return o.relativeTime(e||1,!!i,t,n)}.apply(null,s),t&&(c=l.pastFuture(+this,c)),l.postformat(c)):this.localeData().invalidDate()},O.toISOString=_i,O.toString=_i,O.toJSON=_i,O.locale=Ge,O.localeData=Xe,O.toIsoString=t("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_i),O.lang=Kt,n("X",0,0,"unix"),n("x",0,0,"valueOf"),_("x",bt),_("X",/[+-]?\d+(\.\d{1,3})?/),w("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),w("x",function(t,e,i){i._d=new Date(d(t))}),p.version="2.24.0",j=D,p.fn=o,p.min=function(){return Pe("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pe("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(t){return D(1e3*t)},p.months=function(t,e){return si(t,e,"months")},p.isDate=$,p.locale=he,p.invalid=F,p.duration=P,p.isMoment=r,p.weekdays=function(t,e,i){return li(t,e,i,"weekdays")},p.parseZone=function(){return D.apply(null,arguments).parseZone()},p.localeData=fe,p.isDuration=ze,p.monthsShort=function(t,e){return si(t,e,"monthsShort")},p.weekdaysMin=function(t,e,i){return li(t,e,i,"weekdaysMin")},p.defineLocale=pe,p.updateLocale=function(t,e){var i,n;return null!=e?(n=le,(i=new K(e=J(n=null!=(i=de(t))?i._config:n,e))).parentLocale=L[t],L[t]=i,he(t)):null!=L[t]&&(null!=L[t].parentLocale?L[t]=L[t].parentLocale:null!=L[t]&&delete L[t]),L[t]},p.locales=function(){return tt(L)},p.weekdaysShort=function(t,e,i){return li(t,e,i,"weekdaysShort")},p.normalizeUnits=g,p.relativeTimeRounding=function(t){return void 0===t?vi:"function"==typeof t&&(vi=t,!0)},p.relativeTimeThreshold=function(t,e){return void 0!==z[t]&&(void 0===e?z[t]:(z[t]=e,"s"===t&&(z.ss=e-1),!0))},p.calendarFormat=function(t,e){t=t.diff(e,"days",!0);return t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},p.prototype=o,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?e(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],e):e(t.moment)})(this,function(t){return t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"d_l_m_m_j_v_s".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}),((t,e)=>{"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(t.document)return e(t);throw new Error("jQuery requires a window with a document")}:e(t)})("undefined"!=typeof window?window:this,function(x,j){function y(t){return"function"==typeof t&&"number"!=typeof t.nodeType}function m(t){return null!=t&&t===t.window}var t=[],k=x.document,N=Object.getPrototypeOf,s=t.slice,B=t.concat,$=t.push,R=t.indexOf,W={},F=W.toString,H=W.hasOwnProperty,Y=H.toString,V=Y.call(Object),g={},U={type:!0,src:!0,nonce:!0,noModule:!0};function q(t,e,i){var n,o,a=(i=i||k).createElement("script");
vendor: 4,336 bytes, line 1
1if(a.text=t,e)for(n in U)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&a.setAttribute(n,o);i.head.appendChild(a).parentNode.removeChild(a)}function f(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?W[F.call(t)]||"object":typeof t}var S=function(t,e){return new S.fn.init(t,e)},Z=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function G(t){var e=!!t&&"length"in t&&t.length,i=f(t);return!y(t)&&!m(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}S.fn=S.prototype={jquery:"3.4.1",constructor:S,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){t=S.merge(this.constructor(),t);return t.prevObject=this,t},each:function(t){return S.each(this,t)},map:function(i){return this.pushStack(S.map(this,function(t,e){return i.call(t,e,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:$,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var t,e,i,n,o,a=arguments[0]||{},r=1,s=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[r]||{},r++),"object"==typeof a||y(a)||(a={}),r===s&&(a=this,r--);r<s;r++)if(null!=(t=arguments[r]))for(e in t)i=t[e],"__proto__"!==e&&a!==i&&(l&&i&&(S.isPlainObject(i)||(n=Array.isArray(i)))?(o=a[e],o=n&&!Array.isArray(o)?[]:n||S.isPlainObject(o)?o:{},n=!1,a[e]=S.extend(l,o,i)):void 0!==i&&(a[e]=i));return a},S.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){return!(!t||"[object Object]"!==F.call(t)||(t=N(t))&&("function"!=typeof(t=H.call(t,"constructor")&&t.constructor)||Y.call(t)!==V))},isEmptyObject:function(t){for(var e in t)return!1;return!0},globalEval:function(t,e){q(t,{nonce:e&&e.nonce})},each:function(t,e){var i,n=0;if(G(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:function(t){return null==t?"":(t+"").replace(Z,"")},makeArray:function(t,e){e=e||[];return null!=t&&(G(Object(t))?S.merge(e,"string"==typeof t?[t]:t):$.call(e,t)),e},inArray:function(t,e,i){return null==e?-1:R.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;n<i;n++)t[o++]=e[n];return t.length=o,t},grep:function(t,e,i){for(var n=[],o=0,a=t.length,r=!i;o<a;o++)!e(t[o],o)!=r&&n.push(t[o]);return n},map:function(t,e,i){var n,o,a=0,r=[];if(G(t))for(n=t.length;a<n;a++)null!=(o=e(t[a],a,i))&&r.push(o);else for(a in t)null!=(o=e(t[a],a,i))&&r.push(o);return B.apply([],r)},guid:1,support:g}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){W["[object "+e+"]"]=e.toLowerCase()});function n(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&S(t).is(i))break;n.push(t)}return n}function X(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}var t=(j=>{function d(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320)}function N(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function B(){x()}var t,h,_,a,$,p,R,W,w,l,c,x,k,i,S,f,n,o,m,C="sizzle"+ +new Date,g=j.document,T=0,F=0,H=P(),Y=P(),V=P(),v=P(),U=function(t,e){return t===e&&(c=!0),0},q={}.hasOwnProperty,e=[],Z=e.pop,G=e.push,M=e.push,X=e.slice,A=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",s="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",J="\\["+r+"*("+s+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+s+"))|)"+r+"*\\]",K=":("+s+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+J+")*)|.*)\\)|)",tt=new RegExp(r+"+","g"),L=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),et=new RegExp("^"+r+"*,"+r+"*"),it=new RegExp("^"+r+"*([>
1+~]|"+r+")"+r+"*"),nt=new RegExp(r+"|>"),ot=new RegExp(K),at=new RegExp("^"+s+"$"),y={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),TAG:new RegExp("^("+s+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},rt=/HTML$/i,st=/^(?:input|select|textarea|button)$/i,lt=/^h\d$/i,u=/^[^{]+\{\s*\[native \w/,ct=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ut=/[+~]/,b=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),dt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ht=yt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{M.apply(e=X.call(g.childNodes),g.childNodes),e[g.childNodes.length].nodeType}catch(t){M={apply:e.length?function(t,e){G.apply(t,X.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function D(t,e,i,n){var o,a,r,s,l,c,u=e&&e.ownerDocument,d=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return i;if(!n&&((e?e.ownerDocument||e:g)!==k&&x(e),e=e||k,S)){if(11!==d&&(s=ct.exec(t)))if(o=s[1]){if(9===d){if(!(c=e.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(u&&(c=u.getElementById(o))&&m(e,c)&&c.id===o)return i.push(c),i}else{if(s[2])return M.apply(i,e.getElementsByTagName(t)),i;if((o=s[3])&&h.getElementsByClassName&&e.getElementsByClassName)return M.apply(i,e.getElementsByClassName(o)),i}if(h.qsa&&!v[t+" "]&&(!f||!f.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(c=t,u=e,1===d&&nt.test(t)){for((r=e.getAttribute("id"))?r=r.replace(dt,N):e.setAttribute("id",r=C),a=(l=p(t)).length;a--;)l[a]="#"+r+" "+O(l[a]);c=l.join(","),u=ut.test(t)&>(e.parentNode)||e}try{return M.apply(i,u.querySelectorAll(c)),i}catch(e){v(t,!0)}finally{r===C&&e.removeAttribute("id")}}}return W(t.replace(L,"$1"),e,i,n)}function P(){var n=[];return function t(e,i){return n.push(e+" ")>_.cacheLength&&delete t[n.shift()],t[e+" "]=i}}function I(t){return t[C]=!0,t}function E(t){var e=k.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function pt(t,e){for(var i=t.split("|"),n=i.length;n--;)_.attrHandle[i[n]]=e}function ft(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function mt(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ht(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function z(r){return I(function(a){return a=+a,I(function(t,e){for(var i,n=r([],t.length,a),o=n.length;o--;)t[i=n[o]]&&(t[i]=!(e[i]=t[i]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in h=D.support={},$=D.isXML=function(t){var e=t.namespaceURI,t=(t.ownerDocument||t).documentElement;return!rt.test(e||t&&t.nodeName||"HTML")},x=D.setDocument=function(t){var t=t?t.ownerDocument||t:g;return t!==k&&9===t.nodeType&&t.documentElement&&(i=(k=t).documentElement,S=!$(k),g!==k&&(t=k.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",B,!1):t.attachEvent&&t.attachEvent("onunload",B)),h.attributes=E(function(t){return t.className="i",!t.getAttribute("className")}),h.getElementsByTagName=E(function(t){return t.appendChild(k.createComment("")),!t.getElementsByTagName("*").length}),h.getElementsByClassName=u.test(k.getElementsByClassName),h.getById=E(function(t){return i.appendChild(t).id=C,!k.getElementsByName||!k.getElementsByName(C).length}),h.getById?(_.filter.ID=function(t){var e=t.replace(b,d);return function(t){return t.getAttribute("id")===e}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&S)return(e=e.getElementById(t))?[e]:[]}):(_.filter.ID=function(t){var e=t.replace(b,d);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&S){var i,n,o,a=e.getElementById(t);if(a){if((i=a.getAttributeNode("id"))&&i.value===t)return[a];for(o=e.getElementsByName(t),n=0;a=o[n++];)if((i=a.getAttributeNode("id"))&&i.value===t)return[a]}return[]}}),_.find.TAG=h.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):h.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,a=e.getElementsByTagName(t);if("*"!==t)return a;for(;i=a[o++];)1===i.nodeType&&n.push(i);return n},_.find.CLASS=h.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&S)return e.getElementsByClassName(t)},n=[],f=[],(h.qsa=u.test(k.querySelectorAll))&&(E(function(t){i.appendChild(t).innerHTML="<a id='"+C+"'></a><select id='"+C+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&f.push("[*^$]="+r+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||f.push("\\["+r+"*(?:value|"+Q+")"),t.querySelectorAll("[id~="+C+"-]").length||f.push("~="),t.querySelectorAll(":checked").length||f.push(":checked"),t.querySelectorAll("a#"+C+"+*").length||f.push(".#.+[+~]")}),E(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=k.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&f.push("name"+r+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&f.push(":enabled",":disabled"),i.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),f.push(",.*:")})),(h.matchesSelector=u.test(o=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector))&&E(function(t){h.disconnectedMatch=o.call(t,"*"),o.call(t,"[s!='']:x"),n.push("!=",K)}),f=f.length&&new RegExp(f.join("|")),n=n.length&&new RegExp(n.join("|")),t=u.test(i.compareDocumentPosition),m=t||u.test(i.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(i.contains?i.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=t?function(t,e){var i;return t===e?(c=!0,0):!t.compareDocumentPosition-!e.compareDocumentPosition||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!h.sortDetached&&e.compareDocumentPosition(t)===i?t===k||t.ownerDocument===g&&m(g,t)?-1:e===k||e.ownerDocument===g&&m(g,e)?1:l?A(l,t)-A(l,e):0:4&i?-1:1)}
vendor: 8,832 bytes, line 1
1:function(t,e){if(t===e)return c=!0,0;var i,n=0,o=t.parentNode,a=e.parentNode,r=[t],s=[e];if(!o||!a)return t===k?-1:e===k?1:o?-1:a?1:l?A(l,t)-A(l,e):0;if(o===a)return ft(t,e);for(i=t;i=i.parentNode;)r.unshift(i);for(i=e;i=i.parentNode;)s.unshift(i);for(;r[n]===s[n];)n++;return n?ft(r[n],s[n]):r[n]===g?-1:s[n]===g?1:0}),k},D.matches=function(t,e){return D(t,null,null,e)},D.matchesSelector=function(t,e){if((t.ownerDocument||t)!==k&&x(t),h.matchesSelector&&S&&!v[e+" "]&&(!n||!n.test(e))&&(!f||!f.test(e)))try{var i=o.call(t,e);if(i||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){v(e,!0)}return 0<D(e,k,null,[t]).length},D.contains=function(t,e){return(t.ownerDocument||t)!==k&&x(t),m(t,e)},D.attr=function(t,e){(t.ownerDocument||t)!==k&&x(t);var i=_.attrHandle[e.toLowerCase()],i=i&&q.call(_.attrHandle,e.toLowerCase())?i(t,e,!S):void 0;return void 0!==i?i:h.attributes||!S?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},D.escape=function(t){return(t+"").replace(dt,N)},D.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},D.uniqueSort=function(t){var e,i=[],n=0,o=0;if(c=!h.detectDuplicates,l=!h.sortStable&&t.slice(0),t.sort(U),c){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}return l=null,t},a=D.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=a(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=a(e);return i},(_=D.selectors={cacheLength:50,createPseudo:I,match:y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(b,d),t[3]=(t[3]||t[4]||t[5]||"").replace(b,d),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||D.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&D.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ot.test(i)&&(e=(e=p(i,!0))&&i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(b,d).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+r+")"+t+"("+r+"|$)"))&&H(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(t){t=D.attr(t,e);return null==t?"!="===i:!i||(t+="","="===i?t===n:"!="===i?t!==n:"^="===i?n&&0===t.indexOf(n):"*="===i?n&&-1<t.indexOf(n):"$="===i?n&&t.slice(-n.length)===n:"~="===i?-1<(" "+t.replace(tt," ")+" ").indexOf(n):"|="===i&&(t===n||t.slice(0,n.length+1)===n+"-"))}},CHILD:function(f,t,e,m,g){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),b="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,i){var n,o,a,r,s,l,c=v!=y?"nextSibling":"previousSibling",u=t.parentNode,d=b&&t.nodeName.toLowerCase(),h=!i&&!b,p=!1;if(u){if(v){for(;c;){for(r=t;r=r[c];)if(b?r.nodeName.toLowerCase()===d:1===r.nodeType)return!1;l=c="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&h){for(p=(s=(n=(o=(a=(r=u)[C]||(r[C]={}))[r.uniqueID]||(a[r.uniqueID]={}))[f]||[])[0]===T&&n[1])&&n[2],r=s&&u.childNodes[s];r=++s&&r&&r[c]||(p=s=0,l.pop());)if(1===r.nodeType&&++p&&r===t){o[f]=[T,s,p];break}}else if(!1===(p=h?s=(n=(o=(a=(r=t)[C]||(r[C]={}))[r.uniqueID]||(a[r.uniqueID]={}))[f]||[])[0]===T&&n[1]:p))for(;(r=++s&&r&&r[c]||(p=s=0,l.pop()))&&((b?r.nodeName.toLowerCase()!==d:1!==r.nodeType)||!++p||(h&&((o=(a=r[C]||(r[C]={}))[r.uniqueID]||(a[r.uniqueID]={}))[f]=[T,p]),r!==t)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(t,a){var e,r=_.pseudos[t]||_.setFilters[t.toLowerCase()]||D.error("unsupported pseudo: "+t);return r[C]?r(a):1<r.length?(e=[t,t,"",a],_.setFilters.hasOwnProperty(t.toLowerCase())?I(function(t,e){for(var i,n=r(t,a),o=n.length;o--;)t[i=A(t,n[o])]=!(e[i]=n[o])}):function(t){return r(t,0,e)}):r}},pseudos:{not:I(function(t){var n=[],o=[],s=R(t.replace(L,"$1"));return s[C]?I(function(t,e,i,n){for(var o,a=s(t,null,n,[]),r=t.length;r--;)(o=a[r])&&(t[r]=!(e[r]=o))}):function(t,e,i){return n[0]=t,s(n,null,i,o),n[0]=null,!o.pop()}}),has:I(function(e){return function(t){return 0<D(e,t).length}}),contains:I(function(e){return e=e.replace(b,d),function(t){return-1<(t.textContent||a(t)).indexOf(e)}}),lang:I(function(i){return at.test(i||"")||D.error("unsupported lang: "+i),i=i.replace(b,d).toLowerCase(),function(t){var e;do{if(e=S?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=j.location&&j.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===i},focus:function(t){return t===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:mt(!1),disabled:mt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!_.pseudos.empty(t)},header:function(t){return lt.test(t.nodeName)},input:function(t){return st.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(t=t.getAttribute("type"))||"text"===t.toLowerCase())},first:z(function(){return[0]}),last:z(function(t,e){return[e-1]}),eq:z(function(t,e,i){return[i<0?i+e:i]}),even:z(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:z(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:z(function(t,e,i){for(var n=i<0?i+e:e<i?e:i;0<=--n;)t.push(n);return t}),gt:z(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[t]=(e=>function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e})(t);for(t in{submit:!0,reset:!0})_.pseudos[t]=(i=>function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i})(t);function vt(){}function O(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function yt(r,t,e){var s=t.dir,l=t.next,c=l||s,u=e&&"parentNode"===c,d=F++;return t.first?function(t,e,i){for(;t=t[s];)if(1===t.nodeType||u)return r(t,e,i);return!1}:function(t,e,i){var n,o,a=[T,d];if(i){for(;t=t[s];)if((1===t.nodeType||u)&&r(t,e,i))return!0}else for(;t=t[s];)if(1===t.nodeType||u)if(o=(o=t[C]||(t[C]={}))[t.uniqueID]||(o[t.uniqueID]={}),l&&l===t.nodeName.toLowerCase())t=t[s]||t;else{if((n=o[c])&&n[0]===T&&n[1]===d)return a[2]=n[2];if((o[c]=a)[2]=r(t,e,i))return!0}return!1}}function bt(o){return 1<o.length?function(t,e,i){for(var n=o.length;n--;)if(!o[n](t,e,i))return!1;return!0}:o[0]}function _t(t,e,i,n,o){for(var a,r=[],s=0,l=t.length,c=null!=e;s<l;s++)!(a=t[s])||i&&!i(a,n,o)||(r.push(a),c&&e.push(s));return r}function wt(p,f,m,g,v,t){return g&&!g[C]&&(g=wt(g)),v&&!v[C]&&(v=wt(v,t)),I(function(t,e,i,n){var o,a,r,s=[],l=[],c=e.length,u=t||((t,e,i)=>{for(var n=0,o=e.length;n<o;n++)D(t,e[n],i);return i})(f||"*",i.nodeType?[i]:i,[]),d=!p||!t&&f?u:_t(u,s,p,i,n),h=m?v||(t?p:c||g)?[]:e:d;if(m&&m(d,h,i,n),g)for(o=_t(h,l),g(o,[],i,n),a=o.length;a--;)(r=o[a])&&(h[l[a]]=!(d[l[a]]=r));if(t){if(v||p){if(v){for(o=[],a=h.length;a--;)(r=h[a])&&o.push(d[a]=r);v(null,h=[],o,n)}for(a=h.length;a--;)(r=h[a])&&-1<(o=v?A(t,r):s[a])&&(t[o]=!(e[o]=r))}}else h=_t(h===e?h.splice(c,h.length):h),v?v(null,e,h,n):M.apply(e,h)})}return vt.prototype=_.filters=_.pseudos,_.setFilters=new vt,p=D.tokenize=function(t,e){var i,n,o,a,r,s,l,c=Y[t+" "];if(c)return e?0:c.slice(0);for(r=t,s=[],l=_.preFilter;r;){for(a in i&&!(n=et.exec(r))||(n&&(r=r.slice(n[0].length)||r),s.push(o=[])),i=!1,(n=it.exec(r))&&(i=n.shift(),o.push({value:i,type:n[0].replace(L," ")}),r=r.slice(i.length)),_.filter)!(n=y[a].exec(r))||l[a]&&!(n=l[a](n))||(i=n.shift(),o.push({value:i,type:a,matches:n}),r=r.slice(i.length));if(!i)break}return e?r.length:r?D.error(t):Y(t,s).slice(0)},R=D.compile=function(t,e){var i,g,v,y,b,n,o=[],a=[],r=V[t+" "];if(!r){for(i=(e=e||p(t)).length;i--;)((r=function t(e){for(var n,i,o,a=e.length,r=_.relative[e[0].type],s=r||_.relative[" "],l=r?1:0,c=yt(function(t){return t===n},s,!0),u=yt(function(t){return-1<A(n,t)}
vendor: 10,166 bytes, line 1
1,s,!0),d=[function(t,e,i){return t=!r&&(i||e!==w)||((n=e).nodeType?c:u)(t,e,i),n=null,t}];l<a;l++)if(i=_.relative[e[l].type])d=[yt(bt(d),i)];else{if((i=_.filter[e[l].type].apply(null,e[l].matches))[C]){for(o=++l;o<a&&!_.relative[e[o].type];o++);return wt(1<l&&bt(d),1<l&&O(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(L,"$1"),i,l<o&&t(e.slice(l,o)),o<a&&t(e=e.slice(o)),o<a&&O(e))}d.push(i)}return bt(d)}(e[i]))[C]?o:a).push(r);(r=V(t,(y=0<(v=o).length,b=0<(g=a).length,n=function(t,e,i,n,o){var a,r,s,l=0,c="0",u=t&&[],d=[],h=w,p=t||b&&_.find.TAG("*",o),f=T+=null==h?1:Math.random()||.1,m=p.length;for(o&&(w=e===k||e||o);c!==m&&null!=(a=p[c]);c++){if(b&&a){for(r=0,e||a.ownerDocument===k||(x(a),i=!S);s=g[r++];)if(s(a,e||k,i)){n.push(a);break}o&&(T=f)}y&&((a=!s&&a)&&l--,t)&&u.push(a)}if(l+=c,y&&c!==l){for(r=0;s=v[r++];)s(u,d,e,i);if(t){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=Z.call(n));d=_t(d)}M.apply(n,d),o&&!t&&0<d.length&&1<l+v.length&&D.uniqueSort(n)}return o&&(T=f,w=h),u},y?I(n):n))).selector=t}return r},W=D.select=function(t,e,i,n){var o,a,r,s,l,c="function"==typeof t&&t,u=!n&&p(t=c.selector||t);if(i=i||[],1===u.length){if(2<(a=u[0]=u[0].slice(0)).length&&"ID"===(r=a[0]).type&&9===e.nodeType&&S&&_.relative[a[1].type]){if(!(e=(_.find.ID(r.matches[0].replace(b,d),e)||[])[0]))return i;c&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(o=y.needsContext.test(t)?0:a.length;o--&&(r=a[o],!_.relative[s=r.type]);)if((l=_.find[s])&&(n=l(r.matches[0].replace(b,d),ut.test(a[0].type)&>(e.parentNode)||e))){if(a.splice(o,1),t=n.length&&O(a))break;return M.apply(i,n),i}}return(c||R(t,u))(n,e,!S,i,!e||ut.test(t)&>(e.parentNode)||e),i},h.sortStable=C.split("").sort(U).join("")===C,h.detectDuplicates=!!c,x(),h.sortDetached=E(function(t){return 1&t.compareDocumentPosition(k.createElement("fieldset"))}),E(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||pt("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),h.attributes&&E(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||pt("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),E(function(t){return null==t.getAttribute("disabled")})||pt(Q,function(t,e,i){if(!i)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),D})(x),Q=(S.find=t,S.expr=t.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=t.uniqueSort,S.text=t.getText,S.isXMLDoc=t.isXML,S.contains=t.contains,S.escapeSelector=t.escape,S.expr.match.needsContext);function l(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var J=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function K(t,i,n){return y(i)?S.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?S.grep(t,function(t){return t===i!==n}):"string"!=typeof i?S.grep(t,function(t){return-1<R.call(i,t)!==n}):S.filter(i,t,n)}S.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?S.find.matchesSelector(n,t)?[n]:[]:S.find.matches(t,S.grep(e,function(t){return 1===t.nodeType}))},S.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(S(t).filter(function(){for(e=0;e<n;e++)if(S.contains(o[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)S.find(t,o[e],i);return 1<n?S.uniqueSort(i):i},filter:function(t){return this.pushStack(K(this,t||[],!1))},not:function(t){return this.pushStack(K(this,t||[],!0))},is:function(t){return!!K(this,"string"==typeof t&&Q.test(t)?S(t):t||[],!1).length}});var tt,et=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,it=((S.fn.init=function(t,e,i){if(t){if(i=i||tt,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(S):S.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:et.exec(t))||!n[1]&&e)return(!e||e.jquery?e||i:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof S?e[0]:e,S.merge(this,S.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:k,!0)),J.test(n[1])&&S.isPlainObject(e))for(var n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n])}else(i=k.getElementById(n[2]))&&(this[0]=i,this.length=1)}return this}).prototype=S.fn,tt=S(k),/^(?:parents|prev(?:Until|All))/),nt={children:!0,contents:!0,next:!0,prev:!0};function ot(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}S.fn.extend({has:function(t){var e=S(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(S.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,o=this.length,a=[],r="string"!=typeof t&&S(t);if(!Q.test(t))for(;n<o;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(r?-1<r.index(i):1===i.nodeType&&S.find.matchesSelector(i,t))){a.push(i);break}return this.pushStack(1<a.length?S.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?R.call(S(t),this[0]):R.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),S.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return n(t,"parentNode")},parentsUntil:function(t,e,i){return n(t,"parentNode",i)},next:function(t){return ot(t,"nextSibling")},prev:function(t){return ot(t,"previousSibling")},nextAll:function(t){return n(t,"nextSibling")},prevAll:function(t){return n(t,"previousSibling")},nextUntil:function(t,e,i){return n(t,"nextSibling",i)},prevUntil:function(t,e,i){return n(t,"previousSibling",i)},siblings:function(t){return X((t.parentNode||{}).firstChild,t)},children:function(t){return X(t.firstChild)},contents:function(t){return void 0!==t.contentDocument?t.contentDocument:(l(t,"template")&&(t=t.content||t),S.merge([],t.childNodes))}},function(n,o){S.fn[n]=function(t,e){var i=S.map(this,o,t);return(e="Until"!==n.slice(-5)?t:e)&&"string"==typeof e&&(i=S.filter(e,i)),1<this.length&&(nt[n]||S.uniqueSort(i),it.test(n))&&i.reverse(),this.pushStack(i)}});var C=/[^\x20\t\r\n\f]+/g;function u(t){return t}function at(t){throw t}function rt(t,e,i,n){var o;try{t&&y(o=t.promise)?o.call(t).done(e).fail(i):t&&y(o=t.then)?o.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}S.Callbacks=function(n){var t,i;n="string"==typeof n?(t=n,i={},S.each(t.match(C)||[],function(t,e){i[e]=!0}),i):S.extend({},n);function o(){for(s=s||n.once,r=a=!0;c.length;u=-1)for(e=c.shift();++u<l.length;)!1===l[u].apply(e[0],e[1])&&n.stopOnFalse&&(u=l.length,e=!1);n.memory||(e=!1),a=!1,s&&(l=e?[]:"")}var a,e,r,s,l=[],c=[],u=-1,d={add:function(){return l&&(e&&!a&&(u=l.length-1,c.push(e)),function i(t){S.each(t,function(t,e){y(e)?n.unique&&d.has(e)||l.push(e):e&&e.length&&"string"!==f(e)&&i(e)})}(arguments),e)&&!a&&o(),this},remove:function(){return S.each(arguments,function(t,e){for(var i;-1<(i=S.inArray(e,l,i));)l.splice(i,1),i<=u&&u--}),this},has:function(t){return t?-1<S.inArray(t,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return s=c=[],l=e="",this},disabled:function(){return!l},lock:function(){return s=c=[],e||a||(l=e=""),this},locked:function(){return!!s},fireWith:function(t,e){return s||(e=[t,(e=e||[]).slice?e.slice():e],c.push(e),a)||o(),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},S.extend({Deferred:function(t){var a=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var o=arguments;return S.Deferred(function(n){S.each(a,function(t,e){var i=y(o[e[4]])&&o[e[4]];s[e[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[e[0]+"With"](this,i?[t]:arguments)})}),o=null}).promise()},then:function(e,i,n){var l=0;function c(o,a,r,s){return function(){function t(){var t,e;if(!(o<l)){if((t=r.apply(i,n))===a.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,y(e)?s?e.call(t,c(l,a,u,s),c(l,a,at,s)):(l++,e.call(t,c(l,a,u,s),c(l,a,at,s),c(l,a,u,a.notifyWith))):(r!==u&&(i=void 0,n=[t]),(s||a.resolveWith)(i,n))}}var i=this,n=arguments,e=s?t:function(){try{t()}catch(t){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(t,e.stackTrace),l<=o+1&&(r!==at&&(i=void 0,n=[t]),a.rejectWith(i,n))}};o?e():(S.Deferred.getStackHook&&(e.stackTrace=S.Deferred.getStackHook()),x.setTimeout(e))}}return S.Deferred(function(t){a[0][3].add(c(0,t,y(n)?n:u,t.notifyWith)),a[1][3].add(c(0,t,y(e)?e:u)),a[2][3].add(c(0,t,y(i)?i:at))}).promise()},promise:function(t){return null!=t?S.extend(t,r):r}},s={};return S.each(a,function(t,e){var i=e[2],n=e[5];r[e[1]]=i.add,n&&i.add(function(){o=n},a[3-t][2].disable,a[3-t][3].disable,a[0][2].lock,a[0][3].lock),i.add(e[3].fire),s[e[0]]=function(){return s[e[0]+"With"](this===s?void 0:this,arguments),this},s[e[0]+"With"]=i.fireWith}),r.promise(s),t&&t.call(s,s),s},when:function(t){function e(e){return function(t){o[e]=this,a[e]=1<arguments.length?s.call(arguments):t,--i||r.resolveWith(o,a)}}var i=arguments.length,n=i,o=Array(n),a=s.call(arguments),r=S.Deferred();if(i<=1&&(rt(t,r.done(e(n)).resolve,r.reject,!i),"pending"===r.state()||y(a[n]&&a[n].then)))return r.then();for(;n--;)rt(a[n],e(n),r.reject);return r.promise()}});var st=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,lt=(S.Deferred.exceptionHook=function(t,e){x.console&&x.console.warn&&t&&st.test(t.name)&&x.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},S.readyException=function(t){x.setTimeout(function(){throw t})},S.Deferred());function ct(){k.removeEventListener("DOMContentLoaded",ct),x.removeEventListener("load",ct),S.ready()}
1S.fn.ready=function(t){return lt.then(t).catch(function(t){S.readyException(t)}),this},S.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--S.readyWait:S.isReady)||(S.isReady=!0)!==t&&0<--S.readyWait||lt.resolveWith(k,[S])}}),S.ready.then=lt.then,"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?x.setTimeout(S.ready):(k.addEventListener("DOMContentLoaded",ct),x.addEventListener("load",ct));function d(t,e,i,n,o,a,r){var s=0,l=t.length,c=null==i;if("object"===f(i))for(s in o=!0,i)d(t,e,s,i[s],!0,a,r);else if(void 0!==n&&(o=!0,y(n)||(r=!0),e=c?r?(e.call(t,n),null):(c=e,function(t,e,i){return c.call(S(t),i)}):e))for(;s<l;s++)e(t[s],i,r?n:n.call(t[s],s,e(t[s],i)));return o?t:c?e.call(t):l?e(t[0],i):a}var ut=/^-ms-/,dt=/-([a-z])/g;function ht(t,e){return e.toUpperCase()}function b(t){return t.replace(ut,"ms-").replace(dt,ht)}function pt(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}function e(){this.expando=S.expando+e.uid++}e.uid=1,e.prototype={cache:function(t){var e=t[this.expando];return e||(e={},pt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,o=this.cache(t);if("string"==typeof e)o[b(e)]=i;else for(n in e)o[b(n)]=e[n];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][b(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(b):(e=b(e))in n?[e]:e.match(C)||[]).length;for(;i--;)delete n[e[i]]}void 0!==e&&!S.isEmptyObject(n)||(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){t=t[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var v=new e,c=new e,ft=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,mt=/[A-Z]/g;function gt(t,e,i){var n,o;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(mt,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===(o=i)||"false"!==o&&("null"===o?null:o===+o+""?+o:ft.test(o)?JSON.parse(o):o)}catch(t){}c.set(t,e,i)}else i=void 0;return i}S.extend({hasData:function(t){return c.hasData(t)||v.hasData(t)},data:function(t,e,i){return c.access(t,e,i)},removeData:function(t,e){c.remove(t,e)}
vendor: 4,442 bytes, line 1
1,_data:function(t,e,i){return v.access(t,e,i)},_removeData:function(t,e){v.remove(t,e)}}),S.fn.extend({data:function(i,t){var e,n,o,a=this[0],r=a&&a.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){c.set(this,i)}):d(this,function(t){var e;if(a&&void 0===t)return void 0!==(e=c.get(a,i))||void 0!==(e=gt(a,i))?e:void 0;this.each(function(){c.set(this,i,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(o=c.get(a),1===a.nodeType)&&!v.get(a,"hasDataAttrs")){for(e=r.length;e--;)r[e]&&0===(n=r[e].name).indexOf("data-")&&(n=b(n.slice(5)),gt(a,n,o[n]));v.set(a,"hasDataAttrs",!0)}return o},removeData:function(t){return this.each(function(){c.remove(this,t)})}}),S.extend({queue:function(t,e,i){var n;if(t)return n=v.get(t,e=(e||"fx")+"queue"),i&&(!n||Array.isArray(i)?n=v.access(t,e,S.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=S.queue(t,e),n=i.length,o=i.shift(),a=S._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete a.stop,o.call(t,function(){S.dequeue(t,e)},a)),!n&&a&&a.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return v.get(t,i)||v.access(t,i,{empty:S.Callbacks("once memory").add(function(){v.remove(t,[e+"queue",i])})})}}),S.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?S.queue(this[0],e):void 0===i?this:this.each(function(){var t=S.queue(this,e,i);S._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&S.dequeue(this,e)})},dequeue:function(t){return this.each(function(){S.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function i(){--o||a.resolveWith(r,[r])}var n,o=1,a=S.Deferred(),r=this,s=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=v.get(r[s],t+"queueHooks"))&&n.empty&&(o++,n.empty.add(i));return i(),a.promise(e)}});function vt(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&w(t)&&"none"===S.css(t,"display")}function yt(t,e,i,n){var o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in i=i.apply(t,n||[]),e)t.style[o]=a[o];return i}var t=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,h=new RegExp("^(?:([+-])=|)("+t+")([a-z%]*)$","i"),p=["Top","Right","Bottom","Left"],_=k.documentElement,w=function(t){return S.contains(t.ownerDocument,t)},bt={composed:!0};_.getRootNode&&(w=function(t){return S.contains(t.ownerDocument,t)||t.getRootNode(bt)===t.ownerDocument});function _t(t,e,i,n){var o,a,r=20,s=n?function(){return n.cur()}:function(){return S.css(t,e,"")},l=s(),c=i&&i[3]||(S.cssNumber[e]?"":"px"),u=t.nodeType&&(S.cssNumber[e]||"px"!==c&&+l)&&h.exec(S.css(t,e));if(u&&u[3]!==c){for(c=c||u[3],u=+(l/=2)||1;r--;)S.style(t,e,u+c),(1-a)*(1-(a=s()/l||.5))<=0&&(r=0),u/=a;S.style(t,e,(u*=2)+c),i=i||[]}return i&&(u=+u||+l||0,o=i[1]?u+(i[1]+1)*i[2]:+i[2],n)&&(n.unit=c,n.start=u,n.end=o),o}var wt={};function T(t,e){for(var i,n,o,a,r,s,l=[],c=0,u=t.length;c<u;c++)(n=t[c]).style&&(i=n.style.display,e?("none"===i&&(l[c]=v.get(n,"display")||null,l[c]||(n.style.display="")),""===n.style.display&&vt(n)&&(l[c]=(s=a=o=void 0,a=n.ownerDocument,(s=wt[r=n.nodeName])||(o=a.body.appendChild(a.createElement(r)),s=S.css(o,"display"),o.parentNode.removeChild(o),wt[r]=s="none"===s?"block":s)))):"none"!==i&&(l[c]="none",v.set(n,"display",i)));for(c=0;c<u;c++)null!=l[c]&&(t[c].style.display=l[c]);return t}S.fn.extend({show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){vt(this)?S(this).show():S(this).hide()})}});var xt=/^(?:checkbox|radio)$/i,kt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,St=/^$|^module$|\/(?:java|ecma)script/i,M={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function A(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&l(t,e)?S.merge([t],i):i}function Ct(t,e){for(var i=0,n=t.length;i<n;i++)v.set(t[i],"globalEval",!e||v.get(e[i],"globalEval"))}M.optgroup=M.option,M.tbody=M.tfoot=M.colgroup=M.caption=M.thead,M.th=M.td;var Tt=/<|&#?\w+;/;function Mt(t,e,i,n,o){for(var a,r,s,l,c,u=e.createDocumentFragment(),d=[],h=0,p=t.length;h<p;
vendor: 4,253 bytes, line 1
1h++)if((a=t[h])||0===a)if("object"===f(a))S.merge(d,a.nodeType?[a]:a);else if(Tt.test(a)){for(r=r||u.appendChild(e.createElement("div")),s=(kt.exec(a)||["",""])[1].toLowerCase(),s=M[s]||M._default,r.innerHTML=s[1]+S.htmlPrefilter(a)+s[2],c=s[0];c--;)r=r.lastChild;S.merge(d,r.childNodes),(r=u.firstChild).textContent=""}else d.push(e.createTextNode(a));for(u.textContent="",h=0;a=d[h++];)if(n&&-1<S.inArray(a,n))o&&o.push(a);else if(l=w(a),r=A(u.appendChild(a),"script"),l&&Ct(r),i)for(c=0;a=r[c++];)St.test(a.type||"")&&i.push(a);return u}I=k.createDocumentFragment().appendChild(k.createElement("div")),(r=k.createElement("input")).setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),I.appendChild(r),g.checkClone=I.cloneNode(!0).cloneNode(!0).lastChild.checked,I.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!I.cloneNode(!0).lastChild.defaultValue;var At=/^key/,Lt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Dt=/^([^.]*)(?:\.(.+)|)/;function i(){return!0}function L(){return!1}function Pt(t,e){return t===(()=>{try{return k.activeElement}catch(t){}})()==("focus"===e)}function It(t,e,i,n,o,a){var r,s;if("object"==typeof e){for(s in"string"!=typeof i&&(n=n||i,i=void 0),e)It(t,s,i,n,e[s],a);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=L;else if(!o)return t;return 1===a&&(r=o,(o=function(t){return S().off(t),r.apply(this,arguments)}).guid=r.guid||(r.guid=S.guid++)),t.each(function(){S.event.add(this,e,o,n,i)})}function Et(t,o,a){a?(v.set(t,o,!1),S.event.add(t,o,{namespace:!1,handler:function(t){var e,i,n=v.get(this,o);if(1&t.isTrigger&&this[o]){if(n.length)(S.event.special[o]||{}).delegateType&&t.stopPropagation();else if(n=s.call(arguments),v.set(this,o,n),e=a(this,o),this[o](),n!==(i=v.get(this,o))||e?v.set(this,o,!1):i={},n!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else n.length&&(v.set(this,o,{value:S.event.trigger(S.extend(n[0],S.Event.prototype),n.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===v.get(t,o)&&S.event.add(t,o,i)}S.event={global:{},add:function(e,t,i,n,o){var a,r,s,l,c,u,d,h,p,f=v.get(e);if(f)for(i.handler&&(i=(a=i).handler,o=a.selector),o&&S.find.matchesSelector(_,o),i.guid||(i.guid=S.guid++),s=(s=f.events)||(f.events={}),r=(r=f.handle)||(f.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(C)||[""]).length;l--;)d=p=(h=Dt.exec(t[l])||[])[1],h=(h[2]||"").split(".").sort(),d&&(c=S.event.special[d]||{},d=(o?c.delegateType:c.bindType)||d,c=S.event.special[d]||{},p=S.extend({type:d,origType:p,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:h.join(".")},a),(u=s[d])||((u=s[d]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,n,h,r))||e.addEventListener&&e.addEventListener(d,r),c.add&&(c.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),o?u.splice(u.delegateCount++,0,p):u.push(p),S.event.global[d]=!0)},remove:function(t,e,i,n,o){var a,r,s,l,c,u,d,h,p,f,m,g=v.hasData(t)&&v.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(C)||[""]).length;c--;)if(p=m=(s=Dt.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),p){for(d=S.event.special[p]||{},h=l[p=(n?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=a=h.length;a--;)u=h[a],!o&&m!==u.origType||i&&i.guid!==u.guid||s&&!s.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(h.splice(a,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));r&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||S.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)S.event.remove(t,p+e[c],i,n,!0);S.isEmptyObject(l)&&v.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,a,r=S.event.fix(t),s=new Array(arguments.length),t=(v.get(this,"events")||{})[r.type]||[],l=S.event.special[r.type]||{};for(s[0]=r,e=1;e<arguments.length;e++)s[e]=arguments[e];if(r.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,r)){for(a=S.event.handlers.call(this,r,t),e=0;(n=a[e++])&&!r.isPropagationStopped();)for(r.currentTarget=n.elem,i=0;(o=n.handlers[i++])&&!r.isImmediatePropagationStopped();
vendor: 3,411 bytes, line 1
1)r.rnamespace&&!1!==o.namespace&&!r.rnamespace.test(o.namespace)||(r.handleObj=o,r.data=o.data,void 0!==(o=((S.event.special[o.origType]||{}).handle||o.handler).apply(n.elem,s))&&!1===(r.result=o)&&(r.preventDefault(),r.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,r),r.result}},handlers:function(t,e){var i,n,o,a,r,s=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(a=[],r={},i=0;i<l;i++)void 0===r[o=(n=e[i]).selector+" "]&&(r[o]=n.needsContext?-1<S(o,this).index(c):S.find(o,this,null,[c]).length),r[o]&&a.push(n);a.length&&s.push({elem:c,handlers:a})}return c=this,l<e.length&&s.push({elem:c,handlers:e.slice(l)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[S.expando]?t:new S.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){t=this||t;return xt.test(t.type)&&t.click&&l(t,"input")&&Et(t,"click",i),!1},trigger:function(t){t=this||t;return xt.test(t.type)&&t.click&&l(t,"input")&&Et(t,"click"),!0},_default:function(t){t=t.target;return xt.test(t.type)&&t.click&&l(t,"input")&&v.get(t,"click")||l(t,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},S.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},S.Event=function(t,e){if(!(this instanceof S.Event))return new S.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?i:L,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&S.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:L,isPropagationStopped:L,isImmediatePropagationStopped:L,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=i,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=i,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=i,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&At.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&Lt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(t,e){S.event.special[t]={setup:function(){return Et(this,t,Pt),!1},trigger:function(){return Et(this,t),!0},delegateType:e}}
vendor: 18,540 bytes, line 1
1),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){S.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||S.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=o),e}}}),S.fn.extend({on:function(t,e,i,n){return It(this,t,e,i,n)},one:function(t,e,i,n){return It(this,t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)n=t.handleObj,S(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);else{if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=L),this.each(function(){S.event.remove(this,t,i,e)});for(o in t)this.off(o,e,t[o])}return this}});var zt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ot=/<script|<style|<link/i,jt=/checked\s*(?:[^=]|=\s*.checked.)/i,Nt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Bt(t,e){return l(t,"table")&&l(11!==e.nodeType?e:e.firstChild,"tr")&&S(t).children("tbody")[0]||t}function $t(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Wt(t,e){var i,n,o,a,r,s;if(1===e.nodeType){if(v.hasData(t)&&(a=v.access(t),r=v.set(e,a),s=a.events))for(o in delete r.handle,r.events={},s)for(i=0,n=s[o].length;i<n;i++)S.event.add(e,o,s[o][i]);c.hasData(t)&&(a=c.access(t),r=S.extend({},a),c.set(e,r))}}function D(i,n,o,a){n=B.apply([],n);var t,e,r,s,l,c,u=0,d=i.length,h=d-1,p=n[0],f=y(p);if(f||1<d&&"string"==typeof p&&!g.checkClone&&jt.test(p))return i.each(function(t){var e=i.eq(t);f&&(n[0]=p.call(this,t,e.html())),D(e,n,o,a)});if(d&&(e=(t=Mt(n,i[0].ownerDocument,!1,i,a)).firstChild,1===t.childNodes.length&&(t=e),e||a)){for(s=(r=S.map(A(t,"script"),$t)).length;u<d;u++)l=t,u!==h&&(l=S.clone(l,!0,!0),s)&&S.merge(r,A(l,"script")),o.call(i[u],l,u);if(s)for(c=r[r.length-1].ownerDocument,S.map(r,Rt),u=0;u<s;u++)l=r[u],St.test(l.type||"")&&!v.access(l,"globalEval")&&S.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?S._evalUrl&&!l.noModule&&S._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):q(l.textContent.replace(Nt,""),l,c))}return i}function Ft(t,e,i){for(var n,o=e?S.filter(e,t):t,a=0;null!=(n=o[a]);a++)i||1!==n.nodeType||S.cleanData(A(n)),n.parentNode&&(i&&w(n)&&Ct(A(n,"script")),n.parentNode.removeChild(n));return t}S.extend({htmlPrefilter:function(t){return t.replace(zt,"<$1></$2>")},clone:function(t,e,i){var n,o,a,r,s,l,c,u=t.cloneNode(!0),d=w(t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||S.isXMLDoc(t)))for(r=A(u),n=0,o=(a=A(t)).length;n<o;n++)s=a[n],"input"===(c=(l=r[n]).nodeName.toLowerCase())&&xt.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(e)if(i)for(a=a||A(t),r=r||A(u),n=0,o=a.length;n<o;n++)Wt(a[n],r[n]);else Wt(t,u);return 0<(r=A(u,"script")).length&&Ct(r,!d&&A(t,"script")),u},cleanData:function(t){for(var e,i,n,o=S.event.special,a=0;void 0!==(i=t[a]);a++)if(pt(i)){if(e=i[v.expando]){if(e.events)for(n in e.events)o[n]?S.event.remove(i,n):S.removeEvent(i,n,e.handle);i[v.expando]=void 0}i[c.expando]&&(i[c.expando]=void 0)}}}),S.fn.extend({detach:function(t){return Ft(this,t,!0)},remove:function(t){return Ft(this,t)},text:function(t){return d(this,function(t){return void 0===t?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return D(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Bt(this,t).appendChild(t)})},prepend:function(){return D(this,arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=Bt(this,t)).insertBefore(t,e.firstChild)})},before:function(){return D(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return D(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(S.cleanData(A(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return S.clone(this,t,e)})},html:function(t){return d(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Ot.test(t)&&!M[(kt.exec(t)||["",""])[1].toLowerCase()]){t=S.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(S.cleanData(A(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=[];return D(this,arguments,function(t){var e=this.parentNode;S.inArray(this,i)<0&&(S.cleanData(A(this)),e)&&e.replaceChild(t,this)},i)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,r){S.fn[t]=function(t){for(var e,i=[],n=S(t),o=n.length-1,a=0;a<=o;a++)e=a===o?this:this.clone(!0),S(n[a])[r](e),$.apply(i,e.get());return this.pushStack(i)}});function Ht(t){var e=t.ownerDocument.defaultView;return(e=e&&e.opener?e:x).getComputedStyle(t)}var Yt,Vt,Ut,qt,Zt,Gt,o,Xt=new RegExp("^("+t+")(?!px)[a-z%]+$","i"),Qt=new RegExp(p.join("|"),"i");function Jt(t,e,i){var n,o,a=t.style;return(i=i||Ht(t))&&(""!==(o=i.getPropertyValue(e)||i[e])||w(t)||(o=S.style(t,e)),!g.pixelBoxStyles())&&Xt.test(o)&&Qt.test(e)&&(t=a.width,e=a.minWidth,n=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=t,a.minWidth=e,a.maxWidth=n),void 0!==o?o+"":o}function Kt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function te(){var t;o&&(Gt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",o.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_.appendChild(Gt).appendChild(o),t=x.getComputedStyle(o),Yt="1%"!==t.top,Zt=12===ee(t.marginLeft),o.style.right="60%",qt=36===ee(t.right),Vt=36===ee(t.width),o.style.position="absolute",Ut=12===ee(o.offsetWidth/3),_.removeChild(Gt),o=null)}function ee(t){return Math.round(parseFloat(t))}Gt=k.createElement("div"),(o=k.createElement("div")).style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===o.style.backgroundClip,S.extend(g,{boxSizingReliable:function(){return te(),Vt},pixelBoxStyles:function(){return te(),qt},pixelPosition:function(){return te(),Yt},reliableMarginLeft:function(){return te(),Zt},scrollboxSize:function(){return te(),Ut}}));var ie=["Webkit","Moz","ms"],ne=k.createElement("div").style,oe={};function ae(t){return S.cssProps[t]||oe[t]||(t in ne?t:oe[t]=(t=>{for(var e=t[0].toUpperCase()+t.slice(1),i=ie.length;i--;)if((t=ie[i]+e)in ne)return t})(t)||t)}var re=/^(none|table(?!-c[ea]).+)/,se=/^--/,le={position:"absolute",visibility:"hidden",display:"block"},ce={letterSpacing:"0",fontWeight:"400"};function ue(t,e,i){var n=h.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function de(t,e,i,n,o,a){var r="width"===e?1:0,s=0,l=0;if(i===(n?"border":"content"))return 0;for(;r<4;r+=2)"margin"===i&&(l+=S.css(t,i+p[r],!0,o)),n?("content"===i&&(l-=S.css(t,"padding"+p[r],!0,o)),"margin"!==i&&(l-=S.css(t,"border"+p[r]+"Width",!0,o))):(l+=S.css(t,"padding"+p[r],!0,o),"padding"!==i?l+=S.css(t,"border"+p[r]+"Width",!0,o):s+=S.css(t,"border"+p[r]+"Width",!0,o));return!n&&0<=a&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-a-l-s-.5))||0),l}function he(t,e,i){var n=Ht(t),o=(!g.boxSizingReliable()||i)&&"border-box"===S.css(t,"boxSizing",!1,n),a=o,r=Jt(t,e,n),s="offset"+e[0].toUpperCase()+e.slice(1);if(Xt.test(r)){if(!i)return r;r="auto"}return(!g.boxSizingReliable()&&o||"auto"===r||!parseFloat(r)&&"inline"===S.css(t,"display",!1,n))&&t.getClientRects().length&&(o="border-box"===S.css(t,"boxSizing",!1,n),a=s in t)&&(r=t[s]),(r=parseFloat(r)||0)+de(t,e,i||(o?"border":"content"),a,n,r)+"px"}function a(t,e,i,n,o){return new a.prototype.init(t,e,i,n,o)}S.extend({cssHooks:{opacity:{get:function(t,e){if(e)return""===(e=Jt(t,"opacity"))?"1":e}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,r,s=b(e),l=se.test(e),c=t.style;if(l||(e=ae(s)),r=S.cssHooks[e]||S.cssHooks[s],void 0===i)return r&&"get"in r&&void 0!==(o=r.get(t,!1,n))?o:c[e];"string"==(a=typeof i)&&(o=h.exec(i))&&o[1]&&(i=_t(t,e,o),a="number"),null!=i&&i==i&&("number"!==a||l||(i+=o&&o[3]||(S.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),r&&"set"in r&&void 0===(i=r.set(t,i,n))||(l?c.setProperty(e,i):c[e]=i))}},css:function(t,e,i,n){var o,a=b(e);return se.test(e)||(e=ae(a)),"normal"===(o=void 0===(o=(a=S.cssHooks[e]||S.cssHooks[a])&&"get"in a?a.get(t,!0,i):o)?Jt(t,e,n):o)&&e in ce&&(o=ce[e]),(""===i||i)&&(a=parseFloat(o),!0===i||isFinite(a))?a||0:o}}),S.each(["height","width"],function(t,r){S.cssHooks[r]={get:function(t,e,i){if(e)return!re.test(S.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?he(t,r,i):yt(t,le,function(){return he(t,r,i)})},set:function(t,e,i){var n=Ht(t),o=!g.scrollboxSize()&&"absolute"===n.position,a=(o||i)&&"border-box"===S.css(t,"boxSizing",!1,n),i=i?de(t,r,i,a,n):0;return a&&o&&(i-=Math.ceil(t["offset"+r[0].toUpperCase()+r.slice(1)]-parseFloat(n[r])-de(t,r,"border",!1,n)-.5)),i&&(a=h.exec(e))&&"px"!==(a[3]||"px")&&(t.style[r]=e,e=S.css(t,r)),ue(0,e,i)}}}),S.cssHooks.marginLeft=Kt(g.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Jt(t,"marginLeft"))||t.getBoundingClientRect().left-yt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(o,a){S.cssHooks[o+a]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[o+p[e]+a]=n[e]||n[e-2]||n[0];return i}},"margin"!==o&&(S.cssHooks[o+a].set=ue)}),S.fn.extend({css:function(t,e){return d(this,function(t,e,i){var n,o,a={},r=0;if(Array.isArray(e)){for(n=Ht(t),o=e.length;r<o;r++)a[e[r]]=S.css(t,e[r],!1,n);return a}return void 0!==i?S.style(t,e,i):S.css(t,e)},t,e,1<arguments.length)}}),((S.Tween=a).prototype={constructor:a,init:function(t,e,i,n,o,a){this.elem=t,this.prop=i,this.easing=o||S.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=a||(S.cssNumber[i]?"":"px")},cur:function(){var t=a.propHooks[this.prop];return(t&&t.get?t:a.propHooks._default).get(this)},run:function(t){var e,i=a.propHooks[this.prop];return this.options.duration?this.pos=e=S.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(i&&i.set?i:a.propHooks._default).set(this),this}}).init.prototype=a.prototype,(a.propHooks={_default:{get:function(t){return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(t=S.css(t.elem,t.prop,""))&&"auto"!==t?t:0},set:function(t){S.fx.step[t.prop]?S.fx.step[t.prop](t):1!==t.elem.nodeType||!S.cssHooks[t.prop]&&null==t.elem.style[ae(t.prop)]?t.elem[t.prop]=t.now:S.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=a.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},S.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},S.fx=a.prototype.init,S.fx.step={};var P,pe,r,I,fe=/^(?:toggle|show|hide)$/,me=/queueHooks$/;function ge(){pe&&(!1===k.hidden&&x.requestAnimationFrame?x.requestAnimationFrame(ge):x.setTimeout(ge,S.fx.interval),S.fx.tick())}function ve(){return x.setTimeout(function(){P=void 0}),P=Date.now()}function ye(t,e){var i,n=0,o={height:t};for(e=e?1:0;n<4;n+=2-e)o["margin"+(i=p[n])]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function be(t,e,i){for(var n,o=(E.tweeners[e]||[]).concat(E.tweeners["*"]),a=0,r=o.length;a<r;a++)if(n=o[a].call(i,e,t))return n}function E(o,t,e){var i,a,n,r,s,l,c,u=0,d=E.prefilters.length,h=S.Deferred().always(function(){delete p.elem}),p=function(){if(a)return!1;for(var t=P||ve(),t=Math.max(0,f.startTime+f.duration-t),e=1-(t/f.duration||0),i=0,n=f.tweens.length;i<n;i++)f.tweens[i].run(e);return h.notifyWith(o,[f,e,t]),e<1&&n?t:(n||h.notifyWith(o,[f,1,0]),h.resolveWith(o,[f]),!1)},f=h.promise({elem:o,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},e),originalProperties:t,originalOptions:e,startTime:P||ve(),duration:e.duration,tweens:[],createTween:function(t,e){e=S.Tween(o,f.opts,t,e,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(e),e},stop:function(t){var e=0,i=t?f.tweens.length:0;if(!a){for(a=!0;e<i;e++)f.tweens[e].run(1);t?(h.notifyWith(o,[f,1,0]),h.resolveWith(o,[f,t])):h.rejectWith(o,[f,t])}return this}}),m=f.props,g=m,v=f.opts.specialEasing;for(n in g)if(s=v[r=b(n)],l=g[n],Array.isArray(l)&&(s=l[1],l=g[n]=l[0]),n!==r&&(g[r]=l,delete g[n]),(c=S.cssHooks[r])&&"expand"in c)for(n in l=c.expand(l),delete g[r],l)n in g||(g[n]=l[n],v[n]=s);else v[r]=s;for(;u<d;u++)if(i=E.prefilters[u].call(f,o,m,f.opts))return y(i.stop)&&(S._queueHooks(f.elem,f.opts.queue).stop=i.stop.bind(i)),i;return S.map(m,be,f),y(f.opts.start)&&f.opts.start.call(o,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),S.fx.timer(S.extend(p,{elem:o,anim:f,queue:f.opts.queue})),f}S.Animation=S.extend(E,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return _t(i.elem,t,h.exec(e),i),i}]},tweener:function(t,e){for(var i,n=0,o=(t=y(t)?(e=t,["*"]):t.match(C)).length;n<o;n++)i=t[n],E.tweeners[i]=E.tweeners[i]||[],E.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,o,a,r,s,l,c,u="width"in e||"height"in e,d=this,h={},p=t.style,f=t.nodeType&&vt(t),m=v.get(t,"fxshow");for(n in i.queue||(null==(r=S._queueHooks(t,"fx")).unqueued&&(r.unqueued=0,s=r.empty.fire,r.empty.fire=function(){r.unqueued||s()}),r.unqueued++,d.always(function(){d.always(function(){r.unqueued--,S.queue(t,"fx").length||r.empty.fire()})})),e)if(o=e[n],fe.test(o)){if(delete e[n],a=a||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!m||void 0===m[n])continue;f=!0}h[n]=m&&m[n]||S.style(t,n)}if((l=!S.isEmptyObject(e))||!S.isEmptyObject(h))for(n in u&&1===t.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=v.get(t,"display")),"none"===(u=S.css(t,"display"))&&(c?u=c:(T([t],!0),c=t.style.display||c,u=S.css(t,"display"),T([t]))),"inline"===u||"inline-block"===u&&null!=c)&&"none"===S.css(t,"float")&&(l||(d.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block"),i.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(f=m.hidden):m=v.access(t,"fxshow",{display:c}),a&&(m.hidden=!f),f&&T([t],!0),d.done(function(){for(n in f||T([t]),v.remove(t,"fxshow"),h)S.style(t,n,h[n])})),l=be(f?m[n]:0,n,d),n in m||(m[n]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?E.prefilters.unshift(t):E.prefilters.push(t)}}),S.speed=function(t,e,i){var n=t&&"object"==typeof t?S.extend({},t):{complete:i||!i&&e||y(t)&&t,duration:t,easing:i&&e||e&&!y(e)&&e};return S.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in S.fx.speeds?n.duration=S.fx.speeds[n.duration]:n.duration=S.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&S.dequeue(this,n.queue)},n},S.fn.extend({fadeTo:function(t,e,i,n){return this.filter(vt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){function o(){var t=E(this,S.extend({},e),r);(a||v.get(this,"finish"))&&t.stop(!0)}var a=S.isEmptyObject(e),r=S.speed(t,i,n);return o.finish=o,a||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(o,t,a){function r(t){var e=t.stop;delete t.stop,e(a)}return"string"!=typeof o&&(a=t,t=o,o=void 0),t&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var t=!0,e=null!=o&&o+"queueHooks",i=S.timers,n=v.get(this);if(e)n[e]&&n[e].stop&&r(n[e]);else for(e in n)n[e]&&n[e].stop&&me.test(e)&&r(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=o&&i[e].queue!==o||(i[e].anim.stop(a),t=!1,i.splice(e,1));!t&&a||S.dequeue(this,o)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var t,e=v.get(this),i=e[r+"queue"],n=e[r+"queueHooks"],o=S.timers,a=i?i.length:0;for(e.finish=!0,S.queue(this,r,[]),n&&n.stop&&n.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===r&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),S.each(["toggle","show","hide"],function(t,n){var o=S.fn[n];S.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(ye(n,!0),t,e,i)}}),S.each({slideDown:ye("show"),slideUp:ye("hide"),slideToggle:ye("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){S.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),S.timers=[],S.fx.tick=function(){var t,e=0,i=S.timers;for(P=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||S.fx.stop(),P=void 0},S.fx.timer=function(t){S.timers.push(t),S.fx.start()},S.fx.interval=13,S.fx.start=function(){pe||(pe=!0,ge())},S.fx.stop=function(){pe=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(n,t){return n=S.fx&&S.fx.speeds[n]||n,this.queue(t=t||"fx",function(t,e){var i=x.setTimeout(t,n);e.stop=function(){x.clearTimeout(i)}})},r=k.createElement("input"),I=k.createElement("select").appendChild(k.createElement("option")),r.type="checkbox",g.checkOn=""!==r.value,g.optSelected=I.selected,(r=k.createElement("input")).value="t",r.type="radio",g.radioValue="t"===r.value;var _e,we=S.expr.attrHandle,xe=(S.fn.extend({attr:function(t,e){return d(this,S.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){S.removeAttr(this,t)})}}
1),S.extend({attr:function(t,e,i){var n,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===t.getAttribute?S.prop(t,e,i):(1===a&&S.isXMLDoc(t)||(o=S.attrHooks[e.toLowerCase()]||(S.expr.match.bool.test(e)?_e:void 0)),void 0!==i?null===i?void S.removeAttr(t,e):o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i):!(o&&"get"in o&&null!==(n=o.get(t,e)))&&null==(n=S.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){var i;if(!g.radioValue&&"radio"===e&&l(t,"input"))return i=t.value,t.setAttribute("type",e),i&&(t.value=i),e}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(C);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}),_e={set:function(t,e,i){return!1===e?S.removeAttr(t,i):t.setAttribute(i,i),i}},S.each(S.expr.match.bool.source.match(/\w+/g),function(t,e){var r=we[e]||S.find.attr;we[e]=function(t,e,i){var n,o,a=e.toLowerCase();return i||(o=we[a],we[a]=n,n=null!=r(t,e,i)?a:null,we[a]=o),n}}),/^(?:input|select|textarea|button)$/i),ke=/^(?:a|area)$/i;function z(t){return(t.match(C)||[]).join(" ")}function O(t){return t.getAttribute&&t.getAttribute("class")||""}function Se(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(C)||[]}S.fn.extend({prop:function(t,e){return d(this,S.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[S.propFix[t]||t]})}}),S.extend({prop:function(t,e,i){var n,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&S.isXMLDoc(t)||(e=S.propFix[e]||e,o=S.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=S.find.attr(t,"tabindex");return e?parseInt(e,10):xe.test(t.nodeName)||ke.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.propHooks.selected={get:function(t){t=t.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(t){t=t.parentNode;t&&(t.selectedIndex,t.parentNode)&&t.parentNode.selectedIndex}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(e){var t,i,n,o,a,r,s=0;if(y(e))return this.each(function(t){S(this).addClass(e.call(this,t,O(this)))});if((t=Se(e)).length)for(;i=this[s++];)if(r=O(i),n=1===i.nodeType&&" "+z(r)+" "){for(a=0;o=t[a++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");r!==(r=z(n))&&i.setAttribute("class",r)}return this},removeClass:function(e){var t,i,n,o,a,r,s=0;if(y(e))return this.each(function(t){S(this).removeClass(e.call(this,t,O(this)))});if(!arguments.length)return this.attr("class","");if((t=Se(e)).length)for(;i=this[s++];)if(r=O(i),n=1===i.nodeType&&" "+z(r)+" "){for(a=0;o=t[a++];)for(;-1<n.indexOf(" "+o+" ");)n=n.replace(" "+o+" "," ");r!==(r=z(n))&&i.setAttribute("class",r)}return this},toggleClass:function(o,e){var a=typeof o,r="string"==a||Array.isArray(o);return"boolean"==typeof e&&r?e?this.addClass(o):this.removeClass(o):y(o)?this.each(function(t){S(this).toggleClass(o.call(this,t,O(this),e),e)}):this.each(function(){var t,e,i,n;if(r)for(e=0,i=S(this),n=Se(o);t=n[e++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==o&&"boolean"!=a||((t=O(this))&&v.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",!t&&!1!==o&&v.get(this,"__className__")||""))})},hasClass:function(t){for(var e,i=0,n=" "+t+" ";e=this[i++];)if(1===e.nodeType&&-1<(" "+z(O(e))+" ").indexOf(n))return!0;return!1}});function Ce(t){t.stopPropagation()}var Te=/\r/g,Me=(S.fn.extend({val:function(e){var i,t,n,o=this[0];return arguments.length?(n=y(e),this.each(function(t){1===this.nodeType&&(null==(t=n?e.call(this,t,S(this).val()):e)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(t){return null==t?"":t+""})),(i=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):o?(i=S.valHooks[o.type]||S.valHooks[o.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(o,"value"))?t:"string"==typeof(t=o.value)?t.replace(Te,""):null==t?"":t:void 0}}),S.extend({valHooks:{option:{get:function(t){var e=S.find.attr(t,"value");return null!=e?e:z(S.text(t))}},select:{get:function(t){for(var e,i=t.options,n=t.selectedIndex,o="select-one"===t.type,a=o?null:[],r=o?n+1:i.length,s=n<0?r:o?n:0;s<r;s++)if(((e=i[s]).selected||s===n)&&!e.disabled&&(!e.parentNode.disabled||!l(e.parentNode,"optgroup"))){if(e=S(e).val(),o)return e;a.push(e)}return a}
vendor: 9,764 bytes, line 1
1,set:function(t,e){for(var i,n,o=t.options,a=S.makeArray(e),r=o.length;r--;)((n=o[r]).selected=-1<S.inArray(S.valHooks.option.get(n),a))&&(i=!0);return i||(t.selectedIndex=-1),a}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<S.inArray(S(t).val(),e)}},g.checkOn||(S.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),g.focusin="onfocusin"in x,/^(?:focusinfocus|focusoutblur)$/),Ae=(S.extend(S.event,{trigger:function(t,e,i,n){var o,a,r,s,l,c,u,d=[i||k],h=H.call(t,"type")?t.type:t,p=H.call(t,"namespace")?t.namespace.split("."):[],f=u=a=i=i||k;if(3!==i.nodeType&&8!==i.nodeType&&!Me.test(h+S.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),s=h.indexOf(":")<0&&"on"+h,(t=t[S.expando]?t:new S.Event(h,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:S.makeArray(e,[t]),c=S.event.special[h]||{},n||!c.trigger||!1!==c.trigger.apply(i,e))){if(!n&&!c.noBubble&&!m(i)){for(r=c.delegateType||h,Me.test(r+h)||(f=f.parentNode);f;f=f.parentNode)d.push(f),a=f;a===(i.ownerDocument||k)&&d.push(a.defaultView||a.parentWindow||x)}for(o=0;(f=d[o++])&&!t.isPropagationStopped();)u=f,t.type=1<o?r:c.bindType||h,(l=(v.get(f,"events")||{})[t.type]&&v.get(f,"handle"))&&l.apply(f,e),(l=s&&f[s])&&l.apply&&pt(f)&&(t.result=l.apply(f,e),!1===t.result)&&t.preventDefault();return t.type=h,n||t.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),e)||!pt(i)||s&&y(i[h])&&!m(i)&&((a=i[s])&&(i[s]=null),S.event.triggered=h,t.isPropagationStopped()&&u.addEventListener(h,Ce),i[h](),t.isPropagationStopped()&&u.removeEventListener(h,Ce),S.event.triggered=void 0,a)&&(i[s]=a),t.result}},simulate:function(t,e,i){i=S.extend(new S.Event,i,{type:t,isSimulated:!0});S.event.trigger(i,null,e)}}),S.fn.extend({trigger:function(t,e){return this.each(function(){S.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return S.event.trigger(t,e,i,!0)}}),g.focusin||S.each({focus:"focusin",blur:"focusout"},function(i,n){function o(t){S.event.simulate(n,t.target,S.event.fix(t))}S.event.special[n]={setup:function(){var t=this.ownerDocument||this,e=v.access(t,n);e||t.addEventListener(i,o,!0),v.access(t,n,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=v.access(t,n)-1;e?v.access(t,n,e):(t.removeEventListener(i,o,!0),v.remove(t,n))}}}),x.location),Le=Date.now(),De=/\?/,Pe=(S.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new x.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+t),e},/\[\]$/),Ie=/\r?\n/g,Ee=/^(?:submit|button|image|reset|file)$/i,ze=/^(?:input|select|textarea|keygen)/i;S.param=function(t,e){function i(t,e){e=y(e)?e():e,o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==e?"":e)}var n,o=[];if(null==t)return"";if(Array.isArray(t)||t.jquery&&!S.isPlainObject(t))S.each(t,function(){i(this.name,this.value)});else for(n in t)!function i(n,t,o,a){if(Array.isArray(t))S.each(t,function(t,e){o||Pe.test(n)?a(n,e):i(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,o,a)});else if(o||"object"!==f(t))a(n,t);else for(var e in t)i(n+"["+e+"]",t[e],o,a)}(n,t[n],e,i);return o.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=S.prop(this,"elements");return t?S.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!S(this).is(":disabled")&&ze.test(this.nodeName)&&!Ee.test(t)&&(this.checked||!xt.test(t))}).map(function(t,e){var i=S(this).val();return null==i?null:Array.isArray(i)?S.map(i,function(t){return{name:e.name,value:t.replace(Ie,"\r\n")}}):{name:e.name,value:i.replace(Ie,"\r\n")}}).get()}});var Oe=/%20/g,je=/#.*$/,Ne=/([?&])_=[^&]*/,Be=/^(.*?):[ \t]*([^\r\n]*)$/gm,$e=/^(?:GET|HEAD)$/,Re=/^\/\//,We={},Fe={},He="*/".concat("*"),Ye=k.createElement("a");function Ve(a){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,o=t.toLowerCase().match(C)||[];if(y(e))for(;i=o[n++];)"+"===i[0]?(i=i.slice(1)||"*",(a[i]=a[i]||[]).unshift(e)):(a[i]=a[i]||[]).push(e)}}function Ue(e,n,o,a){var r={},s=e===Fe;function l(t){var i;return r[t]=!0,S.each(e[t]||[],function(t,e){e=e(n,o,a);return"string"!=typeof e||s||r[e]?s?!(i=e):void 0:(n.dataTypes.unshift(e),l(e),!1)}),i}return l(n.dataTypes[0])||!r["*"]&&l("*")}function qe(t,e){var i,n,o=S.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n=n||{})[i]=e[i]);return n&&S.extend(!0,t,n),t}Ye.href=Ae.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ae.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ae.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?qe(qe(t,S.ajaxSettings),e):qe(S.ajaxSettings,t)},ajaxPrefilter:Ve(We),ajaxTransport:Ve(Fe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var l,c,u,i,d,h,p,n,o,f=S.ajaxSetup({},e=e||{}),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?S(m):S.event,v=S.Deferred(),y=S.Callbacks("once memory"),b=f.statusCode||{},a={},r={},s="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(h){if(!i)for(i={};e=Be.exec(u);)i[e[1].toLowerCase()+" "]=(i[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=i[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?u:null},setRequestHeader:function(t,e){return null==h&&(t=r[t.toLowerCase()]=r[t.toLowerCase()]||t,a[t]=e),this},overrideMimeType:function(t){return null==h&&(f.mimeType=t),this},statusCode:function(t){if(t)if(h)_.always(t[_.status]);else for(var e in t)b[e]=[b[e],t[e]];return this},abort:function(t){t=t||s;return l&&l.abort(t),w(0,t),this}};if(v.promise(_),f.url=((t||f.url||Ae.href)+"").replace(Re,Ae.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(C)||[""],null==f.crossDomain){o=k.createElement("a");try{o.href=f.url,o.href=o.href,f.crossDomain=Ye.protocol+"//"+Ye.host!=o.protocol+"//"+o.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=S.param(f.data,f.traditional)),Ue(We,f,e,_),!h){for(n in(p=S.event&&f.global)&&0==S.active++&&S.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!$e.test(f.type),c=f.url.replace(je,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Oe,"+")):(o=f.url.slice(c.length),f.data&&(f.processData||"string"==typeof f.data)&&(c+=(De.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(c=c.replace(Ne,"$1"),o=(De.test(c)?"&":"?")+"_="+Le+++o),f.url=c+o),f.ifModified&&(S.lastModified[c]&&_.setRequestHeader("If-Modified-Since",S.lastModified[c]),S.etag[c])&&_.setRequestHeader("If-None-Match",S.etag[c]),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&_.setRequestHeader("Content-Type",f.contentType),_.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+He+"; q=0.01":""):f.accepts["*"]),f.headers)_.setRequestHeader(n,f.headers[n]);if(f.beforeSend&&(!1===f.beforeSend.call(m,_,f)||h))return _.abort();if(s="abort",y.add(f.complete),_.done(f.success),_.fail(f.error),l=Ue(Fe,f,e,_)){if(_.readyState=1,p&&g.trigger("ajaxSend",[_,f]),h)return _;f.async&&0<f.timeout&&(d=x.setTimeout(function(){_.abort("timeout")},f.timeout));try{h=!1,l.send(a,w)}catch(t){if(h)throw t;w(-1,t)}}else w(-1,"No Transport")}return _;function w(t,e,i,n){var o,a,r,s=e;h||(h=!0,d&&x.clearTimeout(d),l=void 0,u=n||"",_.readyState=0<t?4:0,n=200<=t&&t<300||304===t,i&&(r=((t,e,i)=>{for(var n,o,a,r,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(o in s)if(s[o]&&s[o].test(n)){l.unshift(o);break}if(l[0]in i)a=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){a=o;break}r=r||o}a=a||r}if(a)return a!==l[0]&&l.unshift(a),i[a]})(f,_,i)),r=((t,e,i,n)=>{var o,a,r,s,l,c={},u=t.dataTypes.slice();if(u[1])for(r in t.converters)c[r.toLowerCase()]=t.converters[r];for(a=u.shift();a;)if(t.responseFields[a]&&(i[t.responseFields[a]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(r=c[l+" "+a]||c["* "+a]))for(o in c)if((s=o.split(" "))[1]===a&&(r=c[l+" "+s[0]]||c["* "+s[0]])){!0===r?r=c[o]:!0!==c[o]&&(a=s[0],u.unshift(s[1]));break}if(!0!==r)if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+l+" to "+a}}}return{state:"success",data:e}})(f,r,_,n),n?(f.ifModified&&((i=_.getResponseHeader("Last-Modified"))&&(S.lastModified[c]=i),i=_.getResponseHeader("etag"))&&(S.etag[c]=i),204===t||"HEAD"===f.type?s="nocontent":304===t?s="notmodified":(s=r.state,o=r.data,n=!(a=r.error))):(a=s,!t&&s||(s="error",t<0&&(t=0))),_.status=t,_.statusText=(e||s)+"",n?v.resolveWith(m,[o,s,_]):v.rejectWith(m,[_,s,a]),_.statusCode(b),b=void 0,p&&g.trigger(n?"ajaxSuccess":"ajaxError",[_,f,n?o:a]),y.fireWith(m,[_,s]),p&&(g.trigger("ajaxComplete",[_,f]),--S.active||S.event.trigger("ajaxStop")))}}
vendor: 4,224 bytes, line 1
1,getJSON:function(t,e,i){return S.get(t,e,i,"json")},getScript:function(t,e){return S.get(t,void 0,e,"script")}}),S.each(["get","post"],function(t,o){S[o]=function(t,e,i,n){return y(e)&&(n=n||i,i=e,e=void 0),S.ajax(S.extend({url:t,type:o,dataType:n,data:e,success:i},S.isPlainObject(t)&&t))}}),S._evalUrl=function(t,e){return S.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){S.globalEval(t,e)}})},S.fn.extend({wrapAll:function(t){return this[0]&&(y(t)&&(t=t.call(this[0])),t=S(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(i){return y(i)?this.each(function(t){S(this).wrapInner(i.call(this,t))}):this.each(function(){var t=S(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=y(e);return this.each(function(t){S(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(t){return!S.expr.pseudos.visible(t)},S.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch(t){}};var Ze={0:200,1223:204},Ge=S.ajaxSettings.xhr();g.cors=!!Ge&&"withCredentials"in Ge,g.ajax=Ge=!!Ge,S.ajaxTransport(function(o){var a,r;if(g.cors||Ge&&!o.crossDomain)return{send:function(t,e){var i,n=o.xhr();if(n.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(i in o.xhrFields)n[i]=o.xhrFields[i];for(i in o.mimeType&&n.overrideMimeType&&n.overrideMimeType(o.mimeType),o.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)n.setRequestHeader(i,t[i]);a=function(t){return function(){a&&(a=r=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===t?n.abort():"error"===t?"number"!=typeof n.status?e(0,"error"):e(n.status,n.statusText):e(Ze[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=a(),r=n.onerror=n.ontimeout=a("error"),void 0!==n.onabort?n.onabort=r:n.onreadystatechange=function(){4===n.readyState&&x.setTimeout(function(){a&&r()})},a=a("abort");try{n.send(o.hasContent&&o.data||null)}catch(t){if(a)throw t}},abort:function(){a&&a()}}}),S.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return S.globalEval(t),t}}}),S.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),S.ajaxTransport("script",function(i){var n,o;if(i.crossDomain||i.scriptAttrs)return{send:function(t,e){n=S("<script>").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",o=function(t){n.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),k.head.appendChild(n[0])},abort:function(){o&&o()}}});var Xe=[],Qe=/(=)\?(?=&|$)|\?\?/,Je=(S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Xe.pop()||S.expando+"_"+Le++;return this[t]=!0,t}}),S.ajaxPrefilter("json jsonp",function(t,e,i){var n,o,a,r=!1!==t.jsonp&&(Qe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qe.test(t.data)&&"data");if(r||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,r?t[r]=t[r].replace(Qe,"$1"+n):!1!==t.jsonp&&(t.url+=(De.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return a||S.error(n+" was not called"),a[0]},t.dataTypes[0]="json",o=x[n],x[n]=function(){a=arguments},i.always(function(){void 0===o?S(x).removeProp(n):x[n]=o,t[n]&&(t.jsonpCallback=e.jsonpCallback,Xe.push(n)),a&&y(o)&&o(a[0]),a=o=void 0}),"script"}),g.createHTMLDocument=((t=k.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>
1",2===t.childNodes.length),S.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(g.createHTMLDocument?((n=(e=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,e.head.appendChild(n)):e=k),n=!i&&[],(i=J.exec(t))?[e.createElement(i[1])]:(i=Mt([t],e,n),n&&n.length&&S(n).remove(),S.merge([],i.childNodes)));var n},S.fn.load=function(t,e,i){var n,o,a,r=this,s=t.indexOf(" ");return-1<s&&(n=z(t.slice(s)),t=t.slice(0,s)),y(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<r.length&&S.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){a=arguments,r.html(n?S("<div>").append(S.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,a||[t.responseText,e,t])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){S.fn[e]=function(t){return this.on(e,t)}}),S.expr.pseudos.animated=function(e){return S.grep(S.timers,function(t){return e===t.elem}).length},S.offset={setOffset:function(t,e,i){var n,o,a,r,s=S.css(t,"position"),l=S(t),c={};"static"===s&&(t.style.position="relative"),a=l.offset(),n=S.css(t,"top"),r=S.css(t,"left"),s=("absolute"===s||"fixed"===s)&&-1<(n+r).indexOf("auto")?(o=(s=l.position()).top,s.left):(o=parseFloat(n)||0,parseFloat(r)||0),null!=(e=y(e)?e.call(t,i,S.extend({},a)):e).top&&(c.top=e.top-a.top+o),null!=e.left&&(c.left=e.left-a.left+s),"using"in e?e.using.call(t,c):l.css(c)}},S.fn.extend({offset:function(e){var t,i;return arguments.length?void 0===e?this:this.each(function(t){S.offset.setOffset(this,e,t)}):(i=this[0])?i.getClientRects().length?(t=i.getBoundingClientRect(),i=i.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===S.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===S.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=S(t).offset()).top+=S.css(t,"borderTopWidth",!0),o.left+=S.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-S.css(n,"marginTop",!0),left:e.left-o.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||_})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var a="pageYOffset"===o;S.fn[e]=function(t){return d(this,function(t,e,i){var n;if(m(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i)return n?n[o]:t[e];n?n.scrollTo(a?n.pageXOffset:i,a?i:n.pageYOffset):t[e]=i},e,t,arguments.length)}}),S.each(["top","left"],function(t,i){S.cssHooks[i]=Kt(g.pixelPosition,function(t,e){if(e)return e=Jt(t,i),Xt.test(e)?S(t).position()[i]+"px":e})}),S.each({Height:"height",Width:"width"},function(r,s){S.each({padding:"inner"+r,content:s,"":"outer"+r},function(n,a){S.fn[a]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),o=n||(!0===t||!0===e?"margin":"border");return d(this,function(t,e,i){var n;return m(t)?0===a.indexOf("outer")?t["inner"+r]:t.document.documentElement["client"+r]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+r],n["scroll"+r],t.body["offset"+r],n["offset"+r],n["client"+r])):void 0===i?S.css(t,e,o):S.style(t,e,i,o)},s,i?t:void 0,i)}})}),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(t,i){S.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),S.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),S.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}}),S.proxy=function(t,e){var i,n;if("string"==typeof e&&(n=t[e],e=t,t=n),y(t))return i=s.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(s.call(arguments)))}).guid=t.guid=t.guid||S.guid++,n},S.holdReady=function(t){t?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=l,S.isFunction=y,S.isWindow=m,S.camelCase=b,S.type=f,S.now=Date.now,S.isNumeric=function(t){var e=S.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S}),x.jQuery),Ke=x.$;return S.noConflict=function(t){return x.$===S&&(x.$=Ke),t&&x.jQuery===S&&(x.jQuery=Je),S},j||(x.jQuery=x.$=S),S}),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e((()=>{try{return require("moment")}catch(t){}})()):"function"==typeof define&&define.amd?define(["require"],function(t){return e((()=>{try{return t("moment")}catch(t){}})())}):(t=t||self).Chart=e(t.moment)})(this,function(n){n=n&&n.hasOwnProperty("default")?n.default:n;var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
1ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},c=(t=>{var e,i=t={exports:{}},s={};for(e in l)l.hasOwnProperty(e)&&(s[l[e]]=e);var n,o=i.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(n in o)if(o.hasOwnProperty(n)){if(!("channels"in o[n]))throw new Error("missing channels property: "+n);if(!("labels"in o[n]))throw new Error("missing channel labels property: "+n);if(o[n].labels.length!==o[n].channels)throw new Error("channel and label counts mismatch: "+n);var a=o[n].channels,r=o[n].labels;delete o[n].channels,delete o[n].labels,Object.defineProperty(o[n],"channels",{value:a}),Object.defineProperty(o[n],"labels",{value:r})}return o.rgb.hsl=function(t){var e,i=t[0]/255,n=t[1]/255,t=t[2]/255,o=Math.min(i,n,t),a=Math.max(i,n,t),r=a-o;return a===o?e=0:i===a?e=(n-t)/r:n===a?e=2+(t-i)/r:t===a&&(e=4+(i-n)/r),(e=Math.min(60*e,360))<0&&(e+=360),t=(o+a)/2,[e,100*(a===o?0:t<=.5?r/(a+o):r/(2-a-o)),100*t]},o.rgb.hsv=function(t){function e(t){return(c-t)/6/u+.5}var i,n,o,a,r,s=t[0]/255,l=t[1]/255,t=t[2]/255,c=Math.max(s,l,t),u=c-Math.min(s,l,t);return 0==u?a=r=0:(r=u/c,i=e(s),n=e(l),o=e(t),s===c?a=o-n:l===c?a=1/3+i-o:t===c&&(a=2/3+n-i),a<0?a+=1:1<a&&--a),[360*a,100*r,100*c]},o.rgb.hwb=function(t){var e=t[0],i=t[1],n=t[2];return[o.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(i,n))*100,100*(1-1/255*Math.max(e,Math.max(i,n)))]},o.rgb.cmyk=function(t){var e=t[0]/255,i=t[1]/255,t=t[2]/255;return[100*((1-e-(e=Math.min(1-e,1-i,1-t)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-t-e)/(1-e)||0),100*e]},o.rgb.keyword=function(t){var e=s[t];if(e)return e;var i,n,o,a,r=1/0;for(o in l)l.hasOwnProperty(o)&&(a=t,n=l[o],(a=Math.pow(a[0]-n[0],2)+Math.pow(a[1]-n[1],2)+Math.pow(a[2]-n[2],2))<r)&&(r=a,i=o);return i},o.keyword.rgb=function(t){return l[t]},o.rgb.xyz=function(t){var e=t[0]/255,i=t[1]/255,t=t[2]/255;return[100*(.4124*(e=.04045<e?Math.pow((.055+e)/1.055,2.4):e/12.92)+.3576*(i=.04045<i?Math.pow((.055+i)/1.055,2.4):i/12.92)+.1805*(t=.04045<t?Math.pow((.055+t)/1.055,2.4):t/12.92)),100*(.2126*e+.7152*i+.0722*t),100*(.0193*e+.1192*i+.9505*t)]},o.rgb.lab=function(t){var t=o.rgb.xyz(t),e=t[0],i=t[1],t=t[2];return i/=100,t/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(.008856<t?Math.pow(t,1/3):7.787*t+16/116))]},o.hsl.rgb=function(t){var e,i,n,o=t[0]/360,a=t[1]/100,t=t[2]/100;if(0==a)return[n=255*t,n,n];for(var r=2*t-(e=t<.5?t*(1+a):t+a-t*a),s=[0,0,0],l=0;l<3;l++)(i=o+1/3*-(l-1))<0&&i++,1<i&&i--,s[l]=255*(n=6*i<1?r+6*(e-r)*i:2*i<1?e:3*i<2?r+(e-r)*(2/3-i)*6:r);return s},o.hsl.hsv=function(t){var e=t[0],i=t[1]/100,t=t[2]/100,n=i,o=Math.max(t,.01);return i*=(t*=2)<=1?t:2-t,n*=o<=1?o:2-o,[e,100*(0==t?2*n/(o+n):2*i/(t+i)),(t+i)/2*100]},o.hsv.rgb=function(t){var e=t[0]/60,i=t[1]/100,n=t[2]/100,t=Math.floor(e)%6,e=e-Math.floor(e),o=255*n*(1-i),a=255*n*(1-i*e),r=255*n*(1-i*(1-e));switch(n*=255,t){case 0:return[n,r,o];case 1:return[a,n,o];case 2:return[o,n,r];case 3:return[o,a,n];case 4:return[r,o,n];case 5:return[n,o,a]}},o.hsv.hsl=function(t){var e=t[0],i=t[1]/100,t=t[2]/100,n=Math.max(t,.01),t=(2-i)*t;return[e,100*(i*n/((e=(2-i)*n)<=1?e:2-e)||0),100*(t/=2)]},o.hwb.rgb=function(t){var e,i,n,o,a,r=t[0]/360,s=t[1]/100,t=t[2]/100,l=s+t;switch(1<l&&(s/=l,t/=l),r=6*r-(l=Math.floor(6*r)),i=s+(r=0!=(1&l)?1-r:r)*((e=1-t)-s),l){default:case 6:case 0:n=e,o=i,a=s;break;case 1:n=i,o=e,a=s;break;case 2:n=s,o=e,a=i;break;case 3:n=s,o=i,a=e;break;case 4:n=i,o=s,a=e;break;case 5:n=e,o=s,a=i}return[255*n,255*o,255*a]},o.cmyk.rgb=function(t){var e=t[0]/100,i=t[1]/100,n=t[2]/100,t=t[3]/100;return[255*(1-Math.min(1,e*(1-t)+t)),255*(1-Math.min(1,i*(1-t)+t)),255*(1-Math.min(1,n*(1-t)+t))]},o.xyz.rgb=function(t){var e=t[0]/100,i=t[1]/100,t=t[2]/100,n=-.9689*e+1.8758*i+.0415*t,o=.0557*e+-.204*i+1.057*t,e=.0031308<(e=3.2406*e+-1.5372*i+-.4986*t)?1.055*Math.pow(e,1/2.4)-.055:12.92*e;return n=.0031308<n?1.055*Math.pow(n,1/2.4)-.055:12.92*n,o=.0031308<o?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*Math.min(Math.max(0,e),1),255*Math.min(Math.max(0,n),1),255*Math.min(Math.max(0,o),1)]},o.xyz.lab=function(t){var e=t[0],i=t[1],t=t[2];return i/=100,t/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(.008856<t?Math.pow(t,1/3):7.787*t+16/116))]},o.lab.xyz=function(t){var e=t[0],i=t[1]/500+(e=(e+16)/116),t=e-t[2]/200,n=Math.pow(e,3),o=Math.pow(i,3),a=Math.pow(t,3),e=.008856<n?n:(e-16/116)/7.787;return i=.008856<o?o:(i-16/116)/7.787,t=.008856<a?a:(t-16/116)/7.787,[i*=95.047,e*=100,t*=108.883]},o.lab.lch=function(t){var e,i=t[0],n=t[1],t=t[2];return(e=360*Math.atan2(t,n)/2/Math.PI)<0&&(e+=360),[i,Math.sqrt(n*n+t*t),e]},o.lch.lab=function(t){var e=t[0],i=t[1],t=t[2]/360*2*Math.PI;
1return[e,i*Math.cos(t),i*Math.sin(t)]},o.rgb.ansi16=function(t){var e=t[0],i=t[1],n=t[2],t=1 in arguments?arguments[1]:o.rgb.hsv(t)[2];return 0===(t=Math.round(t/50))?30:(n=30+(Math.round(n/255)<<2|Math.round(i/255)<<1|Math.round(e/255)),2===t&&(n+=60),n)},o.hsv.ansi16=function(t){return o.rgb.ansi16(o.hsv.rgb(t),t[2])},o.rgb.ansi256=function(t){var e=t[0],i=t[1],t=t[2];return e===i&&i===t?e<8?16:248<e?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(t/255*5)},o.ansi16.rgb=function(t){var e=t%10;return 0===e||7===e?(50<t&&(e+=3.5),[e=e/10.5*255,e,e]):[(1&e)*(t=.5*(1+~~(50<t)))*255,(e>>1&1)*t*255,(e>>2&1)*t*255]},o.ansi256.rgb=function(t){var e;return 232<=t?[e=10*(t-232)+8,e,e]:(t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255])},o.rgb.hex=function(t){t=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(t){var e,t=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);return t?(e=t[0],3===t[0].length&&(e=e.split("").map(function(t){return t+t}).join("")),[(t=parseInt(e,16))>>16&255,t>>8&255,255&t]):[0,0,0]},o.rgb.hcg=function(t){var e=t[0]/255,i=t[1]/255,t=t[2]/255,n=Math.max(Math.max(e,i),t),o=Math.min(Math.min(e,i),t),a=n-o;return[360*((a<=0?0:n===e?(i-t)/a%6:n===i?2+(t-e)/a:4+(e-i)/a+4)/6%1),100*a,100*(a<1?o/(1-a):0)]},o.hsl.hcg=function(t){var e=t[1]/100,i=t[2]/100,n=0;return(e=i<.5?2*e*i:2*e*(1-i))<1&&(n=(i-.5*e)/(1-e)),[t[0],100*e,100*n]},o.hsv.hcg=function(t){var e=t[1]/100,i=t[2]/100,e=e*i,i=e<1?(i-e)/(1-e):0;return[t[0],100*e,100*i]},o.hcg.rgb=function(t){var e=t[0]/360,i=t[1]/100,t=t[2]/100;if(0==i)return[255*t,255*t,255*t];var n=[0,0,0],e=e%1*6,o=e%1,a=1-o;switch(Math.floor(e)){case 0:n[0]=1,n[1]=o,n[2]=0;break;case 1:n[0]=a,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=o;break;case 3:n[0]=0,n[1]=a,n[2]=1;break;case 4:n[0]=o,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=a}return[255*(i*n[0]+(e=(1-i)*t)),255*(i*n[1]+e),255*(i*n[2]+e)]},o.hcg.hsv=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e),e=0<i?e/i:0;return[t[0],100*e,100*i]},o.hcg.hsl=function(t){var e=t[1]/100,i=t[2]/100*(1-e)+.5*e,n=0;return 0<i&&i<.5?n=e/(2*i):.5<=i&&i<1&&(n=e/(2*(1-i))),[t[0],100*n,100*i]},o.hcg.hwb=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},o.hwb.hcg=function(t){var e=t[1]/100,i=1-t[2]/100,e=i-e,i=e<1?(i-e)/(1-e):0;return[t[0],100*e,100*i]},o.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},o.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},o.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},o.gray.hsl=o.gray.hsv=function(t){return[0,0,t[0]]},o.gray.hwb=function(t){return[0,100,t[0]]},o.gray.cmyk=function(t){return[0,0,0,t[0]]},o.gray.lab=function(t){return[t[0],0,0]},o.gray.hex=function(t){t=255&Math.round(t[0]/100*255),t=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]},t.exports})();function O(t){var e=(()=>{for(var t={},e=Object.keys(c),i=e.length,n=0;n<i;n++)t[e[n]]={distance:-1,parent:null};return t})(),i=[t];for(e[t].distance=0;i.length;)for(var n=i.pop(),o=Object.keys(c[n]),a=o.length,r=0;r<a;r++){var s=o[r],l=e[s];-1===l.distance&&(l.distance=e[n].distance+1,l.parent=n,i.unshift(s))}return e}function j(t,e){for(var i=[e[t].parent,t],n=c[e[t].parent][t],o=e[t].parent;e[o].parent;)i.unshift(e[o].parent),n=((e,i)=>function(t){return i(e(t))})(c[e[o].parent][o],n),o=e[o].parent;return n.conversion=i,n}c.rgb;var N={},B=(Object.keys(c).forEach(function(r){N[r]={},Object.defineProperty(N[r],"channels",{value:c[r].channels}),Object.defineProperty(N[r],"labels",{value:c[r].labels});var s=(()=>{for(var t=O(r),e={},i=Object.keys(t),n=i.length,o=0;o<n;o++){var a=i[o];null!==t[a].parent&&(e[a]=j(a,t))}return e})();Object.keys(s).forEach(function(t){var e,o,i=s[t];function n(t){return null==t?t:(1<arguments.length&&(t=Array.prototype.slice.call(arguments)),e(t))}function a(t){if(null==t)return t;1<arguments.length&&(t=Array.prototype.slice.call(arguments));var e=o(t);if("object"==typeof e)for(var i=e.length,n=0;n<i;n++)e[n]=Math.round(e[n]);return e}N[r][t]=("conversion"in(o=i)&&(a.conversion=o.conversion),a),N[r][t].raw=("conversion"in(e=i)&&(n.conversion=e.conversion),n)})}),N),$={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
1ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i={getRgba:R,getHsla:W,getRgb:function(t){t=R(t);return t&&t.slice(0,3)},getHsl:function(t){t=W(t);return t&&t.slice(0,3)},getHwb:H,getAlpha:function(t){var e=R(t);return(e=(e=e||W(t))||H(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+q(t[0])+q(t[1])+q(t[2])+(0<=e&&e<1?q(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?Y(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:Y,percentString:function(t,e){return e<1||t[3]&&t[3]<1?V(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:V,hslString:function(t,e){return e<1||t[3]&&t[3]<1?U(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:U,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return G[t.slice(0,3)]}};function R(t){if(t){var e=[0,0,0],i=1,n=t.match(/^#([a-fA-F0-9]{3,4})$/i),o="";if(n){for(var o=(n=n[1])[3],a=0;a<e.length;a++)e[a]=parseInt(n[a]+n[a],16);o&&(i=Math.round(parseInt(o+o,16)/255*100)/100)}else if(n=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(o=n[2],n=n[1],a=0;a<e.length;a++)e[a]=parseInt(n.slice(2*a,2*a+2),16);o&&(i=Math.round(parseInt(o,16)/255*100)/100)}else if(n=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=parseInt(n[a+1]);i=parseFloat(n[4])}else if(n=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=Math.round(2.55*parseFloat(n[a+1]));i=parseFloat(n[4])}else if(n=t.match(/(\w+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(e=$[n[1]]))return}for(a=0;a<e.length;a++)e[a]=r(e[a],0,255);return i=i||0==i?r(i,0,1):1,e[3]=i,e}}function W(t){if(t){var e,t=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t)return e=parseFloat(t[4]),[r(parseInt(t[1]),0,360),r(parseFloat(t[2]),0,100),r(parseFloat(t[3]),0,100),r(isNaN(e)?1:e,0,1)]}}function H(t){if(t){var e,t=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t)return e=parseFloat(t[4]),[r(parseInt(t[1]),0,360),r(parseFloat(t[2]),0,100),r(parseFloat(t[3]),0,100),r(isNaN(e)?1:e,0,1)]}}function Y(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function V(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function U(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function r(t,e,i){return Math.min(Math.max(e,t),i)}function q(t){t=t.toString(16).toUpperCase();return t.length<2?"0"+t:t}var Z,G={};for(Z in $)G[$[Z]]=Z;function s(t){return t instanceof s?t:this instanceof s?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=i.getRgba(t))?this.setValues("rgb",e):(e=i.getHsla(t))?this.setValues("hsl",e):(e=i.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new s(t);var e}(s.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])}
vendor: 4,779 bytes, line 1
1,alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t=t&&((t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],i=0;i<t.length;i++){var n=t[i]/255;e[i]=n<=.03928?n/12.92:Math.pow((.055+n)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),t=t.luminosity();return t<e?(e+.05)/(t+.05):(t+.05)/(e+.05)},level:function(t){t=this.contrast(t);return 7.1<=t?"AAA":4.5<=t?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,t=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,t=(e[0]+t)%360;return e[0]=t<0?360+t:t,this.setValues("hsl",e),this},mix:function(t,e){var e=void 0===e?.5:e,i=2*e-1,n=this.alpha()-t.alpha(),i=(1+(i*n==-1?i:(i+n)/(1+i*n)))/2,n=1-i;return this.rgb(i*this.red()+n*t.red(),i*this.green()+n*t.green(),i*this.blue()+n*t.blue()).alpha(this.alpha()*e+t.alpha()*(1-e))},toJSON:function(){return this.rgb()},clone:function(){var t,e,i,n=new s,o=this.values,a=n.values;for(i in o)o.hasOwnProperty(i)&&(t=o[i],"[object Array]"===(e={}.toString.call(t))?a[i]=t.slice(0):"[object Number]"===e?a[i]=t:console.error("unexpected color value:",t));return n}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},s.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},s.prototype.getValues=function(t){for(var e=this.values,i={},n=0;n<t.length;n++)i[t.charAt(n)]=e[t][n];return 1!==e.alpha&&(i.a=e.alpha),i},s.prototype.setValues=function(t,e){var i,n,o=this.values,a=this.spaces,r=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)o[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(c=0;c<t.length;c++)o[t][c]=e[t.charAt(c)];s=e.a}else if(void 0!==e[a[t][0]]){for(var l=a[t],c=0;c<t.length;c++)o[t][c]=e[l[c]];s=e.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===s?o.alpha:s)),"alpha"===t)return!1;for(c=0;c<t.length;c++)i=Math.max(0,Math.min(r[t][c],o[t][c])),o[t][c]=Math.round(i);for(n in a)n!==t&&(o[n]=B[t][n](o[t]));return!0},s.prototype.setSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i),this)}
1,s.prototype.setChannel=function(t,e,i){var n=this.values[t];return void 0===i?n[e]:(i===n[e]||(n[e]=i,this.setValues(t,n)),this)},"undefined"!=typeof window&&(window.Color=s);var X=s;function Q(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function J(t){F.extend(this,t),this.initialize.apply(this,arguments)}var K,u={noop:function(){},uid:(K=0,function(){return K++}),isNullOrUndef:function(t){return null==t},isArray:function(t){return!(!Array.isArray||!Array.isArray(t))||"[object"===(t=Object.prototype.toString.call(t)).substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,i){return u.valueOrDefault(u.isArray(t)?t[e]:t,i)},callback:function(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)},each:function(t,e,i,n){var o,a,r;if(u.isArray(t))if(a=t.length,n)for(o=a-1;0<=o;o--)e.call(i,t[o],o);else for(o=0;o<a;o++)e.call(i,t[o],o);else if(u.isObject(t))for(a=(r=Object.keys(t)).length,o=0;o<a;o++)e.call(i,t[r[o]],r[o])},arrayEquals:function(t,e){var i,n,o,a;if(!t||!e||t.length!==e.length)return!1;for(i=0,n=t.length;i<n;++i)if(o=t[i],a=e[i],o instanceof Array&&a instanceof Array){if(!u.arrayEquals(o,a))return!1}else if(o!==a)return!1;return!0},clone:function(t){if(u.isArray(t))return t.map(u.clone);if(u.isObject(t)){for(var e=Object.create(t),i=Object.keys(t),n=i.length,o=0;o<n;++o)e[i[o]]=u.clone(t[i[o]]);return e}return t},_merger:function(t,e,i,n){var o;Q(t)&&(o=e[t],i=i[t],u.isObject(o)&&u.isObject(i)?u.merge(o,i,n):e[t]=u.clone(i))},_mergerIf:function(t,e,i){var n;Q(t)&&(n=e[t],i=i[t],u.isObject(n)&&u.isObject(i)?u.mergeIf(n,i):e.hasOwnProperty(t)||(e[t]=u.clone(i)))},merge:function(t,e,i){var n,o,a,r,s,l=u.isArray(e)?e:[e],c=l.length;if(u.isObject(t))for(n=(i=i||{}).merger||u._merger,o=0;o<c;++o)if(e=l[o],u.isObject(e))for(s=0,r=(a=Object.keys(e)).length;s<r;++s)n(a[s],t,e,i);return t},mergeIf:function(t,e){return u.merge(t,e,{merger:u._mergerIf})},extend:Object.assign||function(t){return u.merge(t,[].slice.call(arguments,1),{merger:function(t,e,i){e[t]=i[t]}})},inherits:function(t){function e(){this.constructor=n}var i=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return i.apply(this,arguments)};return e.prototype=i.prototype,n.prototype=new e,n.extend=u.inherits,t&&u.extend(n.prototype,t),n.__super__=i.prototype,n},_deprecated:function(t,e,i,n){void 0!==e&&console.warn(t+': "'+i+'" is deprecated. Please use "'+n+'" instead')}},d=u,tt=(u.callCallback=u.callback,u.indexOf=function(t,e,i){return Array.prototype.indexOf.call(t,e,i)},u.getValueOrDefault=u.valueOrDefault,u.getValueAtIndexOrDefault=u.valueAtIndexOrDefault,{linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-(--t*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return--t*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1- --t*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i=i||.3,e=n<1?(n=1,i/4):i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t-e)/i))},easeOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i=i||.3,e=n<1?(n=1,i/4):i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:2==(t/=.5)?1:(i=i||.45,e=n<1?(n=1,i/4):i/(2*Math.PI)*Math.asin(1/n),t<1?n*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t-e)/i)*-.5:n*Math.pow(2,-10*--t)*Math.sin(2*Math.PI*(t-e)/i)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return--t*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-tt.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*tt.easeInBounce(2*t):.5*tt.easeOutBounce(2*t-1)+.5}}),t={effects:tt}
1,h=(d.easingEffects=tt,Math.PI),et=h/180,it=2*h,p=h/2,nt=h/4,ot=2*h/3,at={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,i,n,o,a){var r,s,l,c;a?(r=e+(a=Math.min(a,o/2,n/2)),l=e+n-a,c=i+o-a,t.moveTo(e,s=i+a),r<l&&s<c?(t.arc(r,s,a,-h,-p),t.arc(l,s,a,-p,0),t.arc(l,c,a,0,p),t.arc(r,c,a,p,h)):r<l?(t.moveTo(r,i),t.arc(l,s,a,-p,p),t.arc(r,s,a,p,h+p)):s<c?(t.arc(r,s,a,-h,0),t.arc(r,c,a,0,h)):t.arc(r,s,a,-h,h),t.closePath(),t.moveTo(e,i)):t.rect(e,i,n,o)},drawPoint:function(t,e,i,n,o,a){var r,s,l,c,u,d=(a||0)*et;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(r=e.toString())&&"[object HTMLCanvasElement]"!==r){if(!(isNaN(i)||i<=0)){switch(t.beginPath(),e){default:t.arc(n,o,i,0,it),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(d)*i,o-Math.cos(d)*i),d+=ot,t.lineTo(n+Math.sin(d)*i,o-Math.cos(d)*i),d+=ot,t.lineTo(n+Math.sin(d)*i,o-Math.cos(d)*i),t.closePath();break;case"rectRounded":c=i-(u=.516*i),s=Math.cos(d+nt)*c,l=Math.sin(d+nt)*c,t.arc(n-s,o-l,u,d-h,d-p),t.arc(n+l,o-s,u,d-p,d),t.arc(n+s,o+l,u,d,d+p),t.arc(n-l,o+s,u,d+p,d+h),t.closePath();break;case"rect":if(!a){c=Math.SQRT1_2*i,t.rect(n-c,o-c,2*c,2*c);break}d+=nt;case"rectRot":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+l,o-s),t.lineTo(n+s,o+l),t.lineTo(n-l,o+s),t.closePath();break;case"crossRot":d+=nt;case"cross":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+s,o+l),t.moveTo(n+l,o-s),t.lineTo(n-l,o+s);break;case"star":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+s,o+l),t.moveTo(n+l,o-s),t.lineTo(n-l,o+s),d+=nt,s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+s,o+l),t.moveTo(n+l,o-s),t.lineTo(n-l,o+s);break;case"line":s=Math.cos(d)*i,l=Math.sin(d)*i,t.moveTo(n-s,o-l),t.lineTo(n+s,o+l);break;case"dash":t.moveTo(n,o),t.lineTo(n+Math.cos(d)*i,o+Math.sin(d)*i)}t.fill(),t.stroke()}}else t.save(),t.translate(n,o),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),t.restore()},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,i,n){var o,a=i.steppedLine;a?("middle"===a?(o=(e.x+i.x)/2,t.lineTo(o,(n?i:e).y),t.lineTo(o,(n?e:i).y)):"after"===a&&!n||"after"!==a&&n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y),t.lineTo(i.x,i.y)):i.tension?t.bezierCurveTo(n?e.controlPointPreviousX:e.controlPointNextX,n?e.controlPointPreviousY:e.controlPointNextY,n?i.controlPointNextX:i.controlPointPreviousX,n?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):t.lineTo(i.x,i.y)}},e=at,o=(d.clear=at.clear,d.drawRoundedRectangle=function(t){t.beginPath(),at.roundedRect.apply(at,arguments)},{_set:function(t,e){return d.merge(this[t]||(this[t]={}),e)}}),L=(o._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0}),o),rt=d.valueOrDefault,o={toLineHeight:function(t,e){var i=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,i,n,o;return d.isObject(t)?(e=+t.top||0,i=+t.right||0,n=+t.bottom||0,o=+t.left||0):e=i=n=o=+t||0,{top:e,right:i,bottom:n,left:o,height:e+n,width:o+i}},_parseFont:function(t){var e=L.global,i=rt(t.fontSize,e.defaultFontSize),i={family:rt(t.fontFamily,e.defaultFontFamily),lineHeight:d.options.toLineHeight(rt(t.lineHeight,e.defaultLineHeight),i),size:i,style:rt(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return i.string=!(t=i)||d.isNullOrUndef(t.size)||d.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family,i},resolve:function(t,e,i,n){for(var o,a=!0,r=0,s=t.length;r<s;++r)if(void 0!==(o=t[r])&&(void 0!==e&&"function"==typeof o&&(o=o(e),a=!1),void 0!==i&&d.isArray(o)&&(o=o[i],a=!1),void 0!==o))return n&&!a&&(n.cacheable=!1),o}},a={_factorize:function(t){for(var e=[],i=Math.sqrt(t),n=1;n<i;n++)t%n==0&&(e.push(n),e.push(t/n));return i===(0|i)&&e.push(i),e.sort(function(t,e){return t-e}).pop(),e},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,i=Math.round(e);return t===Math.pow(10,i)?i:e}},f=a,F=(d.log10=a.log10,d),a=e,e=o,o=f,f=(F.easing=t,F.canvas=a,F.options=e,F.math=o,F.rtl={getRtlAdapter:function(t,e,
1i){return t?(n=e,o=i,{x:function(t){return n+n+o-t},setWidth:function(t){o=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}};var n,o},overrideTextDirection:function(t,e){var i,n;"ltr"!==e&&"rtl"!==e||(n=[(i=t.canvas.style).getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=n)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}},F.extend(J.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){return this._view||(this._view=F.extend({},this._model)),this._start={},this},transition:function(t){var e=this._model,i=this._start,n=this._view;if(e&&1!==t){for(var n=n||(this._view={}),i,o=i=i||(this._start={}),a=n,r=e,s=t,l,c,u,d,h,p=Object.keys(r),f=0,m=p.length;f<m;++f)if(u=r[l=p[f]],a.hasOwnProperty(l)||(a[l]=u),(d=a[l])!==u&&"_"!==l[0]){if(o.hasOwnProperty(l)||(o[l]=d),(d=typeof u)==typeof(c=o[l]))if("string"==d){if((d=X(c)).valid&&(h=X(u)).valid){a[l]=h.mix(d,s).rgbString();continue}}else if(F.isFinite(c)&&F.isFinite(u)){a[l]=c+(u-c)*s;continue}a[l]=u}}else this._view=F.extend({},e),this._start=null;return this},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return F.isNumber(this._model.x)&&F.isNumber(this._model.y)}}),J.extend=F.inherits,J),t=f.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),st=t,lt=(Object.defineProperty(t.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),L._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:F.noop,onComplete:F.noop}}),{animations:[],request:null,addAnimation:function(t,e,i,n){var o,a,r=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=i,n||(t.animating=!0),o=0,a=r.length;o<a;++o)if(r[o].chart===t)return void(r[o]=e);r.push(e),1===r.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=F.findIndex(this.animations,function(t){return t.chart===e});-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=F.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){this.advance(),0<this.animations.length&&this.requestAnimationFrame()},advance:function(){for(var t,e,i,n,o=this.animations,a=0;a<o.length;)e=(t=o[a]).chart,i=t.numSteps,n=Math.floor((Date.now()-t.startTime)/t.duration*i)+1,t.currentStep=Math.min(n,i),F.callback(t.render,[e,t],e),F.callback(t.onAnimationProgress,[t],e),t.currentStep>=i?(F.callback(t.onAnimationComplete,[t],e),e.animating=!1,o.splice(a,1)):++a}}),ct=F.options.resolve,ut=["push","pop","shift","splice","unshift"];function dt(e,t){var i=e._chartjs;i&&(-1!==(t=(i=i.listeners).indexOf(t))&&i.splice(t,1),0<i.length||(ut.forEach(function(t){delete e[t]}),delete e._chartjs))}function ht(t,e){this.initialize(t,e)}F.extend(ht.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements(),this._type=this.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,i=e.scales,n=this.getDataset(),e=e.options.scales;null!==t.xAxisID&&t.xAxisID in i&&!n.xAxisID||(t.xAxisID=n.xAxisID||e.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in i&&!n.yAxisID||(t.yAxisID=n.yAxisID||e.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID}
1,_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&dt(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){for(var t=this.getMeta(),e=this.getDataset().data||[],i=t.data,n=0,o=e.length;n<o;++n)i[n]=i[n]||this.createMetaData(n);t.dataset=t.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var o,t=this.getDataset(),t=t.data||(t.data=[]);this._data!==t&&(this._data&&dt(this._data,this),t&&Object.isExtensible(t)&&((o=t)._chartjs?o._chartjs.listeners.push(this):(Object.defineProperty(o,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),ut.forEach(function(t){var i="onData"+t.charAt(0).toUpperCase()+t.slice(1),n=o[t];Object.defineProperty(o,t,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),t=n.apply(this,e);return F.each(o._chartjs.listeners,function(t){"function"==typeof t[i]&&t[i].apply(t,e)}),t}})}))),this._data=t),this.resyncElements()},_configure:function(){this._config=F.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,i){"_meta"!==t&&"data"!==t&&F._merger(t,e,i)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:F.noop,transition:function(t){for(var e=this.getMeta(),i=e.data||[],n=i.length,o=0;o<n;++o)i[o].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],i=e.length,n=0;for(t.dataset&&t.dataset.draw();n<i;++n)e[n].draw()},getStyle:function(t){var e=this.getMeta(),i=e.dataset;return this._configure(),!1!==(i=i&&void 0===t?this._resolveDatasetElementOptions(i||{}):this._resolveDataElementOptions(e.data[t=t||0]||{},t)).fill&&null!==i.fill||(i.backgroundColor=i.borderColor),i},_resolveDatasetElementOptions:function(t,e){for(var i,n,o=this.chart,a=this._config,r=t.custom||{},s=o.options.elements[this.datasetElementType.prototype._type]||{},l=this._datasetElementOptions,c={},u={chart:o,dataset:this.getDataset(),datasetIndex:this.index,hover:e},d=0,h=l.length;d<h;++d)i=l[d],n=e?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,c[i]=ct([r[n],a[n],s[n]],u);return c},_resolveDataElementOptions:function(t,e){var i=t&&t.custom,t=this._cachedDataOpts;if(t&&!i)return t;var n,o,a,r,t=this.chart,s=this._config,l=t.options.elements[this.dataElementType.prototype._type]||{},c=this._dataElementOptions,u={},d={chart:t,dataIndex:e,dataset:this.getDataset(),datasetIndex:this.index},h={cacheable:!i},i=i||{};if(F.isArray(c))for(o=0,a=c.length;o<a;++o)u[r=c[o]]=ct([i[r],s[r],l[r]],d,e,h);else for(o=0,a=(n=Object.keys(c)).length;o<a;++o)u[r=n[o]]=ct([i[r],s[c[r]],s[r],l[r]],d,e,h);return h.cacheable&&(this._cachedDataOpts=Object.freeze(u)),u},removeHoverStyle:function(t){F.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,n=t.custom||{},o=t._model,a=F.getHoverColor;t.$previousStyle={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderWidth:o.borderWidth},o.backgroundColor=ct([n.hoverBackgroundColor,e.hoverBackgroundColor,a(o.backgroundColor)],void 0,i),o.borderColor=ct([n.hoverBorderColor,e.hoverBorderColor,a(o.borderColor)],void 0,i),o.borderWidth=ct([n.hoverBorderWidth,e.hoverBorderWidth,o.borderWidth],void 0,i)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,i,n,o,a,r=this.getMeta().dataset,s={};if(r){for(a=r._model,o=this._resolveDatasetElementOptions(r,!0),t=0,e=(n=Object.keys(o)).length;t<e;++t)s[i=n[t]]=a[i],a[i]=o[i];r.$previousStyle=s}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,i=t.data.length,e=e.length;e<i?t.data.splice(e,i-e):i<e&&this.insertElements(i,e-i)},insertElements:function(t,e){for(var i=0;i<e;++i)this.addElementAndReset(t+i)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),ht.extend=F.inherits;var m=ht,g=2*Math.PI;function pt(t,e){var i=e.startAngle,n=e.endAngle,o=e.pixelMargin,a=o/e.outerRadius,r=e.x,s=e.y;t.beginPath(),t.arc(r,s,e.outerRadius,i-a,n+a),e.innerRadius>o?(a=o/e.innerRadius,t.arc(r,s,e.innerRadius-o,n+a,i-a,!0)):t.arc(r,s,o,n+Math.PI/2,i-Math.PI/2),t.closePath(),t.clip()}L._set("global",{elements:{arc:{backgroundColor:L.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var a=f.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var i=this._view;if(i){for(var t=F.getAngleFromPoint(i,{x:t,y:e}),n=t.angle,e=t.distance,o=i.startAngle,a=i.endAngle;a<o;)a+=g;for(;a<n;)n-=g;for(;n<o;)n+=g;t=e>=i.innerRadius&&e<=i.outerRadius;return o<=n&&n<=a&&t}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,i=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,i=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},draw:function(){var t,e=this._chart.ctx,i=this._view,n="inner"===i.borderAlign?.33:0,o={x:i.x,y:i.y,innerRadius:i.innerRadius,outerRadius:Math.max(i.outerRadius-n,0),pixelMargin:n,startAngle:i.startAngle,endAngle:i.endAngle,fullCircles:Math.floor(i.circumference/g)};if(e.save(),e.fillStyle=i.backgroundColor,e.strokeStyle=i.borderColor,o.fullCircles){for(o.endAngle=o.startAngle+g,e.beginPath(),e.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),e.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),e.closePath(),t=0;t<o.fullCircles;++t)e.fill();o.endAngle=o.startAngle+i.circumference%g}if(e.beginPath(),e.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),e.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),e.closePath(),e.fill(),i.borderWidth){n=e;var a=o,r="inner"===i.borderAlign;if(r?(n.lineWidth=2*i.borderWidth,n.lineJoin="round"):(n.lineWidth=i.borderWidth,n.lineJoin="bevel"),a.fullCircles){var s,l=n,c=i,u=a,d=u.endAngle;
1for(r&&(u.endAngle=u.startAngle+g,pt(l,u),u.endAngle=d,u.endAngle===u.startAngle)&&u.fullCircles&&(u.endAngle+=g,u.fullCircles--),l.beginPath(),l.arc(u.x,u.y,u.innerRadius,u.startAngle+g,u.startAngle,!0),s=0;s<u.fullCircles;++s)l.stroke();for(l.beginPath(),l.arc(u.x,u.y,c.outerRadius,u.startAngle,u.startAngle+g),s=0;s<u.fullCircles;++s)l.stroke()}r&&pt(n,a),n.beginPath(),n.arc(a.x,a.y,i.outerRadius,a.startAngle,a.endAngle),n.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),n.closePath(),n.stroke()}e.restore()}}),ft=F.valueOrDefault,e=L.global.defaultColor,o=(L._set("global",{elements:{line:{tension:.4,backgroundColor:e,borderWidth:3,borderColor:e,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),f.extend({_type:"line",draw:function(){var t,e,i,n=this._view,o=this._chart.ctx,a=n.spanGaps,r=this._children.slice(),s=L.global,l=s.elements.line,c=-1,u=this._loop;if(r.length){if(this._loop){for(t=0;t<r.length;++t)if(e=F.previousItem(r,t),!r[t]._view.skip&&e._view.skip){r=r.slice(t).concat(r.slice(0,t)),u=a;break}u&&r.push(r[0])}for(o.save(),o.lineCap=n.borderCapStyle||l.borderCapStyle,o.setLineDash&&o.setLineDash(n.borderDash||l.borderDash),o.lineDashOffset=ft(n.borderDashOffset,l.borderDashOffset),o.lineJoin=n.borderJoinStyle||l.borderJoinStyle,o.lineWidth=ft(n.borderWidth,l.borderWidth),o.strokeStyle=n.borderColor||s.defaultColor,o.beginPath(),(i=r[0]._view).skip||(o.moveTo(i.x,i.y),c=0),t=1;t<r.length;++t)i=r[t]._view,e=-1===c?F.previousItem(r,t):r[c],i.skip||(c!==t-1&&!a||-1===c?o.moveTo(i.x,i.y):F.canvas.lineTo(o,e._view,i),c=t);u&&o.closePath(),o.stroke(),o.restore()}}})),mt=F.valueOrDefault,t=L.global.defaultColor;function gt(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}L._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:t,borderColor:t,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});e=f.extend({_type:"point",inRange:function(t,e){var i=this._view;return!!i&&Math.pow(t-i.x,2)+Math.pow(e-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:gt,inXRange:gt,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,i=this._chart.ctx,n=e.pointStyle,o=e.rotation,a=e.radius,r=e.x,s=e.y,l=L.global,c=l.defaultColor;e.skip||void 0!==t&&!F.canvas._isPointInArea(e,t)||(i.strokeStyle=e.borderColor||c,i.lineWidth=mt(e.borderWidth,l.elements.point.borderWidth),i.fillStyle=e.backgroundColor||c,F.canvas.drawPoint(i,n,a,r,s,o))}}),t=L.global.defaultColor;function vt(t){return t&&void 0!==t.width}function yt(t){var e,i,n,o,t=vt(t)?(o=t.width/2,e=t.x-o,i=t.x+o,n=Math.min(t.y,t.base),Math.max(t.y,t.base)):(o=t.height/2,e=Math.min(t.x,t.base),i=Math.max(t.x,t.base),n=t.y-o,t.y+o);return{left:e,top:n,right:i,bottom:t}}function bt(t,e,i){return t===e?i:t===i?e:t}function _t(t,e,i){var n=null===e,o=null===i,t=!(!t||n&&o)&&yt(t);return t&&(n||e>=t.left&&e<=t.right)&&(o||i>=t.top&&i<=t.bottom)}L._set("global",{elements:{rectangle:{backgroundColor:t,borderColor:t,borderSkipped:"bottom",borderWidth:0}}});var t=f.extend({_type:"rectangle",draw:function(){var t,e,i,n,o,a,r,s,l,c,u=this._chart.ctx,d=this._view,h=(r=yt(t=d),s=r.right-r.left,e=s/2,i=(l=r.bottom-r.top)/2,p=(t=t).borderWidth,c=t.borderSkipped,h={},c&&(t.horizontal?t.x<t.base&&(c=bt(c,"left","right")):t.base<t.y&&(c=bt(c,"bottom","top")),h[c]=!0),t=h,F.isObject(p)?(f=+p.top||0,n=+p.right||0,o=+p.bottom||0,a=+p.left||0):f=n=o=a=+p||0,c={t:t.top||f<0?0:i<f?i:f,r:t.right||n<0?0:e<n?e:n,b:t.bottom||o<0?0:i<o?i:o,l:t.left||a<0?0:e<a?e:a},{outer:{x:r.left,y:r.top,w:s,h:l},inner:{x:r.left+c.l,y:r.top+c.t,w:s-c.l-c.r,h:l-c.t-c.b}}),p=h.outer,f=h.inner;u.fillStyle=d.backgroundColor,u.fillRect(p.x,p.y,p.w,p.h),p.w===f.w&&p.h===f.h||(u.save(),u.beginPath(),u.rect(p.x,p.y,p.w,p.h),u.clip(),u.fillStyle=d.borderColor,u.re
1ct(f.x,f.y,f.w,f.h),u.fill("evenodd"),u.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return _t(this._view,t,e)},inLabelRange:function(t,e){var i=this._view;return vt(i)?_t(i,t,null):_t(i,null,e)},inXRange:function(t){return _t(this._view,t,null)},inYRange:function(t){return _t(this._view,null,t)},getCenterPoint:function(){var t,e=this._view,e=vt(e)?(t=e.x,(e.y+e.base)/2):(t=(e.x+e.base)/2,e.y);return{x:t,y:e}},getArea:function(){var t=this._view;return vt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),v={},wt=(v.Arc=a,v.Line=o,v.Point=e,v.Rectangle=t,F._deprecated),xt=F.valueOrDefault;function kt(t,e,i){var n,o=i.barThickness,a=e.stackCount,t=e.pixels[t],e=F.isNullOrUndef(o)?((t,e)=>{for(var i,n,o=t._length,a=1,r=e.length;a<r;++a)o=Math.min(o,Math.abs(e[a]-e[a-1]));for(a=0,r=t.getTicks().length;a<r;++a)n=t.getPixelForTick(a),o=0<a?Math.min(o,Math.abs(n-i)):o,i=n;return o})(e.scale,e.pixels):-1,e=F.isNullOrUndef(o)?(n=e*i.categoryPercentage,i.barPercentage):(n=o*a,1);return{chunk:n/a,ratio:e,start:t-n/2}}L._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),L._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var a=m.extend({dataElementType:v.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t;m.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0,t=this._getIndexScale().options,wt("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),wt("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),wt("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),wt("bar chart",this._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),wt("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,i,n=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,i=n.length;e<i;++e)this.updateElement(n[e],e,t)},updateElement:function(t,e,i){var n=this.getMeta(),o=this.getDataset(),a=this._resolveDataElementOptions(t,e);t._xScale=this.getScaleForId(n.xAxisID),t._yScale=this.getScaleForId(n.yAxisID),t._datasetIndex=this.index,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:this.chart.data.labels[e]},F.isArray(o.data[e])&&(t._model.borderSkipped=null),this._updateElementGeometry(t,e,i,a),t.pivot()},_updateElementGeometry:function(t,e,i,n){var t=t._model,o=this._getValueScale(),a=o.getBasePixel(),o=o.isHorizontal(),r=this._ruler||this.getRuler(),s=this.calculateBarValuePixels(this.index,e,n),e=this.calculateBarIndexPixels(this.index,e,r,n);t.horizontal=o,t.base=i?a:s.base,t.x=o?i?a:s.head:e.center,t.y=o?e.center:i?a:s.head,t.height=o?e.size:void 0,t.width=o?void 0:e.size},_getStacks:function(t){for(var e,i=this._getIndexScale(),n=i._getMatchingVisibleMetas(this._type),o=i.options.stacked,a=n.length,r=[],s=0;s<a&&(e=n[s],(!1===o||-1===r.indexOf(e.stack)||void 0===o&&void 0===e.stack)&&r.push(e.stack),e.index!==t);++s);return r},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){t=this._getStacks(t),e=void 0!==e?t.indexOf(e):-1;return-1===e?t.length-1:e},getRuler:function(){for(var t=this._getIndexScale(),e=[],i=0,n=this.getMeta().data.length;i<n;++i)e.push(t.getPixelForValue(null,i,this.index));return{pixels:e,start:t._startPixel,end:t._endPixel,stackCount:this.getStackCount(),scale:t}},calculateBarValuePixels:function(t,e,i){var n,o,a,r,s,l=this.chart,c=this._getValueScale(),u=c.isHorizontal(),d=l.data.datasets,h=c._getMatchingVisibleMetas(this._type),p=c._parseValue(d[t].data[e]),l=i.minBarLength,i=c.options.stacked,f=this.getMeta().stack,m=void 0===p.start?0:0<=p.max&&0<=p.min?p.min:p.max,g=void 0===p.start?p.end:0<=p.max&&0<=p.min?p.max-p.min:p.min-p.max,v=h.length;if(i||void 0===i&&void 0!==f)for(n=0;n<v&&(o=h[n]).index!==t;++n)o.stack===f&&(s=void 0===(s=c._parseValue(d[o.index].data[e])).start?s.end:0<=s.min&&0<=s.max?s.max:s.min,p.min<0&&s<0||0<=p.max&&0<s)&&(m+=s);return i=c.getPixelForValue(m),r=(a=c.getPixelForValue(m+g))-i,void 0!==l&&Math.abs(r)<l&&(r=l,a=0<=g&&!u||g<0&&u?i-l:i+l),{size:r,base:i,head:a,center:a+r/2}}
1,calculateBarIndexPixels:function(t,e,i,n){var o,a,r="flex"===n.barThickness?(o=n,r=(c=i).pixels,a=r[e],s=0<e?r[e-1]:null,r=e<r.length-1?r[e+1]:null,l=o.categoryPercentage,null===s&&(s=a-(null===r?c.end-c.start:r-a)),null===r&&(r=a+a-s),a=a-(a-Math.min(s,r))/2*l,{chunk:Math.abs(r-s)/2*l/c.stackCount,ratio:o.barPercentage,start:a}):kt(e,i,n),s=this.getStackIndex(t,this.getMeta().stack),l=r.start+r.chunk*s+r.chunk/2,c=Math.min(xt(n.maxBarThickness,1/0),r.chunk*r.ratio);return{base:l-c/2,head:l+c/2,center:l,size:c}},draw:function(){var t=this.chart,e=this._getValueScale(),i=this.getMeta().data,n=this.getDataset(),o=i.length,a=0;for(F.canvas.clipArea(t.ctx,t.chartArea);a<o;++a){var r=e._parseValue(n.data[a]);isNaN(r.min)||isNaN(r.max)||i[a].draw()}F.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=F.extend({},m.prototype._resolveDataElementOptions.apply(this,arguments)),e=this._getIndexScale().options,i=this._getValueScale().options;return t.barPercentage=xt(e.barPercentage,t.barPercentage),t.barThickness=xt(e.barThickness,t.barThickness),t.categoryPercentage=xt(e.categoryPercentage,t.categoryPercentage),t.maxBarThickness=xt(e.maxBarThickness,t.maxBarThickness),t.minBarLength=xt(i.minBarLength,t.minBarLength),t}}),St=F.valueOrDefault,Ct=F.options.resolve,o=(L._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.datasets[t.datasetIndex].label||"",e=e.datasets[t.datasetIndex].data[t.index];return i+": ("+t.xLabel+", "+t.yLabel+", "+e.r+")"}}}}),m.extend({dataElementType:v.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(i){var n=this,t=n.getMeta().data;F.each(t,function(t,e){n.updateElement(t,e,i)})},updateElement:function(t,e,i){var n=this.getMeta(),o=t.custom||{},a=this.getScaleForId(n.xAxisID),n=this.getScaleForId(n.yAxisID),r=this._resolveDataElementOptions(t,e),s=this.getDataset().data[e],l=this.index,c=i?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof s?s:NaN,e,l),s=i?n.getBasePixel():n.getPixelForValue(s,e,l);t._xScale=a,t._yScale=n,t._options=r,t._datasetIndex=l,t._index=e,t._model={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth,hitRadius:r.hitRadius,pointStyle:r.pointStyle,rotation:r.rotation,radius:i?0:r.radius,skip:o.skip||isNaN(c)||isNaN(s),x:c,y:s},t.pivot()},setHoverStyle:function(t){var e=t._model,i=t._options,n=F.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=St(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=St(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=St(i.hoverBorderWidth,i.borderWidth),e.radius=i.radius+i.hoverRadius},_resolveDataElementOptions:function(t,e){var i=this.chart,n=this.getDataset(),t=t.custom||{},o=n.data[e]||{},a=m.prototype._resolveDataElementOptions.apply(this,arguments),n={chart:i,dataIndex:e,dataset:n,datasetIndex:this.index};return(a=this._cachedDataOpts===a?F.extend({},a):a).radius=Ct([t.radius,o.r,this._config.radius,i.options.elements.point.radius],n,e),a}})),Tt=F.valueOrDefault,k=Math.PI,S=2*k,Mt=k/2,e=(L._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,i,n,o=document.createElement("ul"),a=t.data,r=a.datasets,s=a.labels;if(o.setAttribute("class",t.id+"-legend"),r.length)for(i=r[e=0].data.length;e<i;++e)(n=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[0].backgroundColor[e],s[e]&&n.appendChild(document.createTextNode(s[e]));return o.outerHTML},legend:{labels:{generateLabels:function(o){var a=o.data;return a.labels.length&&a.datasets.length?a.labels.map(function(t,e){var i=o.getDatasetMeta(0),n=i.controller.getStyle(e);return{text:t,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,hidden:isNaN(a.datasets[0].data[e])||i.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var i,n=e.index,o=this.chart,a=0,r=(o.data.datasets||[]).length;a<r;++a)(i=o.getDatasetMeta(a)).data[n]&&(i.data[n].hidden=!i.data[n].hidden);o.update()}},cutoutPercentage:50,rotation:-Mt,circumference:S,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.labels[t.index],e=": "+e.datasets[t.datasetIndex].data[t.index];return F.isArray(i)?(i=i.slice())[0]+=e:i+=e,i}}}}),m.extend({dataElementType:v.Arc,linkScales:F.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
1dColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&++e;return e},update:function(t){var e,i,n,o,a,r,s,l,c,u=this,d=u.chart,h=d.chartArea,p=d.options,f=1,m=1,g=0,v=0,y=u.getMeta(),b=y.data,_=p.cutoutPercentage/100||0,w=p.circumference,x=u._getRingWeight(u.index);for(w<S&&(p=p.rotation%S,w=(p+=k<=p?-S:p<-k?S:0)+w,n=Math.cos(p),o=Math.sin(p),a=Math.cos(w),r=Math.sin(w),c=p<=0&&0<=w||S<=w,s=p<=Mt&&Mt<=w||S+Mt<=w,l=p<=-Mt&&-Mt<=w||k+Mt<=w,p=p==-k||k<=w?-1:Math.min(n,n*_,a,a*_),w=l?-1:Math.min(o,o*_,r,r*_),f=((l=c?1:Math.max(n,n*_,a,a*_))-p)/2,m=((c=s?1:Math.max(o,o*_,r,r*_))-w)/2,g=-(l+p)/2,v=-(c+w)/2),e=0,i=b.length;e<i;++e)b[e]._options=u._resolveDataElementOptions(b[e],e);for(d.borderWidth=u.getMaxBorderWidth(),n=(h.right-h.left-d.borderWidth)/f,a=(h.bottom-h.top-d.borderWidth)/m,d.outerRadius=Math.max(Math.min(n,a)/2,0),d.innerRadius=Math.max(d.outerRadius*_,0),d.radiusLength=(d.outerRadius-d.innerRadius)/(u._getVisibleDatasetWeightTotal()||1),d.offsetX=g*d.outerRadius,d.offsetY=v*d.outerRadius,y.total=u.calculateTotal(),u.outerRadius=d.outerRadius-d.radiusLength*u._getRingWeightOffset(u.index),u.innerRadius=Math.max(u.outerRadius-d.radiusLength*x,0),e=0,i=b.length;e<i;++e)u.updateElement(b[e],e,t)},updateElement:function(t,e,i){var n=this.chart,o=n.chartArea,a=n.options,r=a.animation,s=(o.left+o.right)/2,o=(o.top+o.bottom)/2,l=a.rotation,c=a.rotation,u=this.getDataset(),d=i&&r.animateRotate||t.hidden?0:this.calculateCircumference(u.data[e])*(a.circumference/S),h=i&&r.animateScale?0:this.innerRadius,p=i&&r.animateScale?0:this.outerRadius,f=t._options||{},f=(F.extend(t,{_datasetIndex:this.index,_index:e,_model:{backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,borderAlign:f.borderAlign,x:s+n.offsetX,y:o+n.offsetY,startAngle:l,endAngle:c,circumference:d,outerRadius:p,innerRadius:h,label:F.valueAtIndexOrDefault(u.label,e,n.data.labels[e])}}),t._model);i&&r.animateRotate||(f.startAngle=0===e?a.rotation:this.getMeta().data[e-1]._model.endAngle,f.endAngle=f.startAngle+f.circumference),t.pivot()},calculateTotal:function(){var i,n=this.getDataset(),t=this.getMeta(),o=0;return F.each(t.data,function(t,e){i=n.data[e],isNaN(i)||t.hidden||(o+=Math.abs(i))}),o},calculateCircumference:function(t){var e=this.getMeta().total;return 0<e&&!isNaN(t)?S*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,i,n,o,a,r,s=0,l=this.chart;if(!t)for(e=0,i=l.data.datasets.length;e<i;++e)if(l.isDatasetVisible(e)){t=(n=l.getDatasetMeta(e)).data,e!==this.index&&(o=n.controller);break}if(!t)return 0;for(e=0,i=t.length;e<i;++e)r=t[e],"inner"!==(r=o?(o._configure(),o._resolveDataElementOptions(r,e)):r._options).borderAlign&&(a=r.borderWidth,s=(r=r.hoverBorderWidth)>(s=s<a?a:s)?r:s);return s},setHoverStyle:function(t){var e=t._model,i=t._options,n=F.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Tt(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=Tt(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=Tt(i.hoverBorderWidth,i.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e},_getRingWeight:function(t){return Math.max(Tt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}})),t=(L._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),L._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}}),a.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}})),y=F.valueOrDefault,At=F.options.resolve,Lt=F.canvas._isPointInArea;function Dt(t,e){var t=t&&t.options.ticks||{},i=t.reverse,n=void 0===t.min?e:0,t=void 0===t.max?e:0;return{start:i?t:n,end:i?n:t}}L._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Pt=m.extend({datasetElementType:v.Line,dataElementType:v.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
1dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,i,n=this,o=n.getMeta(),a=o.dataset,r=o.data||[],s=n.chart.options,l=n._config,s=n._showLine=y(l.showLine,s.showLines);for(n._xScale=n.getScaleForId(o.xAxisID),n._yScale=n.getScaleForId(o.yAxisID),s&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),a._scale=n._yScale,a._datasetIndex=n.index,a._children=r,a._model=n._resolveDatasetElementOptions(a),a.pivot()),e=0,i=r.length;e<i;++e)n.updateElement(r[e],e,t);for(s&&0!==a._model.tension&&n.updateBezierControlPoints(),e=0,i=r.length;e<i;++e)r[e].pivot()},updateElement:function(t,e,i){var n=this.getMeta(),o=t.custom||{},a=this.getDataset(),r=this.index,a=a.data[e],s=this._xScale,l=this._yScale,n=n.dataset._model,c=this._resolveDataElementOptions(t,e),u=s.getPixelForValue("object"==typeof a?a:NaN,e,r),i=i?l.getBasePixel():this.calculatePointY(a,e,r);t._xScale=s,t._yScale=l,t._options=c,t._datasetIndex=r,t._index=e,t._model={x:u,y:i,skip:o.skip||isNaN(u)||isNaN(i),radius:c.radius,pointStyle:c.pointStyle,rotation:c.rotation,backgroundColor:c.backgroundColor,borderColor:c.borderColor,borderWidth:c.borderWidth,tension:y(o.tension,n?n.tension:0),steppedLine:!!n&&n.steppedLine,hitRadius:c.hitRadius}},_resolveDatasetElementOptions:function(t){var e,i,n,o,a=this._config,t=t.custom||{},r=this.chart.options,s=r.elements.line,l=m.prototype._resolveDatasetElementOptions.apply(this,arguments);return l.spanGaps=y(a.spanGaps,r.spanGaps),l.tension=y(a.lineTension,s.tension),l.steppedLine=At([t.steppedLine,a.steppedLine,s.stepped]),l.clip=(a=y(a.clip,(r=this._xScale,t=this._yScale,s=l.borderWidth,r=Dt(r,s/=2),{top:(t=Dt(t,s)).end,right:r.end,bottom:t.start,left:r.start})),F.isObject(a)?(e=a.top,i=a.right,n=a.bottom,o=a.left):e=i=n=o=a,{top:e,right:i,bottom:n,left:o}),l},calculatePointY:function(t,e,i){var n,o,a,r,s,l,c=this.chart,u=this._yScale,d=0,h=0;if(u.options.stacked){for(r=+u.getRightValue(t),l=(s=c._getSortedVisibleDatasetMetas()).length,n=0;n<l&&(o=s[n]).index!==i;++n)a=c.data.datasets[o.index],"line"===o.type&&o.yAxisID===u.id&&((a=+u.getRightValue(a.data[e]))<0?h+=a||0:d+=a||0);return r<0?u.getPixelForValue(h+r):u.getPixelForValue(d+r)}return u.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,i,n,o=this.chart,a=this.getMeta(),r=a.dataset._model,s=o.chartArea,l=a.data||[];function c(t,e,i){return Math.max(Math.min(t,i),e)}if(r.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),"monotone"===r.cubicInterpolationMode)F.splineCurveMonotone(l);else for(t=0,e=l.length;t<e;++t)i=l[t]._model,n=F.splineCurve(F.previousItem(l,t)._model,i,F.nextItem(l,t)._model,r.tension),i.controlPointPreviousX=n.previous.x,i.controlPointPreviousY=n.previous.y,i.controlPointNextX=n.next.x,i.controlPointNextY=n.next.y;if(o.options.elements.line.capBezierPoints)for(t=0,e=l.length;t<e;++t)i=l[t]._model,Lt(i,s)&&(0<t&&Lt(l[t-1]._model,s)&&(i.controlPointPreviousX=c(i.controlPointPreviousX,s.left,s.right),i.controlPointPreviousY=c(i.controlPointPreviousY,s.top,s.bottom)),t<l.length-1)&&Lt(l[t+1]._model,s)&&(i.controlPointNextX=c(i.controlPointNextX,s.left,s.right),i.controlPointNextY=c(i.controlPointNextY,s.top,s.bottom))},draw:function(){var t,e=this.chart,i=this.getMeta(),n=i.data||[],o=e.chartArea,a=e.canvas,r=0,s=n.length;for(this._showLine&&(t=i.dataset._model.clip,F.canvas.clipArea(e.ctx,{left:!1===t.left?0:o.left-t.left,right:!1===t.right?a.width:o.right+t.right,top:!1===t.top?0:o.top-t.top,bottom:!1===t.bottom?a.height:o.bottom+t.bottom}),i.dataset.draw(),F.canvas.unclipArea(e.ctx));r<s;++r)n[r].draw(o)},setHoverStyle:function(t){var e=t._model,i=t._options,n=F.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius}
1,e.backgroundColor=y(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=y(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=y(i.hoverBorderWidth,i.borderWidth),e.radius=y(i.hoverRadius,i.radius)}}),It=F.options.resolve,Et=(L._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,i,n,o=document.createElement("ul"),a=t.data,r=a.datasets,s=a.labels;if(o.setAttribute("class",t.id+"-legend"),r.length)for(i=r[e=0].data.length;e<i;++e)(n=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[0].backgroundColor[e],s[e]&&n.appendChild(document.createTextNode(s[e]));return o.outerHTML},legend:{labels:{generateLabels:function(o){var a=o.data;return a.labels.length&&a.datasets.length?a.labels.map(function(t,e){var i=o.getDatasetMeta(0),n=i.controller.getStyle(e);return{text:t,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,hidden:isNaN(a.datasets[0].data[e])||i.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var i,n=e.index,o=this.chart,a=0,r=(o.data.datasets||[]).length;a<r;++a)(i=o.getDatasetMeta(a)).data[n].hidden=!i.data[n].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),m.extend({dataElementType:v.Arc,linkScales:F.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,i,n,o=this,a=o.getDataset(),r=o.getMeta(),s=o.chart.options.startAngle||0,l=o._starts=[],c=o._angles=[],u=r.data;for(o._updateRadius(),r.count=o.countVisibleElements(),e=0,i=a.data.length;e<i;e++)l[e]=s,n=o._computeAngle(e),s+=c[e]=n;for(e=0,i=u.length;e<i;++e)u[e]._options=o._resolveDataElementOptions(u[e],e),o.updateElement(u[e],e,t)},_updateRadius:function(){var t=this.chart,e=t.chartArea,i=t.options,e=Math.min(e.right-e.left,e.bottom-e.top);t.outerRadius=Math.max(e/2,0),t.innerRadius=Math.max(i.cutoutPercentage?t.outerRadius/100*i.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),this.outerRadius=t.outerRadius-t.radiusLength*this.index,this.innerRadius=this.outerRadius-t.radiusLength},updateElement:function(t,e,i){var n=this.chart,o=this.getDataset(),a=n.options,r=a.animation,s=n.scale,n=n.data.labels,l=s.xCenter,c=s.yCenter,a=a.startAngle,u=t.hidden?0:s.getDistanceFromCenterForValue(o.data[e]),d=this._starts[e],h=d+(t.hidden?0:this._angles[e]),o=r.animateScale?0:s.getDistanceFromCenterForValue(o.data[e]),p=t._options||{};F.extend(t,{_datasetIndex:this.index,_index:e,_scale:s,_model:{backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,borderAlign:p.borderAlign,x:l,y:c,innerRadius:0,outerRadius:i?o:u,startAngle:i&&r.animateRotate?a:d,endAngle:i&&r.animateRotate?a:h,label:F.valueAtIndexOrDefault(n,e,n[e])}}),t.pivot()},countVisibleElements:function(){var i=this.getDataset(),t=this.getMeta(),n=0;return F.each(t.data,function(t,e){isNaN(i.data[e])||t.hidden||n++}),n},setHoverStyle:function(t){var e=t._model,i=t._options,n=F.getHoverColor,o=F.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=o(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=o(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=o(i.hoverBorderWidth,i.borderWidth)},_computeAngle:function(t){var e=this.getMeta().count,i=this.getDataset(),n=this.getMeta();return isNaN(i.data[t])||n.data[t].hidden?0:(n={chart:this.chart,dataIndex:t,dataset:i,datasetIndex:this.index},It([this.chart.options.elements.arc.angle,2*Math.PI/e],n,t))}})),b=(L._set("pie",F.clone(L.doughnut)),L._set("pie",{cutoutPercentage:0}),e),zt=F.valueOrDefault,Ot=(L._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}}),m.extend({datasetElementType:v.Line,dataElementType:v.Point,linkScales:F.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
1dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,i,n=this.getMeta(),o=n.dataset,a=n.data||[],n=this.chart.scale,r=this._config;for(void 0!==r.tension&&void 0===r.lineTension&&(r.lineTension=r.tension),o._scale=n,o._datasetIndex=this.index,o._children=a,o._loop=!0,o._model=this._resolveDatasetElementOptions(o),o.pivot(),e=0,i=a.length;e<i;++e)this.updateElement(a[e],e,t);for(this.updateBezierControlPoints(),e=0,i=a.length;e<i;++e)a[e].pivot()},updateElement:function(t,e,i){var n=t.custom||{},o=this.getDataset(),a=this.chart.scale,o=a.getPointPositionForValue(e,o.data[e]),r=this._resolveDataElementOptions(t,e),s=this.getMeta().dataset._model,l=i?a.xCenter:o.x,i=i?a.yCenter:o.y;t._scale=a,t._options=r,t._datasetIndex=this.index,t._index=e,t._model={x:l,y:i,skip:n.skip||isNaN(l)||isNaN(i),radius:r.radius,pointStyle:r.pointStyle,rotation:r.rotation,backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth,tension:zt(n.tension,s?s.tension:0),hitRadius:r.hitRadius}},_resolveDatasetElementOptions:function(){var t=this._config,e=this.chart.options,i=m.prototype._resolveDatasetElementOptions.apply(this,arguments);return i.spanGaps=zt(t.spanGaps,e.spanGaps),i.tension=zt(t.lineTension,e.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,i,n,o=this.getMeta(),a=this.chart.chartArea,r=o.data||[];function s(t,e,i){return Math.max(Math.min(t,i),e)}for(t=0,e=(r=o.dataset._model.spanGaps?r.filter(function(t){return!t._model.skip}):r).length;t<e;++t)i=r[t]._model,n=F.splineCurve(F.previousItem(r,t,!0)._model,i,F.nextItem(r,t,!0)._model,i.tension),i.controlPointPreviousX=s(n.previous.x,a.left,a.right),i.controlPointPreviousY=s(n.previous.y,a.top,a.bottom),i.controlPointNextX=s(n.next.x,a.left,a.right),i.controlPointNextY=s(n.next.y,a.top,a.bottom)},setHoverStyle:function(t){var e=t._model,i=t._options,n=F.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=zt(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=zt(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=zt(i.hoverBorderWidth,i.borderWidth),e.radius=zt(i.hoverRadius,i.radius)}})),jt=(L._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),L._set("global",{datasets:{scatter:{showLine:!1}}}),{bar:a,bubble:o,doughnut:e,horizontalBar:t,line:Pt,polarArea:Et,pie:b,radar:Ot,scatter:Pt});function Nt(t,e){return t.native?{x:t.x,y:t.y}:F.getRelativePosition(t,e)}function Bt(t,e){for(var i,n,o,a,r=t._getSortedVisibleDatasetMetas(),s=0,l=r.length;s<l;++s)for(n=0,o=(i=r[s].data).length;n<o;++n)(a=i[n])._view.skip||e(a)}function $t(t,e){var i=[];return Bt(t,function(t){t.inRange(e.x,e.y)&&i.push(t)}),i}function Rt(t,i,n,o){var a=Number.POSITIVE_INFINITY,r=[];return Bt(t,function(t){var e;n&&!t.inRange(i.x,i.y)||(e=t.getCenterPoint(),(e=o(i,e))<a?(r=[t],a=e):e===a&&r.push(t))}),r}function Wt(t){var n=-1!==t.indexOf("x"),o=-1!==t.indexOf("y");return function(t,e){var i=n?Math.abs(t.x-e.x):0,t=o?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(t,2))}}function Ft(t,e,i){var e=Nt(e,t),n=(i.axis=i.axis||"x",Wt(i.axis)),o=i.intersect?$t(t,e):Rt(t,e,!1,n),a=[];return o.length?(t._getSortedVisibleDatasetMetas().forEach(function(t){t=t.data[o[0]._index];t&&!t._view.skip&&a.push(t)}),a):[]}var Ht={modes:{single:function(t,e){var i=Nt(e,t),n=[];return Bt(t,function(t){t.inRange(i.x,i.y)&&n.push(t)}),n.slice(0,1)}
1,label:Ft,index:Ft,dataset:function(t,e,i){var e=Nt(e,t),n=(i.axis=i.axis||"xy",Wt(i.axis)),i=i.intersect?$t(t,e):Rt(t,e,!1,n);return i=0<i.length?t.getDatasetMeta(i[0]._datasetIndex).data:i},"x-axis":function(t,e){return Ft(t,e,{intersect:!1})},point:function(t,e){return $t(t,Nt(e,t))},nearest:function(t,e,i){var e=Nt(e,t),n=(i.axis=i.axis||"xy",Wt(i.axis));return Rt(t,e,i.intersect,n)},x:function(t,e,i){var n=Nt(e,t),o=[],a=!1;return Bt(t,function(t){t.inXRange(n.x)&&o.push(t),t.inRange(n.x,n.y)&&(a=!0)}),o=i.intersect&&!a?[]:o},y:function(t,e,i){var n=Nt(e,t),o=[],a=!1;return Bt(t,function(t){t.inYRange(n.y)&&o.push(t),t.inRange(n.x,n.y)&&(a=!0)}),o=i.intersect&&!a?[]:o}}},Yt=F.extend;function Vt(t,e){return F.where(t,function(t){return t.pos===e})}function Ut(t,n){return t.sort(function(t,e){var i=n?e:t,t=n?t:e;return i.weight===t.weight?i.index-t.index:i.weight-t.weight})}function qt(t,e,i,n){return Math.max(t[i],e[i])+Math.max(t[n],e[n])}function Zt(t,e,i){for(var n,o,a,r,s=[],l=0,c=t.length;l<c;++l)(o=(n=t[l]).box).update(n.width||e.w,n.height||e.h,((t,e)=>{var i,n=e.maxPadding;return i={left:0,top:0,right:0,bottom:0},(t?["left","right"]:["top","bottom"]).forEach(function(t){i[t]=Math.max(e[t],n[t])}),i})(n.horizontal,e)),((t,e,i)=>{var n=i.box,o=t.maxPadding;return i.size&&(t[i.pos]-=i.size),i.size=i.horizontal?n.height:n.width,t[i.pos]+=i.size,n.getPadding&&(n=n.getPadding(),o.top=Math.max(o.top,n.top),o.left=Math.max(o.left,n.left),o.bottom=Math.max(o.bottom,n.bottom),o.right=Math.max(o.right,n.right)),n=e.outerWidth-qt(o,t,"left","right"),e=e.outerHeight-qt(o,t,"top","bottom"),!(n===t.w&&e===t.h||(t.w=n,t.h=e,(o=i.horizontal?[n,t.w]:[e,t.h])[0]===o[1])||isNaN(o[0])&&isNaN(o[1]))})(e,i,n)&&(r=!0,s.length)&&(a=!0),o.fullWidth||s.push(n);return a&&Zt(s,e,i)||r}function Gt(t,e,i){for(var n,o,a=i.padding,r=e.x,s=e.y,l=0,c=t.length;l<c;++l)o=(n=t[l]).box,n.horizontal?(o.left=(o.fullWidth?a:e).left,o.right=o.fullWidth?i.outerWidth-a.right:e.left+e.w,o.top=s,o.bottom=s+o.height,o.width=o.right-o.left,s=o.bottom):(o.left=r,o.right=r+o.width,o.top=e.top,o.bottom=e.top+e.h,o.height=o.bottom-o.top,r=o.right);e.x=r,e.y=s}L._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var _={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){e=t.boxes?t.boxes.indexOf(e):-1;-1!==e&&t.boxes.splice(e,1)},configure:function(t,e,i){for(var n,o=["fullWidth","position","weight"],a=o.length,r=0;r<a;++r)i.hasOwnProperty(n=o[r])&&(e[n]=i[n])},update:function(e,t,i){if(e){for(var n,o=e.options.layout||{},o=F.options.toPadding(o.padding),a=t-o.width,r=i-o.height,s=(s=(t=>{for(var e,i=[],n=0,o=(t||[]).length;n<o;++n)e=t[n],i.push({index:n,box:e,pos:e.position,horizontal:e.isHorizontal(),weight:e.weight});return i})(e.boxes),l=Ut(Vt(s,"left"),!0),c=Ut(Vt(s,"right")),u=Ut(Vt(s,"top"),!0),b=Ut(Vt(s,"bottom")),{leftAndTop:l.concat(u),rightAndBottom:c.concat(b),chartArea:Vt(s,"chartArea"),vertical:l.concat(c),horizontal:u.concat(b)}),l=s.vertical,c=s.horizontal,u=Object.freeze({outerWidth:t,outerHeight:i,padding:o,availableWidth:a,vBoxMaxWidth:a/2/l.length,hBoxMaxHeight:r/2}),d=Yt({maxPadding:Yt({},o),w:a,h:r,x:o.left,y:o.top},o),h=l.concat(c),p=u,f=0,m=h.length;f<m;++f)(n=h[f]).width=n.horizontal?n.box.fullWidth&&p.availableWidth:p.vBoxMaxWidth,n.height=n.horizontal&&p.hBoxMaxHeight;Zt(l,d,u),Zt(c,d,u)&&Zt(l,d,u),y=(v=d).maxPadding,v.y+=g("top"),v.x+=g("left"),g("right"),g("bottom"),Gt(s.leftAndTop,d,u),d.x+=d.w,d.y+=d.h,Gt(s.rightAndBottom,d,u),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},F.each(s.chartArea,function(t){t=t.box;Yt(t,e.chartArea),t.update(d.w,d.h)})}function g(t){var e=Math.max(y[t]-v[t],0);return v[t]+=e,e}var v,y,s,l,c,u,b}},Xt=(a=Object.freeze({__proto__:null,default:"@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}"}))&&a.default||a,w="$chartjs",Qt="chartjs-size-monitor",Jt="chartjs-render-monitor",Kt=["animationstart","webkitAnimationStart"],te={touchstart:"mousedown",touchmove:"mou
1semove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ee(t,e){t=F.getStyle(t,e),e=t&&t.match(/^(\d+)(\.\d+)?px$/);return e?Number(e[1]):void 0}var ie=!!(()=>{var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t})()&&{passive:!0};function ne(t,e,i){t.addEventListener(e,i,ie)}function oe(t,e,i){t.removeEventListener(e,i,ie)}function ae(t,e,i,n,o){return{type:t,chart:e,native:o||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function re(t){var e=document.createElement("div");return e.className=t||"",e}function se(i,n,o){var t,e,a,r,s,l,c,u=i[w]||(i[w]={}),d=u.resizer=(t=>{function e(){i._reset(),t()}var i=re(Qt),n=re(Qt+"-expand"),o=re(Qt+"-shrink");return n.appendChild(re()),o.appendChild(re()),i.appendChild(n),i.appendChild(o),i._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6},ne(n,"scroll",e.bind(n,"expand")),ne(o,"scroll",e.bind(o,"shrink")),i})((t=function(){var t,e;u.resizer&&(e=(t=o.options.maintainAspectRatio&&i.parentNode)?t.clientWidth:0,n(ae("resize",o)),t)&&t.clientWidth<e&&o.canvas&&n(ae("resize",o))},a=!1,function(){r=Array.prototype.slice.call(arguments),e=e||this,a||(a=!0,F.requestAnimFrame.call(window,function(){a=!1,t.apply(e,r)}))}));l=(s=i)[w]||(s[w]={}),c=l.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&u.resizer&&((t=i.parentNode)&&t!==d.parentNode&&t.insertBefore(d,t.firstChild),d._reset())},F.each(Kt,function(t){ne(s,t,c)}),l.reflow=!!s.offsetParent,s.classList.add(Jt)}var o={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){var e,i;this.disableCSSInjection||(t=t.getRootNode?t.getRootNode():document,t=t.host?t:document.head,e=Xt,(i=t[w]||(t[w]={})).containsStyles)||(i.containsStyles=!0,e="/* Chart.js */\n"+e,(i=document.createElement("style")).setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]);var i,n,o,a,r=(t=t&&t.canvas?t.canvas:t)&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(this._ensureLoaded(t),e=e,n=(t=t).style,o=t.getAttribute("height"),a=t.getAttribute("width"),t[w]={initial:{height:o,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null!==a&&""!==a||void 0!==(i=ee(t,"width"))&&(t.width=i),null!==o&&""!==o||(""===t.style.height?t.height=t.width/(e.options.aspectRatio||2):(n=ee(t,"height"),void 0!==i&&(t.height=n))),r):null},releaseContext:function(t){var i,n=t.canvas;n[w]&&(i=n[w].initial,["height","width"].forEach(function(t){var e=i[t];F.isNullOrUndef(e)?n.removeAttribute(t):n.setAttribute(t,e)}),F.each(i.style||{},function(t,e){n.style[e]=t}),n.width=n.width,delete n[w])},addEventListener:function(o,t,a){var e,i=o.canvas;"resize"!==t?ne(i,t,((e=a[w]||(a[w]={})).proxies||(e.proxies={}))[o.id+"_"+t]=function(t){var e,i,n;a((e=o,i=te[(t=t).type]||t.type,n=F.getRelativePosition(t,e),ae(i,e,n.x,n.y,t)))}):se(i,a,o)},removeEventListener:function(t,e,i){var n,o,a=t.canvas;"resize"!==e?(i=((i[w]||{}).proxies||{})[t.id+"_"+e])&&oe(a,e,i):(e=(t=a)[w]||{},i=e.resizer,delete e.resizer,e=(n=t)[w]||{},(o=e.renderProxy)&&(F.each(Kt,function(t){oe(n,t,o)}),delete e.renderProxy),n.classList.remove(Jt),i&&i.parentNode&&i.parentNode.removeChild(i))}},e=(F.addEvent=ne,F.removeEvent=oe,o._enabled?o:{acquireContext:function(t){return(t=t&&t.canvas?t.canvas:t)&&t.getContext("2d")||null}}),le=F.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},e),x=(L._set("global",{plugins:{}}),{_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){t=e.indexOf(t);-1!==t&&e.splice(t,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins}
1,notify:function(t,e,i){for(var n,o,a,r,s=this.descriptors(t),l=s.length,c=0;c<l;++c)if("function"==typeof(r=(o=(n=s[c]).plugin)[e])&&((a=[t].concat(i||[])).push(n.options),!1===r.apply(o,a)))return!1;return!0},descriptors:function(t){var n,o,a,e=t.$plugins||(t.$plugins={});return e.id===this._cacheId?e.descriptors:(n=[],o=[],t=t&&t.config||{},a=t.options&&t.options.plugins||{},this._plugins.concat(t.plugins||[]).forEach(function(t){var e,i;-1===n.indexOf(t)&&(e=t.id,!1!==(i=a[e]))&&(!0===i&&(i=F.clone(L.global.plugins[e])),n.push(t),o.push({plugin:t,options:i||{}}))}),e.descriptors=o,e.id=this._cacheId,o)},_invalidate:function(t){delete t.$plugins}}),ce={constructors:{},defaults:{},registerScaleType:function(t,e,i){this.constructors[t]=e,this.defaults[t]=F.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?F.merge(Object.create(null),[L.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=F.extend(this.defaults[t],e))},addScalesToLayout:function(e){F.each(e.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,_.addBox(e,t)})}},C=F.valueOrDefault,ue=F.rtl.getRtlAdapter,de=(L._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:F.noop,title:function(t,e){var i="",e=e.labels,n=e?e.length:0;return 0<t.length&&((t=t[0]).label?i=t.label:t.xLabel?i=t.xLabel:0<n&&t.index<n&&(i=e[t.index])),i},afterTitle:F.noop,beforeBody:F.noop,beforeLabel:F.noop,label:function(t,e){e=e.datasets[t.datasetIndex].label||"";return e&&(e+=": "),F.isNullOrUndef(t.value)?e+=t.yLabel:e+=t.value,e},labelColor:function(t,e){e=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:e.borderColor,backgroundColor:e.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:F.noop,afterBody:F.noop,beforeFooter:F.noop,footer:F.noop,afterFooter:F.noop}}}),{average:function(t){if(!t.length)return!1;for(var e=0,i=0,n=0,o=0,a=t.length;o<a;++o){var r=t[o];r&&r.hasValue()&&(e+=(r=r.tooltipPosition()).x,i+=r.y,++n)}return{x:e/n,y:i/n}},nearest:function(t,e){for(var i,n,o=e.x,a=e.y,r=Number.POSITIVE_INFINITY,s=0,l=t.length;s<l;++s){var c,u=t[s];u&&u.hasValue()&&(c=u.getCenterPoint(),(c=F.distanceBetweenPoints(e,c))<r)&&(r=c,i=u)}return i&&(o=(n=i.tooltipPosition()).x,a=n.y),{x:o,y:a}}});function T(t,e){return e&&(F.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function M(t){return("string"==typeof t||t instanceof String)&&-1<t.indexOf("\n")?t.split("\n"):t}function he(t){var e=L.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:C(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:C(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:C(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:C(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:C(t.titleFontStyle,e.defaultFontStyle),titleFontSize:C(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:C(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:C(t.footerFontStyle,e.defaultFontStyle),footerFontSize:C(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackgroun
1d:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function pe(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function fe(t){return T([],M(t))}var me=f.extend({initialize:function(){this._model=he(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),i=t.title.apply(this,arguments),t=t.afterTitle.apply(this,arguments),n=T(n=[],M(e));return n=T(n,M(i)),T(n,M(t))},getBeforeBody:function(){return fe(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,i){var n=this,o=n._options.callbacks,a=[];return F.each(t,function(t){var e={before:[],lines:[],after:[]};T(e.before,M(o.beforeLabel.call(n,t,i))),T(e.lines,o.label.call(n,t,i)),T(e.after,M(o.afterLabel.call(n,t,i))),a.push(e)}),a},getAfterBody:function(){return fe(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),i=t.footer.apply(this,arguments),t=t.afterFooter.apply(this,arguments),n=T(n=[],M(e));return n=T(n,M(i)),T(n,M(t))},update:function(j){var t,e,i,n,o,a,r,s,l,c,u,d,N,h,p,f,m,g,v,y,b,_,w,x,k,S,C=this,T=C._options,M=C._model,A=C._model=he(T),L=C._active,D=C._data,P={xAlign:M.xAlign,yAlign:M.yAlign},I={x:M.x,y:M.y},E={width:M.width,height:M.height},M={x:M.caretX,y:M.caretY};if(L.length){A.opacity=1;for(var B=[],$=[],M=de[T.position].call(C,L,C._eventPosition),z=[],R=0,W=L.length;R<W;++R)z.push((s=r=a=i=e=void 0,e=(t=L[R])._xScale,i=t._yScale||t._scale,n=t._index,r=(a=t._chart.getDatasetMeta(o=t._datasetIndex).controller)._getIndexScale(),s=a._getValueScale(),{xLabel:e?e.getLabelForIndex(n,o):"",yLabel:i?i.getLabelForIndex(n,o):"",label:r?""+r.getLabelForIndex(n,o):"",value:s?""+s.getLabelForIndex(n,o):"",index:n,datasetIndex:o,x:t._model.x,y:t._model.y}));T.filter&&(z=z.filter(function(t){return T.filter(t,D)})),T.itemSort&&(z=z.sort(function(t,e){return T.itemSort(t,e,D)})),F.each(z,function(t){B.push(T.callbacks.labelColor.call(C,t,C._chart)),$.push(T.callbacks.labelTextColor.call(C,t,C._chart))}),A.title=C.getTitle(z,D),A.beforeBody=C.getBeforeBody(z,D),A.body=C.getBody(z,D),A.afterBody=C.getAfterBody(z,D),A.footer=C.getFooter(z,D),A.x=M.x,A.y=M.y,A.caretPadding=T.caretPadding,A.labelColors=B,A.labelTextColors=$,A.dataPoints=z,f=A,m=(p=this)._chart.ctx,p=2*f.yPadding,g=0,y=(v=f.body).reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0),y+=f.beforeBody.length+f.afterBody.length,b=f.title.length,_=f.footer.length,x=f.bodyFontSize,k=f.footerFontSize,p=(p=(p=(p=(p=p+b*(w=f.titleFontSize)+(b?(b-1)*f.titleSpacing:0))+(b?f.titleMarginBottom:0))+y*x+(y?(y-1)*f.bodySpacing:0))+(_?f.footerMarginTop:0))+_*k+(_?(_-1)*f.footerSpacing:0),S=0,m.font=F.fontString(w,f._titleFontStyle,f._titleFontFamily),F.each(f.title,O),m.font=F.fontString(x,f._bodyFontStyle,f._bodyFontFamily),F.each(f.beforeBody.concat(f.afterBody),O),S=f.displayColors?x+2:0,F.each(v,function(t){F.each(t.before,O),F.each(t.lines,O),F.each(t.after,O)}),S=0,m.font=F.fontString(k,f._footerFontStyle,f._footerFontFamily),F.each(f.footer,O),E={width:g+=2*f.xPadding,height:p},b=A,l=y=E,c=(_=this)._model,w=(u=_._chart).chartArea,v=x="center",c.y<l.height?v="top":c.y>u.height-l.height&&(v="bottom"),d=(w.left+w.right)/2,N=(w.top+w.bottom)/2,w="center"===v?(h=function(t){return t<=d},function(t){return d<t}):(h=function(t){return t<=l.width/2},function(t){return t>=u.width-l.width/2}),k=function(t){return t+l.width+c.caretSize+c.caretPadding>u.width},f=function(t){return t-l.width-c.caretSize-c.caretPadding<0},p=function(t){return t<=N?"top":"bottom"},h(c.x)?(x="left",k(c.x)&&(x="center",v=p(c.y))):w(c.x)&&(x="right",f(c.x))&&(x="center",v=p(c.y)),h=_._options,k=P={xAlign:h.xAlign||x,yAlign:h.yAlign||v},w=C._chart,f=b.x,p=b.y,_=b.caretPadding,x=k.xAlign,k=k.yAlign,h=b.caretSize+_,b=b.cornerRadius+_,"right"===x?f-=y.width:"center"===x&&(f=(f-=y.width/2)+y.width>w.width?w.width-y.width:f)<0&&(f=0),"top"===k?p+=h:p-="bottom"===k?y.height+h:y.height/2,"center"===k?"left"===x?f+=h:"right"===x&&(f-=h):"left"===x?f-=b:"right"===x&&(f+=b),I={x:f,y:p}}else A.opacity=0;function O(t){g=Math.max(g,m.measureText(t).width+S)}return A.xAlign=P.xAlign,A.yAlign=P.yAlign,A.x=I.x,A.y=I.y,A.width=E.width,A.height=E.height,A.caretX=M.x,A.caretY=M.y,C._model=A,j&&T.custom&&T.custom.call(C,A),C},drawCaret:function(t,e){var i=this._chart.ctx,n=this._view,t=this.getCaretPosition(t,e,n);i.lineTo(t.x1,t.y1),i.lineTo(t.x2,t.y2),i.lineTo(t.x3,t.y3)}
1,getCaretPosition:function(t,e,i){var n,o,a,r,s,l,c=i.caretSize,u=i.cornerRadius,d=i.xAlign,h=i.yAlign,p=t.x,t=t.y,f=e.width,e=e.height;return"center"===h?(a=t+e/2,r="left"===d?(n=(l=p)-c,s=l,o=a+c,a-c):(n=(l=p+f)+c,s=l,o=a-c,a+c)):(s=(l="left"===d?(n=p+u+c)-c:"right"===d?(n=p+f-u-c)-c:(n=i.caretX)-c,n+c),"top"===h?(a=(o=t)-c,r=o):(a=(o=t+e)+c,r=o,d=s,s=l,l=d)),{x1:l,x2:n,x3:s,y1:o,y2:a,y3:r}},drawTitle:function(t,e,i){var n,o,a,r=e.title,s=r.length;if(s){var l=ue(e.rtl,e.x,e.width);for(t.x=pe(e,e._titleAlign),i.textAlign=l.textAlign(e._titleAlign),i.textBaseline="middle",n=e.titleFontSize,o=e.titleSpacing,i.fillStyle=e.titleFontColor,i.font=F.fontString(n,e._titleFontStyle,e._titleFontFamily),a=0;a<s;++a)i.fillText(r[a],l.x(t.x),t.y+n/2),t.y+=n+o,a+1===s&&(t.y+=e.titleMarginBottom-o)}},drawBody:function(e,t,i){function n(t){i.fillText(t,_.x(e.x+y),e.y+p/2),e.y+=p+f}var o,a,r,s,l,c,u,d,h,p=t.bodyFontSize,f=t.bodySpacing,m=t._bodyAlign,g=t.body,v=t.displayColors,y=0,b=v?pe(t,"left"):0,_=ue(t.rtl,t.x,t.width),w=_.textAlign(m);for(i.textAlign=m,i.textBaseline="middle",i.font=F.fontString(p,t._bodyFontStyle,t._bodyFontFamily),e.x=pe(t,w),i.fillStyle=t.bodyFontColor,F.each(t.beforeBody,n),y=v&&"right"!==w?"center"===m?p/2+1:p+2:0,l=0,u=g.length;l<u;++l){for(o=g[l],a=t.labelTextColors[l],r=t.labelColors[l],i.fillStyle=a,F.each(o.before,n),c=0,d=(s=o.lines).length;c<d;++c)v&&(h=_.x(b),i.fillStyle=t.legendColorBackground,i.fillRect(_.leftForLtr(h,p),e.y,p,p),i.lineWidth=1,i.strokeStyle=r.borderColor,i.strokeRect(_.leftForLtr(h,p),e.y,p,p),i.fillStyle=r.backgroundColor,i.fillRect(_.leftForLtr(_.xPlus(h,1),p-2),e.y+1,p-2,p-2),i.fillStyle=a),n(s[c]);F.each(o.after,n)}y=0,F.each(t.afterBody,n),e.y-=f},drawFooter:function(t,e,i){var n,o,a=e.footer,r=a.length;if(r){var s=ue(e.rtl,e.x,e.width);for(t.x=pe(e,e._footerAlign),t.y+=e.footerMarginTop,i.textAlign=s.textAlign(e._footerAlign),i.textBaseline="middle",n=e.footerFontSize,i.fillStyle=e.footerFontColor,i.font=F.fontString(n,e._footerFontStyle,e._footerFontFamily),o=0;o<r;++o)i.fillText(a[o],s.x(t.x),t.y+n/2),t.y+=n+e.footerSpacing}},drawBackground:function(t,e,i,n){i.fillStyle=e.backgroundColor,i.strokeStyle=e.borderColor,i.lineWidth=e.borderWidth;var o=e.xAlign,a=e.yAlign,r=t.x,s=t.y,l=n.width,c=n.height,u=e.cornerRadius;i.beginPath(),i.moveTo(r+u,s),"top"===a&&this.drawCaret(t,n),i.lineTo(r+l-u,s),i.quadraticCurveTo(r+l,s,r+l,s+u),"center"===a&&"right"===o&&this.drawCaret(t,n),i.lineTo(r+l,s+c-u),i.quadraticCurveTo(r+l,s+c,r+l-u,s+c),"bottom"===a&&this.drawCaret(t,n),i.lineTo(r+u,s+c),i.quadraticCurveTo(r,s+c,r,s+c-u),"center"===a&&"left"===o&&this.drawCaret(t,n),i.lineTo(r,s+u),i.quadraticCurveTo(r,s,r+u,s),i.closePath(),i.fill(),0<e.borderWidth&&i.stroke()},draw:function(){var t,e,i,n,o=this._chart.ctx,a=this._view;0!==a.opacity&&(t={width:a.width,height:a.height},e={x:a.x,y:a.y},i=Math.abs(a.opacity<.001)?0:a.opacity,n=a.title.length||a.beforeBody.length||a.body.length||a.afterBody.length||a.footer.length,this._options.enabled)&&n&&(o.save(),o.globalAlpha=i,this.drawBackground(e,a,o,t),e.y+=a.yPadding,F.rtl.overrideTextDirection(o,a.textDirection),this.drawTitle(e,a,o),this.drawBody(e,a,o),this.drawFooter(e,a,o),F.rtl.restoreTextDirection(o,a.textDirection),o.restore())},handleEvent:function(t){var e,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===t.type?i._active=[]:(i._active=i._chart.getElementsAtEventForMode(t,n.mode,n),n.reverse&&i._active.reverse()),(e=!F.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,n.enabled||n.custom)&&(i._eventPosition={x:t.x,y:t.y},i.update(!0),i.pivot()),e}}),ge=(me.positioners=de,F.valueOrDefault);function ve(){return F.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,i,n){if("xAxes"===t||"yAxes"===t){var o,a,r,s=i[t].length;for(e[t]||(e[t]=[]),o=0;o<s;++o)r=i[t][o],a=ge(r.type,"xAxes"===t?"category":"linear"),o>=e[t].length&&e[t].push({}),!e[t][o].type||r.type&&r.type!==e[t][o].type?F.merge(e[t][o],[ce.getScaleDefaults(a),r]):F.merge(e[t][o],r)}else F._merger(t,e,i,n)}})}function ye(){return F.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,
1i,n){var o=e[t]||Object.create(null),a=i[t];"scales"===t?e[t]=ve(o,a):"scale"===t?e[t]=F.merge(o,[ce.getScaleDefaults(a.type),a]):F._merger(t,e,i,n)}})}function be(t,e,i){for(var n,o=function(t){return t.id===n};n=e+i++,0<=F.findIndex(t,o););return n}function _e(t){return"top"===t||"bottom"===t}function we(i,n){return function(t,e){return t[i]===e[i]?t[n]-e[n]:t[i]-e[i]}}L._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});function xe(t,e){return this.construct(t,e),this}F.extend(xe.prototype,{construct:function(t,e){var i=this,n=((n=(o=(o=e)||Object.create(null)).data=o.data||{}).datasets=n.datasets||[],n.labels=n.labels||[],o.options=ye(L.global,L[o.type],o.options||{}),e=o,le.acquireContext(t,e)),o=n&&n.canvas,t=o&&o.height,a=o&&o.width;i.id=F.uid(),i.ctx=n,i.canvas=o,i.config=e,i.width=a,i.height=t,i.aspectRatio=t?a/t:null,i.options=e.options,i._bufferedRender=!1,i._layers=[],(i.chart=i).controller=i,xe.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(t){i.config.data=t}}),n&&o?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){return x.notify(this,"beforeInit"),F.retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.options.responsive&&this.resize(!0),this.initToolTip(),x.notify(this,"afterInit"),this},clear:function(){return F.canvas.clear(this),this},stop:function(){return lt.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,n=e.canvas,o=i.maintainAspectRatio&&e.aspectRatio||null,a=Math.max(0,Math.floor(F.getMaximumWidth(n))),o=Math.max(0,Math.floor(o?a/o:F.getMaximumHeight(n)));e.width===a&&e.height===o||(n.width=e.width=a,n.height=e.height=o,n.style.width=a+"px",n.style.height=o+"px",F.retinaScale(e,i.devicePixelRatio),t)||(x.notify(e,"resize",[n={width:a,height:o}]),i.onResize&&i.onResize(e,n),e.stop(),e.update({duration:i.responsiveAnimationDuration}))},ensureScalesHaveIDs:function(){var t=this.options,i=t.scales||{},t=t.scale;F.each(i.xAxes,function(t,e){t.id||(t.id=be(i.xAxes,"x-axis-",e))}),F.each(i.yAxes,function(t,e){t.id||(t.id=be(i.yAxes,"y-axis-",e))}),t&&(t.id=t.id||"scale")},buildOrUpdateScales:function(){var r=this,t=r.options,s=r.scales||{},e=[],l=Object.keys(s).reduce(function(t,e){return t[e]=!1,t},{});t.scales&&(e=e.concat((t.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(t.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),t.scale&&e.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),F.each(e,function(t){var e=t.options,i=e.id,n=ge(e.type,t.dtype),o=(_e(e.position)!==_e(t.dposition)&&(e.position=t.dposition),l[i]=!0,null);if(i in s&&s[i].type===n)(o=s[i]).options=e,o.ctx=r.ctx,o.chart=r;else{var a=ce.getScaleConstructor(n);if(!a)return;o=new a({id:i,type:n,options:e,ctx:r.ctx,chart:r}),s[o.id]=o}o.mergeTicksOptions(),t.isDefault&&(r.scale=o)}),F.each(l,function(t,e){t||delete s[e]}),r.scales=s,ce.addScalesToLayout(this)},buildOrUpdateControllers:function(){for(var t=[],e=this.data.datasets,i=0,n=e.length;i<n;i++){var o=e[i],a=this.getDatasetMeta(i),r=o.type||this.config.type;if(a.type&&a.type!==r&&(this.destroyDatasetMeta(i),a=this.getDatasetMeta(i)),a.type=r,a.order=o.order||0,a.index=i,a.controller)a.controller.updateIndex(i),a.controller.linkScales();else{r=jt[a.type];if(void 0===r)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new r(this,i),t.push(a.controller)}}return t},resetElements:function(){var i=this;F.each(i.data.datasets,function(t,e){i.getDatasetMeta(e).controller.reset()},i)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),n=(e=i).options,F.each(e.scales,function(t){_.removeBox(e,t)}),n=ye(L.global,L[e.config.type],n),e.options=e.config.options=n,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=n.tooltips,e.tooltip.initialize(),x._invalidate(i),!1!==x.notify(i,"beforeUpdate")){i.tooltip._data=i.data;for(var n=i.buildOrUpdateControllers(),o=0,a=i.data.datasets.length;o<a;o++)i.getDatasetMeta(o).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&F.each(n,function(t){t.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],x.notify(i,"afterUpdate"),i._layers.sort(we("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var e=this;!1!==x.notify(e,"beforeLayout")&&(_.update(this,this.width,this.height),e._layers=[],F.each(e.boxes,function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())}
1,e),e._layers.forEach(function(t,e){t._idx=e}),x.notify(e,"afterScaleUpdate"),x.notify(e,"afterLayout"))},updateDatasets:function(){if(!1!==x.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);x.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),t={meta:e,index:t};!1!==x.notify(this,"beforeDatasetUpdate",[t])&&(e.controller._update(),x.notify(this,"afterDatasetUpdate",[t]))},render:function(t){var e,i=this,n=i.options.animation,o=ge((t=t&&"object"==typeof t?t:{duration:t,lazy:arguments[1]}).duration,n&&n.duration),a=t.lazy;if(!1!==x.notify(i,"beforeRender"))return e=function(t){x.notify(i,"afterRender"),F.callback(n&&n.onComplete,[t],i)},n&&o?(t=new st({numSteps:o/16.66,easing:t.easing||n.easing,render:function(t,e){var i=F.easing.effects[e.easing],n=e.currentStep,e=n/e.numSteps;t.draw(i(e),e,n)},onAnimationProgress:n.onProgress,onAnimationComplete:e}),lt.addAnimation(i,t,o,a)):(i.draw(),e(new st({numSteps:0,chart:i}
1))),i},draw:function(t){var e,i,n=this;if(n.clear(),F.isNullOrUndef(t)&&(t=1),n.transition(t),!(n.width<=0||n.height<=0)&&!1!==x.notify(n,"beforeDraw",[t])){for(i=n._layers,e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(n.chartArea);for(n.drawDatasets(t);e<i.length;++e)i[e].draw(n.chartArea);n._drawTooltip(t),x.notify(n,"afterDraw",[t])}},transition:function(t){for(var e=0,i=(this.data.datasets||[]).length;e<i;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){for(var e=[],i=0,n=(this.data.datasets||[]).length;i<n;++i)t&&!this.isDatasetVisible(i)||e.push(this.getDatasetMeta(i));return e.sort(we("order","index")),e},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,i;if(!1!==x.notify(this,"beforeDatasetsDraw",[t])){for(i=(e=this._getSortedVisibleDatasetMetas()).length-1;0<=i;--i)this.drawDataset(e[i],t);x.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var i={meta:t,index:t.index,easingValue:e};!1!==x.notify(this,"beforeDatasetDraw",[i])&&(t.controller.draw(e),x.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,t={tooltip:e,easingValue:t};!1!==x.notify(this,"beforeTooltipDraw",[t])&&(e.draw(),x.notify(this,"afterTooltipDraw",[t]))},getElementAtEvent:function(t){return Ht.modes.single(this,t)},getElementsAtEvent:function(t){return Ht.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Ht.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,i){e=Ht.modes[e];return"function"==typeof e?e(this,t,i):[]},getDatasetAtEvent:function(t){return Ht.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];return e._meta||(e._meta={}),e._meta[this.id]||(e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t})},getVisibleDatasetCount:function(){for(var t=0,e=0,i=this.data.datasets.length;e<i;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,t=this.data.datasets[t],i=t._meta&&t._meta[e];i&&(i.controller.destroy(),delete t._meta[e])},destroy:function(){var t,e,i=this,n=i.canvas;for(i.stop(),t=0,e=i.data.datasets.length;t<e;++t)i.destroyDatasetMeta(t);n&&(i.unbindEvents(),F.canvas.clear(i),le.releaseContext(i.ctx),i.canvas=null,i.ctx=null),x.notify(i,"destroy"),delete xe.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){this.tooltip=new me({_chart:this,_chartInstance:this,_data:this.data,_options:this.options.tooltips},this)},bindEvents:function(){var e=this,i=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};F.each(e.options.events,function(t){le.addEventListener(e,t,n),i[t]=n}),e.options.responsive&&(n=function(){e.resize()},le.addEventListener(e,"resize",n),i.resize=n)},unbindEvents:function(){var i=this,t=i._listeners;t&&(delete i._listeners,F.each(t,function(t,e){le.removeEventListener(i,e,t)}))},updateHoverStyle:function(t,e,i){for(var n,o=i?"set":"remove",a=0,r=t.length;a<r;++a)(n=t[a])&&this.getDatasetMeta(n._datasetIndex).controller[o+"HoverStyle"](n);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var e,i=this,n=i.tooltip;if(!1!==x.notify(i,"beforeEvent",[t]))return i._bufferedRender=!0,i._bufferedRequest=null,e=i.handleEvent(t),n&&(e=n._start?n.handleEvent(t):e|n.handleEvent(t)),x.notify(i,"afterEvent",[t]),(n=i._bufferedRequest)?i.render(n):e&&!i.animating&&(i.stop(),i.render({duration:i.options.hover.animationDuration,lazy:!0})),i._bufferedRender=!1,i._bufferedRequest=null,i},handleEvent:function(t){var e=this,i=e.options||{},n=i.hover;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,n.mode,n),F.callback(i.onHover||i.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,n.mode,!1),e.active.length&&n.mode&&e.updateHoverStyle(e.active,n.mode,!0),i=!F.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,i}}),xe.instances={};var A=xe;function ke(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Se(t){this.options=t||{}}(xe.Controller=xe).types={},F.configMerge=ye,F.scaleMerge=ve,F.extend(Se.prototype,{formats:ke,parse:ke,format:ke,add:ke,diff:ke,startOf:ke,endOf:ke,_create:function(t){return t}}),Se.override=function(t){F.extend(Se.prototype,t)};var Ce={_date:Se},t={formatters:{values:function(t){return F.isArray(t)?t:""+t}
1,linear:function(t,e,i){var n=3<i.length?i[2]-i[1]:i[1]-i[0],n=(1<Math.abs(n)&&t!==Math.floor(t)&&(n=t-Math.floor(t)),F.log10(Math.abs(n)));return 0!==t?Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4?(i=F.log10(Math.abs(t)),i=Math.floor(i)-Math.floor(n),i=Math.max(Math.min(i,20),0),t.toExponential(i)):(i=-1*Math.floor(n),i=Math.max(Math.min(i,20),0),t.toFixed(i)):"0"},logarithmic:function(t,e,i){var n=t/Math.pow(10,Math.floor(F.log10(t)));return 0===t?"0":1==n||2==n||5==n||0===e||e===i.length-1?t.toExponential():""}}},Te=F.isArray,Me=F.isNullOrUndef,Ae=F.valueOrDefault,Le=F.valueAtIndexOrDefault;function De(t){return t.drawTicks?t.tickMarkLength:0}function Pe(t){var e;return t.display?(e=F.options._parseFont(t),t=F.options.toPadding(t.padding),e.lineHeight+t.height):0}function Ie(t,e){return F.extend(F.options._parseFont({fontFamily:Ae(e.fontFamily,t.fontFamily),fontSize:Ae(e.fontSize,t.fontSize),fontStyle:Ae(e.fontStyle,t.fontStyle),lineHeight:Ae(e.lineHeight,t.lineHeight)}),{color:F.options.resolve([e.fontColor,t.fontColor,L.global.defaultFontColor])})}function Ee(t){var e=Ie(t,t.minor);return{minor:e,major:t.major.enabled?Ie(t,t.major):e}}function ze(t){for(var e,i=[],n=0,o=t.length;n<o;++n)void 0!==(e=t[n])._index&&i.push(e);return i}function Oe(t,e,i,n){var o,a,r,s=Ae(i,0),l=Math.min(Ae(n,t.length),t.length),c=0;for(e=Math.ceil(e),n&&(e=(n=n-i)/Math.floor(n/e)),r=s;r<0;)c++,r=Math.round(s+c*e);for(o=Math.max(s,0);o<l;o++)a=t[o],o===r?(a._index=o,c++,r=Math.round(s+c*e)):delete a.label}L._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:t.formatters.values,minor:{},major:{}}});var Et=f.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){F.callback(this.options.beforeUpdate,[this])},update:function(t,e,i){var n,o,a,r=this,s=r.options.ticks,l=s.sampleSize;if(r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=F.extend({left:0,right:0,top:0,bottom:0},i),r._ticks=null,r.ticks=null,r._labelSizes=null,r._maxLabelLines=0,r.longestLabelWidth=0,r.longestTextCache=r.longestTextCache||{},r._gridLineItems=null,r._labelItems=null,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeDataLimits(),r.determineDataLimits(),r.afterDataLimits(),r.beforeBuildTicks(),a=r.buildTicks()||[],(!(a=r.afterBuildTicks(a)||a)||!a.length)&&r.ticks)for(a=[],n=0,o=r.ticks.length;n<o;++n)a.push({value:r.ticks[n],major:!1});return r._ticks=a,t=l<a.length,e=r._convertTicksToLabels(t?(t=>{for(var e=[],i=t.length/l,n=0,o=t.length;n<o;n+=i)e.push(t[Math.floor(n)]);return e})(a):a),r._configure(),r.beforeCalculateTickRotation(),r.calculateTickRotation(),r.afterCalculateTickRotation(),r.beforeFit(),r.fit(),r.afterFit(),r._ticksToDraw=s.display&&(s.autoSkip||"auto"===s.source)?r._autoSkip(a):a,t&&(e=r._convertTicksToLabels(r._ticksToDraw)),r.ticks=e,r.afterUpdate(),r.minSize},_configure:function(){var t,e,i=this,n=i.options.ticks.reverse;i.isHorizontal()?(t=i.left,e=i.right):(t=i.top,e=i.bottom,n=!n),i._startPixel=t,i._endPixel=e,i._reversePixels=n,i._length=e-t},afterUpdate:function(){F.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){F.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){F.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){F.callback(this.options.beforeDataLimits,[this])},determineDataLimits:F.noop,afterDataLimits:function(){F.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){F.callback(this.options.beforeBuildTicks,[this])},buildTicks:F.noop,afterBuildTicks:function(t){return Te(t)&&t.length?F.callback(this.options.afterBuildTicks,[this,t]):(this.ticks=F.callback(this.options.afterBuildTicks,[this,this.ticks])||this.ticks,t)},beforeTickToLabelConversion:function(){F.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){F.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){F.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,i,n,o=this,a=o.options,r=a.ticks,s=o.getTicks().length,l=r.minRotation||0,c=r.maxRotation,u=l;!o._isVisible()||!r.display||c<=l||s<=1||!o.isHorizontal()?o.labelRotation=l:(e=(t=o._getLabelSizes()).widest.width,i=t.highest.height-t.highest.offset,n=Math.min(o.maxWidth,o.chart.width-e),e+6>(a.offset?o.maxWidth/s:n/(s-1))&&(n=n/(s-(a.offset?.5:1)),s=o.maxHeight-De(a.gridLines)-r.padding-Pe(a.scaleLabel),r=Math.sqrt(e*e+i*i),u=F.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/n,1)),Math.asin(Math.min(s/r,1))-Math.asin(i/r))),u=Math.max(l,Math.min(c,u))),o.labelRotation=u)},afterCalculateTickRotation:function(){F.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){F.callback(this.options.beforeFit,[this])},fit:function(){var t,e,i,n,o,a,r,s,l=this,c=l.minSize={width:0,height:0},u=l.chart,d=l.options,h=d.ticks,p=d.scaleLabel,f=d.gridLines,m=l._isVisible(),d="bottom"===d.position,g=l.isHorizontal();g?c.width=l.maxWidth:m&&(c.width=De(f)+Pe(p)),g?m&&(c.height=De(f)+Pe(p)):c.height=l.maxHeight,h.display&&m&&(f=Ee(h),m=(p=l._getLabelSizes()).first,t=p.last,e=p.widest,p=p.highe
1st,f=.4*f.minor.lineHeight,i=h.padding,g?(s=0!==l.labelRotation,o=F.toRadians(l.labelRotation),n=Math.cos(o),p=(o=Math.sin(o))*e.width+n*(p.height-(s?p.offset:0))+(s?0:f),c.height=Math.min(l.maxHeight,c.height+p+i),p=l.getPixelForTick(0)-l.left,r=l.right-l.getPixelForTick(l.getTicks().length-1),s=s?(a=d?n*m.width+o*m.offset:o*(m.height-m.offset),d?o*(t.height-t.offset):n*t.width+o*t.offset):(a=m.width/2,t.width/2),l.paddingLeft=Math.max((a-p)*l.width/(l.width-p),0)+3,l.paddingRight=Math.max((s-r)*l.width/(l.width-r),0)+3):(d=h.mirror?0:e.width+i+f,c.width=Math.min(l.maxWidth,c.width+d),l.paddingTop=m.height/2,l.paddingBottom=t.height/2)),l.handleMargins(),g?(l.width=l._length=u.width-l.margins.left-l.margins.right,l.height=c.height):(l.width=c.width,l.height=l._length=u.height-l.margins.top-l.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){F.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(Me(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,i,n;for(this.ticks=t.map(function(t){return t.value}),this.beforeTickToLabelConversion(),e=this.convertTicksToLabels(t)||this.ticks,this.afterTickToLabelConversion(),i=0,n=t.length;i<n;++i)t[i].label=e[i];return e},_getLabelSizes:function(){var t=this._labelSizes;return t||(this._labelSizes=t=((t,e,i,n)=>{for(var o,a,r,s,l,c,u,d,h,p,f,m,g,v=i.length,y=[],b=[],_=[],w=0,x=0,k=0;k<v;++k){if(r=i[k].label,s=i[k].major?e.major:e.minor,t.font=l=s.string,c=n[l]=n[l]||{data:{},gc:[]},u=s.lineHeight,d=h=0,Me(r)||Te(r)){if(Te(r))for(o=0,a=r.length;o<a;++o)p=r[o],Me(p)||Te(p)||(d=F.measureText(t,c.data,c.gc,d,p),h+=u)}else d=F.measureText(t,c.data,c.gc,d,r),h=u;y.push(d),b.push(h),_.push(u/2),w=Math.max(d,w),x=Math.max(h,x)}function S(t){return{width:y[t]||0,height:b[t]||0,offset:_[t]||0}}return g=v,F.each(n,function(t){var e,i=t.gc,n=i.length/2;if(g<n){for(e=0;e<n;++e)delete t.data[i[e]];i.splice(0,n)}}),f=y.indexOf(w),m=b.indexOf(x),{first:S(0),last:S(v-1),widest:S(f),highest:S(m)}})(this.ctx,Ee(this.options.ticks),this.getTicks(),this.longestTextCache),this.longestLabelWidth=t.widest.width),t},_parseValue:function(t){var e,i,n,t=Te(t)?(e=+this.getRightValue(t[0]),i=+this.getRightValue(t[1]),n=Math.min(e,i),Math.max(e,i)):(e=void 0,i=t=+this.getRightValue(t),n=t);return{min:n,max:t,start:e,end:i}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:F.noop,getPixelForValue:F.noop,getValueForPixel:F.noop,getPixelForTick:function(t){var e=this.options.offset,i=this._ticks.length,n=1/Math.max(i-(e?0:1),1);return t<0||i-1<t?null:this.getPixelForDecimal(t*n+(e?n/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){t=(t-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0},_autoSkip:function(t){var e,i,n,o=this.options.ticks,a=this._length,a=o.maxTicksLimit||a/this._tickSize()+1,l=o.major.enabled?(t=>{for(var e=[],i=0,n=t.length;i<n;i++)t[i].major&&e.push(i);return e})(t):[],o=l.length,r=l[0],s=l[o-1];if(a<o){var c,u,d=t,h=l,p=o/a,f=0,m=h[0];for(p=Math.ceil(p),c=0;c<d.length;c++)u=d[c],c===m?(u._index=c,m=h[++f*p]):delete u.label}else if(n=((t,e)=>{var i,n,o,a,r=(t=>{var e,i,n=t.length;if(n<2)return!1;for(i=t[0],e=1;e<n;++e)if(t[e]-t[e-1]!==i)return!1;return i})(l),s=(t.length-1)/e;if(r)for(o=0,a=(i=F.math._factorize(r)).length-1;o<a;o++)if((n=i[o])>s)return n;return Math.max(s,1)})(t,a),0<o){for(e=0,i=o-1;e<i;e++)Oe(t,n,l[e],l[e+1]);Oe(t,n,F.isNullOrUndef(a=1<o?(s-r)/(o-1):null)?0:r-a,r),Oe(t,n,s,F.isNullOrUndef(a)?t.length:s+a)}else Oe(t,n);return ze(t)},_tickSize:function(){var t=this.options.ticks,e=F.toRadians(this.labelRotation),i=Math.abs(Math.cos(e)),e=Math.abs(Math.sin(e)),n=this._getLabelSizes(),t=t.autoSkipPadding||0,o=n?n.widest.width+t:0,n=n?n.highe
1st.height+t:0;return this.isHorizontal()?o*e<n*i?o/i:n/e:n*e<o*i?n/i:o/e},_isVisible:function(){var t,e,i,n=this.chart,o=this.options.display;if("auto"!==o)return!!o;for(t=0,e=n.data.datasets.length;t<e;++t)if(n.isDatasetVisible(t)&&((i=n.getDatasetMeta(t)).xAxisID===this.id||i.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){function e(t){return D(y,t,A)}var i,n,o,a,r,s,l,c,u,d,h,p,f,m,g,v=this,y=v.chart,b=v.options,_=b.gridLines,w=b.position,x=_.offsetGridLines,k=v.isHorizontal(),S=v._ticksToDraw,C=S.length+(x?1:0),T=De(_),M=[],A=_.drawBorder?Le(_.lineWidth,0,0):0,L=A/2,D=F._alignPixel;for("top"===w?(i=e(v.bottom),r=v.bottom-T,l=i-L,u=e(t.top)+L,h=t.bottom):"bottom"===w?(i=e(v.top),u=t.top,h=e(t.bottom)-L,r=i+L,l=v.top+T):"left"===w?(i=e(v.right),a=v.right-T,s=i-L,c=e(t.left)+L,d=t.right):(i=e(v.left),c=t.left,d=e(t.right)-L,a=i+L,s=v.left+T),n=0;n<C;++n)o=S[n]||{},Me(o.label)&&n<S.length||(g=n===v.zeroLineIndex&&b.offset===x?(p=_.zeroLineWidth,f=_.zeroLineColor,m=_.zeroLineBorderDash||[],_.zeroLineBorderDashOffset||0):(p=Le(_.lineWidth,n,1),f=Le(_.color,n,"rgba(0,0,0,0.1)"),m=_.borderDash||[],_.borderDashOffset||0),void 0!==(o=((t,e,i)=>{var n=t.getTicks().length,o=Math.min(e,n-1),a=t.getPixelForTick(o),r=t._startPixel,s=t._endPixel;if(!(i&&(i=1===n?Math.max(a-r,s-a):0===e?(t.getPixelForTick(1)-a)/2:(a-t.getPixelForTick(o-1))/2,(a+=o<e?i:-i)<r-1e-6||s+1e-6<a)))return a})(v,o._index||n,x))&&(o=D(y,o,p),k?a=s=c=d=o:r=l=u=h=o,M.push({tx1:a,ty1:r,tx2:s,ty2:l,x1:c,y1:u,x2:d,y2:h,width:p,color:f,borderDash:m,borderDashOffset:g})));return M.ticksLength=C,M.borderValue=i,M},_computeLabelItems:function(){for(var t,e,i,n,o,a,r,s=this.options,l=s.ticks,c=s.position,u=l.mirror,d=this.isHorizontal(),h=this._ticksToDraw,p=Ee(l),f=l.padding,s=De(s.gridLines),m=-F.toRadians(this.labelRotation),g=[],v="top"===c?(i=this.bottom-s-f,m?"left":"center"):"bottom"===c?(i=this.top+s+f,m?"right":"center"):"left"===c?(e=this.right-(u?0:s)-f,u?"left":"right"):(e=this.left+(u?0:s)+f,u?"right":"left"),y=0,b=h.length;y<b;++y)t=(n=h[y]).label,Me(t)||(r=this.getPixelForTick(n._index||y)+l.labelOffset,o=(n=n.major?p.major:p.minor).lineHeight,a=Te(t)?t.length:1,r=d?(e=r,"top"===c?((m?1:.5)-a)*o:(m?0:.5)*o):(i=r,(1-a)*o/2),g.push({x:e,y:i,rotation:m,label:t,font:n,textOffset:r,textAlign:v}));return g},_drawGrid:function(t){var e=this,i=e.options.gridLines;if(i.display){for(var n,o,a,r,s,l,c,u,d,h=e.ctx,p=e.chart,f=F._alignPixel,m=i.drawBorder?Le(i.lineWidth,0,0):0,g=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t)),v=0,y=g.length;v<y;++v)n=(a=g[v]).width,o=a.color,n&&o&&(h.save(),h.lineWidth=n,h.strokeStyle=o,h.setLineDash&&(h.setLineDash(a.borderDash),h.lineDashOffset=a.borderDashOffset),h.beginPath(),i.drawTicks&&(h.moveTo(a.tx1,a.ty1),h.lineTo(a.tx2,a.ty2)),i.drawOnChartArea&&(h.moveTo(a.x1,a.y1),h.lineTo(a.x2,a.y2)),h.stroke(),h.restore());
1m&&(t=m,u=Le(i.lineWidth,g.ticksLength-1,1),d=g.borderValue,e.isHorizontal()?(r=f(p,e.left,t)-t/2,s=f(p,e.right,u)+u/2,l=c=d):(l=f(p,e.top,t)-t/2,c=f(p,e.bottom,u)+u/2,r=s=d),h.lineWidth=m,h.strokeStyle=Le(i.color,0),h.beginPath(),h.moveTo(r,l),h.lineTo(s,c),h.stroke())}},_drawLabels:function(){if(this.options.ticks.display)for(var t,e,i,n,o,a,r=this.ctx,s=this._labelItems||(this._labelItems=this._computeLabelItems()),l=0,c=s.length;l<c;++l){if(n=(i=s[l]).font,r.save(),r.translate(i.x,i.y),r.rotate(i.rotation),r.font=n.string,r.fillStyle=n.color,r.textBaseline="middle",r.textAlign=i.textAlign,o=i.label,a=i.textOffset,Te(o))for(t=0,e=o.length;t<e;++t)r.fillText(""+o[t],0,a),a+=n.lineHeight;else r.fillText(o,0,a);r.restore()}},_drawTitle:function(){var t,e,i,n,o,a,r,s=this,l=s.ctx,c=s.options,u=c.scaleLabel;u.display&&(t=Ae(u.fontColor,L.global.defaultFontColor),e=F.options._parseFont(u),i=F.options.toPadding(u.padding),n=e.lineHeight/2,c=c.position,r=0,s.isHorizontal()?(o=s.left+s.width/2,a="bottom"===c?s.bottom-n-i.bottom:s.top+n+i.top):(o=(c="left"===c)?s.left+n+i.top:s.right-n-i.top,a=s.top+s.height/2,r=c?-.5*Math.PI:.5*Math.PI),l.save(),l.translate(o,a),l.rotate(r),l.textAlign="center",l.textBaseline="middle",l.fillStyle=t,l.font=e.string,l.fillText(u.labelString,0,0),l.restore())},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,i=e.ticks&&e.ticks.z||0,e=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&i!==e&&t.draw===t._draw?[{z:e,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:i,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:i,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(e){var i=this,n=i.isHorizontal();return i.chart._getSortedVisibleDatasetMetas().filter(function(t){return(!e||t.type===e)&&(n?t.xAxisID===i.id:t.yAxisID===i.id)})}}),D=(Et.prototype._draw=Et.prototype.draw,Et),je=F.isNullOrUndef,b=D.extend({determineDataLimits:function(){var t,e=this._getLabels(),i=this.options.ticks,n=i.min,i=i.max,o=0,a=e.length-1;void 0!==n&&0<=(t=e.indexOf(n))&&(o=t),void 0!==i&&0<=(t=e.indexOf(i))&&(a=t),this.minIndex=o,this.maxIndex=a,this.min=e[o],this.max=e[a]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,i=this.maxIndex;this.ticks=0===e&&i===t.length-1?t:t.slice(e,i+1)},getLabelForIndex:function(t,e){var i=this.chart;return i.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(i.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this.options.offset,e=this.ticks;D.prototype._configure.call(this),this.isHorizontal()||(this._reversePixels=!this._reversePixels),e&&(this._startValue=this.minIndex-(t?.5:0),this._valueRange=Math.max(e.length-(t?0:1),1))},getPixelForValue:function(t,e,i){var n;return je(e)||je(i)||(t=this.chart.data.datasets[i].data[e]),(void 0!==(n=je(t)?n:this.isHorizontal()?t.x:t.y)||void 0!==t&&isNaN(e))&&(i=this._getLabels(),t=F.valueOrDefault(n,t),e=-1!==(n=i.indexOf(t))?n:e,isNaN(e))&&(e=t),this.getPixelForDecimal((e-this._startValue)/this._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){t=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),Ot=(b._defaults={position:"bottom"},F.noop),Ne=F.isNullOrUndef,Be=D.extend({getRightValue:function(t){return"string"==typeof t?+t:D.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,i=(e.beginAtZero&&(i=F.sign(t.min),n=F.sign(t.max),i<0&&n<0?t.max=0:0<i&&0<n&&(t.min=0)),void 0!==e.min||void 0!==e.suggestedMin),n=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),i!=n&&t.min>=t.max&&(i?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,i=e.stepSize,e=e.maxTicksLimit;return i?t=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(t=this._computeTickLimit(),e=e||11),t=e?Math.min(e,t):t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Ot,buildTicks:function(){var f=this,t=f.options.ticks,e=f.getTickLimit(),m={maxTicks:Math.max(2,e),min:t.min,max:t.max,precision:t.precision,stepSize:F.valueOrDefault(t.fixedStepSize,t.stepSize)},e=f.ticks=(()=>{var t,e,i,n=[],o=m.stepSize,a=o||1,r=m.maxTicks-1,s=m.min,l=m.max,c=m.precision,u=f.min,d=f.max,h=F.niceNum((d-u)/r/a)*a;if(h<1e-14&&Ne(s)&&Ne(l))return[u,d];(i=Math.ceil(d/h)-Math.floor(u/h))>r&&(h=F.niceNum(i*h/r/a)*a),o||Ne(c)?t=Math.pow(10,F._decimalPlaces(h)):(t=Math.pow(10,c),h=Math.ceil(h*t)/t),e=Math.floor(u/h)*h,r=Math.ceil(d/h)*h,o&&(!Ne(s)&&F.almostWhole(s/h,h/1e3)&&(e=s),!Ne(l))&&F.almostWhole(l/h,h/1e3)&&(r=l),i=F.almostEquals(i=(r-e)/h,Math.round(i),h/1e3)?Math.round(i):Math.ceil(i),e=Math.round(e*t)/t,r=Math.round(r*t)/t,n.push(Ne(s)?e:s);for(var p=1;p<i;++p)n.push(Math.round((e+p*h)*t)/t);return n.push(Ne(l)?r:l),n})();f.handleDirectionalChanges(),f.max=F.max(e),f.min=F.min(e),t.reverse?(e.reverse(),f.start=f.max,f.end=f.min):(f.start=f.min,f.end=f.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),D.prototype.convertTicksToLabels.call(this)},_configure:function(){var t=this.getTicks(),e=this.min,i=this.max;D.prototype._configure.call(this),this.options.offset&&t.length&&(e-=t=(i-e)/Math.max(t.length-1,1)/2,i+=t),this._startValue=e,this._endValue=i,this._valueRange=i-e}}),Pt={position:"left",ticks:{callback:t.formatters.linear}};function $e(t,e,i,n){for(var o,a=t.options,e=((t,e,i)=>(e=[i.type,void 0===e&&void 0===i.stack?i.index:"",i.stack].join("."),void 0===t[e]&&(t[e]={pos:[],neg:[]}),t[e]))(e,a.stacked,i),r=e.pos,s=e.neg,l=n.length,c=0;c<l;++c)o=t._parseValue(n[c]),isNaN(o.min)||isNaN(o.max)||i.data[c].hidden||(r[c]=r[c]||0,s[c]=s[c]||0,a.relativePoints?r[c]=100:o.min<0||o.max<0?s[c]+=o.min:r[c]+=o.max)}var a=Be.extend({determineDataLimits:function(){var t,e,i,n,o=this,a=o.options,r=o.chart.data.datasets,s=o._getMatchingVisibleMetas(),l=a.stacked,c={},u=s.length;if(o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,void 0===l)for(t=0;!l&&t<u;++t)l=void 0!==(e=s[t]).stack;for(t=0;t<u;++t){i=r[(e=s[t]).index].data;if(l)$e(o,c,e,i);else{d=void 0;h=void 0;p=void 0;g=void 0;f=void 0;m=void 0;var d=o;var h=e;var p=i;for(var f,m=p.length,g=0;g<m;++g)f=d._parseValue(p[g]),isNaN(f.min)||isNaN(f.max)||h.data[g].hidden||(d.min=Math.min(d.min,f.min),d.max=Math.max(d.max,f.max))}}F.each(c,function(t){n=t.pos.concat(t.neg),o.min=Math.min(o.min,F.min(n)),o.max=Math.max(o.max,F.max(n))}),o.min=F.isFinite(o.min)&&!isNaN(o.min)?o.min:0,o.max=F.isFinite(o.max)&&!isNaN(o.max)?o.max:1,o.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=F.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}}),Re=(a._defaults=Pt,F.valueOrDefault),P=F.math.log10,o={position:"left",ticks:{callback:t.formatters.logarithmic}};function We(t,e){return F.isFinite(t)&&0<=t?t:e}var e=D.extend({determineDataLimits:function(){var t,e,i,n,o=this,a=o.options,r=o.chart,s=r.data.datasets,l=o.isHorizontal();function c(t){return l?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var u=a.stacked;if(void 0===u)for(h=0;h<s.length;h++)if(t=r.getDatasetMeta(h),r.isDatasetVisible(h)&&c(t)&&void 0!==t.stack){u=!0;break}if(a.stacked||u){for(var d={},h=0;h<s.length;h++){var p=[(t=r.getDatasetMeta(h)).type,void 0===a.stacked&&void 0===t.stack?h:"",t.stack].join(".");if(r.isDatasetVisible(h)&&c(t))for(void 0===d[p]&&(d[p]=[]),i=0,n=(e=s[h].data).length;i<n;i++){var f=d[p],m=o._parseValue(e[i]);isNaN(m.min)||isNaN(m.max)||t.data[i].hidden||m.min<0||m.max<0||(f[i]=f[i]||0,f[i]+=m.max)}}F.each(d,function(t){var e;0<t.length&&(e=F.min(t),t=F.max(t),o.min=Math.min(o.min,e),o.max=Math.max(o.max,t))})}else for(h=0;h<s.length;h++)if(t=r.getDatasetMeta(h),r.isDatasetVisible(h)&&c(t))for(i=0,n=(e=s[h].data).length;i<n;i++)m=o._parseValue(e[i]),isNaN(m.min)||isNaN(m.max)||t.data[i].hidden||m.min<0||m.max<0||(o.min=Math.min(m.min,o.min),o.max=Math.max(m.max,o.max),0!==m.min&&(o.minNotZero=Math.min(m.min,o.minNotZero)));o.min=F.isFinite(o.min)?o.min:null,o.max=F.isFinite(o.max)?o.max:null,o.minNotZero=F.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=We(e.min,t.min),t.max=We(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(P(t.min))-1),t.max=Math.pow(10,Math.floor(P(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(P(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(P(t.min))+1):10),null===t.minNotZero&&(0<t.min?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(P(t.max))):t.minNotZero=1)}
1,buildTicks:function(){var t=this,e=t.options.ticks,i=!t.isHorizontal(),n={min:We(e.min),max:We(e.max)},n=t.ticks=((t,e)=>{for(var i,n,o=[],a=Re(t.min,Math.pow(10,Math.floor(P(e.min)))),r=Math.floor(P(e.max)),s=Math.ceil(e.max/Math.pow(10,r)),l=(0===a?(i=Math.floor(P(e.minNotZero)),n=Math.floor(e.minNotZero/Math.pow(10,i)),o.push(a),a=n*Math.pow(10,i)):(i=Math.floor(P(a)),n=Math.floor(a/Math.pow(10,i))),i<0?Math.pow(10,Math.abs(i)):1);o.push(a),10==++n&&(n=1,l=0<=++i?1:l),a=Math.round(n*Math.pow(10,i)*l)/l,i<r||i===r&&n<s;);return e=Re(t.max,a),o.push(e),o})(n,t);t.max=F.max(n),t.min=F.min(n),e.reverse?(i=!i,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),i&&n.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),D.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(P(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,i=0;D.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),i=Re(t.options.ticks.fontSize,L.global.defaultFontSize)/t._length),t._startValue=P(e),t._valueOffset=i,t._valueRange=(P(t.max)-P(e))/(1-i)},getPixelForValue:function(t){var e=0;return(t=+this.getRightValue(t))>this.min&&0<t&&(e=(P(t)-this._startValue)/this._valueRange+this._valueOffset),this.getPixelForDecimal(e)},getValueForPixel:function(t){t=this.getDecimalForPixel(t);return 0===t&&0===this.min?0:Math.pow(10,this._startValue+(t-this._valueOffset)*this._valueRange)}}),Fe=(e._defaults=o,F.valueOrDefault),He=F.valueAtIndexOrDefault,Ye=F.options.resolve,Et={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:t.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Ve(t){var e=t.ticks;return e.display&&t.display?Fe(e.fontSize,L.global.defaultFontSize)+2*e.backdropPaddingY:0}function Ue(t,e,i,n,o){return t===n||t===o?{start:e-i/2,end:e+i/2}:t<n||o<t?{start:e-i,end:e}:{start:e,end:e+i}}function qe(t){return F.isNumber(t)?t:0}var Ot=Be.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Ve(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var n=this,o=n.chart,a=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;F.each(o.data.datasets,function(t,e){var i;o.isDatasetVisible(e)&&(i=o.getDatasetMeta(e),F.each(t.data,function(t,e){t=+n.getRightValue(t);isNaN(t)||i.data[e].hidden||(a=Math.min(t,a),r=Math.max(t,r))}))}),n.min=a===Number.POSITIVE_INFINITY?0:a,n.max=r===Number.NEGATIVE_INFINITY?0:r,n.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Ve(this.options))},convertTicksToLabels:function(){var e=this;Be.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(function(){var t=F.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""})},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;if(t.display&&t.pointLabels.display){var e,i=this,n=F.options._parseFont(i.options.pointLabels),o={l:0,r:i.width,t:0,b:i.height-i.paddingTop},a={};i.ctx.font=n.string,i._pointLabelSizes=[];for(var r,s=i.chart.data.labels.length,l=0;l<s;l++){e=i.getPointPosition(l,i.drawingArea+5),r=i.ctx,u=n.lineHeight,c=i.pointLabels[l],r=F.isArray(c)?{w:F.longestText(r,r.font,c),h:c.length*u}:{w:r.measureText(c).width,h:u},i._pointLabelSizes[l]=r;var c=i.getIndexAngle(l),u=F.toDegrees(c)%360,d=Ue(u,e.x,r.w,0,180),u=Ue(u,e.y,r.h,90,270);d.start<o.l&&(o.l=d.start,a.l=c),o.r<d.end&&(o.r=d.end,a.r=c),u.start<o.t&&(o.t=u.start,a.t=c),o.b<u.end&&(o.b=u.end,a.b=c)}i.setReductions(i.drawingArea,o,a)}else this.setCenterPoint(0,0,0,0)}
1,setReductions:function(t,e,i){var n=e.l/Math.sin(i.l),o=Math.max(e.r-this.width,0)/Math.sin(i.r),a=-e.t/Math.cos(i.t),e=-Math.max(e.b-(this.height-this.paddingTop),0)/Math.cos(i.b),n=qe(n),o=qe(o),a=qe(a),e=qe(e);this.drawingArea=Math.min(Math.floor(t-(n+o)/2),Math.floor(t-(a+e)/2)),this.setCenterPoint(n,o,a,e)},setCenterPoint:function(t,e,i,n){var o=this,e=o.width-e-o.drawingArea,i=i+o.drawingArea,n=o.height-o.paddingTop-n-o.drawingArea;o.xCenter=Math.floor((t+o.drawingArea+e)/2+o.left),o.yCenter=Math.floor((i+n)/2+o.top+o.paddingTop)},getIndexAngle:function(t){var e=this.chart,t=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(t<0?360+t:t)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e;return F.isNullOrUndef(t)?NaN:(e=this.drawingArea/(this.max-this.min),this.options.ticks.reverse?(this.max-t)*e:(t-this.min)*e)},getPointPosition:function(t,e){t=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(t)*e+this.xCenter,y:Math.sin(t)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,i=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&i<0?i:0<e&&0<i?e:0)},_drawGrid:function(){var t,d,e,h=this,i=h.ctx,n=h.options,p=n.gridLines,o=n.angleLines,a=Fe(o.lineWidth,p.lineWidth),r=Fe(o.color,p.color);if(n.pointLabels.display){var s=h,l=s.ctx,c=s.options,u=c.pointLabels,f=Ve(c),m=s.getDistanceFromCenterForValue(c.ticks.reverse?s.min:s.max),g=F.options._parseFont(u);l.save(),l.font=g.string,l.textBaseline="middle";for(var v,y,b=s.chart.data.labels.length-1;0<=b;b--){var _,w,x=s.getPointPosition(b,m+(0===b?f/2:0)+5),k=He(u.fontColor,b,L.global.defaultFontColor),k=(l.fillStyle=k,s.getIndexAngle(b)),k=F.toDegrees(k),S=(l.textAlign=0===(y=k)||180===y?"center":y<180?"left":"right",y=k,k=s._pointLabelSizes[b],v=x,90===y||270===y?v.y-=k.h/2:(270<y||y<90)&&(v.y-=k.h),A=w=_=M=T=C=S=void 0,l),C=s.pointLabels[b],T=x,M=g.lineHeight,A=T.y+M/2;if(F.isArray(C))for(_=0,w=C.length;_<w;++_)S.fillText(C[_],T.x,A),A+=M;else S.fillText(C,T.x,A)}l.restore()}if(p.display&&F.each(h.ticks,function(t,e){if(0!==e){d=h.getDistanceFromCenterForValue(h.ticksAsNumbers[e]);var i,n=h,o=p,a=d,r=n.ctx,s=o.circular,l=n.chart.data.labels.length,c=He(o.color,e-1),e=He(o.lineWidth,e-1);if((s||l)&&c&&e){if(r.save(),r.strokeStyle=c,r.lineWidth=e,r.setLineDash&&(r.setLineDash(o.borderDash||[]),r.lineDashOffset=o.borderDashOffset||0),r.beginPath(),s)r.arc(n.xCenter,n.yCenter,a,0,2*Math.PI);else{i=n.getPointPosition(0,a),r.moveTo(i.x,i.y);for(var u=1;u<l;u++)i=n.getPointPosition(u,a),r.lineTo(i.x,i.y)}r.closePath(),r.stroke(),r.restore()}}}),o.display&&a&&r){for(i.save(),i.lineWidth=a,i.strokeStyle=r,i.setLineDash&&(i.setLineDash(Ye([o.borderDash,p.borderDash,[]])),i.lineDashOffset=Ye([o.borderDashOffset,p.borderDashOffset,0])),t=h.chart.data.labels.length-1;0<=t;t--)d=h.getDistanceFromCenterForValue(n.ticks.reverse?h.min:h.max),e=h.getPointPosition(t,d),i.beginPath(),i.moveTo(h.xCenter,h.yCenter),i.lineTo(e.x,e.y),i.stroke();i.restore()}},_drawLabels:function(){var i,n,t,o,a,r=this,s=r.ctx,l=r.options.ticks;l.display&&(t=r.getIndexAngle(0),o=F.options._parseFont(l),a=Fe(l.fontColor,L.global.defaultFontColor),s.save(),s.font=o.string,s.translate(r.xCenter,r.yCenter),s.rotate(t),s.textAlign="center",s.textBaseline="middle",F.each(r.ticks,function(t,e){0===e&&!l.reverse||(i=r.getDistanceFromCenterForValue(r.ticksAsNumbers[e]),l.showLabelBackdrop&&(n=s.measureText(t).width,s.fillStyle=l.backdropColor,s.fillRect(-n/2-l.backdropPaddingX,-i-o.size/2-l.backdropPaddingY,n+2*l.backdropPaddingX,o.size+2*l.backdropPaddingY)),s.fillStyle=a,s.fillText(t,0,-i))}),s.restore())},_drawTitle:F.noop}),Ze=(Ot._defaults=Et,F._deprecated),Ge=F.options.resolve,Xe=F.valueOrDefault,Qe=Number.MIN_SAFE_INTEGER||-9007199254740991,Je=Number.MAX_SAFE_INTEGER||9007199254740991,Ke={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},I=Object.keys(Ke);function ti(t,e){return t-e}function ei(t){return F.valueOrDefault(t.time.min,t.ticks.min)}function ii(t){return F.valueOrDefault(t.time.max,t.ticks.max)}
1function ni(t,e,i,n){var o=((t,e,i)=>{for(var n,o,a,r=0,s=t.length-1;0<=r&&r<=s;){if(o=t[(n=r+s>>1)-1]||null,a=t[n],!o)return{lo:null,hi:a};if(a[e]<i)r=1+n;else{if(!(o[e]>i))return{lo:o,hi:a};s=n-1}}return{lo:a,hi:null}})(t,e,i),a=o.lo?o.hi?o.lo:t[t.length-2]:t[0],o=o.lo?o.hi||t[t.length-1]:t[1],t=o[e]-a[e],i=t?(i-a[e])/t:0;return a[n]+(o[n]-a[n])*i}function oi(t,e){var i=t._adapter,t=t.options.time,n=t.parser,t=n||t.format,o=e;return"function"==typeof n&&(o=n(o)),null!==(o=F.isFinite(o)?o:"string"==typeof t?i.parse(o,t):i.parse(o))?+o:o=n||"function"!=typeof t||(o=t(e),F.isFinite(o))?o:i.parse(o)}function ai(t,e){var i;return F.isNullOrUndef(e)?null:(i=t.options.time,e=null!==(e=oi(t,t.getRightValue(e)))&&i.round?+t._adapter.startOf(e,i.round):e)}function ri(t,e,i,n){for(var o,a,r=I.length,s=I.indexOf(t);s<r-1;++s)if(a=(o=Ke[I[s]]).steps?o.steps:Je,o.common&&Math.ceil((i-e)/(a*o.size))<=n)return I[s];return I[r-1]}function si(t,e,i){for(var n,o=[],a={},r=e.length,s=0;s<r;++s)a[n=e[s]]=s,o.push({value:n,major:!1});if(0!==r&&i){for(var l,c=o,u=a,d=i,h=t._adapter,i=+h.startOf(c[0].value,d),p=c[c.length-1].value,f=i;f<=p;f=+h.add(f,1,d))0<=(l=u[f])&&(c[l].major=!0);return c}return o}var Pt=D.extend({initialize:function(){this.mergeTicksOptions(),D.prototype.initialize.call(this)},update:function(){var t=this.options,e=t.time||(t.time={}),t=this._adapter=new Ce._date(t.adapters.date);return Ze("time scale",e.format,"time.format","time.parser"),Ze("time scale",e.min,"time.min","ticks.min"),Ze("time scale",e.max,"time.max","ticks.max"),F.mergeIf(e.displayFormats,t.formats()),D.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),D.prototype.getRightValue.call(this,t)},determineDataLimits:function(){for(var t,e,i,n,o,a=this,r=a.chart,s=a._adapter,l=a.options,c=l.time.unit||"day",u=Je,d=Qe,h=[],p=[],f=[],m=a._getLabels(),g=0,v=m.length;g<v;++g)f.push(ai(a,m[g]));for(g=0,v=(r.data.datasets||[]).length;g<v;++g)if(r.isDatasetVisible(g))if(i=r.data.datasets[g].data,F.isObject(i[0]))for(p[g]=[],t=0,e=i.length;t<e;++t)n=ai(a,i[t]),h.push(n),p[g][t]=n;else p[g]=f.slice(0),o||(h=h.concat(f),o=!0);else p[g]=[];f.length&&(u=Math.min(u,f[0]),d=Math.max(d,f[f.length-1])),h.length&&(h=(1<v?(t=>{for(var e,i={},n=[],o=0,a=t.length;o<a;++o)i[e=t[o]]||(i[e]=!0,n.push(e));return n})(h):h).sort(ti),u=Math.min(u,h[0]),d=Math.max(d,h[h.length-1])),u=ai(a,ei(l))||u,d=ai(a,ii(l))||d,u=u===Je?+s.startOf(Date.now(),c):u,d=d===Qe?+s.endOf(Date.now(),c)+1:d,a.min=Math.min(u,d),a.max=Math.max(u+1,d),a._table=[],a._timestamps={data:h,datasets:p,labels:f}},buildTicks:function(){var t,e,i,n,o,u=this,a=u.min,r=u.max,s=u.options,l=s.ticks,c=s.time,d=u._timestamps,h=[],p=u.getLabelCapacity(a),f=l.source,m=s.distribution,d="data"===f||"auto"===f&&"series"===m?d.data:"labels"===f?d.labels:((t,e)=>{var i,n=u._adapter,o=u.options,a=(s=o.time).unit||ri(s.minUnit,t,e,p),r=Ge([s.stepSize,s.unitStepSize,1]),s="week"===a&&s.isoWeekday,l=t,c=[];if(s&&(l=+n.startOf(l,"isoWeek",s)),l=+n.startOf(l,s?"day":a),n.diff(e,t,a)>1e5*r)throw t+" and "+e+" are too far apart with stepSize of "+r+" "+a;for(i=l;i<e;i=+n.add(i,r,a))c.push(i);return i!==e&&"ticks"!==o.bounds||c.push(i),c})(a,r);for("ticks"===s.bounds&&d.length&&(a=d[0],r=d[d.length-1]),a=ai(u,ei(s))||a,r=ai(u,ii(s))||r,t=0,e=d.length;t<e;++t)(i=d[t])>=a&&i<=r&&h.push(i);return u.min=a,u.max=r,u._unit=c.unit||(l.autoSkip?ri(c.minUnit,u.min,u.max,p):((t,e,i,n,o)=>{for(var a,r=I.length-1;r>=I.indexOf(i);r--)if(a=I[r],Ke[a].common&&t._adapter.diff(o,n,a)>=e-1)return a;return I[i?I.indexOf(i):0]})(u,h.length,c.minUnit,u.min,u.max)),u._majorUnit=l.major.enabled&&"year"!==u._unit?(t=>{for(var e=I.indexOf(t)+1,i=I.length;e<i;++e)if(Ke[I[e]].common)return I[e]})(u._unit):void 0,u._table=((t,e,i)=>{if("linear"===m||!t.length)return[{time:e,pos:0},{time:i,pos:1}];for(var n,o,a,r=[],s=[e],l=0,c=t.length;l<c;++l)(o=t[l])>e&&o<i&&s.push(o);for(s.push(i),l=0,c=s.length;l<c;++l)a=s[l+1],o=s[l],void 0!==(n=s[l-1])&&void 0!==a&&Math.round((a+n)/2)===o||r.push({time:o,pos:l/(c-1)});return r})(u._timestamps.data,a,r),u._offsets=(f=u._table,c=h,o=n=0,s.offset&&c.length&&(s=ni(f,"time",c[0],"pos"),n=1===c.length?1-s:(ni(f,"time",c[1],"pos")-s)/2,s=ni(f,"time",c[c.length-1],"pos"),o=1===c.length?s:(s-ni(f,"time",c[c.length-2],"pos"))/2),{start:n,end:o,factor:1/(n+1+o)}),l.reverse&&h.reverse(),si(u,h,u._majorUnit)},getLabelForIndex:function(t,e){var i=this._adapter,n=this.chart.data,o=this.options.time,a=n.labels&&t<n.labels.length?n.labels[t]:"",n=n.datasets[e].data[t];return F.isObject(n)&&(a=this.getRightValue(n)),o.tooltipFormat?i.format(
1oi(this,a),o.tooltipFormat):"string"==typeof a?a:i.format(oi(this,a),o.displayFormats.datetime)},tickFormatFunction:function(t,e,i,n){var o=this._adapter,a=this.options,r=a.time.displayFormats,s=r[this._unit],l=this._majorUnit,r=r[l],c=i[e],a=a.ticks,l=l&&r&&c&&c.major,c=o.format(t,n||(l?r:s)),o=l?a.major:a.minor,t=Ge([o.callback,o.userCallback,a.callback,a.userCallback]);return t?t(c,e,i):c},convertTicksToLabels:function(t){for(var e=[],i=0,n=t.length;i<n;++i)e.push(this.tickFormatFunction(t[i].value,i,t));return e},getPixelForOffset:function(t){var e=this._offsets,t=ni(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+t)*e.factor)},getPixelForValue:function(t,e,i){var n=null;if(null!==(n=null===(n=void 0!==e&&void 0!==i?this._timestamps.datasets[i][e]:n)?ai(this,t):n))return this.getPixelForOffset(n)},getPixelForTick:function(t){var e=this.getTicks();return 0<=t&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,t=this.getDecimalForPixel(t)/e.factor-e.end,e=ni(this._table,"pos",t,"time");return this._adapter._create(e)},_getLabelSize:function(t){var e=this.options.ticks,t=this.ctx.measureText(t).width,i=F.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),n=Math.cos(i),i=Math.sin(i),e=Xe(e.fontSize,L.global.defaultFontSize);return{w:t*n+e*i,h:t*i+e*n}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this.options.time,i=e.displayFormats,e=i[e.unit]||i.millisecond,i=this.tickFormatFunction(t,0,si(this,[t],this._majorUnit),e),t=this._getLabelSize(i),e=Math.floor(this.isHorizontal()?this.width/t.w:this.height/t.h);return this.options.offset&&e--,0<e?e:1}}),o=(Pt._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},{category:b,linear:a,logarithmic:e,radialLinear:Ot,time:Pt}),li={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"},ci=(Ce._date.override("function"==typeof n?{_id:"moment",formats:function(){return li},parse:function(t,e){return"string"==typeof t&&"string"==typeof e?t=n(t,e):t instanceof n||(t=n(t)),t.isValid()?t.valueOf():null},format:function(t,e){return n(t).format(e)},add:function(t,e,i){return n(t).add(e,i).valueOf()},diff:function(t,e,i){return n(t).diff(n(e),i)},startOf:function(t,e,i){return t=n(t),("isoWeek"===e?t.isoWeekday(i):t.startOf(e)).valueOf()},endOf:function(t,e){return n(t).endOf(e).valueOf()},_create:function(t){return n(t)}}:{}),L._set("global",{plugins:{filler:{propagate:!0}}}),{dataset:function(t){var e=t.fill,t=t.chart,i=t.getDatasetMeta(e),n=i&&t.isDatasetVisible(e)&&i.dataset._children||[],o=n.length||0;return o?function(t,e){return e<o&&n[e]._view||null}:null},boundary:function(t){var i=t.boundary,e=i?i.x:null,n=i?i.y:null;return F.isArray(i)?function(t,e){return i[e]}:function(t){return{x:null===e?t.x:e,y:null===n?t.y:n}}}});function ui(u){return((u.el._scale||{}).getPointPositionForValue?()=>{var t,e,i,n,o,a=u.el._scale,r=a.options,s=a.chart.data.labels.length,l=u.fill,c=[];if(!s)return null;for(t=r.ticks.reverse?a.max:a.min,e=r.ticks.reverse?a.min:a.max,i=a.getPointPositionForValue(0,t),n=0;n<s;++n)o="start"===l||"end"===l?a.getPointPositionForValue(n,"start"===l?t:e):a.getBasePosition(n),r.gridLines.circular&&(o.cx=i.x,o.cy=i.y,o.angle=a.getIndexAngle(n)-Math.PI/2),c.push(o);return c}:()=>{var t=u.el._model||{},e=u.el._scale||{},i=u.fill,n=null;if(!isFinite(i)&&("start"===i?n=void 0===t.scaleBottom?e.bottom:t.scaleBottom:"end"===i?n=void 0===t.scaleTop?e.top:t.scaleTop:void 0!==t.scaleZero?n=t.scaleZero:e.getBasePixel&&(n=e.getBasePixel()),null!=n)){if(void 0!==n.x&&void 0!==n.y)return n;if(F.isFinite(n))return{x:(i=e.isHorizontal())?n:null,y:i?null:n}}return null})()}function di(t){return t&&!t.skip}function hi(t,e,i,n,o){var a,r,s,l;if(n&&o){for(t.moveTo(e[0].x,e[0].y),a=1;a<n;++a)F.canvas.lineTo(t,e[a-1],e[a]);if(void 0===i[0].angle)for(t.lineTo(i[o-1].x,i[o-1].y),a=o-1;0<a;--a)F.canvas.lineTo(t,i[a],i[a-1],!0);else for(r=i[0].cx,s=i[0].cy,l=Math.sqrt(Math.pow(i[0].x-r,2)+Math.pow(i[0].y-s,2)),a=o-1;0<a;--a)t.arc(r,s,l,i[a].angle,i[a-1].angle,!0)}}var Et={id:"filler",afterDatasetsUpdate:function(t,e){for(var i,n,o,a,r,s,l=(t.data.datasets||[]).length,c=e.propagate,u=[],d=0;d<l;++d)o=null,(n=(i=t.getDatasetMeta(d)).dataset)&&n._model&&n instanceof v.Line&&(o={visible:t.isDatasetVisible(d),fill:((t,e,i)=>{var n=(t=t._model||{}).fill;if(!1===(n=void 0===n?!!t.backgroundColor:n)||null===n)return!1;if(!0===n)return"origin";if(t=parseFloat(n,10),isFinite(t)&&Math.floor(t)===t)return!((t="-"!==n[0]&&"+"!==n[0]?t:e+t)===e||t<0||i<=t)&&t;switch(n){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return n;default:return!1}})(n,d,l),chart:t,el:n}),i.$filler=o,u.push(o);for(d=0;d<l;++d)(o=u[d])&&(o.fill=((t,e,i)=>{var n,o=t[e].fill,a=[e];if(!i)return o;for(;!1!==o&&-1===a.indexOf(o);){if(!isFinite(o))return o;if(!(n=t[o]))return!1;if(n.visible)return o;a.push(o),o=n.fill}return!1})(u,d,c),o.boundary=ui(o),o.mapper=(s=r=void 0,r=(a=o).fill,!(s="dataset")===r?null:(isFinite(r)||(s="boundary"),ci[s](a)
1)))},beforeDatasetsDraw:function(t){for(var e,i,n,o,a,r=t._getSortedVisibleDatasetMetas(),s=t.ctx,l=r.length-1;0<=l;--l)if((o=r[l].$filler)&&o.visible&&(i=(e=o.el)._view,n=e._children||[],o=o.mapper,a=i.backgroundColor||L.global.defaultColor,o)&&a&&n.length){F.canvas.clipArea(s,t.chartArea),M=T=C=S=k=x=w=_=b=v=y=g=m=f=p=h=d=u=c=void 0;var c=s,u=n,d=o,h=i,p=a,f=e._loop,m,g,v,y,b,_,w,x=u.length,k=h.spanGaps,S=[],C=[],T=0,M=0;for(c.beginPath(),m=0,g=x;m<g;++m)y=d(v=u[y=m%x]._view,y,h),b=di(v),_=di(y),f&&void 0===w&&b&&(g=x+(w=m+1)),b&&_?(T=S.push(v),M=C.push(y)):T&&M&&(k?(b&&S.push(v),_&&C.push(y)):(hi(c,S,C,T,M),T=M=0,S=[],C=[]));hi(c,S,C,T,M),c.closePath(),c.fillStyle=p,c.fill(),F.canvas.unclipArea(s)}}},pi=F.rtl.getRtlAdapter,b=F.noop,E=F.valueOrDefault;function fi(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}L._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var e=e.datasetIndex,i=this.chart,n=i.getDatasetMeta(e);n.hidden=null===n.hidden?!i.data.datasets[e].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(i){var n=i.data.datasets,t=i.options.legend||{},o=t.labels&&t.labels.usePointStyle;return i._getSortedDatasetMetas().map(function(t){var e=t.controller.getStyle(o?0:void 0);return{text:n[t.index].label,fillStyle:e.backgroundColor,hidden:!i.isDatasetVisible(t.index),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,rotation:e.rotation,datasetIndex:t.index}},this)}}},legendCallback:function(t){var e,i,n,o=document.createElement("ul"),a=t.data.datasets;for(o.setAttribute("class",t.id+"-legend"),e=0,i=a.length;e<i;e++)(n=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[e].backgroundColor,a[e].label&&n.appendChild(document.createTextNode(a[e].label));return o.outerHTML}});var mi=f.extend({initialize:function(t){F.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:b,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:b,beforeSetDimensions:b,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:b,beforeBuildLabels:b,buildLabels:function(){var e=this,i=e.options.labels||{},t=F.callback(i.generateLabels,[e.chart],e)||[];i.filter&&(t=t.filter(function(t){return i.filter(t,e.chart.data)})),e.options.reverse&&t.reverse(),e.legendItems=t},afterBuildLabels:b,beforeFit:b,fit:function(){var i,n,o,a,r,s,l,c,t=this,e=t.options,u=e.labels,e=e.display,d=t.ctx,h=F.options._parseFont(u),p=h.size,f=t.legendHitBoxes=[],m=t.minSize,g=t.isHorizontal();g?(m.width=t.maxWidth,m.height=e?10:0):(m.width=e?10:0,m.height=t.maxHeight),e?(d.font=h.string,g?(i=t.lineWidths=[0],n=0,d.textAlign="left",d.textBaseline="middle",F.each(t.legendItems,function(t,e){t=fi(u,p)+p/2+d.measureText(t.text).width;(0===e||i[i.length-1]+t+2*u.padding>m.width)&&(n+=p+u.padding,i[i.length-(0<e?0:1)]=0),f[e]={left:0,top:0,width:t,height:p},i[i.length-1]+=t+u.padding}),m.height+=n):(o=u.padding,a=t.columnWidths=[],r=t.columnHeights=[],s=u.padding,c=l=0,F.each(t.legendItems,function(t,e){t=fi(u,p)+p/2+d.measureText(t.text).width;0<e&&c+p+2*o>m.height&&(s+=l+u.padding,a.push(l),r.push(c),c=l=0),l=Math.max(l,t),c+=p+o,f[e]={left:0,top:0,width:t,height:p}}),s+=l,a.push(l),r.push(c),m.width+=s),t.width=m.width,t.height=m.height):t.width=m.width=t.height=m.height=0},afterFit:b,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var h,p,t,f,m,g,v,y,b,_,w=this,i=w.options,x=i.labels,e=L.global,k=e.defaultColor,S=e.elements.line,C=w.height,T=w.columnHeights,M=w.width,A=w.lineWidths;
1i.display&&(h=pi(i.rtl,w.left,w.minSize.width),p=w.ctx,e=E(x.fontColor,e.defaultFontColor),t=F.options._parseFont(x),f=t.size,p.textAlign=h.textAlign("left"),p.textBaseline="middle",p.lineWidth=.5,p.strokeStyle=e,p.fillStyle=e,p.font=t.string,m=fi(x,f),g=w.legendHitBoxes,v=function(t,e){switch(i.align){case"start":return x.padding;case"end":return t-e;default:return(t-e+x.padding)/2}},y=w.isHorizontal(),b=y?{x:w.left+v(M,A[0]),y:w.top+x.padding,line:0}:{x:w.left+x.padding,y:w.top+v(C,T[0]),line:0},F.rtl.overrideTextDirection(w.ctx,i.textDirection),_=f+x.padding,F.each(w.legendItems,function(t,e){var i,n,o,a,r,s,l=p.measureText(t.text).width,c=m+f/2+l,u=b.x,d=b.y,u=(h.setWidth(w.minSize.width),y?0<e&&u+c+x.padding>w.left+w.minSize.width&&(d=b.y+=_,b.line++,u=b.x=w.left+v(M,A[b.line])):0<e&&d+_>w.top+w.minSize.height&&(u=b.x=u+w.columnWidths[b.line]+x.padding,b.line++,d=b.y=w.top+v(C,T[b.line])),h.x(u));i=u,n=d,o=t,isNaN(m)||m<=0||(p.save(),a=E(o.lineWidth,S.borderWidth),p.fillStyle=E(o.fillStyle,k),p.lineCap=E(o.lineCap,S.borderCapStyle),p.lineDashOffset=E(o.lineDashOffset,S.borderDashOffset),p.lineJoin=E(o.lineJoin,S.borderJoinStyle),p.lineWidth=a,p.strokeStyle=E(o.strokeStyle,k),p.setLineDash&&p.setLineDash(E(o.lineDash,S.borderDash)),x&&x.usePointStyle?(r=m*Math.SQRT2/2,s=h.xPlus(i,m/2),F.canvas.drawPoint(p,o.pointStyle,r,s,n+f/2,o.rotation)):(p.fillRect(h.leftForLtr(i,m),n,m,f),0!==a&&p.strokeRect(h.leftForLtr(i,m),n,m,f)),p.restore()),g[e].left=h.leftForLtr(u,g[e].width),g[e].top=d,r=d,s=t,o=l,a=f/2,i=h.xPlus(u,m+a),r+=a,p.fillText(s.text,i,r),s.hidden&&(p.beginPath(),p.lineWidth=2,p.moveTo(i,r),p.lineTo(h.xPlus(i,o),r),p.stroke()),y?b.x+=c+x.padding:b.y+=_}),F.rtl.restoreTextDirection(w.ctx,i.textDirection))},_getLegendItemAt:function(t,e){var i,n,o;if(t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom)for(o=this.legendHitBoxes,i=0;i<o.length;++i)if(t>=(n=o[i]).left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height)return this.legendItems[i];return null},handleEvent:function(t){var e,i=this.options,n="mouseup"===t.type?"click":t.type;if("mousemove"===n){if(!i.onHover&&!i.onLeave)return}else{if("click"!==n)return;if(!i.onClick)return}e=this._getLegendItemAt(t.x,t.y),"click"===n?e&&i.onClick&&i.onClick.call(this,t.native,e):(i.onLeave&&e!==this._hoveredItem&&(this._hoveredItem&&i.onLeave.call(this,t.native,this._hoveredItem),this._hoveredItem=e),i.onHover&&e&&i.onHover.call(this,t.native,e))}});function gi(t,e){var i=new mi({ctx:t.ctx,options:e,chart:t});_.configure(t,i,e),_.addBox(t,i),t.legend=i}var a={id:"legend",_element:mi,beforeInit:function(t){var e=t.options.legend;e&&gi(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(F.mergeIf(e,L.global.legend),i?(_.configure(t,i,e),i.options=e):gi(t,e)):i&&(_.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){t=t.legend;t&&t.handleEvent(e)}},e=F.noop,vi=(L._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}}),f.extend({initialize:function(t){F.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:e,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:e,beforeSetDimensions:e,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:e,beforeBuildLabels:e,buildLabels:e,afterBuildLabels:e,beforeFit:e,fit:function(){var t=this.options,e=this.minSize={},i=this.isHorizontal();t.display?(t=(F.isArray(t.text)?t.text.length:1)*F.options._parseFont(t).lineHeight+2*t.padding,this.width=e.width=i?this.maxWidth:t,this.height=e.height=i?t:this.maxHeight):this.width=e.width=this.height=e.height=0},afterFit:e,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this.ctx,e=this.options;if(e.display){var i,n,o,a=F.options._parseFont(e),r=a.lineHeight,s=r/2+e.padding,l=0,c=this.top,u=this.left,d=this.bottom,h=this.right,p=(t.fillStyle=F.valueOrDefault(e.fontColor,L.global.defaultFontColor),t.font=a.string,this.isHorizontal()?(n=u+(h-u)/2,o=c+s,i=h-u):(n="left"===e.position?u+s:h-s,o=c+(d-c)/2,i=d-c,l=Math.PI*("left"===e.position?-.5:.5)),t.save(),t.translate(n,o),t.rotate(l),t.textAlign="center",t.textBaseline="middle",e.text);if(F.isArray(p))for(var f=0,m=0;m<p.length;++m)t.fillText(p[m],0,f,i),f+=r;else t.fillText(p,0,0,i);
1t.restore()}}}));function yi(t,e){var i=new vi({ctx:t.ctx,options:e,chart:t});_.configure(t,i,e),_.addBox(t,i),t.titleBlock=i}var bi,z={},Ot=a,Pt={id:"title",_element:vi,beforeInit:function(t){var e=t.options.title;e&&yi(t,e)},beforeUpdate:function(t){var e=t.options.title,i=t.titleBlock;e?(F.mergeIf(e,L.global.title),i?(_.configure(t,i,e),i.options=e):yi(t,e)):i&&(_.removeBox(t,i),delete t.titleBlock)}};for(bi in z.filler=Et,z.legend=Ot,z.title=Pt,(A.helpers=F).where=function(t,e){var i;return F.isArray(t)&&Array.prototype.filter?t.filter(e):(i=[],F.each(t,function(t){e(t)&&i.push(t)}),i)},F.findIndex=Array.prototype.findIndex?function(t,e,i){return t.findIndex(e,i)}:function(t,e,i){i=void 0===i?t:i;for(var n=0,o=t.length;n<o;++n)if(e.call(i,t[n],n,t))return n;return-1},F.findNextWhere=function(t,e,i){for(var n=(i=F.isNullOrUndef(i)?-1:i)+1;n<t.length;n++){var o=t[n];if(e(o))return o}},F.findPreviousWhere=function(t,e,i){for(var n=(i=F.isNullOrUndef(i)?t.length:i)-1;0<=n;n--){var o=t[n];if(e(o))return o}},F.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},F.almostEquals=function(t,e,i){return Math.abs(t-e)<i},F.almostWhole=function(t,e){var i=Math.round(t);return i-e<=t&&t<=i+e},F.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},F.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},F.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:0<t?1:-1},F.toRadians=function(t){return t*(Math.PI/180)},F.toDegrees=function(t){return t*(180/Math.PI)},F._decimalPlaces=function(t){if(F.isFinite(t)){for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i}},F.getAngleFromPoint=function(t,e){var i=e.x-t.x,e=e.y-t.y,t=Math.sqrt(i*i+e*e),e=Math.atan2(e,i);return e<-.5*Math.PI&&(e+=2*Math.PI),{angle:e,distance:t}},F.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},F.aliasPixel=function(t){return t%2==0?0:.5},F._alignPixel=function(t,e,i){t=t.currentDevicePixelRatio,i/=2;return Math.round((e-i)*t)/t+i},F.splineCurve=function(t,e,i,n){var t=t.skip?e:t,o=e,e=i.skip?e:i,i=Math.sqrt(Math.pow(o.x-t.x,2)+Math.pow(o.y-t.y,2)),a=Math.sqrt(Math.pow(e.x-o.x,2)+Math.pow(e.y-o.y,2)),r=i/(i+a),i=a/(i+a),a=n*(isNaN(r)?0:r),r=n*(isNaN(i)?0:i);return{previous:{x:o.x-a*(e.x-t.x),y:o.y-a*(e.y-t.y)},next:{x:o.x+r*(e.x-t.x),y:o.y+r*(e.y-t.y)}}},F.EPSILON=Number.EPSILON||1e-14,F.splineCurveMonotone=function(t){for(var e,i,n,o,a,r,s,l,c=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),u=c.length,d=0;d<u;++d)(e=c[d]).model.skip||(l=0<d?c[d-1]:null,(i=d<u-1?c[d+1]:null)&&!i.model.skip&&(s=i.model.x-e.model.x,e.deltaK=0!=s?(i.model.y-e.model.y)/s:0),!l||l.model.skip?e.mK=e.deltaK:!i||i.model.skip?e.mK=l.deltaK:this.sign(l.deltaK)!==this.sign(e.deltaK)?e.mK=0:e.mK=(l.deltaK+e.deltaK)/2);for(d=0;d<u-1;++d)e=c[d],i=c[d+1],e.model.skip||i.model.skip||(F.almostEquals(e.deltaK,0,this.EPSILON)?e.mK=i.mK=0:(n=e.mK/e.deltaK,o=i.mK/e.deltaK,(a=Math.pow(n,2)+Math.pow(o,2))<=9||(a=3/Math.sqrt(a),e.mK=n*a*e.deltaK,i.mK=o*a*e.deltaK)));for(d=0;d<u;++d)(e=c[d]).model.skip||(l=0<d?c[d-1]:null,i=d<u-1?c[d+1]:null,l&&!l.model.skip&&(r=(e.model.x-l.model.x)/3,e.model.controlPointPreviousX=e.model.x-r,e.model.controlPointPreviousY=e.model.y-r*e.mK),i&&!i.model.skip&&(r=(i.model.x-e.model.x)/3,e.model.controlPointNextX=e.model.x+r,e.model.controlPointNextY=e.model.y+r*e.mK))},F.nextItem=function(t,e,i){return i?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},F.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},F.niceNum=function(t,e){var i=Math.floor(F.log10(t)),t=t/Math.pow(10,i);return(e?t<1.5?1:t<3?2:t<7?5:10:t<=1?1:t<=2?2:t<=5?5:10)*Math.pow(10,i)},F.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},F.getRelativePosition=function(t,e){var i,n=t.originalEvent||t,t=t.target||t.srcElement,o=t.getBoundingClientRect(),a=n.touches,a=(a&&0<a.length?(i=a[0].clientX,a[0]):(i=n.clientX,n)).clientY,n=parseFloat(F.getStyle(t,"padding-left")),r=parseFloat(F.getStyle(t,"padding-top")),s=parseFloat(F.getStyle(t,"padding-right")),l=parseFloat(F.getStyle(t,"padding-bottom")),s=o.right-o.left-n-s,l=o.bottom-o.top-r-l;return{x:i=Math.round((i-o.left-n)/s*t.width/e.currentDevicePixelRatio),y:a=Math.round((a-o.top-r)/l*t.height/e.currentDevicePixelRatio)}},F.getConstraintWidth=function(t){return xi(t,"max-width","clientWidth")},F.getConstraintHeight=function(t){return xi(t,"max-height","clientHeight")}
1,F._calculatePadding=function(t,e,i){return-1<(e=F.getStyle(t,e)).indexOf("%")?i*parseInt(e,10)/100:parseInt(e,10)},F._getParentNode=function(t){t=t.parentNode;return t=t&&"[object ShadowRoot]"===t.toString()?t.host:t},F.getMaximumWidth=function(t){var e,i=F._getParentNode(t);return i?(i=(e=i.clientWidth)-F._calculatePadding(i,"padding-left",e)-F._calculatePadding(i,"padding-right",e),e=F.getConstraintWidth(t),isNaN(e)?i:Math.min(i,e)):t.clientWidth},F.getMaximumHeight=function(t){var e,i=F._getParentNode(t);return i?(i=(e=i.clientHeight)-F._calculatePadding(i,"padding-top",e)-F._calculatePadding(i,"padding-bottom",e),e=F.getConstraintHeight(t),isNaN(e)?i:Math.min(i,e)):t.clientHeight},F.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},F.retinaScale=function(t,e){var i,n,o,e=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;1!==e&&(i=t.canvas,o=t.width,i.height=(n=t.height)*e,i.width=o*e,t.ctx.scale(e,e),i.style.height||i.style.width||(i.style.height=n+"px",i.style.width=o+"px"))},F.fontString=function(t,e,i){return e+" "+t+"px "+i},F.longestText=function(t,e,i,n){var o=(n=n||{}).data=n.data||{},a=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(o=n.data={},a=n.garbageCollect=[],n.font=e),t.font=e;for(var r,s,l,c,u=0,d=i.length,h=0;h<d;h++)if(null!=(l=i[h])&&!0!==F.isArray(l))u=F.measureText(t,o,a,u,l);else if(F.isArray(l))for(r=0,s=l.length;r<s;r++)null==(c=l[r])||F.isArray(c)||(u=F.measureText(t,o,a,u,c));var p=a.length/2;if(i.length<p){for(h=0;h<p;h++)delete o[a[h]];a.splice(0,p)}return u},F.measureText=function(t,e,i,n,o){var a=e[o];return a||(a=e[o]=t.measureText(o).width,i.push(o)),n=n<a?a:n},F.numberOfLabelLines=function(t){var e=1;return F.each(t,function(t){F.isArray(t)&&t.length>e&&(e=t.length)}),e},F.color=X?function(t){return t instanceof CanvasGradient&&(t=L.global.defaultColor),X(t)}:function(t){return console.error("Color.js not found!"),t},F.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:F.color(t).saturate(.5).darken(.1).rgbString()},A._adapters=Ce,A.Animation=st,A.animationService=lt,A.controllers=jt,A.DatasetController=m,A.defaults=L,A.Element=f,A.elements=v,A.Interaction=Ht,A.layouts=_,A.platform=le,A.plugins=x,A.Scale=D,A.scaleService=ce,A.Ticks=t,A.Tooltip=me,A.helpers.each(o,function(t,e){A.scaleService.registerScaleType(e,t,t._defaults)}),z)z.hasOwnProperty(bi)&&A.plugins.register(z[bi]);function _i(t,e,i){var n;return"string"==typeof t?(n=parseInt(t,10),-1!==t.indexOf("%")&&(n=n/100*e.parentNode[i])):n=t,n}function wi(t){return null!=t&&"none"!==t}function xi(t,e,i){var n=document.defaultView,o=F._getParentNode(t),a=n.getComputedStyle(t)[e],n=n.getComputedStyle(o)[e],e=wi(a),r=wi(n),s=Number.POSITIVE_INFINITY;return e||r?Math.min(e?_i(a,t,i):s,r?_i(n,o,i):s):"none"}A.platform.initialize();b=A;return"undefined"!=typeof window&&(window.Chart=A),(A.Chart=A).Legend=z.legend._element,A.Title=z.title._element,A.pluginService=A.plugins,A.PluginBase=A.Element.extend({}),A.canvasHelpers=A.helpers.canvas,A.layoutService=A.layouts,A.LinearScaleBase=Be,A.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(i){A[i]=function(t,e){return new A(t,A.helpers.merge(e||{},{type:i.charAt(0).toLowerCase()+i.slice(1)}))}}),b}),((t,e)=>{"function"==typeof define&&define.amd?define("Chartist",[],function(){return t.Chartist=e()}):"object"==typeof module&&module.exports?module.exports=e():t.Chartist=e()})(this,function(){var y,o,b,a,m,r,s,l,c,h,u,d,p,i,f,g,v,_,w,x,k,t={version:"0.11.4"},e=(e=this||global,w=t,x=e.window,k=e.document,w.namespaces={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},w.noop=function(t){return t},w.alphaNumerate=function(t){return String.fromCharCode(97+t%26)},w.extend=function(t){var e,i,n;for(t=t||{},e=1;e<arguments.length;e++)for(var o in i=arguments[e])n=i[o],"object"!=typeof n||null===n||n instanceof Array?t[o]=n:t[o]=w.extend(t[o],n);return t}
1,w.replaceAll=function(t,e,i){return t.replace(new RegExp(e,"g"),i)},w.ensureUnit=function(t,e){return"number"==typeof t&&(t+=e),t},w.quantity=function(t){var e;return"string"==typeof t?{value:+(e=/^(\d+)\s*(.*)$/g.exec(t))[1],unit:e[2]||void 0}:{value:t}},w.querySelector=function(t){return t instanceof Node?t:k.querySelector(t)},w.times=function(t){return Array.apply(null,new Array(t))},w.sum=function(t,e){return t+(e||0)},w.mapMultiply=function(e){return function(t){return t*e}},w.mapAdd=function(e){return function(t){return t+e}},w.serialMap=function(n,o){var a=[],t=Math.max.apply(null,n.map(function(t){return t.length}));return w.times(t).forEach(function(t,e){var i=n.map(function(t){return t[e]});a[e]=o.apply(null,i)}),a},w.roundWithPrecision=function(t,e){e=Math.pow(10,e||w.precision);return Math.round(t*e)/e},w.precision=8,w.escapingMap={"&":"&","<":"<",">":">",'"':""","'":"'"},w.serialize=function(t){return null==t?t:("number"==typeof t?t=""+t:"object"==typeof t&&(t=JSON.stringify({data:t})),Object.keys(w.escapingMap).reduce(function(t,e){return w.replaceAll(t,e,w.escapingMap[e])},t))},w.deserialize=function(t){if("string"==typeof t){t=Object.keys(w.escapingMap).reduce(function(t,e){return w.replaceAll(t,w.escapingMap[e],e)},t);try{t=void 0!==(t=JSON.parse(t)).data?t.data:t}catch(t){}}return t},w.createSvg=function(e,t,i,n){return t=t||"100%",i=i||"100%",Array.prototype.slice.call(e.querySelectorAll("svg")).filter(function(t){return t.getAttributeNS(w.namespaces.xmlns,"ct")}).forEach(function(t){e.removeChild(t)}),(n=new w.Svg("svg").attr({width:t,height:i}).addClass(n))._node.style.width=t,n._node.style.height=i,e.appendChild(n._node),n},w.normalizeData=function(t,e,i){var n={raw:t,normalized:{}};return n.normalized.series=w.getDataArray({series:t.series||[]},e,i),i=n.normalized.series.every(function(t){return t instanceof Array})?Math.max.apply(null,n.normalized.series.map(function(t){return t.length})):n.normalized.series.length,n.normalized.labels=(t.labels||[]).slice(),Array.prototype.push.apply(n.normalized.labels,w.times(Math.max(0,i-n.normalized.labels.length)).map(function(){return""})),e&&w.reverseData(n.normalized),n},w.safeHasProperty=function(t,e){return null!==t&&"object"==typeof t&&t.hasOwnProperty(e)},w.isDataHoleValue=function(t){return null==t||"number"==typeof t&&isNaN(t)},w.reverseData=function(t){t.labels.reverse(),t.series.reverse();for(var e=0;e<t.series.length;e++)"object"==typeof t.series[e]&&void 0!==t.series[e].data?t.series[e].data.reverse():t.series[e]instanceof Array&&t.series[e].reverse()},w.getDataArray=function(t,e,n){return t.series.map(function t(e){var i;return w.safeHasProperty(e,"value")?t(e.value):w.safeHasProperty(e,"data")?t(e.data):e instanceof Array?e.map(t):w.isDataHoleValue(e)?void 0:n?(i={},"string"==typeof n?i[n]=w.getNumberOrUndefined(e):i.y=w.getNumberOrUndefined(e),i.x=e.hasOwnProperty("x")?w.getNumberOrUndefined(e.x):i.x,i.y=e.hasOwnProperty("y")?w.getNumberOrUndefined(e.y):i.y,i):w.getNumberOrUndefined(e)})},w.normalizePadding=function(t,e){return e=e||0,"number"==typeof t?{top:t,right:t,bottom:t,left:t}:{top:"number"==typeof t.top?t.top:e,right:"number"==typeof t.right?t.right:e,bottom:"number"==typeof t.bottom?t.bottom:e,left:"number"==typeof t.left?t.left:e}},w.getMetaData=function(t,e){t=(t.data||t)[e];return t?t.meta:void 0},w.orderOfMagnitude=function(t){return Math.floor(Math.log(Math.abs(t))/Math.LN10)},w.projectLength=function(t,e,i){return e/i.range*t},w.getAvailableHeight=function(t,e){return Math.max((w.quantity(e.height).value||t.height())-(e.chartPadding.top+e.chartPadding.bottom)-e.axisX.offset,0)},w.getHighLow=function(t,e,o){var a={high:void 0===(e=w.extend({},e,o?e["axis"+o.toUpperCase()]:{})).high?-Number.MAX_VALUE:+e.high,low:void 0===e.low?Number.MAX_VALUE:+e.low},r=void 0===e.high,s=void 0===e.low;return(r||s)&&function t(e){if(void 0!==e)if(e instanceof Array)for(var i=0;i<e.length;i++)t(e[i]);else{var n=o?+e[o]:+e;r&&a.high<n&&(a.high=n),s&&n<a.low&&(a.low=n)}}(t),!e.referenceValue&&0!==e.referenceValue||(a.high=Math.max(e.referenceValue,a.high),a.low=Math.min(e.referenceValue,a.low)),a.high<=a.low&&(0===a.low?a.high=1:a.low<0?a.high=0:(0<a.high||(a.high=1),a.low=0)),a},w.isNumeric=function(t){return null!==t&&isFinite(t)}
1,w.isFalseyButZero=function(t){return!t&&0!==t},w.getNumberOrUndefined=function(t){return w.isNumeric(t)?+t:void 0},w.isMultiValue=function(t){return"object"==typeof t&&("x"in t||"y"in t)},w.getMultiValue=function(t,e){return w.isMultiValue(t)?w.getNumberOrUndefined(t[e||"y"]):w.getNumberOrUndefined(t)},w.rho=function(t){function e(t){return t*t+1}if(1===t)return t;var i,n=2,o=2;if(t%2==0)return 2;for(;n=e(n)%t,o=e(e(o))%t,1===(i=function t(e,i){return e%i==0?i:t(i,e%i)}(Math.abs(n-o),t)););return i},w.getBounds=function(t,e,i,n){function o(t,e){return t===(t+=e)&&(t*=1+(0<e?u:-u)),t}var a,r,s=0,l={high:e.high,low:e.low};l.valueRange=l.high-l.low,l.oom=w.orderOfMagnitude(l.valueRange),l.step=Math.pow(10,l.oom),l.min=Math.floor(l.low/l.step)*l.step,l.max=Math.ceil(l.high/l.step)*l.step,l.range=l.max-l.min,l.numberOfSteps=Math.round(l.range/l.step);var c=w.projectLength(t,l.step,l)<i,e=n?w.rho(l.range):0;if(n&&w.projectLength(t,1,l)>=i)l.step=1;else if(n&&e<l.step&&w.projectLength(t,e,l)>=i)l.step=e;else for(;;){if(c&&w.projectLength(t,l.step,l)<=i)l.step*=2;else{if(c||!(w.projectLength(t,l.step/2,l)>=i))break;if(l.step/=2,n&&l.step%1!=0){l.step*=2;break}}if(1e3<s++)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}var u=2221e-19;for(l.step=Math.max(l.step,u),a=l.min,r=l.max;a+l.step<=l.low;)a=o(a,l.step);for(;l.high<=r-l.step;)r=o(r,-l.step);l.min=a,l.max=r,l.range=l.max-l.min;for(var d=[],h=l.min;h<=l.max;h=o(h,l.step)){var p=w.roundWithPrecision(h);p!==d[d.length-1]&&d.push(p)}return l.values=d,l},w.polarToCartesian=function(t,e,i,n){n=(n-90)*Math.PI/180;return{x:t+i*Math.cos(n),y:e+i*Math.sin(n)}},w.createChartRect=function(t,e,i){var n=!(!e.axisX&&!e.axisY),o=n?e.axisY.offset:0,a=n?e.axisX.offset:0,r=t.width()||w.quantity(e.width).value||0,t=t.height()||w.quantity(e.height).value||0,i=w.normalizePadding(e.chartPadding,i),r=Math.max(r,o+i.left+i.right),t=Math.max(t,a+i.top+i.bottom),s={padding:i,width:function(){return this.x2-this.x1},height:function(){return this.y1-this.y2}};return n?("start"===e.axisX.position?(s.y2=i.top+a,s.y1=Math.max(t-i.bottom,s.y2+1)):(s.y2=i.top,s.y1=Math.max(t-i.bottom-a,s.y2+1)),"start"===e.axisY.position?(s.x1=i.left+o,s.x2=Math.max(r-i.right,s.x1+1)):(s.x1=i.left,s.x2=Math.max(r-i.right-o,s.x1+1))):(s.x1=i.left,s.x2=Math.max(r-i.right,s.x1+1),s.y2=i.top,s.y1=Math.max(t-i.bottom,s.y2+1)),s},w.createGrid=function(t,e,i,n,o,a,r,s){var l={},t=(l[i.units.pos+"1"]=t,l[i.units.pos+"2"]=t,l[i.counterUnits.pos+"1"]=n,l[i.counterUnits.pos+"2"]=n+o,a.elem("line",l,r.join(" ")));s.emit("draw",w.extend({type:"grid",axis:i,index:e,group:a,element:t},l))},w.createGridBackground=function(t,e,i,n){e=t.elem("rect",{x:e.x1,y:e.y2,width:e.width(),height:e.height()},i,!0);n.emit("draw",{type:"gridBackground",group:t,element:e})},w.createLabel=function(t,e,i,n,o,a,r,s,l,c,u){var d={};d[o.units.pos]=t+r[o.units.pos],d[o.counterUnits.pos]=r[o.counterUnits.pos],d[o.units.len]=e,d[o.counterUnits.len]=Math.max(0,a-10),r=c?((t=k.createElement("span")).className=l.join(" "),t.setAttribute("xmlns",w.namespaces.xhtml),t.innerText=n[i],t.style[o.units.len]=Math.round(d[o.units.len])+"px",t.style[o.counterUnits.len]=Math.round(d[o.counterUnits.len])+"px",s.foreignObject(t,w.extend({style:"overflow: visible;"},d))):s.elem("text",d,l.join(" ")).text(n[i]),u.emit("draw",w.extend({type:"label",axis:o,index:i,group:s,element:r,text:n[i]},d))},w.getSeriesOption=function(t,e,i){return(t.name&&e.series&&e.series[t.name]&&(t=e.series[t.name]).hasOwnProperty(i)?t:e)[i]},w.optionsProvider=function(t,i,n){function e(t){var e=o;if(o=w.extend({},r),i)for(a=0;a<i.length;a++)x.matchMedia(i[a][0]).matches&&(o=w.extend(o,i[a][1]));n&&t&&n.emit("optionsChanged",{previousOptions:e,currentOptions:o})}var o,a,r=w.extend({},t),s=[];
1if(!x.matchMedia)throw"window.matchMedia not found! Make sure you're using a polyfill.";if(i)for(a=0;a<i.length;a++){var l=x.matchMedia(i[a][0]);l.addListener(e),s.push(l)}return e(),{removeMediaQueryListeners:function(){s.forEach(function(t){t.removeListener(e)})},getCurrentOptions:function(){return w.extend({},o)}}},w.splitIntoSegments=function(t,e,i){i=w.extend({},{increasingX:!1,fillHoles:!1},i);for(var n=[],o=!0,a=0;a<t.length;a+=2)void 0===w.getMultiValue(e[a/2].value)?i.fillHoles||(o=!0):((o=i.increasingX&&2<=a&&t[a]<=t[a-2]?!0:o)&&(n.push({pathCoordinates:[],valueData:[]}),o=!1),n[n.length-1].pathCoordinates.push(t[a],t[a+1]),n[n.length-1].valueData.push(e[a/2]));return n},this||global,(_=t).Interpolation={},_.Interpolation.none=function(l){return l=_.extend({},{fillHoles:!1},l),function(t,e){for(var i=new _.Svg.Path,n=!0,o=0;o<t.length;o+=2){var a=t[o],r=t[o+1],s=e[o/2];void 0!==_.getMultiValue(s.value)?(n?i.move(a,r,!1,s):i.line(a,r,!1,s),n=!1):l.fillHoles||(n=!0)}return i}},_.Interpolation.simple=function(d){d=_.extend({},{divisor:2,fillHoles:!1},d);var h=1/Math.max(1,d.divisor);return function(t,e){for(var i,n,o,a=new _.Svg.Path,r=0;r<t.length;r+=2){var s=t[r],l=t[r+1],c=(s-i)*h,u=e[r/2];void 0!==u.value?(void 0===o?a.move(s,l,!1,u):a.curve(i+c,n,s-c,l,s,l,!1,u),i=s,n=l,o=u):d.fillHoles||(i=o=void 0)}return a}},_.Interpolation.cardinal=function(c){c=_.extend({},{tension:1,fillHoles:!1},c);var u=Math.min(1,Math.max(0,c.tension)),d=1-u;return function e(t,i){var n,o=_.splitIntoSegments(t,i,{fillHoles:c.fillHoles});if(o.length){if(1<o.length)return n=[],o.forEach(function(t){n.push(e(t.pathCoordinates,t.valueData))}),_.Svg.Path.join(n);if(t=o[0].pathCoordinates,i=o[0].valueData,t.length<=4)return _.Interpolation.none()(t,i);for(var a=(new _.Svg.Path).move(t[0],t[1],!1,i[0]),r=0,s=t.length;r<s-2;r+=2){var l=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];s-4===r?l[3]=l[2]:r||(l[0]={x:+t[r],y:+t[r+1]}),a.curve(u*(-l[0].x+6*l[1].x+l[2].x)/6+d*l[2].x,u*(-l[0].y+6*l[1].y+l[2].y)/6+d*l[2].y,u*(l[1].x+6*l[2].x-l[3].x)/6+d*l[2].x,u*(l[1].y+6*l[2].y-l[3].y)/6+d*l[2].y,l[2].x,l[2].y,!1,i[(r+2)/2])}return a}return _.Interpolation.none()([])}},_.Interpolation.monotoneCubic=function(f){return f=_.extend({},{fillHoles:!1},f),function e(t,i){var n,o=_.splitIntoSegments(t,i,{fillHoles:f.fillHoles,increasingX:!0});if(o.length){if(1<o.length)return n=[],o.forEach(function(t){n.push(e(t.pathCoordinates,t.valueData))}),_.Svg.Path.join(n);if(t=o[0].pathCoordinates,i=o[0].valueData,t.length<=4)return _.Interpolation.none()(t,i);for(var a,r=[],s=[],l=t.length/2,c=[],u=[],d=[],h=[],p=0;p<l;p++)r[p]=t[2*p],s[p]=t[2*p+1];for(p=0;p<l-1;p++)d[p]=s[p+1]-s[p],h[p]=r[p+1]-r[p],u[p]=d[p]/h[p];for(c[0]=u[0],c[l-1]=u[l-2],p=1;p<l-1;p++)0!==u[p]&&0!==u[p-1]&&0<u[p-1]==0<u[p]&&(c[p]=3*(h[p-1]+h[p])/((2*h[p]+h[p-1])/u[p-1]+(h[p]+2*h[p-1])/u[p]),isFinite(c[p]))||(c[p]=0);for(a=(new _.Svg.Path).move(r[0],s[0],!1,i[0]),p=0;p<l-1;p++)a.curve(r[p]+h[p]/3,s[p]+c[p]*h[p]/3,r[p+1]-h[p]/3,s[p+1]-c[p+1]*h[p]/3,r[p+1],s[p+1],!1,i[p+1]);return a}return _.Interpolation.none()([])}},_.Interpolation.step=function(u){return u=_.extend({},{postpone:!0,fillHoles:!1},u),function(t,e){for(var i,n,o,a=new _.Svg.Path,r=0;r<t.length;r+=2){var s=t[r],l=t[r+1],c=e[r/2];void 0!==c.value?(void 0===o?a.move(s,l,!1,c):(u.postpone?a.line(s,n,!1,o):a.line(i,l,!1,c),a.line(s,l,!1,c)),i=s,n=l,o=c):u.fillHoles||(i=n=o=void 0)}return a}},this||global,t.EventEmitter=function(){var n=[];return{addEventHandler:function(t,e){n[t]=n[t]||[],n[t].push(e)},removeEventHandler:function(t,e){!n[t]||e&&(n[t].splice(n[t].indexOf(e),1),0!==n[t].length)||delete n[t]},emit:function(e,i){n[e]&&n[e].forEach(function(t){t(i)}),n["*"]&&n["*"].forEach(function(t){t(e,i)})}}},this||global,(v=t).Class={extend:function(t,e){function i(){var t=n.constructor||function(){},e=this===v?Object.create(n):this;return t.apply(e,Array.prototype.slice.call(arguments,0)),e}var e=e||this.prototype||v.Class,n=Object.create(e);return v.Class.cloneDefinitions(n,t),i.prototype=n,i.super=e,i.extend=this.extend,i},cloneDefinitions:function(){var t=(t=>{var e=[];
1if(t.length)for(var i=0;i<t.length;i++)e.push(t[i]);return e})(arguments),i=t[0];return t.splice(1,t.length-1).forEach(function(e){Object.getOwnPropertyNames(e).forEach(function(t){delete i[t],Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(e,t))})}),i}},e=this||global,f=t,g=e.window,f.Base=f.Class.extend({constructor:function(t,e,i,n,o){this.container=f.querySelector(t),this.data=e||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.defaultOptions=i,this.options=n,this.responsiveOptions=o,this.eventEmitter=f.EventEmitter(),this.supportsForeignObject=f.Svg.isSupported("Extensibility"),this.supportsAnimations=f.Svg.isSupported("AnimationEventsAttribute"),this.resizeListener=function(){this.update()}.bind(this),this.container&&(this.container.__chartist__&&this.container.__chartist__.detach(),this.container.__chartist__=this),this.initializeTimeoutId=setTimeout(function(){g.addEventListener("resize",this.resizeListener),this.optionsProvider=f.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.addEventHandler("optionsChanged",function(){this.update()}.bind(this)),this.options.plugins&&this.options.plugins.forEach(function(t){t instanceof Array?t[0](this,t[1]):t(this)}.bind(this)),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=void 0}.bind(this),0)},optionsProvider:void 0,container:void 0,svg:void 0,eventEmitter:void 0,createChart:function(){throw new Error("Base chart type can't be instantiated!")},update:function(t,e,i){return t&&(this.data=t||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.eventEmitter.emit("data",{type:"update",data:this.data})),e&&(this.options=f.extend({},i?this.options:this.defaultOptions,e),this.initializeTimeoutId||(this.optionsProvider.removeMediaQueryListeners(),this.optionsProvider=f.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter))),this.initializeTimeoutId||this.createChart(this.optionsProvider.getCurrentOptions()),this},detach:function(){return this.initializeTimeoutId?g.clearTimeout(this.initializeTimeoutId):(g.removeEventListener("resize",this.resizeListener),this.optionsProvider.removeMediaQueryListeners()),this},on:function(t,e){return this.eventEmitter.addEventHandler(t,e),this},off:function(t,e){return this.eventEmitter.removeEventHandler(t,e),this},version:f.version,supportsForeignObject:!1}),this||global),S=t,C=e.document;return S.Svg=S.Class.extend({constructor:function(t,e,i,n,o){t instanceof Element?this._node=t:(this._node=C.createElementNS(S.namespaces.svg,t),"svg"===t&&this.attr({"xmlns:ct":S.namespaces.ct})),e&&this.attr(e),i&&this.addClass(i),n&&(o&&n._node.firstChild?n._node.insertBefore(this._node,n._node.firstChild):n._node.appendChild(this._node))},attr:function(i,t){return"string"==typeof i?t?this._node.getAttributeNS(t,i):this._node.getAttribute(i):(Object.keys(i).forEac
1h(function(t){var e;void 0!==i[t]&&(-1!==t.indexOf(":")?(e=t.split(":"),this._node.setAttributeNS(S.namespaces[e[0]],t,i[t])):this._node.setAttribute(t,i[t]))}.bind(this)),this)},elem:function(t,e,i,n){return new S.Svg(t,e,i,this,n)},parent:function(){return this._node.parentNode instanceof SVGElement?new S.Svg(this._node.parentNode):null},root:function(){for(var t=this._node;"svg"!==t.nodeName;)t=t.parentNode;return new S.Svg(t)},querySelector:function(t){return(t=this._node.querySelector(t))?new S.Svg(t):null},querySelectorAll:function(t){return(t=this._node.querySelectorAll(t)).length?new S.Svg.List(t):null},getNode:function(){return this._node},foreignObject:function(t,e,i,n){"string"==typeof t&&((o=C.createElement("div")).innerHTML=t,t=o.firstChild),t.setAttribute("xmlns",S.namespaces.xmlns);var o=this.elem("foreignObject",e,i,n);return o._node.appendChild(t),o},text:function(t){return this._node.appendChild(C.createTextNode(t)),this},empty:function(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this},remove:function(){return this._node.parentNode.removeChild(this._node),this.parent()},replace:function(t){return this._node.parentNode.replaceChild(t._node,this._node),t},append:function(t,e){return e&&this._node.firstChild?this._node.insertBefore(t._node,this._node.firstChild):this._node.appendChild(t._node),this},classes:function(){return this._node.getAttribute("class")?this._node.getAttribute("class").trim().split(/\s+/):[]},addClass:function(t){return this._node.setAttribute("class",this.classes(this._node).concat(t.trim().split(/\s+/)).filter(function(t,e,i){return i.indexOf(t)===e}).join(" ")),this},removeClass:function(t){var e=t.trim().split(/\s+/);return this._node.setAttribute("class",this.classes(this._node).filter(function(t){return-1===e.indexOf(t)}).join(" ")),this},removeAllClasses:function(){return this._node.setAttribute("class",""),this},height:function(){return this._node.getBoundingClientRect().height},width:function(){return this._node.getBoundingClientRect().width},animate:function(t,i,s){return void 0===i&&(i=!0),Object.keys(t).forEach(function(r){function e(e,t){var i,n,o,a={};e.easing&&(o=e.easing instanceof Array?e.easing:S.Svg.Easing[e.easing],delete e.easing),e.begin=S.ensureUnit(e.begin,"ms"),e.dur=S.ensureUnit(e.dur,"ms"),o&&(e.calcMode="spline",e.keySplines=o.join(" "),e.keyTimes="0;1"),t&&(e.fill="freeze",a[r]=e.from,this.attr(a),n=S.quantity(e.begin||0).value,e.begin="indefinite"),i=this.elem("animate",S.extend({attributeName:r},e)),t&&setTimeout(function(){try{i._node.beginElement()}catch(t){a[r]=e.to,this.attr(a),i.remove()}}.bind(this),n),s&&i._node.addEventListener("beginEvent",function(){s.emit("animationBegin",{element:this,animate:i._node,params:e})}.bind(this)),i._node.addEventListener("endEvent",function(){s&&s.emit("animationEnd",{element:this,animate:i._node,params:e}),t&&(a[r]=e.to,this.attr(a),i.remove())}.bind(this))}t[r]instanceof Array?t[r].forEach(function(t){e.bind(this)(t,!1)}.bind(this)):e.bind(this)(t[r],i)}.bind(this)),this}}),S.Svg.isSupported=function(t){return C.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#"+t,"1.1")},S.Svg.Easing={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]},S.Svg.List=S.Class.extend({constructor:function(t){var n=this;this.svgElements=[];for(var e=0;e<t.length;e++)this.svgElements.push(new S.Svg(t[e]));Object.keys(S.Svg.prototype).filter(function(t){return-1===["constructor","parent","querySelector","querySelectorAll","replace","append","classes","height","width"].indexOf(t)}
1).forEach(function(i){n[i]=function(){var e=Array.prototype.slice.call(arguments,0);return n.svgElements.forEach(function(t){S.Svg.prototype[i].apply(t,e)}),n}})}}),this||global,p={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},i={accuracy:3},(d=t).Svg.Path=d.Class.extend({constructor:function(t,e){this.pathElements=[],this.pos=0,this.close=t,this.options=d.extend({},i,e)},position:function(t){return void 0!==t?(this.pos=Math.max(0,Math.min(this.pathElements.length,t)),this):this.pos},remove:function(t){return this.pathElements.splice(this.pos,t),this},move:function(t,e,i,n){return M("M",{x:+t,y:+e},this.pathElements,this.pos++,i,n),this},line:function(t,e,i,n){return M("L",{x:+t,y:+e},this.pathElements,this.pos++,i,n),this},curve:function(t,e,i,n,o,a,r,s){return M("C",{x1:+t,y1:+e,x2:+i,y2:+n,x:+o,y:+a},this.pathElements,this.pos++,r,s),this},arc:function(t,e,i,n,o,a,r,s,l){return M("A",{rx:+t,ry:+e,xAr:+i,lAf:+n,sf:+o,x:+a,y:+r},this.pathElements,this.pos++,s,l),this},scale:function(i,n){return A(this.pathElements,function(t,e){t[e]*="x"===e[0]?i:n}),this},translate:function(i,n){return A(this.pathElements,function(t,e){t[e]+="x"===e[0]?i:n}),this},transform:function(a){return A(this.pathElements,function(t,e,i,n,o){i=a(t,e,i,n,o);!i&&0!==i||(t[e]=i)}),this},parse:function(t){"Z"===(t=t.replace(/([A-Za-z])([0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce(function(t,e){return e.match(/[A-Za-z]/)&&t.push([]),t[t.length-1].push(e),t},[]))[t.length-1][0].toUpperCase()&&t.pop();var t=t.map(function(n){var t=n.shift(),e=p[t.toLowerCase()];return d.extend({command:t},e.reduce(function(t,e,i){return t[e]=+n[i],t},{}))}),e=[this.pos,0];return Array.prototype.push.apply(e,t),Array.prototype.splice.apply(this.pathElements,e),this.pos+=t.length,this},stringify:function(){var n=Math.pow(10,this.options.accuracy);return this.pathElements.reduce(function(t,e){var i=p[e.command.toLowerCase()].map(function(t){return this.options.accuracy?Math.round(e[t]*n)/n:e[t]}.bind(this));return t+e.command+i.join(",")}.bind(this),"")+(this.close?"Z":"")},clone:function(t){return(t=new d.Svg.Path(t||this.close)).pos=this.pos,t.pathElements=this.pathElements.slice().map(function(t){return d.extend({},t)}),t.options=d.extend({},this.options),t},splitByCommand:function(e){var i=[new d.Svg.Path];return this.pathElements.forEach(function(t){t.command===e.toUpperCase()&&0!==i[i.length-1].pathElements.length&&i.push(new d.Svg.Path),i[i.length-1].pathElements.push(t)}),i}}),d.Svg.Path.elementDescriptions=p,d.Svg.Path.join=function(t,e,i){for(var n=new d.Svg.Path(e,i),o=0;o<t.length;o++)for(var a=t[o],r=0;r<a.pathElements.length;r++)n.pathElements.push(a.pathElements[r]);return n},e=this||global,h=t,e.window,u={x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}},h.Axis=h.Class.extend({constructor:function(t,e,i,n){this.units=t,this.counterUnits=t===u.x?u.y:u.x,this.chartRect=e,this.axisLength=e[t.rectEnd]-e[t.rectStart],this.gridOffset=e[t.rectOffset],this.ticks=i,this.options=n},createGridAndLabels:function(o,a,r,s,l){var c=s["axis"+this.units.pos.toUpperCase()],u=this.ticks.map(this.projectValue.bind(this)),d=this.ticks.map(c.labelInterpolationFnc);u.forEach(function(t,e){var i={x:0,y:0},n=u[e+1]?u[e+1]-t:Math.max(this.axisLength-t,30);h.isFalseyButZero(d[e])&&""!==d[e]||("x"===this.units.pos?(t=this.chartRect.x1+t,i.x=s.axisX.labelOffset.x,"start"===s.axisX.position?i.y=this.chartRect.padding.top+s.axisX.labelOffset.y+(r?5:20):i.y=this.chartRect.y1+s.axisX.labelOffset.y+(r?5:20)):(t=this.chartRect.y1-t,i.y=s.axisY.labelOffset.y-(r?n:0),"start"===s.axisY.position?i.x=r?this.chartRect.padding.left+s.axisY.labelOffset.x:this.chartRect.x1-10:i.x=this.chartRect.x2+s.axisY.labelOffset.x+10),c.showGrid&&h.createGrid(t,e,this,this.gridOffset,this.chartRect[this.counterUnits.len](),o,[s.classNames.grid,s.classNames[this.units.dir]],l),c.showLabel&&h.createLabel(t,n,e,d,this,c.offset,i,a,[s.classNames.label,s.classNames[this.units.dir],"start"===c.position?s.classNames[c.position]:s.classNames.end],r,l))}.bind(this))}
1,projectValue:function(t,e,i){throw new Error("Base axis can't be instantiated!")}}),h.Axis.units=u,e=this||global,c=t,e.window,c.AutoScaleAxis=c.Axis.extend({constructor:function(t,e,i,n){e=n.highLow||c.getHighLow(e,n,t.pos),this.bounds=c.getBounds(i[t.rectEnd]-i[t.rectStart],e,n.scaleMinSpace||20,n.onlyInteger),this.range={min:this.bounds.min,max:this.bounds.max},c.AutoScaleAxis.super.constructor.call(this,t,i,this.bounds.values,n)},projectValue:function(t){return this.axisLength*(+c.getMultiValue(t,this.units.pos)-this.bounds.min)/this.bounds.range}}),e=this||global,l=t,e.window,l.FixedScaleAxis=l.Axis.extend({constructor:function(t,e,i,n){var o=n.highLow||l.getHighLow(e,n,t.pos);this.divisor=n.divisor||1,this.ticks=n.ticks||l.times(this.divisor).map(function(t,e){return o.low+(o.high-o.low)/this.divisor*e}.bind(this)),this.ticks.sort(function(t,e){return t-e}),this.range={min:o.low,max:o.high},l.FixedScaleAxis.super.constructor.call(this,t,i,this.ticks,n),this.stepLength=this.axisLength/this.divisor},projectValue:function(t){return this.axisLength*(+l.getMultiValue(t,this.units.pos)-this.range.min)/(this.range.max-this.range.min)}}),e=this||global,s=t,e.window,s.StepAxis=s.Axis.extend({constructor:function(t,e,i,n){s.StepAxis.super.constructor.call(this,t,i,n.ticks,n),t=Math.max(1,n.ticks.length-(n.stretch?1:0)),this.stepLength=this.axisLength/t},projectValue:function(t,e){return this.stepLength*e}}),e=this||global,m=t,e.window,r={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:m.noop,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:m.noop,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}},m.Line=m.Base.extend({constructor:function(t,e,i,n){m.Line.super.constructor.call(this,t,e,r,m.extend({},r,i),n)},createChart:function(c){var u=m.normalizeData(this.data,c.reverseData,!0),t=(this.svg=m.createSvg(this.container,c.width,c.height,c.classNames.chart),this.svg.elem("g").addClass(c.classNames.gridGroup)),d=this.svg.elem("g"),e=this.svg.elem("g").addClass(c.classNames.labelGroup),h=m.createChartRect(this.svg,c,r.padding),p=void 0===c.axisX.type?new m.StepAxis(m.Axis.units.x,u.normalized.series,h,m.extend({},c.axisX,{ticks:u.normalized.labels,stretch:c.fullWidth})):c.axisX.type.call(m,m.Axis.units.x,u.normalized.series,h,c.axisX),f=void 0===c.axisY.type?new m.AutoScaleAxis(m.Axis.units.y,u.normalized.series,h,m.extend({},c.axisY,{high:(m.isNumeric(c.high)?c:c.axisY).high,low:(m.isNumeric(c.low)?c:c.axisY).low})):c.axisY.type.call(m,m.Axis.units.y,u.normalized.series,h,c.axisY);p.createGridAndLabels(t,e,this.supportsForeignObject,c,this.eventEmitter),f.createGridAndLabels(t,e,this.supportsForeignObject,c,this.eventEmitter),c.showGridBackground&&m.createGridBackground(t,h,c.classNames.gridBackground,this.eventEmitter),u.raw.series.forEach(function(n,o){var t,a,i=d.elem("g"),r=(i.attr({"ct:series-name":n.name,"ct:meta":m.serialize(n.meta)}),i.addClass([c.classNames.series,n.className||c.classNames.series+"-"+m.alphaNumerate(o)].join(" ")),[]),s=[],e=(u.normalized.series[o].forEach(function(t,e){var i={x:h.x1+p.projectValue(t,e,u.normalized.series[o]),y:h.y1-f.projectValue(t,e,u.normalized.series[o])};r.push(i.x,i.y),s.push({value:t,valueIndex:e,meta:m.getMetaData(n,e)})}.bind(this)),{lineSmooth:m.getSeriesOption(n,c,"lineSmooth"),showPoint:m.getSeriesOption(n,c,"showPoint"),showLine:m.getSeriesOption(n,c,"showLine"),showArea:m.getSeriesOption(n,c,"showArea"),areaBase:m.getSeriesOption(n,c,"areaBase")}),l=("function"==typeof e.lineSmooth?e.lineSmooth:e.lineSmooth?m.Interpolation.monotoneCubic():m.Interpolation.none())(r,s);
1e.showPoint&&l.pathElements.forEach(function(t){var e=i.elem("line",{x1:t.x,y1:t.y,x2:t.x+.01,y2:t.y},c.classNames.point).attr({"ct:value":[t.data.value.x,t.data.value.y].filter(m.isNumeric).join(","),"ct:meta":m.serialize(t.data.meta)});this.eventEmitter.emit("draw",{type:"point",value:t.data.value,index:t.data.valueIndex,meta:t.data.meta,series:n,seriesIndex:o,axisX:p,axisY:f,group:i,element:e,x:t.x,y:t.y})}.bind(this)),e.showLine&&(t=i.elem("path",{d:l.stringify()},c.classNames.line,!0),this.eventEmitter.emit("draw",{type:"line",values:u.normalized.series[o],path:l.clone(),chartRect:h,index:o,series:n,seriesIndex:o,seriesMeta:n.meta,axisX:p,axisY:f,group:i,element:t})),e.showArea&&f.range&&(t=Math.max(Math.min(e.areaBase,f.range.max),f.range.min),a=h.y1-f.projectValue(t),l.splitByCommand("M").filter(function(t){return 1<t.pathElements.length}).map(function(t){var e=t.pathElements[0],i=t.pathElements[t.pathElements.length-1];return t.clone(!0).position(0).remove(1).move(e.x,a).line(e.x,e.y).position(t.pathElements.length+1).line(i.x,a)}).forEach(function(t){var e=i.elem("path",{d:t.stringify()},c.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:u.normalized.series[o],path:t.clone(),series:n,seriesIndex:o,axisX:p,axisY:f,chartRect:h,index:o,group:i,element:e})}.bind(this)))}.bind(this)),this.eventEmitter.emit("created",{bounds:f.bounds,chartRect:h,axisX:p,axisY:f,svg:this.svg,options:c})}}),e=this||global,b=t,e.window,a={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:b.noop,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:b.noop,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}},b.Bar=b.Base.extend({constructor:function(t,e,i,n){b.Bar.super.constructor.call(this,t,e,a,b.extend({},a,i),n)},createChart:function(u){u.distributeSeries?(d=b.normalizeData(this.data,u.reverseData,u.horizontalBars?"x":"y")).normalized.series=d.normalized.series.map(function(t){return[t]}):d=b.normalizeData(this.data,u.reverseData,u.horizontalBars?"x":"y"),this.svg=b.createSvg(this.container,u.width,u.height,u.classNames.chart+(u.horizontalBars?" "+u.classNames.horizontalBars:""));var d,t,e=this.svg.elem("g").addClass(u.classNames.gridGroup),i=this.svg.elem("g"),n=this.svg.elem("g").addClass(u.classNames.labelGroup);(t=u.stackBars&&0!==d.normalized.series.length?(t=b.serialMap(d.normalized.series,function(){return Array.prototype.slice.call(arguments).map(function(t){return t}).reduce(function(t,e){return{x:t.x+(e&&e.x)||0,y:t.y+(e&&e.y)||0}},{x:0,y:0})}),b.getHighLow([t],u,u.horizontalBars?"x":"y")):b.getHighLow(d.normalized.series,u,u.horizontalBars?"x":"y")).high=+u.high||(0===u.high?0:t.high),t.low=+u.low||(0===u.low?0:t.low);var h,p,f,m,g=b.createChartRect(this.svg,u,a.padding),o=u.distributeSeries&&u.stackBars?d.normalized.labels.slice(0,1):d.normalized.labels,v=(u.horizontalBars?(h=f=void 0===u.axisX.type?new b.AutoScaleAxis(b.Axis.units.x,d.normalized.series,g,b.extend({},u.axisX,{highLow:t,referenceValue:0})):u.axisX.type.call(b,b.Axis.units.x,d.normalized.series,g,b.extend({},u.axisX,{highLow:t,referenceValue:0})),p=m=void 0===u.axisY.type?new b.StepAxis(b.Axis.units.y,d.normalized.series,g,{ticks:o}):u.axisY.type.call(b,b.Axis.units.y,d.normalized.series,g,u.axisY)):(p=f=void 0===u.axisX.type?new b.StepAxis(b.Axis.units.x,d.normalized.series,g,{ticks:o}):u.axisX.type.call(b,b.Axis.units.x,d.normalized.series,g,u.axisX),h=m=void 0===u.axisY.type?new b.AutoScaleAxis(b.Axis.units.y,d.normalized.series,g,b.extend({},u.axisY,{highLow:t,referenceValue:0})):u.axisY.type.call(b,b.Axis.units.y,d.normalized.series,g,b.extend({},u.axisY,{highLow:t,referenceValue:0}
1))),u.horizontalBars?g.x1+h.projectValue(0):g.y1-h.projectValue(0)),y=[];p.createGridAndLabels(e,n,this.supportsForeignObject,u,this.eventEmitter),h.createGridAndLabels(e,n,this.supportsForeignObject,u,this.eventEmitter),u.showGridBackground&&b.createGridBackground(e,g,u.classNames.gridBackground,this.eventEmitter),d.raw.series.forEach(function(a,r){var s=r-(d.raw.series.length-1)/2,l=u.distributeSeries&&!u.stackBars?p.axisLength/d.normalized.series.length/2:u.distributeSeries&&u.stackBars?p.axisLength/2:p.axisLength/d.normalized.series[r].length/2,c=i.elem("g");c.attr({"ct:series-name":a.name,"ct:meta":b.serialize(a.meta)}),c.addClass([u.classNames.series,a.className||u.classNames.series+"-"+b.alphaNumerate(r)].join(" ")),d.normalized.series[r].forEach(function(t,e){var i,n,o=u.distributeSeries&&!u.stackBars?r:u.distributeSeries&&u.stackBars?0:e,o=u.horizontalBars?{x:g.x1+h.projectValue(t&&t.x?t.x:0,e,d.normalized.series[r]),y:g.y1-p.projectValue(t&&t.y?t.y:0,o,d.normalized.series[r])}:{x:g.x1+p.projectValue(t&&t.x?t.x:0,o,d.normalized.series[r]),y:g.y1-h.projectValue(t&&t.y?t.y:0,e,d.normalized.series[r])};p instanceof b.StepAxis&&(p.options.stretch||(o[p.units.pos]+=l*(u.horizontalBars?-1:1)),o[p.units.pos]+=u.stackBars||u.distributeSeries?0:s*u.seriesBarDistance*(u.horizontalBars?-1:1)),n=y[e]||v,y[e]=n-(v-o[p.counterUnits.pos]),void 0!==t&&((i={})[p.units.pos+"1"]=o[p.units.pos],i[p.units.pos+"2"]=o[p.units.pos],!u.stackBars||"accumulate"!==u.stackMode&&u.stackMode?(i[p.counterUnits.pos+"1"]=v,i[p.counterUnits.pos+"2"]=o[p.counterUnits.pos]):(i[p.counterUnits.pos+"1"]=n,i[p.counterUnits.pos+"2"]=y[e]),i.x1=Math.min(Math.max(i.x1,g.x1),g.x2),i.x2=Math.min(Math.max(i.x2,g.x1),g.x2),i.y1=Math.min(Math.max(i.y1,g.y2),g.y1),i.y2=Math.min(Math.max(i.y2,g.y2),g.y1),o=b.getMetaData(a,e),n=c.elem("line",i,u.classNames.bar).attr({"ct:value":[t.x,t.y].filter(b.isNumeric).join(","),"ct:meta":b.serialize(o)}),this.eventEmitter.emit("draw",b.extend({type:"bar",value:t,index:e,meta:o,series:a,seriesIndex:r,axisX:f,axisY:m,chartRect:g,group:c,element:n},i)))}.bind(this))}.bind(this)),this.eventEmitter.emit("created",{bounds:h.bounds,chartRect:g,axisX:f,axisY:m,svg:this.svg,options:u})}}),e=this||global,y=t,e.window,o={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",sliceDonutSolid:"ct-slice-donut-solid",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutSolid:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:y.noop,labelDirection:"neutral",reverseData:!1,ignoreEmptyValues:!1},y.Pie=y.Base.extend({constructor:function(t,e,i,n){y.Pie.super.constructor.call(this,t,e,o,y.extend({},o,i),n)},createChart:function(s){var l,t,c,u,d,h=y.normalizeData(this.data),p=[],f=s.startAngle,m=(this.svg=y.createSvg(this.container,s.width,s.height,s.donut?s.classNames.chartDonut:s.classNames.chartPie),t=y.createChartRect(this.svg,s,o.padding),c=Math.min(t.width()/2,t.height()/2),d=s.total||h.normalized.series.reduce(function(t,e){return t+e},0),y.quantity(s.donutWidth)),g=("%"===m.unit&&(m.value*=c/100),c-=s.donut&&!s.donutSolid?m.value/2:0,u="outside"===s.labelPosition||s.donut&&!s.donutSolid?c:"center"===s.labelPosition?0:s.donutSolid?c-m.value/2:c/2,u+=s.labelOffset,{x:t.x1+t.width()/2,y:t.y2+t.height()/2}),v=1===h.raw.series.filter(function(t){return t.hasOwnProperty("value")?0!==t.value:0!==t}).length;h.raw.series.forEach(function(t,e){p[e]=this.svg.elem("g",null,null)}.bind(this)),s.showLabel&&(l=this.svg.elem("g",null,null)),h.raw.series.forEach(function(t,e){var i,n,o,a,r;0===h.normalized.series[e]&&s.ignoreEmptyValues||(p[e].attr({"ct:series-name":t.name}),p[e].addClass([s.classNames.series,t.className||s.classNames.series+"-"+y.alphaNumerate(e)].join(" ")),359.99<=(i=0<d?f+h.normalized.series[e]/d*360:0)-(r=Math.max(0,f-(0===e||v?0:.2)))&&(i=r+359.99),r=y.polarToCartesian(g.x,g.y,c,r),n=y.polarToCartesian(g.x,g.y,c,i),n=new y.Svg.Path(!s.donut||s.donutSolid).move(n.x,n.y).arc(c,c,0,180<i-f,0,r.x,r.y),s.donut?s.donutSolid&&(r=c-m.value,a=y.polarToCartesian(g.x,g.y,r,f-(0===e||v?0:.2)),o=y.polarToCartesian(g.x,g.y,r,i),n.line(a.x,a.y),n.arc(r,r,0,180<i-f,1,o.x,o.y)):n.line(g.x,g.y),a=s.classNames.slicePie,s.donut&&(a=s.classNames.sliceDonut,s.donutSolid)&&(a=s.classNames.sliceDonutSolid),(r=p[e].elem("path",{d:n.stringify()}
1,a)).attr({"ct:value":h.normalized.series[e],"ct:meta":y.serialize(t.meta)}),s.donut&&!s.donutSolid&&(r._node.style.strokeWidth=m.value+"px"),this.eventEmitter.emit("draw",{type:"slice",value:h.normalized.series[e],totalDataSum:d,index:e,meta:t.meta,series:t,group:p[e],element:r,path:n.clone(),center:g,radius:c,startAngle:f,endAngle:i}),s.showLabel&&(o=1===h.raw.series.length?{x:g.x,y:g.y}:y.polarToCartesian(g.x,g.y,u,f+(i-f)/2),a=(h.normalized.labels&&!y.isFalseyButZero(h.normalized.labels[e])?h.normalized.labels:h.normalized.series)[e],!(t=s.labelInterpolationFnc(a,e))&&0!==t||(r=l.elem("text",{dx:o.x,dy:o.y,"text-anchor":T(g,o,s.labelDirection)},s.classNames.label).text(""+t),this.eventEmitter.emit("draw",{type:"label",index:e,group:l,element:r,text:""+t,x:o.x,y:o.y}))),f=i)}.bind(this)),this.eventEmitter.emit("created",{chartRect:t,svg:this.svg,options:s})},determineAnchorPosition:T}),t;function T(t,e,i){e=e.x>t.x;return e&&"explode"===i||!e&&"implode"===i?"start":e&&"implode"===i||!e&&"explode"===i?"end":"middle"}function M(t,e,i,n,o,a){o=d.extend({command:o?t.toLowerCase():t.toUpperCase()},e,a?{data:a}:{});i.splice(n,0,o)}function A(o,a){o.forEach(function(i,n){p[i.command.toLowerCase()].forEach(function(t,e){a(i,t,n,e,o)})})}}),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).cssVars=e()})(this,function(){function k(){return(k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function S(t){return(t=>{if(Array.isArray(t))return i(t)})(t)||(t=>{if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)})(t)||(t=>{var e;if(t)return"string"==typeof t?i(t,void 0):"Map"===(e="Object"===(e=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(t,void 0):void 0})(t)||(()=>{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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function p(t,e){var e=1<arguments.length&&void 0!==e?e:{},o={mimeType:e.mimeType||null,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},n=Array.isArray(t)?t:[t],a=Array.apply(null,Array(n.length)).map(function(t){return null});function r(t){return!("<"===(0<arguments.length&&void 0!==t?t:"").trim().charAt(0))}function s(t,e){o.onError(t,n[e],e)}function l(t,e){var i=o.onSuccess(t,n[e],e);a[e]=t=!1===i?"":i||t,-1===a.indexOf(null)&&o.onComplete(a)}var c=document.createElement("a");n.forEach(function(t,e){var i,n;c.setAttribute("href",t),c.href=String(c.href),Boolean(document.all&&!window.atob)&&c.host.split(":")[0]!==location.host.split(":")[0]?c.protocol===location.protocol?((i=new XDomainRequest).open("GET",t),i.timeout=0,i.onprogress=Function.prototype,i.ontimeout=Function.prototype,i.onload=function(){r(i.responseText)?l(i.responseText,e):s(i,e)},i.onerror=function(t){s(i,e)},setTimeout(function(){i.send()},0)):(console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(t,")")),s(null,e)):((n=new XMLHttpRequest).open("GET",t),o.mimeType&&n.overrideMimeType&&n.overrideMimeType(o.mimeType),o.onBeforeSend(n,t,e),n.onreadystatechange=function(){4===n.readyState&&(200===n.status&&r(n.responseText)?l(n.responseText,e):s(n,e))},n.send())})}function e(t){var a=/\/\*[\s\S]+?\*\//g,r=/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g,d={rootElement:t.rootElement||document,include:t.include||'style,link[rel="stylesheet"]',exclude:t.exclude||null,filter:t.filter||null,skipDisabled:!1!==t.skipDisabled,useCSSOM:t.useCSSOM||!1,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},e=Array.apply(null,d.rootElement.querySelectorAll(d.include)).filter(function(t){return e=d.exclude,!(t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector).call(t,e);var e}),s=Array.apply(null,Array(e.length)).map(function(t){return null});function l(){var t;-1===s.indexOf(null)&&(t=s.join(""),d.onComplete(t,s,e))}function c(t,i,n,e){var o=d.onSuccess(t,n,e);!function n(o,a,r,s){var l=4<arguments.length&&void 0!==arguments[4]?arguments[4]:[],c=5<arguments.length&&void 0!==arguments[5]?arguments[5]:[],u=h(o,r,c);
1u.rules.length?p(u.absoluteUrls,{onBeforeSend:function(t,e,i){d.onBeforeSend(t,a,e)},onSuccess:function(i,t,e){var n=d.onSuccess(i,a,t),o=h(i=!1===n?"":n||i,t,c);return o.rules.forEach(function(t,e){i=i.replace(t,o.absoluteRules[e])}),i},onError:function(t,e,i){l.push({xhr:t,url:e}),c.push(u.rules[i]),n(o,a,r,s,l,c)},onComplete:function(t){t.forEach(function(t,e){o=o.replace(u.rules[e],t)}),n(o,a,r,s,l,c)}}):s(o,l)}(t=void 0!==o&&!1===Boolean(o)?"":o||t,n,e,function(t,e){null===s[i]&&(e.forEach(function(t){return d.onError(t.xhr,n,t.url)}),!d.filter||d.filter.test(t)?s[i]=t:s[i]="",l())})}function h(t,n,e){var i=2<arguments.length&&void 0!==e?e:[],o={};return o.rules=(t.replace(a,"").match(r)||[]).filter(function(t){return-1===i.indexOf(t)}),o.urls=o.rules.map(function(t){return t.replace(r,"$1")}),o.absoluteUrls=o.urls.map(function(t){return u(t,n)}),o.absoluteRules=o.rules.map(function(t,e){var i=o.urls[e],e=u(o.absoluteUrls[e],n);return t.replace(i,e)}),o}e.length?e.forEach(function(o,a){var r=o.getAttribute("href"),t=o.getAttribute("rel"),t="LINK"===o.nodeName&&r&&t&&-1!==t.toLowerCase().indexOf("stylesheet"),e=!1!==d.skipDisabled&&o.disabled,i="STYLE"===o.nodeName;t&&!e?p(r,{mimeType:"text/css",onBeforeSend:function(t,e,i){d.onBeforeSend(t,o,e)},onSuccess:function(t,e,i){var n=u(r);c(t,a,o,n)},onError:function(t,e,i){s[a]="",d.onError(t,o,e),l()}}):i&&!e?(t=o.textContent,c(t=d.useCSSOM?Array.apply(null,o.sheet.cssRules).map(function(t){return t.cssText}).join(""):t,a,o,location.href)):(s[a]="",l())}):d.onComplete("",[])}function u(t,e){var i=document.implementation.createHTMLDocument(""),n=i.createElement("base"),o=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(o),n.href=e||document.baseURI||(document.querySelector("base")||{}).href||location.href,o.href=t,o.href}var f=t;function t(t,e,i){var n=a(t=t instanceof RegExp?o(t,i):t,e=e instanceof RegExp?o(e,i):e,i);return n&&{start:n[0],end:n[1],pre:i.slice(0,n[0]),body:i.slice(n[0]+t.length,n[1]),post:i.slice(n[1]+e.length)}}function o(t,e){e=e.match(t);return e?e[0]:null}function a(t,e,i){var n,o,a,r,s,l=i.indexOf(t),c=i.indexOf(e,l+1),u=l;if(0<=l&&0<c){for(n=[],a=i.length;0<=u&&!s;)u==l?(n.push(u),l=i.indexOf(t,u+1)):1==n.length?s=[n.pop(),c]:((o=n.pop())<a&&(a=o,r=c),c=i.indexOf(e,u+1)),u=l<c&&0<=l?l:c;n.length&&(s=[a,r])}return s}function C(o,t){var a=k({},{preserveStatic:!0,removeComments:!1},1<arguments.length&&void 0!==t?t:{});function r(t){throw new Error("CSS parse error: ".concat(t))}function s(t){t=t.exec(o);if(t)return o=o.slice(t[0].length),t}function l(){return s(/^{\s*/)}function c(){return s(/^}/)}function u(){s(/^\s*/)}function d(){for(var t,e=[];t=(()=>{if(u(),"/"===o[0]&&"*"===o[1]){for(var t,e=2;o[e]&&("*"!==o[e]||"/"!==o[e+1]);)e++;return o[e]?(t=o.slice(2,e),o=o.slice(e+2),{type:"comment",comment:t}):r("end of comment is missing")}})();)e.push(t);return a.removeComments?[]:e}function h(){for(u();"}"===o[0];)r("extra closing bracket");var t=s(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(t)return t[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(t){return t.replace(/,/g,"â")}).split(/\s*(?![^(]*\)),\s*/).map(function(t){return t.replace(/\u200C/g,",")})}function p(){if(!l())return r("missing '{'");for(var t,e=d();t=(()=>{if("@"===o[0])return n();s(/^([;\s]*)+/);var t,e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=s(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);return i?(i=i[0].trim(),s(/^:\s*/)?(t=s(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),i={type:"declaration",property:i.replace(e,""),value:t?t[0].replace(e,"").trim():""},s(/^[;\s]*/),i):r("property missing ':'")):void 0})();)e.push(t),e=e.concat(d());return c()?e:r("missing '}'")}
1function e(){var t=s(/^@([-\w]+)?keyframes\s*/);if(t){var e=t[1];if(!(t=s(/^([-\w]+)\s*/)))return r("@keyframes missing name");var i,t=t[1];if(!l())return r("@keyframes missing '{'");for(var n=d();i=(()=>{u();for(var t,e=[];t=s(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(t[1]),s(/^,\s*/);if(e.length)return{type:"keyframe",values:e,declarations:p()}})();)n.push(i),n=n.concat(d());return c()?{type:"keyframes",name:t,vendor:e,keyframes:n}:r("@keyframes missing '}'")}}function n(){var t;if(u(),"@"===o[0])return!(t=(()=>{var t=s(/^@(import|charset|namespace)\s*([^;]+);/);if(t)return{type:t[1],name:t[2].trim()}})()||(()=>{if(s(/^@font-face\s*/))return{type:"font-face",declarations:p()}})()||(()=>{var t=s(/^@media([^{]+)*/);if(t)return{type:"media",media:(t[1]||"").trim(),rules:i()}})()||e()||(()=>{var t=s(/^@supports *([^{]+)/);if(t)return{type:"supports",supports:t[1].trim(),rules:i()}})()||(()=>{var t=s(/^@([-\w]+)?document *([^{]+)/);if(t)return{type:"document",document:t[2].trim(),vendor:t[1]?t[1].trim():null,rules:i()}})()||(()=>{var t=s(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return{type:"custom-media",name:t[1].trim(),media:t[2].trim()}})()||(()=>{if(s(/^@host\s*/))return{type:"host",rules:i()}})()||(()=>{if(s(/^@page */))return{type:"page",selectors:h()||[],declarations:p()}})()||(()=>{var t=s(/@(top|bottom|left|right)-(left|center|right|top|middle|bottom)-?(corner)?\s*/);if(t)return{type:"page-margin-box",name:"".concat(t[1],"-").concat(t[2])+(t[3]?"-".concat(t[3]):""),declarations:p()}})())||a.preserveStatic||(t.declarations?t.declarations.some(function(t){return/var\(/.test(t.value)}):(t.keyframes||t.rules||[]).some(function(t){return(t.declarations||[]).some(function(t){return/var\(/.test(t.value)})}))?t:{}}function i(t){if(!t&&!l())return r("missing '{'");for(var e,i=d();o.length&&(t||"}"!==o[0])&&(e=n()||(()=>{if(!a.preserveStatic){var t=f("{","}",o);if(t){var e=/:(?:root|host)(?![.:#(])/.test(t.pre)&&/--\S*\s*:/.test(t.body),i=/var\(/.test(t.body);if(!e&&!i)return o=o.slice(t.end+1),{}}}var n=h()||[],e=a.preserveStatic?p():p().filter(function(t){var e=n.some(function(t){return/:(?:root|host)(?![.:#(])/.test(t)})&&/^--\S/.test(t.property),t=/var\(/.test(t.value);return e||t});return n.length||r("selector missing"),{type:"rule",selectors:n,declarations:e}})());)e.type&&i.push(e),i=i.concat(d());return t||c()?i:r("missing '}'")}return{type:"stylesheet",stylesheet:{rules:i(!0),errors:[]}}}function T(t,e){var n=k({},{parseHost:!1,store:{},onWarning:function(){}},1<arguments.length&&void 0!==e?e:{}),i=new RegExp(":".concat(n.parseHost?"host":"root","$"));
1(t="string"==typeof t?C(t,n):t).stylesheet.rules.forEach(function(t){"rule"===t.type&&t.selectors.some(function(t){return i.test(t)})&&t.declarations.forEach(function(t,e){var i=t.property,t=t.value;i&&0===i.indexOf("--")&&(n.store[i]=t)})}),n.store}function M(t,e,i){var a=1<arguments.length&&void 0!==e?e:"",r=2<arguments.length?i:void 0,s={charset:function(t){return"@charset "+t.name+";"},comment:function(t){return 0===t.comment.indexOf("__CSSVARSPONYFILL")?"/*"+t.comment+"*/":""},"custom-media":function(t){return"@custom-media "+t.name+" "+t.media+";"},declaration:function(t){return t.property+":"+t.value+";"},document:function(t){return"@"+(t.vendor||"")+"document "+t.document+"{"+n(t.rules)+"}"},"font-face":function(t){return"@font-face{"+n(t.declarations)+"}"},host:function(t){return"@host{"+n(t.rules)+"}"},import:function(t){return"@import "+t.name+";"},keyframe:function(t){return t.values.join(",")+"{"+n(t.declarations)+"}"},keyframes:function(t){return"@"+(t.vendor||"")+"keyframes "+t.name+"{"+n(t.keyframes)+"}"},media:function(t){return"@media "+t.media+"{"+n(t.rules)+"}"},namespace:function(t){return"@namespace "+t.name+";"},page:function(t){return"@page "+(t.selectors.length?t.selectors.join(", "):"")+"{"+n(t.declarations)+"}"},"page-margin-box":function(t){return"@"+t.name+"{"+n(t.declarations)+"}"},rule:function(t){var e=t.declarations;if(e.length)return t.selectors.join(",")+"{"+n(e)+"}"},supports:function(t){return"@supports "+t.supports+"{"+n(t.rules)+"}"}};function n(t){for(var e="",i=0;i<t.length;i++){var n=t[i],o=(r&&r(n),s[n.type](n));o&&(e+=o,o.length)&&n.selectors&&(e+=a)}return e}return n(t.stylesheet.rules)}function A(t,e){var s=k({},{preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},1<arguments.length&&void 0!==e?e:{});
1(function t(i,n){i.rules.forEach(function(e){e.rules?t(e,n):e.keyframes?e.keyframes.forEach(function(t){"keyframe"===t.type&&n(t.declarations,e)}):e.declarations&&n(e.declarations,i)})})((t="string"==typeof t?C(t,s):t).stylesheet,function(t,e){for(var i=0;i<t.length;i++){var n=t[i],o=n.type,a=n.property,r=n.value;"declaration"===o&&(s.preserveVars||!a||0!==a.indexOf("--")?-1!==r.indexOf("var(")&&(r=function o(t){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length?arguments[2]:void 0;if(-1===t.indexOf("var("))return t;var e=f("(",")",t);function i(t){var e=t.split(",")[0].replace(/[\s\n\t]/g,""),i=(t.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],n=Object.prototype.hasOwnProperty.call(a.variables,e)?String(a.variables[e]):void 0,i=n||(i?String(i):void 0),t=r||t;return n||a.onWarning('variable "'.concat(e,'" is undefined')),i&&"undefined"!==i&&0<i.length?o(i,a,t):"var(".concat(t,")")}if(e)return"var"===e.pre.slice(-3)?0===e.body.trim().length?(a.onWarning("var() must contain a non-whitespace string"),t):e.pre.slice(0,-3)+i(e.body)+o(e.post,a):e.pre+"(".concat(o(e.body,a),")")+o(e.post,a);return-1!==t.indexOf("var(")&&a.onWarning('missing closing ")" in the value "'.concat(t,'"')),t}(r,s))!==n.value&&(r=(i=>((i.match(/calc\(([^)]+)\)/g)||[]).forEach(function(t){var e="calc".concat(t.split("calc").join(""));i=i.replace(t,e)}),i))(r),s.preserveVars?(t.splice(i,0,{type:o,property:a,value:r}),i++):n.value=r):(t.splice(i,1),i--))}}),M(t)}t.range=a;var c="undefined"!=typeof window,d=c&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),L={group:0,job:0},h={rootElement:c?document:null,shadowDOM:!1,include:"style,link[rel=stylesheet]",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onError:function(){},onWarning:function(){},onSuccess:function(){},onComplete:function(){},onFinally:function(){}},D={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssMediaQueries:/@media[^{]+\{([\s\S]+?})\s*}/g,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVarDeclRules:/(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^}]*})/g,cssVarDecls:/(?:[\s;]*)(-{2}\w[\w-]*)(?:\s*:\s*)([^;]*);/g,cssVarFunc:/var\(\s*--[\w-]/,cssVars:/(?:(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},P={dom:{},job:{},user:{}},I=!1,m=null,E=0,g=null,v=!1;function z(){var t,i,n,o,a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r="cssVars(): ",b=k({},h,a);function _(t,e,i,n){!b.silent&&window.console&&console.error("".concat(r).concat(t,"\n"),e),b.onError(t,e,i,n)}function w(t){!b.silent&&window.console&&console.warn("".concat(r).concat(t)),b.onWarning(t)}function x(t){b.onFinally(Boolean(t),d,O()-b.__benchmark)}if(c)if(b.watch)b.watch=h.watch,o=b,window.MutationObserver&&(m&&(m.disconnect(),m=null),(m=new MutationObserver(function(t){t.some(function(t){var e,i=!1;return"attributes"===t.type?i=l(t.target):"childList"===t.type&&(e=t.addedNodes,i=Array.apply(null,e).some(function(t){var e=1===t.nodeType&&t.hasAttribute("data-cssvars"),i="STYLE"===t.tagName&&!s(t)&&D.cssVars.test(t.textContent);return!e&&(l(t)||i)})||(e=t.removedNodes,Array.apply(null,e).some(function(t){var e=1===t.nodeType,i=e&&"out"===t.getAttribute("data-cssvars"),e=e&&"src"===t.getAttribute("data-cssvars"),n=e;return(e||i)&&(i=t.getAttribute("data-cssvars-group"),t=o.rootElement.querySelector('[data-cssvars-group="'.concat(i,'"]')),e&&(j(o.rootElement),P.dom={}),t)&&t.parentNode.removeChild(t),n}))),i})&&z(o)})).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0})),z(b);else{if(!1===b.watch&&m&&(m.disconnect(),m=null),!b.__benchmark){if(I===b.rootElement)return void function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(g),g=setTimeout(function(){t.__benchmark=null,z(t)},e)}(a);b.__benchmark=O(),b.exclude=[m?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',b.exclude].filter(function(t){return t}).join(","),b.variables=function(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=/^-{2}/;return Object.keys(i).reduce(function(t,e){return t[n.test(e)?e:"--".concat(e.replace(/^-+/,""))]=i[e],t},{})}(b.variables),m||(Array.apply(null,b.rootElement.querySelectorAll('[data-cssvars="out"]')).forEac
1h(function(t){var e=t.getAttribute("data-cssvars-group");e&&b.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(e,'"]'))||t.parentNode.removeChild(t)}),E&&(t=b.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])')).length<E&&(E=t.length,P.dom={}))}"loading"!==document.readyState?d&&b.onlyLegacy?(i=!1,b.updateDOM&&(n=b.rootElement.host||(b.rootElement===document?document.documentElement:b.rootElement),Object.keys(b.variables).forEach(function(t){var e=b.variables[t];i=i||e!==getComputedStyle(n).getPropertyValue(t),n.style.setProperty(t,e)})),x(i)):!v&&(b.shadowDOM||b.rootElement.shadowRoot||b.rootElement.host)?e({rootElement:h.rootElement,include:h.include,exclude:b.exclude,skipDisabled:!1,onSuccess:function(t,e,i){return((t=t.replace(D.cssComments,"").replace(D.cssMediaQueries,"")).match(D.cssVarDeclRules)||[]).join("")||!1},onComplete:function(t,e,i){T(t,{store:P.dom,onWarning:w}),v=!0,z(b)}}):(I=b.rootElement,e({rootElement:b.rootElement,include:b.include,exclude:b.exclude,skipDisabled:!1,onBeforeSend:b.onBeforeSend,onError:function(t,e,i){var i=t.responseURL||y(i,location.href),n=t.statusText?"(".concat(t.statusText,")"):"Unspecified Error"+(0===t.status?" (possibly CORS related)":"");_("CSS XHR Error: ".concat(i," ").concat(t.status," ").concat(n),e,t,i)},onSuccess:function(t,e,i){var n,o,a="LINK"===e.tagName,r="STYLE"===e.tagName&&t!==e.textContent,e=b.onSuccess(t,e,i);return t=void 0!==e&&!1===Boolean(e)?"":e||t,b.updateURLs&&(a||r)&&(o=i,((n=t).replace(D.cssComments,"").match(D.cssUrls)||[]).forEach(function(t){var e=t.replace(D.cssUrls,"$1"),i=y(e,o);n=n.replace(t,t.replace(e,i))}),t=n),t},onComplete:function(t,c){var e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],i=k({},P.dom,P.user);if(P.job={},e.forEach(function(t,e){var i=c[e];if(D.cssVars.test(i))try{var n=C(i,{preserveStatic:b.preserveStatic,removeComments:!0});T(n,{parseHost:Boolean(b.rootElement.host),store:P.dom,onWarning:w}),t.__cssVars={tree:n}}catch(e){_(e.message,t)}}),k(P.job,P.dom),b.updateDOM?(k(P.user,b.variables),k(P.job,P.user)):(k(P.job,P.user,b.variables),k(i,b.variables)),0<L.job&&Boolean(Object.keys(P.job).length>Object.keys(i).length||Boolean(Object.keys(i).length&&Object.keys(P.job).some(function(t){return P.job[t]!==i[t]}))))j(b.rootElement),z(b);else{var u=[],d=[],h=!1;if(b.updateDOM&&L.job++,e.forEach(function(e,t){var i=!e.__cssVars;if(e.__cssVars)try{A(e.__cssVars.tree,k({},b,{variables:P.job,onWarning:w}));var n,o,a,r,s,l=M(e.__cssVars.tree);b.updateDOM?(n=c[t],o=D.cssVarFunc.test(n),e.getAttribute("data-cssvars")||e.setAttribute("data-cssvars","src"),l.length&&o&&(a=e.getAttribute("data-cssvars-group")||++L.group,r=l.replace(/\s/g,""),s=b.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(a,'"]'))||document.createElement("style"),h=h||D.cssKeyframes.test(l),b.preserveStatic&&(e.sheet.disabled=!0),s.hasAttribute("data-cssvars")||s.setAttribute("data-cssvars","out"),r===e.textContent.replace(/\s/g,"")?(i=!0,s&&s.parentNode&&(e.removeAttribute("data-cssvars-group"),s.parentNode.removeChild(s))):r!==s.textContent.replace(/\s/g,"")&&([e,s].forEach(function(t){t.setAttribute("data-cssvars-job",L.job),t.setAttribute("data-cssvars-group",a)}),s.textContent=l,u.push(l),d.push(s),s.parentNode||e.parentNode.insertBefore(s,e.nextSibling)))):e.textContent.replace(/\s/g,"")!==l&&u.push(l)}catch(t){_(t.message,e)}i&&e.setAttribute("data-cssvars","skip"),e.hasAttribute("data-cssvars-job")||e.setAttribute("data-cssvars-job",L.job)}),E=b.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,b.shadowDOM)for(var n,o=[b.rootElement].concat(S(b.rootElement.querySelectorAll("*"))),a=0;n=o[a];++a)n.shadowRoot&&n.shadowRoot.querySelector("style")&&z(k({},b,{rootElement:n.shadowRoot}));if(b.updateDOM&&h){e=b.rootElement;var r=["animation-name","-moz-animation-name","-webkit-animation-name"].filter(function(t){return getComputedStyle(document.body)[t]})[0];if(r){for(var s=e.getElementsByTagName("*"),l=[],p=0,f=s.length;p<f;p++){var m=s[p];"none"!==getComputedStyle(m)[r]&&(m.style[r]+="__CSSVARSPONYFILL-KEYFRAMES__",l.push(m))}document.body.offsetHeight;for(var g=0,v=l.length;g<v;g++){var y=l[g].style;y[r]=y[r].replace("__CSSVARSPONYFILL-KEYFRAMES__","")}}}I=!1,b.onComplete(u.join(""),d,JSON.parse(JSON.stringify(P.job)),O()-b.__benchmark),x(d.length)}}})):document.addEventListener("DOMContentLoaded",function t(e){z(a),document.removeEventListener("DOMContentLoaded",t)})}function s(t){var e=t.hasAttribute("disabled"),t=(t.sheet||{}).disabled;return e||t}function l(t){return"LINK"===t.tagName&&-1!==(t.getAttribute("rel")||"").indexOf("stylesheet")&&!s(t)}}function y(t,e){var e=1<arguments.length&&void 0!==e?e:location.href,i=document.implementation.createHTMLDocument(""),n=i.createElement("base"),o=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(o),n.href=e,o.href=t,o.href}function O(){return c&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function j(t){Array.apply(null,t.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]')).forEac
1h(function(t){return t.setAttribute("data-cssvars","")})}return z.reset=function(){for(var t in L.job=0,L.group=0,I=!1,m&&(m.disconnect(),m=null),E=0,g=null,v=!1,P)P[t]={}},z}),(t=>{"function"==typeof define&&define.amd?define(["jquery","moment"],t):"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("moment")):t(jQuery,moment)})(function(X,Q){X.dateRangePickerLanguages={default:{selected:"Selected:",day:"Day",days:"Days",apply:"Close","week-1":"mo","week-2":"tu","week-3":"we","week-4":"th","week-5":"fr","week-6":"sa","week-7":"su","week-number":"W","month-name":["january","february","march","april","may","june","july","august","september","october","november","december"],shortcuts:"Shortcuts","custom-values":"Custom Values",past:"Past",following:"Following",previous:"Previous","prev-week":"Week","prev-month":"Month","prev-year":"Year",next:"Next","next-week":"Week","next-month":"Month","next-year":"Year","less-than":"Date range should not be more than %d days","more-than":"Date range should not be less than %d days","default-more":"Please select a date range longer than %d days","default-single":"Please select a date","default-less":"Please select a date range less than %d days","default-range":"Please select a date range between %d and %d days","default-default":"Please select a date range",time:"Time",hour:"Hour",minute:"Minute"},de:{selected:"Auswahl:",day:"Tag",days:"Tage",apply:"SchlieÃen","week-1":"mo","week-2":"di","week-3":"mi","week-4":"do","week-5":"fr","week-6":"sa","week-7":"so","month-name":["januar","februar","märz","april","mai","juni","juli","august","september","oktober","november","dezember"],shortcuts:"Schnellwahl",past:"Vorherige",following:"Folgende",previous:"Vorherige","prev-week":"Woche","prev-month":"Monat","prev-year":"Jahr",next:"Nächste","next-week":"Woche","next-month":"Monat","next-year":"Jahr","less-than":"Datumsbereich darf nicht gröÃer sein als %d Tage","more-than":"Datumsbereich darf nicht kleiner sein als %d Tage","default-more":"Bitte mindestens %d Tage auswählen","default-single":"Bitte ein Datum auswählen","default-less":"Bitte weniger als %d Tage auswählen","default-range":"Bitte einen Datumsbereich zwischen %d und %d Tagen auswählen","default-default":"Bitte ein Start- und Enddatum auswählen",Time:"Zeit",hour:"Stunde",minute:"Minute"},es:{selected:"Seleccionado:",day:"DÃa",days:"DÃas",apply:"Cerrar","week-1":"lu","week-2":"ma","week-3":"mi","week-4":"ju","week-5":"vi","week-6":"sa","week-7":"do","month-name":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortcuts:"Accesos directos",past:"Pasado",following:"Siguiente",previous:"Anterior","prev-week":"Semana","prev-month":"Mes","prev-year":"Año",next:"Siguiente","next-week":"Semana","next-month":"Mes","next-year":"Año","less-than":"El rango no deberÃa ser mayor de %d dÃas","more-than":"El rango no deberÃa ser menor de %d dÃas","default-more":"Por favor selecciona un rango mayor a %d dÃas","default-single":"Por favor selecciona un dÃa","default-less":"Por favor selecciona un rango menor a %d dÃas","default-range":"Por favor selecciona un rango entre %d y %d dÃas","default-default":"Por favor selecciona un rango de fechas."},fr:{selected:"Sélection:",day:"Jour",days:"Jours",apply:"Fermer","week-1":"l","week-2":"m","week-3":"m","week-4":"j","week-5":"v","week-6":"s","week-7":"d","month-name":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortcuts:"Raccourcis",past:"Passé",following:"Suivant",previous:"Précédent","prev-week":"Semaine","prev-month":"Mois","prev-year":"Année",next:"Suivant","next-week":"Semaine","next-month":"Mois","next-year":"Année","less-than":"L'intervalle ne doit pas être supérieure à %d jours","more-than":"L'intervalle ne doit pas être inférieure à %d jours","default-more":"Merci de choisir une intervalle supérieure à %d jours","default-single":"Merci de choisir une date","default-less":"Merci de choisir une intervalle inférieure %d jours","default-range":"Merci de choisir une intervalle comprise entre %d et %d jours","default-default":"Merci de choisir une date"},it:{selected:"Selezionati:",day:"Giorno",days:"Giorni",apply:"Chiudi","week-1":"lu","week-2":"ma","week-3":"me","week-4":"gi","week-5":"ve","week-6":"sa","week-7":"do","month-name":["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],shortcuts:"Scorciatoie",past:"Scorso",following:"Successivo",previous:"Precedente","prev-week":"Settimana","prev-month":"Mese","prev-year":"Anno",next:"Prossimo","
1next-week":"Settimana","next-month":"Mese","next-year":"Anno","less-than":"L'intervallo non dev'essere maggiore di %d giorni","more-than":"L'intervallo non dev'essere minore di %d giorni","default-more":"Seleziona un intervallo maggiore di %d giorni","default-single":"Seleziona una data","default-less":"Seleziona un intervallo minore di %d giorni","default-range":"Seleziona un intervallo compreso tra i %d e i %d giorni","default-default":"Seleziona un intervallo di date"},nl:{selected:"Geselecteerd:",day:"Dag",days:"Dagen",apply:"Ok","week-1":"ma","week-2":"di","week-3":"wo","week-4":"do","week-5":"vr","week-6":"za","week-7":"zo","month-name":["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortcuts:"Snelkoppelingen","custom-values":"Aangepaste waarden",past:"Verleden",following:"Komend",previous:"Vorige","prev-week":"Week","prev-month":"Maand","prev-year":"Jaar",next:"Volgende","next-week":"Week","next-month":"Maand","next-year":"Jaar","less-than":"Interval moet langer dan %d dagen zijn","more-than":"Interval mag niet minder dan %d dagen zijn","default-more":"Selecteer een interval langer dan %dagen","default-single":"Selecteer een datum","default-less":"Selecteer een interval minder dan %d dagen","default-range":"Selecteer een interval tussen %d en %d dagen","default-default":"Selecteer een interval",time:"Tijd",hour:"Uur",minute:"Minuut"}},X.fn.dateRangePicker=function(p){p=p||{},(p=X.extend(!0,{autoClose:!1,format:"YYYY-MM-DD",separator:" to ",language:"auto",startOfWeek:"sunday",getValue:function(){return X(this).val()},setValue:function(t){X(this).attr("readonly")||X(this).is(":disabled")||t==X(this).val()||X(this).val(t)},startDate:!1,endDate:!1,time:{enabled:!1},minDays:0,maxDays:0,showShortcuts:!1,shortcuts:{},customShortcuts:[],inline:!1,container:"body",alwaysOpen:!1,singleDate:!1,lookBehind:!1,batchMode:!1,duration:200,stickyMonths:!1,dayDivAttrs:[],dayTdAttrs:[],selectForward:!1,selectBackward:!1,applyBtnClass:"",singleMonth:"auto",hoveringTooltip:function(t,e,i){return 1<t?t+" "+O("days"):""},showTopbar:!0,swapTime:!1,showWeekNumbers:!1,getWeekNumber:function(t){return Q(t).format("w")},customOpenAnimation:null,customCloseAnimation:null,customArrowPrevSymbol:null,customArrowNextSymbol:null,monthSelect:!1,yearSelect:!1},p)).start=!1,p.end=!1,p.startWeek=!1,p.isTouchDevice="ontouchstart"in window||navigator.msMaxTouchPoints,p.isTouchDevice&&(p.hoveringTooltip=!1),"auto"==p.singleMonth&&(p.singleMonth=X(window).width()<480),p.singleMonth&&(p.stickyMonths=!1),p.showTopbar||(p.autoClose=!0),p.startDate&&"string"==typeof p.startDate&&(p.startDate=Q(p.startDate,p.format).toDate()),p.endDate&&"string"==typeof p.endDate&&(p.endDate=Q(p.endDate,p.format).toDate()),p.yearSelect&&"boolean"==typeof p.yearSelect&&(p.yearSelect=function(t){return[t-5,t+5]});var c,t,o=(()=>{var t;return"auto"==p.language?(t=navigator.language||navigator.browserLanguage)&&(t=t.toLowerCase())in X.dateRangePickerLanguages?X.dateRangePickerLanguages[t]:X.dateRangePickerLanguages.default:p.language&&p.language in X.dateRangePickerLanguages?X.dateRangePickerLanguages[p.language]:X.dateRangePickerLanguages.default})(),n=!1,a=this,r=X(a).get(0);return X(this).off(".datepicker").on("click.datepicker",function(t){c.is(":visible")||e(p.duration)}).on("change.datepicker",function(t){i()}).on("keyup.datepicker",function(){try{clearTimeout(t)}catch(t){}t=setTimeout(function(){i()},2e3)}),function(){var t,e,i=this;X(this).data("date-picker-opened")?L():(X(this).data("date-picker-opened",!0),(c=(()=>{var t='<div class="date-picker-wrapper',e=(p.extraClass&&(t+=" "+p.extraClass+" "),p.singleDate&&(t+=" single-date "),p.showShortcuts||(t+=" no-shortcuts "),p.showTopbar||(t+=" no-topbar "),p.customTopBar&&(t+=" custom-topbar "),t+='">',p.showTopbar&&(t+='<div class="drp_top-bar">',p.customTopBar?("function"==typeof p.customTopBar&&(p.customTopBar=p.customTopBar()),t+='<div class="custom-top">'+p.customTopBar+"</div>"):(t+='<div class="normal-top"><span class="selection-top">'+O("selected")+' </span> <b class="start-day">...</b>
1',p.singleDate||(t+=' <span class="separator-day">'+p.separator+'</span> <b class="end-day">...</b> <i class="selected-days">(<span class="selected-days-num">3</span> '+O("days")+")</i>"),t+='</div><div class="error-top">error</div><div class="default-top">default</div>'),t=t+('<input type="button" class="apply-btn disabled'+(()=>{var t="";return!0===p.autoClose&&(t+=" hide"),""!==p.applyBtnClass&&(t+=" "+p.applyBtnClass),t})()+'" value="'+O("apply"))+'" /></div>'),p.showWeekNumbers?6:5),i="<";p.customArrowPrevSymbol&&(i=p.customArrowPrevSymbol);var n,o=">";if(p.customArrowNextSymbol&&(o=p.customArrowNextSymbol),t+='<div class="month-wrapper"> <table class="month1" cellspacing="0" border="0" cellpadding="0"> <thead> <tr class="caption"> <th> <span class="prev">'+i+' </span> </th> <th colspan="'+e+'" class="month-name"> </th> <th>'+(p.singleDate||!p.stickyMonths?'<span class="next">'+o+"</span>":"")+' </th> </tr> <tr class="week-name">'+V()+" </thead> <tbody></tbody> </table>",p.singleMonth||(t+='<div class="gap">'+(()=>{for(var t=['<div class="gap-top-mask"></div><div class="gap-bottom-mask"></div><div class="gap-lines">'],e=0;e<20;e++)t.push('<div class="gap-line"><div class="gap-1"></div><div class="gap-2"></div><div class="gap-3"></div></div>');return t.push("</div>"),t.join("")})()+'</div><table class="month2" cellspacing="0" border="0" cellpadding="0"> <thead> <tr class="caption"> <th>'+(p.stickyMonths?"":'<span class="prev">'+i+"</span>")+' </th> <th colspan="'+e+'" class="month-name"> </th> <th> <span class="next">'+o+'</span> </th> </tr> <tr class="week-name">'+V()+" </thead> <tbody></tbody></table>"),t+='<div class="dp-clearfix"></div><div class="time"><div class="time1"></div>',p.singleDate||(t+='<div class="time2"></div>'),t+='</div><div class="dp-clearfix"></div></div><div class="footer">',p.showShortcuts){t+='<div class="shortcuts"><b>'+O("shortcuts")+"</b>";var a=p.shortcuts;if(a){if(a["prev-days"]&&0<a["prev-days"].length){t+=' <span class="prev-days">'+O("past");for(var r=0;r<a["prev-days"].length;r++)n=a["prev-days"][r],n+=1<a["prev-days"][r]?O("days"):O("day"),t+=' <a href="javascript:;" shortcut="day,-'+a["prev-days"][r]+'">'+n+"</a>";t+="</span>"}if(a["next-days"]&&0<a["next-days"].length){t+=' <span class="next-days">'+O("following");for(r=0;r<a["next-days"].length;r++)n=a["next-days"][r],n+=1<a["next-days"][r]?O("days"):O("day"),t+=' <a href="javascript:;" shortcut="day,'+a["next-days"][r]+'">'+n+"</a>";t+="</span>"}if(a.prev&&0<a.prev.length){t+=' <span class="prev-buttons">'+O("previous");for(r=0;r<a.prev.length;r++)n=O("prev-"+a.prev[r]),t+=' <a href="javascript:;" shortcut="prev,'+a.prev[r]+'">'+n+"</a>";t+="</span>"}if(a.next&&0<a.next.length){t+=' <span class="next-buttons">'+O("next");for(r=0;r<a.next.length;r++)n=O("next-"+a.next[r]),t+=' <a href="javascript:;" shortcut="next,'+a.next[r]+'">'+n+"</a>";t+="</span>"}}if(p.customShortcuts)for(r=0;r<p.customShortcuts.length;r++){var s=p.customShortcuts[r];t+=' <span class="custom-shortcut"><a href="javascript:;" shortcut="custom">'+s.name+"</a></span>"}t+="</div>"}if(p.showCustomValues&&(t+='<div class="customValues"><b>'+(p.customValueLabel||O("custom-values"))+"</b>",p.customValues))for(r=0;r<p.customValues.length;r++){var l=p.customValues[r];t+=' <span class="custom-value"><a href="javascript:;" custom="'+l.value+'">'+l.name+"</a></span>"}return X(t+="</div></div>")})().hide()).append('<div class="date-range-length-tip"></div>'),X(p.container).append(c),p.inline?c.addClass("inline-wrapper"):s(),p.alwaysOpen&&c.find(".apply-btn").hide(),e=q(),Z(e),p.time.enabled&&(p.startDate&&p.endDate||p.start&&p.end?(T(Q(p.start||p.startDate).toDate(),"time1"),T(Q(p.end||p.endDate).toDate(),"time2")):(t=p.defaultEndTime||e,T(e,"time1"),T(t,"time2"))),e="",e=p.singleDate?O("default-single"):p.minDays&&p.maxDays?O("default-range"):p.minDays?O("default-more"):p.maxDays?O("default-less"):O("default-default"),c.find(".default-top").html(e.replace(/\%d/,p.minDays).replace(/\%d/,p.maxDays)),p.singleMonth?c.addClass("single-month"):c.addClass("two-months"),setTimeout(function(){u(),n=!0},0),c.click(function(t){t.stopPropagation()}),X(document).on("click.datepicker",G),c.find(".next").click(function(){var t,e;p.stickyMonths?(t=I(p.month1),z(e=I(p.month2))||!p.singleDate&&0<=D(t,e)||(C(t,"month1"),C(e,"month2"),S())):(t=X(t=this).parents("table").hasClass("month2"),e=I(e=t?p.month2:p.month1),!p.singleMonth&&!p.singleDate&&!t&&0<=D(e,p.month2)||z(e)||(C(e,t?"month2":"month1"),A()))}),c.find(".prev").click(function(){var t,e;p.stickyMonths?(e=E(p.month1),t=E(p.month2),z(e)||!p.singleDate&&D(t,e)<=0||(C(t,"month2"),C(e,"month1"),S())):(t=X(t=this).parents("table").hasClass("month2"),e=E(e=t?p.month2:p.month1),t&&D(e,p.month1)<=0||z(e)||(C(e,t?"month2":"month1"),A()))}),c.attr("unselectable","on").css("user-select","none").on("selectstart",function(t){return t.preventDefault(),!1}),c.find(".apply-btn").click(function(){L();var t=M(new Date(p.start))+p.separator+M(new Date(p.end));X(i).trigger("datepicker-apply",{value:t,date1:new Date(p.start),date2:new Date(p.end)})}),c.find("[custom]").click(function(){var t=X(this).attr("custom");p.start=!1,p.end=!1,c.find(".day.checked").removeClass("checked"),p.setValue.call(r,t),_(),w(!0),S(),p.autoClose&&L()}),c.find("[shortcut]").click(function(){var t=X(this).attr("shortcut"),e=new Date,i=!1;if(-1!=t.indexOf("day"))var n=parseInt(t.split(",",2)[1],10),i=new Date((new Date).getTime()+864e5*n),e=new Date(e.getTime()+864e5*(0<n?1:-1));else if(-1!=t.indexOf("week")){var o,a=1==(o=-1!=t.indexOf("prev,")?-1:1)?"monday"==p.startOfWeek?1:0:"monday"==p.startOfWeek?0:6;for(e=new Date(e.getTime()-864e5);e.getDay()!=a;)e=new Date(e.getTime()+864e5*o);i=new Date(e.getTime()+864e5*o*6)}else if(-1!=t.indexOf("month"))(i=(1==(o=-1!=t.indexOf("prev,")?-1:1)?I:E)(e)).setDate(1),(e=I(i)).setDate(1),e=new Date(e.getTime()-864e5);else if(-1!=t.indexOf("year"))o=-1!=t.indexOf("prev,")?-1:1,(i=new Date).setFullYear(e.getFullYear()+o),i.setMonth(0),i.setDate(1),e.setFullYear(e.getFullYear()+o),e.setMonth(11),e.setDate(31);else if("custom"==t){var r=X(this).html();if(p.customShortcuts&&0<p.customShortcuts.length)for(var s=0;s<p.customShortcuts.length;s++){var l=p.customShortcuts[s];if(l.name==r){(l=l.dates.call())&&2==l.length&&(i=l[0],e=l[1]),l&&1==l.length&&(C(l=l[0],"month1"),C(I(l),"month2"),A());break}}}i&&e&&(k(i,e),_())}),c.find(".time1 input[type=range]").on("change touchmove",function(t){t=t.target;f("time1","hour"==t.name?X(t).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==t.name?X(t).val().replace(/^(\d{1})$/,"0$1"):void 0)}),c.find(".time2 input[type=range]").on("change touchmove",function(t){t=t.target;f("time2","hour"==t.name?X(t).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==t.name?X(t).val().replace(/^(\d{1})$/,"0$1"):void 0)}))}.call(this),p.alwaysOpen&&e(0),X(this).data("dateRangePicker",{setStart:function(t){return"string"==typeof t&&(t=Q(t,p.format).toDate()),p.end=!1,R(t),this},setEnd:function(t,e){var i=new Date;return i.setTime(p.start),k(i,t="string"==typeof t?Q(t,p.format).toDate():t,e),this}
1,setDateRange:function(t,e,i){"string"==typeof t&&"string"==typeof e&&(t=Q(t,p.format).toDate(),e=Q(e,p.format).toDate()),k(t,e,i)},clear:function(){p.start=!1,p.end=!1,c.find(".day.checked").removeClass("checked"),c.find(".day.last-date-selected").removeClass("last-date-selected"),c.find(".day.first-date-selected").removeClass("first-date-selected"),p.setValue.call(r,""),_(),w(),S()},close:L,open:e,redraw:Y,getDatePicker:function(){return c},resetMonthsView:Z,destroy:function(){X(a).off(".datepicker"),X(a).data("dateRangePicker",""),X(a).data("date-picker-opened",null),c.remove(),X(window).off("resize.datepicker",s),X(document).off("click.datepicker",G)}}),X(window).on("resize.datepicker",s),this;function s(){var t,e,i;p.inline||(t=X(a).offset(),"relative"==X(p.container).css("position")?(e=X(p.container).offset(),i=Math.max(0,t.left+c.outerWidth()-X("body").width()+16),c.css({top:t.top-e.top+X(a).outerHeight()+4,left:t.left-e.left-i})):t.left<460?c.css({top:t.top+X(a).outerHeight()+parseInt(X("body").css("border-top")||0,10),left:t.left}):c.css({top:t.top+X(a).outerHeight()+parseInt(X("body").css("border-top")||0,10),left:t.left+X(a).width()-c.width()-16}))}function e(t){Y(),i(),p.customOpenAnimation?p.customOpenAnimation.call(c.get(0),function(){X(a).trigger("datepicker-opened",{relatedTarget:c})}):c.slideDown(t,function(){X(a).trigger("datepicker-opened",{relatedTarget:c})}),X(a).trigger("datepicker-open",{relatedTarget:c}),A(),u(),s()}function i(){var t,e=p.getValue.call(r),e=e?e.split(p.separator):"";e&&(1==e.length&&p.singleDate||2<=e.length)&&((t=p.format).match(/Do/)&&(t=t.replace(/Do/,"D"),e[0]=e[0].replace(/(\d+)(th|nd|st)/,"$1"),2<=e.length)&&(e[1]=e[1].replace(/(\d+)(th|nd|st)/,"$1")),n=!1,2<=e.length?k(l(e[0],t,Q.locale(p.language)),l(e[1],t,Q.locale(p.language))):1==e.length&&p.singleDate&&R(l(e[0],t,Q.locale(p.language))),n=!0)}function l(t,e,i){return(Q(t,e,i).isValid()?Q(t,e,i):Q()).toDate()}function u(){var t=(t=c.find(".gap").css("margin-left"))&&parseInt(t),e=c.find(".month1").width(),t=c.find(".gap").width()+(t?2*t:0),i=c.find(".month2").width();c.find(".month-wrapper").width(e+t+i)}function d(t,e){c.find("."+t+" input[type=range].hour-range").val(Q(e).hours()),c.find("."+t+" input[type=range].minute-range").val(Q(e).minutes()),f(t,Q(e).format("HH"),Q(e).format("mm"))}function h(t,e){p[t]=parseInt(Q(parseInt(e)).startOf("day").add(Q(p[t+"Time"]).format("HH"),"h").add(Q(p[t+"Time"]).format("mm"),"m").valueOf())}function f(t,o,a){switch(o&&c.find("."+t+" .hour-val").text(o),a&&c.find("."+t+" .minute-val").text(a),t){case"time1":p.start&&e("start",Q(p.start)),e("startTime",Q(p.startTime||Q().valueOf()));break;case"time2":p.end&&e("end",Q(p.end)),e("endTime",Q(p.endTime||Q().valueOf()))}function e(t,e){var i=e.format("HH"),n=e.format("mm");p[t]=e.startOf("day").add(o||i,"h").add(a||n,"m").valueOf()}_(),w(),S()}function m(t){var e=t;return"week-range"===p.batchMode?e=("monday"===p.startOfWeek?Q(parseInt(t)).startOf("isoweek"):Q(parseInt(t)).startOf("week")).valueOf():"month-range"===p.batchMode&&(e=Q(parseInt(t)).startOf("month").valueOf()),e}function g(t){var e=t;return"week-range"===p.batchMode?e=("monday"===p.startOfWeek?Q(parseInt(t)).endOf("isoweek"):Q(parseInt(t)).endOf("week")).valueOf():"month-range"===p.batchMode&&(e=Q(parseInt(t)).endOf("month").valueOf()),e}function j(t){var e;t.hasClass("invalid")||(e=t.attr("time"),t.addClass("checked"),p.singleDate?(p.start=e,p.end=!1):"week"===p.batchMode?"monday"===p.startOfWeek?(p.start=Q(parseInt(e)).startOf("isoweek").valueOf(),p.end=Q(parseInt(e)).endOf("isoweek").valueOf()):(p.end=Q(parseInt(e)).endOf("week").valueOf(),p.start=Q(parseInt(e)).startOf("week").valueOf()):"workweek"===p.batchMode?(p.start=Q(parseInt(e)).day(1).valueOf(),p.end=Q(parseInt(e)).day(5).valueOf()):"weekend"===p.batchMode?(p.start=Q(parseInt(e)).day(6).valueOf(),p.end=Q(parseInt(e)).day(7).valueOf()):"month"===p.batchMode?(p.start=Q(parseInt(e)).startOf("month").valueOf(),p.end=Q(parseInt(e)).endOf("month").valueOf()):p.start&&p.end||!p.start&&!p.end?(p.start=m(e),p.end=!1):p.start&&(p.end=g(e),p.time.enabled)&&h("end",p.end),p.time.enabled&&(p.start&&h("start",p.start),p.end)&&h("end",p.end),!p.singleDate&&p.start&&p.end&&p.start>p.end&&(e=p.end,p.end=g(p.start),p.start=m(e),p.time.enabled)&&p.swapTime&&(d("time1",p.start),d("time2",p.end)),p.start=parseInt(p.start),p.end=parseInt(p.end),B(),p.start&&!p.end&&(X(a).trigger("datepicker-first-date-selected",{date1:new Date(p.start)}),N(t)),y(),_(),w(),S(),b())}function v(t){if(t=parseInt(t,10),p.startDate&&P(t,p.startDate)<0)return!1;if(p.endDate&&0<P(t,p.endDate))return!1;if(p.start&&!p.end&&!p.singleDate){if(0<p.maxDays&&x(t,p.start)>p.maxDays)return!1;if(0<p.minDays&&x(t,p.start)<p.minDays)return!1;if(p.selectForward&&t<p.start)return!1;if(p.selectBackward&&t>p.start)return!1;if(p.beforeShowDay&&"function"==typeof p.beforeShowDay){for(var e=!0,i=t;1<x(i,p.start);){if(!p.beforeShowDay(new Date(i))[0]){e=!1;break}if(Math.abs(i-p.start)<864e5)break;i>p.start&&(i-=864e5),i<p.start&&(i+=864e5)}if(!e)return!1}}return!0}
1function y(){c.find(".day.invalid.tmp").removeClass("tmp invalid").addClass("valid"),p.start&&!p.end&&c.find(".day.toMonth.valid").each(function(){v(parseInt(X(this).attr("time"),10))?X(this).addClass("valid tmp").removeClass("invalid"):X(this).addClass("invalid tmp").removeClass("valid")})}function N(t){var e,i,n,o,a,r=parseInt(t.attr("time")),s="";t.hasClass("has-tooltip")&&t.attr("data-tooltip")?s='<span class="tooltip-content">'+t.attr("data-tooltip")+"</span>":t.hasClass("invalid")||(p.singleDate?(c.find(".day.hovering").removeClass("hovering"),t.addClass("hovering")):(c.find(".day").each(function(){var t=parseInt(X(this).attr("time"));p.start,p.end;t==r?X(this).addClass("hovering"):X(this).removeClass("hovering"),p.start&&!p.end&&(p.start<t&&t<=r||p.start>t&&r<=t)?X(this).addClass("hovering"):X(this).removeClass("hovering")}),p.start&&!p.end&&(o=x(r,p.start),p.hoveringTooltip)&&("function"==typeof p.hoveringTooltip?s=p.hoveringTooltip(o,p.start,r):!0===p.hoveringTooltip&&1<o&&(s=o+" "+O("days"))))),s?(o=t.offset(),a=c.offset(),e=o.left-a.left,i=o.top-a.top,e+=t.width()/2,o=(n=c.find(".date-range-length-tip")).css({visibility:"hidden",display:"none"}).html(s).width(),a=n.height(),e-=o/2,i-=a,setTimeout(function(){n.css({left:e,top:i,display:"block",visibility:"visible"})},10)):c.find(".date-range-length-tip").hide()}function B(){c.find(".day.hovering").removeClass("hovering"),c.find(".date-range-length-tip").hide()}function $(t){var e=t.val(),i=t.attr("name"),t=t.parents("table").hasClass("month1")?"month1":"month2",n="month1"==t?"month2":"month1",o=!!p.startDate&&Q(p.startDate),a=!!p.endDate&&Q(p.endDate),i=Q(p[t])[i](e);o&&i.isSameOrBefore(o)&&(i=o.add("month2"==t?1:0,"month")),C(i=a&&i.isSameOrAfter(a)?a.add(p.singleMonth||"month1"!=t?0:-1,"month"):i,t),"month1"==t?(p.stickyMonths||Q(i).isSameOrAfter(p[n],"month"))&&C(Q(i).add(1,"month"),n):(p.stickyMonths||Q(i).isSameOrBefore(p[n],"month"))&&C(Q(i).add(-1,"month"),n),A()}function b(){!0===p.singleDate?n&&p.start&&p.autoClose&&L():n&&p.start&&p.end&&p.autoClose&&L()}function _(){var t=Math.ceil((p.end-p.start)/864e5)+1;p.singleDate?p.start&&!p.end?c.find(".drp_top-bar").removeClass("error").addClass("normal"):c.find(".drp_top-bar").removeClass("error").removeClass("normal"):p.maxDays&&t>p.maxDays?(p.start=!1,p.end=!1,c.find(".day").removeClass("checked"),c.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(O("less-than").replace("%d",p.maxDays))):p.minDays&&t<p.minDays?(p.start=!1,p.end=!1,c.find(".day").removeClass("checked"),c.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(O("more-than").replace("%d",p.minDays))):p.start||p.end?c.find(".drp_top-bar").removeClass("error").addClass("normal"):c.find(".drp_top-bar").removeClass("error").removeClass("normal"),p.singleDate&&p.start&&!p.end||!p.singleDate&&p.start&&p.end?c.find(".apply-btn").removeClass("disabled"):c.find(".apply-btn").addClass("disabled"),p.batchMode&&(p.start&&p.startDate&&P(p.start,p.startDate)<0||p.end&&p.endDate&&0<P(p.end,p.endDate))&&(p.start=!1,p.end=!1,c.find(".day").removeClass("checked"))}function w(t,e){var i;c.find(".start-day").html("..."),c.find(".end-day").html("..."),c.find(".selected-days").hide(),p.start&&c.find(".start-day").html(M(new Date(parseInt(p.start)))),p.end&&c.find(".end-day").html(M(new Date(parseInt(p.end)))),p.start&&p.singleDate?(c.find(".apply-btn").removeClass("disabled"),i=M(new Date(p.start)),p.setValue.call(r,i,M(new Date(p.start)),M(new Date(p.end))),n&&!e&&X(a).trigger("datepicker-change",{value:i,date1:new Date(p.start)})):p.start&&p.end?(c.find(".selected-days").show().find(".selected-days-num").html(x(p.end,p.start)),c.find(".apply-btn").removeClass("disabled"),i=M(new Date(p.start))+p.separator+M(new Date(p.end)),p.setValue.call(r,i,M(new Date(p.start)),M(new Date(p.end))),n&&!e&&X(a).trigger("datepicker-change",{value:i,date1:new Date(p.start),date2:new Date(p.end)})):t?c.find(".apply-btn").removeClass("disabled"):c.find(".apply-btn").addClass("disabled")}function x(t,e){return Math.abs(Q(t).diff(Q(e),"d"))+1}function k(t,e,i){t.getTime()>e.getTime()&&(n=e,e=t,t=n,n=null);var n=!0;p.startDate&&P(t,p.startDate)<0&&(n=!1),((n=!(p.endDate&&0<P(e,p.endDate))&&n)?(p.start=t.getTime(),p.end=e.getTime(),p.time.enabled&&(d("time1",t),d("time2",e)),(p.stickyMonths||0<P(t,e)&&0===D(t,e))&&(p.lookBehind?t=E(e):e=I(t)),p.stickyMonths&&!1!==p.endDate&&0<D(e,p.endDate)&&(t=E(t),e=E(e)),p.stickyMonths||0===D(t,e)&&(p.lookBehind?t=E(e):e=I(t)),C(t,"month1"),C(e,"month2"),A(),_(),w(!1,i),b):(C(p.startDate,"month1"),C(I(p.startDate),"month2"),A))()}function R(t){var e=!0;p.startDate&&P(t,p.startDate)<0&&(e=!1),(e=!(p.endDate&&0<P(t,p.endDate))&&e)?(p.start=t.getTime(),p.time.enabled&&d("time1",t),C(t,"month1"),!0!==p.singleMonth&&C(I(t),"month2"),A(),w(),b()):C(p.startDate,"month1")}function S(){(p.start||p.end)&&(c.find(".day").each(function(){var t=parseInt(X(this).attr("time")),e=p.start,i=p.end;p.time.enabled&&(t=Q(t).startOf("day").valueOf(),e=Q(e||Q().valueOf()).startOf("day").valueOf(),i=Q(i||Q().valueOf()).startOf("day").valueOf()),p.start&&p.end&&t<=i&&e<=t||p.start&&!p.end&&Q(e).format("YYYY-MM-DD")==Q(t).format("YYYY-MM-DD")?X(this).addClass("checked"):X(this).removeClass("checked"),p.start&&Q(e).format("YYYY-MM-DD")==Q(t).format("YYYY-MM-DD")?X(this).addClass("first-date-selected"):X(this).removeClass("first-date-selected"),p.end&&Q(i).format("YYYY-MM-DD")==Q(t).format("YYYY-MM-DD")?X(this).addClass("last-date-selected"):X(this).removeClass("last-date-selected")}),c.find(".week-number").each(function(){X(this).attr("data-start-time")==p.startWeek&&X(this).addClass("week-number-selected")}))}function C(t,e){t=Q(t).toDate();i=e,o=(n=Q(n=t)).get("month"),l='<div class="month-element">'+H(o)+"</div>";var i,n,o,a,r,s=p.monthSelect&&(s=!!p.startDate&&Q(p.startDate).add(p.singleMonth||"month2"!==i?0:1,"month"),i=!!p.endDate&&Q(p.endDate).add(p.singleMonth||"month1"!==i?0:-1,"month"),s=s&&n.isSame(s,"year")?s.get("month"):0,n=i&&n.isSame(i,"year")?i.get("month"):11,i=Math.min(s,o),r=Math.max(n,o),i!==r)?F("month",W({minSelectable:s,maxSelectable:n,minVisible:i,maxVisible:r},o,H)):l,l=(n=e,i=(i=Q(i=t)).get("year"),r='<div class="month-element">'+i+"</div>",p.yearSelect&&(o=p.yearSelect&&"function"==typeof p.yearSelect,l=!!p.startDate&&Q(p.startDate).add(p.singleMonth||"month2"!==n?0:1,"month"),n=!!p.endDate&&Q(p.endDate).add(p.singleMonth||"month1"!==n?0:-1,"month"),o=o?p.yearSelect(i):p.yearSelect.slice(),l=l?Math.max(o[0],l.get("year")):Math.min(o[0],i),n=n?Math.min(o[1],n.get("year")):Math.max(o[1],i),o=Math.min(l,i),a=Math.max(n,i),o!==a)?F("year",W({minSelectable:l,maxSelectable:n,minVisible:o,maxVisible:a},i)):r);c.find("."+e+" .month-name").html(s+" "+l),c.find("."+e+" tbody").html((t=>{var e,i,n=[],o=(t.setDate(1),new Date(t.getTime()-864e5),new Date),a=t.getDay();
1if(0<(a=0===a&&"monday"===p.startOfWeek?7:a))for(var r=a;0<r;r--){var s=new Date(t.getTime()-864e5*r);i=v(s.getTime()),p.startDate&&P(s,p.startDate)<0&&(i=!1),p.endDate&&0<P(s,p.endDate)&&(i=!1),n.push({date:s,type:"lastMonth",day:s.getDate(),time:s.getTime(),valid:i})}for(var l=t.getMonth(),r=0;r<40;r++)e=Q(t).add(r,"days").toDate(),i=v(e.getTime()),p.startDate&&P(e,p.startDate)<0&&(i=!1),p.endDate&&0<P(e,p.endDate)&&(i=!1),n.push({date:e,type:e.getMonth()==l?"toMonth":"nextMonth",day:e.getDate(),time:e.getTime(),valid:i});for(var c=[],u=0;u<6&&"nextMonth"!=n[7*u].type;u++){c.push("<tr>");for(s=0;s<7;s++){var d="monday"==p.startOfWeek?s+1:s,d=Q((e=n[7*u+d]).time).format("L")==Q(o).format("L"),h=(e.extraClass="",e.tooltip="",e.valid&&p.beforeShowDay&&"function"==typeof p.beforeShowDay&&(h=p.beforeShowDay(Q(e.time).toDate()),e.valid=h[0],e.extraClass=h[1]||"",e.tooltip=h[2]||"",""!==e.tooltip)&&(e.extraClass+=" has-tooltip "),{time:e.time,"data-tooltip":e.tooltip,class:"day "+e.type+" "+e.extraClass+" "+(e.valid?"valid":"invalid")+" "+(d?"real-today":"")});0===s&&p.showWeekNumbers&&c.push('<td><div class="week-number" data-start-time="'+e.time+'">'+p.getWeekNumber(e.date)+"</div></td>"),c.push("<td "+U({},p.dayTdAttrs,e)+"><div "+U(h,p.dayDivAttrs,e)+">"+((t,e)=>p.showDateFilter&&"function"==typeof p.showDateFilter?p.showDateFilter(t,e):e)(e.time,e.day)+"</div></td>")}c.push("</tr>")}return c.join("")})(t)),p[e]=t,y(),c.find(".day").off("click").click(function(t){j(X(this))}),c.find(".day").off("mouseenter").mouseenter(function(t){N(X(this))}),c.find(".day").off("mouseleave").mouseleave(function(t){c.find(".date-range-length-tip").hide(),p.singleDate&&B()}),c.find(".week-number").off("click").click(function(t){var e,i,n,o;e=X(this),o=parseInt(e.attr("data-start-time"),10),p.startWeek?(c.find(".week-number-selected").removeClass("week-number-selected"),i=new Date(o<p.startWeek?o:p.startWeek),n=new Date(o<p.startWeek?p.startWeek:o),p.startWeek=!1,p.start=Q(i).day("monday"==p.startOfWeek?1:0).valueOf(),p.end=Q(n).day("monday"==p.startOfWeek?7:6).valueOf()):(p.startWeek=o,e.addClass("week-number-selected"),i=new Date(o),p.start=Q(i).day("monday"==p.startOfWeek?1:0).valueOf(),p.end=Q(i).day("monday"==p.startOfWeek?7:6).valueOf()),y(),_(),w(),S(),b()}),c.find(".month").off("change").change(function(t){$(X(this))}),c.find(".year").off("change").change(function(t){$(X(this))})}function W(t,e,i){var n=[];i=i||function(t){return t};for(var o=t.minVisible;o<=t.maxVisible;o++)n.push({value:o,text:i(o),selected:o===e,disabled:o<t.minSelectable||o>t.maxSelectable});return n}function F(t,e){for(var i,n='<div class="select-wrapper"><select class="'+t+'" name="'+t+'">',o=0,a=e.length;o<a;o++){var r=e[o];n+='<option value="'+r.value+'"'+(r.selected?" selected":"")+(r.disabled?" disabled":"")+">"+r.text+"</option>",r.selected&&(i=r.text)}return n+="</select>"+i+"</div>"}function T(t,e){c.find("."+e).append("<div><span>"+O("Time")+': <span class="hour-val">00</span>:<span class="minute-val">00</span></span></div><div class="hour"><label>'+O("Hour")+': <input type="range" class="hour-range" name="hour" min="0" max="23"></label></div><div class="minute"><label>'+O("Minute")+': <input type="range" class="minute-range" name="minute" min="0" max="59"></label></div>'),d(e,t)}function H(t){return O("month-name")[t]}function M(t){return Q(t).format(p.format)}function A(){S();var t=parseInt(Q(p.month1).format("YYYYMM")),e=parseInt(Q(p.month2).format("YYYYMM")),t=Math.abs(t-e),e=(1<t&&89!=t?c.addClass("has-gap").removeClass("no-gap").find(".gap").css("visibility","visible"):c.removeClass("has-gap").addClass("no-gap").find(".gap").css("visibility","hidden"),c.find("table.month1").height()),t=c.find("table.month2").height();c.find(".gap").height(Math.max(e,t)+10)}function L(){var t;p.alwaysOpen||(t=function(){X(a).data("date-picker-opened",!1),X(a).trigger("datepicker-closed",{relatedTarget:c})},p.customCloseAnimation?p.customCloseAnimation.call(c.get(0),t):X(c).slideUp(p.duration,t),X(a).trigger("datepicker-close",{relatedTarget:c}))}function Y(){C(p.month1,"month1"),C(p.month2,"month2")}function D(t,e){t=parseInt(Q(t).format("YYYYMM"))-parseInt(Q(e).format("YYYYMM"));return 0<t?1:0==t?0:-1}function P(t,e){t=parseInt(Q(t).format("YYYYMMDD"))-parseInt(Q(e).format("YYYYMMDD"));return 0<t?1:0==t?0:-1}function I(t){return Q(t).add(1,"months").toDate()}function E(t){return Q(t).add(-1,"months").toDate()}function V(){var t=p.showWeekNumbers?"<th>"+O("week-number")+"</th>":"";return"monday"==p.startOfWeek?t+"<th>"+O("week-1")+"</th><th>"+O("week-2")+"</th><th>"+O("week-3")+"</th><th>"+O("week-4")+"</th><th>"+O("week-5")+"</th><th>"+O("week-6")+"</th><th>"+O("week-7")+"</th>":t+"<th>"+O("week-7")+"</th><th>"+O("week-1")+"</th><th>"+O("week-2")+"</th><th>"+O("week-3")+"</th><th>"+O("week-4")+"</th><th>"+O("week-5")+"</th><th>"+O("week-6")+"</th>"}function z(t){return t=Q(t),p.startDate&&t.endOf("month").isBefore(p.startDate)||!(!p.endDate||!t.startOf("month").isAfter(p.endDate))}function U(t,e,o){var i,a=X.extend(!0,{},t),n=(X.each(e,function(t,e){var i,n=e(o);for(i in n)a.hasOwnProperty(i)?a[i]+=n[i]:a[i]=n[i]}),"");for(i in a)a.hasOwnProperty(i)&&(n+=i+'="'+a[i]+'" ');return n}function O(t){var e=t.toLowerCase(),i=t in o?o[t]:e in o?o[e]:null,n=X.dateRangePickerLanguages.default;return i=null==i?t in n?n[t]:e in n?n[e]:"":i}function q(){var t=p.defaultTime||new Date;return p.lookBehind?(p.startDate&&D(t,p.startDate)<0&&(t=I(Q(p.startDate).toDate())),p.endDate&&0<D(t,p.endDate)&&(t=Q(p.endDate).toDate())):(p.startDate&&D(t,p.startDate)<0&&(t=Q(p.startDate).toDate()),p.endDate&&0<D(I(t),p.endDate)&&(t=E(Q(p.endDate).toDate()))),t=p.singleDate&&(p.startDate&&D(t,p.startDate)<0&&(t=Q(p.startDate).toDate()),p.endDate)&&0<D(t,p.endDate)?Q(p.endDate).toDate():t}function Z(t){t=t||q(),p.lookBehind?(C(E(t),"month1"),C(t,"month2")):(C(t,"month1"),C(I(t),"month2")),p.singleDate&&C(t,"month1"),S(),A()}function G(t){var e;t=t,(e=a[0]).contains(t.target)||t.target==e||null!=e.childNodes&&0<=X.inArray(t.target,e.childNodes)||c.is(":visible")&&L()}}}),(i=>{"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(t,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(t)),i(e),e}:i(jQuery)})(function(u){function i(t,e){var i=this;i.element=t,i.$element=u(t),i.state={multiple:!!i.$element.attr("multiple"),enabled:!1,opened:!1,currValue:-1,selectedIdx:-1,highlightedIdx:-1},i.eventTriggers={open:i.open,close:i.close,destroy:i.destroy,refresh:i.refresh,init:i.init},i.init(e)}var e=u(document),o=u(window),n=["a","e","i","o","u","n","c","y"],a=[/[\xE0-\xE5]/g,/[\xE8-\xEB]/g,/[\xEC-\xEF]/g,/[\xF2-\x
1F6]/g,/[\xF9-\xFC]/g,/[\xF1]/g,/[\xE7]/g,/[\xFD-\xFF]/g];i.prototype={utils:{isMobile:function(){return/android|ip(hone|od|ad)/i.test(navigator.userAgent)},escapeRegExp:function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},replaceDiacritics:function(t){for(var e=a.length;e--;)t=t.toLowerCase().replace(a[e],n[e]);return t},format:function(t){var n=arguments;return(""+t).replace(/\{(?:(\d+)|(\w+))\}/g,function(t,e,i){return i&&n[1]?n[1][i]:n[e]})},nextEnabledItem:function(t,e){for(;t[e=(e+1)%t.length].disabled;);return e},previousEnabledItem:function(t,e){for(;t[e=(0<e?e:t.length)-1].disabled;);return e},toDash:function(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()},triggerCallback:function(t,e){var i=e.element,e=e.options["on"+t],n=[i].concat([].slice.call(arguments).slice(1));u.isFunction(e)&&e.apply(i,n),u(i).trigger("selectric-"+this.toDash(t),n)},arrayToClassname:function(t){t=u.grep(t,function(t){return!!t});return u.trim(t.join(" "))}},init:function(t){var e,i,n,o,a,r,s=this;s.options=u.extend(!0,{},u.fn.selectric.defaults,s.options,t),s.utils.triggerCallback("BeforeInit",s),s.destroy(!0),s.options.disableOnMobile&&s.utils.isMobile()?s.disableOnMobile=!0:(s.classes=s.getClassNames(),t=u("<input/>",{class:s.classes.input,readonly:s.utils.isMobile()}),e=u("<div/>",{class:s.classes.items,tabindex:-1}),i=u("<div/>",{class:s.classes.scroll}),n=u("<div/>",{class:s.classes.prefix,html:s.options.arrowButtonMarkup}),o=u("<span/>",{class:"label"}),a=s.$element.wrap("<div/>").parent().append(n.prepend(o),e,t),r=u("<div/>",{class:s.classes.hideselect}),s.elements={input:t,items:e,itemsScroll:i,wrapper:n,label:o,outerWrapper:a},s.options.nativeOnMobile&&s.utils.isMobile()&&(s.elements.input=void 0,r.addClass(s.classes.prefix+"-is-native"),s.$element.on("change",function(){s.refresh()})),s.$element.on(s.eventTriggers).wrap(r),s.originalTabindex=s.$element.prop("tabindex"),s.$element.prop("tabindex",-1),s.populate(),s.activate(),s.utils.triggerCallback("Init",s))},activate:function(){var t=this,e=t.elements.items.closest(":visible").children(":hidden").addClass(t.classes.tempshow),i=t.$element.width();e.removeClass(t.classes.tempshow),t.utils.triggerCallback("BeforeActivate",t),t.elements.outerWrapper.prop("class",t.utils.arrayToClassname([t.classes.wrapper,t.$element.prop("class").replace(/\S+/g,t.classes.prefix+"-$&"),t.options.responsive?t.classes.responsive:""])),t.options.inheritOriginalWidth&&0<i&&t.elements.outerWrapper.width(i),t.unbindEvents(),t.$element.prop("disabled")?(t.elements.outerWrapper.addClass(t.classes.disabled),t.elements.input&&t.elements.input.prop("disabled",!0)):(t.state.enabled=!0,t.elements.outerWrapper.removeClass(t.classes.disabled),t.$li=t.elements.items.removeAttr("style").find("li"),t.bindEvents()),t.utils.triggerCallback("Activate",t)},getClassNames:function(){var n=this,o=n.options.customClass,a={};return u.each("Input Items Open Disabled TempShow HideSelect Wrapper Focus Hover Responsive Above Below Scroll Group GroupLabel".split(" "),function(t,e){var i=o.prefix+e;a[e.toLowerCase()]=o.camelCase?i:n.utils.toDash(i)}),a.prefix=o.prefix,a},setLabel:function(){var e,t,i=this,n=i.options.labelBuilder;i.state.multiple?(t=0===(t=u.isArray(i.state.currValue)?i.state.currValue:[i.state.currValue]).length?[0]:t,e=u.map(t,function(e){return u.grep(i.lookupItems,function(t){return t.index===e})[0]}),e=u.grep(e,function(t){return 1<e.length||0===e.length?""!==u.trim(t.value):t}),e=u.map(e,function(t){return u.isFunction(n)?n(t):i.utils.format(n,t)}),i.options.multiple.maxLabelEntries&&(e.length>=i.options.multiple.maxLabelEntries+1?(e=e.slice(0,i.options.multiple.maxLabelEntries)).push(u.isFunction(n)?n({text:"..."}):i.utils.format(n,{text:"..."})):e.slice(e.length-1)),i.elements.label.html(e.join(i.options.multiple.separator))):(t=i.lookupItems[i.state.currValue],i.elements.label.html(u.isFunction(n)?n(t):i.utils.format(n,t)))},populate:function(){var n=this,t=n.$element.children(),e=n.$element.find("option"),i=e.filter(":selected"),o=e.index(i),a=0,e=n.state.multiple?[]:0;1<i.length&&n.state.multiple&&(o=[],i.each(function(){o.push(u(this).index())})),n.state.currValue=~o?o:e,n.state.selectedIdx=n.state.currValue,n.state.highlightedIdx=n.state.currValue,n.items=[],n.lookupItems=[],t.length&&(t.each(function(t){var i,e=u(this);e.is("optgroup")?(i={element:e,label:e.prop("label"),groupDisabled:e.prop("disabled"),items:[]},e.children().each(function(t){var e=u(this);i.items[t]=n.getItemData(a,e,i.groupDisabled||e.prop("disabled")),n.lookupItems[a]=i.items[t],a++}),n.items[t]=i):(n.items[t]=n.getItemData(a,e,e.prop("disabled")),n.lookupItems[a]=n.items[t],a++)}),n.setLabel(),n.elements.items.append(n.elements.itemsScroll.html(n.getItemsMarkup(n.items))))}
1,getItemData:function(t,e,i){return{index:t,element:e,value:e.val(),className:e.prop("class"),text:e.html(),slug:u.trim(this.utils.replaceDiacritics(e.html())),alt:e.attr("data-alt"),selected:e.prop("selected"),disabled:i}},getItemsMarkup:function(t){var i=this,n="<ul>";return u.isFunction(i.options.listBuilder)&&i.options.listBuilder&&(t=i.options.listBuilder(t)),u.each(t,function(t,e){void 0!==e.label?(n+=i.utils.format('<ul class="{1}"><li class="{2}">{3}</li>',i.utils.arrayToClassname([i.classes.group,e.groupDisabled?"disabled":"",e.element.prop("class")]),i.classes.grouplabel,e.element.prop("label")),u.each(e.items,function(t,e){n+=i.getItemMarkup(e.index,e)}),n+="</ul>"):n+=i.getItemMarkup(e.index,e)}),n+"</ul>"},getItemMarkup:function(t,e){var i=this.options.optionsItemBuilder,n={value:e.value,text:e.text,slug:e.slug,index:e.index};return this.utils.format('<li data-index="{1}" class="{2}">{3}</li>',t,this.utils.arrayToClassname([e.className,t===this.items.length-1?"last":"",e.disabled?"disabled":"",e.selected?"selected":""]),u.isFunction(i)?this.utils.format(i(e,this.$element,t),e):this.utils.format(i,n))},unbindEvents:function(){this.elements.wrapper.add(this.$element).add(this.elements.outerWrapper).add(this.elements.input).off(".sl")},bindEvents:function(){var a=this;a.elements.outerWrapper.on("mouseenter.sl mouseleave.sl",function(t){u(this).toggleClass(a.classes.hover,"mouseenter"===t.type),a.options.openOnHover&&(clearTimeout(a.closeTimer),"mouseleave"===t.type?a.closeTimer=setTimeout(u.proxy(a.close,a),a.options.hoverIntentTimeout):a.open())}),a.elements.wrapper.on("click.sl",function(t){a.state.opened?a.close():a.open(t)}),a.options.nativeOnMobile&&a.utils.isMobile()||(a.$element.on("focus.sl",function(){a.elements.input.focus()}),a.elements.input.prop({tabindex:a.originalTabindex,disabled:!1}).on("keydown.sl",u.proxy(a.handleKeys,a)).on("focusin.sl",function(t){a.elements.outerWrapper.addClass(a.classes.focus),a.elements.input.one("blur",function(){a.elements.input.blur()}),a.options.openOnFocus&&!a.state.opened&&a.open(t)}).on("focusout.sl",function(){a.elements.outerWrapper.removeClass(a.classes.focus)}).on("input propertychange",function(){var t=a.elements.input.val(),o=new RegExp("^"+a.utils.escapeRegExp(t),"i");clearTimeout(a.resetStr),a.resetStr=setTimeout(function(){a.elements.input.val("")},a.options.keySearchTimeout),t.length&&u.each(a.items,function(t,e){if(!e.disabled)if(o.test(e.text)||o.test(e.slug))a.highlight(t);else if(e.alt)for(var i=e.alt.split("|"),n=0;n<i.length&&i[n];n++)if(o.test(i[n].trim()))return void a.highlight(t)})})),a.$li.on({mousedown:function(t){t.preventDefault(),t.stopPropagation()},click:function(){return a.select(u(this).data("index")),!1}})},handleKeys:function(t){var e=this,i=t.which,n=e.options.keys,o=-1<u.inArray(i,n.previous),a=-1<u.inArray(i,n.next),r=-1<u.inArray(i,n.select),n=-1<u.inArray(i,n.open),s=e.state.highlightedIdx,l=o&&0===s||a&&s+1===e.items.length,c=0;if(13!==i&&32!==i||t.preventDefault(),o||a){if(!e.options.allowWrap&&l)return;o&&(c=e.utils.previousEnabledItem(e.lookupItems,s)),a&&(c=e.utils.nextEnabledItem(e.lookupItems,s)),e.highlight(c)}r&&e.state.opened?(e.select(s),e.state.multiple&&e.options.multiple.keepMenuOpen||e.close()):n&&!e.state.opened&&e.open()},refresh:function(){this.populate(),this.activate(),this.utils.triggerCallback("Refresh",this)},setOptionsDimensions:function(){var t=this,e=t.elements.items.closest(":visible").children(":hidden").addClass(t.classes.tempshow),i=t.options.maxHeight,n=t.elements.items.outerWidth(),o=t.elements.wrapper.outerWidth()-(n-t.elements.items.width());!t.options.expandToItemText||n<o?t.finalWidth=o:(t.elements.items.css("overflow","scroll"),t.elements.outerWrapper.width(9e4),t.finalWidth=t.elements.items.width(),t.elements.items.css("overflow",""),t.elements.outerWrapper.width("")),t.elements.items.width(t.finalWidth).height()>i&&t.elements.items.height(i),e.removeClass(t.classes.tempshow)},isInViewport:function(){var t,e,i,n=this;!0===n.options.forceRenderAbove?n.elements.outerWrapper.addClass(n.classes.above):!0===n.options.forceRenderBelow?n.elements.outerWrapper.addClass(n.classes.below):(e=o.scrollTop(),i=o.height(),i=(t=n.elements.outerWrapper.offset().top)+n.elements.outerWrapper.outerHeight()+n.itemsHeight<=e+i,t=t-n.itemsHeight>e,i=!(e=!i&&t),n.elements.outerWrapper.toggleClass(n.classes.above,e),n.elements.outerWrapper.toggleClass(n.classes.below,i))},detectItemVisibility:function(t){var e=this.$li.filter("[data-index]"),i=(this.state.multiple&&(t=u.isArray(t)&&0===t.length?0:t,t=u.isArray(t)?Math.min.apply(Math,t):t),e.eq(t).outerHeight()),e=e[t].offsetTop,t=this.elements.itemsScroll.scrollTop(),n=e+2*i;this.elements.itemsScroll.scrollTop(n>t+this.itemsHeight?n-this.itemsHeight:e-i<t?e-i:t)},open:function(t){var o=this;if(o.options.nativeOnMobile&&o.utils.isMobile())return!1;o.utils.triggerCallback("BeforeOpen",o),t&&(t.preventDefault(),o.options.stopPropagation)&&t.stopPropagation(),o.state.enabled&&(o.setOptionsDimensions(),u("."+o.classes.hideselect,"."+o.classes.open).children().selectric("close"),o.state.opened=!0,o.itemsHeight=o.elements.items.outerHeight(),o.itemsInnerHe
1ight=o.elements.items.height(),o.elements.outerWrapper.addClass(o.classes.open),o.elements.input.val(""),t&&"focusin"!==t.type&&o.elements.input.focus(),setTimeout(function(){e.on("click.sl",u.proxy(o.close,o)).on("scroll.sl",u.proxy(o.isInViewport,o))},1),o.isInViewport(),o.options.preventWindowScroll&&e.on("mousewheel.sl DOMMouseScroll.sl","."+o.classes.scroll,function(t){var e=t.originalEvent,i=u(this).scrollTop(),n=0;"detail"in e&&(n=-1*e.detail),"wheelDelta"in e&&(n=e.wheelDelta),"wheelDeltaY"in e&&(n=e.wheelDeltaY),"deltaY"in e&&(n=-1*e.deltaY),(i===this.scrollHeight-o.itemsInnerHeight&&n<0||0===i&&0<n)&&t.preventDefault()}),o.detectItemVisibility(o.state.selectedIdx),o.highlight(o.state.multiple?-1:o.state.selectedIdx),o.utils.triggerCallback("Open",o))},close:function(){this.utils.triggerCallback("BeforeClose",this),e.off(".sl"),this.elements.outerWrapper.removeClass(this.classes.open),this.state.opened=!1,this.utils.triggerCallback("Close",this)},change:function(){var i=this;i.utils.triggerCallback("BeforeChange",i),i.state.multiple?(u.each(i.lookupItems,function(t){i.lookupItems[t].selected=!1,i.$element.find("option").prop("selected",!1)}),u.each(i.state.selectedIdx,function(t,e){i.lookupItems[e].selected=!0,i.$element.find("option").eq(e).prop("selected",!0)}),i.state.currValue=i.state.selectedIdx,i.setLabel(),i.utils.triggerCallback("Change",i)):i.state.currValue!==i.state.selectedIdx&&(i.$element.prop("selectedIndex",i.state.currValue=i.state.selectedIdx).data("value",i.lookupItems[i.state.selectedIdx].text),i.setLabel(),i.utils.triggerCallback("Change",i))},highlight:function(t){var e=this.$li.filter("[data-index]").removeClass("highlighted");this.utils.triggerCallback("BeforeHighlight",this),void 0===t||-1===t||this.lookupItems[t].disabled||(e.eq(this.state.highlightedIdx=t).addClass("highlighted"),this.detectItemVisibility(t),this.utils.triggerCallback("Highlight",this))},select:function(t){var e,i=this,n=i.$li.filter("[data-index]");i.utils.triggerCallback("BeforeSelect",i,t),void 0===t||-1===t||i.lookupItems[t].disabled||((i.state.multiple?(i.state.selectedIdx=u.isArray(i.state.selectedIdx)?i.state.selectedIdx:[i.state.selectedIdx],-1!==(e=u.inArray(t,i.state.selectedIdx))?i.state.selectedIdx.splice(e,1):i.state.selectedIdx.push(t),n.removeClass("selected").filter(function(t){return-1!==u.inArray(t,i.state.selectedIdx)})):n.removeClass("selected").eq(i.state.selectedIdx=t)).addClass("selected"),i.state.multiple&&i.options.multiple.keepMenuOpen||i.close(),i.change(),i.utils.triggerCallback("Select",i,t))},destroy:function(t){var e=this;e.state&&e.state.enabled&&(e.elements.items.add(e.elements.wrapper).add(e.elements.input).remove(),t||e.$element.removeData("selectric").removeData("value"),e.$element.prop("tabindex",e.originalTabindex).off(".sl").off(e.eventTriggers).unwrap().unwrap(),e.state.enabled=!1)}},u.fn.selectric=function(e){return this.each(function(){var t=u.data(this,"selectric");t&&!t.disableOnMobile?"string"==typeof e&&t[e]?t[e]():t.init(e):u.data(this,"selectric",new i(this,e))})},u.fn.selectric.defaults={onChange:function(t){u(t).change()},maxHeight:300,keySearchTimeout:500,arrowButtonMarkup:'<b class="button">▾</b>',disableOnMobile:!1,nativeOnMobile:!0,openOnFocus:!0,openOnHover:!1,hoverIntentTimeout:500,expandToItemText:!1,responsive:!1,preventWindowScroll:!0,inheritOriginalWidth:!1,allowWrap:!0,forceRenderAbove:!1,forceRenderBelow:!1,stopPropagation:!0,optionsItemBuilder:"{text}",labelBuilder:"{text}",listBuilder:!1,keys:{previous:[37,38],next:[39,40],select:[9,13,27],open:[13,32,37,38,39,40],close:[9,27]},customClass:{prefix:"selectric",camelCase:!1},multiple:{separator:", ",keepMenuOpen:!0,maxLabelEntries:!1}}}),(()=>{function e(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+i,this.options=e.Adapter.extend({},e.defaults,t),this.element=this.options.element,this.adapter=new e.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=e.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=e.Context.findOrCreateByElement(this.options.context),e.offsetAliases[this.options.offset]&&(this.options.offset=e.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),a[this.key]=this,i+=1}var i=0,a={};e.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},e.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},e.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete a[this.key]},e.prototype.disable=function(){return this.enabled=!1,this},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},e.prototype.next=function(){return this.group.next(this)},e.prototype.previous=function(){return this.group.previous(this)},e.invokeAll=function(t){var e,i=[];for(e in a)i.push(a[e]);for(var n=0,o=i.length;n<o;n++)i[n][t]()},e.destroyAll=function(){e.invokeAll("destroy")},e.disableAll=function(){e.invokeAll("disable")},e.enableAll=function(){for(var t in e.Context.refreshAll(),a)a[t].enabled=!0;return this},e.refreshAll=function(){e.Context.refreshAll()}
1,e.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},e.viewportWidth=function(){return document.documentElement.clientWidth},e.adapters=[],e.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},e.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=e})(),(()=>{function e(t){window.setTimeout(t,1e3/60)}function i(t){this.element=t,this.Adapter=p.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,n+=1,p.windowContext||(p.windowContext=!0,p.windowContext=new i(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,o={},p=window.Waypoint,t=window.onload;i.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},i.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete o[this.key])},i.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,p.requestAnimationFrame(t))})},i.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){e.didScroll&&!p.isTouch||(e.didScroll=!0,p.requestAnimationFrame(t))})},i.prototype.handleResize=function(){p.Context.refreshAll()},i.prototype.handleScroll=function(){var t,e,i={},n={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(t in n){var o,a=n[t],r=a.newScroll>a.oldScroll?a.forward:a.backward;for(o in this.waypoints[t]){var s,l,c=this.waypoints[t][o];null!==c.triggerPoint&&(s=a.oldScroll<c.triggerPoint,l=a.newScroll>=c.triggerPoint,s&&l||!s&&!l)&&(c.queueTrigger(r),i[c.group.id]=c.group)}}for(e in i)i[e].flushTriggers();this.oldScroll={x:n.horizontal.newScroll,y:n.vertical.newScroll}},i.prototype.innerHeight=function(){return this.element==this.element.window?p.viewportHeight():this.adapter.innerHeight()},i.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},i.prototype.innerWidth=function(){return this.element==this.element.window?p.viewportWidth():this.adapter.innerWidth()},i.prototype.destroy=function(){var t,e=[];for(t in this.waypoints)for(var i in this.waypoints[t])e.push(this.waypoints[t][i]);for(var n=0,o=e.length;n<o;n++)e[n].destroy()},i.prototype.refresh=function(){var t,e,i=this.element==this.element.window,n=i?void 0:this.adapter.offset(),o={};for(e in this.handleScroll(),t={horizontal:{contextOffset:i?0:n.left,contextScroll:i?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:i?0:n.top,contextScroll:i?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var a,r=t[e];for(a in this.waypoints[e]){var s,l=this.waypoints[e][a],c=l.options.offset,u=l.triggerPoint,d=0,h=null==u;l.element!==l.element.window&&(d=l.adapter.offset()[r.offsetProp]),"function"==typeof c?c=c.apply(l):"string"==typeof c&&(c=parseFloat(c),-1<l.options.offset.indexOf("%"))&&(c=Math.ceil(r.contextDimension*c/100)),s=r.contextScroll-r.contextOffset,l.triggerPoint=Math.floor(d+s-c),d=u<r.oldScroll,s=l.triggerPoint>=r.oldScroll,c=!d&&!s,!h&&(d&&s)?(l.queueTrigger(r.backward),o[l.group.id]=l.group):(!h&&c||h&&r.oldScroll>=l.triggerPoint)&&(l.queueTrigger(r.forward),o[l.group.id]=l.group)}}return p.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},i.findOrCreateByElement=function(t){return i.findByElement(t)||new i(t)},i.refreshAll=function(){for(var t in o)o[t].refresh()},i.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){t&&t(),i.refreshAll()},p.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},p.Context=i})(),(()=>{function a(t,e){return t.triggerPoint-e.triggerPoint}function r(t,e){return e.triggerPoint-t.triggerPoint}function e(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},n=window.Waypoint;e.prototype.add=function(t){this.waypoints.push(t)},e.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],r
1ight:[]}},e.prototype.flushTriggers=function(){for(var t in this.triggerQueues){var e=this.triggerQueues[t];e.sort("up"===t||"left"===t?r:a);for(var i=0,n=e.length;i<n;i+=1){var o=e[i];!o.options.continuous&&i!==e.length-1||o.trigger([t])}}this.clearTriggerQueues()},e.prototype.next=function(t){this.waypoints.sort(a);t=n.Adapter.inArray(t,this.waypoints);return t===this.waypoints.length-1?null:this.waypoints[t+1]},e.prototype.previous=function(t){this.waypoints.sort(a);t=n.Adapter.inArray(t,this.waypoints);return t?this.waypoints[t-1]:null},e.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},e.prototype.remove=function(t){t=n.Adapter.inArray(t,this.waypoints);-1<t&&this.waypoints.splice(t,1)},e.prototype.first=function(){return this.waypoints[0]},e.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},e.findOrCreate=function(t){return i[t.axis][t.name]||new e(t)},n.Group=e})(),(()=>{function i(t){this.$element=n(t)}var n=window.jQuery,t=window.Waypoint;n.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){i.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}}),n.each(["extend","inArray","isEmptyObject"],function(t,e){i[e]=n[e]}),t.adapters.push({name:"jquery",Adapter:i}),t.Adapter=i})(),(()=>{function t(n){return function(){var e=[],i=arguments[0];return n.isFunction(arguments[0])&&((i=n.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var t=n.extend({},i,{element:this});"string"==typeof t.context&&(t.context=n(this).closest(t.context)[0]),e.push(new o(t))}),e}}var o=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))})(),!navigator.userAgent.match(/trident/gi)&&"Microsoft Internet Explorer"!=navigator.appName||$("[data-src]").each(function(){var t=$(this).attr("data-src");$(this).attr("src",t)}),((t,e)=>{"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.LazyLoad=e()})(this,function(){function s(t){return"true"===f(t,"was-processed")}function t(t,e){var i,e=new t(e);try{i=new CustomEvent("LazyLoad::Initialized",{detail:{instance:e}})}catch(t){(i=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:e})}window.dispatchEvent(i)}function n(t){for(var e,i=[],n=0;e=t.children[n];n+=1)"SOURCE"===e.tagName&&i.push(e);return i}function i(t,e,i){i&&t.setAttribute(e,i)}function o(t,e){i(t,"sizes",f(t,e.data_sizes)),i(t,"srcset",f(t,e.data_srcset)),i(t,"src",f(t,e.data_src))}function l(i,n){function o(t){C(t,!1,n),S(i,r,o)}var t,e,a,r=function t(e){C(e,!0,n),S(i,t,o)};a=o,x(t=i,"load",e=r),x(t,"loadeddata",e),x(t,"error",a)}function a(t,e,i){var n,o,a,r=e._settings;!i&&s(t)||(-1<T.indexOf(t.tagName)&&(l(t,e),w(t,r.class_loading)),i=t,o=(e=e)._settings,a=i.tagName,(a=_[a])?(a(i,o),b(e,1),e._elements=(n=i,e._elements.filter(function(t){return t!==n}))):(i=f(a=i,(e=o).data_src),e=f(a,e.data_bg),i&&(a.style.backgroundImage='url("'.concat(i,'")')),e&&(a.style.backgroundImage=e)),m(t,"was-processed","true"),y(r.callback_reveal,t),y(r.callback_set,t))}function r(o){var t;d&&(o._observer=new IntersectionObserver(function(t){t.forEach(function(t){return t.isIntersecting||0<t.intersectionRatio?(e=t.target,n=(i=o)._settings,y(n.callback_enter,e),void(n.load_delay?L:M)(e,i)):(n=t.target,e=o._settings,y(e.callback_exit,n),void(e.load_delay&&A(n)));var e,i,n})},{root:(t=o._settings).container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}))}function e(t,e){this._settings=_extends({},p,t),this._loadingCount=0,r(this),this.update(e)}var c="undefined"!=typeof window,u=c&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),d=c&&"IntersectionObserver"in window,h=c&&"classList"in document.createElement("p"),p={elements_selector:"img",container:u||c?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null},f=function(t,e){return t.getAttribute("data-"+e)}
1,m=function(t,e,i){e="data-"+e;null!==i?t.setAttribute(e,i):t.removeAttribute(e)},g=function(t,e){return m(t,"ll-timeout",e)},v=function(t){return f(t,"ll-timeout")},y=function(t,e){t&&t(e)},b=function(t,e){t._loadingCount+=e,0===t._elements.length&&0===t._loadingCount&&y(t._settings.callback_finish)},_={IMG:function(t,e){var i=t.parentNode;i&&"PICTURE"===i.tagName&&n(i).forEach(function(t){o(t,e)}),o(t,e)},IFRAME:function(t,e){i(t,"src",f(t,e.data_src))},VIDEO:function(t,e){n(t).forEach(function(t){i(t,"src",f(t,e.data_src))}),i(t,"src",f(t,e.data_src)),t.load()}},w=function(t,e){h?t.classList.add(e):t.className+=(t.className?" ":"")+e},x=function(t,e,i){t.addEventListener(e,i)},k=function(t,e,i){t.removeEventListener(e,i)},S=function(t,e,i){k(t,"load",e),k(t,"loadeddata",e),k(t,"error",i)},C=function(t,e,i){var n,o=i._settings,a=e?o.class_loaded:o.class_error,e=e?o.callback_loaded:o.callback_error,t=t.target;n=t,o=o.class_loading,h?n.classList.remove(o):n.className=n.className.replace(new RegExp("(^|\\s+)"+o+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,""),w(t,a),y(e,t),b(i,-1)},T=["IMG","IFRAME","VIDEO"],M=function(t,e){var i=e._observer;a(t,e),i&&e._settings.auto_unobserve&&i.unobserve(t)},A=function(t){var e=v(t);e&&(clearTimeout(e),g(t,null))},L=function(t,e){var i=e._settings.load_delay;v(t)||(i=setTimeout(function(){M(t,e),A(t)},i),g(t,i))};if(e.prototype={update:function(t){var e=this,i=this._settings,t=t||i.container.querySelectorAll(i.elements_selector);this._elements=Array.prototype.slice.call(t).filter(function(t){return!s(t)}),!u&&this._observer?this._elements.forEach(function(t){e._observer.observe(t)}):this.loadAll()},destroy:function(){var e=this;this._observer&&(this._elements.forEach(function(t){e._observer.unobserve(t)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){a(t,this,e)},loadAll:function(){var e=this;this._elements.forEach(function(t){M(t,e)})}},c){var D=e,P=window.lazyLoadOptions;if(P)if(P.length)for(var I,E=0;I=P[E];E+=1)t(D,I);else t(D,P)}return e}),(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)})(function(c){var n,a=window.Slick||{};n=0,(a=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,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"})}
vendor: 6,128 bytes, line 1
1,a.prototype.addSlide=a.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()},a.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))},a.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))},a.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t=t&&null!==t?c(t).not(this.$slider):t},a.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)})},a.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)},a.prototype.autoPlay=function(){this.autoPlayClear(),this.slideCount>this.options.slidesToShow&&(this.autoPlayTimer=setInterval(this.autoPlayIterator,this.options.autoplaySpeed))},a.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},a.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))},a.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"}))},a.prototype.buildDots=function(){var t,e;if(!0===this.options.dots){for(this.$slider.addClass("slick-dotted"),e=c("<ul />").addClass(this.options.dotsClass),t=0;t<=this.getDotCount();t+=1)e.append(c("<li />").append(this.options.customPaging.call(this,this,t)));this.$dots=e.appendTo(this.options.appendDots),this.$dots.find("li").first().addClass("slick-active")}},a.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")},a.prototype.buildRows=function(){var t,e,i,n=this,o=document.createDocumentFragment(),a=n.$slider.children();if(1<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,e=Math.ceil(a.length/i),t=0;t<e;t++){for(var r=document.createElement("div"),s=0;s<n.options.rows;s++){for(var l=document.createElement("div"),c=0;c<n.options.slidesPerRow;c++){var u=t*i+(s*n.options.slidesPerRow+c);a.get(u)&&l.appendChild(a.get(u))}r.appendChild(l)}o.appendChild(r)}n.$slider.empty().append(o),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},a.prototype.checkResponsive=function(t,e){var i,n,o,a=this,r=!1,s=a.$slider.width(),l=window.innerWidth||c(window).width();if("window"===a.respondTo?o=l:"slider"===a.respondTo?o=s:"min"===a.respondTo&&(o=Math.min(l,s)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){for(i in n=null,a.breakpoints)a.breakpoints.hasOwnProperty(i)&&(!1===a.originalSettings.mobileFirst?o<a.breakpoints[i]&&(n=a.breakpoints[i]):o>a.breakpoints[i]&&(n=a.breakpoints[i]));null!==n?null!==a.activeBreakpoint&&n===a.activeBreakpoint&&!e||(a.activeBreakpoint=n,"unsl
1ick"===a.breakpointSettings[n]?a.unslick(n):(a.options=c.extend({},a.originalSettings,a.breakpointSettings[n]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),r=n):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t),r=n),t||!1===r||a.$slider.trigger("breakpoint",[a,r])}},a.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":a=0==i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-a,!1,e);break;case"next":a=0==i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+a,!1,e);break;case"index":var a=0===t.data.index?0:t.data.index||o.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(a),!1,e),o.children().trigger("focus");break;default:return}},a.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},a.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.off("keydown.slick",t.keyHandler),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.
1slick",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)},a.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))},a.prototype.cleanUpRows=function(){var t;1<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},a.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},a.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])},a.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(t)).css(e)},a.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))},a.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}))},a.prototype.filterSlides=a.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())},a.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var e=c(this);setTimeout(function(){i.options.pauseOnFocus&&(i.focussed=e.is(":focus"),i.autoPlay())},0)})},a.prototype.getCurrent=a.prototype.slickCurrentSlide=function(){return this.currentSlide},a.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},a.prototype.getLeft=function(t){var e,i=this,n=0;return i.slideOffset=0,e=i.$slides.first().outerHeight(!0),!0===i.options.infinite?(i.slideCount>i.options.slidesToShow&&(i.slideOffset=i.slideWidth*i.options.slidesToShow*-1,n=e*i.options.slidesToShow*-1),i.slideCount%i.options.slidesToScroll!=0&&t+i.options.slidesToScroll>i.slideCount&&i.slideCount>i.options.slidesToShow&&(n=t>i.slideCount?(i.slideOffset=(i.options.slidesToShow-(t-i.slideCount))*i.slideWidth*-1,(i.options.slidesToShow-(t-i.slideCount))*e*-1):(i.slideOffset=i.slideCount%i.options.slidesToScroll*i.slideWidth*-1,i.slideCount%i.options.slidesToScroll*e*-1))):t+i.options.slidesToShow>i.slideCount&&(i.slideOffset=(t+i.options.slidesToShow-i.slideCount)*i.slideWidth,n=(t+i.options.slidesToShow-i.slideCount)*e),i.slideCount<=i.options.slidesToShow&&(n=i.slideOffset=0),!0===i.options.centerMode&&i.slideCount<=i.options.slidesToShow?i.slideOffset=i.slideWidth*Math.floor(i.options.slidesToShow)/2-i.slideWidth*i.slideCount/2:!0===i.options.centerMode&&!0===i.options.infinite?i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)-i.slideWidth:!0===i.options.centerMode&&(i.slideOffset=0,i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)),e=!1===i.options.vertical?t*i.slideWidth*-1+i.slideOffset:t*e*-1+n,!0===i.options.variableWidth&&(n=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(t):i.$slideTrack.children(".slick-slide").eq(t+i.options.slidesToShow),e=!0===i.options.rtl?n[0]?-1*(i.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===i.options.centerMode)&&(n=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(t):i.$slideTrack.children(".slick-slide").eq(t+i.options.slidesToShow+1),e=!0===i.options.rtl?n[0]?-1*(i.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(i.$list.width()-n.outerWidth())/2),e},a.prototype.getOption=a.prototype.slickGetOption=function(t){return this.options[t]},a.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},a.prototype.getSlick=function(){return this},a.prototype.getSlideCount=function(){var i,n=this,o=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0;return!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(t,e){if(e.offsetLeft-o+c(e).outerWidth()/2>-1*n.swipeLeft)return i=e,!1}),Math.abs(c(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},a.prototype.goTo=a.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:
1parseInt(t)}},e)},a.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())},a.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&&c(this).attr({"aria-describedby":"slick-slide-control"+i.instanceUid+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.$slides.eq(t).attr("tabindex",0);i.activateADA()},a.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))},a.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(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&&c("li",t.$dots).on("mouseenter.slick",c.proxy(t.interrupt,t,!0)).on("mouseleave.slick",c.proxy(t.interrupt,t,!1))},a.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)))},a.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"}
1,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)},a.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()},a.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"}}))},a.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")||a.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){t.animate({opacity:0}
vendor: 7,046 bytes, line 1
1,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")}),a.$slider.trigger("lazyLoaded",[a,t,e])})},o.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,t,e])},o.src=e})}var e,i,n,a=this;if(!0===a.options.centerMode?n=!0===a.options.infinite?(i=a.currentSlide+(a.options.slidesToShow/2+1))+a.options.slidesToShow+2:(i=Math.max(0,a.currentSlide-(a.options.slidesToShow/2+1)),a.options.slidesToShow/2+1+2+a.currentSlide):(i=a.options.infinite?a.options.slidesToShow+a.currentSlide:a.currentSlide,n=Math.ceil(i+a.options.slidesToShow),!0===a.options.fade&&(0<i&&i--,n<=a.slideCount)&&n++),e=a.$slider.find(".slick-slide").slice(i,n),"anticipated"===a.options.lazyLoad)for(var o=i-1,r=n,s=a.$slider.find(".slick-slide"),l=0;l<a.options.slidesToScroll;l++)o<0&&(o=a.slideCount-1),e=(e=e.add(s.eq(o))).add(s.eq(r)),o--,r++;t(e),a.slideCount<=a.options.slidesToShow?t(a.$slider.find(".slick-slide")):a.currentSlide>=a.slideCount-a.options.slidesToShow?t(a.$slider.find(".slick-cloned").slice(0,a.options.slidesToShow)):0===a.currentSlide&&t(a.$slider.find(".slick-cloned").slice(-1*a.options.slidesToShow))},a.prototype.loadSlider=function(){this.setPosition(),this.$slideTrack.css({opacity:1}),this.$slider.removeClass("slick-loading"),this.initUI(),"progressive"===this.options.lazyLoad&&this.progressiveLazyLoad()},a.prototype.next=a.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},a.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},a.prototype.pause=a.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},a.prototype.play=a.prototype.slickPlay=function(){this.autoPlay(),this.options.autoplay=!0,this.paused=!1,this.focussed=!1,this.interrupted=!1},a.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.autoplay||c(e.$slides.get(e.currentSlide)).attr("tabindex",0).focus()))},a.prototype.prev=a.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},a.prototype.preventDefault=function(t){t.preventDefault()},a.prototype.progressiveLazyLoad=function(t){t=t||1;var e,i,n,o,a=this,r=c("img[data-lazy]",a.$slider);r.length?(e=r.first(),i=e.attr("data-lazy"),n=e.attr("data-srcset"),o=e.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=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===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,e,i]),a.progressiveLazyLoad()},r.onerror=function(){t<3?setTimeout(function(){a.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,e,i]),a.progressiveLazyLoad())},r.src=i):a.$slider.trigger("allImagesLoaded",[a])},a.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)},a.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})}},a.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])},a.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))},a.prototype.removeSlide=a.prototype.slickRemove=function(t,e,i){var n=this;if(t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,n.slideCount<1||t<0||t>n.slideCount-1)return!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,n.reinit()},a.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)},a.prototype.setDimensions=function(){var t=this,e=(!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))),t.$slides.first().outerWidth(!0)-t.$slides.first().width());!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},a.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}
1):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})},a.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))},a.prototype.setOption=a.prototype.slickSetOption=function(){var t,e,i,n,o,a=this,r=!1;if("object"===c.type(arguments[0])?(i=arguments[0],r=arguments[1],o="multiple"):"string"===c.type(arguments[0])&&(i=arguments[0],n=arguments[1],r=arguments[2],"responsive"===arguments[0]&&"array"===c.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)a.options[i]=n;else if("multiple"===o)c.each(i,function(t,e){a.options[t]=e});else if("responsive"===o)for(e in n)if("array"!==c.type(a.options.responsive))a.options.responsive=[n[e]];else{for(t=a.options.responsive.length-1;0<=t;)a.options.responsive[t].breakpoint===n[e].breakpoint&&a.options.responsive.splice(t,1),t--;a.options.responsive.push(n[e])}r&&(a.unload(),a.reinit())},a.prototype.setPosition=function(){this.setDimensions(),this.setHeight(),!1===this.options.fade?this.setCSS(this.getLeft(this.currentSlide)):this.setFade(),this.$slider.trigger("setPosition",[this])},a.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},a.prototype.setSlideClasses=function(t){var e,i,n=this,o=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");n.$slides.eq(t).addClass("slick-current"),!0===n.options.centerMode?(i=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&((i<=t&&t<=n.slideCount-1-i?n.$slides.slice(t-i,t+i+1):(e=n.options.slidesToShow+t,o.slice(e-i+1,e+i+2))).addClass("slick-active").attr("aria-hidden","false"),0===t?o.eq(o.length-1-n.options.slidesToShow).addClass("slick-center"):t===n.slideCount-1&&o.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(t).addClass("slick-center")):(0<=t&&t<=n.slideCount-n.options.slidesToShow?n.$slides.slice(t,t+n.options.slidesToShow):o.length<=n.options.slidesToShow?o:(i=n.slideCount%n.options.slidesToShow,e=!0===n.options.infinite?n.options.slidesToShow+t:t,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-t<n.options.slidesToShow?o.slice(e-(n.options.slidesToShow-i),e+i):o.slice(e,e+n.options.slidesToShow))).addClass("slick-active").attr("aria-hidden","false"),"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},a.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)e=t,c(n.$slides[e]).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","")})}},a.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},a.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;this.slideCount<=this.options.slidesToShow?this.slideHandler(t,!1,!0):this.slideHandler(t)}
vendor: 5,758 bytes, line 1
1,a.prototype.slideHandler=function(t,e,i){var n,o,a,r=this;e=e||!1,!0===r.animating&&!0===r.options.waitForAnimate||!0===r.options.fade&&r.currentSlide===t||(!1===e&&r.asNavFor(t),n=t,e=r.getLeft(n),a=r.getLeft(r.currentSlide),r.currentLeft=null===r.swipeLeft?a:r.swipeLeft,!1===r.options.infinite&&!1===r.options.centerMode&&(t<0||t>r.getDotCount()*r.options.slidesToScroll)||!1===r.options.infinite&&!0===r.options.centerMode&&(t<0||t>r.slideCount-r.options.slidesToScroll)?!1===r.options.fade&&(n=r.currentSlide,!0!==i?r.animateSlide(a,function(){r.postSlide(n)}):r.postSlide(n)):(r.options.autoplay&&clearInterval(r.autoPlayTimer),o=n<0?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+n:n>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:n-r.slideCount:n,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,o]),t=r.currentSlide,r.currentSlide=o,r.setSlideClasses(r.currentSlide),r.options.asNavFor&&(a=(a=r.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(r.currentSlide),r.updateDots(),r.updateArrows(),!0===r.options.fade?(!0!==i?(r.fadeSlideOut(t),r.fadeSlide(o,function(){r.postSlide(o)})):r.postSlide(o),r.animateHeight()):!0!==i?r.animateSlide(e,function(){r.postSlide(o)}):r.postSlide(o)))},a.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")},a.prototype.swipeDirection=function(){var t=this.touchObject.startX-this.touchObject.curX,e=this.touchObject.startY-this.touchObject.curY,e=Math.atan2(e,t);return(t=(t=Math.round(180*e/Math.PI))<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"},a.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={})},a.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)}},a.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))),o=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2))),!n.options.verticalSwiping&&!n.swiping&&4<o?!(n.scrolling=!0):(!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=o),o=n.swipeDirection(),void 0!==t.originalEvent&&4<n.touchObject.swipeLength&&(n.swiping=!0,t.preventDefault()),t=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(t=n.touchObject.curY>n.touchObject.startY?1:-1),i=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===o||n.currentSlide>=n.getDotCount()&&"left"===o)&&(i=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=e+i*t:n.swipeLeft=e+i*(n.$list.height()/n.listWidth)*t,!0===n.options.verticalSwiping&&(n.swipeLeft=e+i*t),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))))},a.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return!(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,i.dragging=!0},a.prototype.unfilterSlides=a.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit())},a.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","")}
1,a.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},a.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")))},a.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"))},a.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 a(this[o],e):t=this[o].slick[e].apply(this[o].slick,i),void 0!==t)return t;return this}});var th_accordeon={init:function(){$(".accordeon:not(.initialized)").each(function(){$(this).addClass("initialized"),th_accordeon.initSingle(this)})},initSingle:function(t){var e=$(window).width(),i=$(".title-accordeon",t),n=$(".item",t),o=n.parents(".wrapper-hidden"),a=0,r=(n.attr("style","height:auto!important;max-height:5000px!important;"),a=n.outerHeight(),n.removeAttr("style").css("height",a+"px"),setTimeout(function(){n.addClass("anim")},100),null);$(t).on("refresh",function(){clearTimeout(r),r=setTimeout(function(){var t=th_accordeon.windowWidth(e);0!=t&&(e=t,n.removeClass("anim"),setTimeout(function(){n.attr("style","height:auto!important;max-height:5000px!important;"),a=n.outerHeight(),n.parent().hasClass("open")?n.removeAttr("style").attr("style","max-height:"+a+"px;"):n.removeAttr("style").attr("style","max-height:0px;"),setTimeout(function(){n.addClass("anim")},100)},100))},250)}),$(t).on("forcerefresh",function(){e=0,$(t).trigger("refresh")}),$(window).on("resize",function(){$(t).trigger("refresh")}),i.on("click",function(t){"A"!=t.target.tagName&&($(this).parent().hasClass("open")?(n.attr("style","max-height:0px").parent().removeClass("open"),o.removeClass("open")):(n.attr("style","max-height:"+a+"px").parent().addClass("open"),o.addClass("open")))})},windowWidth:function(t){var e=$(window).width();return t!==e&&e}},th_anchor=(th_accordeon.init(),{parse:function(t){t=t||document,$("[data-anchor]:not(.parsed)",t).each(function(){$(this).addClass("parsed"),$(this).on("click",th_anchor.scroll)})},scroll:function(t){t.preventDefault();var e,t=$(this).attr("data-anchor");return"scroll"==t?$("html, body").animate({scrollTop:$("html,body").scrollTop()+800-90},"slow"):(e=$(this.getAttribute("href")).offset())&&(e=e.top,0<(t=parseInt(t)))&&(e-=t,$("html, body").animate({scrollTop:e},"slow")),!1}});{function isTouchDevice(){return"ontouchstart"in document.documentElement}}function thAnimParse(t){return navigator.userAgent.match(/trident/gi)||"Microsoft Internet Explorer"==navigator.appName||(t=t||document,isTouchDevice())||$("[data-anim]",t).each(function(){$(this).attr("data-anim-hide",!0),new Waypoint({element:this,handler:function(t){$(this.element).attr("data-anim-hide",!1)},offset:"75%"})}),!1}thAnimParse();var th_dropdown={$last:null,init:function(){th_dropdown.parse($("body"))},parse:function(t){$(".dropdown > a",t).each(function(){$(this).on("click",function(t){t.preventDefault(),$(this).parent().hasClass("open")?th_dropdown.close():th_dropdown.open($(this).parent())})}),$(".dropdown ul li label",t).each(function(){$(this).on("click",function(t){th_dropdown.updateOnChange($(this))})})},open:function(t){if(t==th_dropdown.$last)return!1;$("#shadow-bg").addClass("display-bloc"),t.addClass("open"),setTimeout(function(){th_dropdown.$last=t,$(d
1ocument).on("click",th_dropdown.closeLastOnClick)},50)},closeLastOnClick:function(t){if($(t.target).parents(".dropdown").first()&&th_dropdown.$last&&$(t.target).parents(".dropdown").first()[0]==th_dropdown.$last[0])return!0;th_dropdown.close()},close:function(){th_dropdown.$last.removeClass("open"),$("#shadow-bg").removeClass("display-bloc"),$(document).off("click",th_dropdown.closeLastOnClick),th_dropdown.$last=null,$("#shadow-bg").removeClass("display-bloc")},updateOnChange:function(t){console.log(t.parent().parent().parent().find(">a").html(t.html())),console.log(t.html())}},th_expand={parse:function(t){t=t||document,$("[data-expand]:not(.parsed)",t).each(function(){$(this).addClass("parsed"),th_expand.initSingle(this)})},initSingle:function(t){var e=$(t),i=$('a[href="#expand"]',t).first();if(0===i.length&&(i=$('a[href="#expand"]',$(t).parent()).first()),e.attr("data-expand")){t=e.attr("data-expand");if(e.height()<t)return e.addClass("expand"),!1}e.addClass("to-expand"),i.removeClass("hide"),0==i.length&&(i=$('a[href="#expand"]',$(this).parent()).first());var n;e.attr("style","height:auto!important;max-height:2000px!important;"),n=e.height(),e.removeAttr("style").css("height",n+"px"),$(window).on("resize",function(){e.attr("style","height:auto!important;"),n=e.height(),e.removeAttr("style").css("height",n+"px")}),i.on("click",function(t){t.preventDefault(),$(this).addClass("fadeout"),e.addClass("expand")})}},th_maps=(jQuery.fn.extend({offsetLeft:function(){return $(this).offset().left},offsetTop:function(){return $(this).offset().top}}),{is_loaded:!1,api_key:"AIzaSyDDqH0YjBZ3qa3QtSgh6MS4Nsb9YGqr2zQ",maps_class:".maps",themes:{},markersIcons:{},elements:[],callbacks:[],callbacksAfter:[],markers:[],markersGrouped:[],infoWindows:[],lastOpenedInfoWindow:null,defaultOptions:{center:{lat:48.613322,lng:7.718948},zoom:12,draggable:!0,scrollwheel:!1,panControl:!0,zoomControl:!0,mapTypeControl:!0,scaleControl:!0,streetViewControl:!0,overviewMapControl:!0,rotateControl:!0},maps:[],init:function(t){for(var e in t)if("object"==typeof t[e])for(var i in t[e])"object"!=typeof th_maps[e]&&(th_maps[e]={}),th_maps[e][i]=t[e][i];else th_maps[e]=t[e];th_maps.parseItems(),0<th_maps.elements.length&&th_maps.loadMaps()},loadMaps:function(){th_maps.loaded()},loaded:function(){th_maps.is_loaded=!0;for(var t=0;t<th_maps.callbacks.length;t++)"function"==typeof th_maps.callbacks[t]&&th_maps.callbacks[t]();var e=!1;"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&(e=new IntersectionObserver(function(t){t.forEach(function(t){!0===t.isIntersecting&&(th_maps.initSingleMap(t.target),e.unobserve(t.target))})},{threshold:[0]}));for(t=0;t<th_maps.elements.length;t++)th_maps.elements[t]&&(e?e.observe(th_maps.elements[t]):th_maps.initSingleMap(th_maps.elements[t]));for(t=0;t<th_maps.callbacksAfter.length;t++)"function"==typeof th_maps.callbacksAfter[t][t]&&th_maps.callbacksAfter()},onLoad:function(t){th_maps.callbacks.push(t)},onLoadAfter:function(t){th_maps.callbacksAfter.push(t)},addThemes:function(t,e){th_maps.themes[t]=e},addMarkerIcon:function(t,e){th_maps.markersIcons[t]=L.icon(e)},parseItems:function(){var t=document.querySelectorAll(th_maps.maps_class);th_maps.elements=t},initSingleMap:function(el){var options,mapIndex,map,gl,marker,icon,kmlLayer,gpxLayer;return(!1===th_maps.is_loaded&&th_maps.loaded(),el.getAttribute("data-custom"))?(eval(el.getAttribute("data-custom")+"(el);"),!1):(options=th_maps._clone(th_maps.defaultOptions),el.getAttribute("data-lat")&&el.getAttribute("data-lng")&&(options.center={lat:+el.getAttribute("data-lat").replace(",","."),lng:+el.getAttribute("data-lng").replace(",",".")}),el.getAttribute("data-zoom")&&(options.zoom=parseInt(el.getAttribute("data-zoom"))),el.getAttribute("data-filter-options")&&eval("options = "+el.getAttribute("data-filter-options")+"(options);"),mapIndex=th_maps.maps.length,map=L.map(el).setView([options.center.lat,options.center.lng],options.zoom),map.attributionControl.setPrefix(""),map.scrollWheelZoom.disable(),el.getAttribute("data-theme")&&"undefined"!=typeof mapboxgl&&mapboxgl.supported()?gl=L.mapboxGL(th_maps.themes[el.getAttribute("data-theme")]).addTo(map):L.tileLayer(th_maps.tileLayerUrl,th_maps.tileLayerOptions).addTo(map),marker=!1,th_maps.maps[mapIndex]=map,el.getAttribute("data-marker")&&(icon=null,el.getAttribute("data-markericon")&&(icon=el.getAttribute("data-markericon")),marker=th_maps.createMarker(map,options.center,icon)),el.setAttribute("data-index",mapIndex),el.getAttribute("data-kml")&&(kmlLayer=omnivore.kml(el.getAttribute("data-kml")).on("ready",function(t){var e={fillColor:thConfig.map.kmlBgColor,weight:thConfig.map.kmlWeight,opacity:thConfig.map.kmlOpacity,color:thConfig.map.kmlColor,fillOpacity:thConfig.map.kmlBgOpacity};el.getAttribute("data-kml-bgcolor")&&(e.fillColor=el.getAttribute("data-kml-bgcolor")),el.getAttribute("data-kml-weight")&&(e.weight=el.getAttribute("data-kml-weight")),el.getAttribute("data-kml-opacity")&&(e.opacity=el.getAttribute("data-kml-opacity")),el.getAttribute("data-kml-color")&&(e.color=el.getAttribute("data-kml-color")),el.getAttribute("data-kml-bgopacity")&&(e.fillOpacity=el.getAttribute("data-kml-bgopacity")),console.log(e),this.setStyle(e),map.fitBounds(t.target.getBounds())}).addTo(map)),el.getAttribute("data-gpx")&&(gpxLayer=omnivore.gpx(el.getAttribute("data-gpx")).on("ready",function(t){var e={fillColor:thConfig.map.kmlBgColor,weight:thConfig.map.kmlWeight,opacity:thConfig.map.kmlOpacity,color:thConfig.map.kmlColor,fillOpacity:thConfig.map.kmlBgOpacity};el.getAttribute("data-gpx-bgcolor")&&(e.fillColor=el.getAttribute("data-gpx-bgcolor")),el.getAttribute("data-gpx-weight")&&(e.weight=el.getAttribute("data-gpx-weight")),el.getAttribute("data-gpx-opacity")&&(e.opacity=el.getAttribute("data-gpx-opacity")),el.getAttribute("data-gpx-color")&&(e.color=el.getAttribute("data-gpx-color")),el.getAttribute("data-gpx-bgopacity")&&(e.fillOpacity=el.getAttribute("data-gpx-bgopacity")),this.setStyle(e),map.fitBounds(t.target.getBounds())}).addTo(map)),el.getAttribute("data-callback")&&eval(el.getAttribute("data-callback")+"(map,options,marker);"),map)},getMap:function(t){if(t.getAttribute("data-index")||"0"==t.getAttribute("data-index"))return th_maps.maps[t.getAttribute("data-index")]}
1,createMarker:function(t,e,i,n){i=i?th_maps.markersIcons[i]?L.marker([e.lat,e.lng],{icon:th_maps.markersIcons[i]}):L.marker([e.lat,e.lng],{icon:i}):L.marker([e.lat,e.lng]);return t&&i.addTo(t),th_maps.markers.push(i),n&&(th_maps.markersGrouped[n]||(th_maps.markersGrouped[n]=[]),th_maps.markersGrouped[n].push(i)),i},createInfoWindow:function(t,e,i){i=i||320,i--;var n=L.popup({className:"custom-popup-thuria",maxWidth:i,minWidth:i}).setContent(t);return th_maps.infoWindows.push(n),e&&(e.bindPopup(n),e.addEventListener("click",function(){n.openPopup()})),n},hideGroupMarker:function(t){if(th_maps.markersGrouped[t])for(var e=0;e<th_maps.markersGrouped[t].length;e++)th_maps.markersGrouped[t][e]&&th_maps.markersGrouped[t][e]._map.removeLayer(th_maps.markersGrouped[t][e])},showGroupMarker:function(t,e){if(th_maps.markersGrouped[t])for(var i=0;i<th_maps.markersGrouped[t].length;i++)th_maps.markersGrouped[t][i]&&(th_maps.markersGrouped[t][i].addTo(e),console.log(th_maps.markersGrouped[t][i]))},createMarkerTarget:function(t){return th_maps.addMarkerIcon("target",{iconUrl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyRTY5ODhFNUQ2OUMxMUU3ODExRUY2M0RDODQ0RjY0MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyRTY5ODhFNkQ2OUMxMUU3ODExRUY2M0RDODQ0RjY0MSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjJFNjk4OEUzRDY5QzExRTc4MTFFRjYzREM4NDRGNjQxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjJFNjk4OEU0RDY5QzExRTc4MTFFRjYzREM4NDRGNjQxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+XqnaGgAAA8xJREFUeNrMmV1IFVEQx9e1sAevUYbkTQMps4eKUkqsoKBCCVEzIyj6Iiks6jF8yCB6qR6jb6QPxCCiLBMpqKcy0TDDDCqT0OoaUUbpQ2Ba/wP/C9sy5+7Z+xEN/FD2zJmZu3fn7MzcpE4rakkDC8FikAtmgVSujYKPoA88By/Aj2icTPKpnwTWgC38O9tw33vwAFwDD8FvY4c+7mAFOASKrNikHZwEt02UbQOdHHATNMUhOIs2mmgzJ9YAS0EbqLTiL5W0XRrtM7gXnAHJEXS+gy7QA96CL7w+A8wFi0ABmKrZn8mvej+44CfAPeB8hMB6wTnQDD543KksUAZqwAJhPZm+VOJcNEmS9XQs3bmv4Ai4BH76/EqngN3gKEgX1sf5QVojBaiOjacgQ5N9u8DrGJ+9PHBZk3CfwVIwqEuSU5rg7oHiOARn0UYxbbolgzGIWayyqVzY1AE2gZE4ZvAIbXYIa+XOzLYdD2qdoDwMtvLVFW8Zpe1hYa0unAPhAFeBZYLiYdBvJU766cMtKpbVzgC3a46Seh/OVKEwj6T62FdPX27ZFg4wANYJCmfBmIEDlfmn6eQl6eU1k2JijL7comIKqGNmBf557FpUpdF8MORhfCW4DoKa9RDYLNiX3iivWML9Zd9mPeeWLoPgsvnCD0bQCVIn28PWEH26ZYnNZ8Ytzwy+mlrNmSmdbbUGepLPXFtzB/oNEqLMRyKUGSSO5DNoazZ+8zAW5HNjKjMN9CWfqbb1n4uteUtM89gXMkgip3wy0Jd8jtp05pY5Bq+pZh8B3jV4XUo+QzZbQ7fkGzg9wfLIS5TOcQM9yWefCrBbWCgweKhVzVal+Qacj0KVs76LcFAXCNe7bfYTIaEprzD41I9YeKreZQD8IgO8VkQdk5Y2TfhwPeGK+grYIRQL+Ybv4/DZGHQYNy3RJvOQdvcrV8HO8DHTIGxUG6p91ndviJ/6sVrTTDU4exJVHD4RasJhXktUTagyV4Uw3XVdXVuuGinb0VEdEwyojY0+6zs/9WOjEJzFWMbdPUkLuCMoF4IbrBvjJQHaLBTWmhmL2NUd1JxtJeA+W8ZYJY+2SjRn5oFIs5lB9r4TmqGPmqXsAylRBJbCvW2anniCvge9hketHFNIks7zrZPOsgwCy6JuJ/ema/Rq3FMFr/lgLMMjFUSuwfAonKDa4ZHXALOUA53MBB0zQxxUtUQ7H1QbVVN1KwHBNdF2i1c96CXvwEawgQOkWKWdtippO6Ik+ZzyO4foaw26tbD8kyG6JVQ87p8hAo7hUFx+hvgjwAD9ktvlRfPtxQAAAABJRU5ErkJggg==",shadowUrl:null,iconSize:[40,40]}),th_maps.createMarker(null,{lat:0,lng:0},"target",t)},searchCity:function(e,i,n){n=n||th_maps.createMarkerTarget();var o=new google.maps.Geocoder;$('input[type="text"]',i).on("keypress",function(t){13==t.keyCode&&(t.preventDefault(),th_maps.searchCitySearch(e,i,n,o))}),$('input[type="submit"],button',i).on("click",function(t){th_maps.searchCitySearch(e,i,n,o)})},searchCitySearch:function(i,t,n,e){n.setMap(null),$('input[type="text"]',t).val()&&(console.log(e),console.log($('input[type="text"]',t).val()),e.geocode({address:$('input[type="text"]',t).val()},function(t,e){e==google.maps.GeocoderStatus.OK&&th_maps.searchReplaceCenterMaps(i,t[0].geometry.location,n)}))},searchAutoComplete:function(e,t,i,n){var t=$('input[type="text"]',t)[0],o=new google.maps.places.Autocomplete(t,{types:["geocode"]});o.addListener("place_changed",function(){var t=o.getPlace();t.geometry&&t.geometry.location&&th_maps.searchReplaceCenterMaps(e,t.geometry.location,i)})}
1,searchReplaceCenterMaps:function(t,e,i){t.setCenter(e),i.setPosition(e),i.setMap(t)},geoLocPositionFound:function(t,e,i){e=e.coords;i=i||th_maps.createMarkerTarget(),th_maps.searchReplaceCenterMaps(t,{lat:e.latitude,lng:e.longitude},i)},geoLocError:function(t){console.log(t),alert("Impossible de vous localiser. Le service de localisation est peut-être désactivé.")},geoLoc:function(e,t,i){navigator.geolocation?$(t).on("click",function(){navigator.geolocation.getCurrentPosition(function(t){th_maps.geoLocPositionFound(e,t,i)},th_maps.geoLocError)}):($(t).remove(),error("Not supported"))},_appendScript:function(i,t){var n=document.createElement("script");n.type="text/javascript",n.setAttribute("async",""),n.setAttribute("defer",""),t&&(n.onload=t),"object"==typeof i?(document.getElementsByTagName("head")[0].appendChild(n),$.each(i,function(t,e){n.setAttribute(t,i[t])})):(document.getElementsByTagName("head")[0].appendChild(n),n.src=url)},_appendStyle:function(i,t){var n=document.createElement("link");n.setAttribute("rel","stylesheet"),t&&(script.onload=t),$.each(i,function(t,e){n.setAttribute(t,i[t])}),document.getElementsByTagName("head")[0].appendChild(n)},_clone:function(t){if(null===t||"object"!=typeof t||"isActiveClone"in t)return t;var e,i;for(i in e=t instanceof Date?new t.constructor:t.constructor(),t)Object.prototype.hasOwnProperty.call(t,i)&&(t.isActiveClone=null,e[i]=th_maps._clone(t[i]),delete t.isActiveClone);return e}}),th_overlay={selector_overlay:".overlay",selector_overlay_shadow:".shadow-overlay",callbackOpen:[],callbackClose:[],hashList:{},isEscapeListening:!1,lastOpenedId:[],focusElOnClose:{},init:function(){th_overlay.parseOverlayShadow($("body")),th_overlay.parse($("body")),th_overlay.openOnLoad(),th_overlay.isEscapeListening||(th_overlay.isEscapeListening=!0,document.addEventListener("keydown",function(t){0<th_overlay.lastOpenedId.length&&"Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),th_overlay.close(th_overlay.lastOpenedId[th_overlay.lastOpenedId.length-1]))}))},addCallbackOpen:function(t){th_overlay.callbackOpen.push(t)},addCallbackClose:function(t){th_overlay.callbackClose.push(t)},parseOverlayShadow:function(){$(th_overlay.selector_overlay_shadow).on("click",function(t){t.preventDefault(),th_overlay.close()})},parse:function(t){$(th_overlay.selector_overlay).each(function(){var t=this.id,e=$('a[href="#'+t+'"]:not(.parsed-overlay):not(.close), [data-overlay-open="'+t+'"]:not(.parsed-overlay)');void 0!==$(this).data("hash")&&(th_overlay.hashList[$(this).attr("data-hash")]=t),e.addClass("parsed-overlay").on("click",function(t){t.preventDefault();t=(t=$(this).attr("href"))?t.replace("#",""):$(this).attr("data-overlay-open");th_overlay.focusElOnClose[t]=this,th_overlay.open(t)}),$('a[href="#'+t+'"].close:not(.parsed-overlay), [data-overlay-close="'+t+'"]:not(.parsed-overlay)').addClass("parsed-overlay").on("click",function(t){t.preventDefault();var e=$(this).attr("href");e=(e=e?e.replace("#",""):$(this).attr("data-overlay-close"))||null,t.preventDefault(),th_overlay.close(e)})})},openOnLoad:function(){var t=window.location.hash.split("#"),e=!1;t&&t.forEach(function(t){void 0===th_overlay.hashList[t]||e||(th_overlay.open(th_overlay.hashList[t]),e=!0)})},open:function(i,t,e){!1!==t&&(t=!0),!1!==e&&(e=!0),th_overlay.lastOpenedId.push(i),setTimeout(function(){$("#"+i).find("button[data-overlay-close]").first().focus()},250),$(th_overlay.selector_overlay+".open").each(function(t){th_overlay.close($(this).attr("id"),!1,!0)}),$("#"+i).addClass("open"),void 0!==$("#"+i).data("hash")&&(window.location.hash=$("#"+i).data("hash")),1==t&&$(th_overlay.selector_overlay_shadow).addClass("open"),1==e&&$.each(th_overlay.callbackOpen,function(t,e){e(i)})},close:function(i,t,e){if(!i&&0<th_overlay.lastOpenedId.length)return th_overlay.close(th_overlay.lastOpenedId[th_overlay.lastOpenedId.length-1],t,e);!1!==t&&(t=!0),!1!==e&&(e=!0),window.location.hash="",history.replaceState(null,null," "),i?(th_overlay.lastOpenedId[th_overlay.lastOpenedId.length-1]==i&&th_overlay.lastOpenedId.pop(),$("#"+i).removeClass("open"),th_overlay.focusElOnClose[i]&&setTimeout(function(){$(th_overlay.focusElOnClose[i]).focus()},250),0==$(th_overlay.selector_overlay+".open").length&&t&&$(th_overlay.selector_overlay_shadow).removeClass("open")):($(th_overlay.selector_overlay+".open").removeClass("open"),t&&$(th_overlay.selector_overlay_shadow).removeClass("open")),e&&$.each(th_overlay.callbackClose,function(t,e){e(i)})}},sliderCardsIscroll=[];function smallSlider_getNextItem(t,e){var i=t.offset().left+30,n=null,o=null;return e.find("> *").each(function(){var t;n||(t=$(this).offset()).left>i&&(n=this,o=t.left-i)}),n?{el:n,left:o}:{el:e.find("> *").last()[0],left:null}}function smallSlider_getPrevItem(t,e){var i=t.offset().left-40,n=null,o=null;return e.find("> *").each(function(){var t=$(this).offset();t.left<i&&(n=this,o=t.left-i)}),n?{el:n,left:o}:{el:e.find("> *").first()[0],left:null}}$(".slider-cards").each(function(){var i,n,t,e,o,a,r,s,l,c;1<$(".listing-items > div > *",this).length&&($(this).prepend('<div class="nav-arrows"><div class="prev-slide"><span class="fas-ico-arrow-left"></span></div>
1<div class="next-slide"><span class="fas-ico-arrow-right"></span></div></div>'),$(".listing-items",this).addClass("slider"),$(".listing-items > div",this).addClass("slider-items"),i=$(".slider",this),n=$(".slider-items",this),t=$(".prev-slide",this),e=$(".next-slide",this),l=n.find("> *"),o=document.body.clientWidth-1120-40,0!==l.length)&&(a=Math.floor(l.first().outerWidth()),1==i.data("autoheight")&&(r=0,l.each(function(){var t=$(this).outerHeight();r<t&&(r=t)}),l.css("min-height",r+"px")),l.css("width",a+"px"),s=!1,l=l.length,n.width(l*(a+40)+o),document.body.clientWidth>thConfig.tabletPaysageBreakpoint?(l=sliderCardsIscroll.length,i.attr("data-iscroll",l),s=!0,c=new IScroll(i[0],{scrollX:!0,scrollY:!1,momentum:!1,snap:!1}),sliderCardsIscroll[l]=c,$("a",this).on("click",function(t){c.moved&&t.preventDefault()}),i.addClass("loaded iscroll")):i.addClass("loaded"),e.on("click",function(t){t.preventDefault(),t.stopPropagation();var e,t=smallSlider_getNextItem(i,n);console.log(t),s?c.scrollToElement(t.el,300,-0):(e=i.scrollLeft()-10,i.animate({scrollLeft:e+t.left},300))}),t.on("click",function(t){t.preventDefault(),t.stopPropagation();var e,t=smallSlider_getPrevItem(i,n);console.log(t),s?c.scrollToElement(t.el,300,-0):(e=i.scrollLeft()+10,i.animate({scrollLeft:e+t.left},300))}))});var thVheight={height:0,init:function(t){$(window).on("resize",function(){thVheight.update(t)}),thVheight.update(t)},update:function(t){(thVheight.detectChange()||t)&&$("[data-vheight],[data-m-vheight]").each(function(){var t,e,i,n=this.getAttribute("data-vheight");(n=document.body.clientWidth<600&&this.getAttribute("data-m-vheight")?this.getAttribute("data-m-vheight"):n)&&(e=0,i=n.match(/\ \-\ /)?(i=n.split(" - "),t=parseInt(i[0]),e=parseInt(i[1]),thVheight.height/100*t-e):n.match(/\ \+\ /)?(i=n.split(" + "),t=parseInt(i[0]),e=parseInt(i[1]),thVheight.height/100*t+e):(t=parseInt(n),thVheight.height/100*t-e),$(this).height(i))})},detectChange:function(){var t=document.body.clientHeight;return(150<t-thVheight.height||150<thVheight.height-t)&&(thVheight.height=t,!0)}},thWeather=(void 0===window.forEach&&(window.forEach=function(t,e,i){for(var n=0;n<t.length;n++)e.call(i,n,t[n])}),{options:{apiUrl:themes_path+"/starter/ajax/openweathermap.php",tagName:"span",matin:"09:00:00",aprem:"15:00:00"},lang:"fr",config:function(t){t=t||{},thWeather.options=$.extend({},thWeather.options,t)},get:function(e,i){e.lang&&(thWeather.lang=e.lang),thWeather.getCity(e.city,function(t){t=thWeather.getFromCityData(t,e.moment,e.day);t&&(t.iconHtml=thWeather._generateIcon(t.weather[0].icon),t.degrees=thWeather._convertTemperature(t.main.temp),t.temp_max=thWeather._convertTemperature(t.main.temp_max),t.temp_min=thWeather._convertTemperature(t.main.temp_min),t.winddirection=thWeather._convertWindDirection(t.wind.deg)),i(t)})},getCity:function(t,e){var i=thWeather.checkStorage(t);i?e(i):thWeather.ajaxQuery(t,function(t){e(t)})},checkStorage:function(t){return!("undefined"==typeof localStorage||!localStorage["weather-"+thWeather._slugify(t)+thWeather.lang]||!localStorage["weather-date-"+thWeather._slugify(t)+thWeather.lang]||localStorage["weather-date-"+thWeather._slugify(t)+thWeather.lang]!=thWeather._getDate())&&JSON.parse(localStorage["weather-"+thWeather._slugify(t)+thWeather.lang])},storeData:function(t,e){"undefined"!=typeof localStorage&&(localStorage["weather-"+thWeather._slugify(t)+thWeather.lang]=JSON.stringify(e),localStorage["weather-date-"+thWeather._slugify(t)+thWeather.lang]=thWeather._getDate())},ajaxQuery:function(e,i){var t=e.replace(" ","+");$.get(thWeather.options.apiUrl,{city:t,lang:thWeather.lang},function(t){t&&(thWeather.storeData(e,t),i)&&i(t)},"json")},getFromCityData:function(t,e,i){return i=i||0,"current"===(e=e||"current")?thWeather.getCurrentFromCityData(t):(i=thWeather.__dateFormating(i)+" "+thWeather.options[e],thWeather.getHourFromCityData(t,i))},getCurrentFromCityData:function(t){var i=null,n=(new Date).getTime()/1e3;return t.list&&forEach(t.list,function(t,e){null===i&&e.dt>n&&(i=e)}),i},getHourFromCityData:function(t,i){var n=null;
1return t.list&&forEach(t.list,function(t,e){e.dt_txt==i&&(n=e)}),n},__dateFormating:function(t){var e,i,n;return"number"==typeof t?(e="",(e=(e+=(i=new Date((new Date).getTime()+864e5*t)).getFullYear())+("-"+(n=(n=i.getMonth()+1)<10?"0"+n:n)))+("-"+(t=(t=i.getDate())<10?"0"+t:t))):t},_slugify:function(t){return t=t.toString().toLowerCase().trim().replace(/&/g,"-").replace(/[\s\W-]+/g,"-")},_getDate:function(){var t=new Date,e=t.getDate(),i=t.getMonth();return t.getFullYear()+"/"+i+"/"+e},_convertTemperature:function(t){return Math.round(t-273.15)},_convertWindDirection:function(t){var e={1:{direction:"N",min:348.75,max:11.25},2:{direction:"NNE",min:11.25,max:33.75},3:{direction:"NE",min:33.75,max:56.25},4:{direction:"ENE",min:56.25,max:78.75},5:{direction:"E",min:78.75,max:101.25},6:{direction:"ESE",min:101.25,max:123.75},7:{direction:"SE",min:123.75,max:146.25},8:{direction:"SSE",min:146.25,max:168.75},9:{direction:"S",min:168.75,max:191.25},10:{direction:"SSW",min:191.25,max:213.75},11:{direction:"SW",min:213.75,max:236.25},12:{direction:"WSW",min:236.25,max:258.75},13:{direction:"W",min:258.75,max:281.25},14:{direction:"WNW",min:281.25,max:303.75},15:{direction:"NW",min:303.75,max:326.25},16:{direction:"NNW",min:326.25,max:348.75}};for(key in e)if(min=e[key].min,max=e[key].max,direction=e[key].direction,keep_this=!1,1==key?(min<=t||t<=max)&&(deg_to_keep=0,keep_this=!0):min<=t&&t<=max&&(deg_to_keep=parseInt((max-min)/2+min),keep_this=!0),keep_this)return{direction:direction,deg:deg_to_keep}},_generateIcon:function(t){var e=!1,t=("n"===t[2].toString()&&(e=!0),t[0].toString()+t[1].toString()),i="",n="sunny",o="sun";switch(e&&(n="night",o="moon"),t){case"01":i+="<"+thWeather.options.tagName+' class="meteo-'+o+'"></'+thWeather.options.tagName+">";break;case"02":i=(i+="<"+thWeather.options.tagName+' class="meteo-cloud"></'+thWeather.options.tagName+">")+("<"+thWeather.options.tagName+' class="meteo-'+n+'"></'+thWeather.options.tagName+">");break;case"03":case"04":i+="<"+thWeather.options.tagName+' class="meteo-cloud"></'+thWeather.options.tagName+">";break;case"09":i=(i+="<"+thWeather.options.tagName+' class="meteo-basecloud"></'+thWeather.options.tagName+">")+("<"+thWeather.options.tagName+' class="meteo-drizzle"></'+thWeather.options.tagName+">");break;case"10":i=(i=(i+="<"+thWeather.options.tagName+' class="meteo-basecloud"></'+thWeather.options.tagName+">")+("<"+thWeather.options.tagName+' class="meteo-drizzle"></'+thWeather.options.tagName+">"))+("<"+thWeather.options.tagName+' class="meteo-'+n+'"></'+thWeather.options.tagName+">");break;case"11":i=(i+="<"+thWeather.options.tagName+' class="meteo-basecloud"></'+thWeather.options.tagName+">")+("<"+thWeather.options.tagName+' class="meteo-thunder"></'+thWeather.options.tagName+">");break;case"13":i=(i+="<"+thWeather.options.tagName+' class="meteo-basecloud"></'+thWeather.options.tagName+">")+("<"+thWeather.options.tagName+' class="meteo-frosty"></'+thWeather.options.tagName+">");break;case"50":i+="<"+thWeather.options.tagName+' class="meteo-mist"></'+thWeather.options.tagName+">"}return i}}),scr=(((a,r,h)=>{var n,o,e,t,i,d=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||function(t){a.setTimeout(t,1e3/60)},p=(n={},o=r.createElement("div").style,e=(()=>{for(var t=["t","webkitT","MozT","msT","OT"],e=0,i=t.length;e<i;e++)if(t[e]+"ransform"in o)return t[e].substr(0,t[e].length-1);return!1})(),n.getTime=Date.now||function(){return(new Date).getTime()},n.extend=function(t,e){for(var i in e)t[i]=e[i]},n.addEvent=function(t,e,i,n){t.addEventListener(e,i,!!n)},n.removeEvent=function(t,e,i,n){t.removeEventListener(e,i,!!n)},n.prefixPointerEvent=function(t){return a.MSPointerEvent?"MSPointer"+t.charAt(7).toUpperCase()+t.substr(8):t},n.momentum=function(t,e,i,n,o,a){var e=t-e,i=h.abs(e)/i,r=i/(a=void 0===a?6e-4:a);return(a=t+i*i/(2*a)*(e<0?-1:1))<n?r=(e=h.abs((a=o?n-o/2.5*(i/8):n)-t))/i:0<a&&(a=o?o/2.5*(i/8):0,r=(e=h.abs(t)+a)/i),{destination:h.round(a),duration:r}},i=s("transform"),n.extend(n,{hasTransform:!1!==i,hasPerspective:s("perspective")in o,hasTouch:"ontouchstart"in a,hasPointer:!(!a.PointerEvent&&!a.MSPointerEvent),hasTransition:s("transition")in o}),n.isBadAndroid=(t=a.navigator.appVersion,!(!/Android/.test(t)||/Chrome\/\d/.test(t)||(t=t.match(/Safari\/(\d+.\d)/))&&"object"==typeof t&&2<=t.length&&!(parseFloat(t[1])<535.19))),n.extend(n.style={},{transform:i,transitionTimingFunction:s("transitionTimingFunction"),transitionDuration:s("transitionDuration"),transitionDelay:s("transitionDelay"),transformOrigin:s("transformOrigin"),touchAction:s("touchAction")}),n.hasClass=function(t,e){return new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},n.addClass=function(t,e){var i;n.hasClass(t,e)||((i=t.className.split(" ")).push(e),t.className=i.join(" "))},n.removeClass=function(t,e){n.hasClass(t,e)&&(e=new RegExp("(^|\\s)"+e+"(\\s|$)","g"),t.className=t.className.replace(e," "))},n.offset=function(t){for(var e=-t.offsetLeft,i=-t.offsetTop;t=t.offsetParent;)e-=t.offsetLeft,i-=t.offsetTop;return{left:e,top:i}},n.preventDefaultException=function(t,e){for(var i in e)if(e[i].test(t[i]))return!0;return!1},n.extend(n.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),n.extend(n.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return h.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){return(t-=1)*t*(5*t+4)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){return 0===t?0:1==t?1:.4*h.pow(2,-10*t)*h.sin(2*h.PI*(t-.055)/.22)+1}}}),n.tap=function(t,e){var i=r.createEvent("Event");i.initEvent(e,!0,!0),i.pageX=t.pageX,i.pageY=t.pageY,t.target.dispatchEvent(i)},n.click=function(t){var e,i=t.target;/(SELECT|INPUT|TEXTAREA)/i.test(i.tagName)||((e=r.createEvent(a.MouseEvent?"MouseEvents":"Event")).initEvent("click",!0,!0),e.view=t.view||a,e.detail=1,e.screenX=i.screenX||0,e.screenY=i.screenY||0,e.clientX=i.clientX||0,e.clientY=i.clientY||0,e.ctrlKey=!!t.ctrlKey,e.altKey=!!t.altKey,e.shiftKey=!!t.shiftKey,e.metaKey=!!t.metaKey,e.button=0,e.relatedTarget=null,e._constructed=!0,i.dispatchEvent(e))},n.getTouchAction=function(t,e){var i="none";return"vertical"===t?i="pan-y":"horizontal"===t&&(i="pan-x"),e&&"none"!=i&&(i+=" pinch-zoom"),i},n.getRect=function(t){var e;return t instanceof SVGElement?{top:(e=t.getBoundingClientRect()).top,left
1:e.left,width:e.width,height:e.height}:{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}},n);function s(t){return!1!==e&&(""===e?t:e+t.charAt(0).toUpperCase()+t.substr(1))}function l(t,e){for(var i in this.wrapper="string"==typeof t?r.querySelector(t):t,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!p.hasPointer,disableTouch:p.hasPointer||!p.hasTouch,disableMouse:p.hasPointer||p.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:void 0===a.onmousedown},e)this.options[i]=e[i];this.translateZ=this.options.HWCompositing&&p.hasPerspective?" translateZ(0)":"",this.options.useTransition=p.hasTransition&&this.options.useTransition,this.options.useTransform=p.hasTransform&&this.options.useTransform,this.options.eventPassthrough=!0===this.options.eventPassthrough?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?p.ease[this.options.bounceEasing]||p.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,!0===this.options.tap&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,3==this.options.probeType&&(this.options.useTransition=!1),this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function c(t,e,i){var n=r.createElement("div"),o=r.createElement("div");return!0===i&&(n.style.cssText="position:absolute;z-index:9999",o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),o.className="iScrollIndicator","h"==t?(!0===i&&(n.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",o.style.height="100%"),n.className="iScrollHorizontalScrollbar"):(!0===i&&(n.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",o.style.width="100%"),n.className="iScrollVerticalScrollbar"),n.style.cssText+=";overflow:hidden",e||(n.style.pointerEvents="none"),n.appendChild(o),n}function u(t,e){for(var i in this.wrapper="string"==typeof e.el?r.querySelector(e.el):e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0},e)this.options[i]=e[i];var n,o;this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(p.addEvent(this.indicator,"touchstart",this),p.addEvent(a,"touchend",this)),this.options.disablePointer||(p.addEvent(this.indicator,p.prefixPointerEvent("pointerdown"),this),p.addEvent(a,p.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(p.addEvent(this.indicator,"mousedown",this),p.addEvent(a,"mouseup",this))),this.options.fade&&(this.wrapperStyle[p.style.transform]=this.scroller.translateZ,n=p.style.transitionDuration)&&(this.wrapperStyle[n]=p.isBadAndroid?"0.0001ms":"0ms",o=this,p.isBadAndroid&&d(function(){"0.0001ms"===o.wrapperStyle[n]&&(o.wrapperStyle[n]="0s")}),this.wrapperStyle.opacity="0")}l.prototype={version:"5.2.0-snapshot",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),clearTimeout(this.resizeTimeout),this.resizeTimeout=null,this._execEvent("destroy")},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(1!=p.eventType[t.type]){var e=t.which?t.button:t.button<2?0:4==t.button?1:2;if(0!==e)return}!this.enabled||this.initiated&&p.eventType[t.type]!==this.initiated||(!this.options.preventDefault||p.isBadAndroid||p.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault(),e=t.touches?t.touches[0]:t,this.initiated=p.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this.startTime=p.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,t=this.getComputedPosition(),this._translate(h.roun
1d(t.x),h.round(t.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=e.pageX,this.pointY=e.pageY,this._execEvent("beforeScrollStart"))},_move:function(t){if(this.enabled&&p.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var e,i=t.touches?t.touches[0]:t,n=i.pageX-this.pointX,o=i.pageY-this.pointY,a=p.getTime();if(this.pointX=i.pageX,this.pointY=i.pageY,this.distX+=n,this.distY+=o,i=h.abs(this.distX),e=h.abs(this.distY),!(300<a-this.endTime&&i<10&&e<10)){if(this.directionLocked||this.options.freeScroll||(i>e+this.options.directionLockThreshold?this.directionLocked="h":e>=i+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);o=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);n=0}n=this.hasHorizontalScroll?n:0,o=this.hasVerticalScroll?o:0,e=this.x+n,i=this.y+o,(0<e||e<this.maxScrollX)&&(e=this.options.bounce?this.x+n/3:0<e?0:this.maxScrollX),(0<i||i<this.maxScrollY)&&(i=this.options.bounce?this.y+o/3:0<i?0:this.maxScrollY),this.directionX=0<n?-1:n<0?1:0,this.directionY=0<o?-1:o<0?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(e,i),300<a-this.startTime&&(this.startTime=a,this.startX=this.x,this.startY=this.y,1==this.options.probeType)&&this._execEvent("scroll"),1<this.options.probeType&&this._execEvent("scroll")}}},_end:function(t){var e,i,n,o,a,r,s;this.enabled&&p.eventType[t.type]===this.initiated&&(this.options.preventDefault&&!p.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault(),t.changedTouches&&t.changedTouches[0],s=p.getTime()-this.startTime,e=h.round(this.x),i=h.round(this.y),n=h.abs(e-this.startX),o=h.abs(i-this.startY),r="",this.isInTransition=a=0,this.initiated=0,this.endTime=p.getTime(),this.resetPosition(this.options.bounceTime)||(this.scrollTo(e,i),this.moved?this._events.flick&&s<200&&n<100&&o<100?this._execEvent("flick"):(this.options.momentum&&s<300&&(n=this.hasHorizontalScroll?p.momentum(this.x,this.startX,s,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:e,duration:0},o=this.hasVerticalScroll?p.momentum(this.y,this.startY,s,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:i,duration:0},e=n.destination,i=o.destination,a=h.max(n.duration,o.duration),this.isInTransition=1),this.options.snap&&(s=this._nearestSnap(e,i),this.currentPage=s,a=this.options.snapSpeed||h.max(h.max(h.min(h.abs(e-s.x),1e3),h.min(h.abs(i-s.y),1e3)),300),e=s.x,i=s.y,this.directionX=0,this.directionY=0,r=this.options.bounceEasing),e!=this.x||i!=this.y?((0<e||e<this.maxScrollX||0<i||i<this.maxScrollY)&&(r=p.ease.quadratic),this.scrollTo(e,i,a,r)):this._execEvent("scrollEnd")):(this.options.tap&&p.tap(t,this.options.tap),this.options.click&&p.click(t),this._execEvent("scrollCancel"))))},_resize:function(){var t=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling)},resetPosition:function(t){var e=this.x,i=this.y;return!this.hasHorizontalScroll||0<this.x?e=0:this.x<this.maxScrollX&&(e=this.maxScrollX),!this.hasVerticalScroll||0<this.y?i=0:this.y<this.maxScrollY&&(i=this.maxScrollY),(e!=this.x||i!=this.y)&&(this.scrollTo(e,i,t=t||0,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){p.getRect(this.wrapper),this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight;var t=p.getRect(this.scroller);this.scrollerWidth=t.width,this.scrollerHeight=t.height,this.maxScrollX=this.wrapperW
1idth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,p.hasPointer&&!this.options.disablePointer&&(this.wrapper.style[p.style.touchAction]=p.getTouchAction(this.options.eventPassthrough,!0),this.wrapper.style[p.style.touchAction]||(this.wrapper.style[p.style.touchAction]=p.getTouchAction(this.options.eventPassthrough,!1))),this.wrapperOffset=p.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(t,e){this._events[t]||(this._events[t]=[]),this._events[t].push(e)},off:function(t,e){this._events[t]&&-1<(e=this._events[t].indexOf(e))&&this._events[t].splice(e,1)},_execEvent:function(t){if(this._events[t]){var e=0,i=this._events[t].length;if(i)for(;e<i;e++)this._events[t][e].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,e,i,n){t=this.x+t,e=this.y+e,this.scrollTo(t,e,i=i||0,n)},scrollTo:function(t,e,i,n){n=n||p.ease.circular,this.isInTransition=this.options.useTransition&&0<i;var o=this.options.useTransition&&n.style;!i||o?(o&&(this._transitionTimingFunction(n.style),this._transitionTime(i)),this._translate(t,e)):this._animate(t,e,i,n.fn)},scrollToElement:function(t,e,i,n,o){var a,r;(t=t.nodeType?t:this.scroller.querySelector(t))&&((a=p.offset(t)).left-=this.wrapperOffset.left,a.top-=this.wrapperOffset.top,t=p.getRect(t),r=p.getRect(this.wrapper),!0===i&&(i=h.round(t.width/2-r.width/2)),!0===n&&(n=h.round(t.height/2-r.height/2)),a.left-=i||0,a.top-=n||0,a.left=0<a.left?0:a.left<this.maxScrollX?this.maxScrollX:a.left,a.top=0<a.top?0:a.top<this.maxScrollY?this.maxScrollY:a.top,e=null==e||"auto"===e?h.max(h.abs(this.x-a.left),h.abs(this.y-a.top)):e,this.scrollTo(a.left,a.top,e,o))},_transitionTime:function(t){if(this.options.useTransition){t=t||0;var e,i=p.style.transitionDuration;if(i)if(this.scrollerStyle[i]=t+"ms",!t&&p.isBadAndroid&&(this.scrollerStyle[i]="0.0001ms",e=this,d(function(){"0.0001ms"===e.scrollerStyle[i]&&(e.scrollerStyle[i]="0s")})),this.indicators)for(var n=this.indicators.length;n--;)this.indicators[n].transitionTime(t)}},_transitionTimingFunction:function(t){if(this.scrollerStyle[p.style.transitionTimingFunction]=t,this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTimingFunction(t)},_translate:function(t,e){if(this.options.useTransform?this.scrollerStyle[p.style.transform]="translate("+t+"px,"+e+"px)"+this.translateZ:(t=h.round(t),e=h.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.x=t,this.y=e,this.indicators)for(var i=this.indicators.length;i--;)this.indicators[i].updatePosition()},_initEvents:function(t){var t=t?p.removeEvent:p.addEvent,e=this.options.bindToWrapper?this.wrapper:a;t(a,"orientationchange",this),t(a,"resize",this),this.options.click&&t(this.wrapper,"click",this,!0),this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(e,"mousemove",this),t(e,"mousecancel",this),t(e,"mouseup",this)),p.hasPointer&&!this.options.disablePointer&&(t(this.wrapper,p.prefixPointerEvent("pointerdown"),this),t(e,p.prefixPointerEvent("pointermove"),this),t(e,p.prefixPointerEvent("pointercancel"),this),t(e,p.prefixPointerEvent("pointerup"),this)),p.hasTouch&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(e,"touchmove",this),t(e,"touchcancel",this),t(e,"touchend",this)),t(this.scroller,"transitionend",this),t(this.scroller,"webkitTransitionEnd",this),t(this.scroller,"oTransitionEnd",this),t(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var t,e=a.getComputedStyle(this.scroller,null),e=this.options.useTransform?(t=+((e=e[p.style.transform].split(")")[0].split(", "))[12]||e[4]),+(e[13]||e[5])):(t=+e.left.replace(/[^-\d.]/g,""),+e.top.replace(/[^-\d.]/g,""));return{x:t,y:e}},_initIndicators:function(){var t,e=this.options.interactiveScrollbars,i="string"!=typeof this.options.scrollbars,n=[],o=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(t={el:c("v",e,this.options.scrollbars),interactive:e,defaultScrollbars:!0,customStyle:i,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(t.el),n.push(t)),this.options.scrollX)&&(t={el:c("h",e,this.options.scrollbars),interactive:e,defaultScrollbars:!0,customStyle:i,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(t.el),n.push(t));for(var a=(n=this.options.indicators?n.concat(this.options.indicators):n).length;a--;)this.indicators.push(new u(this,n[a]));function r(t){if(o.indicators)for(var e=o.indicators.length;e--;)t.call(o.indicators[e])}this.options.fadeScrollbars&&(this.on("scrollEnd",function(){r(function(){this.fade()})}),this.on("scrollCancel",function(){r(function(){this.fade()})}),this.on("scrollStart",function(){r(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){r(function(){this.fade(1,!0)})})),this.on("refresh",function(){r(function(){this.refresh()})}),this.on("destroy",function(){r(function(){this.destroy()}),delete this.indicators})},_initWheel:function(){p.addEvent(this.wrapper,"wheel",this),p.addEvent(this.wrapper,"mousewheel",this),p.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",function(){clearTimeout(this.wheelTimeout),this.wheelTimeout=null,p.removeEvent(this.wrapper,"wheel",this),p.removeEvent(this.wrapper,"mousewheel",this),p.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(t){if(this.enabled){t.preventDefault();var e,i,n,o,a=this;if(void 0===this.wheelTimeout&&a._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){a.options.snap||a._execEvent("scrollEnd"),a.wheelTimeout=void 0},400),"deltaX"in t)i=1===t.deltaMode?(e=-t.deltaX*this.options.mouseWheelSpeed,-t.deltaY*this.options.mouseWheelSpeed):(e=-t.deltaX,-t.deltaY);else if("wheelDeltaX"in t)e=t.wheelDeltaX/120*this.options.mouseWheelSpeed,i=t.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in t)e=i=t.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in t))return;e=i=-t.detail/3*this.options.mouseWheelSpeed}e*=this.options.invertWheelDirection,i*=this.options.invertWheelDirection,this.hasVerticalScroll||(e=i,i=0),this.options.snap?(n=this.currentPage.pageX,o=this.currentPage.pageY,0<e?n--:e<0&&n++,0<i?o--:i<0&&o++,this.goToPage(n,o)):(n=this.x+h.round(this.hasHorizontalScroll?e:0),o=this.y+h.round(this.hasVerticalScroll?i:0),this.directionX=0<e?-1:e<0?1:0,this.directionY=0<i?-1:i<0?1:0,0<n?n=0:n<this.maxScrollX&&
1(n=this.maxScrollX),0<o?o=0:o<this.maxScrollY&&(o=this.maxScrollY),this.scrollTo(n,o,0),1<this.options.probeType&&this._execEvent("scroll"))}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",function(){var t,e,i,n,o,a,r,s=0,l=0,c=0,u=this.options.snapStepX||this.wrapperWidth,d=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(!0===this.options.snap)for(i=h.round(u/2),n=h.round(d/2);c>-this.scrollerWidth;){for(this.pages[s]=[],o=t=0;o>-this.scrollerHeight;)this.pages[s][t]={x:h.max(c,this.maxScrollX),y:h.max(o,this.maxScrollY),width:u,height:d,cx:c-i,cy:o-n},o-=d,t++;c-=u,s++}else for(t=(a=this.options.snap).length,e=-1;s<t;s++)r=p.getRect(a[s]),(0===s||r.left<=p.getRect(a[s-1]).left)&&(l=0,e++),this.pages[l]||(this.pages[l]=[]),c=h.max(-r.left,this.maxScrollX),o=h.max(-r.top,this.maxScrollY),i=c-h.round(r.width/2),n=o-h.round(r.height/2),this.pages[l][e]={x:c,y:o,width:r.width,height:r.height,cx:i,cy:n},c>this.maxScrollX&&l++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1==0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=h.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=h.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||h.max(h.max(h.min(h.abs(this.x-this.startX),1e3),h.min(h.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0,n=this.pages.length,o=0;if(h.abs(t-this.absStartX)<this.snapThresholdX&&h.abs(e-this.absStartY)<this.snapThresholdY)return this.currentPage;for(0<t?t=0:t<this.maxScrollX&&(t=this.maxScrollX),0<e?e=0:e<this.maxScrollY&&(e=this.maxScrollY);i<n;i++)if(t>=this.pages[i][0].cx){t=this.pages[i][0].x;break}for(n=this.pages[i].length;o<n;o++)if(e>=this.pages[0][o].cy){e=this.pages[0][o].y;break}return i==this.currentPage.pageX&&((i+=this.directionX)<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),o==this.currentPage.pageY&&((o+=this.directionY)<0?o=0:o>=this.pages[0].length&&(o=this.pages[0].length-1),e=this.pages[0][o].y),{x:t,y:e,pageX:i,pageY:o}},goToPage:function(t,e,i,n){n=n||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var o=this.pages[t][e].x,a=this.pages[t][e].y;i=void 0===i?this.options.snapSpeed||h.max(h.max(h.min(h.abs(o-this.x),1e3),h.min(h.abs(a-this.y),1e3)),300):i,this.currentPage={x:o,y:a,pageX:t,pageY:e},this.scrollTo(o,a,i,n)},next:function(t,e){var i=this.currentPage.pageX,n=this.currentPage.pageY;++i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this.goToPage(i,n,t,e)},prev:function(t,e){var i=this.currentPage.pageX,n=this.currentPage.pageY;--i<0&&this.hasVerticalScroll&&(i=0,n--),this.goToPage(i,n,t,e)},_initKeys:function(t){var e,i={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(e in this.options.keyBindings)"string"==typeof this.options.keyBindings[e]&&(this.options.keyBindings[e]=this.options.keyBindings[e].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(e in i)this.options.keyBindings[e]=this.options.keyBindings[e]||i[e];p.addEvent(a,"keydown",this),this.on("destroy",function(){p.removeEvent(a,"keydown",this)})},_key:function(t){if(this.enabled){var e,i=this.options.snap,n=i?this.currentPage.pageX:this.x,o=i?this.currentPage.pageY:this.y,a=p.getTime(),r=this.keyTime||0;switch(this.options.useTransition&&this.isInTransition&&(e=this.getComputedPosition(),this._translate(h.round(e.x),h.round(e.y)),this.isInTransition=!1),this.keyAcceleration=a-r<200?h.min(this.keyAcceleration+.25,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?n+=i?1:this.wrapperW
1idth:o+=i?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?n-=i?1:this.wrapperWidth:o-=i?1:this.wrapperHeight;break;case this.options.keyBindings.end:n=i?this.pages.length-1:this.maxScrollX,o=i?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:o=n=0;break;case this.options.keyBindings.left:n+=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:o+=i?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:n-=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:o-=i?1:5+this.keyAcceleration>>0;break;default:return}i?this.goToPage(n,o):(0<n?this.keyAcceleration=n=0:n<this.maxScrollX&&(n=this.maxScrollX,this.keyAcceleration=0),0<o?this.keyAcceleration=o=0:o<this.maxScrollY&&(o=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(n,o,0),this.keyTime=a)}},_animate:function(i,n,o,a){var r=this,s=this.x,l=this.y,c=p.getTime(),u=c+o;this.isAnimating=!0,function t(){var e=p.getTime();u<=e?(r.isAnimating=!1,r._translate(i,n),r.resetPosition(r.options.bounceTime)||r._execEvent("scrollEnd")):(e=a((e-c)/o),r._translate((i-s)*e+s,(n-l)*e+l),r.isAnimating&&d(t),3==r.options.probeType&&r._execEvent("scroll"))}()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":this.enabled&&!t._constructed&&(t.preventDefault(),t.stopPropagation())}}},u.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(p.removeEvent(this.indicator,"touchstart",this),p.removeEvent(this.indicator,p.prefixPointerEvent("pointerdown"),this),p.removeEvent(this.indicator,"mousedown",this),p.removeEvent(a,"touchmove",this),p.removeEvent(a,p.prefixPointerEvent("pointermove"),this),p.removeEvent(a,"mousemove",this),p.removeEvent(a,"touchend",this),p.removeEvent(a,p.prefixPointerEvent("pointerup"),this),p.removeEvent(a,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=p.getTime(),this.options.disableTouch||p.addEvent(a,"touchmove",this),this.options.disablePointer||p.addEvent(a,p.prefixPointerEvent("pointermove"),this),this.options.disableMouse||p.addEvent(a,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var e,i,n=t.touches?t.touches[0]:t,o=p.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,i=n.pageX-this.lastPointX,this.lastPointX=n.pageX,e=n.pageY-this.lastPointY,this.lastPointY=n.pageY,n=this.x+i,i=this.y+e,this._pos(n,i),1==this.scroller.options.probeType&&300<o-this.startTime?(this.startTime=o,this.scroller._execEvent("scroll")):1<this.scroller.options.probeType&&this.scroller._execEvent("scroll"),t.preventDefault(),t.stopPropagation()},_end:function(t){var e;this.initiated&&(this.initiated=!1,t.preventDefault(),t.stopPropagation(),p.removeEvent(a,"touchmove",this),p.removeEvent(a,p.prefixPointerEvent("pointermove"),this),p.removeEvent(a,"mousemove",this),this.scroller.options.snap&&(t=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),e=this.options.snapSpeed||h.max(h.max(h.min(h.abs(this.scroller.x-t.x),1e3),h.min(h.abs(this.scroller.y-t.y),1e3)),300),this.scroller.x==t.x&&this.scroller.y==t.y||
1(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=t,this.scroller.scrollTo(t.x,t.y,e,this.scroller.options.bounceEasing))),this.moved)&&this.scroller._execEvent("scrollEnd")},transitionTime:function(t){t=t||0;var e,i=p.style.transitionDuration;i&&(this.indicatorStyle[i]=t+"ms",!t)&&p.isBadAndroid&&(this.indicatorStyle[i]="0.0001ms",e=this,d(function(){"0.0001ms"===e.indicatorStyle[i]&&(e.indicatorStyle[i]="0s")}))},transitionTimingFunction:function(t){this.indicatorStyle[p.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(p.addClass(this.wrapper,"iScrollBothScrollbars"),p.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(p.removeClass(this.wrapper,"iScrollBothScrollbars"),p.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px")),p.getRect(this.wrapper),this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=h.max(h.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=8-this.indicatorWidth,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=h.max(h.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=8-this.indicatorHeight,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&h.round(this.sizeRatioX*this.scroller.x)||0,e=this.options.listenY&&h.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(t<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=h.max(this.indicatorWidth+t,8),this.indicatorStyle.width=this.width+"px"),t=this.minBoundaryX):t>this.maxBoundaryX?t="scale"==this.options.shrink?(this.width=h.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",this.maxPosX+this.indicatorWidth-this.width):this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),e<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=h.max(this.indicatorHeight+3*e,8),this.indicatorStyle.height=this.height+"px"),e=this.minBoundaryY):e>this.maxBoundaryY?e="scale"==this.options.shrink?(this.height=h.max(this.indicatorHeight-3*(e-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",this.maxPosY+this.indicatorHeight-this.height):this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=e,this.scroller.options.useTransform?this.indicatorStyle[p.style.transform]="translate("+t+"px,"+e+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=e+"px")},_pos:function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=this.options.listenX?h.round(t/this.sizeRatioX):this.scroller.x,e=this.options.listenY?h.round(e/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,e)},fade:function(t,e){var i;e&&!this.visible||(clearTimeout(this.fadeTimeout),this.fadeTimeout=null,e=t?250:500,i=t?0:300,t=t?"1":"0",this.wrapperStyle[p.style.transitionDuration]=e+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),i))}},l.utils=p,"undefined"!=typeof module&&module.exports?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):a.IScroll=l})(window,document,Math),document.getElementsByTagName("script")),scripts=((r=>{var s,l,c,n,o,i,a,u={theme:"zoombox",opacity:.8,duration:200,animation:!0,width:600,height:400,gallery:!0,autoplay:!0,overflow:!1},d=!1,e=0,h="multimedia",p=!1,f=!1,m="closed",t='<div id="zoombox"> <div class="zoombox_mask"></div> <div class="zoombox_container"> <div class="zoombox_content"></div> <div class="zoombox_title"></div> <div class="zoombox_next"></div> <div class="zoombox_prev"></div> <div class="zoombox_close"></div> </div> <div class="zoombox_gallery"></div> </div>',g=/(\.jpg)|(\.jpeg)|(\.bmp)|(\.gif)|(\.png)/i,v=/(\.mp3)/i,y=/(\.flv)/i,b=/(\.swf)/i,_=/(\.mov)|(\.mp4)/i,w=/(\.wmv)|(\.avi)/i,x=/(http:\/\/www.dailymotion)|(http:\/\/dailymotion)/i,k=/(http:\/\/www.vimeo)|(http:\/\/vimeo)/i,S=/(youtube\.)/i,j=/(http:\/\/www\.koreus)|(http:\/\/koreus)/i;function C(){var t;"closed"==m&&(d=!1),m="load",n=u.width,o=u.height,null!=l&&(null!=(t=/w([0-9]+)/.exec(l.attr("class")))&&t[1]&&(n=t[1]),null!=(t=/h([0-9]+)/.exec(l.attr("class"))))&&t[1]&&(o=t[1]),g.test(c)?((img=new Image).src=c,r("body").append('<div id="zoombox_loader"></div>'),r("#zoombox_loader").css("marginTop",O()),i=window.setInterval(function(){var t=img;t.complete&&(e=0,window.clearInterval(i),n=t.width,o=t.height,r("#zoombox_loader").remove(),L(),M()),r("#zoombox_loader").css({"background-position":"0px "+e+"px"}),(e-=40)<-440&&(e=0)},100)):(L(),M())}function N(){r("body").append(t),r(window).keydown(function(t){t=t.which;37==t&&I(),39==t&&P(),27==t&&A()}),r(window).resize(function(){r("#zoombox .zoombox_container").css({top:(E()-r("#zoombox .zoombox_container").outerHeight(!0))/2,left:(z()-r("#zoombox .zoombox_container").outerWidth(!0))/2})}),r("#zoombox .zoombox_mask").hide(),r("#zoombox").addClass(u.theme),r("#zoombox .zoombox_mask,.zoombox_close").click(function(){return A(),r(".zoombox_close").hide(),!1}),0==f?r("#zoombox .zoombox_next,#zoombox .zoombox_prev").remove():(r("#zoombox .zoombox_next").click(function(){P()}),r("#zoombox .zoombox_prev").click(function(){I()}))}function T(){var i=0;if(u.gallery){if(!1===f)return void r("#zoombox .zoombox_gallery").remove();for(var t in f){var e="",n=r('<img src="'+e+'" class="video gallery'+ +t+'"/>');g.test(f[t].attr("href"))&&(e=f[t].attr("href"),n=r('<img src="'+e+'" class="gallery'+ +t+'"/>')),n.data("id",t).appendTo("#zoombox .zoombox_gallery"),n.click(function(){D(r(this).data("id")),r("#zoombox .zoombox_gallery img").removeClass("current"),r(this).addClass("current")}),t==p&&n.addClass("current"),r("<img/>").data("img",n).attr("src",e).on("load",function(){i++;var t,e=r(this).data("img");e.width(Math.round(e.height()*this.width/this.height)),i==r("#zoombox .zoombox_gallery img").length&&(t=0,r("#zoombox .zoombox_gallery img").each(function(){t+=r(this).outerWidth(),r(this).data("left",t)}),e=r("<div>").css({position:"absolute",top:0,left:0,width:t}),r("#zoombox .zoombox_gallery").wrapInner(e),r("#zoombox .zoombox_gallery").width(),r("#zoombox").trigger("change"))})}r("#zoombox .zoombox_gallery").show().animate({bottom:0},u.duration)}r("#zoombox").on("change",function(t,e){if(r("#zoombox .zoombox_gallery div").width()<r("#zoombox .zoombox_gallery").width)return!0;var i=0,n=0,n=null!=e?(i=u.duration,e.width/2):r("#zoombox .zoombox_gallery").width()/2,e=-r("#zoombox .zoombox_gallery img.current").data("left")+r("#zoombox .zoombox_gallery img.current").width()/2+n;0<(e=e<2*n-r("#zoombox .zoombox_gallery div").width()?2*n-r("#zoombox .zoombox_gallery div").width():e)&&(e=0),r("#zoombox .zoombox_gallery div").animate({left:e},i)})}function M(){0==d?N():r("#zoombox .zoombox_title").empty(),r("#zoombox .close").hide(),r("#zoombox .zoombox_container").removeClass("multimedia").removeClass("img").addClass(h),null!=l&&l.attr("title")&&r("#zoombox .zoombox_title").append(l.attr("title")),r("#zoombox .zoombox_content").empty(),"img"==h&&0==d&&1==u.animation&&r("#zoombox .zoombox_content").append(a),null!=l&&0!=l.find("img").length&&0==d?(t=l.find("img"),r("#zoombox .zoombox_container").css({width:t.width(),height:t.height(),top:t.offset().top,left
1:t.offset().left,opacity:0,marginTop:t.css("marginTop")})):null!=l&&0==d?r("#zoombox .zoombox_container").css({width:l.width(),height:l.height(),top:l.offset().top,left:l.offset().left}):0==d&&r("#zoombox .zoombox_container").css({width:100,height:100,top:E()/2-50,left:z()/2-50});var t={width:n,height:o,left:(z()-n)/2,top:(E()-o)/2,marginTop:O(),opacity:1};r("#zoombox").trigger("change",t),1==u.animation?(r("#zoombox .zoombox_title").hide(),r("#zoombox .zoombox_close").hide(),r("#zoombox .zoombox_container").animate(t,u.duration,function(){"multimedia"!=h&&1!=d||r("#zoombox .zoombox_content").append(a),"image"!=h&&1!=d||r("#zoombox .zoombox_content img").css("opacity",0).fadeTo(200,1),r("#zoombox .zoombox_title").fadeIn(200),r("#zoombox .zoombox_close").fadeIn(200),m="opened",d||T(),d=!0}),r("#zoombox .zoombox_mask").fadeTo(200,u.opacity)):(r("#zoombox .zoombox_content").append(a),r("#zoombox .zoombox_close").show(),r("#zoombox .zoombox_gallery").show(),r("#zoombox .zoombox_container").css(t),r("#zoombox .zoombox_mask").show(),r("#zoombox .zoombox_mask").css("opacity",u.opacity),d||T(),d=!0,m="opened")}function A(){m="closing",window.clearInterval(i),r(window).off("keydown"),r(window).off("resize"),"multimedia"==h&&r("#zoombox .zoombox_container").empty();var t,e={};e=null!=l&&0<l.find("img").length?{width:(t=l.find("img")).width(),height:t.height(),top:t.offset().top,left:t.offset().left,opacity:0,marginTop:t.css("marginTop")}:null!=l?{width:l.width(),height:l.height(),top:l.offset().top,left:l.offset().left,marginTop:0,opacity:0}:{width:100,height:100,top:E()/2-50,left:z()/2-50,opacity:0},1==u.animation?(r("#zoombox .zoombox_mask").fadeOut(200),r("#zoombox .zoombox_gallery").animate({bottom:-r("#zoombox .zoombox_gallery").innerHeight()},u.duration),r("#zoombox .zoombox_container").animate(e,u.duration,function(){r("#zoombox").remove(),d=!(m="closed")})):(r("#zoombox").remove(),d=!(m="closed"))}function L(){0==u.overflow&&(+n+50>z()&&(o=(z()-50)*o/n,n=z()-50),+o+50>E())&&(n=(E()-50)*n/o,o=E()-50);var t,e,i=c;h="multimedia",g.test(i)?(h="img",a='<img src="'+c+'" width="100%" height="100%"/>'):v.test(i)?(n=300,o=40,a='<object type="application/x-shockwave-flash" data="'+MP3Player+"?son="+i+'" width="'+n+'" height="'+o+'">',a+='<param name="movie" value="'+MP3Player+"?son="+i+'" /></object>'):a=y.test(i)?(t=0,1==u.autoplay&&(t=1),'<object type="application/x-shockwave-flash" data="'+zoombox_path+'FLVplayer.swf" width="'+n+'" height="'+o+'"><param name="allowFullScreen" value="true"><param name="scale" value="noscale"><param name="wmode" value="transparent"><param name="flashvars" value="flv='+i+"&autoplay="+t+'"><embed src="'+zoombox_path+'FLVplayer.swf" width="'+n+'" height="'+o+'" allowscriptaccess="always" allowfullscreen="true" flashvars="flv='+i+'" wmode="transparent" /></object>'):b.test(i)?'<object width="'+n+'" height="'+o+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="'+i+'" /><embed src="'+i+'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'+n+'" height="'+o+'" wmode="transparent"></embed></object>':_.test(i)?(a='<embed src="'+i+'" width="'+n+'" height="'+o+'" controller="true" cache="true" autoplay="true"/>','<video controls autoplay src="'+i+'" width="'+n+'" height="'+o+'">Your browser does not support this format</video>'):w.test(i)?'<embed src="'+i+'" width="'+n+'" height="'+o+'" controller="true" cache="true" autoplay="true" wmode="transparent" />':x.test(i)?(e=(e=(e=i.split("_"))[0].split("/"))[e.length-1]+"?",1==u.autoplay&&(e+="autoPlay=1&"),'<iframe frameborder="0" width="'+n+'" height="'+o+'" src="https://www.dailymotion.com/embed/video/'+e+'?wmode=transparent"></iframe>'):k.test(i)?(e=(e=i.split("/"))[3]+"?",1==u.autoplay&&(e+="autoplay=1&"),'<iframe src="https://player.vimeo.com/video/'+e+'title=0&byline=0&portrait=0&wmode=transparent" width="'+n+'" height="'+o+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'):S.test(i)?(e=(e=(e=i.split("watch?v="))[1].split("&"))[0]+"?",1==u.autoplay&&(e+="autoplay=1&"),'<iframe width="'+n+'" height="'+o+'" src="https://www.youtube.com/embed/'+e+'wmode=Opaque" frameborder="0" allowfullscreen></iframe>'):j.test(i)?'<object type="application/x-shockwave-flash" data="'+(i=(i=i.split(".html"))[0])+'" width="'+n+'" height="'+o+'"><param name="movie" value="'+i+'"><embed src="'+i+'" type="application/x-shockwave-flash" width="'+n+'" height="'+o+'" wmode="transparent"></embed></object>':'<iframe src="'+i+'" width="'+n+'" height="'+o+'" border="0"></iframe>'}function D(t){"opened"==m&&f&&(l=f[p=t],c=l.attr("href"),0<r("#zoombox .zoombox_gallery img").length&&(r("#zoombox .zoombox_gallery img").removeClass("current"),r("#zoombox .zoombox_gallery img:eq("+t+")").addClass("current")),C())}function P(){D(e=(e=p+1)>f.length-1?0:e)}function I(){D(e=(e=p-1)<0?f.length-1:e)}function E(){return window.innerHeight||r(window).height()}function z(){return window.innerWidth||r(window).width()}function O(){return scrOfY=0,"number"==typeof window.pageYOffset?scrOfY=window.pageYOffset:document.body&&document.body.scrollTop?scrOfY=document.body.scrollTop:document.documentElement&&document.documentElement.scrollTop&&(scrOfY=document.documentElement.scrollTop),scrOfY}r.zoombox=function(t,e){},r.zoombox.options=u,r.zoombox.close=function(){A()},r.zoombox.open=function(t,e){l=null,c=t,u=r.extend({},r.zoombox.options,e),C()},r.zoombox.html=function(t,e){a=t,u=r.extend({},r.zoombox.options,e),n=u.width,o=u.height,l=null,M()},r.fn.zoombox=function(a){return s=new Array,this.each(function(){if(r.browser&&r.browser.msie&&r.browser.version<7&&!window.XMLHttpRequest)return!1;var t,e=this,i=/zgallery([0-9]+)/.exec(r(this).attr("class")),n=/zskip/.exec(r(this).attr("class")),o=!1;
1null!=i&&(s[i[1]]||(s[i[1]]=new Array),null==n&&s[i[1]].push(r(this)),t=s[i[1]].length-1,o=s[i[1]]),r(this).off("click").click(function(){return u=r.extend({},r.zoombox.options,a),"closed"==m&&(null!=n?t<s[i[1]].length-1&&(l=s[i[1]][t+1]):l=r(e),f=o,c=l.attr("href"),p=t,C()),!1})})}})(jQuery),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.L={})})(this,function(t){function l(t){for(var e,i,n=1,o=arguments.length;n<o;n++)for(e in i=arguments[n])t[e]=i[e];return t}function h(t,e){var i,n=Array.prototype.slice;return t.bind?t.bind.apply(t,n.call(arguments,1)):(i=n.call(arguments,2),function(){return t.apply(e,i.length?i.concat(n.call(arguments)):arguments)})}function s(t){return t._leaflet_id=t._leaflet_id||++Jt,t._leaflet_id}function N(t,e,i){var n,o,a,r=function(){n=!1,o&&(a.apply(i,o),o=!1)};return a=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)}}function B(t,e,i){var n=e[1],e=e[0],o=n-e;return t===n&&i?t:((t-e)%o+o)%o+e}function c(){return!1}function i(t,e){e=Math.pow(10,void 0===e?6:e);return Math.round(t*e)/e}function $(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function R(t){return $(t).split(/\s+/)}function a(t,e){for(var i in t.hasOwnProperty("options")||(t.options=t.options?Qt(t.options):{}),e)t.options[i]=e[i];return t.options}function W(t,e,i){var n,o=[];for(n in t)o.push(encodeURIComponent(i?n.toUpperCase():n)+"="+encodeURIComponent(t[n]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}function F(t,i){return t.replace(Kt,function(t,e){e=i[e];if(void 0===e)throw new Error("No value provided for variable "+t);return e="function"==typeof e?e(i):e})}function H(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}function Y(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}function V(t){var e=+new Date,i=Math.max(0,16-(e-ie));return ie=e+i,window.setTimeout(t,i)}function _(t,e,i){if(!i||ne!==V)return ne.call(window,h(t,e));t.call(e)}function r(t){t&&oe.call(window,t)}function U(){}function f(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}function u(t,e,i){return t instanceof f?t:te(t)?new f(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new f(t.x,t.y):new f(t,e,i)}function m(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function d(t,e){return!t||t instanceof m?t:new m(t,e)}function p(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function g(t,e){return t instanceof p?t:new p(t,e)}function v(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function w(t,e,i){return t instanceof v?t:te(t)&&"object"!=typeof t[0]?3===t.length?new v(t[0],t[1],t[2]):2===t.length?new v(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new v(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new v(t,e,i)}function q(t,e,i,n){te(t)?(this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3]):(this._a=t,this._b=e,this._c=i,this._d=n)}function Z(t,e,i,n){return new q(t,e,i,n)}function G(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function X(t,e){for(var i,n,o,a,r="",s=0,l=t.length;s<l;s++){for(i=0,n=(o=t[s]).length;i<n;i++)r+=(i?"L":"M")+(a=o[i]).x+" "+a.y;r+=e?He?"z":"x":""}return r||"M0 0"}function e(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}function Q(t,e,i,n){function o(t){et(t,a)}var a,r,s,l,c,u;function d(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&et(t,r)}"touchstart"===e?(s=t,l=i,c=n,u=h(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(Ge.indexOf(t.target.tagName)<0))return;b(t)}et(t,l)}),s["_leaflet_touchstart"+c]=u,s.addEventListener(Ve,u,!1),Qe||(document.documentElement.addEventListener(Ve,J,!0),document.documentElement.addEventListener(Ue,K,!0),document.documentElement.addEventListener(qe,tt,!0),document.documentElement.addEventListener(Ze,tt,!0),Qe=!0)):"touchmove"===e?(r=i,(c=t)["_leaflet_touchmove"+n]=d,c.addEventListener(Ue,d,!1)):"touchend"===e&&(a=i,(s=t)["_leaflet_touchend"+n]=o,s.addEventListener(qe,o,!1),s.addEventListener(Ze,o,!1))}function J(t){Xe[t.pointerId]=t,Je++}function K(t){Xe[t.pointerId]&&(Xe[t.pointerId]=t)}function tt(t){delete Xe[t.pointerId],Je--}function et(t,e){for(var i in t.touches=[],Xe)t.touches.push(Xe[i]);t.changedTouches=[t],e(t)}function it(t,o,e){function i(t){var e,i;if(I){if(!xe||"mouse"===t.pointerType)return;e=Je}else e=t.touches.length;1<e||(i=(e=Date.now())-(a||e),r=t.touches?t.touches[0]:t,s=0<i&&i<=250,a=e)}function n(t){if(s&&!r.cancelBubble){if(I){if(!xe||"mouse"===t.pointerType)return;var e,i,n={};for(i in r)e=r[i],n[i]=e&&e.bind?e.bind(r):e;r=n}r.type="dblclick",o(r),a=null}}var a,r,s=!1;return t[ei+Ke+e]=i,t[ei+ti+e]=n,t[ei+"dblclick"+e]=o,t.addEventListener(Ke,i,!1),t.addEventListener(ti,n,!1),t.addEventListener("dblclick",o,!1),this}function nt(t,e){var i=t[ei+Ke+e],n=t[ei+ti+e],e=t[ei+"dblclick"+e];return t.removeEventListener(Ke,i,!1),t.removeEventListener(ti,n,!1),xe||t.removeEventListener("dblclick",e,!1),this}function y(t,e,i,n){if("object"==typeof e)for(var o in e)ot(t,o,e[o],i);else for(var a=0,r=(e=R(e)).length;a<r;a++)ot(t,e[a],i,n);return this}function n(t,e,i,n){if("object"==typeof e)for(var o in e)at(t,o,e[o],i);else if(e)for(var a=0,r=(e=R(e)).length;a<r;a++)at(t,e[a],i,n);else{for(var s in t[E])at(t,s,t[E][s]);delete t[E]}return this}function ot(e,t,i,n){var o,a,r=t+s(i)+(n?"_"+s(n):"");e[E]&&e[E][r]||(a=o=function(t){return i.call(n||e,t||window.event)},I&&0===t.indexOf("touch")?Q(e,t,o,r):!Be||"dblclick"!==t||I&&Ae?"addEventListener"in e?"mousewheel"===t?e.addEventListener("onw
1heel"in e?"wheel":"mousewheel",o,!1):"mouseenter"===t||"mouseleave"===t?e.addEventListener("mouseenter"===t?"mouseover":"mouseout",o=function(t){t=t||window.event,ft(e,t)&&a(t)},!1):e.addEventListener(t,o="click"===t&&Se?function(t){var e,i,n;e=a,i=(t=t).timeStamp||t.originalEvent&&t.originalEvent.timeStamp,((n=he&&i-he)&&100<n&&n<500||t.target._simulatedClick&&!t._simulated?ct:(he=i,e))(t)}:o,!1):"attachEvent"in e&&e.attachEvent("on"+t,o):it(e,o,r),e[E]=e[E]||{},e[E][r]=o)}function at(t,e,i,n){var o,a,r,i=e+s(i)+(n?"_"+s(n):""),n=t[E]&&t[E][i];n&&(I&&0===e.indexOf("touch")?(r=(o=t)["_leaflet_"+(a=e)+(r=i)],"touchstart"===a?o.removeEventListener(Ve,r,!1):"touchmove"===a?o.removeEventListener(Ue,r,!1):"touchend"===a&&(o.removeEventListener(qe,r,!1),o.removeEventListener(Ze,r,!1))):!Be||"dblclick"!==e||I&&Ae?"removeEventListener"in t?"mousewheel"===e?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",n,!1):t.removeEventListener("mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,n,!1):"detachEvent"in t&&t.detachEvent("on"+e,n):nt(t,i),t[E][i]=null)}function rt(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,pt(t),this}function st(t){return ot(t,"mousewheel",rt),this}function lt(t){return y(t,"mousedown touchstart dblclick",rt),ot(t,"click",ht),this}function b(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function ct(t){return b(t),rt(t),this}function ut(t,e){var i,n;return e?(n=(i=e.getBoundingClientRect()).width/e.offsetWidth||1,new f(t.clientX/n-i.left-e.clientLeft,t.clientY/(i.height/e.offsetHeight||1)-i.top-e.clientTop)):new f(t.clientX,t.clientY)}function dt(t){return xe?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/ii:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function ht(t){ni[t.type]=!0}function pt(t){var e=ni[t.type];return ni[t.type]=!1,e}function ft(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}function mt(t){return"string"==typeof t?document.getElementById(t):t}function gt(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];return"auto"===(i=i&&"auto"!==i||!document.defaultView?i:(t=document.defaultView.getComputedStyle(t,null))?t[e]:null)?null:i}function x(t,e,i){t=document.createElement(t);return t.className=e||"",i&&i.appendChild(t),t}function k(t){var e=t.parentNode;e&&e.removeChild(t)}function vt(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function yt(t){var e=t.parentNode;e.lastChild!==t&&e.appendChild(t)}function bt(t){var e=t.parentNode;e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function _t(t,e){return void 0!==t.classList?t.classList.contains(e):0<(t=xt(t)).length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t)}function S(t,e){var i;if(void 0!==t.classList)for(var n=R(e),o=0,a=n.length;o<a;o++)t.classList.add(n[o]);else _t(t,e)||wt(t,((i=xt(t))?i+" ":"")+e)}function C(t,e){void 0!==t.classList?t.classList.remove(e):wt(t,$((" "+xt(t)+" ").replace(" "+e+" "," ")))}function wt(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function xt(t){return void 0===t.className.baseVal?t.className:t.className.baseVal}function T(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var i=t,t=e,e=!1,n="DXImageTransform.Microsoft.Alpha";try{e=i.filters.item(n)}catch(i){if(1===t)return}t=Math.round(100*t),e?(e.Enabled=100!==t,e.Opacity=t):i.style.filter+=" progid:"+n+"(opacity="+t+")"}}function kt(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function St(t,e,i){e=e||new f(0,0);t.style[oi]=(Ee?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(i?" scale("+i+")":"")}function M(t,e){t._leaflet_pos=e,D?St(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function Ct(t){return t._leaflet_pos||new f(0,0)}function Tt(){y(window,"dragstart",b)}function Mt(){n(window,"dragstart",b)}function At(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Lt(),ci=(li=t).style.outline,t.style.outline="none",y(window,"keydown",Lt))}function Lt(){li&&(li.style.outline=ci,ci=li=void 0,n(window,"keydown",Lt))}function Dt(t,e){if(e&&t.length){var e=e*e,i=t=((t,e)=>{for(var i=[t[0]],n=1,o=0,a=t.length;n<a;n++)((t,e)=>{var i=e.x-t.x;return i*i+(e=e.y-t.y)*e})(t[n],t[o])>e&&(i.push(t[n]),o=n);return o<a-1&&i.push(t[a-1]),i})(t,e),n=i.length,o=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);o[0]=o[n-1]=1,function t(e,i,n,o,a){var r,s,l,c=0;for(s=o+1;s<=a-1;s++)(l=Ot(e[s],e[o],e[a],!0))>c&&(r=s,c=l);n<c&&(i[r]=1,t(e,i,n,o,r),t(e,i,n,r,a))}(i,o,e,0,n-1);var a,r=[];for(a=0;a<n;a++)o[a]&&r.push(i[a]);return r}return t.slice()}function Pt(t,e,i){return Math.sqrt(Ot(t,e,i,!0))}function It(t,e,i,n,o){var a,r,s,l=n?mi:zt(t,i),c=zt(e,i);for(mi=c;;){if(!(l|c))return[t,e];if(l&c)return!1;s=zt(r=Et(t,e,a=l||c,i,o),i),a===l?(t=r,l=s):(e=r,c=s)}}function Et(t,e,i,n,o){var a,r,s=e.x-t.x,e=e.y-t.y,l=n.min,n=n.max;return 8&i?(a=t.x+s*(n.y-t.y)/e,r=n.y):4&i?(a=t.x+s*(l.y-t.y)/e,r=l.y):2&i?(a=n.x,r=t.y+e*(n.x-t.x)/s):1&i&&(a=l.x,r=t.y+e*(l.x-t.x)/s),new f(a,r,o)}function zt(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function Ot(t,e,i,n){var o=e.x,e=e.y,a=i.x-o,r=i.y-e,s=a*a+r*r;return 0<s&&(1<(s=((t.x-o)*a+(t.y-e)*r)/s)?(o=i.x,e=i.y):0<s&&(o+=a*s,e+=r*s)),a=t.x-o,r=t.y-e,n?a*a+r*r:new f(o,e)}function jt(t){return!te(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function Nt(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),jt(t)}function Bt(t,e,i){for(var n,o,a,r,s,l,c,u=[1,4,2,8],d=0,h=t.length;d<h;d++)t[d]._code=zt(t[d],e);for(a=0;a<4;a++){for(l=u[a],n=[],d=0,o=(h=t.length)-1;d<h;
1o=d++)r=t[d],s=t[o],r._code&l?s._code&l||((c=Et(s,r,l,e,i))._code=zt(c,e),n.push(c)):(s._code&l&&((c=Et(s,r,l,e,i))._code=zt(c,e),n.push(c)),n.push(r));t=n}return t}function $t(t,e){var i,n,o,a,r="Feature"===t.type?t.geometry:t,s=r?r.coordinates:null,l=[],c=e&&e.pointToLayer,u=e&&e.coordsToLatLng||Rt;if(!s&&!r)return null;switch(r.type){case"Point":return i=u(s),c?c(t,i):new Ti(i);case"MultiPoint":for(o=0,a=s.length;o<a;o++)i=u(s[o]),l.push(c?c(t,i):new Ti(i));return new xi(l);case"LineString":case"MultiLineString":return n=Wt(s,"LineString"===r.type?0:1,u),new Di(n,e);case"Polygon":case"MultiPolygon":return n=Wt(s,"Polygon"===r.type?1:2,u),new Pi(n,e);case"GeometryCollection":for(o=0,a=r.geometries.length;o<a;o++){var d=$t({geometry:r.geometries[o],type:"Feature",properties:t.properties},e);d&&l.push(d)}return new xi(l);default:throw new Error("Invalid GeoJSON object.")}}function Rt(t){return new v(t[1],t[0],t[2])}function Wt(t,e,i){for(var n,o=[],a=0,r=t.length;a<r;a++)n=e?Wt(t[a],e-1,i):(i||Rt)(t[a]),o.push(n);return o}function Ft(t,e){return e="number"==typeof e?e:6,void 0!==t.alt?[i(t.lng,e),i(t.lat,e),i(t.alt,e)]:[i(t.lng,e),i(t.lat,e)]}function Ht(t,e,i,n){for(var o=[],a=0,r=t.length;a<r;a++)o.push(e?Ht(t[a],e-1,i,n):Ft(t[a],n));return!e&&i&&o.push(o[0]),o}function Yt(t,e){return t.feature?l({},t.feature,{geometry:e}):Vt(e)}function Vt(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}function Ut(t,e){return new Ii(t,e)}function qt(t,e){return new Ri(t,e)}function Zt(t){return Fe?new Hi(t):null}function Gt(t){return He||Ye?new Ui(t):null}var Xt=Object.freeze,Qt=(Object.freeze=function(t){return t},Object.create||function(t){return re.prototype=t,new re}),Jt=0,Kt=/\{ *([\w_-]+) *\}/g,te=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},ee="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",ie=0,ne=window.requestAnimationFrame||Y("RequestAnimationFrame")||V,oe=window.cancelAnimationFrame||Y("CancelAnimationFrame")||Y("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)},ae=(Object.freeze||Object)({freeze:Xt,extend:l,create:Qt,bind:h,lastId:Jt,stamp:s,throttle:N,wrapNum:B,falseFn:c,formatNum:i,trim:$,splitWords:R,setOptions:a,getParamString:W,template:F,isArray:te,indexOf:H,emptyImageUrl:ee,requestFn:ne,cancelFn:oe,requestAnimFrame:_,cancelAnimFrame:r});function re(){}U.extend=function(t){function e(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var i,n=e.__super__=this.prototype,o=Qt(n);for(i in(o.constructor=e).prototype=o,this)this.hasOwnProperty(i)&&"prototype"!==i&&"__super__"!==i&&(e[i]=this[i]);if(t.statics&&(l(e,t.statics),delete t.statics),t.includes){var a=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){a=te(a)?a:[a];for(var r=0;r<a.length;
1r++)a[r]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}l.apply(null,[o].concat(t.includes)),delete t.includes}return o.options&&(t.options=l(Qt(o.options),t.options)),l(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},e},U.include=function(t){return l(this.prototype,t),this},U.mergeOptions=function(t){return l(this.prototype.options,t),this},U.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var o={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,a=(t=R(t)).length;o<a;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(t)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else for(var o=0,a=(t=R(t)).length;o<a;o++)this._off(t[o],e,i);else delete this._events;return this},_on:function(t,e,i){this._events=this._events||{};var n=this._events[t];n||(this._events[t]=n=[]);for(var t={fn:e,ctx:i=i===this?void 0:i},o=n,a=0,r=o.length;a<r;a++)if(o[a].fn===e&&o[a].ctx===i)return;o.push(t)},_off:function(t,e,i){var n,o,a;if(this._events&&(n=this._events[t]))if(e){if(i===this&&(i=void 0),n)for(o=0,a=n.length;o<a;o++){var r=n[o];if(r.ctx===i&&r.fn===e)return r.fn=c,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,a=n.length;o<a;o++)n[o].fn=c;delete this._events[t]}},fire:function(t,e,i){if(this.listens(t,i)){var n=l({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var o=this._events[t];if(o){this._firingCount=this._firingCount+1||1;for(var a=0,r=o.length;a<r;a++){var s=o[a];s.fn.call(s.ctx||this,n)}this._firingCount--}}i&&this._propagateEvent(n)}return this},listens:function(t,e){var i=this._events&&this._events[t];if(i&&i.length)return!0;if(e)for(var n in this._eventParents)if(this._eventParents[n].listens(t,e))return!0;return!1},once:function(t,e,i){if("object"==typeof t){for(var n in t)this.once(n,t[n],e);return this}var o=h(function(){this.off(t,e,i).off(t,o,i)},this);return this.on(t,e,i).on(t,o,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[s(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[s(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,l({layer:t.target,propagatedFrom:t.target},t),!0)}},se=(o.addEventListener=o.on,o.removeEventListener=o.clearAllEventListeners=o.off,o.addOneTimeEventListener=o.once,o.fireEvent=o.fire,o.hasEventListeners=o.listens,U.extend(o)),le=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)},ce=(f.prototype={clone:function(){return new f(this.x,this.y)},add:function(t){return this.clone()._add(u(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(u(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new f(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new f(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=le(this.x),this.y=le(this.y),this},distanceTo:function(t){var e=(t=u(t)).x-this.x,t=t.y-this.y;return Math.sqrt(e*e+t*t)},equals:function(t){return(t=u(t)).x===this.x&&t.y===this.y},contains:function(t){return t=u(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+i(this.x)+", "+i(this.y)+")"}},m.prototype={extend:function(t){return t=u(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new f((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new f(this.min.x,this.max.y)},getTopRight:function(){return new f(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return(t=("number"==typeof t[0]||t instanceof f?u:d)(t))instanceof m?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=d(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>=e.x&&n.x<=i.x,e=e.y<=t.y&&n.y<=i.y;return o&&e},overlaps:function(t){t=d(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>e.x&&n.x<i.x,e=e.y<t.y&&n.y<i.y;return o&&e},isValid:function(){return!(!this.min||!this.max)}},p.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof v)i=e=t;else{if(!(t instanceof p))return t?this.extend(w(t)||g(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new v(e.lat,e.lng),this._northEast=new v(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,t=Math.abs(e.lng-i.lng)*t;return new p(new v(e.lat-n,e.lng-t),new v(i.lat+n,i.lng+t))},getCenter:function(){return new v((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new v(this.getNorth(),this.getWest())},getSouthEast:function(){return new v(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,389 bytes, line 1
1,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=("number"==typeof t[0]||t instanceof v||"lat"in t?w:g)(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof p?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=g(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>=e.lat&&n.lat<=i.lat,t=t.lng>=e.lng&&n.lng<=i.lng;return o&&t},overlaps:function(t){t=g(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>e.lat&&n.lat<i.lat,t=t.lng>e.lng&&n.lng<i.lng;return o&&t},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=g(t),this._southWest.equals(t.getSouthWest(),e))&&this._northEast.equals(t.getNorthEast(),e)},isValid:function(){return!(!this._southWest||!this._northEast)}},{latLngToPoint:function(t,e){t=this.projection.project(t),e=this.scale(e);return this.transformation._transform(t,e)},pointToLatLng:function(t,e){e=this.scale(e),t=this.transformation.untransform(t,e);return this.projection.unproject(t)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){var e;return this.infinite?null:(e=this.projection.bounds,t=this.scale(t),new m(this.transformation.transform(e.min,t),this.transformation.transform(e.max,t)))},infinite:!(v.prototype={equals:function(t,e){return!!t&&(t=w(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+i(this.lat,t)+", "+i(this.lng,t)+")"},distanceTo:function(t){return ue.distance(this,w(t))},wrap:function(){return ue.wrapLatLng(this)},toBounds:function(t){var t=180*t/40075017,e=t/Math.cos(Math.PI/180*this.lat);return g([this.lat-t,this.lng-e],[this.lat+t,this.lng+e])},clone:function(){return new v(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?B(t.lng,this.wrapLng,!0):t.lng;return new v(this.wrapLat?B(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,e=e.lng-i.lng;
1return 0==n&&0==e?t:(i=t.getSouthWest(),t=t.getNorthEast(),new p(new v(i.lat-n,i.lng-e),new v(t.lat-n,t.lng-e)))}}),ue=l({},ce,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,a=Math.sin((e.lat-t.lat)*i/2),e=Math.sin((e.lng-t.lng)*i/2),t=a*a+Math.cos(n)*Math.cos(o)*e*e,i=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*i}}),de={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,i=Math.max(Math.min(i,t.lat),-i),i=Math.sin(i*e);return new f(this.R*t.lng*e,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(t){var e=180/Math.PI;return new v((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new m([-(de=6378137*Math.PI),-de],[de,de])};q.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return t.x=(e=e||1)*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return new f((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var he,pe,fe,me,ge,ve=l({},ue,{code:"EPSG:3857",projection:de,transformation:Z(ve=.5/(Math.PI*de.R),.5,-ve,.5)}),ye=l({},ve,{code:"EPSG:900913"}),be=document.documentElement.style,_e="ActiveXObject"in window,we=_e&&!document.addEventListener,xe="msLaunchUri"in navigator&&!("documentMode"in document),ke=e("webkit"),Se=e("android"),Ce=e("android 2")||e("android 3"),Te=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Me=Se&&e("Google")&&Te<537&&!("AudioNode"in window),Te=!!window.opera,Ae=e("chrome"),Le=e("gecko")&&!ke&&!Te&&!_e,De=!Ae&&e("safari"),A=e("phantom"),Pe="OTransition"in be,Ie=0===navigator.platform.indexOf("Win"),Ee=_e&&"transition"in be,ze="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!Ce,be="MozPerspective"in be,D=!window.L_DISABLE_3D&&(Ee||ze||be)&&!Pe&&!A,Oe="undefined"!=typeof orientation||e("mobile"),je=Oe&&ke,Ne=Oe&&ze,P=!window.PointerEvent&&window.MSPointerEvent,I=!(!window.PointerEvent&&!P),Be=!window.L_NO_TOUCH&&(I||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),$e=Oe&&Te,Re=Oe&&Le,We=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Fe=!!document.createElement("canvas").getContext,He=!(!document.createElementNS||!G("svg").createSVGRect),Ye=!He&&(()=>{try{var t=document.createElement("div"),e=(t.innerHTML='<v:shape adj="1"/>',t.firstChild);return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}})(),_e=(Object.freeze||Object)({ie:_e,ielt9:we,edge:xe,webkit:ke,android:Se,android23:Ce,androidStock:Me,opera:Te,chrome:Ae,gecko:Le,safari:De,phantom:A,opera12:Pe,win:Ie,ie3d:Ee,webkit3d:ze,gecko3d:be,any3d:D,mobile:Oe,mobileWebkit:je,mobileWebkit3d:Ne,msPointer:P,pointer:I,touch:Be,mobileOpera:$e,mobileGecko:Re,retina:We,canvas:Fe,svg:He,vml:Ye}),Ve=P?"MSPointerDown":"pointerdown",Ue=P?"MSPointerMove":"pointermove",qe=P?"MSPointerUp":"pointerup",Ze=P?"MSPointerCancel":"pointercancel",Ge=["INPUT","SELECT","OPTION"],Xe={},Qe=!1,Je=0,Ke=P?"MSPointerDown":I?"pointerdown":"touchstart",ti=P?"MSPointerUp":I?"pointerup":"touchend",ei="_leaflet_",E="_leaflet_events",ii=Ie&&Ae?2*window.devicePixelRatio:Le?window.devicePixelRatio:1,ni={},ke=(Object.freeze||Object)({on:y,off:n,stopPropagation:rt,disableScrollPropagation:st,disableClickPropagation:lt,preventDefault:b,stop:ct,getMousePosition:ut,getWheelDelta:dt,fakeStop:ht,skipped:pt,isExternalTarget:ft,addListener:y,removeListener:n}),oi=kt(["transform","WebkitTransform","OTransform","MozTransform","msTransform"]),ai=kt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ri="webkitTransition"===ai||"OTransition"===ai?ai+"End":"transitionend";ge="onselectstart"in document?(me=function(){y(window,"selectstart",b)},function(){n(window,"selectstart",b)}):(fe=kt(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),me=function(){var t;fe&&(t=document.documentElement.style,pe=t[fe],t[fe]="none")},function(){fe&&(document.documentElement.style[fe]=pe,pe=void 0)});function si(t){return new O(t)}var li,ci,Te=(Object.freeze||Object)({TRANSFORM:oi,TRANSITION:ai,TRANSITION_END:ri,get:mt,getStyle:gt,create:x,remove:k,empty:vt,toFront:yt,toBack:bt,hasClass:_t,addClass:S,removeClass:C,setClass:wt,getClass:xt,setOpacity:T,testProp:kt,setTransform:St,setPosition:M,getPosition:Ct,disableTextSelection:me,enableTextSelection:ge,disableImageDrag:Tt,enableImageDrag:Mt,preventOutline:At,restoreOutline:Lt}
vendor: 13,254 bytes, line 1
1),ui=se.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Ct(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=_(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){t=this._startPos.add(this._offset.multiplyBy(t));e&&t._round(),M(this._el,t),this.fire("step")},_complete:function(){r(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),z=se.extend({options:{crs:ve,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=a(this,e),this._initContainer(t),this._initLayout(),this._onResize=h(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(w(e.center),e.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this.callInitHooks(),this._zoomAnimated=ai&&D&&!$e&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),y(this._proxy,ri,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,i){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(w(t),e,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=l({animate:i.animate},i.zoom),i.pan=l({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,i.zoom):this._tryAnimatedPan(t,i.pan))?clearTimeout(this._sizeTimer):this._resetView(t,e),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(D?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(D?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),t=(t instanceof f?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),n=this.containerPointToLatLng(o.add(t));return this.setView(n,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():g(t);var i=u(e.paddingTopLeft||e.padding||[0,0]),n=u(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));return(o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0?{center:t.getCenter(),zoom:o}:(e=n.subtract(i).divideBy(2),n=this.project(t.getSouthWest(),o),i=this.project(t.getNorthEast(),o),{center:this.unproject(n.add(i).divideBy(2).add(e),o),zoom:o})},fitBounds:function(t,e){if((t=g(t)).isValid())return t=this._getBoundsCenterZoom(t,e),this.setView(t.center,t.zoom,e);throw new Error("Bounds are not valid.")},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){var i;return e=e||{},(t=u(t).round()).x||t.y?(!0===e.animate||this.getSize().contains(t)?(this._panAnim||(this._panAnim=new ui,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate?(S(this._mapPane,"leaflet-pan-anim"),i=this._getMapPanePos().subtract(t).round(),this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)):(this._rawPanBy(t),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this):this.fire("moveend")},flyTo:function(n,o,t){function e(t){t=(h*h-d*d+(t?-1:1)*m*m*p*p)/(2*(t?h:d)*m*p),t=Math.sqrt(t*t+1)-t;return t<1e-9?-18:Math.log(t)}function i(t){return(Math.exp(t)-Math.exp(-t))/2}function a(t){return(Math.exp(t)+Math.exp(-t))/2}function r(t){return d*(a(g)*(i(t=g+f*t)/a(t))-i(g))/m}if(!1===(t=t||{}).animate||!D)return this.setView(n,o,t);this._stop();var s=this.project(this.getCenter()),l=this.project(n),c=this.getSize(),u=this._zoom,d=(n=w(n),o=void 0===o?u:o,Math.max(c.x,c.y)),h=d*this.getZoomScale(u,o),p=l.distanceTo(s)||1,f=1.42,m=f*f,g=e(0),v=Date.now(),y=(e(1)-g)/f,b=t.duration?1e3*t.duration:1e3*y*.8;return this._moveStart(!0,t.noMoveStart),function t(){var e=(Date.now()-v)/b,i=(1-Math.pow(1-e,1.5))*y;e<=1?(this._flyToFrame=_(t,this),this._move(this.unproject(s.add(l.subtract(s).multiplyBy(r(i)/p)),u),this.getScaleZoom(d/(e=i,d*(a(g)/a(g+f*e))),u),{flyTo:!0})):this._move(n,o)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){t=this._getBoundsCenterZoom(t,e);return this.flyTo(t.center,t.zoom,e)},setMaxBounds:function(t){return(t=g(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),t=this._limitCenter(i,this._zoom,g(t));return i.equals(t)||this.panTo(t,e),this._enforcingBounds=!1,this},invalidateSize:function(t){if(!this._loaded)return this;t=l({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize(),i=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),n=e.divideBy(2).round(),o=i.divideBy(2).round(),n=n.subtract(o);return n.x||n.y?(t.animate&&t.pan?this.panBy(n):(t.pan&&this._rawPanBy(n),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(h(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){var e,i;return(t=this._locateOptions=l({timeout:1e4,watch:!1},t),"geolocation"in navigator)?(e=h(this._handleGeolocationResponse,this),i=h(this._handleGeolocationError,this),t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,t=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+t+"."})},_handleGeolocationResponse:function(t){var e,i,n=new v(t.coords.latitude,t.coords.longitude),o=n.toBounds(t.coords.accuracy),a=this._locateOptions,r=(a.setView&&(e=this.getBoundsZoom(o),this.setView(n,a.maxZoom?Math.min(e,a.maxZoom):e)),{latlng:n,bounds:o,timestamp:t.timestamp});for(i in t.coords)"number"==typeof t.coords[i]&&(r[i]=t.coords[i]);this.fire("locationfound",r)},addHandler:function(t,e){return e&&(e=this[t]=new e(this),this._handlers.push(e),this.options[t])&&e.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(var t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),k(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)k(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){e=x("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new p(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=g(t),i=u(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),a=this.getMaxZoom(),r=t.getNorthWest(),t=t.getSouthEast(),i=this.getSize().subtract(i),t=d(this.project(t,n),this.project(r,n)).getSize(),r=D?this.options.zoomSnap:1,s=i.x/t.x,i=i.y/t.y,t=e?Math.max(s,i):Math.min(s,i),n=this.getScaleZoom(t,n);return r&&(n=Math.round(n/(r/100))*(r/100),n=e?Math.ceil(n/r)*r:Math.floor(n/r)*r),Math.max(o,Math.min(a,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new f(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){t=this._getTopLeftPoint(t,e);return new m(t,t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs,t=(e=void 0===e?this._zoom:e,i.zoom(t*i.scale(e)));return isNaN(t)?1/0:t},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(w(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(u(t),e)},layerPointToLatLng:function(t){t=u(t).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(t){return this.project(w(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(w(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(g(t))},distance:function(t,e){return this.options.crs.distance(w(t),w(e))},containerPointToLayerPoint:function(t){return u(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return u(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){t=this.containerPointToLayerPoint(u(t));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(w(t)))},mouseEventToContainerPoint:function(t){return ut(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){t=this._container=mt(t);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");y(t,"scroll",this._onScroll,this),this._containerId=s(t)},_initLayout:function(){var t=this._container,e=(this._fadeAnimated=this.options.fadeAnimation&&D,S(t,"leaflet-container"+(Be?" leaflet-touch":"")+(We?" leaflet-retina":"")+(we?" leaflet-oldie":"")+(De?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),gt(t,"position"));"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),M(this._mapPane,new f(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(S(t.markerPane,"leaflet-zoom-hide"),S(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){M(this._mapPane,new f(0,0));var i=!this._loaded,n=(this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset"),this._zoom!==e);this._moveStart(n,!1)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this}
1,_move:function(t,e,i){void 0===e&&(e=this._zoom);var n=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return r(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){M(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var e=t?n:y;e((this._targets[s(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),D&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){r(this._resizeRequest),this._resizeRequest=_(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,a=t.target||t.srcElement,r=!1;a;){if((i=this._targets[s(a)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(i)){r=!0;break}if(i&&i.listens(e,!0)){if(o&&!ft(a,t))break;if(n.push(i),o)break}if(a===this._container)break;a=a.parentNode}return n=n.length||r||o||!ft(a,t)?n:[this]},_handleDOMEvent:function(t){var e;this._loaded&&!pt(t)&&("mousedown"!==(e=t.type)&&"keypress"!==e||At(t.target||t.srcElement),this._fireDOMEvent(t,e))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){if("click"===t.type&&((o=l({},t)).type="preclick",this._fireDOMEvent(o,o.type,i)),!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,e))).length){var n,o=i[0],a=("contextmenu"===e&&o.listens(e,!0)&&b(t),{originalEvent:t});"keypress"!==t.type&&(n=o.getLatLng&&(!o._radius||o._radius<=10),a.containerPoint=n?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(t),a.layerPoint=this.containerPointToLayerPoint(a.containerPoint),a.latlng=n?o.getLatLng():this.layerPointToLatLng(
vendor: 1,112 bytes, line 1
1a.layerPoint));for(var r=0;r<i.length;r++)if(i[r].fire(e,a,!0),a.originalEvent._stopped||!1===i[r].options.bubblingMouseEvents&&-1!==H(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return Ct(this._mapPane)||new f(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){i=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,i){i=this._getNewPixelOrigin(i,e);
1return d([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){var n,o;return!i||(n=this.project(t,e),o=this.getSize().divideBy(2),o=new m(n.subtract(o),n.add(o)),(o=this._getBoundsOffset(o,i,e)).round().equals([0,0]))?t:this.unproject(n.add(o),e)},_limitOffset:function(t,e){var i;return e?(i=new m((i=this.getPixelBounds()).min.add(t),i.max.add(t)),t.add(this._getBoundsOffset(i,e))):t},_getBoundsOffset:function(t,e,i){e=d(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),i=e.min.subtract(t.min),e=e.max.subtract(t.max);return new f(this._rebound(i.x,-e.x),this._rebound(i.y,-e.y))},_rebound:function(t,e){return 0<t+e?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=D?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){C(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){t=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(t)||(this.panBy(t,e),0))},_createAnimProxy:function(){var t=this._proxy=x("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=oi,i=this._proxy.style[e];St(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),e=this.getZoom();St(this._proxy,this.project(t,e),this.getZoomScale(e,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){k(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){var n;return!(!this._animatingZoom&&(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold||(n=this.getZoomScale(e),n=this._getCenterOffset(t)._divideBy(1-1/n),!0!==i.animate&&!this.getSize().contains(n))||(_(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),0)))},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,S(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),setTimeout(h(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&C(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),_(function(){this._moveEnd(!0)},this))}}),O=U.extend({options:{position:"topright"},initialize:function(t){a(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),t=t._controlCorners[i];return S(e,"leaflet-control"),-1!==i.indexOf("bottom")?t.insertBefore(e,t.firstChild):t.appendChild(e),this},remove:function(){return this._map&&(k(this._container),this.onRemove&&this.onRemove(this._map),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}}),di=(z.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){function t(t,e){i[t+e]=x("div",n+t+" "+n+e,o)}var i=this._controlCorners={},n="leaflet-",o=this._controlContainer=x("div",n+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)k(this._controlCorners[t]);k(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}
vendor: 6,050 bytes, line 1
1),O.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){for(var n in a(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return O.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);t=this._getLayer(s(t));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){S(this._container,"leaflet-control-layers-expanded"),this._form.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._form.clientHeight?(S(this._form,"leaflet-control-layers-scrollbar"),this._form.style.height=t+"px"):C(this._form,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return C(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=x("div",t),i=this.options.collapsed,n=(e.setAttribute("aria-haspopup",!0),lt(e),st(e),this._form=x("form",t+"-list")),o=(i&&(this._map.on("click",this.collapse,this),Se||y(e,{mouseenter:this.expand,mouseleave:this.collapse},this)),this._layersLink=x("a",t+"-toggle",e));o.href="#",o.title="Layers",Be?(y(o,"click",ct),y(o,"click",this.expand,this)):y(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=x("div",t+"-base",n),this._separator=x("div",t+"-separator",n),this._overlaysList=x("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&s(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(h(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(this._container){vt(this._baseLayersList),vt(this._overlaysList),this._layerControlInputs=[];for(var t,e,i,n=0,o=0;o<this._layers.length;o++)i=this._layers[o],this._addItem(i),e=e||i.overlay,t=t||!i.overlay,n+=i.overlay?0:1;this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<n)?"":"none"),this._separator.style.display=e&&t?"":"none"}return this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target)),t=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;t&&this._map.fire(t,e)},_createRadioElement:function(t,e){t='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",e=document.createElement("div");return e.innerHTML=t,e.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer),n=(t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers",n),this._layerControlInputs.push(e),e.layerId=s(t.layer),y(e,"click",this._onInputClick,this),document.createElement("span")),o=(n.innerHTML=" "+t.name,document.createElement("div"));return i.appendChild(o),o.appendChild(e),o.appendChild(n),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var a=i.length-1;0<=a;a--)t=i[a],e=this._getLayer(t.layerId).layer,(t.checked?n:(t.checked,o)).push(e);for(a=0;a<o.length;a++)this._map.hasLayer(o[a])&&this._map.removeLayer(o[a]);for(a=0;a<n.length;a++)this._map.hasLayer(n[a])||this._map.addLayer(n[a]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;0<=o;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}})),hi=O.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=x("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))}
1,_createButton:function(t,e,i,n,o){i=x("a",i,n);return i.innerHTML=t,i.href="#",i.title=e,i.setAttribute("role","button"),i.setAttribute("aria-label",e),lt(i),y(i,"click",ct),y(i,"click",o,this),y(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";C(this._zoomInButton,e),C(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMinZoom()||S(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMaxZoom()||S(this._zoomInButton,e)}}),pi=(z.mergeOptions({zoomControl:!0}),z.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new hi,this.addControl(this.zoomControl))}),O.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=x("div","leaflet-control-scale"),i=this.options;return this._addScales(i,"leaflet-control-scale-line",e),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=x("div",e,i)),t.imperial&&(this._iScale=x("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,t=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(t)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,i,t=3.2808399*t;5280<t?(i=this._getRoundNum(e=t/5280),this._updateScale(this._iScale,i+" mi",i/e)):(i=this._getRoundNum(t),this._updateScale(this._iScale,i+" ft",i/t))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),t=t/e;return e*(10<=t?10:5<=t?5:3<=t?3:2<=t?2:1)}})),fi=O.extend({options:{position:"bottomright",prefix:'<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){a(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=x("div","leaflet-control-attribution"),lt(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t,e=[];for(t in this._attributions)this._attributions[t]&&e.push(t);var i=[];this.options.prefix&&i.push(this.options.prefix),e.length&&i.push(e.join(", ")),this._container.innerHTML=i.join(" | ")}}}),A=(z.mergeOptions({attributionControl:!0}),z.addInitHook(function(){this.options.attributionControl&&(new fi).addTo(this)}),O.Layers=di,O.Zoom=hi,O.Scale=pi,O.Attribution=fi,si.layers=function(t,e,i){return new di(t,e,i)},si.zoom=function(t){return new hi(t)},si.scale=function(t){return new pi(t)},si.attribution=function(t){return new fi(t)},U.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}}));A.addTo=function(t,e){return t.addHandler(e,this),this};var mi,Pe={Events:o},gi=Be?"touchstart mousedown":"mousedown",vi={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},yi={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},bi=se.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){a(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(y(this._dragStartTarget,gi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(bi._dragging===this&&this.finishDrag(),n(this._dragStartTarget,gi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var e;t._simulated||!this._enabled||(this._moved=!1,_t(this._element,"leaflet-zoom-anim"))||(bi._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((bi._dragging=this)._preventOutline&&At(this._element),Tt(),me(),this._moving))||(this.fire("down"),e=t.touches?t.touches[0]:t,this._startPoint=new f(e.clientX,e.clientY),y(document,yi[t.type],this._onMove,this),y(document,vi[t.type],this._onUp,this))},_onMove:function(t){var e;!t._simulated&&this._enabled&&(t.touches&&1<t.touches.length?this._moved=!0:!(e=new f((e=t.touches&&1===t.touches.length?t.touches[0]:t).clientX,e.clientY).subtract(this._startPoint)).x&&!e.y||Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(b(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=Ct(this._element).subtract(e),S(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),S(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,r(this._animRequest),this._lastEvent=t,this._animRequest=_(this._updatePosition,this,!0)))},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),M(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in C(document.body,"leaflet-dragging"),this._lastTarget&&(C(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),yi)n(document,yi[t],this._onMove,this),n(document,vi[t],this._onUp,this);Mt(),ge(),this._moved&&this._moving&&(r(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,bi._dragging=!1}}),ze=(Object.freeze||Object)({simplify:Dt,pointToSegmentDistance:Pt,closestPointOnSegment:function(t,e,
vendor: 16,440 bytes, line 1
1i){return Ot(t,e,i)},clipSegment:It,_getEdgeIntersection:Et,_getBitCode:zt,_sqClosestPointOnSegment:Ot,isFlat:jt,_flat:Nt}),be=(Object.freeze||Object)({clipPolygon:Bt}),je={project:function(t){return new f(t.lng,t.lat)},unproject:function(t){return new v(t.y,t.x)},bounds:new m([-180,-90],[180,90])},Ne={R:6378137,R_MINOR:6356752.314245179,bounds:new m([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,o=Math.sqrt(1-o*o),a=o*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-a)/(1+a),o/2),n=-i*Math.log(Math.max(a,1e-10));return new f(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,a=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),s=Math.PI/2-2*Math.atan(r),l=0,c=.1;l<15&&1e-7<Math.abs(c);l++)e=a*Math.sin(s),e=Math.pow((1-e)/(1+e),a/2),s+=c=Math.PI/2-2*Math.atan(r*e)-s;return new v(s*i,t.x*i/n)}},Re=(Object.freeze||Object)({LonLat:je,Mercator:Ne,SphericalMercator:de}),Ie=l({},ue,{code:"EPSG:3395",projection:Ne,transformation:Z(P=.5/(Math.PI*Ne.R),.5,-P,.5)}),_i=l({},ue,{code:"EPSG:4326",projection:je,transformation:Z(1/180,1,-1/180,.5)}),Le=l({},ce,{projection:je,transformation:Z(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,e=e.lat-t.lat;return Math.sqrt(i*i+e*e)},infinite:!0}),j=(ce.Earth=ue,ce.EPSG3395=Ie,ce.EPSG3857=ve,ce.EPSG900913=ye,ce.EPSG4326=_i,ce.Simple=Le,se.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[s(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e,i=t.target;i.hasLayer(this)&&(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents&&(e=this.getEvents(),i.on(e,this),this.once("remove",function(){i.off(e,this)},this)),this.onAdd(i),this.getAttribution&&i.attributionControl&&i.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),i.fire("layeradd",{layer:this}))}})),wi=(z.include({addLayer:function(t){var e;if(t._layerAdd)return e=s(t),this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this;throw new Error("The provided object is not a Layer.")},removeLayer:function(t){var e=s(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return!!t&&s(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?te(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[s(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){t=s(t);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var t,e=1/0,i=-1/0,n=this._getZoomSpan();for(t in this._zoomBoundLayers)var o=this._zoomBoundLayers[t].options,e=void 0===o.minZoom?e:Math.min(e,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom);this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}}),j.extend({initialize:function(t,e){var i,n;if(a(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){t=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)(i=this._layers[e])[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:s})),xi=wi.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),wi.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?((t=t in this._layers?this._layers[t]:t).removeEventParent(this),wi.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t,e=new p;for(t in this._layers){var i=this._layers[t];e.extend(i.getBounds?i.getBounds():i.getLatLng())}return e}}),ki=U.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){a(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(i)return i=this._createImg(i,e&&"IMG"===e.tagName?e:null),this._setIconStyles(i,t),i;if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"],n=u(n="number"==typeof n?[n,n]:n),o=u("shadow"===e&&i.shadowAnchor||i.iconAnchor||n&&n.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),n&&(t.style.width=n.x+"px",t.style.height=n.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return We&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Si=ki.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Si.imagePath||(Si.imagePath=this._detectIconPath()),(this.options.imagePath||Si.imagePath)+ki.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=x("div","leaflet-default-icon-path",document.body),e=gt(t,"background-image")||gt(t,"backgroundImage");return document.body.removeChild(t),null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Ci=A.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new bi(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),S(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&C(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,a=L.DomUtil.getPosition(e._icon),r=i.getPixelBounds(),s=i.getPixelOrigin(),s=d(r.min._subtract(s).add(o),r.max._subtract(s).subtract(o));s.contains(a)||(o=u((Math.max(s.max.x,a.x)-s.max.x)/(r.max.x-s.max.x)-(Math.min(s.min.x,a.x)-s.min.x)/(r.min.x-s.min.x),(Math.max(s.max.y,a.y)-s.max.y)/(r.max.y-s.max.y)-(Math.min(s.min.y,a.y)-s.min.y)/(r.min.y-s.min.y)).multiplyBy(n),i.panBy(o,{animate:!1}),this._draggable._newPos._add(o),this._draggable._startPos._add(o),L.DomUtil.setPosition(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=_(this._adjustPan.bind(this,t)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(r(this._panRequest),this._panRequest=_(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=Ct(e._icon),o=e._map.layerPointToLatLng(n);i&&M(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){r(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Ti=j.extend({options:{icon:new Si,interactive:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",bubblingMouseEvents:!1},initialize:function(t,e){a(this,e),this._latlng=w(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=w(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){var t;return this._icon&&this._map&&(t=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(t)),this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1,i=(i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName)&&(i.alt=t.alt||""),S(i,e),t.keyboard&&(i.tabIndex="0"),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),t.icon.createShadow(this._shadow)),o=!1;i!==this._shadow&&(this._removeShadow(),o=!0),i&&(S(i,e),i.alt=""),this._shadow=i,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&o&&this.getPane("shadowPane").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),k(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&k(this._shadow),this._shadow=null},_setPos:function(t){M(this._icon,t),this._shadow&&M(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(t)},_initInteraction:function(){var t;this.options.interactive&&(S(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Ci)&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Ci(this),t&&this.dragging.enable())},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;T(this._icon,t),this._shadow&&T(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Mi=j.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return a(this,t),this._renderer&&this._renderer._updateStyle(this),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),Ai=Mi.extend({options:{fill:!0,radius:10},initialize:function(t,e){a(this,e),this._latlng=w(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=w(t),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return Mi.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),t=[t+i,e+i];this._pxBounds=new m(this._point.subtract(t),this._point.add(t))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Li=Ai.extend({initialize:function(t,e,i){if(a(this,e="number"==typeof e?l({},i,{radius:e}):e),this._latlng=w(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new p(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Mi.prototype.setStyle,_project:function(){var t,e,i,n,o,a=this._latlng.lng,r=this._latlng.lat,s=this._map,l=s.options.crs;l.distance===ue.distance?(n=Math.PI/180,o=this._mRadius/ue.R/n,t=s.project([r+o,a]),e=s.project([r-o,a]),e=t.add(e).divideBy(2),i=s.unproject(e).lat,n=Math.acos((Math.cos(o*n)-Math.sin(r*n)*Math.sin(i*n))/(Math.cos(r*n)*Math.cos(i*n)))/n,!isNaN(n)&&0!==n||(n=o/Math.cos(Math.PI/180*r)),this._point=e.subtract(s.getPixelOrigin()),this._radius=isNaN(n)?0:e.x-s.project([i,a-n]).x,this._radiusY=e.y-t.y):(o=l.unproject(l.project(this._latlng).subtract([this._mRadius,0])),this._point=s.latLngToLayerPoint(this._latlng),this._radius=this._point.x-s.latLngToLayerPoint(o).x),this._updateBounds()}}),Di=Mi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){a(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,i,n=1/0,o=null,a=Ot,r=0,s=this._parts.length;r<s;r++)for(var l=this._parts[r],c=1,u=l.length;c<u;c++){var d=a(t,e=l[c-1],i=l[c],!0);d<n&&(n=d,o=a(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o}
1,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,a,r=this._rings[0],s=r.length;if(!s)return null;for(e=t=0;t<s-1;t++)e+=r[t].distanceTo(r[t+1])/2;if(0===e)return this._map.layerPointToLatLng(r[0]);for(i=t=0;t<s-1;t++)if(n=r[t],o=r[t+1],(i+=a=n.distanceTo(o))>e)return this._map.layerPointToLatLng([o.x-(a=(i-e)/a)*(o.x-n.x),o.y-a*(o.y-n.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=w(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new p,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return jt(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=jt(t),n=0,o=t.length;n<o;n++)i?(e[n]=w(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new m,e=(this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._clickTolerance()),e=new f(e,e);this._bounds.isValid()&&t.isValid()&&(t.min._subtract(e),t.max._add(e),this._pxBounds=t)},_projectLatlngs:function(t,e,i){var n,o,a=t[0]instanceof v,r=t.length;if(a){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var e,i,n,o,a=this._parts,r=0,s=0,l=this._rings.length;r<l;r++)for(e=0,i=(o=this._rings[r]).length;e<i-1;e++)(n=It(o[e],o[e+1],t,e,!0))&&(a[s]=a[s]||[],a[s].push(n[0]),n[1]===o[e+1]&&e!==i-2||(a[s].push(n[1]),s++))},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=Dt(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,a,r,s,l=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(t))for(i=0,a=this._parts.length;i<a;i++)for(n=0,o=(r=(s=this._parts[i]).length)-1;n<r;o=n++)if((e||0!==n)&&Pt(t,s[o],s[n])<=l)return!0;return!1}}),Pi=(Di._flat=Nt,Di.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
vendor: 9,295 bytes, line 1
1,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,a,r,s,l,c=this._rings[0],u=c.length;if(!u)return null;for(t=a=r=s=0,e=u-1;t<u;e=t++)i=c[t],n=c[e],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,s+=(i.y+n.y)*o,a+=3*o;return l=0===a?c[0]:[r/a,s/a],this._map.layerPointToLatLng(l)},_convertLatLngs:function(t){var t=Di.prototype._convertLatLngs.call(this,t),e=t.length;return 2<=e&&t[0]instanceof v&&t[0].equals(t[e-1])&&t.pop(),t},_setLatLngs:function(t){Di.prototype._setLatLngs.call(this,t),jt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return(jt(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,e=new f(e,e),t=new m(t.min.subtract(e),t.max.add(e));if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,n=0,o=this._rings.length;n<o;n++)(i=Bt(this._rings[n],t,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,a,r,s,l,c=!1;if(!this._pxBounds.contains(t))return!1;for(o=0,s=this._parts.length;o<s;o++)for(a=0,r=(l=(e=this._parts[o]).length)-1;a<l;r=a++)i=e[a],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||Di.prototype._containsPoint.call(this,t,!0)}})),Ii=xi.extend({initialize:function(t,e){a(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=te(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var a,r=this.options;return(!r.filter||r.filter(t))&&(a=$t(t,r))?(a.feature=Vt(t),a.defaultOptions=a.options,this.resetStyle(a),r.onEachFeature&&r.onEachFeature(t,a),this.addLayer(a)):this},resetStyle:function(t){return t.options=l({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(t,e){"function"==typeof e&&(e=e(t.feature)),t.setStyle&&t.setStyle(e)}}),o={toGeoJSON:function(t){return Yt(this,{type:"Point",coordinates:Ft(this.getLatLng(),t)})}},de=(Ti.include(o),Li.include(o),Ai.include(o),Di.include({toGeoJSON:function(t){var e=!jt(this._latlngs);return Yt(this,{type:(e?"Multi":"")+"LineString",coordinates:Ht(this._latlngs,e?1:0,!1,t)})}}),Pi.include({toGeoJSON:function(t){var e=!jt(this._latlngs),i=e&&!jt(this._latlngs[0]),t=Ht(this._latlngs,i?2:e?1:0,!0,t);return Yt(this,{type:(i?"Multi":"")+"Polygon",coordinates:t=e?t:[t]})}}),wi.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(t){i.push(t.toGeoJSON(e).geometry.coordinates)}),Yt(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(e){var i,n,t=this.feature&&this.feature.geometry&&this.feature.geometry.type;return"MultiPoint"===t?this.toMultiPoint(e):(i="GeometryCollection"===t,n=[],this.eachLayer(function(t){t.toGeoJSON&&(t=t.toGeoJSON(e),i?n.push(t.geometry):"FeatureCollection"===(t=Vt(t)).type?n.push.apply(n,t.features):n.push(t))}),i?Yt(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n})}}),Ut),Ei=j.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=g(e),a(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(S(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){k(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&yt(this._image),this},bringToBack:function(){return this._map&&bt(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=g(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:x("img");S(e,"leaflet-image-layer"),this._zoomAnimated&&S(e,"leaflet-zoom-animated"),this.options.className&&S(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onload=h(this.fire,this,"load"),e.onerror=h(this._overlayOnError,this,"error"),this.options.crossOrigin&&(e.crossOrigin=""),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),t=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;St(this._image,t,e)},_reset:function(){var t=this._image,e=new m(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();M(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){T(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&null!=this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),zi=Ei.extend({options:{autoplay:!0,loop:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:x("video");if(S(e,"leaflet-image-layer"),this._zoomAnimated&&S(e,"leaflet-zoom-animated"),e.onselectstart=c,e.onmousemove=c,e.onloadeddata=h(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o<i.length;o++)n.push(i[o].src);this._url=0<i.length?n:[e.src]}else{te(this._url)||(this._url=[this._url]),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop;for(var a=0;a<this._url.length;a++){var r=x("source");r.src=this._url[a],e.appendChild(r)}}}}),Oi=j.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){a(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&T(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&T(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(T(this._container,0),this._removeTimeout=setTimeout(h(k,void 0,this._container),200)):k(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=w(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&yt(this._container),this},bringToBack:function(){return this._map&&bt(this._container),this},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){var t,e,i;this._map&&(e=this._map.latLngToLayerPoint(this._latlng),t=u(this.options.offset),i=this._getAnchor(),this._zoomAnimated?M(this._container,e.add(i)):t=t.add(e).add(i),e=this._containerBottom=-t.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+t.x,this._container.style.bottom=e+"px",this._container.style.left=i+"px")},_getAnchor:function(){return[0,0]}}),ji=Oi.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){Oi.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Mi||this._source.on("preclick",rt))},onRemove:function(t){Oi.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Mi||this._source.off("preclick",rt))},getEvents:function(){var t=Oi.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&
1(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=x("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=x("div",t+"-content-wrapper",e);this._contentNode=x("div",t+"-content",i),lt(i),st(this._contentNode),y(i,"contextmenu",rt),this._tipContainer=x("div",t+"-tip-container",e),this._tip=x("div",t+"-tip",this._tipContainer),this.options.closeButton&&((i=this._closeButton=x("a",t+"-close-button",e)).href="#close",i.innerHTML="×",y(i,"click",this._onCloseButtonClick,this))},_updateLayout:function(){var t=this._contentNode,e=t.style,i=(e.width="",e.whiteSpace="nowrap",t.offsetWidth),i=Math.min(i,this.options.maxWidth),i=(i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="",t.offsetHeight),n=this.options.maxHeight;(n&&n<i?(e.height=n+"px",S):C)(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();M(this._container,t.add(e))},_adjustPan:function(){var t,e,i,n,o,a,r,s;!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress||(t=this._map,e=parseInt(gt(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+e,s=this._containerWidth,(i=new f(this._containerLeft,-e-this._containerBottom))._add(Ct(this._container)),i=t.layerPointToContainerPoint(i),o=u(this.options.autoPanPadding),n=u(this.options.autoPanPaddingTopLeft||o),o=u(this.options.autoPanPaddingBottomRight||o),a=t.getSize(),r=0,i.x+s+o.x>a.x&&(r=i.x+s-a.x+o.x),i.x-r-n.x<(s=0)&&(r=i.x-n.x),i.y+e+o.y>a.y&&(s=i.y+e-a.y+o.y),i.y-s-n.y<0&&(s=i.y-n.y),(r||s)&&t.fire("autopanstart").panBy([r,s]))},_onCloseButtonClick:function(t){this._close(),ct(t)},_getAnchor:function(){return u(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Ni=(z.mergeOptions({closePopupOnClick:!0}),z.include({openPopup:function(t,e,i){return t instanceof ji||(t=new ji(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),j.include({bindPopup:function(t,e){return t instanceof ji?(a(t,e),(this._popup=t)._source=this):(this._popup&&!e||(this._popup=new ji(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){if(t instanceof j||(e=t,t=this),t instanceof xi)for(var i in this._layers){t=this._layers[i];break}return e=e||(t.getCenter?t.getCenter():t.getLatLng()),this._popup&&this._map&&(this._popup._source=t,this._popup.update(),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(ct(t),e instanceof Mi?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}}),Oi.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Oi.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Oi.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Oi.prototype.getEvents.call(this);return Be&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=x("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e=this._map,i=this._container,n=e.latLngToContainerPoint(e.getCenter()),e=e.layerPointToContainerPoint(t),o=this.options.direction,a=i.offsetWidth,r=i.offsetHeight,s=u(this.options.offset),l=this._getAnchor();t="top"===o?t.add(u(-a/2+s.x,-r+s.y+l.y,!0)):"bottom"===o?t.subtract(u(a/2-s.x,-s.y,!0)):"center"===o?t.subtract(u(a/2+s.x,r/2-l.y+s.y,!0)):"right"===o||"auto"===o&&e.x<n.x?(o="right",t.add(u(s.x+l.x,l.y-r/2+s.y,!0))):(o="left",t.subtract(u(a+l.x-s.x,r/2-l.y-s.y,!0))),C(i,"leaflet-tooltip-right"),C(i,"leaflet-tooltip-left"),C(i,"leaflet-tooltip-top"),C(i,"leaflet-tooltip-bottom"),S(i,"leaflet-tooltip-"+o),M(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&T(this._container,t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(t)},_getAnchor:function(){return u(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}
1)),Bi=(z.include({openTooltip:function(t,e,i){return t instanceof Ni||(t=new Ni(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),j.include({bindTooltip:function(t,e){return t instanceof Ni?(a(t,e),(this._tooltip=t)._source=this):(this._tooltip&&!e||(this._tooltip=new Ni(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){var e,i;!t&&this._tooltipHandlersAdded||(e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),Be&&(i.click=this._openTooltip)),this[e](i),this._tooltipHandlersAdded=!t)},openTooltip:function(t,e){if(t instanceof j||(e=t,t=this),t instanceof xi)for(var i in this._layers){t=this._layers[i];break}return e=e||(t.getCenter?t.getCenter():t.getLatLng()),this._tooltip&&this._map&&(this._tooltip._source=t,this._tooltip.update(),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive)&&this._tooltip._container&&(S(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container)),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive)&&this._tooltip._container&&(C(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container)),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var e=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(e,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(t=this._map.mouseEventToContainerPoint(t.originalEvent),t=this._map.containerPointToLayerPoint(t),e=this._map.layerPointToLatLng(t)),this._tooltip.setLatLng(e)}}),ki.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var t=t&&"DIV"===t.tagName?t:document.createElement("div"),e=this.options;return t.innerHTML=!1!==e.html?e.html:"",e.bgPos&&(e=u(e.bgPos),t.style.backgroundPosition=-e.x+"px "+-e.y+"px"),this._setIconStyles(t,"icon"),t},createShadow:function(){return null}})),$i=(ki.Default=Si,j.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Oe,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){a(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),k(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(yt(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(bt(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=N(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof f?t:new f(t,t)},_updateZIndex:function(){this._container&&null!=this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,a=i.length;o<a;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!we){T(this._container,this.options.opacity);var t,e=+new Date,i=!1,n=!1;for(t in this._tiles){var o,a=this._tiles[t];a.current&&a.loaded&&(o=Math.min(1,(e-a.loaded)/200),T(a.el,o),o<1?i=!0:(a.active?n=!0:this._onOpaqueTile(a),a.active=!0))}n&&!this._noPrune&&this._pruneTiles(),i&&(r(this._fadeFrame),this._fadeFrame=_(this._updateOpacity,this))}},_onOpaqueTile:c,_initContainer:function(){this._container||(this._container=x("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(k(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}
vendor: 27,878 bytes, line 1
1).el=x("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:c,_onRemoveLevel:c,_onCreateLevel:c,_pruneTiles:function(){if(this._map){var t,e,i,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)(e=this._tiles[t]).current&&!e.active&&(i=e.coords,this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2));for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)k(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,i,n){var t=Math.floor(t/2),e=Math.floor(e/2),i=i-1,o=new f(+t,+e),o=(o.z=i,this._tileCoordsToKey(o)),o=this._tiles[o];return o&&o.active?o.retain=!0:(o&&o.loaded&&(o.retain=!0),n<i&&this._retainParent(t,e,i,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var a=2*e;a<2*e+2;a++){var r=new f(o,a),r=(r.z=i+1,this._tileCoordsToKey(r)),r=this._tiles[r];r&&r.active?r.retain=!0:(r&&r.loaded&&(r.retain=!0),i+1<n&&this._retainChildren(o,a,i+1,n))}},_resetView:function(t){t=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=this._clampZoom(Math.round(e)),a=((void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0),this.options.updateWhenZooming&&o!==this._tileZoom);n&&!a||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),e=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();D?St(t.el,e,n):M(t.el,e)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),i=e.getZoomScale(i,this._tileZoom),t=e.project(t,this._tileZoom).floor(),e=e.getSize().divideBy(2*i);return new m(t.subtract(e),t.add(e))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n,e=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(e),a=o.getCenter(),r=[],e=this.options.keepBuffer,s=new m(o.getBottomLeft().subtract([e,-e]),o.getTopRight().add([e,-e]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(n in this._tiles){var l=this._tiles[n].coords;l.z===this._tileZoom&&s.contains(new f(l.x,l.y))||(this._tiles[n].current=!1)}if(1<Math.abs(i-this._tileZoom))this._setView(t,i);else{for(var c=o.min.y;c<=o.max.y;c++)for(var u=o.min.x;u<=o.max.x;u++){var d,h=new f(u,c);h.z=this._tileZoom,this._isValidTile(h)&&((d=this._tiles[this._tileCoordsToKey(h)])?d.current=!0:r.push(h))}if(r.sort(function(t,e){return t.distanceTo(a)-e.distanceTo(a)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));for(var p=document.createDocumentFragment(),u=0;u<r.length;u++)this._addTile(r[u],p);this._level.el.appendChild(p)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}return!this.options.bounds||(e=this._tileCoordsToBounds(t),g(this.options.bounds).overlaps(e))},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),i=n.add(i);return[e.unproject(n,t.z),e.unproject(i,t.z)]},_tileCoordsToBounds:function(t){t=this._tileCoordsToNwSe(t),t=new p(t[0],t[1]);return t=this.options.noWrap?t:this._map.wrapLatLngBounds(t)},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var t=t.split(":"),e=new f(+t[0],+t[1]);return e.z=+t[2],e},_removeTile:function(t){var e=this._tiles[t];e&&(Me||e.el.setAttribute("src",ee),k(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){S(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=c,t.onmousemove=c,we&&this.options.opacity<1&&T(t,this.options.opacity),Se&&!Ce&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),h(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&_(h(this._tileReady,this,t,null,o)),M(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){var n;this._map&&(e&&this.fire("tileerror",{error:e,tile:i,coords:t}),n=this._tileCoordsToKey(t),i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(T(i.el,0),r(this._fadeFrame),this._fadeFrame=_(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(S(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad())&&(this._loading=!1,this.fire("load"),we||!this._map._fadeAnimated?_(this._pruneTiles,this):setTimeout(h(this._pruneTiles,this),250))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new f(this._wrapX?B(t.x,this._wrapX):t.x,this._wrapY?B(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new m(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}})),Ri=$i.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=a(this,e)).detectRetina&&We&&0<e.maxZoom&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),Se||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return y(i,"load",h(this._tileOnLoad,this,e,i)),y(i,"error",h(this._tileOnError,this,e,i)),this.options.crossOrigin&&(i.crossOrigin=""),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:We?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(t=this._globalTileRange.max.y-t.y,this.options.tms&&(e.y=t),e["-y"]=t),F(this._url,l(e,this.options))},_tileOnLoad:function(t,e){we?setTimeout(h(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return(t=this.options.zoomReverse?e-t:t)+this.options.zoomOffset},_getSubdomain:function(t){t=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=c,e.onerror=c,e.complete||(e.src=ee,k(e),delete this._tiles[t]))}}),Wi=Ri.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i,n=l({},this.defaultWmsParams);for(i in e)i in this.options||(n[i]=e[i]);var t=(e=a(this,e)).detectRetina&&We?2:1,o=this.getTileSize();n.width=o.x*t,n.height=o.y*t,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[e]=this._crs.code,Ri.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,i=d(i.project(e[0]),i.project(e[1])),e=i.min,i=i.max,e=(1.3<=this._wmsVersion&&this._crs===_i?[e.y,e.x,i.y,i.x]:[e.x,e.y,i.x,i.y]).join(","),i=L.TileLayer.prototype.getTileUrl.call(this,t);return i+W(this.wmsParams,i,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+e},setParams:function(t,e){return l(this.wmsParams,t),e||this.redraw(),this}}),Fi=(Ri.WMS=Wi,qt.wms=function(t,e){return new Wi(t,e)},j.extend({options:{padding:.1,tolerance:0},initialize:function(t){a(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&S(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=Ct(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,e),t=this._map.project(t,e).subtract(a),e=o.multiplyBy(-i).add(n).add(o).subtract(t);D?St(this._container,e,i):M(this._container,e)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new m(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}})),Hi=Fi.extend({getEvents:function(){var t=Fi.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Fi.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");y(t,"mousemove",N(this._onMouseMove,32,this),this),y(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),y(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){delete this._ctx,k(this._container),n(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){var t,e,i,n;this._map._animatingZoom&&this._bounds||(this._drawnLayers={},Fi.prototype._update.call(this),t=this._bounds,e=this._container,i=t.getSize(),n=We?2:1,M(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",We&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update"))},_reset:function(){Fi.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t);t=(this._layers[s(t)]=t)._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,e=e.prev;i?i.prev=e:this._drawLast=e,e?e.next=i:this._drawFirst=i,delete t._order,delete this._layers[L.stamp(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if(t.options.dashArray){for(var e=t.options.dashArray.split(","),i=[],n=0;n<e.length;n++)i.push(Number(e[n]));t.options._dashArray=i}},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||_(this._redraw,this))},_extendRedrawBounds:function(t){var e;t._pxBounds&&(e=(t.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new m,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e])))},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t,e=this._redrawBounds;e?(t=e.getSize(),this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)):this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,e,i=this._redrawBounds;this._ctx.save(),i&&(e=i.getSize(),this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()),this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,a,r=t._parts,s=r.length,l=this._ctx;if(s){for(this._drawnLayers[t._leaflet_id]=t,l.beginPath(),i=0;i<s;i++){for(n=0,o=r[i].length;n<o;n++)a=r[i][n],l[n?"lineTo":"moveTo"](a.x,a.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){var e,i,n,o;this._drawing&&!t._empty()&&(e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n,this._drawnLayers[t._leaflet_id]=t,1!=o&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!=o&&i.restore(),this._fillStroke(i,t))},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(n)&&!this._map._draggableMoved(e)&&(i=e);i&&(ht(t),this._fireEvent([i],t))},_onMouseMove:function(t){var e;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(e=this._map.mouseEventToLayerPoint(t),this._handleMouseHover(t,e))},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(C(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,e){for(var i,n,o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n)&&(S(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order,i=e.next,n=e.prev;i&&((i.prev=n)?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,(this._drawLast.next=e).next=null,this._drawLast=e,this._requestRedraw(t))},_bringToBack:function(t){var e=t._order,i=e.next,n=e.prev;n&&((n.next=i)?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}),Yi=(()=>{try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}})(),Ne={_initContainer:function(){this._container=x("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Fi.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Yi("shape");S(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Yi("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;k(e),t.removeInteractiveTarget(e),delete this._layers[s(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e=e||(t._stroke=Yi("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=te(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i=i||(t._fill=Yi("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){yt(t._container)},_bringToBack:function(t){bt(t._container)}},Vi=Ye?Yi:G,Ui=Fi.extend({getEvents:function(){var t=Fi.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=Vi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Vi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){k(this._container),n(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){var t,e,i;this._map._animatingZoom&&this._bounds||(Fi.prototype._update.call(this),e=(t=this._bounds).getSize(),i=this._container,this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),M(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update"))},_initPath:function(t){var e=t._path=Vi("path");t.options.className&&S(e,t.options.className),t.options.interactive&&S(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){k(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,t=t.options;e&&(t.stroke?(e.setAttribute("stroke",t.color),e.setAttribute("stroke-opacity",t.opacity),e.setAttribute("stroke-width",t.weight),e.setAttribute("stroke-linecap",t.lineCap),e.setAttribute("stroke-linejoin",t.lineJoin),t.dashArray?e.setAttribute("stroke-dasharray",t.dashArray):e.removeAttribute("stroke-dasharray"),t.dashOffset?e.setAttribute("stroke-dashoffset",t.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),t.fill?(e.setAttribute("fill",t.fillColor||t.color),e.setAttribute("fill-opacity",t.fillOpacity),e.setAttribute("fill-rule",t.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,X(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",e=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,e)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){yt(t._path)},_bringToBack:function(t){bt(t._path)}}),qi=(Ye&&Ui.include(Ne),z.include({getRenderer:function(t){t=(t=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this.options.preferCanvas&&Zt()||Gt());return this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(t){var e;return"overlayPane"!==t&&void 0!==t&&(void 0===(e=this._paneRenderers[t])&&(e=Ui&&Gt({pane:t})||Hi&&Zt({pane:t}),this._paneRenderers[t]=e),e)}}),Pi.extend({initialize:function(t,e){Pi.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=g(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}})),P=(Ui.create=Vi,Ui.pointsToPath=X,Ii.geometryToLayer=$t,Ii.coordsToLatLng=Rt,Ii.coordsToLatLngs=Wt,Ii.latLngToCoords=Ft,Ii.latLngsToCoords=Ht,Ii.getFeature=Yt,Ii.asFeature=Vt,z.mergeOptions({boxZoom:!0}),A.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){y(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){n(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){k(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),me(),Tt(),this._startPoint=this._map.mouseEventToContainerPoint(t),y(document,{contextmenu:ct,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=x("div","leaflet-zoom-box",this._container),S(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var t=new m(this._point,this._startPoint),e=t.getSize();M(this._box,t.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(k(this._box),C(this._container,"leaflet-crosshair")),ge(),Mt(),n(document,{contextmenu:ct,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){1!==t.which&&1!==t.button||(this._finish(),!this._moved)||(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(h(this._resetState,this),0),t=new p(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t}))},_onKeyDown:function(t){27===t.keyCode&&this._finish()}})),je=(z.addInitHook("addHandler","boxZoom",P),z.mergeOptions({doubleClickZoom:!0}),A.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,i=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}})),Ie=(z.addInitHook("addHandler","doubleClickZoom",je),z.mergeOptions({dragging:!0,inertia:!Ce,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),A.extend({addHooks:function(){var t;this._draggable||(t=this._map,this._draggable=new bi(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))),S(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){C(this._map._container,"leaflet-grab"),C(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t,e=this._map;e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(t=g(this._map.options.maxBounds),this._offsetLimit=d(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))):this._offsetLimit=null,e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){var e,i;this._map.options.inertia&&(e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(i),this._times.push(e),this._prunePositions(e)),this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){var t,e;this._viscosity&&this._offsetLimit&&(t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit,t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t))},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,n=(n+e+i)%t-e-i,t=Math.abs(o+i)<Math.abs(n+i)?o:n;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=t},_onDragEnd:function(t){var e,i,n,o,a=this._map,r=a.options,s=!r.inertia||this._times.length<2;a.fire("dragend",t),!s&&(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,e=r.easeLinearity,s=(t=t.multiplyBy(e/s)).distanceTo([0,0]),i=Math.min(r.inertiaMaxSpeed,s),t=t.multiplyBy(i/s),n=i/(r.inertiaDeceleration*e),(o=t.multiplyBy(-n/2).round()).x||o.y)?(o=a._limitOffset(o,a.options.maxBounds),_(function(){a.panBy(o,{duration:n,easeLinearity:e,noMoveStart:!0,animate:!0})}
1)):a.fire("moveend")}})),ve=(z.addInitHook("addHandler","dragging",Ie),z.mergeOptions({keyboard:!0,keyboardPanDelta:80}),A.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),y(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),n(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){var t,e,i;this._focused||(i=document.body,t=document.documentElement,e=i.scrollTop||t.scrollTop,i=i.scrollLeft||t.scrollLeft,this._map._container.focus(),window.scrollTo(i,e))},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){for(var e=this._panKeys={},i=this.keyCodes,n=0,o=i.left.length;n<o;n++)e[i.left[n]]=[-1*t,0];for(n=0,o=i.right.length;n<o;n++)e[i.right[n]]=[t,0];for(n=0,o=i.down.length;n<o;n++)e[i.down[n]]=[0,t];for(n=0,o=i.up.length;n<o;n++)e[i.up[n]]=[0,-1*t]},_setZoomDelta:function(t){for(var e=this._zoomKeys={},i=this.keyCodes,n=0,o=i.zoomIn.length;n<o;n++)e[i.zoomIn[n]]=t;for(n=0,o=i.zoomOut.length;n<o;n++)e[i.zoomOut[n]]=-t},_addHooks:function(){y(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){n(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys){if(n._panAnim&&n._panAnim._inProgress)return;e=this._panKeys[i],t.shiftKey&&(e=u(e).multiplyBy(3)),n.panBy(e),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds)}else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}ct(t)}}})),ye=(z.addInitHook("addHandler","keyboard",ve),z.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),A.extend({addHooks:function(){y(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){n(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=dt(t),i=this._map.options.wheelDebounceTime,e=(this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date),Math.max(i-(+new Date-this._startTime),0));clearTimeout(this._timer),this._timer=setTimeout(h(this._performZoom,this),e),ct(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0,n=(t._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel)),n=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,i=i?Math.ceil(n/i)*i:n,n=t._limitZoom(e+(0<this._delta?i:-i))-e;this._delta=0,this._startTime=null,n&&("center"===t.options.scrollWheelZoom?t.setZoom(e+n):t.setZoomAround(this._lastMousePos,e+n))}})),Le=(z.addInitHook("addHandler","scrollWheelZoom",ye),z.mergeOptions({tap:!0,tapTolerance:15}),A.extend({addHooks:function(){y(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){n(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){var e;t.touches&&(b(t),this._fireClick=!0,1<t.touches.length?(this._fireClick=!1,clearTimeout(this._holdTimeout)):(t=(e=t.touches[0]).target,this._startPos=this._newPos=new f(e.clientX,e.clientY),t.tagName&&"a"===t.tagName.toLowerCase()&&S(t,"leaflet-active"),this._holdTimeout=setTimeout(h(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))},this),1e3),this._simulateEvent("mousedown",e),y(document,{touchmove:this._onMove,touchend:this._onUp},this)))},_onUp:function(t){var e;clearTimeout(this._holdTimeout),n(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches&&((e=(t=t.changedTouches[0]).target)&&e.tagName&&"a"===e.tagName.toLowerCase()&&C(e,"leaflet-active"),this._simulateEvent("mouseup",t),this._isTapValid())&&this._simulateEvent("click",t)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){t=t.touches[0];this._newPos=new f(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_simulateEvent:function(t,e){var i=document.createEvent("MouseEvents");i._simulated=!0,e.target._simulatedClick=!0,i.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(i)}})),o=(Be&&!I&&z.addInitHook("addHandler","tap",Le),z.mergeOptions({touchZoom:Be&&!Ce,bounceAtZoomLimits:!0}),A.extend({addHooks:function(){S(this._map._container,"leaflet-touch-zoom"),y(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){C(this._map._container,"leaflet-touch-zoom"),n(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e,i,n=this._map;!t.touches||2!==t.touches.length||n._animatingZoom||this._zooming||(e=n.mouseEventToContainerPoint(t.touches[0]),i=n.mou
1seEventToContainerPoint(t.touches[1]),this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),"center"!==n.options.touchZoom&&(this._pinchStartLatLng=n.containerPointToLatLng(e.add(i)._divideBy(2))),this._startDist=e.distanceTo(i),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),y(document,"touchmove",this._onTouchMove,this),y(document,"touchend",this._onTouchEnd,this),b(t))},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&o<1||this._zoom>e.getMaxZoom()&&1<o)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{i=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===i.x&&0===i.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(i),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),r(this._animRequest);n=h(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=_(n,this,!0),b(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,r(this._animRequest),n(document,"touchmove",this._onTouchMove),n(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}})),Zi=(z.addInitHook("addHandler","touchZoom",o),z.BoxZoom=P,z.DoubleClickZoom=je,z.Drag=Ie,z.Keyboard=ve,z.ScrollWheelZoom=ye,z.Tap=Le,z.TouchZoom=o,window.L);window.L=t,Object.freeze=Xt,t.version="1.3.1",t.noConflict=function(){return window.L=Zi,this},t.Control=O,t.control=si,t.Browser=_e,t.Evented=se,t.Mixin=Pe,t.Util=ae,t.Class=U,t.Handler=A,t.extend=l,t.bind=h,t.stamp=s,t.setOptions=a,t.DomEvent=ke,t.DomUtil=Te,t.PosAnimation=ui,t.Draggable=bi,t.LineUtil=ze,t.PolyUtil=be,t.Point=f,t.point=u,t.Bounds=m,t.bounds=d,t.Transformation=q,t.transformation=Z,t.Projection=Re,t.LatLng=v,t.latLng=w,t.LatLngBounds=p,t.latLngBounds=g,t.CRS=ce,t.GeoJSON=Ii,t.geoJSON=Ut,t.geoJson=de,t.Layer=j,t.LayerGroup=wi,t.layerGroup=function(t,e){return new wi(t,e)},t.FeatureGroup=xi,t.featureGroup=function(t){return new xi(t)},t.ImageOverlay=Ei,t.imageOverlay=function(t,e,i){return new Ei(t,e,i)},t.VideoOverlay=zi,t.videoOverlay=function(t,e,i){return new zi(t,e,i)},t.DivOverlay=Oi,t.Popup=ji,t.popup=function(t,e){return new ji(t,e)},t.Tooltip=Ni,t.tooltip=function(t,e){return new Ni(t,e)},t.Icon=ki,t.icon=function(t){return new ki(t)},t.DivIcon=Bi,t.divIcon=function(t){return new Bi(t)},t.Marker=Ti,t.marker=function(t,e){return new Ti(t,e)},t.TileLayer=Ri,t.tileLayer=qt,t.GridLayer=$i,t.gridLayer=function(t){return new $i(t)},t.SVG=Ui,t.svg=Gt,t.Renderer=Fi,t.Canvas=Hi,t.canvas=Zt,t.Path=Mi,t.CircleMarker=Ai,t.circleMarker=function(t,e){return new Ai(t,e)},t.Circle=Li,t.circle=function(t,e,i){return new Li(t,e,i)},t.Polyline=Di,t.polyline=function(t,e){return new Di(t,e)},t.Polygon=Pi,t.polygon=function(t,e){return new Pi(t,e)},t.Rectangle=qi,t.rectangle=function(t,e){return new qi(t,e)},t.Map=z,t.map=function(t,e){return new z(t,e)}}),(t=>{var e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.omnivore=t())})(function(){return function n(o,a,r){function s(i,t){if(!a[i]){if(!o[i]){var e="function"==typeof require&&require;if(!t&&e)return e(i,!0);if(l)return l(i,!0);t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}e=a[i]={exports:{}};o[i][0].call(e.exports,function(t){var e=o[i][1][t];return s(e||t)},e,e.exports,n,o,a,r)}return a[i].exports}for(var l="function"==typeof require&&require,t=0;t<r.length;t++)s(r[t]);return s}({1:[function(t,e){function r(t,e){"addData"in t&&t.addData(e),"setGeoJSON"in t&&t.setGeoJSON(e)}function o(t,e,i){var n,o="string"==typeof t?JSON.parse(t):t;for(n in i=i||L.geoJson(),o.objects){var a=m.feature(o,o.objects[n]);a.features?r(i,a.features):r(i,a)}return i}function s(t,e,i){return i=i||L.geoJson(),h.csv2geojson(t,e=e||{},function(t,e){return t?i.fire("error",{error:t}):void r(i,e)}),i}function a(t,e,i){t=n(t);return t?(r(i=i||L.geoJson(),g.gpx(t)),i):i.fire("error",{error:"Could not parse GPX"})}function l(t,e,i){t=n(t);return t?(r(i=i||L.geoJson(),g.kml(t)),i):i.fire("error",{error:"Could not parse KML"})}function c(t,e,i){i=i||L.geoJson();for(var n=f.decode(t,(e=e||{}).precision),o={type:"LineString",coordinates:[]},a=0;a<n.length;a++)o.coordinates[a]=[n[a][1],n[a][0]];return r(i,o),i}function u(t,e,i){return r(i=i||L.geoJson(),p(t)),i}function n(t){return"string"==typeof t?(new DOMParser).parseFromString(t,"text/xml"):t}var d=t("corslite"),h=t("csv2geojson"),p=t("wellknown"),f=t("polyline"),m=t("topojson/topojson.js"),g=t("togeojson");e.exports.polyline=function(t,i,e){var n=e||L.geoJson();return d(t,function(t,e){return t?n.fire("error",{error:t}):(c(e.responseText,i,n),void n.fire("ready"))}),n}
1,e.exports.polyline.parse=c,e.exports.geojson=function(t,e,i){var n=i||L.geoJson();return d(t,function(t,e){return t?n.fire("error",{error:t}):(r(n,JSON.parse(e.responseText)),void n.fire("ready"))}),n},e.exports.topojson=function(t,e,i){var n=i||L.geoJson();return d(t,function(t,e){return t?n.fire("error",{error:t}):(o(e.responseText,0,n),void n.fire("ready"))}),n},e.exports.topojson.parse=o,e.exports.csv=function(t,o,e){var a=e||L.geoJson();return d(t,function(t,e){function i(){n=!0}var n;return t?a.fire("error",{error:t}):(a.on("error",i),s(e.responseText,o,a),a.off("error",i),void(n||a.fire("ready")))}),a},e.exports.csv.parse=s,e.exports.gpx=function(t,e,i){var o=i||L.geoJson();return d(t,function(t,e){function i(){n=!0}var n;return t?o.fire("error",{error:t}):(o.on("error",i),a(e.responseXML||e.responseText,0,o),o.off("error",i),void(n||o.fire("ready")))}),o},e.exports.gpx.parse=a,e.exports.kml=function(t,e,i){var o=i||L.geoJson();return d(t,function(t,e){function i(){n=!0}var n;return t?o.fire("error",{error:t}):(o.on("error",i),l(e.responseXML||e.responseText,0,o),o.off("error",i),void(n||o.fire("ready")))}),o},e.exports.kml.parse=l,e.exports.wkt=function(t,e,i){var n=i||L.geoJson();return d(t,function(t,e){return t?n.fire("error",{error:t}):(u(e.responseText,0,n),void n.fire("ready"))}),n},e.exports.wkt.parse=u},{corslite:5,csv2geojson:6,polyline:9,togeojson:10,"topojson/topojson.js":11,wellknown:12}],2:[function(){},{}],3:[function(t,e){e.exports=t(2)},{"/Users/tmcw/src/leaflet-omnivore/node_modules/browserify/lib/_empty.js":2}],4:[function(t,e){function i(){}
1var n,o,a,r,s,e=e.exports={};e.nextTick=(a="undefined"!=typeof window&&window.setImmediate,r="undefined"!=typeof window&&window.MutationObserver,s="undefined"!=typeof window&&window.postMessage&&window.addEventListener,a?function(t){return window.setImmediate(t)}:(n=[],r?(o=document.createElement("div"),new MutationObserver(function(){var t=n.slice();n.length=0,t.forEach(function(t){t()})}).observe(o,{attributes:!0}),function(t){n.length||o.setAttribute("yes","no"),n.push(t)}):s?(window.addEventListener("message",function(t){var e=t.source;(e===window||null===e)&&"process-tick"===t.data&&(t.stopPropagation(),0<n.length)&&n.shift()()},!0),function(t){n.push(t),window.postMessage("process-tick","*")}):function(t){setTimeout(t,0)})),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=i,e.addListener=i,e.once=i,e.off=i,e.removeListener=i,e.removeAllListeners=i,e.emit=i,e.binding=function(){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(){throw new Error("process.chdir is not supported")}},{}],5:[function(t,e){void 0!==e&&(e.exports=function(t,e,i){function n(){var t;void 0===s.status||200<=(t=s.status)&&t<300||304===t?e.call(s,null,s):e.call(s,s,null)}var o,a=!1;if(void 0===window.XMLHttpRequest)return e(Error("Browser not supported"));void 0===i&&(i=(o=t.match(/^\s*https?:\/\/[^\/]*/))&&o[0]!==location.protocol+"//"+location.domain+(location.port?":"+location.port:""));var r,s=new window.XMLHttpRequest;return!i||"withCredentials"in s||(s=new window.XDomainRequest,r=e,e=function(){var t,e;a?r.apply(this,arguments):(t=this,e=arguments,setTimeout(function(){r.apply(t,e)},0))}),"onload"in s?s.onload=n:s.onreadystatechange=function(){4===s.readyState&&n()},s.onerror=function(t){e.call(this,t||!0,null),e=function(){}},s.onprogress=function(){},s.ontimeout=function(t){e.call(this,t,null),e=function(){}},s.onabort=function(t){e.call(this,t,null),e=function(){}},s.open("GET",t,!0),s.send(null),a=!0,s})},{}],6:[function(t,e){function g(t){return!!t.match(/(Lat)(itude)?/gi)}function v(t){return!!t.match(/(L)(on|ng)(gitude)?/i)}function r(t){return"object"==typeof t?Object.keys(t).length:0}function y(o){var a=[];return[",",";","\t","|"].forEach(function(t){var e=b(t).parse(o);if(1<=e.length){for(var i=r(e[0]),n=0;n<e.length;n++)if(r(e[n])!==i)return;a.push({delimiter:t,arity:Object.keys(e[0]).length})}}),a.length?a.sort(function(t,e){return e.arity-t.arity})[0].delimiter:null}var b=t("dsv"),_=t("sexagesimal");e.exports={isLon:v,isLat:g,csv:b.csv.parse,tsv:b.tsv.parse,dsv:b,auto:function(t){var e=y(t);return e?b(e).parse(t):null},csv2geojson:function(t,e,i){i||(i=e,e={}),e.delimiter=e.delimiter||",";var n=e.latfield||"",o=e.lonfield||"",a=[],r={type:"FeatureCollection",features:a};if("auto"===e.delimiter&&"string"==typeof t&&(e.delimiter=y(t),!e.delimiter))return i({type:"Error",message:"Could not autodetect delimiter"});var s="string"==typeof t?b(e.delimiter).parse(t):t;if(!s.length)return i(null,r);if(!n||!o){for(var l in s[0])!n&&g(l)&&(n=l),!o&&v(l)&&(o=l);if(!n||!o){var c,u=[];for(c in s[0])u.push(c);return i({type:"Error",message:"Latitude and longitude fields not present",data:s,fields:u})}}for(var d,h,p,f=[],m=0;m<s.length;m++)void 0!==s[m][o]&&void 0!==s[m][o]&&(d=s[m][o],h=s[m][n],(p=_(d,"EW"))&&(d=p),(p=_(h,"NS"))&&(h=p),p=parseFloat(d),d=parseFloat(h),isNaN(p)||isNaN(d)?f.push({message:"A row contained an invalid value for latitude or longitude",row:s[m]}):(e.includeLatLon||(delete s[m][o],delete s[m][n]),a.push({type:"Feature",properties:s[m],geometry:{type:"Point",coordinates:[parseFloat(p),parseFloat(d)]}})));i(f.length?f:null,r)}
1,toLine:function(t){for(var e=t.features,i={type:"Feature",geometry:{type:"LineString",coordinates:[]}},n=0;n<e.length;n++)i.geometry.coordinates.push(e[n].geometry.coordinates);return i.properties=e[0].properties,{type:"FeatureCollection",features:[i]}},toPolygon:function(t){for(var e=t.features,i={type:"Feature",geometry:{type:"Polygon",coordinates:[[]]}},n=0;n<e.length;n++)i.geometry.coordinates[0].push(e[n].geometry.coordinates);return i.properties=e[0].properties,{type:"FeatureCollection",features:[i]}}}},{dsv:7,sexagesimal:8}],7:[function(t,e){t("fs"),e.exports=new Function('dsv.version = "0.0.3";\n\ndsv.tsv = dsv("\\t");\ndsv.csv = dsv(",");\n\nfunction dsv(delimiter) {\n var dsv = {},\n reFormat = new RegExp("[\\"" + delimiter + "\\n]"),\n delimiterCode = delimiter.charCodeAt(0);\n\n dsv.parse = function(text, f) {\n var o;\n return dsv.parseRows(text, function(row, i) {\n if (o) return o(row, i - 1);\n var a = new Function("d", "return {" + row.map(function(name, i) {\n return JSON.stringify(name) + ": d[" + i + "]";\n }).join(",") + "}");\n o = f ? function(row, i) { return f(a(row), i); } : a;\n });\n };\n\n dsv.parseRows = function(text, f) {\n var EOL = {}, // sentinel value for end-of-line\n EOF = {}, // sentinel value for end-of-file\n rows = [], // output rows\n N = text.length,\n I = 0, // current character index\n n = 0, // the current line number\n t, // the current token\n eol; // is the current token followed by EOL?\n\n function token() {\n if (I >= N) return EOF; // special case: end of file\n if (eol) return eol = false, EOL; // special case: end of line\n\n // special case: quotes\n var j = I;\n if (text.charCodeAt(j) === 34) {\n var i = j;\n while (i++ < N) {\n if (text.charCodeAt(i) === 34) {\n if (text.charCodeAt(i + 1) !== 34) break;\n ++i;\n }\n }\n I = i + 2;\n var c = text.charCodeAt(i + 1);\n if (c === 13) {\n eol = true;\n if (text.charCodeAt(i + 2) === 10) ++I;\n } else if (c === 10) {\n eol = true;\n }\n return text.substring(j + 1, i).replace(/""/g, "\\"");\n }\n\n // common case: find next delimiter or newline\n while (I < N) {\n var c = text.charCodeAt(I++), k = 1;\n if (c === 10) eol = true; // \\n\n else if (c === 13) { eol = true; if (text.charCodeAt(I) === 10) ++I, ++k; } // \\r|\\r\\n\n else if (c !== delimiterCode) continue;\n return text.substring(j, I - k);\n }\n\n // special case: last token before EOF\n return text.substring(j);\n }\n\n while ((t = token()) !== EOF) {\n var a = [];\n while (t !== EOL && t !== EOF) {\n a.push(t);\n t = token();\n }\n if (f && !(a = f(a, n++))) continue;\n rows.push(a);\n }\n\n return rows;\n };\n\n dsv.format = function(rows) {\n if (Array.isArray(rows[0])) return dsv.formatRows(rows); // deprecated; use formatRows\n var fieldSet = {}, fields = [];\n\n // Compute unique fields in order of discovery.\n rows.forEach(function(row) {\n for (var field in row) {\n if (!(field in fieldSet)) {\n fields.push(fieldSet[field] = field);\n }\n }\n });\n\n return [fields.map(formatValue).join(delimiter)].concat(rows.map(function(row) {\n return fields.map(function(field) {\n return formatValue(row[field]);\n }).join(delimiter);\n })).join("\\n");\n };\n\n dsv.formatRows = function(rows) {\n return rows.map(formatRow).join("\\n");\n };\n\n function formatRow(row) {\n return row.map(formatValue).join(delimiter);\n }\n\n function formatValue(text) {\n return reFormat.test(text) ? "\\"" + text.replace(/\\"/g, "\\"\\"") + "\\"" : text;\n }\n\n return dsv;\n}\n;return dsv')()},{fs:2}],8:[function(t,e){e.exports=function(t,e){return e=e||"NSEW","string"!=typeof t||!(t=t.match(/^([0-9.]+)ð? *(?:([0-9.]+)['ââ¬â¢Ã¢â¬Â²Ã¢â¬Ë] *)?(?:([0-9.]+)(?:''|"|ââ¬Â|ââ¬Â³) *)?([NSEW])?/))||t[4]&&-1===e.indexOf(t[4])?null:((t[1]?parseFloat(t[1]):0)+(t[2]?parseFloat(t[2])/60:0)+(t[3]?parseFloat(t[3])/3600:0))*(t[4]&&"S"===t[4]||"W"===t[4]?-1:1)}},{}],9:[function(t,e){function s(t,e){t=Math.round(t*e),(t<<=1)<0&&(t=~t);for(var i="";32<=t;)i+=String.fromCharCode(63+(32|31&t)),t>>=5;return i+String.fromCharCode(t+63)}var i={decode:function(t,e){for(var i,n=0,o=0,a=0,r=[],s=0,l=0,c=null,u=Math.pow(10,e||5);n<t.length;){for(c=null,l=s=0;l|=(31&(c=t.charCodeAt(n++)-63))<<s,s+=5,32<=c;);for(i=1&l?~(l>>1):l>>1,s=l=0;l|=(31&(c=t.charCodeAt(n++)-63))<<s,s+=5,32<=c;);r.push([(o+=i)/u,(a+=1&l?~(l>>1):l>>1)/u])}return r},encode:function(t,e){if(!t.length)return"";for(var i=Math.pow(10,e||5),n=s(t[0][0],i)+s(t[0][1],i),o=1;o<t.length;o++)var a=t[o],r=t[o-1],n=(n+=s(a[0]-r[0],i))+s(a[1]-r[1],i);return n}};e.exports=i},{}],10:[function(i,r,s){!function(t){function v(t,e){return t.getElementsByTagName(e)}function y(t,e){return t.getAttribute(e)}function n(t,e){return parseFloat(y(t,e))}function b(t,e){t=v(t,e);return t.length?t[0]:null}function l(t){for(var e=0,i=[];e<t.length;e++)i[e]=parseFloat(t[e]);return i}function _(t){return t&&((e=t).normalize&&e.normalize()),t&&t.firstChild&&t.firstChild.nodeValue||"";var e}function w(t){return l(t.replace(e,"").split(","))}function x(t){for(var e=t.replace(o,"").split(a),i=[],n=0;n<e.length;n++)i.push(w(e[n]));return i}function d(t){var e=[n(t,"lon"),n(t,"lat")],i=b(t,"ele"),t=b(t,"time");return i&&e.push(parseFloat(_(i))),{coordinates:e,time:t?_(t):null}}function h(){return{type:"FeatureCollection",features:[]}}var c,e,o,a;toGeoJSON=(e=/\s*/g,o=/^\s*|\s*$/g,a=/\s+/,"undefined"!=typeof XMLSerializer?c=new XMLSerializer:"object"!=typeof s||"object"!=typeof t||t.browser||(c=new(i("xmldom").XMLSerializer)),{kml:function(t){function p(t){var e,i;return 6!==(t="#"===(t=t||"").substr(0,1)?t.substr(1):t).length&&3!==t.length||(e=t),8===t.length&&(i=parseInt(t.substr(0,2),16)/255,e=t.substr(2)),[e,isNaN(i)?void 0:i]}function f(t){var e=v(t,"coord"),i=[],n=[];0===e.length&&(e=v(t,"gx:coord"));for(var o=0;o<e.length;o++)i.push(l(_(e[o]).split(" ")));for(var a=v(t,"when"),o=0;o<a.length;o++)n.push(_(a[o]));return{coords:i,times:n}}function e(t){var e=function t(e){var i,n,o,a,r=[],s=[];if(b(e,"MultiGeometry"))return t(b(e,"MultiGeometry"));if(b(e,"MultiTrack"))return t(b(e,"MultiTrack"));if(b(e,"gx:MultiTrack"))return t(b(e,"gx:MultiTrack"));for(n=0;n<g.length;n++)if(i=v(e,g[n]))for(o=0;o<i.length;o++)if(a=i[o],"Point"==g[n])r.push({type:"Point",coordinates:w(_(b(a,"coordinates")))});else if("LineString"==g[n])r.push({type:"LineString",coordinates:x(_(b(a,"coordinates")))});else if("Polygon"==g[n]){for(var l=v(a,"LinearRing"),c=[],u=0;u<l.length;u++)c.push(x(_(b(l[u],"coordinates"))));r.push({type:"Polygon",coordinates:c})}else"Track"!=g[n]&&"gx:Track"!=g[n]||(a=f(a),r.push({type:"LineString",coordinates:a.coords}),a.times.length&&s.push(a.times));return{geoms:r,coordTimes:s}}(t),i={},n=_(b(t,"name")),o=_(b(t,"styleUrl")),a=_(b(t,"description")),r=b(t,"TimeSpan"),s=b(t,"ExtendedData"),l=b(t,"LineStyle"),c=b(t,"PolyStyle");if(!e.geoms.length)return[];if(n&&(i.name=n),o&&m[o]&&(i.styleUrl=o,i.styleHash=m[o]),a&&(i.description=a),r&&(n=_(b(r,"begin")),o=_(b(r,"end")),i.timespan={begin:n,end:o}),l&&(r=(a=p(_(b(l,"color"))))[0],n=a[1],o=parseFloat(_(b(l,"width"))),r&&(i.stroke=r),isNaN(n)||(i["stroke-opacity"]=n),isNaN(o)||(i["stroke-width"]=o)),c&&(l=(a=p(_(b(c,"color"))))[0],r=a[1],n=_(b(c,"fill")),o=_(b(c,"outline")),l&&(i.fill=l),isNaN(r)||(i["fill-opacity"]=r),n&&(i["fill-opacity"]="1"===n?1:0),o)&&(i["stroke-opacity"]="1"===o?1:0),s){for(var u=v(s,"Data"),d=v(s,"SimpleData"),h=0;h<u.length;h++)i[u[h].getAttribute("name")]=_(b(u[h],"value"));for(h=0;h<d.length;h++)i[d[h].getAttribute("name")]=_(d[h])}
1e.coordTimes.length&&(i.coordTimes=1===e.coordTimes.length?e.coordTimes[0]:e.coordTimes);a={type:"Feature",geometry:1===e.geoms.length?e.geoms[0]:{type:"GeometryCollection",geometries:e.geoms},properties:i};return y(t,"id")&&(a.id=y(t,"id")),[a]}for(var i,n=h(),m={},g=["Polygon","LineString","Point","Track","gx:Track"],o=v(t,"Placemark"),a=v(t,"Style"),r=0;r<a.length;r++)m["#"+y(a[r],"id")]=(t=>{if(!t||!t.length)return 0;for(var e=0,i=0;e<t.length;e++)i=(i<<5)-i+t.charCodeAt(e)|0;return i})(void 0!==(i=a[r]).xml?i.xml:c.serializeToString(i)).toString(16);for(var s=0;s<o.length;s++)n.features=n.features.concat(e(o[s]));return n},gpx:function(t){function r(t,e){var i=v(t,e),n=[],o=[],a=i.length;if(!(a<2)){for(var r=0;r<a;r++){var s=d(i[r]);n.push(s.coordinates),s.time&&o.push(s.time)}return{line:n,times:o}}}function s(t){for(var e=["name","desc","author","copyright","link","time","keywords"],i={},n=0;n<e.length;n++)i[e[n]]=_(b(t,e[n]));var o,a=i,r={};for(o in a)a[o]&&(r[o]=a[o]);return r}for(var e,i,n,o=v(t,"trk"),a=v(t,"rte"),l=v(t,"wpt"),c=h(),u=0;u<o.length;u++)(e=(t=>{for(var e,i=v(t,"trkseg"),n=[],o=[],a=0;a<i.length;a++)(e=r(i[a],"trkpt")).line&&n.push(e.line),e.times.length&&o.push(e.times);if(0!==n.length)return t=s(t),o.length&&(t.coordTimes=1===n.length?o[0]:o),{type:"Feature",properties:t,geometry:{type:1===n.length?"LineString":"MultiLineString",coordinates:1===n.length?n[0]:n}}})(o[u]))&&c.features.push(e);for(u=0;u<a.length;u++)(e=(t=>{var e=r(t,"rtept");if(e)return t={type:"Feature",properties:s(t),geometry:{type:"LineString",coordinates:e}},e.times.length&&(t.geometry.times=e.times),t})(a[u]))&&c.features.push(e);for(u=0;u<l.length;u++)c.features.push((i=l[u],n=void 0,(n=s(i)).sym=_(b(i,"sym")),{type:"Feature",properties:n,geometry:{type:"Point",coordinates:d(i).coordinates}}));return c}}),void 0!==r&&(r.exports=toGeoJSON)}.call(this,i("_process"))},{_process:4,xmldom:3}],11:[function(t,r){!function(){function h(s,n){function t(t,e){for(var i in t){i=t[i];
1delete e[i.start],delete i.start,delete i.end,i.forEach(function(t){o[t<0?~t:t]=1}),a.push(i)}}var o={},l={},c={},a=[],r=-1;return n.forEach(function(t,e){var i=s.arcs[t<0?~t:t];i.length<3&&!i[1][0]&&!i[1][1]&&(i=n[++r],n[r]=t,n[e]=i)}),n.forEach(function(t){a=t,o=s.arcs[a<0?~a:a],r=o[0],s.transform?(i=[0,0],o.forEach(function(t){i[0]+=t[0],i[1]+=t[1]})):i=o[o.length-1];var e,i,n,o=a<0?[i,r]:[r,i],a=o[0],r=o[1];(o=c[a])?(delete c[o.end],o.push(t),o.end=r,(e=l[r])?(delete l[e.start],n=e===o?o:o.concat(e),l[n.start=o.start]=c[n.end=e.end]=n):l[o.start]=c[o.end]=o):(o=l[r])?(delete l[o.start],o.unshift(t),o.start=a,(e=c[a])?(delete c[e.end],n=e===o?o:e.concat(o),l[n.start=e.start]=c[n.end=o.end]=n):l[o.start]=c[o.end]=o):l[(o=[t]).start=a]=c[o.end=r]=o}),t(c,l),t(l,c),n.forEach(function(t){o[t<0?~t:t]||a.push([t])}),a}function e(t,e,i){function n(t){var e=t<0?~t:t;(l[e]||(l[e]=[])).push({i:t,g:s})}function o(t){t.forEach(n)}function a(t){t.forEach(o)}var r=[];if(1<arguments.length){var s,l=[],c={LineString:o,MultiLineString:a,Polygon:a,MultiPolygon:function(t){t.forEach(a)}};(function t(e){"GeometryCollection"===e.type?e.geometries.forEach(t):e.type in c&&c[(s=e).type](e.arcs)})(e),l.forEach(arguments.length<3?function(t){r.push(t[0].i)}:function(t){i(t[0].g,t[t.length-1].g)&&r.push(t[0].i)})}else for(var u=0,d=t.arcs.length;u<d;++u)r.push(u);return{type:"MultiLineString",arcs:h(t,r)}}function i(r,t){function e(e){e.forEach(function(t){t.forEach(function(t){(l[t=t<0?~t:t]||(l[t]=[])).push(e)})}),i.push(e)}function s(t){return 0<(t=>{for(var e,i=-1,n=t.length,o=t[n-1],a=0;++i<n;)e=o,o=t[i],a+=e[0]*o[1]-e[1]*o[0];return.5*a})(a(r,{type:"Polygon",arcs:[t]}).coordinates[0])}var l={},i=[],o=[];return t.forEach(function(t){"Polygon"===t.type?e(t.arcs):"MultiPolygon"===t.type&&t.arcs.forEach(e)}),i.forEach(function(t){if(!t._){var e=[],i=[t];for(t._=1,o.push(e);t=i.pop();)e.push(t),t.forEach(function(t){t.forEach(function(t){l[t<0?~t:t].forEach(function(t){t._||(t._=1,i.push(t))})})})}}
1),i.forEach(function(t){delete t._}),{type:"MultiPolygon",arcs:o.map(function(t){var e=[];if(t.forEach(function(t){t.forEach(function(t){t.forEach(function(t){l[t<0?~t:t].length<2&&e.push(t)})})}),e=h(r,e),1<(n=e.length))for(var i,o=s(t[0][0]),a=0;a<n;++a)if(o===s(e[a])){i=e[0],e[0]=e[a],e[a]=i;break}return e})}}function o(t,e){t={type:"Feature",id:e.id,properties:e.properties||{},geometry:a(t,e)};return null==e.id&&delete t.id,t}function a(t,e){function i(t){return t=t.slice(),f(t,0),t}function n(t){for(var e=[],i=0,n=t.length;i<n;++i){o=void 0;a=void 0;r=void 0;s=void 0;l=void 0;c=void 0;d=void 0;u=void 0;h=void 0;p=void 0;var o=t[i];var a=e;a.length&&a.pop();for(var r,s=m[o<0?~o:o],l=0,c=s.length;l<c;++l)a.push(r=s[l].slice()),f(r,l);if(o<0)for(var u,d=a,o=c,h=d.length,p=h-o;p<--h;)u=d[p],d[p++]=d[h],d[h]=u}return e.length<2&&e.push(e[0].slice()),e}function o(t){for(var e=n(t);e.length<4;)e.push(e[0].slice());return e}function a(t){return t.map(o)}var f=k(t.transform),m=t.arcs,r={Point:function(t){return i(t.coordinates)},MultiPoint:function(t){return t.coordinates.map(i)},LineString:function(t){return n(t.arcs)},MultiLineString:function(t){return t.arcs.map(n)},Polygon:function(t){return a(t.arcs)},MultiPolygon:function(t){return t.arcs.map(a)}};return function t(e){var i=e.type;return"GeometryCollection"===i?{type:i,geometries:e.geometries.map(t)}:i in r?{type:i,coordinates:r[i](e)}:null}(e)}function f(t,e){for(var i=0,n=t.length;i<n;){var o=i+n>>>1;t[o]<e?i=1+o:n=o}return i}function w(t){var e=t[0],i=t[1],t=t[2];return Math.abs((e[0]-t[0])*(i[1]-e[1])-(e[0]-i[0])*(t[1]-e[1]))}function x(t,e){return t[1][2]-e[1][2]}function k(t){var i,n,o,a,r,s;return t?(o=t.scale[0],a=t.scale[1],r=t.translate[0],s=t.translate[1],function(t,e){e||(i=n=0),t[0]=(i+=t[0])*o+r,t[1]=(n+=t[1])*a+s}):S}function S(){}var t={version:"1.6.8",mesh:function(t){return a(t,e.apply(this,arguments))},meshArcs:e,merge:function(t){return a(t,i.apply(this,arguments))},mergeArcs:i,feature:function(e,t){return"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map(function(t){return o(e,t)})}:o(e,t)},neighbors:function(t){function i(t,i){t.forEach(function(t){var e=o[t=t<0?~t:t];e?e.push(i):o[t]=[i]})}function n(t,e){t.forEach(function(t){i(t,e)})}var e,o={},a=t.map(function(){return[]}),r={LineString:i,MultiLineString:n,Polygon:n,MultiPolygon:function(t,e){t.forEach(function(t){n(t,e)})}};for(e in t.forEach(function e(t,i){"GeometryCollection"===t.type?t.geometries.forEach(function(t){e(t,i)}):t.type in r&&r[t.type](t.arcs,i)}),o)for(var s=o[e],l=s.length,c=0;c<l;++c)for(var u=c+1;u<l;++u){var d,h=s[c],p=s[u];(d=a[h])[e=f(d,p)]!==p&&d.splice(e,0,p),(d=a[p])[e=f(d,h)]!==h&&d.splice(e,0,h)}return a},presimplify:function(t,o){function e(t){m.remove(t),t[1][2]=o(t),m.push(t)}var a,r,s,i,n,l,c,u,d,h,p=k(t.transform),f=(i=t.transform)?(c=i.scale[0],u=i.scale[1],d=i.translate[0],h=i.translate[1],function(t,e){e||(n=l=0);var e=(t[0]-d)/c|0,i=(t[1]-h)/u|0;t[0]=e-n,t[1]=i-l,n=e,l=i}):S,m=(r=[],s=0,(i={}).push=function(t){return v(r[t._=s]=t,s++),s},i.pop=function(){var t,e;if(!(s<=0))return e=r[0],0<--s&&y(r[(t=r[s])._=0]=t,0),e},i.remove=function(t){var e,i=t._;if(r[i]===t)return i!==--s&&(x(e=r[s],t)<0?v:y)(r[e._=i]=e,i),i},i),g=0;function v(t,e){for(;0<e;){var i=(e+1>>1)-1,n=r[i];if(0<=x(t,n))break;r[n._=e]=n,r[t._=e=i]=t}}function y(t,e){for(;;){var i=e+1<<1,n=i-1,o=e,a=r[o];if(n<s&&x(r[n],a)<0&&(a=r[o=n]),i<s&&x(r[i],a)<0&&(a=r[o=i]),o===e)break;r[a._=e]=a,r[t._=e=o]=t}}for(o=o||w,t.arcs.forEach(function(t){var e=[];t.forEach(p);for(var i=1,n=t.length-1;i<n;++i)(a=t.slice(i-1,i+2))[1][2]=o(a),e.push(a),m.push(a);t[0][2]=t[n][2]=1/0;for(i=0,n=e.length;i<n;++i)(a=e[i]).previous=e[i-1],a.next=e[i+1]});a=m.pop();){var b=a.previous,_=a.next;a[1][2]<g?a[1][2]=g:g=a[1][2],b&&(b.next=_,b[2]=a[2],e(b)),_&&(_.previous=b,_[0]=a[0],e(_))}return t.arcs.forEach(function(t){t.forEach(f)}),t}};"object"==typeof r&&r.exports?r.exports=t:this.topojson=t}()},{}],12:[function(t,e){function i(e){function a(t){t=e.substring(c).match(t);return t?(c+=t[0].length,t[0]):null}function r(){a(/^\s*/)}function i(){r();for(var t,e=0,i=[],n=[i],o=i;t=a(/^(\()/)||a(/^(\))/)||a(/^(\,)/)||a(u);){if("("==t)n.push(o),n[n.length-1].push(o=[]),e++;else if(")"==t){if(!(o=n.pop()))return;if(0===--e)break}else if(","===t)n[n.length-1].push(o=[]);else{if(isNaN(parseFloat(t)))return null;o.push(parseFloat(t))}r()}return 0!==e?null:i}function n(){for(var t,e,i=[];e=a(u)||a(/^(\,)/);)","==e?(i.push(t),t=[]):(t=t||[]).push(parseFloat(e)),r();return t&&i.push(t),i.length?i:null}function o(){var t,e=[];if(!a(/^(geometrycollection)/i))return null;if(r(),!a(/^(\()/))return null;for(;t=s();)e.push(t),r(),a(/^(\,)/),r();return a(/^(\))/)?{type:"GeometryCollection",geometries:e}:null}function s(){return(a(/^(point)/i)&&(r(),a(/^(\()/))&&(t=n())&&(r(
1),a(/^(\))/))?{type:"Point",coordinates:t[0]}:null)||(a(/^(linestring)/i)&&(r(),a(/^(\()/))&&(t=n())&&a(/^(\))/)?{type:"LineString",coordinates:t}:null)||(a(/^(polygon)/i)?(r(),{type:"Polygon",coordinates:i()}):null)||(()=>{if(!a(/^(multipoint)/i))return null;r();var t=i();return t?(r(),{type:"MultiPoint",coordinates:t}):null})()||(()=>{if(!a(/^(multilinestring)/i))return null;r();var t=i();return t?(r(),{type:"MultiLineString",coordinates:t}):null})()||function(){return a(/^(multipolygon)/i)?(r(),{type:"MultiPolygon",coordinates:i()}):null}()||o();var t}var t,l=e.split(";"),e=l.pop(),l=(l.shift()||"").split("=").pop(),c=0;return(t=s())&&l.match(/\d+/)&&(t.crs={type:"name",properties:{name:"urn:ogc:def:crs:EPSG::"+l}}),t}e.exports=i,e.exports.parse=i,e.exports.stringify=function t(e){function i(t){return 2===t.length?t[0]+" "+t[1]:3===t.length?t[0]+" "+t[1]+" "+t[2]:void 0}function n(t){return t.map(i).join(", ")}function o(t){return t.map(n).map(a).join(", ")}function a(t){return"("+t+")"}switch((e="Feature"===e.type?e.geometry:e).type){case"Point":return"POINT ("+i(e.coordinates)+")";case"LineString":return"LINESTRING ("+n(e.coordinates)+")";case"Polygon":return"POLYGON ("+o(e.coordinates)+")";case"MultiPoint":return"MULTIPOINT ("+n(e.coordinates)+")";case"MultiPolygon":return"MULTIPOLYGON ("+e.coordinates.map(o).map(a).join(", ")+")";case"MultiLineString":return"MULTILINESTRING ("+o(e.coordinates)+")";case"GeometryCollection":return"GEOMETRYCOLLECTION ("+e.geometries.map(t).join(", ")+")";default:throw new Error("stringify requires a valid GeoJSON Feature or geometry object as input")}};var u=/^[-+]?([0-9]*\.[0-9]+|[0-9]+)([eE][-+]?[0-9]+)?/},{}]},{},[1])(1)}),document.getElementsByTagName("script")),path=scripts[scripts.length-1].src.split("?")[0],tarteaucitronForceCDN=void 0===tarteaucitronForceCDN?"":tarteaucitronForceCDN,cdn=template_path,alreadyLaunch=void 0===alreadyLaunch?0:alreadyLaunch,tarteaucitronForceLanguage=void 0===tarteaucitronForceLanguage?"":tarteaucitronForceLanguage,tarteaucitronForceExpire=void 0===tarteaucitronForceExpire?"":tarteaucitronForceExpire,tarteaucitronCustomText=void 0===tarteaucitronCustomText?"":tarteaucitronCustomText,tarteaucitronExpireInDay=void 0===tarteaucitronExpireInDay||"boolean"!=typeof tarteaucitronExpireInDay||tarteaucitronExpireInDay,timeExpire=31536e6,tarteaucitronProLoadServices,tarteaucitronNoAdBlocker=!1,tarteaucitron={version:20201017,cdn:cdn,user:{},lang:{},services:{},added:[],idprocessed:[],state:[],launch:[],parameters:{},isAjax:!1,reloadThePage:!1,events:{init:function(){},load:function(){}},init:function(t){var e;tarteaucitron.parameters=t,0===alreadyLaunch&&(alreadyLaunch=1,window.addEventListener?(window.addEventListener("load",function(){tarteaucitron.initEvents.loadEvent(!1)},!1),window.addEventListener("scroll",function(){tarteaucitron.initEvents.scrollEvent()},!1),window.addEventListener("keydown",function(t){tarteaucitron.initEvents.keydownEvent(!1,t)},!1),window.addEventListener("hashchange",function(){tarteaucitron.initEvents.hashchangeEvent()},!1),window.addEventListener("resize",function(){tarteaucitron.initEvents.resizeEvent()},!1)):(window.attachEvent("onload",function(){tarteaucitron.initEvents.loadEvent(!0)}),window.attachEvent("onscroll",function(){tarteaucitron.initEvents.scrollEvent()}),window.attachEvent("onkeydown",function(t){tarteaucitron.initEvents.keydownEvent(!0,t)}),window.attachEvent("onhashchange",function(){tarteaucitron.initEvents.hashchangeEvent()}),window.attachEvent("onresize",function(){tarteaucitron.initEvents.resizeEvent()})),"undefined"!=typeof XMLHttpRequest)&&(e=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(){window.addEventListener?this.addEventListener("load",function(){"function"==typeof tarteaucitronProLoadServices&&tarteaucitronProLoadServices()},!1):void 0!==this.attachEvent?this.attachEvent("onload",function(){"function"==typeof tarteaucitronProLoadServices&&tarteaucitronProLoadServices()}):"function"==typeof tarteaucitronProLoadServices&&setTimeout(tarteaucitronProLoadServices,1e3);try{e.apply(this,arguments)}catch(t){}}),tarteaucitron.events.init&&tarteaucitron.events.init()},initEvents:{loadEvent:function(e){tarteaucitron.load(),tarteaucitron.fallback(["tarteaucitronOpenPanel"],function(t){e?t.attachEvent("onclick",function(t){tarteaucitron.userInterface.openPanel
1(),t.preventDefault()}):t.addEventListener("click",function(t){tarteaucitron.userInterface.openPanel(),t.preventDefault()},!1)},!0)},keydownEvent:function(t,e){27===e.keyCode&&tarteaucitron.userInterface.closePanel(),t&&9===e.keyCode&&0<=focusableEls.indexOf(e.target)&&(e.shiftKey?document.activeElement===firstFocusableEl&&(lastFocusableEl.focus(),e.preventDefault()):document.activeElement===lastFocusableEl&&(firstFocusableEl.focus(),e.preventDefault()))},hashchangeEvent:function(){document.location.hash===tarteaucitron.hashtag&&""!==tarteaucitron.hashtag&&tarteaucitron.userInterface.openPanel()},resizeEvent:function(){var t=document.getElementById("tarteaucitron"),e=document.getElementById("tarteaucitronCookiesListContainer");t&&"block"===t.style.display&&tarteaucitron.userInterface.jsSizing("main"),e&&"block"===e.style.display&&tarteaucitron.userInterface.jsSizing("cookie")},scrollEvent:function(){var t=window.pageYOffset||document.documentElement.scrollTop,e=document.getElementById("tarteaucitronPercentage"),i=document.getElementById("tarteaucitronAlertBig");i&&!tarteaucitron.highPrivacy&&"block"===i.style.display&&(i=i.offsetHeight+"px",t>2*screen.height?tarteaucitron.userInterface.respondAll(!0):t>screen.height/2&&(document.getElementById("tarteaucitronDisclaimerAlert").innerHTML="<strong>"+tarteaucitron.lang.alertBigScroll+"</strong> "+tarteaucitron.lang.alertBig),e)&&("top"===tarteaucitron.orientation?e.style.top=i:e.style.bottom=i,e.style.width=100/(2*screen.height)*t+"%")}},load:function(){var t=tarteaucitron.cdn,e=t+"/assets/js/libs/tarteaucitron/lang/tarteaucitron."+tarteaucitron.getLanguage()+".js?v="+tarteaucitron.version,i=t+"/assets/js/libs/tarteaucitron/tarteaucitron.services.js?v="+tarteaucitron.version,t=document.createElement("link"),n={adblocker:!1,hashtag:"#tarteaucitron",cookieName:"tarteaucitron",highPrivacy:!0,orientation:"middle",bodyPosition:"bottom",removeCredit:!1,showAlertSmall:!1,showIcon:!0,iconPosition:"BottomRight",cookieslist:!1,handleBrowserDNTRequest:!1,DenyAllCta:!0,AcceptAllCta:!0,moreInfoLink:!0,privacyUrl:"",useExternalCss:!1,useExternalJs:!1,mandatory:!0},o=tarteaucitron.parameters;if((void 0!==tarteaucitron.parameters.readmoreLink&&window.location.href==tarteaucitron.parameters.readmoreLink||window.location.href==tarteaucitron.parameters.privacyUrl)&&"middle"==tarteaucitron.parameters.orientation&&(tarteaucitron.parameters.orientation="bottom"),"undefined"!=typeof tarteaucitronCustomPremium&&tarteaucitronCustomPremium(),void 0!==o)for(var a in n)tarteaucitron.parameters.hasOwnProperty(a)||(tarteaucitron.parameters[a]=n[a]);tarteaucitron.orientation=tarteaucitron.parameters.orientation,tarteaucitron.hashtag=tarteaucitron.parameters.hashtag,tarteaucitron.highPrivacy=tarteaucitron.parameters.highPrivacy,tarteaucitron.handleBrowserDNTRequest=tarteaucitron.parameters.handleBrowserDNTRequest,tarteaucitron.parameters.useExternalCss||(t.rel="stylesheet",t.type="text/css",document.getElementsByTagName("head")[0].appendChild(t)),tarteaucitron.addInternalScript(e,"",function(){""!==tarteaucitronCustomText&&(tarteaucitron.lang=tarteaucitron.AddOrUpdate(tarteaucitron.lang,tarteaucitronCustomText)),tarteaucitron.addInternalScript(i,"",function(){"middle"===tarteaucitron.orientation&&((t=document.createElement("style")).type="text/css",t.styleSheet?t.styleSheet.cssText="":t.appendChild(document.createTextNode("")),document.getElementsByTagName("head")[0].appendChild(t));var t,i,e,n=document.body,o=document.createElement("div"),a="",r="Top",s=(s=["ads","analytic","api","comment","social","support","video","other"]).sort(function(t,e){return tarteaucitron.lang[t].title>tarteaucitron.lang[e].title?1:tarteaucitron.lang[t].title<tarteaucitron.lang[e].title?-1:0}),a=(a=(a=(a=(a=(a=a+'<div id="tarteaucitronPremium"></div>'+'<div id="tarteaucitron" role="dialog" aria-labelledby="dialogTitle">')+' <div id="tarteaucitronServices">'+' <div id="tac-scroller">')+' <div class="tarteaucitronLine tarteaucitronMainLine" id="tarteaucitronMainLineOffset">'+' <button type="button" id="tarteaucitronClosePanel">')+(" "+tarteaucitron.lang.close)+" </button>
1")+(' <span class="tarteaucitronH1" role="heading" aria-level="1" id="dialogTitle">'+tarteaucitron.lang.title+"</span>")+' <div id="tarteaucitronInfo">')+(" "+tarteaucitron.lang.disclaimer);for(a=(a=(a=(a=(a=(a=(a=(a=(a=""!==tarteaucitron.parameters.privacyUrl?(a+=' <br/><br/> <button type="button" id="tarteaucitronPrivacyUrlDialog">')+" "+tarteaucitron.lang.privacyUrl+" </button>":a)+" </div>"+' <div class="tarteaucitronName">')+(' <span class="tarteaucitronH2" role="heading" aria-level="2">'+tarteaucitron.lang.all+"</span>")+" </div>")+' <div class="tarteaucitronAsk" id="tarteaucitronScrollbarAdjust">'+' <button type="button" id="tarteaucitronAllAllowed" class="tarteaucitronAllow">')+(' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allowAll))+" </button> "+' <button type="button" id="tarteaucitronAllDenied" class="tarteaucitronDeny">')+(' <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.denyAll)+" </button>")+" </div>"+" </div>")+' <div class="tarteaucitronBorder">'+' <div class="clear"></div><ul>',1==tarteaucitron.parameters.mandatory&&(a=(a=(a=(a=(a+='<li id="tarteaucitronServicesTitle_mandatory"><div class="tarteaucitronTitle">')+' <button type="button" tabindex="-1">'+tarteaucitron.lang.mandatoryTitle+'</button></div><ul id="tarteaucitronServices_mandatory"><li class="tarteaucitronLine"> <div class="tarteaucitronName">')+' <span class="tarteaucitronH3" role="heading" aria-level="3">'+tarteaucitron.lang.mandatoryText+'</span> <span class="tarteaucitronListCookies"></span> </div> <div class="tarteaucitronAsk"> <button type="button" class="tarteaucitronAllow">')+' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow+' </button> <button type="button" class="tarteaucitronDeny" style="visibility:hidden">')+' <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.deny+" </button> </div></li></ul></li>"),e=0;e<s.length;e+=1)a=(a=(a=(a=(a=a+(' <li id="tarteaucitronServicesTitle_'+s[e])+'" class="tarteaucitronHidden"> <div class="tarteaucitronTitle">')+' <button type="button" class="catToggleBtn" data-cat="tarteaucitronDetails'+s[e]+'"><span class="tarteaucitronPlus"></span> '+tarteaucitron.lang[s[e]].title+"</button> </div>")+' <div id="tarteaucitronDetails'+s[e]+'" class="tarteaucitronDetails tarteaucitronInfoBox">')+" "+tarteaucitron.lang[s[e]].details+" </div>")+' <ul id="tarteaucitronServices_'+s[e]+'"></ul></li>';a=a+(' <li id="tarteaucitronNoServicesTitle" class="tarteaucitronLine">'+tarteaucitron.lang.noServices)+'</li> </ul> <div class="tarteaucitronHidden spacer-20" id="tarteaucitronScrollbarChild"></div>',!1===tarteaucitron.parameters.removeCredit&&(a+=' <a class="tarteaucitronSelfLink" href="https://tarteaucitron.io/" rel="nofollow noreferrer noopener" target="_blank" title="tarteaucitron '+tarteaucitron.lang.newWindow+'">ð '+tarteaucitron.lang.credit+"</a>"),a+=" </div> </div></div></div>","bottom"===tarteaucitron.parameters.orientation&&(r="Bottom"),tarteaucitron.parameters.highPrivacy&&!tarteaucitron.parameters.AcceptAllCta?(a=(a=(a=a+'<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig'+r+'"> <span id="tarteaucitronDisclaimerAlert">')+" "+tarteaucitron.lang.alertBigPrivacy+' </span> <button type="button" id="tarteaucitronPersonalize">')+" "+tarteaucitron.lang.personalize+" </button>",""!==tarteaucitron.parameters.privacyUrl&&(a=(a+=' <button type="button" id="tarteaucitronPrivacyUrl">')+" "+tarteaucitron.lang.privacyUrl+" </button>"),a+="</div>"):("middle"===tarteaucitron.parameters.orientation&&(a+='<button type="button" id="tarteaucitronBackModal" aria-label="'+tarteaucitron.lang.close+'"></button>'),a+='<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig'+r+'">',"middle"===tarteaucitron.parameters.orientation&&(a=(a+='<span id="tarteaucitronTitleModal">')+tarteaucitron.lang.controle+"</span>
1"),a+=' <span id="tarteaucitronDisclaimerAlert">',tarteaucitron.parameters.highPrivacy?a+=" "+tarteaucitron.lang.alertBigPrivacy:a+=" "+tarteaucitron.lang.alertBigClick+" "+tarteaucitron.lang.alertBig,a=(a+=' </span> <button type="button" class="tarteaucitronCTAButton tarteaucitronAllow" id="tarteaucitronPersonalize2">')+' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.acceptAll+" </button>",tarteaucitron.parameters.DenyAllCta&&(a=(a+=' <button type="button" class="tarteaucitronCTAButton tarteaucitronDeny" id="tarteaucitronAllDenied2">')+' <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.denyAll+" </button>"),a=(a+=' <button type="button" id="tarteaucitronCloseAlert">')+" "+tarteaucitron.lang.personalize+" </button>",a=(""!==tarteaucitron.parameters.privacyUrl?(a+=' <button type="button" id="tarteaucitronPrivacyUrl">')+" "+tarteaucitron.lang.privacyUrl+" </button>":a)+'</div><div id="tarteaucitronPercentage"></div>'),a+='<button type="button" id="tarteaucitronBack" aria-label="'+tarteaucitron.lang.close+'"></button>',!0===tarteaucitron.parameters.showIcon&&(a=a+('<div id="tarteaucitronIcon" class="tarteaucitronIcon'+tarteaucitron.parameters.iconPosition)+'"> <button type="button" id="tarteaucitronManager"> <img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMTI5OXB4IiBoZWlnaHQ9IjEyOTlweCIgdmVyc2lvbj0iMS4xIiBzdHlsZT0ic2hhcGUtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbjsgdGV4dC1yZW5kZXJpbmc6Z2VvbWV0cmljUHJlY2lzaW9uOyBpbWFnZS1yZW5kZXJpbmc6b3B0aW1pemVRdWFsaXR5OyBmaWxsLXJ1bGU6ZXZlbm9kZDsgY2xpcC1ydWxlOmV2ZW5vZGQiDQp2aWV3Qm94PSIwIDAgMTI5OSAxMjk5Ig0KIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIg0KIGRhdGEtbmFtZT0iTGF5ZXIgMSI+DQogPGRlZnM+DQogIDxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQogICA8IVtDREFUQVsNCiAgICAuc3RyMCB7c3Ryb2tlOiM0OTM1Mjc7c3Ryb2tlLXdpZHRoOjQ4LjQ0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoyMi45MjU2fQ0KICAgIC5maWwxIHtmaWxsOm5vbmV9DQogICAgLmZpbDIge2ZpbGw6I0Q2QzE3NX0NCiAgICAuZmlsMCB7ZmlsbDojRUZFMkIyfQ0KICAgXV0+DQogIDwvc3R5bGU+DQogPC9kZWZzPg0KIDxnIGlkPSJQbGFuX3gwMDIwXzEiPg0KICA8bWV0YWRhdGEgaWQ9IkNvcmVsQ29ycElEXzBDb3JlbC1MYXllciIvPg0KICA8cGF0aCBjbGFzcz0iZmlsMCIgZD0iTTExOTEuOTggNjQ5LjVjMCwwLjE2IDAsMC40MyAwLDAuNTYgMCwyOTkuNTUgLTI0Mi45Myw1NDIuNDggLTU0Mi40OCw1NDIuNDggLTI2Ny45NiwwIC00OTUuODUsLTE5NS44NCAtNTM2LjI1LC00NjAuNjkgMCwtMC43MiAtMC4yNSwtMS40NSAtMC4yOSwtMi4xOCAtMy45NiwtMjYuNDYgLTUuOTUsLTUzLjMyIC01Ljk1LC04MC4xMSAwLC00NC4wOCA1LjM4LC04OC4xIDE1Ljk1LC0xMzAuODUgNC45NiwtMjAuNDIgMTEuMzcsLTQwLjYzIDE4Ljc2LC02MC4zMiA3OS41MywtMjExLjMgMjgxLjg1LC0zNTEuMzcgNTA3LjY5LC0zNTEuMzcgMCwwIDAuMDcsMCAwLjA3LDBsMS4wOSAwYzExLjEsMTYyLjQxIDE0Ni4xNCwyODguNDggMzA4LjkyLDI4OC40OCA5LjAxLDAgMTcuODcsLTAuMzggMjYuNjksLTEuMTYgMi4wOSwxNS43IDUuNTEsMzEuMjkgMTAuMDcsNDYuNDMgMjguNjIsOTUuNTUgMTAxLjQ2LDE3MS42MSAxOTUuNzIsMjA0LjI0IDAuMDEsMS40OSAwLjAxLDIuOTkgMC4wMSw0LjQ5eiIvPg0KICA8cGF0aCBjbGFzcz0iZmlsMSBzdHIwIiBkPSJNMTE5MS45OCA2NDkuNWMwLDI5OS41NSAtMjQyLjkzLDU0Mi40OCAtNTQyLjQ4LDU0Mi40OCAtMjk5LjU1LDAgLTU0Mi40OCwtMjQyLjkzIC01NDIuNDgsLTU0Mi40OCAwLC0yOTkuNTUgMjQyLjkzLC01NDIuNDggNTQyLjQ4LC01NDIuNDhsMS4wNyAwYzExLjEsMTYyLjQxIDE0Ni4xNCwyODguNDggMzA4LjkyLDI4OC40OCA5LjAxLDAgMTcuODcsLTAuMzggMjYuNjksLTEuMTYgMi4wOSwxNS43IDUuNTEsMzEuMjkgMTAuMDcsNDYuNDMgMjguNTMsOTUuNTkgMTAxLjQ2LDE3MS42NiAxOTUuNzMsMjA0LjI0IDAsMS40OSAwLDIuOTkgMCw0LjQ5eiIvPg0KICA8cGF0aCBjbGFzcz0iZmlsMiBzdHIwIiBkPSJNNDIwLjg4IDg2MS42Yy0yLjQ2LDAuMjIgLTQuOTYsMC4zMyAtNy40MywwLjMzIC00My4wMiwwIC03OS4xMiwtMzIuNDkgLTgzLjYzLC03NS4yNiAtMC4yOSwtMi40MiAtMC40NSwtNC44NSAtMC40NSwtNy4yOCAwLC00LjM4IDAuNDksLTguNzUgMS40NywtMTMuMDIgNC4yMiwtMTcuMjQgMTguMjIsLTMwLjcxIDMzLjkxLC0zOC43NSAxMy41MiwtNi45MSAyOC41MywtMTAuNTMgNDMuNzMsLTEwLjUzIDUzLjAzLDAgOTYuMDQsNDMuMDIgOTYuMDQsOTYuMDUgMCwyLjY1IC0wLjExLDUuMzMgLTAuMzIsNy45NmwwIDAuNTRjLTIuNDcsMjMuMzYgLTIyLjE4LDQxLjExIC00NS42Nyw0MS4xMSAtMC42LDAgLTEuMjEsLTAuMDEgLTEuODEsLTAuMDNsLTM1Ljg0IC0xLjEyeiIvPg0KICA8cGF0aCBjbGFzcz0iZmlsMiBzdHIwIiBkPSJNOTEwLjI4IDY5NC44OGMtMS43NiwtMC4xMSAtMy41NSwtMC4xOSAtNS4zMSwtMC4xOSAtOC4wNywwIC0xNi4xMSwxLjMyIC0yMy43NSwzLjg4IC0xNy4wNCw1LjcxIC0zMy44MiwxMi43IC00OS45MSwyMC42NyAtMTQuNTksNi42NCAtMjguMDQsMTUuNzEgLTM5LjY2LDI2Ljc1IC0yOS4wNiwyOS45NCAtMzIuODksNzcuNSAtMjEuMzYsMTE3LjY1IDAuOTUsNC4yOSAyLjg0LDguMzMgNS41MywxMS44MSAzLjQ5LDMuNDMgNy44Nyw1Ljg0IDEyLjY0LDYuOTMgNy4xOSwxLjk0IDE0LjYxLDIuOTIgMjIuMDUsMi45MiA4LjQzLDAgMTYuODMsLTEuMjcgMjQuODgsLTMuNzQgMjkuMDcsLTguNjMgNTcuNjgsLTE4LjMxIDg1LjgzLC0yOS4wNyAxMS42NSwtMy41OSAyMi40NywtOS41NiAzMS43MywtMTcuNDggOC4wOSwtOC43MiAxNC4wNCwtMTkuMjQgMTcuMzQsLTMwLjY2IDIuOTMsLTguNiA1LjE3LC0xNy40NyA2LjU1LC0yNi40NCAwLjUsLTMuNSAwLjc2LC03LjA2IDAuNzYsLTEwLjYgMCwtMzguMTQgLTI5LjQ4LC02OS43OSAtNjcuNTEsLTcyLjQ4bDAuMTkgMC4wNXoiLz4NCiAgPHBhdGggY2xhc3M9ImZpbDIgc3RyMCIgZD0iTTU5OC4xNiAzNTUuNjljLTQuMTksLTAuNDcgLTguNDIsLTAuNzEgLTEyLjY0LC0wLjcxIC0yMy40MywwIC00Ni4yOSw3LjM2IC02NS4zNCwyMS4wMWwtMC4zOCAwLjI5Yy0xOC40NiwxMy4yNyAtMzguMTcsMjkuNzQgLTM0LjY4LDU1LjA3IDEuOTUsMTIuMzEgOC42MSwyMy40MSAxOC41NCwzMC45NSAyMC43MywxNi41MSA0Ny4xOCwxOC40IDcyLjY2LDIwLjA1bDM2LjgxIDIuMzdjMTQuNTMsMC45NyAzMC44LDEuMzEgNDEuNTYsLTguNDMgNC45MiwtNC45NCA4LjY2LC0xMC45NyAxMC44OSwtMTcuNTggNS4wNCwtMTEuODUgNy42NCwtMjQuNTkgNy42NCwtMzcuNDYgMCwtMy44OSAtMC4yNSwtNy44IC0wLjcxLC0xMS42NSAtMi4xOCwtMTYuODIgLTExLjM0LC0zMS45NyAtMjUuMjQsLTQxLjcxIC0xMy44NSwtOS4wMSAtMzEuMDQsLTEwLjY1IC00Ny41MSwtMTIuMDZsLTEuNiAtMC4xNHoiLz4NCiA8L2c+DQo8L3N2Zz4NCg==" alt="Cookies"> </button></div>'),!0===tarteaucitron.parameters.showAlertSmall&&(a=(a=a+'<div id="tarteaucitronAlertSmall"
1class="tarteaucitronAlertSmall'+r+'"> <button type="button" id="tarteaucitronManager">')+" "+tarteaucitron.lang.alertSmall+' <span id="tarteaucitronDot"> <span id="tarteaucitronDotGreen"></span> <span id="tarteaucitronDotYellow"></span> <span id="tarteaucitronDotRed"></span> </span>',!0===tarteaucitron.parameters.cookieslist?a=(a+=' </button>\x3c!-- @whitespace--\x3e <button type="button" id="tarteaucitronCookiesNumber">0</button> <div id="tarteaucitronCookiesListContainer"> <button type="button" id="tarteaucitronClosePanelCookie">')+" "+tarteaucitron.lang.close+' </button> <div class="tarteaucitronCookiesListMain" id="tarteaucitronCookiesTitle"> <span class="tarteaucitronH2" role="heading" aria-level="2" id="tarteaucitronCookiesNumberBis">0 cookie</span> </div> <div id="tarteaucitronCookiesList"></div> </div>':a+=" </div>",a+="</div>"),tarteaucitron.addInternalScript(tarteaucitron.cdn+"advertising.js?v="+tarteaucitron.version,"",function(){if(!0===tarteaucitronNoAdBlocker||!1===tarteaucitron.parameters.adblocker){var t,e;if(o.id="tarteaucitronRoot","top"===tarteaucitron.parameters.bodyPosition?(t=n.firstChild,n.insertBefore(o,t)):n.appendChild(o,n),o.innerHTML=a,"function"==typeof Event?e=new Event("tac.root_available"):(e=document.createEvent("Event")).initEvent("tac.root_available",!0,!0),window.dispatchEvent(e),void 0!==tarteaucitron.job)for(tarteaucitron.job=tarteaucitron.cleanArray(tarteaucitron.job),i=0;i<tarteaucitron.job.length;i+=1)tarteaucitron.addService(tarteaucitron.job[i]);else tarteaucitron.job=[];tarteaucitron.isAjax=!0,tarteaucitron.job.push=function(t){void 0===tarteaucitron.job.indexOf&&(tarteaucitron.job.indexOf=function(t,e){for(var i=this.length,n=e||0;n<i;n+=1)if(this[n]===t)return n;return-1}),-1===tarteaucitron.job.indexOf(t)&&Array.prototype.push.call(this,t),tarteaucitron.launch[t]=!1,tarteaucitron.addService(t)},document.location.hash===tarteaucitron.hashtag&&""!==tarteaucitron.hashtag&&tarteaucitron.userInterface.openPanel
1(),tarteaucitron.cookie.number(),setInterval(tarteaucitron.cookie.number,6e4)}},tarteaucitron.parameters.adblocker),!0===tarteaucitron.parameters.adblocker&&setTimeout(function(){var t;!1===tarteaucitronNoAdBlocker&&(a='<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig'+r+' display-block" role="alert" aria-live="polite">',a=(a=(a=(a+=' <p id="tarteaucitronDisclaimerAlert">')+" "+tarteaucitron.lang.adblock+"<br/>")+" <strong>"+tarteaucitron.lang.adblock_call+'</strong> </p> <button type="button" class="tarteaucitronCTAButton" id="tarteaucitronCTAButton">')+" "+tarteaucitron.lang.reload+' </button></div><div id="tarteaucitronPremium"></div>',o.id="tarteaucitronRoot","top"===tarteaucitron.parameters.bodyPosition?(t=n.firstChild,n.insertBefore(o,t)):n.appendChild(o,n),o.innerHTML=a)},1500),setTimeout(function(){tarteaucitron.addClickEventToId("tarteaucitronPersonalize",function(){tarteaucitron.userInterface.openPanel()}),tarteaucitron.addClickEventToId("tarteaucitronPersonalize2",function(){tarteaucitron.userInterface.respondAll(!0)}),tarteaucitron.addClickEventToId("tarteaucitronManager",function(){tarteaucitron.userInterface.openPanel
1()}),tarteaucitron.addClickEventToId("tarteaucitronBack",function(){tarteaucitron.userInterface.closePanel()}),tarteaucitron.addClickEventToId("tarteaucitronClosePanel",function(){tarteaucitron.userInterface.closePanel()}),tarteaucitron.addClickEventToId("tarteaucitronClosePanelCookie",function(){tarteaucitron.userInterface.closePanel()}),tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrl",function(){document.location=tarteaucitron.parameters.privacyUrl}),tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrlDialog",function(){document.location=tarteaucitron.parameters.privacyUrl}),tarteaucitron.addClickEventToId("tarteaucitronCookiesNumber",function(){tarteaucitron.userInterface.toggleCookiesList()}),tarteaucitron.addClickEventToId("tarteaucitronAllAllowed",function(){tarteaucitron.userInterface.respondAll(!0)}),tarteaucitron.addClickEventToId("tarteaucitronAllDenied",function(){tarteaucitron.userInterface.respondAll(!1)}),tarteaucitron.addClickEventToId("tarteaucitronAllDenied2",function(){tarteaucitron.userInterface.respondAll(!1)}),tarteaucitron.addClickEventToId("tarteaucitronCloseAlert",function(){tarteaucitron.userInterface.openPanel
1()}),tarteaucitron.addClickEventToId("tarteaucitronCTAButton",function(){location.reload()});for(var t=document.getElementsByClassName("catToggleBtn"),e=0;e<t.length;e++)tarteaucitron.addClickEventToElement(t[e],function(){return tarteaucitron.userInterface.toggle("tarteaucitronDetails"+s[e],"tarteaucitronInfoBox"),!1});for(var i=document.getElementsByClassName("tarteaucitronAllow"),e=0;e<i.length;e++)tarteaucitron.addClickEventToElement(i[e],function(){tarteaucitron.userInterface.respond(this,!0)});for(var n=document.getElementsByClassName("tarteaucitronDeny"),e=0;e<n.length;e++)tarteaucitron.addClickEventToElement(n[e],function(){tarteaucitron.userInterface.respond(this,!1)})},500)})}),tarteaucitron.events.load&&tarteaucitron.events.load()},addService:function(t){var e,i="",t=tarteaucitron.services[t],n=tarteaucitron.cookie.read(),o=document.location.hostname,o=document.referrer.split("/")[2]===o&&window.location.href!==tarteaucitron.parameters.privacyUrl,a=!t.needConsent,r=0<=n.indexOf(t.key+"=wait"),s=0<=n.indexOf(t.key+"=false"),l=0<=n.indexOf(t.key+"=true")||!t.needConsent&&n.indexOf(t.key+"=false")<0,c=0<=n.indexOf(t.key+"=false")||0<=n.indexOf(t.key+"=true"),u="1"===navigator.doNotTrack||"yes"===navigator.doNotTrack||"1"===navigator.msDoNotTrack||"1"===window.doNotTrack;!0!==tarteaucitron.added[t.key]&&(tarteaucitron.added[t.key]=!0,i=(i=(i+='<li id="'+t.key+'Line" class="tarteaucitronLine">')+' <div class="tarteaucitronName"> <span class="tarteaucitronH3" role="heading" aria-level="3">'+t.name+"</span>")+' <span id="tacCL'+t.key+'" class="tarteaucitronListCookies"></span><br/>',1==tarteaucitron.parameters.moreInfoLink&&(e="https://tarteaucitron.io/service/"+t.key+"/",void 0!==t.readmoreLink&&""!==t.readmoreLink&&(e=t.readmoreLink),i=(i=(i=(i+=' <a href="'+(e=void 0!==tarteaucitron.parameters.readmoreLink&&""!==tarteaucitron.parameters.readmoreLink?tarteaucitron.parameters.readmoreLink:e)+'" target="_blank" rel="noreferrer noopener" title="'+tarteaucitron.lang.cookieDetail+" "+t.name+" "+tarteaucitron.lang.ourSite+" "+tarteaucitron.lang.newWindow+'">')+" "+tarteaucitron.lang.more+" </a>")+' - <a href="'+t.uri+'" target="_blank" rel="noreferrer noopener" title="'+t.name+" "+tarteaucitron.lang.newWindow+'">')+" "+tarteaucitron.lang.source+" </a>"),i=(i=(i=(i=(i+=" </div>")+' <div class="tarteaucitronAsk"> <button type="button" id="'+t.key+'Allowed" class="tarteaucitronAllow">')+' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow)+' </button> <button type="button" id="'+t.key+'Denied" class="tarteaucitronDeny">')+' <span class="tarteaucitronCross"></span> '+tarteaucitron.lang.deny+" </button> </div></li>",tarteaucitron.userInterface.css("tarteaucitronServicesTitle_"+t.type,"display","block"),null!==document.getElementById("tarteaucitronServices_"+t.type)&&(document.getElementById("tarteaucitronServices_"+t.type).innerHTML+=i),tarteaucitron.userInterface.css("tarteaucitronNoServicesTitle","display","none"),tarteaucitron.userInterface.order(t.type)),tarteaucitron.pro("!"+t.key+"="+l),!1==c&&!0===tarteaucitron.user.bypass&&tarteaucitron.cookie.create(t.key,l=!0),!c&&(a||o&&r)&&!tarteaucitron.highPrivacy||l?((!l||!t.needConsent&&n.indexOf(t.key+"=false")<0)&&tarteaucitron.cookie.create(t.key,!0),!0!==tarteaucitron.launch[t.key]&&(tarteaucitron.launch[t.key]=!0,t.js(),tarteaucitron.sendEvent(t.key+"_loaded")),tarteaucitron.state[t.key]=!0,tarteaucitron.userInterface.color(t.key,!0)):s?("function"==typeof t.fallback&&t.fallback(),tarteaucitron.state[t.key]=!1,tarteaucitron.userInterface.color(t.key,!1)):!c&&u&&tarteaucitron.handleBrowserDNTRequest?(tarteaucitron.cookie.create(t.key,"false"),"function"==typeof t.fallback&&t.fallback(),tarteaucitron.state[t.key]=!1,tarteaucitron.userInterface.color(t.key,!1)):c||(tarteaucitron.cookie.create(t.key,"wait"),"function"==typeof t.fallback&&t.fallback(),tarteaucitron.userInterface.color(t.key,"wait"),tarteaucitron.userInterface.openAlert()),tarteaucitron.cookie.checkCount(t.key),tarteaucitron.sendEvent(t.key+"_added")},sendEvent:function(t){var e;void 0!==t&&("function"==typeof Event?e=new Event(t):(e=document.createEvent("Event")).initEvent(t,!0,!0),document.dispatchEvent(e))},cleanArray:function(t){for(var e=t.length,i=[],n={},o=tarteaucitron.services,a=0;a<e;a+=1)n[t[a]]||(n[t[a]]={},void 0!==tarteaucitron.services[t[a]]&&i.push(t[a]));return i=i.sort(function(t,e){return o[t].type+o[t].key>o[e].type+o[e].key?1:o[t].type+o[t].key<o[e].type+o[e].key?-1:0})}
1,userInterface:{css:function(t,e,i){null!==document.getElementById(t)&&("display"!=e||"none"!=i||"tarteaucitron"!=t&&"tarteaucitronBack"!=t&&"tarteaucitronAlertBig"!=t?(document.getElementById(t).style[e]=i,"display"!=e||"block"!=i||"tarteaucitron"!=t&&"tarteaucitronAlertBig"!=t||(document.getElementById(t).style.opacity="0",setTimeout(function(){document.getElementById(t).style.opacity="1"},1)),"display"==e&&"block"==i&&"tarteaucitronBack"==t&&(document.getElementById(t).style.opacity="0",setTimeout(function(){document.getElementById(t).style.opacity="0.7"},1))):(document.getElementById(t).style.opacity="0",setTimeout(function(){document.getElementById(t).style[e]=i},200)))},addClass:function(t,e){null!==document.getElementById(t)&&document.getElementById(t).classList.add(e)},removeClass:function(t,e){null!==document.getElementById(t)&&document.getElementById(t).classList.remove(e)},respondAll:function(t){for(var e,i=tarteaucitron.services,n=0,n=0;n<tarteaucitron.job.length;n+=1)e=i[tarteaucitron.job[n]].key,tarteaucitron.state[e]!==t&&(!1===t&&!0===tarteaucitron.launch[e]&&(tarteaucitron.reloadThePage=!0),!0!==tarteaucitron.launch[e]&&!0===t&&(tarteaucitron.pro("!"+e+"=engage"),tarteaucitron.launch[e]=!0,tarteaucitron.services[e].js()),tarteaucitron.state[e]=t,tarteaucitron.cookie.create(e,t),tarteaucitron.userInterface.color(e,t))},respond:function(t,e){""!==t.id&&"tarteaucitron"!==(t=t.id.replace(new RegExp("(Eng[0-9]+|Allow|Deni)ed","g"),"")).substring(0,13)&&""!==t&&tarteaucitron.state[t]!==e&&(!1===e&&!0===tarteaucitron.launch[t]&&(tarteaucitron.reloadThePage=!0),!0===e&&!0!==tarteaucitron.launch[t]&&(tarteaucitron.pro("!"+t+"=engage"),tarteaucitron.launch[t]=!0,tarteaucitron.sendEvent(t+"_loaded"),tarteaucitron.services[t].js()),tarteaucitron.state[t]=e,tarteaucitron.cookie.create(t,e),tarteaucitron.userInterface.color(t,e))},color:function(t,e){var i,n="tarteaucitron",o=0,a=0,r=0,s=tarteaucitron.job.length;for(!0===e?(document.getElementById(t+"Line").classList.add("tarteaucitronIsAllowed"),document.getElementById(t+"Line").classList.remove("tarteaucitronIsDenied")):!1===e&&(document.getElementById(t+"Line").classList.remove("tarteaucitronIsAllowed"),document.getElementById(t+"Line").classList.add("tarteaucitronIsDenied")),i=0;i<s;i+=1)!1===tarteaucitron.state[tarteaucitron.job[i]]?o+=1:void 0===tarteaucitron.state[tarteaucitron.job[i]]?a+=1:!0===tarteaucitron.state[tarteaucitron.job[i]]&&(r+=1);tarteaucitron.userInterface.css(n+"DotGreen","width",100/s*r+"%"),tarteaucitron.userInterface.css(n+"DotYellow","width",100/s*a+"%"),tarteaucitron.userInterface.css(n+"DotRed","width",100/s*o+"%"),0===o&&0===a?(tarteaucitron.userInterface.removeClass(n+"AllDenied",n+"IsSelected"),tarteaucitron.userInterface.addClass(n+"AllAllowed",n+"IsSelected"),tarteaucitron.userInterface.addClass(n+"MainLineOffset",n+"IsAllowed"),tarteaucitron.userInterface.removeClass(n+"MainLineOffset",n+"IsDenied")):0===r&&0===a?(tarteaucitron.userInterface.removeClass(n+"AllAllowed",n+"IsSelected"),tarteaucitron.userInterface.addClass(n+"AllDenied",n+"IsSelected"),tarteaucitron.userInterface.removeClass(n+"MainLineOffset",n+"IsAllowed"),tarteaucitron.userInterface.addClass(n+"MainLineOffset",n+"IsDenied")):(tarteaucitron.userInterface.removeClass(n+"AllAllowed",n+"IsSelected"),tarteaucitron.userInterface.removeClass(n+"AllDenied",n+"IsSelected"),tarteaucitron.userInterface.removeClass(n+"MainLineOffset",n+"IsAllowed"),tarteaucitron.userInterface.removeClass(n+"MainLineOffset",n+"IsDenied")),0===a&&tarteaucitron.userInterface.closeAlert(),0<tarteaucitron.services[t].cookies.length&&!1===e&&tarteaucitron.cookie.purge(tarteaucitron.services[t].cookies),!0===e?(null!==document.getElementById("tacCL"+t)&&(document.getElementById("tacCL"+t).innerHTML="..."),setTimeout(function(){tarteaucitron.cookie.checkCount(t)},2500)):tarteaucitron.cookie.checkCount(t)},openPanel:function(){var t;tarteaucitron.userInterface.css("tarteaucitron","display","block"),tarteaucitron.userInterface.css("tarteaucitronBack","display","block"),tarteaucitron.userInterface.css("tarteaucitronCookiesListContainer","display","none"),document.getElementById("tarteaucitronClosePanel").focus(),document.getElementsByTagName("body")[0].classList.add("modal-open"),tarteaucitron.userInterface.focusTrap(),tarteaucitron.userInterface.jsSizing("main"),"function"==typeof Event?t=new Event("tac.open_panel"):(t=document.createEvent("Event")).initEvent("tac.open_panel",!0,!0),window.dispatchEvent(t)},closePanel:function(){var t;document.location.hash===tarteaucitron.hashtag&&(window.history?window.history.replaceState("",document.title,window.location.pathname+window.location.search):document.location.hash=""),tarteaucitron.userInterface.css("tarteaucitron","display","none"),tarteaucitron.userInterface.css("tarteaucitronCookiesListContainer","display","none"),tarteaucitron.fallback(["tarteaucitronInfoBox"],function(t){t.style.display="none"},!0),!0===tarteaucitron.reloadThePage?window.location.reload():tarteaucitron.userInterface.css("tarteaucitronBack","display","none"),null!==document.getElementById("tarteaucitronCloseAlert")&&document.getElementById("tarteaucitronCloseAlert").focus(),document.getElementsByTagName("body")[0].classList.remove("modal-open"),"function"==typeof Event?t=new Event("tac.close_panel"):(t=document.createEvent("Event")).initEvent("tac.close_panel",!0,!0),window.dispatchEvent(t)},focusTrap:function(){for(var e,i,t=document.getElementById("tarteaucitron").querySelectorAll("a[href], button"),n=[],o=0,a=t.length;o<a;o++)0<t[o].offsetHeight&&n.push(t[o]);e=n[0],i=n[n.length-1],document.getElementById("tarteaucitron").addEventListener("keydown",function(t){"Tab"!==t.key&&9!==t.keyCode||(t.shiftKey?document.activeElement===e&&(i.focus(),t.preventDefault()):document.activeElement===i&&(e.focus(),t.preventDefault()))})},openAlert:function(){var t,e="tarteaucitron";tarteaucitron.userInterface.css(e+"Percentage","display","block"),tarteaucitron.userInterface.css(e+"AlertSmall","display","none"),tarteaucitron.userInterface.css(e+"Icon","display","none"),tarteaucitron.userInterface.css(e+"AlertBig","display","block"),tarteaucitron.userInterface.addClass(e+"Root","tarteaucitronBeforeVisible"),"function"==typeof Event?t=new Event("tac.open_alert"):(t=document.createEvent("Event")).initEvent("tac.open_alert",!0,!0),window.dispatchEvent(t)},closeAlert:function(){var t,e="tarteaucitron";tarteaucitron.userInterface.css(e+"Percentage","display","none"),tarteaucitron.userInterface.css(e+"AlertSmall","display","block"),tarteaucitron.userInterface.css(e+"Icon","display","block"),tarteaucitron.userInterface.css(e+"AlertBig","display","none"),tarteaucitron.userInterface.removeClass(e+"Root","tarteaucitronBeforeVisible"),tarteaucitron.userInterface.jsSizing("box"),"function"==typeof Event?t=new Event("tac.close_alert"):(t=document.createEvent("Event")).initEvent("tac.close_alert",!0,!0),window.dispatchEvent(t)},toggleCookiesList:function(){var t=document.getElementById("tarteaucitronCookiesListContainer");null!==t&&("block"!==t.style.display?(tarteaucitron.cookie.number(),t.style.display="block",tarteaucitron.userInterface.jsSizing("cookie"),tarteaucitron.userInterface.css("tarteaucitron","display","none"),tarteaucitron.userInterface.css("tarteaucitronBack","display","block"),tarteaucitron.fallback(["tarteaucitronInfoBox"],function(t){t.style.display="none"},!0)):(t.style.display="none",tarteaucitron.userInterface.css("tarteaucitron","display","none"),tarteaucitron.userInterface.css("tarteaucitronBack","display","none")))},toggle:function(e,t){var i=document.getElementById(e);null!==i&&(void 0!==t&&tarteaucitron.fallback([t],function(t){t.id!==e&&(t.style.display="none")},!0),"block"!==i.style.display?i.style.display="block":i.style.display="none")},order:function(t){var e=document.getElementById("tarteaucitronServices_"+t);null!==e&&(e.childNodes,"function"==typeof Array.prototype.map)&&"undefined"==typeof Enumerable&&Array.prototype.map.call(e.children,Object).sort(function(t,e){return tarteaucitron.services[t.id.replace(/Line/g,"")].name>tarteaucitron.services[e.id.replace(/Line/g,"")].name?1:tarteaucitron.services[t.id.replace(/Line/g,"")].name<tarteaucitron.services[e.id.replace(/Line/g,"")].name?-1:0}
1).forEach(function(t){e.appendChild(t)})},jsSizing:function(t){var e,i,n=window,o="inner",a=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;"box"===t?null!==document.getElementById("tarteaucitronAlertSmall")&&null!==document.getElementById("tarteaucitronCookiesNumber")&&(tarteaucitron.userInterface.css("tarteaucitronCookiesNumber","padding","0px 10px"),e=document.getElementById("tarteaucitronAlertSmall").offsetHeight,i=document.getElementById("tarteaucitronCookiesNumber").offsetHeight,tarteaucitron.userInterface.css("tarteaucitronCookiesNumber","padding",(e-i)/2+"px 10px")):"main"===t?(void 0===window.innerWidth&&(o="client",n=document.documentElement||document.body),null!==document.getElementById("tarteaucitron")&&null!==document.getElementById("tarteaucitronClosePanel")&&null!==document.getElementById("tarteaucitronMainLineOffset")&&(document.getElementById("tarteaucitron").offsetHeight,document.getElementById("tarteaucitronClosePanel").offsetHeight),null!==document.getElementById("tarteaucitronServices")&&null!==document.getElementById("tarteaucitronScrollbarChild")&&(n[o+"Width"]<=479||n[o+"Width"],document.getElementById("tarteaucitronServices").offsetWidth,document.getElementById("tarteaucitronScrollbarChild").offsetWidth),null!==document.getElementById("tarteaucitron")&&(e=n[o+"Width"]<=767?0:(a-document.getElementById("tarteaucitron").offsetHeight)/2-21,null!==document.getElementById("tarteaucitronMainLineOffset")&&document.getElementById("tarteaucitron").offsetHeight<a/2&&(e-=document.getElementById("tarteaucitronMainLineOffset").offsetHeight),tarteaucitron.userInterface.css("tarteaucitron","top",(e=e<0?0:e)+"px"))):"cookie"===t&&(null!==document.getElementById("tarteaucitronAlertSmall")&&tarteaucitron.userInterface.css("tarteaucitronCookiesListContainer","bottom",document.getElementById("tarteaucitronAlertSmall").offsetHeight+"px"),null!==document.getElementById("tarteaucitronCookiesListContainer"))&&(tarteaucitron.userInterface.css("tarteaucitronCookiesList","height","auto"),i=document.getElementById("tarteaucitronCookiesListContainer").offsetHeight,n=document.getElementById("tarteaucitronClosePanelCookie").offsetHeight,o=document.getElementById("tarteaucitronCookiesTitle").offsetHeight,tarteaucitron.userInterface.css("tarteaucitronCookiesList","height",i-n-o-2+"px"))}},cookie:{owner:{},create:function(t,e){""!==tarteaucitronForceExpire&&(tarteaucitronExpireInDay&&tarteaucitronForceExpire<365||!tarteaucitronExpireInDay&&tarteaucitronForceExpire<8760)&&(timeExpire=tarteaucitronExpireInDay?864e5*tarteaucitronForceExpire:36e5*tarteaucitronForceExpire);var i=new Date,n=i.getTime()+timeExpire,o=new RegExp("!"+t+"=(wait|true|false)","g"),o=tarteaucitron.cookie.read().replace(o,""),o=tarteaucitron.parameters.cookieName+"="+o+"!"+t+"="+e,t=void 0!==tarteaucitron.parameters.cookieDomain&&""!==tarteaucitron.parameters.cookieDomain?"; domain="+tarteaucitron.parameters.cookieDomain:"",e="https:"===location.protocol?"; Secure":"";i.setTime(n),document.cookie=o+"; expires="+i.toGMTString()+"; path=/"+t+e+"; samesite=lax"},read:function(){for(var t,e=tarteaucitron.parameters.cookieName+"=",i=document.cookie.split(";"),n=0;n<i.length;n+=1){for(t=i[n];" "===t.charAt(0);)t=t.substring(1,t.length);if(0===t.indexOf(e))return t.substring(e.length,t.length)}return""},purge:function(t){for(var e=0;e<t.length;e+=1)document.cookie=t[e]+"=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/;",document.cookie=t[e]+"=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=."+location.hostname+";",document.cookie=t[e]+"=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=."+location.hostname.split(".").slice(-2).join(".")+";"},checkCount:function(t){var e,i=tarteaucitron.services[t].cookies,n=i.length,o=0,a="",r=document.cookie.indexOf(t+"=true");if(0<=r&&0===n)a+=tarteaucitron.lang.useNoCookie;else if(0<=r){for(e=0;e<n;e+=1)-1!==document.cookie.indexOf(i[e]+"=")&&(o+=1,void 0===tarteaucitron.cookie.owner[i[e]]&&(tarteaucitron.cookie.owner[i[e]]=[]),!1===tarteaucitron.cookie.crossIndexOf(tarteaucitron.cookie.owner[i[e]],tarteaucitron.services[t].name))&&tarteaucitron.cookie.owner[i[e]].push(tarteaucitron.services[t].name);0<o?(a+=tarteaucitron.lang.useCookieCurrent+" "+o+" cookie",1<o&&(a+="s"),a+="."):a+=tarteaucitron.lang.useNoCookie}else 0===n?a=tarteaucitron.lang.noCookie:(a+=tarteaucitron.lang.useCookie+" "+n+" cookie",1<n&&(a+="s"),a+=".");null!==document.getElementById("tacCL"+t)&&(document.getElementById("tacCL"+t).innerHTML=a)},crossIndexOf:function(t,e){for(var i=0;i<t.length;i+=1)if(t[i]===e)return!0;return!1},number:function(){var t,e,i,n,o,a=document.cookie.split(";"),r=""!==document.cookie?a.length:0,s="",l=1<r?"s":"",c=/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i,c=null!==tarteaucitron.cdn.match(c)?tarteaucitron.cdn.match(c)[1]:tarteaucitron.cdn,u=void 0!==tarteaucitron.domain?tarteaucitron.domain:c,a=a.sort(function(t,e){return i=t.split("=",1).toString().replace(/ /g,""),n=e.split("=",1).toString().replace(/ /g,""),i=void 0!==tarteaucitron.cookie.owner[i]?tarteaucitron.cookie.owner[i]:"0",(n=void 0!==tarteaucitron.cookie.owner[n]?tarteaucitron.cookie.owner[n]:"0")+e<i+t?1:i+t<n+e?-1:0});if(""!==document.cookie){for(t=0;t<r;t+=1)e=a[t].split("=",1).toString().replace(/ /g,""),void 0!==tarteaucitron.cookie.owner[e]&&tarteaucitron.cookie.owner[e].join(" // ")!==o?(o=tarteaucitron.cookie.owner[e].join(" // "),s=(s+='<div class="tarteaucitronHidden"> <span class="tarteaucitronTitle tarteaucitronH3" role="heading" aria-level="3">')+" "+tarteaucitron.cookie.owner[e].join(" // ")+' </span></div><ul class="cookie-list">'):void 0===tarteaucitron.cookie.owner[e]&&u!==o&&(s=(s+='<div class="tarteaucitronHidden">
1')+' <span class="tarteaucitronTitle tarteaucitronH3" role="heading" aria-level="3"> '+(o=u)+' </span></div><ul class="cookie-list">'),s=(s=(s+='<li class="tarteaucitronCookiesListMain">')+' <div class="tarteaucitronCookiesListLeft"><button type="button" class="purgeBtn" data-cookie="'+tarteaucitron.fixSelfXSS(a[t].split("=",1))+'"><strong>×</strong></button> <strong>'+tarteaucitron.fixSelfXSS(e)+"</strong> </div>")+' <div class="tarteaucitronCookiesListRight">'+tarteaucitron.fixSelfXSS(a[t].split("=").slice(1).join("="))+"</div></li>";s+="</ul>"}else s+='<div class="tarteaucitronCookiesListMain"> <div class="tarteaucitronCookiesListLeft"><strong>-</strong></div> <div class="tarteaucitronCookiesListRight"></div></div>';s+='<div class="tarteaucitronHidden spacer-20"></div>',null!==document.getElementById("tarteaucitronCookiesList")&&(document.getElementById("tarteaucitronCookiesList").innerHTML=s),null!==document.getElementById("tarteaucitronCookiesNumber")&&(document.getElementById("tarteaucitronCookiesNumber").innerHTML=r),null!==document.getElementById("tarteaucitronCookiesNumberBis")&&(document.getElementById("tarteaucitronCookiesNumberBis").innerHTML=r+" cookie"+l);for(var d=document.getElementsByClassName("purgeBtn"),h=0;h<d.length;h++)tarteaucitron.addClickEventToElement(d[h],function(){return tarteaucitron.cookie.purge([this.dataset.cookie]),tarteaucitron.cookie.number(),tarteaucitron.userInterface.jsSizing("cookie"),!1});for(t=0;t<tarteaucitron.job.length;t+=1)tarteaucitron.cookie.checkCount(tarteaucitron.job[t])}},fixSelfXSS:function(t){return fixed=t.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},getLanguage:function(){var t,e="bg,cn,cs,da,de,el,en,es,fi,fr,hu,it,ja,nl,oc,pl,pt,ro,ru,se,sk,tr,vi";return""!==tarteaucitronForceLanguage&&-1!==e.indexOf(tarteaucitronForceLanguage)?tarteaucitronForceLanguage:!navigator||(t=(t=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null)?t.substr(0,2):null,-1===e.indexOf(t))?"en":t},getLocale:function(){var t;return navigator?"fr"===(t=(t=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null)?t.substr(0,2):null)?"fr_FR":"en"===t?"en_US":"de"===t?"de_DE":"es"===t?"es_ES":"it"===t?"it_IT":"pt"===t?"pt_PT":"nl"===t?"nl_NL":"el"===t?"el_EL":"en_US":"en_US"},addScript:function(t,e,i,n,o,a,r){var s,l=!1;!1===n?"function"==typeof i&&i():((s=document.createElement("script")).type="text/javascript",s.id=void 0!==e?e:"",s.async=!0,s.src=t,void 0!==o&&void 0!==a&&s.setAttribute(o,a),"function"==typeof i&&(tarteaucitron.parameters.useExternalJs?i():s.onreadystatechange=s.onload=function(){var t=s.readyState;l||t&&!/loaded|complete/.test(t)||(l=!0,i())}),tarteaucitron.parameters.useExternalJs&&r||document.getElementsByTagName("head")[0].appendChild(s))},addInternalScript:function(t,e,i,n,o,a){tarteaucitron.addScript(t,e,i,n,o,a,!0)},makeAsync:{antiGhost:0,buffer:"",init:function(t,e){var i=document.write,n=document.writeln;document.write=function(t){tarteaucitron.makeAsync.buffer+=t},document.writeln=function(t){tarteaucitron.makeAsync.buffer+=t.concat("\n")},setTimeout(function(){document.write=i,document.writeln=n},2e4),tarteaucitron.makeAsync.getAndParse(t,e)},getAndParse:function(t,e){9<tarteaucitron.makeAsync.antiGhost?tarteaucitron.makeAsync.antiGhost=0:(tarteaucitron.makeAsync.antiGhost+=1,tarteaucitron.addInternalScript(t,"",function(){null!==document.getElementById(e)&&(document.getElementById(e).innerHTML+="<span class='display-none'> </span>"+tarteaucitron.makeAsync.buffer,tarteaucitron.makeAsync.buffer="",tarteaucitron.makeAsync.execJS(e))}))},execJS:function(id){var i,scripts,childId,type;if(null!==document.getElementById(id))for(scripts=document.getElementById(id).getElementsByTagName("script"),i=0;i<scripts.length;i+=1)type=null!==scripts[i].getAttribute("type")?scripts[i].getAttribute("type"):"",""===type&&(type=null!==scripts[i].getAttribute("language")?scripts[i].getAttribute("language"):""),null!==scripts[i].getAttribute("src")&&""!==scripts[i].getAttribute("src")?(childId=id+Math.floor(99999999999*Math.random()),document.getElementById(id).innerHTML+='<div id="'+childId+'"></div>',tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute("src"),childId)):-1===type.indexOf("javascript")&&""!==type||eval(scripts[i].innerHTML)}}
1,fallback:function(t,e,i){var n,o=document.getElementsByTagName("*"),a=0;for(n in o)if(void 0!==o[n])for(a=0;a<t.length;a+=1)-1<(" "+o[n].className+" ").indexOf(" "+t[a]+" ")&&("function"==typeof e?!0===i?e(o[n]):o[n].innerHTML=e(o[n]):o[n].innerHTML=e)},engage:function(t){var e="",i=Math.floor(1e5*Math.random()),n=tarteaucitron.services[t].name+" "+tarteaucitron.lang.fallback;return e+('<div class="tac_activate tac_activate_'+t+'">')+' <div class="tac_float">'+(" "+(n=void 0!==tarteaucitron.lang["engage-"+t]?tarteaucitron.lang["engage-"+t]:n))+(' <button type="button" class="tarteaucitronAllow" id="Eng'+i+"ed"+t+'">')+(' <span class="tarteaucitronCheck"></span> '+tarteaucitron.lang.allow)+" </button>"+" </div>"+"</div>"},extend:function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},proTemp:"",proTimer:function(){setTimeout(tarteaucitron.proPing,500)},pro:function(t){tarteaucitron.proTemp+=t,clearTimeout(tarteaucitron.proTimer),tarteaucitron.proTimer=setTimeout(tarteaucitron.proPing,500)},proPing:function(){if(""!==tarteaucitron.uuid&&void 0!==tarteaucitron.uuid&&""!==tarteaucitron.proTemp){var t=document.getElementById("tarteaucitronPremium"),e=(new Date).getTime(),i="https://tarteaucitron.io/log/?";if(null===t)return;i=(i=(i+="account="+tarteaucitron.uuid+"&")+("domain="+tarteaucitron.domain+"&"))+("status="+encodeURIComponent(tarteaucitron.proTemp)+"&"),t.innerHTML='<img src="'+(i+="_time="+e)+'" class="display-none" />',tarteaucitron.proTemp=""}tarteaucitron.cookie.number()},AddOrUpdate:function(t,e){for(key in e)e[key]instanceof Object?t[key]=tarteaucitron.AddOrUpdate(t[key],e[key]):t[key]=e[key];return t},getElemWidth:function(t){return t.getAttribute("width")||t.clientWidth},getElemHeight:function(t){return t.getAttribute("height")||t.clientHeight},addClickEventToId:function(t,e){tarteaucitron.addClickEventToElement(document.getElementById(t),e)},addClickEventToElement:function(t,e){t&&(t.addEventListener?t.addEventListener("click",e):t.attachEvent("onclick",e))}},tarteaucitronNoAdBlocker=!0,calendarDateFormat=(tarteaucitron.services.iframe={key:"iframe",type:"other",name:"Web content",uri:"",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tac_iframe"],function(t){var e=t.getAttribute("width"),i=t.getAttribute("height");return'<iframe src="'+t.getAttribute("data-url")+'" width="'+e+'" height="'+i+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["tac_iframe"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("iframe")})}},tarteaucitron.services.amplitude={key:"amplitude",type:"analytic",name:"Amplitude",uri:"https://amplitude.com/privacy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.amplitude&&tarteaucitron.addScript("https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js","",function(){function t(t,e){t.prototype[e]=function(){return this._q.push([e].concat(Array.prototype.slice.call(arguments,0))),this}}window.amplitude={_q:[],_iq:{}};for(var e=function(){return this._q=[],this},i=["add","append","clearAll","prepend","set","setOnce","unset"],n=0;n<i.length;n++)t(e,i[n]);amplitude.Identify=e;for(var o=function(){return this._q=[],this},a=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"],r=0;r<a.length;r++)t(o,a[r]);amplitude.Revenue=o;var s=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","enableTracking","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","groupIdentify","onInit","logEventWithTimestamp","logEventWithGroups","setSessionId","resetSessionId"];function l(e){for(var t=0;t<s.length;t++)(t=>{e[t]=function(){e._q.push([t].concat(Array.prototype.slice.call(arguments,0)))}})(s[t])}l(amplitude),amplitude.getInstance=function(t){return t=(t&&0!==t.length?t:"$default_instance").toLowerCase(),amplitude._iq.hasOwnProperty(t)||(amplitude._iq[t]={_q:[]},l(amplitude._iq[t])),amplitude._iq[t]},amplitude.getInstance().init(tarteaucitron.user.amplitude)})}},tarteaucitron.services.abtasty={key:"abtasty",type:"api",name:"ABTasty",uri:"https://www.abtasty.c
1om/terms-of-use/",needConsent:!0,cookies:["ABTasty","ABTastySession"],js:function(){void 0!==tarteaucitron.user.abtastyID&&tarteaucitron.addScript("//try.abtasty.com/"+tarteaucitron.user.abtastyID+".js")}},tarteaucitron.services.metrica={key:"metrica",type:"analytic",name:"Yandex Metrica",uri:"https://yandex.com/legal/confidential/",needConsent:!0,cookies:["_ym_metrika_enabled","_ym_isad","_ym_uid","_ym_d","yabs-sid","_ym_debug","_ym_mp2_substs","_ym_hostIndex","_ym_mp2_track","yandexuid","usst"],js:function(){void 0!==tarteaucitron.user.yandexmetrica&&tarteaucitron.addScript("https://mc.yandex.ru/metrika/tag.js","",function(){var t,e,i;t=window,i=document,t.ym=t.ym||function(){(t.ym.a=t.ym.a||[]).push(arguments)},t.ym.l=+new Date,e=i.createElement("script"),i=i.getElementsByTagName("script")[0],e.async=1,e.src="https://mc.yandex.ru/metrika/tag.js",i.parentNode.insertBefore(e,i),ym(tarteaucitron.user.yandexmetrica,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0,ecommerce:"dataLayer"})})}},tarteaucitron.services.addthis={key:"addthis",type:"social",name:"AddThis",uri:"https://www.addthis.com/privacy/privacy-policy#publisher-visitors",needConsent:!0,cookies:["__atuvc","__atuvs"],js:function(){void 0!==tarteaucitron.user.addthisPubId&&(!0===tarteaucitron.isAjax&&(window.addthis=null,window._adr=null,window._atc=null,window._atd=null,window._ate=null,window._atr=null,window._atw=null),tarteaucitron.fallback(["addthis_sharing_toolbox"],""),tarteaucitron.addScript("//s7.addthis.com/js/300/addthis_widget.js#pubid="+tarteaucitron.user.addthisPubId))},fallback:function(){tarteaucitron.fallback(["addthis_sharing_toolbox"],tarteaucitron.engage("addthis"))}},tarteaucitron.services.addtoanyfeed={key:"addtoanyfeed",type:"social",name:"AddToAny (feed)",uri:"https://www.addtoany.com/privacy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.addtoanyfeedUri&&(tarteaucitron.user.addtoanyfeedSubscribeLink="https://www.addtoany.com/subscribe?linkurl="+tarteaucitron.user.addtoanyfeedUri,window.a2a_config=window.a2a_config||{},window.a2a_config.linkurl=tarteaucitron.user.addtoanyfeedUri,tarteaucitron.addScript("//static.addtoany.com/menu/feed.js"))},fallback:function(){tarteaucitron.user.addtoanyfeedSubscribeLink="https://www.addtoany.com/subscribe?linkurl="+tarteaucitron.user.addtoanyfeedUri}},tarteaucitron.services.addtoanyshare={key:"addtoanyshare",type:"social",name:"AddToAny (share)",uri:"https://www.addtoany.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tac_addtoanyshare"],""),tarteaucitron.addScript("//static.addtoany.com/menu/page.js")},fallback:function(){tarteaucitron.fallback(["tac_addtoanyshare"],tarteaucitron.engage("addtoanyshare"))}},tarteaucitron.services.aduptech_ads={key:"aduptech_ads",type:"ads",name:"Ad Up Technology (ads)",uri:"https://www.adup-tech.com/datenschutz",needConsent:!0,cookies:[],js:function(){var i="aduptech_ads",n=document.getElementsByClassName(i);n&&0!==n.length&&(tarteaucitron.fallback([i],""),tarteaucitron.addScript("https://s.d.adup-tech.com/jsapi","",function(){for(var t=0;t<n.length;t++){var e=n[t];e.getAttribute("id")||e.setAttribute("id",i+Math.random().toString(36).substr(2,9)),window.uAd.embed(e.getAttribute("id"),{placementKey:e.getAttribute("placementKey"),responsive:Boolean(e.getAttribute("responsive")),lazy:Boolean(e.getAttribute("lazy")),adtest:Boolean(e.getAttribute("test")),query:e.getAttribute("query")||"",minCpc:e.getAttribute("minCpc")||"",pageUrl:e.getAttribute("pageUrl")||"",skip:e.getAttribute("skip")||""})}}))},fallback:function(){tarteaucitron.fallback(["aduptech_ads"],tarteaucitron.engage("aduptech_ads"))}},tarteaucitron.services.aduptech_conversion={key:"aduptech_conversion",type:"ads",name:"Ad Up Technology (conversion)",uri:"https://www.adup-tech.com/datenschutz",needConsent:!0,cookies:[],js:function(){var t="aduptech_conversion",e=document.getElementsByClassName(t);if(e&&0!==e.length){tarteaucitron.fallback([t],"");for(var i=0;i<e.length;i++){var n,o=e[i];o.getAttribute("advertiserId")&&o.getAttribute("conversionCode")&&(n="https://d.adup-tech.c
1om/campaign/conversion/"+encodeURIComponent(o.getAttribute("advertiserId"))+"?t="+encodeURIComponent(o.getAttribute("conversionCode")),o.getAttribute("price")&&(n+="&price="+encodeURIComponent(o.getAttribute("price"))),o.getAttribute("quantity")&&(n+="&quantity="+encodeURIComponent(o.getAttribute("quantity"))),o.getAttribute("total")&&(n+="&total="+encodeURIComponent(o.getAttribute("total"))),o.getAttribute("orderId")&&(n+="&order_id="+encodeURIComponent(o.getAttribute("orderId"))),o.getAttribute("itemNumber")&&(n+="&item_number="+encodeURIComponent(o.getAttribute("itemNumber"))),o.getAttribute("description")&&(n+="&description="+encodeURIComponent(o.getAttribute("description"))),(new Image).src=n)}}}},tarteaucitron.services.aduptech_retargeting={key:"aduptech_retargeting",type:"ads",name:"Ad Up Technology (retargeting)",uri:"https://www.adup-tech.com/datenschutz",needConsent:!0,cookies:[],js:function(){var t="aduptech_retargeting",o=document.getElementsByClassName(t);o&&0!==o.length&&(tarteaucitron.fallback([t],""),window.AdUpRetargeting=function(e){for(var t=0;t<o.length;t++){var i,n=o[t];if(e.init(),e.setAccount(n.getAttribute("account")),n.getAttribute("email")?e.setEmail(n.getAttribute("email")):n.getAttribute("hashedEmail")&&e.setHashedEmail(n.getAttribute("hashedEmail")),n.getAttribute("product"))try{e.setProduct(JSON.parse(n.getAttribute("product")))}catch(t){e.setProduct(n.getAttribute("product"))}if(n.getAttribute("transaction"))try{e.setTransaction(JSON.parse(n.getAttribute("transaction")))}catch(t){e.setTransaction(n.getAttribute("transaction"))}n.getAttribute("demarkUser")?e.setDemarkUser():n.getAttribute("demarkProducts")&&e.setDemarkProducts(),n.getAttribute("conversionCode")&&e.setConversionCode(n.getAttribute("conversionCode")),n.getAttribute("device")&&"function"==typeof e[i="set"+n.getAttribute("device").charAt(0).toUpperCase()+n.getAttribute("device").slice(1)]&&e[i](),n.getAttribute("track")&&("function"==typeof e[i="track"+n.getAttribute("track").charAt(0).toUpperCase()+n.getAttribute("track").slice(1)]?e[i]():e.trackHomepage())}},tarteaucitron.addScript("https://s.d.adup-tech.com/services/retargeting.js"))}},tarteaucitron.services.alexa={key:"alexa",type:"analytic",name:"Alexa",uri:"https://www.alexa.com/help/privacy",needConsent:!0,cookies:["__asc","__auc"],js:function(){void 0!==tarteaucitron.user.alexaAccountID&&(window._atrk_opts={atrk_acct:tarteaucitron.user.alexaAccountID,domain:window.location.hostname.match(/[^\.]*\.[^.]*$/)[0],dynamic:!0},tarteaucitron.addScript("https://d31qbv1cthcecs.cloudfront.net/atrk.js"))}},tarteaucitron.services.amazon={key:"amazon",type:"ads",name:"Amazon",uri:"https://www.amazon.com/gp/help/customer/display.html/ref=help_search_1-1?ie=UTF8&nodeId=201909010&qid=1544617177&sr=1-1",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["amazon_product"],function(t){var e=t.getAttribute("amazonid"),t=t.getAttribute("productid");return'<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="'+("//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace="+tarteaucitron.getLanguage().toUpperCase()+"&source=ss&ref=ss_til&ad_type=product_link&tracking_id="+e+"&marketplace=amazon®ion="+tarteaucitron.getLanguage().toUpperCase()+"&placement="+t+"&asins="+t+"&show_border=true&link_opens_in_new_window=true")+'"></iframe>'})},fallback:function(){tarteaucitron.fallback(["amazon_product"],tarteaucitron.engage("amazon"))}},tarteaucitron.services.calameo={key:"calameo",type:"video",name:"Calameo",uri:"https://fr.calameo.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["calameo-canvas"],function(t){return'<iframe src="'+("//v.calameo.com/?bkcode="+t.getAttribute("data-id"))+'" width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["calameo-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("calameo")})}}
1,tarteaucitron.services.clicky={key:"clicky",type:"analytic",name:"Clicky",uri:"https://clicky.com/terms",needConsent:!0,cookies:["_jsuid","_eventqueue","_referrer_og","_utm_og","_first_pageview","clicky_olark","no_trackyy_"+tarteaucitron.user.clickyId,"unpoco_"+tarteaucitron.user.clickyId,"heatmaps_g2g_"+tarteaucitron.user.clickyId],js:function(){void 0!==tarteaucitron.user.clickyId&&tarteaucitron.addScript("//static.getclicky.com/js","",function(){"function"==typeof clicky.init&&clicky.init(tarteaucitron.user.clickyId),"function"==typeof tarteaucitron.user.clickyMore&&tarteaucitron.user.clickyMore()})}},tarteaucitron.services.clicmanager={key:"clicmanager",type:"ads",name:"Clicmanager",uri:"http://www.clicmanager.fr/infos_legales.php",needConsent:!0,cookies:[],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["clicmanager-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" c="'+t.getAttribute("c")+'" s="'+t.getAttribute("s")+'" t="'+t.getAttribute("t")+'"></div>'}),t=0;t<i.length;t+=1)e="//ads.clicmanager.fr/exe.php?",e=(e=(e+="c="+document.getElementById(i[t]).getAttribute("c")+"&")+"s="+document.getElementById(i[t]).getAttribute("s")+"&")+"t="+document.getElementById(i[t]).getAttribute("t"),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["clicmanager-canvas"],tarteaucitron.engage("clicmanager"))}},tarteaucitron.services.contentsquare={key:"contentsquare",type:"api",name:"ContentSquare",uri:"https://docs.contentsquare.com/uxa-en/#collected-data",needConsent:!0,cookies:["_cs_id","_cs_s","_cs_vars","_cs_ex","_cs_c","_cs_optout"],js:function(){void 0!==tarteaucitron.user.contentsquareID&&tarteaucitron.addScript("//t.contentsquare.net/uxa/"+tarteaucitron.user.contentsquareID+".js")}},tarteaucitron.services.crazyegg={key:"crazyegg",type:"analytic",name:"Crazy Egg",uri:"https://www.crazyegg.com/privacy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.crazyeggId&&tarteaucitron.addScript("//script.crazyegg.com/pages/scripts/"+tarteaucitron.user.crazyeggId.substr(0,4)+"/"+tarteaucitron.user.crazyeggId.substr(4,4)+".js")}},tarteaucitron.services.criteo={key:"criteo",type:"ads",name:"Criteo",uri:"http://www.criteo.com/privacy/",needConsent:!0,cookies:[],js:function(){document.MAX_ct0="";var t,e,i=[];for(tarteaucitron.fallback(["criteo-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" zoneid="'+t.getAttribute("zoneid")+'"></div>'}),t=0;t<i.length;t+=1)e="//cas.criteo.com/delivery/ajs.php?",e=(e=(e=(e=(e=(e=(e=(e=(e=(e+="zoneid="+document.getElementById(i[t]).getAttribute("zoneid"))+"&nodis=1&cb="+Math.floor(99999999999*Math.random()))+"&loc="+encodeURI(window.location))+(","!==document.MAX_used?"&exclude="+document.MAX_used:""))+(void 0!==document.charset?"&charset="+document.charset:""))+(void 0!==document.characterSet?"&charset="+document.characterSet:""))+(void 0!==document.referrer?"&referer="+encodeURI(document.referrer):""))+(void 0!==document.context?"&context="+encodeURI(document.context):""))+(void 0!==document.MAX_ct0&&"http"===document.MAX_ct0.substring(0,4)?"&ct0="+encodeURI(document.MAX_ct0):""))+(void 0!==document.mmm_fo?"&mmm_fo=1":""),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["criteo-canvas"],tarteaucitron.engage("criteo"))}},tarteaucitron.services.dailymotion={key:"dailymotion",type:"video",name:"Dailymotion",uri:"https://www.dailymotion.com/legal/privacy",needConsent:!0,cookies:["ts","dmvk","hist","v1st","s_vi"],js:function(){tarteaucitron.fallback(["dailymotion_player"],function(t){var e=t.getAttribute("videoID"),i=t.getAttribute("width"),n="width=",o=t.getAttribute("height"),a="height=",t="info="+t.getAttribute("showinfo")+"&autoPlay="+t.getAttribute("autoplay");return void 0===e?"":'<iframe src="//www.dailymotion.com/embed/video/'+e+"?"+t+'" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' frameborder="0" allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["dailymotion_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("dailymotion")})}},tarteaucitron.services.datingaffiliation={key:"datingaffiliation",type:"ads",name:"Dating Affiliation",uri:"http://www.dating-affiliation.com/conditions-generales.php",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["datingaffiliation-canvas"],function(t){return'<iframe src="'+("http://www.tools-affil2.com/rotaban/ban.php?"+t.getAttribute("data-comfrom"))+"&r="+t.getAttribute("data-r")+"&p="+t.getAttribute("data-p")+"&cf0="+t.getAttribute("data-cf0")+"&langue="+t.getAttribute("data-langue")+"&forward_affiliate="+t.getAttribute("data-forwardAffiliate")+"&cf2="+t.getAttribute("data-cf2")+"&cfsa2="+t.getAttribute("data-cfsa2")+'" width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>'})},fallback:function(){tarteaucitron.fallback(["datingaffiliation-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("datingaffiliation")})}},tarteaucitron.services.datingaffiliationpopup={key:"datingaffiliationpopup",type:"ads",name:"Dating Affiliation (Pop Up)",uri:"http://www.dating-affiliation.com/conditions-generales.php",needConsent:!0,cookies:["__utma","__utmb","__utmc","__utmt_Tools","__utmv","__utmz","_ga","_gat","_gat_UA-65072040-17","__da-pu-xflirt-ID-pc-o169"],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["datingaffiliationpopup-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" uri="'+t.getAttribute("uri")+'" comfrom="'+t.getAttribute("comfrom")+'" promo="'+t.getAttribute("promo")+'" productid="'+t.getAttribute("productid")+'" submitconfig="'+t.getAttribute("submitconfig")+'" ur="'+t.getAttribute("ur")+'" brand="'+t.getAttribute("brand")+'" lang="'+t.getAttribute("lang")+'" cf0="'+t.getAttribute("cf0")+'" cf2="'+t.getAttribute("cf2")+'" subid1="'+t.getAttribute("subid1")+'" cfsa2="'+t.getAttribute("cfsa2")+'" subid2="'+t.getAttribute("subid2")+'" nicheid="'+t.getAttribute("nicheid")+'" degreid="'+t.getAttribute("degreid")+'" bt="'+t.getAttribute("bt")+'" vis="'+t.getAttribute("vis")+'" hid="'+t.getAttribute("hid")+'" snd="'+t.getAttribute("snd")+'" aabd="'+t.getAttribute("aabd")+'" aabs="'+t.getAttribute("aabs")+'"></div>'}),t=0;t<i.length;t+=1)e="http://www.promotools.biz/da/popunder/script.php?",e=(e=(e=(e
1=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e+="comfrom="+document.getElementById(i[t]).getAttribute("comfrom")+"&")+"promo="+document.getElementById(i[t]).getAttribute("promo")+"&")+"product_id="+document.getElementById(i[t]).getAttribute("productid")+"&")+"submitconfig="+document.getElementById(i[t]).getAttribute("submitconfig")+"&")+"ur="+document.getElementById(i[t]).getAttribute("ur")+"&")+"brand="+document.getElementById(i[t]).getAttribute("brand")+"&")+"lang="+document.getElementById(i[t]).getAttribute("lang")+"&")+"cf0="+document.getElementById(i[t]).getAttribute("cf0")+"&")+"cf2="+document.getElementById(i[t]).getAttribute("cf2")+"&")+"subid1="+document.getElementById(i[t]).getAttribute("subid1")+"&")+"cfsa2="+document.getElementById(i[t]).getAttribute("cfsa2")+"&")+"subid2="+document.getElementById(i[t]).getAttribute("subid2")+"&")+"nicheId="+document.getElementById(i[t]).getAttribute("nicheid")+"&")+"degreId="+document.getElementById(i[t]).getAttribute("degreid")+"&")+"bt="+document.getElementById(i[t]).getAttribute("bt")+"&")+"vis="+document.getElementById(i[t]).getAttribute("vis")+"&")+"hid="+document.getElementById(i[t]).getAttribute("hid")+"&")+"snd="+document.getElementById(i[t]).getAttribute("snd")+"&")+"aabd="+document.getElementById(i[t]).getAttribute("aabd")+"&")+"aabs="+document.getElementById(i[t]).getAttribute("aabs"),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["datingaffiliationpopup-canvas"],tarteaucitron.engage("datingaffiliationpopup"))}},tarteaucitron.services.leadforensics={key:"leadforensics",type:"analytic",name:"LeadForensics",uri:"https://www.leadforensics.com/privacy-policy/",needConsent:!0,cookies:["trackalyzer"],js:function(){var t,e;void 0!==tarteaucitron.user.leadforensicsSf14gv&&void 0!==tarteaucitron.user.leadforensicsIidentifier&&(window.sf14gv=tarteaucitron.user.leadforensicsSf14gv,(t=document.createElement("script")).type="text/javascript",t.async=!0,t.src=("https:"==document.location.protocol?"https://":"http://")+"t.sf14g.com/sf14g.js",(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(t,e),tarteaucitron.addScript("//secure.leadforensics.com/js/"+tarteaucitron.user.leadforensicsIidentifier+".js"))}},tarteaucitron.services.disqus={key:"disqus",type:"comment",name:"Disqus",uri:"https://help.disqus.com/customer/portal/articles/466259-privacy-policy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.disqusShortname&&(tarteaucitron.addScript("//"+tarteaucitron.user.disqusShortname+".disqus.com/embed.js"),tarteaucitron.addScript("//"+tarteaucitron.user.disqusShortname+".disqus.com/count.js"))},fallback:function(){document.getElementById("disqus_thread")&&(document.getElementById("disqus_thread").innerHTML=tarteaucitron.engage("disqus"))}},tarteaucitron.services.ekomi={key:"ekomi",type:"social",name:"eKomi",uri:"http://www.ekomi-us.com/us/privacy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.ekomiCertId&&(window.eKomiIntegrationConfig=[{certId:tarteaucitron.user.ekomiCertId}],tarteaucitron.addScript("//connect.ekomi.de/integration_1410173009/"+tarteaucitron.user.ekomiCertId+".js"))}},tarteaucitron.services.etracker={key:"etracker",type:"analytic",name:"eTracker",uri:"https://www.etracker.com/en/data-protection.html",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.etracker&&tarteaucitron.addScript("//static.etracker.com/code/e.js","_etLoader",function(){},!0,"data-secure-code",tarteaucitron.user.etracker)}},tarteaucitron.services.facebook={key:"facebook",type:"social",name:"Facebook",uri:"https://www.facebook.com/policies/cookies/",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["fb-post","fb-follow","fb-activity","fb-send","fb-share-button","fb-like","fb-video"],""),tarteaucitron.addScript("//connect.facebook.net/"+tarteaucitron.getLocale()+"/sdk.js#xfbml=1&version=v2.0","facebook-jssdk"),!0===tarteaucitron.isAjax&&"undefined"!=typeof FB&&FB.XFBML.parse()},fallback:function(){tarteaucitron.fallback(["fb-post","fb-follow","fb-activity","fb-send","fb-share-button","fb-like","fb-video"],tarteaucitron.engage("facebook"))}},tarteaucitron.services.facebooklikebox={key:"facebooklikebox",type:"social",name:"Facebook (like box)",uri:"https://www.facebook.com/policies/cookie
1s/",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["fb-like-box","fb-page"],""),tarteaucitron.addScript("//connect.facebook.net/"+tarteaucitron.getLocale()+"/sdk.js#xfbml=1&version=v2.3","facebook-jssdk"),!0===tarteaucitron.isAjax&&"undefined"!=typeof FB&&FB.XFBML.parse()},fallback:function(){tarteaucitron.fallback(["fb-like-box","fb-page"],tarteaucitron.engage("facebooklikebox"))}},tarteaucitron.services.facebookcomment={key:"facebookcomment",type:"comment",name:"Facebook (commentaire)",uri:"https://www.facebook.com/policies/cookies/",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["fb-comments"],""),tarteaucitron.addScript("//connect.facebook.net/"+tarteaucitron.getLocale()+"/sdk.js#xfbml=1&version=v2.0","facebook-jssdk"),!0===tarteaucitron.isAjax&&"undefined"!=typeof FB&&FB.XFBML.parse()},fallback:function(){tarteaucitron.fallback(["fb-comments"],tarteaucitron.engage("facebookcomment"))}},tarteaucitron.services.ferank={key:"ferank",type:"analytic",name:"FERank",uri:"https://www.ferank.fr/respect-vie-privee/#mesureaudience",needConsent:!1,cookies:[],js:function(){tarteaucitron.addScript("//static.ferank.fr/pixel.js","",function(){"function"==typeof tarteaucitron.user.ferankMore&&tarteaucitron.user.ferankMore()})}},tarteaucitron.services.ferankpub={key:"ferankpub",type:"ads",name:"FERank (pub)",uri:"https://www.ferank.fr/respect-vie-privee/#regiepublicitaire",needConsent:!1,cookies:[],js:function(){tarteaucitron.addScript("//static.ferank.fr/publicite.async.js"),!0===tarteaucitron.isAjax&&"function"==typeof ferankReady&&ferankReady()},fallback:function(){tarteaucitron.fallback(["ferank-publicite"],tarteaucitron.engage("ferankpub"))}},tarteaucitron.services.getplus={key:"getplus",type:"analytic",name:"Get+",uri:"http://www.getplus.fr/Conditions-generales-de-vente_a226.html",needConsent:!0,cookies:["_first_pageview","_jsuid","no_trackyy_"+tarteaucitron.user.getplusId,"_eventqueue"],js:function(){void 0!==tarteaucitron.user.getplusId&&(window.webleads_site_ids=window.webleads_site_ids||[],window.webleads_site_ids.push(tarteaucitron.user.getplusId),tarteaucitron.addScript("//stats.webleads-tracker.com/js"))}},tarteaucitron.services.gplus={key:"gplus",type:"social",name:"Google+",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://apis.google.com/js/platform.js")},fallback:function(){tarteaucitron.fallback(["g-plus","g-plusone"],tarteaucitron.engage("gplus"))}},tarteaucitron.services.gplusbadge={key:"gplusbadge",type:"social",name:"Google+ (badge)",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://apis.google.com/js/platform.js")},fallback:function(){tarteaucitron.fallback(["g-page","g-person"],tarteaucitron.engage("gplusbadge"))}},tarteaucitron.services.adsense={key:"adsense",type:"ads",name:"Google Adsense",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js")},fallback:function(){tarteaucitron.fallback(["adsbygoogle"],tarteaucitron.engage("adsense"))}},tarteaucitron.services.googlepartners={key:"googlepartners",type:"ads",name:"Google Partners Badge",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://apis.google.com/js/platform.js")},fallback:function(){tarteaucitron.fallback(["g-partnersbadge"],tarteaucitron.engage("googlepartners"))}},tarteaucitron.services.adsensesearchform={key:"adsensesearchform",type:"ads",name:"Google Adsense Search (form)",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("//www.google.com/coop/cse/brand?form=cse-search-box&lang="+tarteaucitron.getLanguage())}},tarteaucitron.services.adsensesearchresult={key:"adsensesearchresult",type:"ads",name:"Google Adsense Search (result)",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.adsensesearchresultCx&&tarteaucitron.addScript("//www.google.com/cse/cse.js?cx="+tarteaucitron.user.adsensesearchresultCx)},fallback:function(){document.getElementById("gcse_searchresults")&&(document.getElementById("gcse_searchresults").innerHTML=tarteaucitron.engage("adsensesearchresult"))}},tarteaucitron.services.googleadwordsconversion={key:"googleadwordsconversion",type:"ads",name:"Google Adwords (conversion)",uri:"https://www.google.com/settings/ads",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.adwordsconversionId&&tarteaucitron.addScript("//www.googleadservices.com/pagead/conversion_async.js","",function(){window.google_trackConversion({google_conversion_id:tarteaucitron.user.adwordsconversionId,google_conversion_label:tarteaucitron.user.adwordsconversionLabel,google_conversion_language:tarteaucitron.user.adwordsconversionLanguage,google_conversion_format:tarteaucitron.user.adwordsconversionFormat,google_conversion_color:tarteaucitron.user.adwordsconversionColor,google_conversion_value:tarteaucitron.user.adwordsconversionValue,google_conversion_currency:tarteaucitron.user.adwordsconversionCurrency,google_custom_params:{parameter1:tarteaucitron.user.adwordsconversionCustom1,parameter2:tarteaucitron.user.adwordsconversionCustom2}})})}},tarteaucitron.services.googleadwordsremarketing={key:"googleadwordsremarketing",type:"ads",name:"Google Adwords (remarketing)",uri:"https://www.google.com/settings/ads",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.adwordsremarketingId&&tarteaucitron.addScript("//www.googleadservices.com/pagead/conversion_async.js","",function(){window.google_trackConversion({google_conversion_id:tarteaucitron.user.adwordsremarketingId,google_remarketing_only:!0})})}},tarteaucitron.services.gajs={key:"gajs",type:"analytic",name:"Google Analytics (ga.js)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz"],js:function(){window._gaq=window._gaq||[],window._gaq.pu
1sh(["_setAccount",tarteaucitron.user.gajsUa]),tarteaucitron.user.gajsAnonymizeIp&&window._gaq.push(["_gat._anonymizeIp"]),tarteaucitron.user.gajsPageView?window._gaq.push(["_trackPageview, "+tarteaucitron.user.gajsPageView]):window._gaq.push(["_trackPageview"]),tarteaucitron.addScript("//www.google-analytics.com/ga.js","",function(){"function"==typeof tarteaucitron.user.gajsMore&&tarteaucitron.user.gajsMore()})}},tarteaucitron.services.analytics={key:"analytics",type:"analytic",name:"Google Analytics (universal)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:["_ga","_gat","_gid","__utma","__utmb","__utmc","__utmt","__utmz"],js:function(){window.GoogleAnalyticsObject="ga",window.ga=window.ga||function(){window.ga.q=window.ga.q||[],window.ga.q.push(arguments)},window.ga.l=new Date,tarteaucitron.addScript("https://www.google-analytics.com/analytics.js","",function(){var t={cookieExpires:34128e3};tarteaucitron.extend(t,tarteaucitron.user.analyticsUaCreate||{}),ga("create",tarteaucitron.user.analyticsUa,t),tarteaucitron.user.analyticsAnonymizeIp&&ga("set","anonymizeIp",!0),"function"==typeof tarteaucitron.user.analyticsPrepare&&tarteaucitron.user.analyticsPrepare(),tarteaucitron.user.analyticsPageView?ga("send","pageview",tarteaucitron.user.analyticsPageView):ga("send","pageview"),"function"==typeof tarteaucitron.user.analyticsMore&&tarteaucitron.user.analyticsMore()})}},tarteaucitron.services.gtag={key:"gtag",type:"analytic",name:"Google Analytics (gtag.js)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:["_ga","_gat","_gid","__utma","__utmb","__utmc","__utmt","__utmz",("_gat_gtag_"+tarteaucitron.user.gtagUa).replace(/-/g,"_")],js:function(){window.dataLayer=window.dataLayer||[],tarteaucitron.addScript("https://www.googletagmanager.com/gtag/js?id="+tarteaucitron.user.gtagUa,"",function(){window.gtag=function(){dataLayer.push(arguments)},gtag("js",new Date),gtag("config",tarteaucitron.user.gtagUa),"function"==typeof tarteaucitron.user.gtagMore&&tarteaucitron.user.gtagMore()})}},tarteaucitron.services.googlemaps={key:"googlemaps",type:"api",name:"Google Maps",uri:"https://adssettings.google.com/",needConsent:!0,cookies:[],js:function(){var t,e,i=[],n=(void 0===tarteaucitron.user.mapscallback&&(tarteaucitron.user.mapscallback="tac_googlemaps_callback"),"");tarteaucitron.user.googlemapsLibraries&&(n="&libraries="+tarteaucitron.user.googlemapsLibraries),tarteaucitron.addScript("//maps.googleapis.com/maps/api/js?v=3.exp&key="+tarteaucitron.user.googlemapsKey+"&callback="+tarteaucitron.user.mapscallback+n),window.tac_googlemaps_callback=function(){for(tarteaucitron.fallback(["googlemaps-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" zoom="'+t.getAttribute("zoom")+'" latitude="'+t.getAttribute("latitude")+'" longitude="'+t.getAttribute("longitude")+'" style="width:'+t.offsetWidth+"px;height:"+t.offsetHeight+'px"></div>'}),e=0;e<i.length;e+=1)t={zoom:parseInt(document.getElementById(i[e]).getAttribute("zoom"),10),center:new google.maps.LatLng(parseFloat(document.getElementById(i[e]).getAttribute("latitude"),10),parseFloat(document.getElementById(i[e]).getAttribute("longitude"),10))},t=new google.maps.Map(document.getElementById(i[e]),t),new google.maps.Marker({position:{lat:parseFloat(document.getElementById(i[e]).getAttribute("latitude"),10),lng:parseFloat(document.getElementById(i[e]).getAttribute("longitude"),10)},map:t})}},fallback:function(){tarteaucitron.fallback(["googlemaps-canvas"],tarteaucitron.engage("googlemaps"))}},tarteaucitron.services.googlemapssearch={key:"googlemapssearch",type:"api",name:"Google Maps Search API",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["nid"],js:function(){tarteaucitron.fallback(["googlemapssearch"],function(t){return'<iframe width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q='+escape(t.getAttribute("data-search"))+"&key="+t.getAttribute("data-api-key")+'" allowfullscreen></iframe> '})},fallback:function(){tarteaucitron.fallback(["googlemapssearch"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("googlemapssearch")})}},tarteaucitron.services.googlemapsembed={key:"googlemapsembed",type:"api",name:"Google Maps Embed",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["apisid","hsid","nid","sapisid","sid","sidcc","ssid","1p_jar"],js:function(){tarteaucitron.fallback(["googlemapsembed"],function(t){var e=tarteaucitron.getElemWidth(t),i=tarteaucitron.getElemHeight(t);return'<iframe src="'+t.getAttribute("data-url")+'" width="'+e+'" height="'+i+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["googlemapsembed"],function(t){return t.style.width=tarteaucitron.getElemWidth(t)+"px",t.style.height=tarteaucitron.getElemHeight(t)+"px",tarteaucitron.engage("googlemapsembed")})}},tarteaucitron.services.googletagmanager={key:"googletagmanager",type:"api",name:"Google Tag Manager",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz","__gads","_drt_","FLC","exchange_uid","id","fc","rrs","rds","rv","uid","UIDR","UID","clid","ipinfo","acs"],js:function(){void 0!==tarteaucitron.user.googletagmanagerId&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"}),tarteaucitron.addScript("https://www.googletagmanager.com/gtm.js?id="+tarteaucitron.user.googletagmanagerId))}},tarteaucitron.services.multiplegoogletagmanager={key:"multiplegoogletagmanager",type:"api",name:"Google Tag Manager",uri:"https://adssettings.google.com/",needConsent:!0,cookies:["_ga","_gat","__utma","__utmb","__utmc","__utmt","__utmz","__gads","_drt_","FLC","exchange_uid","id","fc","rrs","rds","rv","uid","UIDR","UID","clid","ipinfo","acs"],js:function(){void 0!==tarteaucitron.user.multiplegoogletagmanagerId&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"}
1),tarteaucitron.user.multiplegoogletagmanagerId.forEach(function(t){tarteaucitron.addScript("https://www.googletagmanager.com/gtm.js?id="+t)}))}},tarteaucitron.services.googlefonts={key:"googlefonts",type:"api",name:"Google Webfonts",uri:"https://www.google.com/intl/de/policies/privacy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.googleFonts&&tarteaucitron.addScript("//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js","",function(){WebFont.load({google:{families:tarteaucitron.user.googleFonts}})})}},tarteaucitron.services.hubspot={key:"hubspot",type:"analytic",name:"Hubspot",uri:"https://legal.hubspot.com/privacy-policy",needConsent:!0,cookies:["hubspotutk","fr","__hstc","__hssrc","__hssc","__cfduid"],js:function(){tarteaucitron.addScript("//js.hs-scripts.com/"+tarteaucitron.user.hubspotId+".js","hs-script-loader")}},tarteaucitron.services.jsapi={key:"jsapi",type:"api",name:"Google jsapi",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("//www.google.com/jsapi")}},tarteaucitron.services.twitterwidgetsapi={key:"twitterwidgetsapi",type:"api",name:"Twitter Widgets API",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacTwitterAPI"],""),tarteaucitron.addScript("//platform.twitter.com/widgets.js","twitter-wjs")},fallback:function(){tarteaucitron.fallback(["tacTwitterAPI"],tarteaucitron.engage("twitterwidgetsapi"))}},tarteaucitron.services.recaptcha={key:"recaptcha",type:"api",name:"reCAPTCHA",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["nid"],js:function(){window.tacRecaptchaOnLoad=tarteaucitron.user.recaptchaOnLoad||function(){},tarteaucitron.fallback(["g-recaptcha"],""),tarteaucitron.addScript("https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad")},fallback:function(){tarteaucitron.fallback(["g-recaptcha"],tarteaucitron.engage("recaptcha"))}},tarteaucitron.services.linkedin={key:"linkedin",type:"social",name:"Linkedin",uri:"https://www.linkedin.com/legal/cookie_policy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacLinkedin"],""),tarteaucitron.addScript("//platform.linkedin.com/in.js"),!0===tarteaucitron.isAjax&&"undefined"!=typeof IN&&IN.parse()},fallback:function(){tarteaucitron.fallback(["tacLinkedin"],tarteaucitron.engage("linkedin"))}},tarteaucitron.services.mautic={key:"mautic",type:"analytic",name:"Mautic",uri:"https://www.mautic.org/privacy-policy/",needConsent:!0,cookies:["mtc_id","mtc_sid"],js:function(){void 0!==tarteaucitron.user.mauticurl&&(window.MauticTrackingObject="mt",window.mt=window.mt||function(){window.mt.q=window.mt.q||[],window.mt.q.push(arguments)},tarteaucitron.addScript(tarteaucitron.user.mauticurl,"",function(){mt("send","pageview")}))}},tarteaucitron.services.microsoftcampaignanalytics={key:"microsoftcampaignanalytics",type:"analytic",name:"Microsoft Campaign Analytics",uri:"https://privacy.microsoft.com/privacystatement/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.microsoftcampaignanalyticsUUID&&tarteaucitron.addScript("//flex.atdmt.com/mstag/site/"+tarteaucitron.user.microsoftcampaignanalyticsUUID+"/mstag.js","mstag_tops",function(){window.mstag={loadTag:function(){},time:(new Date).getTime()},window.mstag.loadTag("analytics",{dedup:"1",domainId:tarteaucitron.user.microsoftcampaignanalyticsdomainId,type:"1",actionid:tarteaucitron.user.microsoftcampaignanalyticsactionId})})}},tarteaucitron.services.pinterest={key:"pinterest",type:"social",name:"Pinterest",uri:"https://about.pinterest.com/privacy-policy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacPinterest"],""),tarteaucitron.addScript("//assets.pinterest.com/js/pinit.js")},fallback:function(){tarteaucitron.fallback(["tacPinterest"],tarteaucitron.engage("pinterest"))}},tarteaucitron.services.prelinker={key:"prelinker",type:"ads",name:"Prelinker",uri:"http://www.prelinker.com/index/index/cgu/",needConsent:!0,cookies:["_sp_id.32f5","_sp_ses.32f5"],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["prelinker-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" siteId="'+t.getAttribute("siteId")+'" bannerId="'+t.getAttribute("bannerId")+'" defaultLanguage="'+t.getAttribute("defaultLanguage")+'" tracker="'+t.getAttribute("tracker")+'"></div>'}),t=0;t<i.length;t+=1)e="http://promo.easy-dating.org/banner/index?",e=(e=(e=(e+="site_id="+document.getElementById(i[t]).getAttribute("siteId")+"&")+"banner_id="+document.getElementById(i[t]).getAttribute("bannerId")+"&")+"default_language="+document.getElementById(i[t]).getAttribute("defaultLanguage")+"&")+"tr4ck="+document.getElementById(i[t]).getAttribute("trackrt"),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["prelinker-canvas"],tarteaucitron.engage("prelinker"))}},tarteaucitron.services.prezi={key:"prezi",type:"video",name:"Prezi",uri:"https://prezi.com/privacy-policy/",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["prezi-canvas"],function(t){return'<iframe src="'+("https://prezi.com/embed/"+t.getAttribute("data-id")+"/?bgcolor=ffffff&lock_to_path=0&autoplay=0&autohide_ctrls=0")+'" width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["prezi-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("prezi")})}},tarteaucitron.services.pubdirecte={key:"pubdirecte",type:"ads",name:"Pubdirecte",uri:"http://pubdirecte.com/contact.php",needConsent:!0,cookies:[],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["pubdirecte-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" pid="'+t.getAttribute("pid")+'" ref="'+t.getAttribute("ref")+'"></div>'}),t=0;t<i.length;t+=1)e="//www.pubdirecte.com/script/banniere.php?",e=(e+="id="+document.getElementById(i[t]).getAttribute("pid")+"&")+"ref="+document.getElementById(i[t]).getAttribute("ref"),tarteaucitron.makeAsync.init(e,i[t])},fallback:function(){tarteaucitron.fallback(["pubdirecte-canvas"],tarteaucitron.engage("pubdirecte"))}},tarteaucitron.services.purechat={key:"purechat",type:"support",name:"PureChat",uri:"https://www.purechat.com/privacy",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.purechatId&&tarteaucitron.addScript("//app.purechat.com/VisitorWidget/WidgetScript","",function(){try{window.w=new PCWidget({c:tarteaucitron.user.purechatId,f:!0})}catch(t){}})}},tarteaucitron.services.rumbletalk={key:"rumbletalk",type:"social",name:"RumbleTalk",needConsent:!0,cookies:["AWSALB"],js:function(){void 0!==tarteaucitron.user.rumbletalkid&&(tarteaucitron.addScript("https://rumbletalk.com/client/?"+tarteaucitron.user.rumbletalkid),tarteaucitron.fallback(["rumbletalk"],function(t){var e=tarteaucitron.getElemWidth(t);return'<div style="height: '+tarteaucitron.getElemHeight(t)+"px; width: "+e+'px;"><div id="'+t.getAttribute("data-id")+'"></div></div>'}))},fallback:function(){tarteaucitron.fallback(["rumbletalk"],function(t){return t.style.width=tarteaucitron.getElemWidth(t)+"px",t.style.height=tarteaucitron.getElemHeight(t)+"px",tarteaucitron.engage("rumbletalk")})}},tarteaucitron.services.shareaholic={key:"shareaholic",type:"social",name:"Shareaholic",uri:"https://shareaholic.com/privacy/choices",needConsent:!0,cookies:["__utma","__utmb","__utmc","__utmz","__utmt_Shareaholic%20Pageviews"],js:function(){void 0!==tarteaucitron.user.shareaholicSiteId&&(tarteaucitron.fallback(["shareaholic-canvas"],""),tarteaucitron.addScript("//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js","",function(){try{Shareaholic.init(tarteaucitron.user.shareaholicSiteId)}catch(t){}}))},fallback:function(){tarteaucitron.fallback(["shareaholic-canvas"],tarteaucitron.engage("shareaholic"))}},tarteaucitron.services.shareasale={key:"shareasale",type:"ads",name:"ShareASale",uri:"https://www.shareasale.com/PrivacyPolicy.pdf",needConsent:!0,cookies:[],js:function(){var t,e,i=[];for(tarteaucitron.fallback(["shareasale-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'" amount="'+t.getAttribute("amount")+'" tracking="'+t.getAttribute("tracking")+'" transtype="'+t.getAttribute("transtype")+'" persale="'+t.getAttribute("persale")+'" perlead="'+t.getAttribute("perlead")+'" perhit="'+t.getAttribute("perhit")+'" merchantID="'+t.getAttribute("merchantID")+'"></div>'}),t=0;t<i.length;
1t+=1)e="https://shareasale.com/sale.cfm?",e=(e=(e=(e=(e=(e=(e+="amount="+document.getElementById(i[t]).getAttribute("amount")+"&")+"tracking="+document.getElementById(i[t]).getAttribute("tracking")+"&")+"transtype="+document.getElementById(i[t]).getAttribute("transtype")+"&")+"persale="+document.getElementById(i[t]).getAttribute("persale")+"&")+"perlead="+document.getElementById(i[t]).getAttribute("perlead")+"&")+"perhit="+document.getElementById(i[t]).getAttribute("perhit")+"&")+"merchantID="+document.getElementById(i[t]).getAttribute("merchantID"),document.getElementById(i[t]).innerHTML="<img src='"+e+"' width='1' height='1' />"},fallback:function(){tarteaucitron.fallback(["shareasale-canvas"],tarteaucitron.engage("shareasale"))}},tarteaucitron.services.sharethis={key:"sharethis",type:"social",name:"ShareThis",uri:"http://www.sharethis.com/legal/privacy/",needConsent:!0,cookies:["__unam"],js:function(){var t;void 0!==tarteaucitron.user.sharethisPublisher&&(t=("https:"===document.location.protocol?"https://ws":"http://w")+".sharethis.com/button/buttons.js",tarteaucitron.fallback(["tacSharethis"],""),tarteaucitron.addScript(t,"",function(){stLight.options({publisher:tarteaucitron.user.sharethisPublisher,doNotHash:!1,doNotCopy:!1,hashAddressBar:!1})}),!0===tarteaucitron.isAjax)&&"undefined"!=typeof stButtons&&stButtons.locateElements()},fallback:function(){tarteaucitron.fallback(["tacSharethis"],tarteaucitron.engage("sharethis"))}},tarteaucitron.services.slideshare={key:"slideshare",type:"video",name:"SlideShare",uri:"https://www.linkedin.com/legal/privacy-policy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["slideshare-canvas"],function(t){return'<iframe src="'+("//www.slideshare.net/slideshow/embed_code/"+t.getAttribute("data-id"))+'" width="'+t.getAttribute("width")+'" height="'+t.getAttribute("height")+'" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["slideshare-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("slideshare")})}},tarteaucitron.services.statcounter={key:"statcounter",type:"analytic",name:"StatCounter",uri:"https://fr.statcounter.com/about/legal/#privacy",needConsent:!0,cookies:["sc_is_visitor_unique"],js:function(){var t,i=[];for(tarteaucitron.fallback(["statcounter-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return i.push(e),'<div id="'+e+'"></div>'}),t=0;t<i.length;t+=1)tarteaucitron.makeAsync.init("//statcounter.com/counter/counter.js",i[t])},fallback:function(){tarteaucitron.fallback(["statcounter-canvas"],tarteaucitron.engage("statcounter"))}},tarteaucitron.services.timelinejs={key:"timelinejs",type:"api",name:"Timeline JS",uri:"http://timeline.knightlab.com/#help",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["timelinejs-canvas"],function(t){var e=t.getAttribute("spreadsheet_id"),i=t.getAttribute("width"),n=t.getAttribute("height"),o=t.getAttribute("lang_2_letter");return'<iframe src="'+("//cdn.knightlab.com/libs/timeline/latest/embed/index.html?source="+e+"&font="+t.getAttribute("font")+"&maptype="+t.getAttribute("map")+"&lang="+o+"&start_at_end="+t.getAttribute("start_at_end")+"&hash_bookmark="+t.getAttribute("hash_bookmark")+"&start_at_slide="+t.getAttribute("start_at_slide")+"&start_zoom_adjust="+t.getAttribute("start_zoom")+"&height="+n)+'" width="'+i+'" height="'+n+'" frameborder="0" allowtransparency allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["timelinejs-canvas"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("timelinejs")})}},tarteaucitron.services.tagcommander={key:"tagcommander",type:"api",name:"TagCommander",uri:"https://www.commandersact.com/en/privacy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.tagcommanderid&&tarteaucitron.addScript("https://cdn.tagcommander.com/"+tarteaucitron.user.tagcommanderid+".js")}},tarteaucitron.services.typekit={key:"typekit",type:"api",name:"Typekit (adobe)",uri:"https://www.adobe.com/privacy.html",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.typekitId&&tarteaucitron.addScript("//use.typekit.net/"+tarteaucitron.user.typekitId+".js","",function(){try{Typekit.load()}catch(t){}})}},tarteaucitron.services.twenga={key:"twenga",type:"ads",name:"Twenga",uri:"http://www.twenga.com/privacy.php",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.twengaId&&void 0!==tarteaucitron.user.twengaLocale&&tarteaucitron.addScript("//tracker.twenga."+tarteaucitron.user.twengaLocale+"/st/tracker_"+tarteaucitron.user.twengaId+".js")}},tarteaucitron.services.twitter={key:"twitter",type:"social",name:"Twitter",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacTwitter"],""),tarteaucitron.addScript("//platform.twitter.com/widgets.js","twitter-wjs")},fallback:function(){tarteaucitron.fallback(["tacTwitter"],tarteaucitron.engage("twitter"))}},tarteaucitron.services.twitterembed={key:"twitterembed",type:"social",name:"Twitter (cards)",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){var t,e,i,n=[];tarteaucitron.fallback(["twitterembed-canvas"],function(t){var e="_"+Math.random().toString(36).substr(2,9);return n.push(e),i='<div id="'+e+'" ',(i+='tweetid="'+t.getAttribute("tweetid")+'" ')+('theme="'+t.getAttribute("theme")+'" ')+('cards="'+t.getAttribute("cards")+'" ')+('conversation="'+t.getAttribute("conversation")+'" ')+('data-width="'+t.getAttribute("data-width")+'" ')+('data-align="'+t.getAttribute("data-align")+'" ')+"></div>"}),tarteaucitron.addScript("//platform.twitter.com/widgets.js","twitter-wjs",function(){for(t=0;t<n.length;t+=1)e=document.getElementById(n[t]),twttr.widgets.createTweet(e.getAttribute("tweetid"),e,{theme:e.getAttribute("theme"),cards:e.getAttribute("cards"),conversation:e.getAttribute("conversation"),lang:tarteaucitron.getLanguage(),dnt:!0,width:e.getAttribute("data-width"),align:e.getAttribute("data-align")})})},fallback:function(){tarteaucitron.fallback(["twitterembed-canvas"],function(t){return t.style.width=t.getAttribute("data-width")+"px",tarteaucitron.engage("twitterembed")})}},tarteaucitron.services.twittertimeline={key:"twittertimeline",type:"social",name:"Twitter (timelines)",uri:"https://support.twitter.com/articles/20170514",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["tacTwitterTimelines"],""),tarteaucitron.addScript("//platform.twitter.com/widgets.js","twitter-wjs")},fallback:function(){tarteaucitron.fallback(["tacTwitterTimelines"],tarteaucitron.engage("twittertimeline"))}},tarteaucitron.services.uservoice={key:"uservoice",type:"support",name:"UserVoice",uri:"https://www.uservoice.com/privacy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.userVoiceApi&&tarteaucitron.addScript("//widget.uservoice.com/"+tarteaucitron.user.userVoiceApi+".js")}},tarteaucitron.services.vimeo={key:"vimeo",type:"video",name:"Vimeo",uri:"https://vimeo.com/privacy",needConsent:!0,cookies:["__utmt_player","__utma","__utmb","__utmc","__utmv","vuid","__utmz","player"],js:function(){tarteaucitron.fallback(["vimeo_player"],function(t){var e,i=t.getAttribute("data-width")||t.getAttribute("width"),n="width=",o=t.getAttribute("data-height")||t.getAttribute("height"),a="height=",r=t.getAttribute("data-videoID")||t.getAttribute("videoID"),s=t.getAttribute("data-autopause")||"",l=t.getAttribute("data-autoplay")||t.getAttribute("autoplay")||"",c=t.getAttribute("data-background")||"",u=t.getAttribute("data-byline")||t.getAttribute("byline")||"",d=t.getAttribute("data-color")||"",h=t.getAttribute("data-controls")||"",p=t.getAttribute("data-loop")||t.getAttribute("loop")||"",f=t.getAttribute("data-maxheight")||"",m=t.getAttribute("data-maxwidth")||"",g=t.getAttribute("data-muted")||"",v=t.getAttribute("data-playsinline")||"",y=t.getAttribute("data-portrait")||t.getAttribute("portrait")||"",b=t.getAttribute("data-speed")||"",_=t.getAttribute("data-title")||t.getAttribute("title")||"",t=t.getAttribute("data-transparent")||"";return void 0===r?"":(e="?",0<_.length&&(e+="title="+_),0<u.length&&(0<e.length&&(e+="&"),e+="byline="+u),0<y.length&&(0<e.length&&(e+="&"),e+="portrait="+y),0<
1p.length&&(0<e.length&&(e+="&"),e+="loop="+p),0<l.length&&(0<e.length&&(e+="&"),e+="autoplay="+l),0<s.length&&(0<e.length&&(e+="&"),e+="autopause="+s),0<c.length&&(0<e.length&&(e+="&"),e+="background="+c),0<d.length&&(0<e.length&&(e+="&"),e+="color="+d),0<h.length&&(0<e.length&&(e+="&"),e+="controls="+h),0<f.length&&(0<e.length&&(e+="&"),e+="maxheight="+f),0<m.length&&(0<e.length&&(e+="&"),e+="maxwidth="+m),0<g.length&&(0<e.length&&(e+="&"),e+="muted="+g),0<v.length&&(0<e.length&&(e+="&"),e+="playsinline="+v),0<b.length&&(0<e.length&&(e+="&"),e+="speed="+b),0<t.length&&(0<e.length&&(e+="&"),e+="transparent="+t),'<iframe src="//player.vimeo.com/video/'+r+(e="?"===e?"":e)+'" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>')})},fallback:function(){tarteaucitron.fallback(["vimeo_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("vimeo")})}},tarteaucitron.services.visualrevenue={key:"visualrevenue",type:"analytic",name:"VisualRevenue",uri:"http://www.outbrain.com/legal/privacy-713/",needConsent:!0,cookies:["__vrf","__vrm","__vrl","__vry","__vru","__vrid","__vrz"],js:function(){void 0!==tarteaucitron.user.visualrevenueId&&(window._vrq=window._vrq||[],window._vrq.push(["id",tarteaucitron.user.visualrevenueId]),window._vrq.push(["automate",!0]),window._vrq.push(["track",function(){}]),tarteaucitron.addScript("http://a.visualrevenue.com/vrs.js"))}},tarteaucitron.services.vshop={key:"vshop",type:"ads",name:"vShop",uri:"http://vshop.fr/privacy-policy",needConsent:!0,cookies:[],js:function(){tarteaucitron.fallback(["vcashW"],""),tarteaucitron.addScript("//vshop.fr/js/w.js")},fallback:function(){tarteaucitron.fallback(["vcashW"],tarteaucitron.engage("vshop"))}},tarteaucitron.services.wysistat={key:"wysistat",type:"analytic",name:"Wysistat",uri:"http://wysistat.net/contact/",needConsent:!0,cookies:["Wysistat"],js:function(){void 0!==tarteaucitron.user.wysistat&&tarteaucitron.addScript("//www.wysistat.com/statistique.js","",function(){window.stat(tarteaucitron.user.wysistat.cli,tarteaucitron.user.wysistat.frm,tarteaucitron.user.wysistat.prm,tarteaucitron.user.wysistat.ce,tarteaucitron.user.wysistat.page,tarteaucitron.user.wysistat.roi,tarteaucitron.user.wysistat.prof,tarteaucitron.user.wysistat.cpt)})}},tarteaucitron.services.xiti={key:"xiti",type:"analytic",name:"Xiti",uri:"https://www.atinternet.com/societe/rgpd-et-vie-privee/",needConsent:!0,cookies:[],js:function(){if(void 0!==tarteaucitron.user.xitiId){var e,t,i="s="+tarteaucitron.user.xitiId+"&p=",n=document.createElement("div");try{e=top.document.referrer}catch(t){e=document.referrer}t='<img style="display:none" border="0" alt="" ',t=(t+='src="http://logv3.xiti.com/hit.xiti?'+i)+("&hl="+(i=new Date).getHours()+"x"+i.getMinutes()+"x"+i.getSeconds()),4<=parseFloat(navigator.appVersion)&&(t+="&r="+(i=screen).width+"x"+i.height+"x"+i.pixelDepth+"x"+i.colorDepth),n.innerHTML=t+"&ref="+e.replace(/[<>"]/g,"").replace(/&/g,"$")+'" title="Internet Audience">',document.getElementsByTagName("body")[0].appendChild(n.firstChild),"function"==typeof tarteaucitron.user.xitiMore&&tarteaucitron.user.xitiMore()}}},tarteaucitron.services.atinternet={key:"atinternet",type:"analytic",name:"AT Internet (privacy by design)",uri:"https://www.atinternet.com/societe/rgpd-et-vie-privee/",needConsent:!1,cookies:["atidvisitor","atreman","atredir","atsession","atuserid"],js:function(){void 0!==tarteaucitron.user.atLibUrl&&tarteaucitron.addScript(tarteaucitron.user.atLibUrl,"",function(){new ATInternet.Tracker.Tag;"function"==typeof tarteaucitron.user.atMore&&tarteaucitron.user.atMore()})}},tarteaucitron.services.atinternethightrack={key:"atinternethightrack",type:"analytic",name:"AT Internet",uri:"https://www.atinternet.com/societe/rgpd-et-vie-privee/",needConsent:!0,cookies:["atidvisitor","atreman","atredir","atsession","atuserid"],js:function(){void 0!==tarteaucitron.user.atLibUrl&&tarteaucitron.addScript(tarteaucitron.user.atLibUrl,"",function(){new ATInternet.Tracker.Tag;"function"==typeof tarteaucitron.user.atMore&&tarteaucitron.user.atMore()})}},tarteaucitron.services.youtube={key:"youtube",type:"video",name:"YouTube",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["VISITOR_INFO1_LIVE","YSC","PREF","GEUP"],js:function(){tarteaucitron.fallback(["youtube_player"],function(t){var e=t.getAttribute("videoID"),i=t.getAttribute("width"),n="width=",o=t.getAttribute("height"),a="height=",t="theme="+t.getAttribute("theme")+"&rel="+t.getAttribute("rel")+"&controls="+t.getAttribute("controls")+"&showinfo="+t.getAttribute("showinfo")+"&autoplay="
1+t.getAttribute("autoplay")+"&mute="+t.getAttribute("mute");return void 0===e?"":'<iframe type="text/html" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' src="//www.youtube-nocookie.com/embed/'+e+"?"+t+'" frameborder="0" allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["youtube_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("youtube")})}},tarteaucitron.services.youtubeplaylist={key:"youtubeplaylist",type:"video",name:"YouTube (playlist)",uri:"https://policies.google.com/privacy",needConsent:!0,cookies:["VISITOR_INFO1_LIVE","YSC","PREF","GEUP"],js:function(){tarteaucitron.fallback(["youtube_playlist_player"],function(t){var e=t.getAttribute("playlistID"),i=t.getAttribute("width"),n="width=",o=t.getAttribute("height"),a="height=",t="theme="+t.getAttribute("theme")+"&rel="+t.getAttribute("rel")+"&controls="+t.getAttribute("controls")+"&showinfo="+t.getAttribute("showinfo")+"&autoplay="+t.getAttribute("autoplay")+"&mute="+t.getAttribute("mute");return void 0===e?"":'<iframe type="text/html" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' src="//www.youtube-nocookie.com/embed/videoseries?list='+e+"&"+t+'" frameborder="0" allowfullscreen></iframe>'})},fallback:function(){tarteaucitron.fallback(["youtube_playlist_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("youtubeplaylist")})}},tarteaucitron.services.zopim={key:"zopim",type:"support",name:"Zopim",uri:"https://www.zopim.com/privacy",needConsent:!0,cookies:["__zlcid","__zprivacy"],js:function(){void 0!==tarteaucitron.user.zopimID&&tarteaucitron.addScript("//v2.zopim.com/?"+tarteaucitron.user.zopimID)}},tarteaucitron.services.xiti_smarttag={key:"xiti_smarttag",type:"analytic",name:"Xiti (SmartTag)",uri:"https://www.atinternet.com/societe/protection-des-donnees/",needConsent:!0,cookies:["atidvisitor","atreman","atredir","atsession","atuserid","attvtreman","attvtsession"],js:function(){var t;void 0!==tarteaucitron.user.xiti_smarttagLocalPath?tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath,"smarttag",null,null,"onload","addTracker();"):void 0!==(t=tarteaucitron.user.xiti_smarttagSiteId)&&tarteaucitron.addScript("//tag.aticdn.net/"+t+"/smarttag.js","smarttag",null,null,"onload","addTracker();")}},tarteaucitron.services.facebookpixel={key:"facebookpixel",type:"ads",name:"Facebook Pixel",uri:"https://fr-fr.facebook.com/business/help/www/651294705016616",needConsent:!0,cookies:["datr","fr","reg_ext_ref","reg_fb_gate","reg_fb_ref","sb","wd","x-src"],js:function(){var t;window.fbq||(t=window.fbq=function(){t.callMethod?t.callMethod.apply(t,arguments):t.queue.push(arguments)},window._fbq||(window._fbq=t),(t.push=t).loaded=!0,t.version="2.0",t.queue=[],tarteaucitron.addScript("https://connect.facebook.net/en_US/fbevents.js"),fbq("init",tarteaucitron.user.facebookpixelId),fbq("track","PageView"),"function"==typeof tarteaucitron.user.facebookpixelMore&&tarteaucitron.user.facebookpixelMore())}},tarteaucitron.services.issuu={key:"issuu",type:"other",name:"Issuu",uri:"https://issuu.com/legal/privacy",needConsent:!0,cookies:["__qca","iutk","mc"],js:function(){tarteaucitron.fallback(["issuu_player"],function(t){var e=t.getAttribute("issuuID"),i=t.getAttribute("width"),n="width=",t=t.getAttribute("height"),o="height=";return void 0===e?"":'<iframe type="text/html" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(o+=void 0!==t?'"'+t+'" ':'"" ')+' src="//e.issuu.com/embed.html#'+e+'" frameborder="0"></iframe>'})},fallback:function(){tarteaucitron.fallback(["issuu_player"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("issuu")})}},tarteaucitron.services.webmecanik={key:"webmecanik",type:"analytic",name:"Webmecanik",uri:"https://webmecanik.com/tos",needConsent:!0,cookies:["mtc_id","mtc_sid"],js:function(){void 0!==tarteaucitron.user.webmecanikurl&&(window.MauticTrackingObject="mt",window.mt=window.mt||function(){window.mt.q=window.mt.q||[],window.mt.q.push(arguments)},tarteaucitron.addScript(tarteaucitron.user.webmecanikurl,"",function(){mt("send","pageview")}))}},tarteaucitron.services.multiplegtag={key:"multiplegtag",type:"analytic",name:"Google Analytics (gtag.js)",uri:"https://support.google.com/analytics/answer/6004245",needConsent:!0,cookies:(()=>{var e=["_ga","_gat","_gid","__utma","__utmb","__utmc","__utmt","__utmz"];return void 0!==tarteaucitron.user.multiplegtagUa&&tarteaucitron.user.multiplegtagUa.forEac
1h(function(t){e.push("_gat_gtag_"+t.replace(/-/g,"_"))}),e})(),js:function(){window.dataLayer=window.dataLayer||[],tarteaucitron.user.multiplegtagUa.forEach(function(t){tarteaucitron.addScript("https://www.googletagmanager.com/gtag/js?id="+t,"",function(){window.gtag=function(){dataLayer.push(arguments)},gtag("js",new Date),gtag("config",t)})})}},tarteaucitron.services.koban={key:"koban",type:"analytic",name:"Koban",uri:"https://koban.cloud/tos",needConsent:!0,cookies:["kbntrk"],js:function(){void 0!==tarteaucitron.user.kobanurl&&void 0!==tarteaucitron.user.kobanapi&&(window.KobanObject="kb",window.kb=window.kb||function(){window.kb.q=window.kb.q||[],window.kb.q.push(arguments)},window.kb.l=new Date,kb("reg",tarteaucitron.user.kobanapi),tarteaucitron.addScript(tarteaucitron.user.kobanurl,"",function(){}))}},tarteaucitron.services.matomo={key:"matomo",type:"analytic",name:"Matomo (privacy by design)",uri:"https://matomo.org/faq/general/faq_146/",needConsent:!1,cookies:["_pk_ref","_pk_cvar","_pk_id","_pk_ses","_pk_hsr","piwik_ignore","_pk_uid"],js:function(){var n;void 0!==tarteaucitron.user.matomoId&&(window._paq=window._paq||[],window._paq.push(["setSiteId",tarteaucitron.user.matomoId]),window._paq.push(["setTrackerUrl",tarteaucitron.user.matomoHost+"piwik.php"]),window._paq.push(["setDoNotTrack",1]),window._paq.push(["trackPageView"]),window._paq.push(["setIgnoreClasses",["no-tracking","colorbox"]]),window._paq.push(["enableLinkTracking"]),window._paq.push([function(){var t,e=this;this.setVisitorCookieTimeout((t=new Date,t=Math.round(t.getTime()/1e3),e=e.getVisitorInfo(),parseInt(e[2])+33696e3-t))}]),tarteaucitron.addScript(tarteaucitron.user.matomoHost+"piwik.js","","",!0,"defer",!0),n=setInterval(function(){if("undefined"!=typeof Piwik){clearInterval(n),Piwik.getTracker();for(var t=document.cookie.split(";"),e=1;e<=t.length;e++){var i=t[e-1].split("=")[0].trim();0===i.indexOf("_pk_")&&tarteaucitron.services.matomo.cookies.push(i)}}},100))}},tarteaucitron.services.matomohightrack={key:"matomohightrack",type:"analytic",name:"Matomo",uri:"https://matomo.org/faq/general/faq_146/",needConsent:!0,cookies:["_pk_ref","_pk_cvar","_pk_id","_pk_ses","_pk_hsr","piwik_ignore","_pk_uid"],js:function(){var n;void 0!==tarteaucitron.user.matomoId&&(window._paq=window._paq||[],window._paq.push(["setSiteId",tarteaucitron.user.matomoId]),window._paq.push(["setTrackerUrl",tarteaucitron.user.matomoHost+"piwik.php"]),window._paq.push(["trackPageView"]),window._paq.push(["setIgnoreClasses",["no-tracking","colorbox"]]),window._paq.push(["enableLinkTracking"]),window._paq.push([function(){}]),tarteaucitron.addScript(tarteaucitron.user.matomoHost+"piwik.js","","",!0,"defer",!0),n=setInterval(function(){if("undefined"!=typeof Piwik){clearInterval(n),Piwik.getTracker();for(var t=document.cookie.split(";"),e=1;e<=t.length;e++){var i=t[e-1].split("=")[0].trim();0===i.indexOf("_pk_")&&tarteaucitron.services.matomo.cookies.push(i)}}},100))}},tarteaucitron.services.hotjar={key:"hotjar",type:"analytic",name:"Hotjar",uri:"https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",needConsent:!0,cookies:["hjClosedSurveyInvites","_hjDonePolls","_hjMinimizedPolls","_hjDoneTestersWidgets","_hjMinimizedTestersWidgets","_hjDoneSurveys","_hjIncludedInSample","_hjShownFeedbackMessage"],js:function(){void 0!==tarteaucitron.user.hotjarId&&void 0!==tarteaucitron.user.HotjarSv&&(window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)},window._hjSettings={hjid:tarteaucitron.user.hotjarId,hjsv:tarteaucitron.user.HotjarSv},tarteaucitron.addScript("https://static.hotjar.com/c/hotjar-"+window._hjSettings.hjid+".js?sv="+window._hjSettings.hjsv))}},tarteaucitron.services.bingads={key:"bingads",type:"ads",name:"Bing Ads Universal Event Tracking",uri:"https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads",needConsent:!0,cookies:["_uetmsclkid","_uetvid","_uetsid"],js:function(){window.uetq=window.uetq||[],tarteaucitron.addScript("https://bat.bing.com/bat.js","",function(){var t={ti:tarteaucitron.user.bingadsID};"bingadsStoreCookies"in tarteaucitron.user&&(t.storeConvTrackCookies=tarteaucitron.user.bingadsStoreCookies),t.q=window.uetq,window.uetq=new UET(t),window.uetq.push("pageLoad")})}},tarteaucitron.services.matterport={key:"matterport",type:"other",name:"Matterport",uri:"https://matterport.com/es/legal/privacy-policy/",needConsent:!0,cookies:["__cfduid","ajs_anonymous_id","ajs_group_id","ajs_user_id"],js:function(){tarteaucitron.fallback(["matterport"],function(t){var e=t.getAttribute("matterportID"),i=t.getAttribute("width"),n="width=",o=t.getAttribute("height"),a="height=",t=t.getAttribute("parameters");return void 0===e||void 0===t?"":'<iframe type="text/html" '+(n+=void 0!==i?'"'+i+'" ':'"" ')+(a+=void 0!==o?'"'+o+'" ':'"" ')+' src="https://my.matterport.com/show/?m='+e+"&utm_source=hit-content"+t+'" frameborder="0" allowfullscreen="allowfullscreen"></iframe>'})},fallback:function(){tarteaucitron.fallback(["matterport"],function(t){return t.style.width=t.getAttribute("width")+"px",t.style.height=t.getAttribute("height")+"px",tarteaucitron.engage("matterport")})}},tarteaucitron.services.adform={key:"adform",type:"ads",name:"Adform",ur
1i:"https://site.adform.com/privacy-center/overview/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.adformpm&&void 0!==tarteaucitron.user.adformpagename&&(window._adftrack={pm:tarteaucitron.user.adformpm,divider:encodeURIComponent("|"),pagename:encodeURIComponent(tarteaucitron.user.adformpagename)},tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/"))}},tarteaucitron.services.activecampaign={key:"activecampaign",type:"ads",name:"Active Campaign",uri:"https://www.activecampaign.com/privacy-policy/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.actid&&(window.trackcmp_email="",tarteaucitron.addScript("https://trackcmp.net/visit?actid="+tarteaucitron.user.actid+"&e="+encodeURIComponent(trackcmp_email)+"&r="+encodeURIComponent(document.referrer)+"&u="+encodeURIComponent(window.location.href)))}},tarteaucitron.services.tawkto={key:"tawkto",type:"support",name:"Tawk.to chat",uri:"https://www.tawk.to/data-protection/",needConsent:!0,cookies:[],js:function(){void 0!==tarteaucitron.user.tawktoId&&(window.Tawk_API=window.Tawk_API||{},window.Tawk_LoadStart=new Date,tarteaucitron.addScript("https://embed.tawk.to/"+tarteaucitron.user.tawktoId+"/default"))}},tarteaucitron.services.getquanty={key:"getquanty",type:"analytic",name:"GetQuanty",uri:"https://www.getquanty.com/mentions-legales/",needConsent:!0,cookies:["_first_pageview","eqy_sessionid","eqy_siteid","cluid","eqy_company","cluid","gq_utm","_jsuid"],js:function(){void 0!==tarteaucitron.user.getguanty&&(window.webleads_site_ids=window.webleads_site_ids||[],window.webleads_site_ids.push(tarteaucitron.user.getguanty),tarteaucitron.addScript("https://stats.webleads-tracker.com/js"),tarteaucitron.addScript("https://get.smart-data-systems.com/track?site_id="+tarteaucitron.user.getguanty))}},tarteaucitron.services.emolytics={key:"emolytics",type:"analytic",name:"Emolytics",uri:"https://www.emolytics.com/main/privacy-policy.php",needConsent:!0,cookies:["__hssc","__hssrc","__hstc","_ga","_gid","hubspotutk","lang","incap_ses_","nlbi_","visid_incap_"],js:function(){var t;void 0!==tarteaucitron.user.emolyticsID&&((t=document.createElement("script")).text='var getsmily_id="'+tarteaucitron.user.emolyticsID+'";',document.getElementsByTagName("body")[0].appendChild(t),tarteaucitron.addScript("https://cdn.emolytics.com/script/emolytics-widget.js"))}},tarteaucitron.services.youtubeapi={key:"youtubeapi",type:"video",name:"Youtube (Js API)",uri:"https://policies.google.com/privacy/",needConsent:!0,cookies:[],js:function(){tarteaucitron.addScript("https://www.youtube.com/player_api")}},tarteaucitron.services.faciliti={key:"faciliti",type:"other",name:"Facil'ITI",uri:"https://ws.facil-iti.com/mentions-legales.html",needConsent:!0,cookies:["FACIL_ITI_LS"],js:function(){var t,e,i,n;void 0!==tarteaucitron.user.facilitiID&&(t=window,e=document,t[i="FACIL_ITI"]=t[i]||{conf:function(){(t[i].data=t[i].data||[]).push(arguments)}},n=e.createElement("script"),e=e.getElementsByTagName("script")[0],n.async=1,n.src="https://ws.facil-iti.com/tag/faciliti-tag.min.js",e.parentNode.insertBefore(n,e),FACIL_ITI.conf("userId",tarteaucitron.user.facilitiID))}},tarteaucitron.services.userlike={key:"userlike",type:"support",name:"Userlike",uri:"https://www.userlike.com/en/terms#privacy-policy",needConsent:!0,cookies:["uslk_s","uslk_e"],js:function(){void 0!==tarteaucitron.user.userlikeKey&&tarteaucitron.addScript("//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/"+tarteaucitron.user.userlikeKey)}},tarteaucitron.services.adobeanalytics={key:"adobeanalytics",type:"analytic",name:"Adobe Analytics",uri:"https://www.adobe.com/privacy/policy.html",needConsent:!0,cookies:["s_ecid","s_cc","s_sq","s_vi","s_fid"],js:function(){void 0!==tarteaucitron.user.adobeanalyticskey&&tarteaucitron.addScript("//assets.adobedtm.com/launch-"+tarteaucitron.user.adobeanalyticskey+".min.js")}},tarteaucitron.services.woopra={key:"woopra",type:"analytic",name:"Woopra Customer Journey Analytics",uri:"https://www.woopra.com/privacy",needConsent:!0,cookies:["wooTracker","intercom-session-erbfalba","intercom-id-erbfalba"],js:function(){!function(){function t(){var t,e=this;for(e._e=[],t=0;t<r.length;t++)(t=>{e[t]=function(){return e._e.push([t].concat(Array.prototype.slice.call(arguments,0))),e}})(r[t])}var e,i,n=window,o=document,a=arguments,r=["config","track","identify","visit","push","call","trackForm","trackClick"];for(n._w=n._w||{},e=0;e<a.length;e++)n._w[a[e]]=n[a[e]]=n[a[e]]||new t;(i=o.createElement("script")).async=1,i.src="//static.woopra.com/js/w.js",(o=o.getElementsByTagName("script")[0]).parentNode.insertBefore(i,o)}("woopra"),woopra.config({domain:tarteaucitron.user.woopraDomain}),woopra.track()}},tarteaucitron.langlist||(tarteaucitron.langlist={}),tarteaucitron.langlist.cs={adblock:"Ahoj! Tato stránka je transparetnà a umožÅuje ti si pÅÃmo vybrat, jaké služby tÅetÃch stran chceÅ¡ povolit.",adblock_call:"Pro úpravu osobnÃch preferencà si, prosÃm, vypni adblock.",reload:"NaÄÃst stránku znovu",alertBigScroll:"PokraÄovánÃm ve scrollovánÃ,",alertBigClick:"Pokud pokraÄujete v brouzdánà naÅ¡ich stránek,",alertBig:"povolujete vÅ¡echny služby tÅetÃch stran.",alertBigPrivacy:"Tato stránka využÃvá cookies a dává ti na výbÄr, co chceÅ¡ aktivovat",alertSmall:"Spravovat služby",personalize:"PÅizpůsobit",acceptAll:"OK, pÅijmout vÅ¡e",close:"ZavÅÃt",all:"Nastavenà vÅ¡ech služeb",info:"Chránà tvé soukromÃ",disclaimer:"PovolenÃm tÄchto služeb tÅetÃch stran, pÅijÃmáš jejich cookies, jež jsou nezbytné pro Åádné fungovánà jejich technologiÃ.",allow:"Povolit",deny:"ZamÃtnout",noCookie:"Tato služba nepoužÃvá cookies.",useCookie:"Tato služba může nainstalovat",useCookieCurrent:"Tato služba nainstalovala",useNoCookie:"Tato služba nenainstalovala žádné cookies.",more:"DozvÄdÄt se vÃce",source:"Zobrazit oficiálnà stránku",credit:"Správce cookies od tarteaucitron.js",fallback:"je vypnutý.",ads:{title:"Reklamnà sÃÅ¥",details:"Prodejem reklamnÃch ploch na této stránce mohou reklamnà sÃtÄ vydÄlávat penÃze."},analytic:{title:"Statistika návÅ¡tÄvnosti",details:"Služby pro analýzu návÅ¡tÄvnÃků sloužà k vytvoÅenà užiteÄných statistik návÅ¡tÄvnosti. Ty zase sloužà ke zlepÅ¡enà stránky."},social:{title:"Sociálnà sÃtÄ",details:"Sociálnà sÃtÄ mohou usnadnit práci se stránkou a pomáhajà jà prosadit se pomocà sdÃlenÃ."},video:{title:"Videa",details:"Video-hostingové služby pomáhajà pÅidat na stránku bohaté mediálnà prvky."},comment:{title:"KomentáÅe",details:"Správce komentáÅů zajišťujà vyplÅovánà komentáÅů a bojujà proti Å¡ÃÅenà spamu."},support:{title:"Podpora",details:"Služby podpory ti pomáhajà spojit se s týmem stojÃcÃm za stránkou a umožÅujà ti vyjádÅit se k jejÃm nedostatkům."},api:{title:"API",details:"API sloužà k naÄtÄnà skriptů: geolokace, vyhledávaÄů, pÅekladů, ..."},other:{title:"Jiný",details:"Služby pro zobrazenà webového obsahu."}},tarteaucitron.langlist.de={adblock:"Hallo! Diese Seite ist transparent und lässt Ihnen die Wahl der externen Services, die aktiviert werden dürfen.",adblock_call:"Bitte deaktivieren Sie Ihren 'Werbeblocker' um Konfigurieren zu können.",reload:"Seite neu laden",alertBigScroll:"Durch die fortgesetzte blättern,",alertBigClick:"Wenn Sie diese Webseite benutzen,",alertBig:"stimmen Sie der Benutzung von externen Diensten zu",alertBigPrivacy:"Diese Webseite verwendet 'Cookies' und ermöglicht dadurch Kontrolle, welche Dienste benutzt werden dürfen",alertSmall:"Service-Kontrolle",personalize:"Personalisieren",acceptAll:"OK, akzeptiere alles",close:"Beenden",all:"Präferenz für alle Dienste",info:"Schutz der Privatsphäre",disclaimer:"Wenn Sie diese Dienste nutzen, erlauben Sie deren 'Cookies' und Tracking-Funktionen, die zu ihrer ordnungsgemäÃen Funktion notwendig sind.",allow:"Erlauben",de
1ny:"Ablehnen",noCookie:"Dieser Dienst nutzt keine 'Cookies'.",useCookie:"Dieser Dienst kann installieren",useCookieCurrent:"Dieser Dienst hat installiert",useNoCookie:"Dieser Dienst hat keine 'Cookies' installiert.",more:"Weiter lesen",source:"Zur offiziellen Webseite",credit:"Cookies manager von tarteaucitron.js",fallback:"ist deaktiviert.",ads:{title:"Anzeigen Netzwerke",details:"Anzeigen Netzwerke können mit dem Verkauf von Werbeplatzierungen auf der Seite Einnahmen erhalten."},analytic:{title:"Besucher Zähldienste",details:"Die verwendeten Besucher Zähldienste generieren Statistiken die dabei helfen, die Seite zu verbessern."},social:{title:"Soziale Netzwerke",details:"Soziale Netzwerke können die Benutzbarkeit der Seite verbessern und ihren Bekanntheitsgrad erhöhen."},video:{title:"Videos",details:"Video Platformen erlauben Videoinhalte einzublenden und die Sichtbarkeit der Seite zu erhöhen."},comment:{title:"Kommentare",details:"Kommentar Manager erleichtern die Organisation von Kommentaren und helfen dabei Spam zu verhindern."},support:{title:"Support",details:"Support Dienste erlauben es die Urheber der Seite zu kontaktieren und sie zu verbessern."},api:{title:"APIs",details:"APIs werden benutzt um Skripte zu laden, wie: Geolokalisation, Suchmaschinen, Ãbersetzungen, ..."},other:{title:"Andere",details:"Dienste zum Anzeigen von Web-Inhalten."}},tarteaucitron.langlist.en={adblock:"Hello! This site is transparent and lets you chose the 3rd party services you want to allow.",adblock_call:"Please disable your adblocker to start customizing.",reload:"Refresh the page",alertBigScroll:"By continuing to scroll,",alertBigClick:"If you continue to browse this website,",alertBig:"you are allowing all third-party services",alertBigPrivacy:"This site uses cookies and gives you control over what you want to activate",alertSmall:"Manage services",personalize:"Personalize",acceptAll:"OK, accept all",close:"Close",all:"Preference for all services",info:"Protecting your privacy",disclaimer:"By allowing these third party services, you accept their cookies and the use of tracking technologies necessary for their proper functioning.",allow:"Allow",deny:"Deny",noCookie:"This service does not use cookie.",useCookie:"This service can install",useCookieCurrent:"This service has installed",useNoCookie:"This service has not installed any cookie.",more:"Read more",source:"View the official website",credit:"Cookies manager by tarteaucitron.js",fallback:"is disabled.",ads:{title:"Advertising network",details:"Ad networks can generate revenue by selling advertising space on the site."},analytic:{title:"Audience measurement",details:"The audience measurement services used to generate useful statistics attendance to improve the site."},social:{title:"Social networks",details:"Social networks can improve the usability of the site and help to promote it via the shares."},video:{title:"Videos",details:"Video sharing services help to add rich media on the site and increase its visibility."},comment:{title:"Comments",details:"Comments managers facilitate the filing of comments and fight against spam."},support:{title:"Support",details:"Support services allow you to get in touch with the site team and help to improve it."},api:{title:"APIs",details:"APIs are used to load scripts: geolocation, search engines, translations, ..."},other:{title:"Other",details:"Services to display web content."}},tarteaucitron.langlist.es={adblock:"Hola! Este sitio web es transparente y le da la opción de activar los servicios de terceros.",adblock_call:"Por favor deshabilite su AdBlocker para comenzar a personalizar.",reload:"Actualizar esta página",alertBigScroll:"Al continuar para desplazarse,",alertBigClick:"Si continuas navegando por este sitio web,",alertBig:"estar permitiendo servicios terceros",alertBigPrivacy:"Este sitio web usa cookies y te permite controlar lo que deseas activar",alertSmall:"Gestionar servicios",personalize:"Personalizar",acceptAll:"OK, aceptar todas",close:"Cerrar",all:"Preference for all services",info:"Protegiendo tu privacidad",disclaimer:"Aceptando estos servicios terceros, estas aceptando sus co
1okies y el uso de tecnologÃas de rastreo necesarias para su correcto funcionamiento.",allow:"Permitir",deny:"Denegar",noCookie:"Este servicio no usa cookie.",useCookie:"Este servicio puede instalar",useCookieCurrent:"Este servicio ha instalado",useNoCookie:"Este servicio no ha instalado ninguna cookie.",more:"Leer más",source:"Ver sitio web oficial",credit:"Gestor de cookies realizada por tarteaucitron.js",fallback:"esta deshabilitado.",ads:{title:"Red de publicidad",details:"Las redes publicitarias pueden generar ingresos mediante la venta de espacios publicitarios en el sitio."},analytic:{title:"Mediciión de audiencia",details:"Los servicios de medición de audiencia se usan para generar asistencia estadÃsticas útiles para mejorar el sitio."},social:{title:"Redes sociales",details:"Las redes sociales pueden aumentar la usabilidad del sitio web y ayudar a promoverlo a través de la contribución."},video:{title:"Videos",details:"Los servicios para compartir videos ayudan a añadir contenido enriquecido en el sitio web y aumentar su visibilidad."},comment:{title:"Comentarios",details:"El gestor de comentarios facilita la clasificación de comentarios y luchar contra spam."},support:{title:"Soporte",details:"Los servicios de soporte te permiten contactar con el sitio web y ayudar a mejorarlo."},api:{title:"APIs",details:"APIs se utilizan para cargar scripts: geolocalización, motor de búsqueda, traducciones, ..."},other:{title:"Otro",details:"Servicios para mostrar contenido web."}},tarteaucitron.langlist.fr={adblock:"Bonjour! Ce site joue la transparence et vous donne le choix des services tiers à activer.",adblock_call:"Merci de désactiver votre adblocker pour commencer la personnalisation.",reload:"Recharger la page",alertBigScroll:"En continuant de défiler,",alertBigClick:"En poursuivant votre navigation,",alertBig:"vous acceptez l'utilisation de services tiers pouvant installer des cookies",alertBigPrivacy:"Ce site utilise des cookies et vous donne le contrôle sur ce que vous souhaitez activer",alertSmall:"Gestion des services",acceptAll:"OK, tout accepter",personalize:"Personnaliser",close:"Fermer",all:"Préférence pour tous les services",info:"Protection de votre vie privée",disclaimer:"En autorisant ces services tiers, vous acceptez le dépôt et la lecture de cookies et l'utilisation de technologies de suivi nécessaires à leur bon fonctionnement.",allow:"Autoriser",deny:"Interdire",noCookie:"Ce service ne dépose aucun cookie.",useCookie:"Ce service peut déposer",useCookieCurrent:"Ce service a déposé",useNoCookie:"Ce service n'a déposé aucun cookie.",more:"En savoir plus",source:"Voir le site officiel",credit:"Gestion des cookies par tarteaucitron.js",fallback:"est désactivé.",ads:{title:"Régies publicitaires",details:"Les régies publicitaires permettent de générer des revenus en commercialisant les espaces publicitaires du site."},analytic:{title:"Mesure d'audience",details:"Les services de mesure d'audience permettent de générer des statistiques de fréquentation utiles à l'amélioration du site."},social:{title:"Réseaux sociaux",details:"Les réseaux sociaux permettent d'améliorer la convivialité du site et aident à sa promotion via les partages."},video:{title:"Vidéos",details:"Les services de partage de vidéo permettent d'enrichir le site de contenu multimédia et augmentent sa visibilité."},comment:{title:"Commentaires",details:"Les gestionnaires de commentaires facilitent le dépôt de vos commentaires et luttent contre le spam."},support:{title:"Support",details:"Les services de support vous permettent d'entrer en contact avec l'équipe du site et d'aider à son amélioration."},api:{title:"APIs",details:"Les APIs permettent de charger des scripts : géolocalisation, moteurs de recherche, traductions, ..."},other:{title:"Autre",details:"Services visant à afficher du contenu web."}},tarteaucitron.langlist.it={adblock:"Benvenuto! Questo sito ti permette di attivare i servizi di terzi di tua scelta.",adblock_call:"Disabilita il tuo adblocker per iniziare la navigazione.",reload:"Aggiorna la pagina",alertBigScroll:"Continuando a scorrere,",alertBigClick:"Continuando a navigare nel sito,",alertBig:"autorizzi lâutilizzo dei cookies inviati da domini di terze parti",alertBigPrivacy:"Questo sito fa uso di cookies e ti consente di decidere se accettarli o rifiutarli",alertSmall:"Gestione dei servizi",acceptAll:"Ok, accetta tutto",personalize:"Personalizza",close:"Chiudi",all:"Preferenze per tutti i servizi",info:"Tutela della privacy",disclaimer:"Abilitando l'uso dei servizi di terze parti, accett
1i la ricezione dei cookies e l'uso delle tecnologie analitici necessarie al loro funzionamento.",allow:"Consenti",deny:"Blocca",noCookie:"Questo servizio non invia nessun cookie",useCookie:"Questo servizio puo' inviare",useCookieCurrent:"Questo servizio ha inviato",useNoCookie:"Questo servizio non ha inviato nessun cookie",more:"Saperne di più",source:"Vai al sito ufficiale",credit:"Gestione dei cookies da tarteaucitron.js",fallback:"è disattivato",ads:{title:"Regie pubblicitarie",details:"Le regie pubblicitarie producono redditi gestendo la commercializzazione degli spazi del sito dedicati alle campagne pubblicitarie"},analytic:{title:"Misura del pubblico",details:"I servizi di misura del pubblico permettono di raccogliere le statistiche utili al miglioramento del sito"},social:{title:"Reti sociali",details:"Le reti sociali permettono di migliorare l'aspetto conviviale del sito e di sviluppare la condivisione dei contenuti da parte degli utenti a fini promozionali."},video:{title:"Video",details:"I servizi di condivisione di video permettono di arricchire il sito di contenuti multimediali e di aumentare la sua visibilità "},comment:{title:"Commenti",details:"La gestione dei commenti utente aiuta a gestire la pubblicazione dei commenti e a lottare contro lo spamming"},support:{title:"Supporto",details:"I servizi di supporto ti consentono di contattare la team del sito e di contribuire al suo miglioramento"},api:{title:"API",details:"Le API permettono di implementare script diversi : geolocalizzazione, motori di ricerca, traduttori..."},other:{title:"Altro",details:"Servizi per visualizzare contenuti web."}},tarteaucitron.langlist.pl={adblock:"Witaj! Ta witryna oferuje przejrzystosc i daje mozliwosc wyboru aktywacji uslug zewnetrznych.",adblock_call:"Prosze wylaczyc adblocker aby rozpoczac dostosowanie do potrzeb uzytkownika.",reload:"Odswiez strone",alertBigScroll:"Poprzez kontynuowanie przewijania,",alertBigClick:"Pozostajac na tej stronie",alertBig:"zgadzasz sie na korzystanie ze wszystkich zewnetrzynych uslug",alertBigPrivacy:"Ta witryna używa plików cookie i pozwala kontrolowaÄ ich aktywacje",alertSmall:"ZarzÄ
dzanie usÅugami",personalize:"Personalizacja",acceptAll:"OK, akceptujÄ wszystko",close:"zamknij",all:"Preferencja dla wszystkich usÅug",info:"Ochrona prywatnoÅci",disclaimer:"Zgadzajac sie na korzystanie z uslug zewnetrznych , akceptuje ich pliki cookies oraz wykorzystanie technologii niezbÄdnych do ich funkcjonowania.",allow:"Zezwalaj",deny:"Odmów",noCookie:"Ta usÅuga nie korzysta z plików cookie.",useCookie:"Ta usÅuga może zainstalowaÄ pliki cookie",useCookieCurrent:"Ta usÅuga zainstalowala plikie cookie",useNoCookie:"Ta usÅuga nie zainstalowala żadnego pliku cookie.",more:"WiÄcej informacji",source:"Zobacz oficjalnÄ
stronÄ internetowa",credit:"Cookies menadżer z tarteaucitron.js",fallback:"jest nieaktywna.",ads:{title:"SieÄ reklamowa",details:"Sieci reklamowe mogÄ
generowaÄ przychody ze sprzedaży powierzchni reklamowej na stronie."},analytic:{title:"Pomiar ogladalnosci",details:"UsÅugi pomiaru oglÄ
dalnoÅci wykorzystywane sa do generowania przydatnych statystyk potrzebnych w doskonaleniu strony."},social:{title:"Portale spoÅecznoÅciowe",details:"Sieci spoÅecznoÅciowe mogÄ
poprawiÄ użytecznoÅÄ serwisu i pomóc w promocji za poÅrednictwem propagacji strony."},video:{title:"Filmy",details:"UsÅuga udostÄpniania wideo pomoże dodaÄ multimedia do strony i zwiÄkszyÄ jej ogladalnoÅÄ."},comment:{title:"Komentarze",details:"ZarzÄ
dzanie komentarzami uÅatwia komentowanie i zwalcza spam."},support:{title:"Pomoc",details:"UsÅuga pomocy technicznej pozwala, skontaktowaÄ siÄ z administratorem witryny i pomaga jÄ
udoskonaliÄ."},api:{title:"APIs",details:"APIs sÅużÄ
do Åadowania skryptów: geolokalizacji, wyszukiwarek, tÅumaczenia, ..."},other:{title:"Inny",details:"UsÅugi do wyÅwietlania treÅci internetowych."}},tarteaucitron.langlist.pt={adblock:"Olá! Em uma açao de transparencia, este site lhe dá a opção de quais serviços terceiros deseje ativar.",adblock_call:"Por favor, desative seu bloqueador de publicidades para poder customizar.",reload:"Atualizar esta página",alertBigScroll:"Ao continuar a rolar,",alertBigClick:"Se você continuar a navegaçao neste site,",alertBig:"você estará aceitando todos os serviços terceiros",alertBigPrivacy:"Esse site utiliza cookies and lhe dá controle sobre o que você quer ativar",alertSmall:"Gerenciar serviços",personalize:"Personalizar",acceptAll:"OK, aceitar tudo",close:"Fechar",all:"Definições dos serviços",info:"Proteger sua privacidade",disclaimer:"Ao aceitar os serviços terceiros, você aceita o uso de cookies em conjunto de tecnologias de rastreamento que lhe são necessárias para funcionar",allow:"Autorizar",deny:"Recusar",noCookie:"Este serviço não usa cookies.",useCookie:"Este serviço pode instalar",useCookieCurrent:"Este serviço instalou",useNoCookie:"Este serviço não instalou nenhum cookie.",more:"Ler mais",source:"Ver o site oficial",credit:"Gerenciador de cookies por tarteaucitron.js",fallback:"está desativado.",ads:{title:"Rede de anúncios",details:"As redes de anúncios podem gerar receitas com a venda de espaço publicitário no site."},analytic:{title:"Medição de audiência",details:"Serviços de medição de audiência usados para gerar estatÃsticas no intuito de melhorar o site."},social:{title:"Rede sociais",details:"Rede sociais podem ameliorar o utilização do site e ajudar a promove-lo via compartilhamentos."},video:{title:"VÃdeos",details:"Video sharing services help to add rich media on the site and increase its visibility."},comment:{title:"Comentários",details:"Gerenciadores de comentários facilitam o sistema de comentários e lutam contra o spam."},support:{title:"Suporte",details:"Serviços de suporte lhe ajudam a entrar em contato com a equipe de suporte."},api:{title:"APIs",details:"APIs são usadas para carregar scripts: geolocalização, motores de pesquisa, traduções, ..."},other:{title:"De outros",details:"Serviços para exibir conteúdo da web."}},tarteaucitron.langlist.ru={adblock:"ÐÑивеÑ! ÐÑÐ¾Ñ ÑÐ°Ð¹Ñ ÑовеÑÑенно оÑкÑÑÑÑй и позволÑÐµÑ Ð²Ð°Ð¼ вÑбÑаÑÑ ÑеÑвиÑÑ ÑÑеÑÑиÑ
лиÑ, коÑоÑÑм Ð²Ñ Ñ
оÑиÑе даÑÑ Ð´Ð¾ÑÑÑп.",adblock_call:"ÐожалÑйÑÑа дезакÑивиÑÑйÑе ÐдÐÐ»Ð¾ÐºÐµÑ ÑÑÐ¾Ð±Ñ Ð½Ð°ÑаÑÑ Ð½Ð°ÑÑÑойкÑ.",reload:"ÐеÑезагÑÑзиÑе ÑÑÑаниÑÑ",alertBigScroll:"ÐÑÐ¾Ð´Ð¾Ð»Ð¶Ð°Ñ Ð¿ÑокÑÑÑки",alertBigClick:"ÐÑли Ð²Ñ Ð¿ÑодолжаеÑе иÑполÑзоваÑÑ ÑайÑ",alertBig:"Ð²Ñ Ð¿Ð¾Ð·Ð²Ð¾Ð»ÑеÑе ÑеÑвиÑÑ ÑÑеÑÑиÑ
лиÑ",alertBigPrivacy:"ÐÑÐ¾Ñ ÑÐ°Ð¹Ñ Ð¸ÑполÑзÑÐµÑ ÐºÑÐºÐ¸Ñ Ð¸ позволÑÐµÑ Ð²Ð°Ð¼ конÑÑолиÑоваÑÑ ÑеÑвиÑÑ ÐºÐ¾ÑоÑÑе Ð²Ñ Ñ
оÑиÑе акÑивиÑоваÑÑ",alertSmall:"ÐаÑÑÑойка ÑеÑвиÑов",personalize:"ÐеÑÑонализиÑоваÑÑ",acceptAll:"Ðк, вÑе акÑивиÑоваÑÑ",close:"ÐакÑÑÑÑ",all:"ÐÑеÑеÑенÑÐ¸Ñ Ð²Ñем ÑеÑвиÑам",info:"ÐаÑиÑиÑÑ Ð²Ð°ÑÑ ÐºÐ¾Ð½ÑиденÑиалÑноÑÑÑ",disclaimer:"ÐкÑивиÑование ÑеÑвиÑов ÑÑеÑÑиÑ
Ð»Ð¸Ñ Ð¿Ð¾Ð·Ð²Ð¾Ð»ÑÐµÑ Ð¸ÑполÑзование иÑ
кÑÐºÐ¸Ñ Ð¸ ÑеÑ
нолоний оÑÑÐ»ÐµÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ Ð½ÐµÐ¾Ð±Ñ
одимÑÑ
Ð´Ð»Ñ Ð¸Ñ
ÑÑнкÑиониÑованиÑ",allow:"ÐозÑолиÑÑ",deny:"Ðе позволиÑÑ",noCookie:"ÐÑÐ¾Ñ ÑеÑÐ²Ð¸Ñ Ð½Ðµ иÑполÑзÑÐµÑ ÐºÑкиÑ.",useCookie:"ÐÑÐ¾Ñ ÑеÑÐ²Ð¸Ñ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¸Ð½ÑÑалиÑован",useCookieCurrent:"ÐÑÐ¾Ñ ÑеÑÐ²Ð¸Ñ Ð¸Ð½ÑÑалиÑован",useNoCookie:"ÐÑÐ¾Ñ ÑеÑÐ²Ð¸Ñ Ð½Ðµ иÑполÑзÑÐµÑ ÐºÑкиÑ.",more:"ÐодÑобнее",source:"ÐоÑеÑиÑе оÑиÑиалÑнÑй ÑайÑ",credit:"ÐÑÐºÐ¸Ñ Ð¼Ð°Ð½Ð°Ð´Ð¶ÐµÑ tarteaucitron.js",fallback:"ÐеакÑивиÑован.",ads:{title:"Ð ÐµÐºÐ»Ð°Ð¼Ð½Ð°Ñ ÑеÑÑ",details:"ÐÑ Ð¿Ð¾Ð·Ð²Ð¾Ð»Ñем вам аÑÐµÐ½Ð´Ñ Ð½Ð°Ñей Ñекламной ÑеÑи."},analytic:{title:"ÐзмеÑение аÑдиенÑии",details:"ÐзмеÑение аÑдиенÑии ÑайÑа Ð´Ð»Ñ ÑÑаÑиÑÑики помогаÑÑ ÑлÑÑÑиÑÑ Ð¿ÑедлагаемÑй ÑеÑвиÑ."},social:{title:"СоÑиалÑÐ½Ð°Ñ ÑеÑÑ",details:"СоÑиалÑÐ½Ð°Ñ ÑеÑÑ ÑайÑов Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÐµÑ ÑлÑÑÑиÑÑ Ð¿ÑедлагаемÑй ÑеÑÐ²Ð¸Ñ ÑеÑез обмен инÑоÑмаÑии."},video:{title:"Ðидео",details:"Ðбмен видео инÑоÑмаÑии позволÑÐµÑ ÑлÑÑÑиÑÑ ÑеÑÐ²Ð¸Ñ Ð¸ ÑвелиÑÐ¸Ñ ÑÑаÑÑик ÑайÑа."},comment:{title:"ÐомменÑаÑии",details:"ÐÐ°Ð½Ð°Ð´Ð¶ÐµÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑиев позволÑÐµÑ Ð¾Ð±Ð¼ÐµÐ½ инÑоÑмаÑии и боÑÑÐ±Ñ Ñо Ñпамом."},support:{title:"ÐомоÑÑ",details:"ÐомоÑÑ Ð¿Ð¾Ð·Ð²Ð¾Ð»ÑÐµÑ Ð²Ð°Ð¼ конÑакÑиÑоваÑÑ Ð½Ð°Ð¿ÑÑмÑÑ ÑÐ°Ð¹Ñ Ð¼Ð°Ð½Ð°Ð´Ð¶ÐµÑ Ð¸ ÑлÑÑÑиÑÑ Ð¿ÑедлагаемÑй ÑеÑвиÑ."},api:{title:"ÐÐÐ",details:"ÐÐРиÑполÑзÑÑÑÑÑ Ð´Ð»Ñ Ð·Ð°Ð³ÑÑзки ÑкÑипÑов; геолокаÑиÑ, поиÑковÑй моÑÐ¾Ñ Ð¸ пеÑеводÑ..."},other:{title:"ÐÑÑгие",details:"СлÑÐ¶Ð±Ñ Ð´Ð»Ñ Ð¾ÑобÑÐ°Ð¶ÐµÐ½Ð¸Ñ Ð²ÐµÐ±-конÑенÑа."}},"DD/MM/YYYY"),calendarDateLanguage=$("html").data("lang"),$rangeCalendarAlwaysOpen=($("input.date, .frm_date").each(function(){isTouchDevice()?$(this).attr("type","date"):$(this).parent().parent().hasClass("date-bloc-agenda")?$(this).dateRangePicker({inline:!1,singleDate:!0,alwaysOpen:!1,singleMonth:!0,showShortcuts:!1,showTopbar:!1,monthSelect:!0,yearSelect:[1970,2040],startOfWeek:"monday",format:calendarDateFormat,language:calendarDateLanguage,extraClass:"picker-bloc-agenda"}):$(this).dateRangePicker({inline:!1,singleDate:!0,alwaysOpen:!1,singleMonth:!0,showShortcuts:!1,showTopbar:!1,monthSelect:!0,yearSelect:[1970,2040],startOfWeek:"monday",startOfWeek:"monday",language:calendarDateLanguage,format:calendarDateFormat}).bind("datepicker-first-date-selected",function(){$("#date_depart").click()}).bind("datepicker-change",function(){$(this).trigger("force-change")}),this.addEventListener("click",function(t){$("body").hasClass("no-hover")||(console.log("preventDefault"),t.preventDefault())})}),$("#calendar-range")),$rangeCalendarOverlayMobile=$("#calendar-range-mobile"),$rangeInputFrom=$("[name=dr_du]","#overlay-filtres"),$rangeInputTo=$("[name=dr_au]","#overlay-filtres"),calendarListingData=(0<$rangeCalendarAlwaysOpen.length&&$rangeCalendarAlwaysOpen.dateRangePicker({inline:!0,container:"#calendar-range",alwaysOpen:!0,singleMonth:!0,showShortcuts:!1,showTopbar:!1,startOfWeek:"monday",hoveringTooltip:!1,format:calendarDateFormat,language:calendarDateLanguage,setValue:function(t,e,
1i){console.log(e,i),calendarListingData.set(e.split("/").reverse().join("-"),i.split("/").reverse().join("-"),!0)}}),{from:null,to:null,submit:!0,timeout:null,set:function(t,e,i){return void 0!==i&&(calendarListingData.submit=i),t.match(/\//)&&(t=t.split("/").reverse().join("-")),e.match(/\//)&&(e=e.split("/").reverse().join("-")),(t!==calendarListingData.from||e!==calendarListingData.to)&&(calendarListingData.from=t,calendarListingData.to=e,calendarListingData.onchange(),!0)},onchange:function(){clearTimeout(calendarListingData.timeout),calendarListingData.timeout=setTimeout(function(){calendarListingData.onchangeDelais()},100)},onchangeDelais:function(){calendarListingData.from&&calendarListingData.to&&($rangeInputFrom.val(calendarListingData.from),$rangeInputTo.val(calendarListingData.to)),calendarListingData.submit&&(console.log("change!"),$rangeInputFrom.trigger("force-change"));var t=calendarListingData.from.split("-").reverse().join("/"),e=calendarListingData.to.split("-").reverse().join("/");0<$rangeCalendarOverlayMobile.length&&$rangeCalendarOverlayMobile.data("dateRangePicker").setDateRange(t,e),0<$rangeCalendarAlwaysOpen.length&&$rangeCalendarAlwaysOpen.data("dateRangePicker").setDateRange(t,e)}}),on_load_from=$rangeInputFrom.val(),on_load_to=$rangeInputTo.val(),today=(on_load_from&&on_load_to&&calendarListingData.set(on_load_from,on_load_to,!1),new Date),dd=today.getDate(),mm=today.getMonth()+1,yyyy=today.getFullYear(),lang=$("html").attr("data-lang"),today=(dd<10&&(dd="0"+dd),mm<10&&(mm="0"+mm),dd+"-"+mm+"-"+yyyy),startDay=today,preventBubble=!0,duMin=startDay,duMax=!1,duVal=!1,auMin=startDay,auMax=!1,auVal=!1,format="DD/MM/YYYY",optionsInde=(document.querySelector("main.page-listing-agenda")&&(format="YYYY-MM-DD",$("button[type='submit']","#overlay-filtres").on("click",function(){var t=$rangeInputFrom.val().split("-").reverse().join("/"),e=$rangeInputTo.val().split("-").reverse().join("/");$rangeCalendarAlwaysOpen.data("dateRangePicker").setDateRange(t,e)})),{singleMonth:!0,singleDate:!0,showShortcuts:!1,showTopbar:!1,startOfWeek:"monday",hoveringTooltip:!1,language:"fr",format:format,startDate:startDay});function updateDatepicker(t){optionsInde.startDate=duMin,optionsInde.endDate=duMax,$("#date_arrivee, #date_du",t).data("dateRangePicker").destroy(),$("#date_arrivee, #date_du",t).dateRangePicker(optionsInde),optionsInde.startDate=auMin,optionsInde.endDate=auMax,$("#date_depart, #date_au",t).data("dateRangePicker").destroy(),$("#date_depart, #date_au",t).dateRangePicker(optionsInde)}function updateAgendaValues(t){var e=$(t).attr("value"),t=$(t).attr("id");e&&(e=e.split("-").reverse().join("/"),"date_arrivee"===t?$rangeCalendarAlwaysOpen.data("dateRangePicker").setStart(e):$rangeCalendarAlwaysOpen.data("dateRangePicker").setEnd(e))}$(".group-date").each(function(){$(this).find(".form-field").each(function(){isTouchDevice()||$(this).find("input").dateRangePicker(optionsInde).bind("datepicker-change",function(t,e){var t=$(t.currentTarget),i=t.attr("id"),n=$(t).parents(".group-date");"date_du"!==i&&"date_arrivee"!==i||(duVal=e.value,auMin=e.value,updateDatepicker(n)),"date_au"!==i&&"date_depart"!==i||(auVal=e.value,duMax=e.value,updateDatepicker(n)),t.attr("value",e.value),"date_arrivee"!==i&&"date_depart"!==i||updateAgendaValues(t)})})}),void 0!==navigator.share&&$("input,label,a",".social-share").on("click",function(t){t.preventDefault(),t.stopPropagation();var e=document.querySelector('meta[name="description"]'),i="",e=(e&&(i=e.getAttribute("content")),{title:document.title,text:i,url:document.location.href});try{navigator.share(e)}catch(t){console.log("erreur de partage",t)}});var customScrollDetect={currentActive:null,links:[],init:function(){customScrollDetect.updateLinkPos(),$(document).on("scroll",customScrollDetect.scrollHandle),customScrollDetect.scrollHandle()},updateLinkPos:function(){customScrollDetect.links=[];var e=document.body.clientHeight;$(".wrapper-nav a").each(function(){var t=$(this.getAttribute("href")).offsetTop()-e/$(this).attr("data-addtop");customScrollDetect.links.push({top:t,menuEl:this})})},active:function(t){var e="th-active";-1==(customScrollDetect.currentActive=t)&&(t=0,e+=" th-active-before"),$(".wrapper-nav li").removeClass("th-active th-active-before"),$(customScrollDetect.links[t].menuEl).parent().addClass(e)},scrollHandle:function(){var t=$(document).scrollTop(),t=customScrollDetect.checkCurrent(t);t!==customScrollDetect.currentActive&&customScrollDetect.active(t)},checkCurrent:function(t){for(var e=-1,i=customScrollDetect.links.length,n=0;n<i;n++)t>=customScrollDetect.links[n].top&&(e=n);return e}};function CitronVideoHtml(t,e,i,n){return'<div class="tac_player '+e+'_player" videoID="'+t+'" width="1280px" theme="dark" height="auto" showinfo="0" c
1ontrols="0" rel="0" autoplay='+i+'" mute="'+n+'"></div>'}window.addEventListener("tac.open_panel",function(){0==$("#tarteaucitronScrollbarAdjust #tarteaucitronClosePanel").length&&$("#tarteaucitronClosePanel").appendTo("#tarteaucitronScrollbarAdjust"),$("#tarteaucitronClosePanel, #tarteaucitronAllAllowed, #tarteaucitronAllDenied","#tarteaucitronScrollbarAdjust").on("click",function(){tarteaucitron.userInterface.closePanel()});for(var t=!1,e="tarteaucitron=",i=decodeURIComponent(document.cookie).split(";"),n=0;n<i.length;n++){for(var o=i[n];" "==o.charAt(0);)o=o.substring(1);0==o.indexOf(e)&&(t=o.substring(e.length,o.length))}var a=t.split("!");a.splice(0,1),$.each(a,function(){"wait"==this.split("=")[1]&&tarteaucitron.userInterface.respondAll(!1)})}),tarteaucitron.init({privacyUrl:"",hashtag:"#rgpd",cookieName:"tarteaucitron",orientation:"bottom",showAlertSmall:!1,cookieslist:!1,adblocker:!1,DenyAllCta:!0,AcceptAllCta:!0,highPrivacy:!0,handleBrowserDNTRequest:!1,removeCredit:!0,moreInfoLink:!0,useExternalCss:!0,useExternalJs:!1,readmoreLink:"",mandatory:!0}),tarteaucitron.user.gtagUa=thConfig.ga4,tarteaucitron.user.gtagMore=function(){},(tarteaucitron.job=tarteaucitron.job||[]).push("gtag"),tarteaucitron.user.googletagmanagerId=thConfig.tagmanager,(tarteaucitron.job=tarteaucitron.job||[]).push("googletagmanager"),tarteaucitron.user.facebookpixelId="263194001999068",tarteaucitron.user.facebookpixelMore=function(){},(tarteaucitron.job=tarteaucitron.job||[]).push("facebookpixel"),(tarteaucitron.job=tarteaucitron.job||[]).push("youtube"),(tarteaucitron.job=tarteaucitron.job||[]).push("vimeo"),(tarteaucitron.job=tarteaucitron.job||[]).push("dailymotion"),tarteaucitron.user.hotjarId=2511531,tarteaucitron.user.HotjarSv=6,(tarteaucitron.job=tarteaucitron.job||[]).push("hotjar");var dataL={dataLayer:{},init:function(){return dataL.generateDataLayer(),dataL.dataLayer},generateDataLayer:function(){dataL.setLangue(),dataL.setTemplateName(),dataL.setIDTourinsoft(),dataL.setBordereau()},setLangue:function(){dataL.dataLayer.Langue=$("html").attr("lang")},setTemplateName:function(){var t=$("[data-template-name]");0<t.length&&(dataL.dataLayer.TemplateName=$(t[0]).attr("data-template-name"))},setIDTourinsoft:function(){var t=$("[data-fiche_id]");0<t.length&&(dataL.dataLayer.IDTourinsoft=$(t[0]).attr("data-fiche_id"))},setBordereau:function(){var t=$("[data-fiche_id]");0<t.length&&(dataL.dataLayer.Bordereau=$(t[0]).attr("data-fiche_id").substring(0,3))}},dataLayer,$topInfo,$heightInfo,homeAjax=(void 0===dataLayer&&(dataLayer=[]),dataLayer.push(dataL.init()),0<$(".top-info").length&&($topInfo=$(".top-info"),$heightInfo=$topInfo.find("p").height()+16,$topInfo.on("mouseenter",function(){$topInfo.find(".txt").css("max-height",$heightInfo+"px")}),$topInfo.on("mouseleave",function(){$topInfo.find(".txt").css("max-height","40px")})),$(".lang-mobile select").change(function(){var t=$(this).val();window.location.href=t}),{isHide:!1,isShow:!0,hasData:!1,inAction:!1,cache:{},dataHTML:null,dataHTMLHeader:null,dataFooterHTML:null,init:function(){window.addEventListener("popstate",function(){document.location.reload()})},reload:function(t){if(homeAjax.inAction)return!1;homeAjax.inAction=!0,homeAjax.get(t),homeAjax.hideCurrent()},get:function(i){homeAjax.cache[i]?(fullHTML=homeAjax.cache[i],homeAjax.dataHTML=$("#homepage-maincontent",fullHTML).html(),homeAjax.dataHTMLHeader=$("#homepage-headercontent",fullHTML).html(),homeAjax.hasData=!0,homeAjax.showNew()):(window.history.pushState("","",i),$.get(i,function(t){var e=$("main",t).html();homeAjax.cache[i]=e,homeAjax.dataHTML=$("#homepage-maincontent",t).html(),homeAjax.dataHTMLHeader=$("#homepage-headercontent",t).html(),homeAjax.hasData=!0,homeAjax.showNew()}))},hideCurrent:function(){$("#homepage-maincontent > *").css("opacity",0).css("height",$("main").height()),setTimeout(function(){homeAjax.isHide=!0,homeAjax.isShow=!1,homeAjax.showNew()},500)},showNew:function(){return 1==homeAjax.isHide&&0==homeAjax.isShow&&1==homeAjax.hasData&&($("#homepage-maincontent > *").remove(),$("#homepage-headercontent > *").remove(),$("#homepage-maincontent").append(homeAjax.dataHTML),$("#homepage-headercontent").append(homeAjax.dataHTMLHeader),$("#homepage-maincontent > *").css("opacity",0),$("#homepage-headercontent > *").css("opacity",0),setTimeout(function(){$("#homepage-maincontent > *").css("opacity",1),$("#homepage-headercontent > *").css("opacity",1),setTimeout(function(){$("#homepage-maincontent > *").removeAttr("style"),$("#homepage-headercontent > *").removeAttr("style"),homeAjax.isShow=!0,homeAjax.isHide=!1,homeAjax.hasData=!1,homeAjax.inAction=!1,resetSlick(),initSlick(),bloc_video.init(),initMeteo(),maree.init(
1),initsoundcloud();var t=document.querySelectorAll(".th-slider");for(i=0;i!=t.length;i++)initSlider(t[i]);new LazyLoad({elements_selector:".lazy"})},550)},50)),!1}}),markerPointInteret=(0<$(".switch-home").length&&homeAjax.init(),$(".switch-home a").on("click",function(t){t.preventDefault()}),$(".switch-home input[type=checkbox]").is(":checked")?$("#footer .footer-insta").removeClass("endo"):$("#footer .footer-insta").addClass("endo"),$(".switch-home input[type=checkbox]").on("change",function(t){"switch-home"==t.target.id&&(t.target.checked?($("#footer .footer-insta").removeClass("endo"),current_selection.state="chezmoi"):($("#footer .footer-insta").addClass("endo"),current_selection.state="surplace")),homeAjax.reload(all_homepage[current_selection.state])}),th_maps.onLoad(function(){th_maps.addMarkerIcon("default",{iconUrl:themes_path+"/saintbrieuc/assets/images/markers/[email protected]",shadowUrl:null,iconSize:[38,38],iconAnchor:[19,19]}),th_maps.addMarkerIcon("hover",{iconUrl:themes_path+"/saintbrieuc/assets/images/markers/[email protected]",shadowUrl:null,iconSize:[30,36],iconAnchor:[15,18]})}),L.divIcon({className:"custom-etape-icon",html:'<div class="marker-pin-interet"></div>',shadowUrl:null,iconSize:[26,26],iconAnchor:[13,13]}));function callbackMapPageListingLEI(t){t.zoomControl.setPosition("bottomright");var e=!1;document.body.clientWidth<=980&&(e=!0),fm.map.set(t,e),$(".cta-display-maps").on("click",function(){setTimeout(function(){t.invalidateSize()},100)})}function callbackMapOverlayMap(e){e.setZoom(14),e.zoomControl.setPosition("topright"),th_overlay.addCallbackOpen(function(t){"overlay-map"==t&&setTimeout(function(){e.invalidateSize()},250)})}function callbackMapSingleSIT(t){t.zoomControl.setPosition("topright"),t.setZoom(14),isTouchDevice()&&t.dragging.disable()}function callbackMapWithPopup(e){e.zoomControl.setPosition("bottomright");var i=[],t=($(".maps-popup",$(e._container).parent()).each(function(){var t={lat:+this.getAttribute("data-lat"),lng:+this.getAttribute("data-lng")},t=th_maps.createMarker(e,t,"hover");th_maps.createInfoWindow(this.innerHTML,t,275),i.push(t)}),new L.featureGroup(i));e.fitBounds(t.getBounds())}function callbackMapBloc(e){var i,t;e.zoomControl.setPosition("topright"),e.setZoom(14),0<$(".maps-popup",$(e._container).parent()).length&&(i=[],$(".maps-popup>*").each(function(){var t;this.getAttribute("data-lat")&&this.getAttribute("data-lng")&&(t={lat:+this.getAttribute("data-lat"),lng:+this.getAttribute("data-lng")},(t=th_maps.createMarker(e,t,"default")).on("popupopen",function(t){lazyLoadInstance=new LazyLoad({elements_selector:".lazy"})}),th_maps.createInfoWindow(this.outerHTML,t,280),i.push(t))}),t=new L.featureGroup(i),1<i.length?setTimeout(function(){e.fitBounds(t.getBounds())},500):setTimeout(function(){e.setView(lastMarker._latlng,14)},500))}var mapiti=null;function callbackMapBlocItineraire(o){(mapiti=o).zoomControl.setPosition("topleft"),o.setZoom(14);var t,a,e={lat:+$(o._container).data("departlat"),lng:+$(o._container).data("departlng")},i=(e.lat&&e.lng&&(t=$(o._container).data("departtext"),t=L.divIcon({className:"custom-etape-icon-actif",html:'<div class="marker-pin-actif" ><span class="number">'+t+'</span><span class="icon-marker-map"></span></div>',shadowUrl:null,iconSize:[44,44],iconAnchor:[22,44]}),th_maps.createMarker(o,e,t)),0<$(".th-slider",$(o._container).parent()).length&&(a=[],$(".etape").each(function(e){var t,i=L.divIcon({className:"custom-etape-icon-actif",html:'<div class="marker-pin-actif" data-marker="'+(e+1)+'"><span class="number">'+(e+1)+'</span><span class="icon-marker-map"></span></div>',shadowUrl:null,iconSize:[44,44],iconAnchor:[22,44]}),n=L.divIcon({className:"custom-etape-icon",html:'<div class="marker-pin" data-marker="'+(e+1)+'">'+(e+1)+"</div>",iconSize:[26,26],iconAnchor:[13,13]});this.getAttribute("data-lat")&&this.getAttribute("data-lng")&&(t={lat:+this.getAttribute("data-lat"),lng:+this.getAttribute("data-lng")}).lat&&t.lng&&((t=0===e?th_maps.createMarker(o,t,i):th_maps.createMarker(o,t,n)).on("popupopen",function(t){lazyLoadInstance=new LazyLoad({elements_selector:".lazy"})}),t.on("click",function(){$("#overlay-itineraire-etape").addClass("open"),$("#overlay-itineraire-etape .step.current").removeClass("current"),$('#overlay-itineraire-etape .step[data-etape="'+(e+1)+'"]').addClass("current"),$(".overlay-itineraire-etape .top .number").html(""+(e+1));for(var t=0;t<a.length;t++)a[t].setIcon(createMapIcon(t+1));this.setIcon(i)}),a.push(t))})),1),n=[];$(".marker-elevation").each(function(){var t=L.divIcon({className:"custom-elevation-icon",html:'<div class="marker-pin" data-markerindex="'+i+'"></div>',iconSize:[12,12],iconAnchor:[6,6]}),e={lat:+this.getAttribute("data-lat"),lng:+this.getAttribute("data-lng")},e=th_maps.createMarker(o,e,t);n.push(e),i++}),0<n.length&&(e=new L.featureGroup(n),o.fitBounds(e.getBounds()))}th_maps.init(thConfig.map.init);var maree={intervalList:[],clear:function(){$.each(maree.intervalList,function(t,e){clearInterval(e)}),maree.intervalList=[]},init:function(){maree.clear(),$("[data-maree]").each(function(){var e=this,t=new Date,i=t.getMonth()+1,n=t.getDate(),o=t.getFullYear(),a=t.getHours(),t=t.getMinutes();maree.get(["now",o+"-"+i+"-"+n+" "+a+":"+t],function(t){t&&(maree.displayData(e,t),maree.intervalList.push(setInterval(function(){maree.displayData(e,t)},6e4)))})})},get:function(t,e){$.get(themes_path+"/saintbrieuc/ajax/maree.php",{type:t[0],date:t[1]},function(t){1==t.success&&e(t.data)},"json")},getFromTo:function(t,e){$.get(document.location.origin,{type:t[0],from:t[1],to:t[2]},function(t){e(t)})},displayData:function(t,e){e.dateTime=e.dateTime.replace(/-/g,"/");var i=e,e=new Date(e.dateTime).getTime()-(new Date).getTime(),n=Math.floor(e/36e5),e=(e-=36e5*n,Math.ceil(e/6e4));60==(e=e<=9?"0"+e:e)&&(n++,e=0),$(".time",t).html(n+"h "+e+"m"),i[3]?($(".coef-parent.hide",t).removeClass("hide"),$(".coef",t).html(i[3])):$(".coef-parent:not(.hide)",t).addClass("hide"),"low"==i.state?$(".icon-maree",t).addClass("icon-maree-basse"):"high"==i.state?$(".icon-maree",t).addClass("icon-maree-haute"):$(".icon-maree",t).classList("icon-maree"),$(".low,.high,.none",t).hide(),$("."+i.state,t).show()}}
1,$mareeCalendar=(maree.init(),$("#calendar-maree")),lastStOverlayScroll,headerHeight;if(0<$mareeCalendar.length&&$mareeCalendar.dateRangePicker({inline:!0,container:"#calendar-maree",alwaysOpen:!0,singleMonth:!0,showShortcuts:!1,showTopbar:!1,startOfWeek:"monday",hoveringTooltip:!1,format:calendarDateFormat,language:calendarDateLanguage,setValue:function(t,e,i){e=e.split("/").reverse().join("-"),i=i.split("/").reverse().join("-");maree.getFromTo(["maree",e,i],function(t){t&&""!=(maree_html=$("#overlay-maree .tbody",t).html())&&$("#overlay-maree .tbody").html(maree_html)})}}),$("#maree-date-start, #maree-date-end").on("change",function(){var t=$("#maree-date-start").val(),e=$("#maree-date-end").val();""===t?t=e:""===e&&(e=t),maree.getFromTo(["maree",t,e],function(t){t&&""!=(maree_html=$("#overlay-maree .tbody",t).html())&&$("#overlay-maree .tbody").html(maree_html)})}),$("li.has-sub-menu > a").on("click",function(t){t.preventDefault(),$(this).hasClass("opened")||($(".wrapper-nav ul.sub-menu").parent().removeClass("open"),$(".wrapper-nav .has-sub-menu a, .wrapper-nav .has-sub-menu span").removeClass("opened"),$(".wrapper-nav .has-sub-menu").removeClass("sub-open"),$(".wrapper-nav nav").removeClass("sub-menu-open"),$(".wrapper-nav .retour").removeClass("visible")),$(this).parent().find("ul.sub-menu").parent().toggleClass("open"),$(this).parent().toggleClass("sub-open"),$(this).toggleClass("opened"),$(".wrapper-nav nav").toggleClass("sub-menu-open"),$(".wrapper-nav .retour").toggleClass("visible")}),$(".wrapper-nav .retour").on("click",function(){$(".wrapper-nav ul.sub-menu").parent().removeClass("open"),$(".wrapper-nav .has-sub-menu a").removeClass("opened"),$(".wrapper-nav .has-sub-menu").removeClass("sub-open"),$(".wrapper-nav nav").removeClass("sub-menu-open"),$(".wrapper-nav .retour").removeClass("visible")}),$(".currentLang > a").on("focus",function(){$(".is-focus-lang").removeClass("is-focus-lang"),$(this).parents().next().addClass("is-focus-lang")}),isMobileOrSmaller()&&(lastStOverlayScroll=0,th_overlay.addCallbackOpen(function(t){lastStOverlayScroll=$("body").scrollTop(),$("body").css({top:-lastStOverlayScroll+"px"}).addClass("fixed")}),th_overlay.addCallbackClose(function(t){$("body").removeClass("fixed").css({top:0}).scrollTop(lastStOverlayScroll)})),0<$(".page-listing").length&&(isTabletPortraitOrSmalller()||(headerHeight=$("#header").height())),console.log($(".page-listing.map-open #filtres .filtrer")),$(".page-listing #filtres .filtrer").on("click",function(){$("main").hasClass("map-open")&&(console.log("toto"),$("main").removeClass("map-open"),$("#filtres").removeClass("filter-part"))}),0<$(".filterRange").length){for(var sliders=document.getElementsByClassName("filterRange"),i=0;i<sliders.length;i++){var min=parseInt(sliders[i].getAttribute("data-min")),max=parseInt(sliders[i].getAttribute("data-max")),start=parseInt(sliders[i].getAttribute("data-start")),end=parseInt(sliders[i].getAttribute("data-end")),datarange=JSON.parse(sliders[i].getAttribute("data-range").replace(/gu/g,'"'));datarange.min=min,datarange.max=max,noUiSlider.create(sliders[i],{start:[start,end],snap:!0,connect:!0,tooltips:!0,format:{to:function(t){return t},from:function(t){return t}},range:datarange}),sliders[i].noUiSlider.on("change",addValuesRangeFacettes)}function addValuesRangeFacettes(){for(var t=0;t<sliders.length;t++){var e=sliders[t].getAttribute("data-key"),i=parseInt(sliders[t].getAttribute("data-min")),n=parseInt(sliders[t].getAttribute("data-max")),o=sliders[t].noUiSlider.get();i>=o[0]&&n<=o[1]&&(o[0]="",o[1]=""),$("input[name="+e+"_min]").val(o[0]).change(),$("input[name="+e+"_max]").val(o[1]).change()}}}function parseCardAgendaClickOverlay(){$(".card-agenda:not(.parsed)").on("click",function(t){t.preventDefault();var e=$(this),t=e.attr("href")+"?overlay",i="overlay-card";$("#"+i+" .content-sit").html(""),$("#"+i+" .loader").removeClass("hide"),$("#"+i+" .wrapper-link").addClass("hide"),$.get(t,function(t){$("#"+i+" .loader").addClass("hide"),$("#"+i+" .content-sit").html(t),$("#"+i+" .content-sit .time").html($("time",e).html())}),th_overlay.open(i)}).addClass("parsed")}isTouchDevice()&&($(".lang > .sub-menu").addClass("sub-lang-mobile"),$(".lang").addClass("is-display")),isIE()&&(document.getElementsByTagName("body")[0].className+=" ie"),isNoHover()&&(document.getElementsByTagName("body")[0].className+=" no-hover"),th_accordeon.init(),th_dropdown.init(),th_overlay.init(),thVheight.init(
1),th_anchor.parse(),th_expand.parse(),document.addEventListener("orientationchange",function(){setTimeout(function(){isMobileOrSmaller()?thVheight.update("m-vheight"):thVheight.update()},500)}),setTimeout(function(){$("body").addClass("overlay-load")},1e3);var lazyLoadInstance=new LazyLoad({elements_selector:".lazy"}),lastscrolltop=($(".zoombox").zoombox(),$(window).on("scroll",function(t){100<$(this).scrollTop()?$("body").addClass("is-scrolled"):$("body").removeClass("is-scrolled")}),0),lastIsDirTop=0,mainColor=(document.addEventListener("scroll",function(){var t=$(document).scrollTop();t<lastscrolltop&&0==lastIsDirTop&&(lastIsDirTop=1,$(document.body).addClass("scrolldir-top",!0)),lastscrolltop<t&&1==lastIsDirTop&&(lastIsDirTop=0,$(document.body).removeClass("scrolldir-top",!0)),lastscrolltop=t}),0<$(".ancre").length&&$(".ancre").each(function(){hasIscroll()&&($(this).addClass("iscroll-detected"),myScroll=new IScroll(".ancre",{mouseWheel:!0,scrollbars:!1,scrollX:!0,scrollY:!1,disableTouch:!0}))}),0<$(".listing-post-type").length&&$(".resultats.scroller").each(function(){hasIscroll()&&($(this).addClass("iscroll-detected"),myScroll=new IScroll(".resultats.scroller",{mouseWheel:!0,scrollbars:!1,scrollY:!0,disableTouch:!0}))}),0<$(".wrapper-nav .scroller").length&&$(".wrapper-nav .scroller").each(function(){var e;hasIscroll()&&($(this).addClass("iscroll-detected"),e=0,$(".sub-menu",$(this)).each(function(){var t=$(this).innerHeight();e<t&&(e=t)}),e-=80,$(this).find(">ul").height(e),myScroll=new IScroll($(this)[0],{mouseWheel:!0,scrollbars:!1,scrollY:!0,disableTouch:!0}))}),$("a figcaption").on("touchstart click",function(t){t.stopPropagation(),t.preventDefault()}),$("body").attr("data-color"));function initSlick(){$(".slick-carousel").each(function(){var $slick,options,possibleOptions,allDatas;1<$("> *",this).length&&($slick=$(this),options={dots:!1,arrows:!1,loop:!1,infinite:!0,variableWidth:!1,autoplay:!1,autoplaySpeed:0},this.getAttribute("data-params")&&(options=eval(this.getAttribute("data-params")+"()")),possibleOptions=["accessibility","adaptiveHeight","appendArrows","appendDots","arrows","asNavFor","autoplay","autoplaySpeed","centerMode","centerPadding","cssEase","customPaging","dots","dotsClass","draggable","easing","edgeFriction","fade","focusOnSelect","infinite","initialSlide","lazyLoad","mobileFirst","pauseOnHover","pauseOnFocus","pauseOnDotsHover","respondTo","responsive","rows","rtl","slide","slidesPerRow","slidesToShow","slidesToScroll","speed","swipe","swipeToSlide","touchMove","touchThreshold","useCSS","useTransform","variableWidth","vertical","verticalSwiping","waitForAnimate","zIndex"],allDatas=$slick.data(),$.each(allDatas,function(t,e){-1!==possibleOptions.indexOf(t)&&("autoplay"===t?(options.autoplay=!0,options.autoplaySpeed=e):options[t]=e)}),$slick.slick(options))}),$(".slick-arrow").on("click",function(t){t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault()})}function resetSlick(){$(".slick-carousel").each(function(){1<$("> *",this).length&&($(this).removeClass("slick-initialized"),$(this).removeClass("slick-slider"),$(this).removeClass("slick-dotted"))})}function slickOptionsCenterArrows(){return{slidesToShow:3,responsive:[{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:980,settings:{slidesToShow:1}}]}}cssVars({onlyLegacy:!0,variables:{"--main-color":mainColor}}),$('[href="#overlay-search"]').on("click",function(){$("#search").focus()}),$('a[href="#overlay-carte"]').on("click",function(){$("main").addClass("map-open"),$("#filtres").addClass("filter-part")}),$("#overlay-carte .close-overlay").on("click",function(){$("main").removeClass("map-open"),$("#filtres").removeClass("filter-part")}),$('a[href="#overaly-menupro"]').on("click",function(){$("#header").addClass("menu-pro-open"),$(".menu-pro-mobile").addClass("open"),$("body").addClass("menu-pro-open")}),$(".menu-pro .close-overlay").on("click",function(){$("#header").removeClass("menu-pro-open"),$(".menu-pro-mobile").removeClass("open"),$("body").removeClass("menu-pro-open")}),initSlick();
1var sliders=document.querySelectorAll(".th-slider");for(i=0;i!=sliders.length;i++){var slider=sliders[i];initSlider(slider)}function initSlider(t){for(var e=t.parentNode;!e.className.match(/th-slider-wrapper/);)e=e.parentNode;var i,n=e.querySelectorAll(".nav button"),o=e.querySelectorAll(".dots");2===n.length?(o&&(i=null),new thSlider(t,{draggable:!0,oninit:function(e){if(n[0].addEventListener("click",function(t){t.stopPropagation(),e.prev()}),n[1].addEventListener("click",function(t){t.stopPropagation(),e.next()}),0<o.length)for(var t=0;t<e.state.count;t++)addButton(o[0],e,t,i)},onchange:function(t){t.canPrev()?n[0].removeAttribute("disabled"):n[0].setAttribute("disabled","disabled"),t.canNext()&&t.lastItemIn()?n[1].removeAttribute("disabled"):n[1].setAttribute("disabled","disabled"),0<o.length&&(i&&(i.className=""),0<o[0].childNodes.length)&&((i=o[0].childNodes[t.state.current]).className="active")}})):new thSlider(t,{draggable:!0})}function addButton(t,e,i,n){var o=document.createElement("button");o.addEventListener("click",function(t){t.preventDefault(),e.goto(i)}),t.appendChild(o)}0<$(".bloc-agenda").length&&$("body").hasClass("no-hover")&&$(".bloc-agenda .date").attr("type","date"),$(".anchor-point").each(function(){new Waypoint({element:this,handler:function(t){var e;(e=$(".bloc-ancres .item a[href='#"+$(this.element).attr("id")+"']")).parent().hasClass("actif")||($(".bloc-ancres .item.actif").removeClass("actif"),e.parent().addClass("actif"))},offset:"50%"})}),$("form select").selectric(),$(".frm_radio > label").append("<span></span>"),$(".frm_checkbox > label").append("<span></span>");var $scrollToEl=$('[data-scrolltothis="true"]'),offsetScrollTo;if(0<$scrollToEl.length&&(offsetScrollTo=$scrollToEl.offset(),$(document).scrollTop(offsetScrollTo.top-80)),$('form input[type="text"], form textarea, form input[type="number"], form input[type="email"], form input[type="url"], form input[type="tel"], form input[type="password"], form .selectric-wrapper').each(function(){$(this).prev("label").addClass("input-label"),($(this).val()||$(this).attr("placeholder"))&&$(this).parent().addClass("focused"),$(this).hasClass("selectric-wrapper")&&$(this).parent().addClass("focused"),$(this).on("focus",function(){$(this).parent().addClass("focused")}),$(this).on("focusout",function(){setTimeout(function(){$(this).val()||$(this).hasClass("selectric-wrapper")||$(this).attr("placeholder")||$(this).parent().removeClass("focused")},200)}),$(this).on("hover",function(){$(this).prev("label").addClass("hover")}),0<$(this).parent().find(".frm_error").length&&$(this).parent().addClass("error")}),$(".bloc-icone-texte .item").each(function(){var t=$(this).css("color");console.log(t),$(".btn",$(this)).each(function(){$(this).css("color",t)})}),$(".bloc-iframe iframe").height(document.body.clientHeight-$("header#header").height()-20),0<$(".bloc-iframe").length)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){let blocIframe=document.querySelectorAll(".bloc-iframe");function handleIntersection(t){for(var e=0;e<t.length;e++){var i,n,o=t[e];o.isIntersecting&&(i=o.target,n=$(i).find("iframe").attr("data-src"),$(i).find("iframe").attr("src",n),observer.unobserve(o.target))}}let observer=new IntersectionObserver(handleIntersection);for(var i=0;i<blocIframe.length;i++){var bloc=blocIframe[i];observer.observe(bloc)}}else $(".bloc-iframe").each(function(){var t=$(this).find("iframe").attr("data-src");$(this).find("iframe").attr("src",t)});function mapSliderMarkerMobile(t){this.sliderScrollSelector=".listing-items-jsmap",this.cardsSelector=".card",this.indexDataName="id",this.markerDefault="default",this.markerCurrent="hover",this.timeout=null,this.markerBounds=null,this.last=null,this.markers={},this.map=t,this.elSlider=null,this.popins={},this.setIndexDataName=function(t){this.indexDataName=t},this.init=function(t,e){var n=this,o=[];this.elSlider=t,$(this.cardsSelector,t).each(function(){var t,e={lat:+this.getAttribute("data-lat"),lng:+this.getAttribute("data-lng")},i=this.getAttribute("data-"+n.indexDataName);n.markers[i]=th_maps.createMarker(n.map,e,n.markerDefault),isMobileOrSmaller()?n.markers[i].addEventListener("click",function(){n.slide(i)}
1):(t=(t=(e={id:this.getAttribute("data-id"),lat:e.lat,lng:e.lng,html:this.outerHTML.replace("data-src","src").replace("lazy","")}).html).replace('src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',""),n.popins[e.id]=th_maps.createInfoWindow(t,n.markers[e.id],fm._map.markerWidth),n.markers[i].addEventListener("click",function(){n.last&&n.markers[n.last].setIcon(th_maps.markersIcons[n.markerDefault]),n.markers[i].setIcon(th_maps.markersIcons.hover),n.last=i})),o.push(n.markers[i].getLatLng()),isMobileOrSmaller()&&!n.last&&n.changeCurrent(i)}),this.markerBounds=L.latLngBounds(o),isMobileOrSmaller()&&$(t).on("scroll",function(t){n.handleScroll(this,e)})},this.handleScroll=function(e,i){var n=this;$(e).scrollLeft();clearTimeout(this.timeout),this.timeout=setTimeout(function(){var t=n.checkCurrent(e);n.changeCurrent(t),i&&i(t)},200)},this.checkCurrent=function(t){var e=null;return $(this.cardsSelector,t).each(function(){var t=$(this).offset();$(this).removeClass("hover"),-100<t.left&&t.left<160&&(e=this)}),!!e&&($(e).addClass("hover"),e.getAttribute("data-"+this.indexDataName))},this.changeCurrent=function(t){var e;t!=this.last&&(this.last&&this.markers[this.last].setIcon(th_maps.markersIcons[this.markerDefault]),this.markers[t])&&(this.last=t,e=this.map.getZoom(),this.markers[t].__parent&&this.markers[t].__parent._zoom&&(e=this.markers[t].__parent._zoom+1),this.markers[t].setIcon(th_maps.markersIcons[this.markerCurrent]),16<e&&(e=16),this.map.flyTo(this.markers[t].getLatLng(),e))},this.slide=function(t){var e=$(this.cardsSelector+"[data-"+this.indexDataName+'="'+t+'"]',this.elSlider).offset(),t=$(this.cardsSelector+"[data-"+this.indexDataName+'="'+t+'"]',this.elSlider).outerWidth();$(this.elSlider).scrollLeft($(this.elSlider).scrollLeft()+e.left-(document.body.clientWidth-t)/2)}}function initsoundcloud(){if(0<$(".bloc-soundcloud").length)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){var t=document.querySelectorAll(".bloc-soundcloud");let a=new IntersectionObserver(function(t){for(var e=0;e<t.length;e++){var i,n,o=t[e];o.isIntersecting&&(i=o.target,n=$(i).find("iframe").attr("data-src"),$(i).find("iframe").attr("src",n),a.unobserve(o.target))}});for(var e=0;e<t.length;e++){var i=t[e];a.observe(i)}}else $(".bloc-soundcloud").each(function(){var t=$(this).find("iframe").attr("data-src");$(this).find("iframe").attr("src",t)})}initsoundcloud();var bloc_video={videoTemplates:{vimeo:'<iframe src="https://player.vimeo.com/video/[VIDEO_ID]?&autoplay=[AUTOPLAY]&background=[MUTE]&dnt=1" width="640" height="360" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>',youtube:'<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/[VIDEO_ID]?&autoplay=[AUTOPLAY]&mute=[MUTE]" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'},generateVideoIframe:function(t,e,i,n){if(!t)return!1;if(!bloc_video.videoTemplates[e])return!1;i=i||0,n=n||0;e=bloc_video.videoTemplates[e]+"";return e=(e=(e=e.replace("[VIDEO_ID]",t)).replace("[MUTE]",i)).replace("[AUTOPLAY]",n)},displayVideo:function(t,e){var i=t.data("video_id"),n=t.data("video_plateforme"),i=(e.length,bloc_video.generateVideoIframe(i,n,0,1));t.append(i),e.addClass("hide-mask")},init:function(){$(".bloc-video, .video").each(function(){var e=$
1(".mask-video",this),i=$(".embed-container",this);0<e.length?$(e).click(function(t){bloc_video.displayVideo(i,e)}):bloc_video.displayVideo(i,e)})}},fm=(bloc_video.init(),{firstinitpagination:!0,firstinitpagination2:!0,firstinitpaginationLazy:!0,lastaction:"init",focusElement:null,uselazy:!1,_map:{map:null,isMobile:!1,cluster:null,bounds:[],markers:{},popins:{},markerBounds:null,markerIcon:"default",markerWidth:300,timeoutUpdate:null},_selector:{cardsContainer:".listing-sit-js",cardsMobileContainer:".listing-items-jsmap",paginationContainer:".pagination",paginationContainer2:".pages",paginationLazy:".pagination-lazy",mapdesktop:"#map-listing-desktop",mapmobile:"#map-listing-mobile",form:"#facettes",scrollable:"html,body",nb_results:null,nb_filters:".nbrs",selectedfacette:"#selected-facettes",carouselselected:"#selected-facettes .th-slider"},_obj:{mobileSliderManager:null},_ajax:{scrollTop:0,scrollSpeed:250,last:0},callbacks:{afterUpdateListing:null,afterUpdate:null,clickMarker:null},init:function(){fm.listing.update(),fm.pagination.update(),fm.pagination.update2(),fm.pagination.updateLazy(),fm.map.init(),fm.map.update(),fm.form.selectedFacettesRemove(),fm.form.init(),fm.ajax.history.init()},async:function(t){setTimeout(t,0)},ajax:{update:function(t,e){e||fm.ajax.history.add(t),fm._ajax.last=(new Date).getTime(),fm.async(fm.ajax.updateActions),fm.ajax.get(fm._ajax.last,t)},updateActions:function(){fm.uselazy?(loading_text=$("a",fm._selector.paginationLazy).data("loading"),$("a",fm._selector.paginationLazy).text(loading_text)):($(fm._selector.cardsContainer).height($(fm._selector.cardsContainer).height()).html('<p role="alert">'+$(fm._selector.cardsContainer).data("loading")+"</p>"),$(fm._selector.cardsMobileContainer).height($(fm._selector.cardsMobileContainer).height()).html('<p role="alert">'+$(fm._selector.cardsContainer).data("loading")+"</p>"),"pagination"==fm.lastaction&&$(fm._selector.scrollable).animate({scrollTop:$(fm._selector.cardsContainer).offset().top-($("#header").height()+$("#outoverlay").height()+50)},fm._ajax.scrollSpeed))},get:function(e,t){$.get(t,function(t){e==fm._ajax.last&&fm.ajax.updateContent(t)})},updateContent:function(t){var e=$(t).find(fm._selector.cardsContainer).html(),i=$(t).find(fm._selector.paginationContainer).html(),n=$(t).find(fm._selector.paginationContainer2).html(),o=$(t).find(fm._selector.paginationLazy).html(),a=($(t).find(fm._selector.form).html(),$(t).find(fm._selector.nb_results).html()),r=$(t).find(fm._selector.nb_filters).text();$(fm._selector.nb_results).html(a),$(fm._selector.nb_filters).text(r),fm.listing.update(e),fm.pagination.update(i),fm.pagination.update2(n),fm.pagination.updateLazy(o),fm.map.update(),$(fm._selector.cardsContainer).removeAttr("style"),fm.callbacks.afterUpdate&&fm.callbacks.afterUpdate(t)},history:{init:function(){window.addEventListener("popstate",function(){fm.ajax.update(document.location.href,!0)})},add:function(t){void 0!==window.history&&window.history.pushState?window.history.pushState("","",t):document.location.href=t}}},form:{init:function(){$(fm._selector.form).on("submit",function(t){t.preventDefault(),t.stopPropagation();var t=$(":input",this).filter(function(t,e){return""!=$(e).val()}).filter(function(t,e){return"empty"!=$(e).val()}).serialize(),e=this.getAttribute("action");fm.ajax.update(e+"?"+t)}),fm.form.update()},update:function(t){$('input[name="lat"]').val($('input[name="lat"]',t).val()),$('input[name="lng"]').val($('input[name="lng"]',t).val()),$('input[name="radius"]').val($('input[name="radius"]',t).val()),$('input[type="checkbox"], input[type="date"], input[type="text"], input[type="radio"], select, .facette-slider input',fm._selector.form).on("change",function(){$(this).hasClass("accordeon-trigger")||(fm.lastaction="filter",fm.form.outOfOverlayUpdate($(this)),$(fm._selector.form).submit())}),$('input[type="checkbox"], input[type="date"], input[type="text"], input[type="radio"], select, .facette-slider input',fm._selector.form).on("force-change",function(){fm.lastaction="filter",$(fm._selector.form).submit()}),$(".btn-calendar").on("click",function(){fm.lastaction="filter",$(fm._selector.form).submit()})}
1,selectedFacetteAdd:function(t,e,i){t&&(item_html='<li class="item"><button class="gtm-liste-filtre-suppr" aria-label="Supprimer le filtre'+i+'" type="button" data-facetteselectedvalue="'+t+'" data-facetteselectedname="'+e+'">'+i+"</button></li>",$(fm._selector.carouselselected).append(item_html),fm.form.selectedFacetteInitRemove($('[data-facetteselectedvalue="'+t+'"]')))},selectedFacetteInitRemove:function(o){o.on("click",function(){var t,e=o.data("facetteselectedvalue"),i=o.data("facetteselectedname"),n=$("[name='"+i+"']").attr("type");"select"==(n=void 0===n?"select":n)?($('[name="'+i+'"]',fm._selector.form).val("empty").trigger("force-change"),$('[name="'+i+'"]',fm._selector.outoverlay).val("empty")):"checkbox"==n?($("#"+e,fm._selector.form).prop("checked",!1).trigger("force-change"),$("#"+e+"_mea",fm._selector.outoverlay).prop("checked",!1),$elemoverlay=$("#"+e,fm._selector.form),input_checked=$elemoverlay.prop("checked"),elem_id=$elemoverlay.attr("id"),input_displayname=$elemoverlay.parent().text(),elem_group=$elemoverlay.data("group"),e=$('[name="'+i+'"]:checked').length,t=i.substring(0,i.length-2)+"_acc",elem_group&&(t=elem_group,e=$('[data-group="'+elem_group+'"]:checked').length),0<e?$('[for="'+t+'"] .nb-checked').text(e):$('[for="'+t+'"] .nb-checked').text("")):"radio"==n?$("[name="+i+"][value=0]",fm._selector.form).prop("checked",!0).trigger("force-change"):"hidden"==n&&(key_facette=i.split("_"),key_slider="slider_"+key_facette[0],key_val=key_facette[1],void 0!==fmsliders[key_slider]&&(max=parseInt(fmsliders[key_slider].getAttribute("data-max")),min=parseInt(fmsliders[key_slider].getAttribute("data-min")),current_val=fmsliders[key_slider].noUiSlider.get(),start=current_val[0],end=current_val[1],new_start="min"==key_val?[min,end]:[start,max],fmsliders[key_slider].noUiSlider.updateOptions({start:new_start})),$("[name="+i+"]",fm._selector.form).val("").trigger("force-change")),fm.form.selectedFacetteRemove(o)})},selectedFacetteRemove:function(t){t.remove()},selectedFacettesRemove:function(){$("[data-facetteselectedvalue]").each(function(){fm.form.selectedFacetteInitRemove($(this))})},outOfOverlayUpdate:function(t){switch("undefined"==typeof(elem_type=t.attr("type"))&&(elem_type="select"),elem_name=t.attr("name"),input_val=t.val(),elem_type){case"checkbox":input_checked=t.prop("checked"),elem_id=t.attr("id"),input_displayname=t.parent().text(),elem_group=t.data("group"),input_checked?fm.form.selectedFacetteAdd(elem_id,elem_name,input_displayname):($elem_to_remove=$('[data-facetteselectedvalue="'+elem_id+'"][data-facetteselectedname="'+elem_name+'"]'),fm.form.selectedFacetteRemove($elem_to_remove)),elem_id+="_mea",$("#"+elem_id,fm._selector.outoverlay).prop("checked",input_checked);var e=$('[name="'+elem_name+'"]:checked').length,i=elem_name.substring(0,elem_name.length-2)+"_acc";elem_group&&(i=elem_group,e=$('[data-group="'+elem_group+'"]:checked').length),0<e?$('[for="'+i+'"] .nb-checked').text(e):$('[for="'+i+'"] .nb-checked').text("");break;case"select":$('[data-facetteselectedname="'+elem_name+'"]').each(function(){fm.form.selectedFacetteRemove($(this))}),input_displayname=$("option:selected",t).text(),"empty"!=input_val&&fm.form.selectedFacetteAdd(input_val,elem_name,input_displayname),$('[name="'+elem_name+'"]',fm._selector.outoverlay).val(input_val);break;case"hidden":$('[data-facetteselectedname="'+elem_name+'"]').each(function(){fm.form.selectedFacetteRemove($(this))}),prepend_text=t.data("textprepend"),input_displayname=prepend_text+input_val,fm.form.selectedFacetteAdd(input_val,elem_name,input_displayname);break;case"radio":$("[data-facetteselectedname="+elem_name+"]").each(function(){fm.form.selectedFacetteRemove($(this))}),prepend_text=t.data("textappend"),0!=input_val&&(input_displayname=input_val+" "+prepend_text,fm.form.selectedFacetteAdd(input_val,elem_name,input_displayname))}}},listing:{update:function(t){t&&(fm.uselazy&&(fm.uselazy,"pagination"==fm.lastaction)?($(fm._selector.cardsContainer).append(t),$(fm._selector.cardsMobileContainer).append(t),text=$("a",fm._selector.paginationLazy).data("text"),$("a",fm._selector.paginationLazy).text(text)):($(fm._selector.cardsContainer).html(t),$(fm._selector.cardsMobileContainer).html(t)),$(fm._selector.cardsMobileContainer+" .card").addClass("card-inline")),fm.callbacks.afterUpdateListing&&fm.callbacks.afterUpdateListing(
1)},getCards:function(){var i={};return $(".card",fm._selector.cardsContainer).each(function(){var t=+this.getAttribute("data-lat"),e=+this.getAttribute("data-lng");0!=t&&0!=e&&(t={id:this.getAttribute("data-id"),lat:t,lng:e,html:this.outerHTML.replace("data-src","src").replace("lazy","")},i[this.getAttribute("data-id")]=t)}),$(".card-inline").each(function(){var t=this.getAttribute("data-id");$(this).on({mouseenter:function(){fm._map.markers[t].setIcon(th_maps.markersIcons.hover)},mouseleave:function(){fm._map.markers[t].setIcon(th_maps.markersIcons.default)}})}),delete i.null,i}},pagination:{update:function(t){t&&$(fm._selector.paginationContainer).html(t),void 0!==t&&""!=t||!1!==fm.firstinitpagination||$(fm._selector.paginationContainer).html(""),fm.pagination.parse(),fm.lastaction="pagination",fm.firstinitpagination=!1},updateLazy:function(t){fm.firstinitpaginationLazy&&0<$(fm._selector.paginationLazy).length&&(fm.uselazy=!0),fm.uselazy&&(t&&$(fm._selector.paginationLazy).html(t),void 0!==t&&""!=t||!1!==fm.firstinitpaginationLazy||$(fm._selector.paginationLazy).html(""),$(".page-from").text(1),fm.pagination.parse(),fm.firstinitpaginationLazy=!1)},update2:function(t){t&&$(fm._selector.paginationContainer2).html(t),void 0!==t&&""!=t||!1!==fm.firstinitpagination2||$(fm._selector.paginationContainer2).html(""),(first_card=$(".card",fm._selector.cardsMobileContainer).first().data("id"))&&fm._obj.mobileSliderManager&&(fm._obj.mobileSliderManager.changeCurrent(first_card),fm._obj.mobileSliderManager.slide(first_card)),fm.pagination.parse(),fm.firstinitpagination2=!1,console.log(),$("#filtres .pagination .pagination-number>*").removeClass("visible");t=$("#filtres .pagination .pagination-number").find(".active");(t.is(":first-child")?(t.addClass("visible"),t.next().addClass("visible"),t.next().next()):t.is(":last-child")?(t.addClass("visible"),t.prev().addClass("visible"),t.prev().prev()):(t.addClass("visible"),t.prev().addClass("visible"),t.next())).addClass("visible")},parse:function(){$("a",fm._selector.paginationContainer).on("click",function(t){t.preventDefault(),t.stopPropagation(),fm.ajax.update(this.getAttribute("href")),this.getAttribute("data-focus")?fm.focusElement=this.getAttribute("data-focus"):fm.focusElement="pagination"}),$("a",fm._selector.paginationContainer2).on("click",function(t){t.preventDefault(),t.stopPropagation(),fm.ajax.update(this.getAttribute("href"))}),$("a",fm._selector.paginationLazy).on("click",function(t){t.preventDefault(),t.stopPropagation(),fm.ajax.update(this.getAttribute("href"))})}},map:{init:function(){var t=!1;document.body.clientWidth<980&&(t=!0),fm.map.initMap(t),fm.map.events(t)},initMap:function(t){t?document.querySelector(fm._selector.mapmobile)&&(fm._map.mobileMap=th_maps.initSingleMap(document.querySelector(fm._selector.mapmobile)),fm.map.set(fm._map.mobileMap,!0)):document.querySelector(fm._selector.mapdesktop)?(fm._map.desktopMap=th_maps.initSingleMap(document.querySelector(fm._selector.mapdesktop)),fm.map.set(fm._map.desktopMap,!1)):document.querySelector(fm._selector.mapmobile)&&(console.log("map-mobile"),fm._map.mobileMap=th_maps.initSingleMap(document.querySelector(fm._selector.mapmobile)),fm.map.set(fm._map.mobileMap,!0))},events:function(t){window.addEventListener("orientationchange",function(){fm.map.initMap(!t),fm.map.update()})},set:function(t,e){fm._map.map=t,e&&(fm._map.isMobile=e)},update:function(){var t=fm.listing.getCards();if(clearTimeout(fm._map.timeoutUpdate),!fm._map.map)return setTimeout(function(){fm.map.update(t)},500),!1;fm._map.isMobile?(fm._obj.mobileSliderManager=new mapSliderMarkerMobile(fm._map.map),fm._obj.mobileSliderManager.setIndexDataName("id"),fm._obj.mobileSliderManager.init($(".listing-items-jsmap")),fm._map.map=fm._obj.mobileSliderManager.map,fm._map.markerBounds=fm._obj.mobileSliderManager.markerBounds):(fm._map.map._layersMaxZoom=19,$.each(t,function(t,e){fm.map.getMarker(e)}),fm.map.markerBounds=L.latLngBounds(fm._map.bounds),console.log(fm.map.markerBounds)),setTimeout(function(){fm._map.map.invalidateSize(),fm._map.isMobile||fm._map.map.fitBounds(fm.map.markerBounds,{padding:[25,25]}),fm.callbacks.mapUpdate&&fm.callbacks.mapUpdate(fm._map.map)},250)},getMarker:function(t){return fm._map.markers[t.id]||fm.map.createMarker(t),fm._map.markers[t.id]},createMarker:function(t){fm._map.markers[t.id]=th_maps.createMarker(fm._map.map,{lat:t.lat,lng:t.lng},fm._map.markerIcon),fm._map.markers[t.id].on("click",function(){fm.callbacks.onClickMarker&&fm.callbacks.onClickMarker(t.id,fm._map.markers[t.id],t)}),fm._map.markers[t.id].on("popupopen",function(){fm._map.markers[t.id].setIcon(th_maps.markersIcons.hover)}),fm._map.markers[t.id].on("popupclose",function(){fm._map.markers[t.id].setIcon(th_maps.markersIcons.default)}),fm._map.bounds.push(fm._map.markers[t.id].getLatLng()),fm._map.isMobile||(card_html=(card_html=t.html).replace('src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',""),fm._map.popins[t.id]=th_maps.createInfoWindow(card_html,fm._map.markers[t.id],fm._map.markerWidth))},hideCluster:function(){if(!fm._map.map)return null;fm._map.cluster&&fm._map.map.removeLayer(fm._map.cluster)}}}),isInitStick,$elSticky,chartColors,chartColorsAlpha,YAxis,XAxis,ctx,myChart;function initMeteo(){var e=["nuit","matin","aprem","soir"],t=[0,1,2,3,4],u=!1;$("[data-weather]").each(function(){var l=this,c=$(this).data("weather");$.each(t,function(t,o){var a=0,r=1e3,s=[];$.each(e,function(t,n){thWeather.get({city:c,moment:n,day:o,lang:thGlobalDefaults.currentlanguage},function(e){var t,i;null!=e&&e?(t=moment(1e3*e.dt).format("ddd D MMM"),a=e.temp_max>a?e.temp_max:a,r=e.temp_min<r?e.temp_min:r,i=Math.round(3.6*e.wind.speed),$("#day-"+o+" .day",l).html(t),$("#day-"+o+" ."+n+" .temp",l).html(e.degrees+"°C"),$("#day-"+o+" ."+n+" .data-icon",l).html(e.iconHtml),$("#day-"+o+" ."+n+" .vent .vent-container",l).html(i),$("#day-"+o+" ."+n+" .vent .icon-itineraire",l).addClass("rotate-"+e.winddirection.deg),e.rain&&$("#day-"+o+" ."+n+" .humid .rain-container",l).html(e.rain["3h"]),$("#day-"+o+" ."+n+" .pression .pressure-container",l).html(i),u||thWeather.get({city:c,moment:"current",day:o,lang:thGlobalDefaults.currentlanguage},function(t){null!=t&&t&&(console.log(thGlobalDefaults.currentlanguage),console.log(t),$(".data-topweather-weather.weather .data-icon").html(t.iconHtml),$(".data-topweather-weather.weather .temp").html(t.degrees+"°C"),$(".data-topweather-weather.weather .desc").html(t.weather[0].description),$(".data-topweather-weather.wind .windspeed").html(i),$(".data-topweather-weather.wind .winddirection").text(windirectiontrad[e.winddirection.direction]),$(".data-topweather-weather.wind .icon-itineraire").addClass("rotate-"+e.winddirection.deg),u=!0)})):($("#day-"+o+" ."+n,l).html(""),s.push(!0))}),4<=s.length&&$("#day-"+o,l).remove()})})})}0<$(fm._selector.form).length&&fm.init(),parseCardAgendaClickOverlay(),fm.callbacks.afterUpdateListing=function(){new LazyLoad({elements_selector:".lazy"})},fm.callbacks.afterUpdate=function(){parseCardAgendaClickOverlay(),fm.map.update()},thWeather.config({apiUrl:site_options.ajax_path+"/openweathermap.php",soir:"21:00:00",nuit:"03:00:00"}),moment.locale(thGlobalDefaults.currentlanguage),initMeteo(),0<$(".page-detail").length&&(isInitStick=!1,0<!$(".wrapper-sticky.wrapper-sticky-event").length)&&($elSticky=$(".wrapper-content-sit .wrapper-sticky"),isTabletPortraitOrSmalller()||($elSticky.stick({top:100}),isInitStick=!0),$(window).on("resize",function(){console.log(isTabletPortraitOrSmalller()),isTabletPortraitOrSmalller()?($elSticky.stick("stop"),$elSticky.attr("style","")):isInitStick?$elSticky.stick("update"):(isInitStick=!0,setTimeout(function(){$elSticky.stick({top:100})},500))})),0<$("#denivele").length&&(chartColors=$("body").attr("data-color"),chartColorsAlpha=ch
1artColors+"80",YAxis=$("#denivele").attr("data-YAxis").split(","),XAxis=$("#denivele").attr("data-XAxis").split(","),ctx=$("#denivele"),myChart=new Chart(ctx,{type:"line",data:{labels:XAxis,datasets:[{label:"Dénivelé (m)",data:YAxis,borderColor:chartColors,fill:!0,backgroundColor:chartColorsAlpha,pointRadius:0,pointHoverRadius:5,pointHitRadius:10,lineTension:0}]},hover:{mode:"index"},options:{responsive:!0,legend:{display:!1},maintainAspectRatio:!0,scales:{xAxes:[{display:!0,scaleLabel:{display:!0,labelString:"Distance (km)",fontFamily:"Avenir"}}],yAxes:[{display:!0,scaleLabel:{display:!0,labelString:"Altitude (m)",fontFamily:"Avenir",padding:{bottom:20}}}]},tooltips:{bodyFontFamily:"Avenir",titleFontFamily:"Avenir",displayColors:!1}}}),document.getElementById("denivele").onmousemove=function(t){var e=myChart.getElementAtEvent(event);0<e.length?$("[data-markerindex="+e[0]._index+"]").addClass("active"):$("[data-markerindex]").removeClass("active")});var currentNumber=1;function createMapIcon(t){return L.divIcon({className:"custom-etape-icon",html:'<div class="marker-pin" data-marker="'+t+'">'+t+"</div>",shadowUrl:null,iconSize:[26,26],iconAnchor:[13,13]})}function createMapIconActif(t){return L.divIcon({className:"custom-etape-icon-actif",html:'<div class="marker-pin-actif" data-marker="'+t+'"><span class="number">'+t+'</span><span class="icon-marker-map"></span></div>',shadowUrl:null,iconSize:[44,44],iconAnchor:[22,44]})}$(".map-itineraire .etape a").on("click",function(t){t.preventDefault(),t.stopPropagation();t=this.getAttribute("data-etape");t&&($("#overlay-itineraire-etape .step").removeClass("current"),$('#overlay-itineraire-etape .step[data-etape="'+t+'"]').addClass("current"),th_maps.markers[currentNumber].setIcon(createMapIcon(currentNumber)),th_maps.markers[t].setIcon(createMapIconActif(t)),$(".overlay-itineraire-etape .top .number").html(""+t)),$("#overlay-itineraire-etape").addClass("open"),$(".shadow-overlay").removeClass("open")}),$("#overlay-itineraire-etape .bottom button").on("click",function(){var t,e=$("#overlay-itineraire-etape .step.current"),i=$("#overlay-itineraire-etape .step.current").attr("data-etape");$(this).hasClass("prev")?1<e.attr("data-etape")&&(e.removeClass("current"),e.prev().addClass("current"),t=parseInt(i)-1,e.data("lat")&&e.data("lng")&&(th_maps.markers[i].setIcon(createMapIcon(i)),th_maps.markers[t].setIcon(createMapIconActif(t)),currentNumber=t),$(".overlay-itineraire-etape .top .number").html(""+t)):$("#overlay-itineraire-etape .step").length>e.attr("data-etape")&&(e.removeClass("current"),e.next().addClass("current"),e.data("lat")&&e.data("lng")&&(t=parseInt(i)+1,th_maps.markers[i].setIcon(createMapIcon(i)),th_maps.markers[t].setIcon(createMapIconActif(t)),currentNumber=t),$(".overlay-itineraire-etape .top .number").html(""+t))});var popinPub={eventTriggered:!1,idmodal:"overlay-popin",nb_pages:3,hasLocalStorage:!1,hasgaq:!1,init:function(){if(popinPub.testLocalStorage(),popinPub.testGaq(),0<popin_settings.nb_pages&&(popinPub.nb_pages=popin_settings.nb_pages),!popinPub.hasLocalStorage)return console.log("PopinPub désactivée : LocalStorage inaccessible."),!1;$(".form-sent").hide();var t=popinPub.incrementPageCount();if(console.log("PopinPub : "+t+" pages vues."),popinPub.checkAlreadySee())return console.log("PopinPub désactivée : Déjà vue."),!1;t>=popinPub.nb_pages&&popinPub.listenEventCloseTab(),popin_settings.display&&popinPub.open()},testGaq:function(){void 0!==window._gaq&&(popinPub.hasgaq=!0)},testLocalStorage:function(){try{localStorage.setItem("hasLocalStorage","oui"),localStorage.removeItem("hasLocalStorage"),popinPub.hasLocalStorage=!0}catch(t){popinPub.hasLocalStorage=!1}},incrementPageCount:function(){console.log("Increment page");var t=null==(t=localStorage.getItem("popinpub-pagevue"))?1:parseInt(t)+1;return localStorage.setItem("popinpub-pagevue",t),t},checkAlreadySee:function(){return null!==localStorage.getItem("popinpub-already")},listenEventCloseTab:function(){$("body").on("mouseleave",function(t){console.log("close Tab"),t.offsetY-$(window).scrollTop()<0&&!popinPub.eventTriggered&&popin_settings.display_on_this_page&&!popin_settings.display&&(popinPub.eventTriggered=!0,$("body").off("mouseleave"),popinPub.open())})},open:function(){console.log("Open"),$("#"+popinPub.idmodal+" form").submit(function(t){t.preventDefault(),popinPub.confirmSubmit()}),popinPub.openModal(),setTimeout(function(){localStorage.setItem("popinpub-already","1")},500)}
1,openModal:function(){popinPub.hasgaq&&window._gaq.push(["_trackEvent","Pop-in publicitaire","Affichage","Pages vues avant : "+localStorage.getItem("popinpub-pagevue")]),setTimeout(function(){th_overlay.open(popinPub.idmodal)},100)},addError:function(t){var e=document.createElement("p");e.innerHTML=t,e.className="errormsg",e.style.opacity=0,$("#nlModal form").prepend(e),setTimeout(function(){$(e).animate({opacity:1},300)},25),setTimeout(function(){$(e).animate({opacity:0},300),setTimeout(function(){e.parentNode.removeChild(e)},400)},3e3)},confirmSubmit:function(){var t=$("#field_mail_popin").val();popinPub.hasgaq&&window._gaq.push(["_trackEvent","Pop-in publicitaire","Click","Bouton"]),0<$(".frm_required_field input:checked").length?jQuery.post(document.location.origin+"/wp-admin/admin-ajax.php",{action:"popinpub",email:t},function(t){(t=$.parseJSON(t)).success?($(".content.form").hide(),$(".form-sent").show(),popinPub.hasgaq&&window._gaq.push(["_trackEvent","Pop-in publicitaire","Conversion","1"])):popinPub.addError(t.error[0])}):$(".frm_required_field").append('<span class="error">'+$(".frm_required_field input").data("reqmsg")+"</span>")}},popin_settings,dispo=(0<$("#overlay-popin").length&&(popin_settings={enabled:!0,nb_pages:parseInt($("#overlay-popin").attr("date-nb-pages")),display_on_this_page:!0,display:!1},popinPub.init()),{dispo:"",curMonth:"",curYear:"",minyear:null,maxyear:"",init:function(){var t=new Date,e=dispo.parseMonthToDring(t.getMonth()+1),i=(dispo.curMonth=t.getMonth()+1,String(t.getFullYear()));dispo.curYear=t.getFullYear(),dispo.dispo=$(".select-month-dispo").data("dispo"),$.each(dispo.dispo,function(t,e){dispo.minyear||(dispo.minyear=t),dispo.maxyear=t}),dispo.updateDispoCalendar(e,i),$textMonth=$(".select-month-dispo .month"),$textYear=$(".select-month-dispo .month span"),textMonth=moment(new Date((i+"-"+e+"-01").replaceAll("-","/"))).format("MMMM"),textYear=moment(new Date((i+"-"+e+"-01").replaceAll("-","/"))).format("YYYY"),$textMonth.html(textMonth+" <span>"+textYear+"</span>"),$nextBtn=$(".select-month-dispo .dispo-next"),$prevBtn=$(".select-month-dispo .dispo-prev"),$nextBtn.on("click",function(){dispo.curMonth<12?e=dispo.curMonth+1:(e=1,i=dispo.curYear+1,dispo.curYear=i),$prevBtn.removeAttr("disabled"),i>dispo.maxyear||i==dispo.maxyear&&12==e?$nextBtn.attr("disabled","disabled"):$nextBtn.removeAttr("disabled"),textMonth=moment(new Date((i+"-"+e+"-01").replaceAll("-","/"))).format("MMMM"),textYear=moment(new Date((i+"-"+e+"-01").replaceAll("-","/"))).format("YYYY"),$textMonth.html(textMonth+" <span>"+textYear+"</span>"),dispo.curMonth=e,dispo.updateDispoCalendar(dispo.parseMonthToDring(e),i)}),$prevBtn.on("click",function(){1<dispo.curMonth?e=dispo.curMonth-1:(e=12,i=dispo.curYear-1,dispo.curYear=i),i<dispo.minyear||i==dispo.minyear&&1==e?$prevBtn.attr("disabled","disabled"):$prevBtn.removeAttr("disabled"),textMonth=moment(new Date((i+"-"+e+"-01").replaceAll("-","/"))).format("MMMM"),textYear=moment(new Date((i+"-"+e+"-01").replaceAll("-","/"))).format("YYYY"),$textMonth.html(textMonth+" <span>"+textYear+"</span>"),dispo.curMonth=e,dispo.updateDispoCalendar(dispo.parseMonthToDring(e),i)})},parseMonthToDring:function(t){return t<10?"0"+String(t):String(t)},updateDispoCalendar:function(t,e){var t=dispo.generateDom(t,e),n=document.getElementById("sit-dispo");n.innerHTML="",$.each(t,function(t,e){var i=document.createElement("tr");$.each(e,function(t,e){i.appendChild(e)}),n.appendChild(i)})},generateDom:function(t,e){for(var i=new Date(e+"-"+t+"-01"),n=i,o=0,a=(1<i.getDay()?o=i.getDay()-1:0==i.getDay()&&(o=6),!1),r=!1,s=0,l=[[]];0!=o;)(n=new Date(i.getTime()-86400*o*1e3)).getDate(),o--,l[l.length-1].push(dispo.generateTD(n,!0)),s++;for(l[l.length-1].push(dispo.generateTD(i,!1)),s++,n=i;0==r;)s++,1==(n=new Date(n.getTime()+864e5)).getDate()&&(a=!0),8==s&&1!=a&&(s=1,l.push([])),8==s&&a?r=!0:l[l.length-1].push(dispo.generateTD(n,a));return l},generateTD:function(t,e){var i=dispo.dateToDayOfYear(t),n=t.getFullYear(),o=document.createElement("td");return o.innerHTML=t.getDate(),o.setAttribute("data-date",t.getDate()+"-"+(t.getMonth()+1)+"-"+t.getFullYear()),o.setAttribute("data-dayofyear",dispo.dateToDayOfYear(t)),e?o.className="day-disabled":o.className+=" "+dispo.dayToDispo(i,n),o},dateToDayOfYear:function(t){var e=new Date(t.getFullYear(),0,0),e=t-e+60*(e.getTimezoneOffset()-t.getTimezoneOffset())*1e3;return Math.floor(e/864e5)},dayToDispo:function(t,e){if(dispo.dispo[e].length>t-1){if("D"==dispo.dispo[e][t-1])return"day-dispo";if("C"==dispo.dispo[e][t-1])return"day-complet";if("F"==dispo.dispo[e][t-1])return"day-complet"}return"day-verif"}});0<$("#overlay-disponibilites").length&&dispo.init();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.