1(self.webpackChunkutagawavtt_packager=self.webpackChunkutagawavtt_packager||[]).push([[380],{4783:function(t){var e,i;e="undefined"!=typeof window?window:this,i=function(t){"use strict";var e={};function i(e,i,s,r){e.hasOwnProperty(i)||(e[i]=r.apply(null,s),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:e[i]}})))}return i(e,"Core/Globals.js",[],function(){var e,i;return(i=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",i.product="Highcharts",i.version="11.4.6",i.win=void 0!==t?t:{},i.doc=i.win.document,i.svg=i.doc&&i.doc.createElementNS&&!!i.doc.createElementNS(i.SVG_NS,"svg").createSVGRect,i.userAgent=i.win.navigator&&i.win.navigator.userAgent||"",i.isChrome=i.win.chrome,i.isFirefox=-1!==i.userAgent.indexOf("Firefox"),i.isMS=/(edge|msie|trident)/i.test(i.userAgent)&&!i.win.opera,i.isSafari=!i.isChrome&&-1!==i.userAgent.indexOf("Safari"),i.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(i.userAgent),i.isWebKit=-1!==i.userAgent.indexOf("AppleWebKit"),i.deg2rad=2*Math.PI/360,i.hasBidiBug=i.isFirefox&&4>parseInt(i.userAgent.split("Firefox/")[1],10),i.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],i.noop=function(){},i.supportsPassiveEvents=function(){let t=!1;if(!i.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});i.win.addEventListener&&i.win.removeEventListener&&(i.win.addEventListener("testPassive",i.noop,e),i.win.removeEventListener("testPassive",i.noop,e))}return t}(),i.charts=[],i.composed=[],i.dateFormats={},i.seriesTypes={},i.symbolSizes={},i.chartCount=0,e}),i(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(t){let e,{charts:i,doc:s,win:r}=t;function n(e,i,s,o){let a=i?"Highcharts error":"Highcharts warning";32===e&&(e=`${a}: Deprecated member`);let l=u(e),h=l?`${a} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(void 0!==o){let t="";l&&(h+="?"),w(o,function(e,i){t+=`\n - ${i}: ${e}`,l&&(h+=encodeURI(i)+"="+encodeURI(e))}),h+=t}T(t,"displayError",{chart:s,code:e,message:h,params:o},function(){if(i)throw Error(h);r.console&&-1===n.messages.indexOf(h)&&console.warn(h)}),n.messages.push(h)}function o(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function l(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function h(t,e){return!(!t||"object"!=typeof t||e&&l(t))}function d(t){return h(t)&&"number"==typeof t.nodeType}function c(t){let e=t&&t.constructor;return!(!h(t,!0)||d(t)||!e||!e.name||"Object"===e.name)}function u(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function p(t){return null!=t}function f(t,e,i){let s,r=a(e)&&!p(i),n=(e,i)=>{p(e)?t.setAttribute(i,e):r?(s=t.getAttribute(i))||"class"!==i||(s=t.getAttribute(i+"Name")):t.removeAttribute(i)};return a(e)?n(i,e):w(e,n),s}function g(t){return l(t)?t:[t]}function m(t,e){let i;for(i in t||(t={}),e)t[i]=e[i];return t}function v(){let t=arguments,e=t.length;for(let i=0;i<e;i++){let e=t[i];if(null!=e)return e}}function y(t,e){m(t.style,e)}function x(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function b(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}(n||(n={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};let S=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let i,s=t.length;for(i=0;i<s;i++)if(e(t[i],i))return t[i]};function w(t,e,i){for(let s in t)Object.hasOwnProperty.call(t,s)&&e.call(i||t[s],t[s],s,t)}function C(t,e,i){function s(e,i){let s=t.removeEventListener;s&&s.call(t,e,i,!1)}function r(i){let r,n;t.nodeName&&(e?(r={})[e]=!0:r=i,w(r,function(t,e){if(i[e])for(n=i[e].length;n--;)s(e,i[e][n].fn)}))}let n="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(n,"hcEvents")){let t=n.hcEvents;if(e){let n=t[e]||[];i?(t[e]=n.filter(function(t){return i!==t.fn}),s(e,i)):(r(t),t[e]=[])}else r(t),delete n.hcEvents}}function T(e,i,r,n){if(r=r||{},s.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){let t=s.createEvent("Events");t.initEvent(i,!0,!0),r=m(t,r),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent(i,r)}else if(e.hcEvents){r.target||m(r,{preventDefault:function(){r.defaultPrevented=!0},target:e,type:i});let t=[],s=e,n=!1;for(;s.hcEvents;)Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents[i]&&(t.length&&(n=!0),t.unshift.apply(t,s.hcEvents[i])),s=Object.getPrototypeOf(s);n&&t.sort((t,e)=>t.order-e.order),t.forEach(t=>{!1===t.fn.call(e,r)&&r.preventDefault()})}n&&!r.defaultPrevented&&n.call(e,r)}
1w({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(e,i){t[i]=function(t){return n(32,!1,void 0,{[`Highcharts.${i}`]:`use Array.${e}`}),Array.prototype[e].apply(t,[].slice.call(arguments,1))}});let k=function(){let t=Math.random().toString(36).substring(2,9)+"-",i=0;return function(){return"highcharts-"+(e?"":t)+i++}}();return r.jQuery&&(r.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[a(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):i[f(this[0],"data-highcharts-chart")]}),{addEvent:function(e,i,s,r={}){let n="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={});let o=n.hcEvents;t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let a=e.addEventListener;a&&a.call(e,i,s,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==i.indexOf("touch"):r.passive,capture:!1}),o[i]||(o[i]=[]);let l={fn:s,order:"number"==typeof r.order?r.order:1/0};return o[i].push(l),o[i].sort((t,e)=>t.order-e.order),function(){C(e,i,s)}},arrayMax:function(t){let e=t.length,i=t[0];for(;e--;)t[e]>i&&(i=t[e]);return i},arrayMin:function(t){let e=t.length,i=t[0];for(;e--;)t[e]<i&&(i=t[e]);return i},attr:f,clamp:function(t,e,i){return t>e?t<i?t:i:e},clearTimeout:function(t){p(t)&&clearTimeout(t)},correctFloat:b,createElement:function(t,e,i,r,n){let o=s.createElement(t);return e&&m(o,e),n&&y(o,{padding:"0",border:"none",margin:"0"}),i&&y(o,i),r&&r.appendChild(o),o},crisp:(t,e=0,i)=>{let s=e%2/2,r=i?-1:1;return(Math.round(t*r-s)+s)*r},css:y,defined:p,destroyObjectProperties:function(t,e,i){w(t,function(s,r){s!==e&&s?.destroy&&s.destroy(),(s?.destroy||!i)&&delete t[r]})},diffObjects:function(t,e,i,s){let r={};return function t(e,r,n,o){let a=i?r:e;w(e,function(i,d){if(!o&&s&&s.indexOf(d)>-1&&r[d]){i=g(i),n[d]=[];for(let e=0;e<Math.max(i.length,r[d].length);e++)r[d][e]&&(void 0===i[e]?n[d][e]=r[d][e]:(n[d][e]={},t(i[e],r[d][e],n[d][e],o+1)))}else h(i,!0)&&!i.nodeType?(n[d]=l(i)?[]:{},t(i,r[d]||{},n[d],o+1),0!==Object.keys(n[d]).length||"colorAxis"===d&&0===o||delete n[d]):(e[d]!==r[d]||d in e&&!(d in r))&&"__proto__"!==d&&"constructor"!==d&&(n[d]=a[d])})}(t,e,r,0),r},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){let i=t.length;for(;i--;)if(t[i]===e){t.splice(i,1);break}},error:n,extend:m,extendClass:function(t,e){let i=function(){};return m(i.prototype=new t,e),i},find:S,fireEvent:T,getClosestDistance:function(t,e){let i,s,r,n,o=!e;return t.forEach(t=>{if(t.length>1)for(n=s=t.length-1;n>0;n--)(r=t[n]-t[n-1])<0&&!o?(e?.(),e=void 0):r&&(void 0===i||r<i)&&(i=r)}),i},getMagnitude:x,getNestedProperty:function(t,e){let i=t.split(".");for(;i.length&&p(e);){let t=i.shift();if(void 0===t||"__proto__"===t)return;if("this"===t){let t;return h(e)&&(t=e["@this"]),t??e}let s=e[t];if(!p(s)||"function"==typeof s||"number"==typeof s.nodeType||s===r)return;e=s}return e},getStyle:function t(e,i,s){let n;if("width"===i){let i=Math.min(e.offsetWidth,e.scrollWidth),s=e.getBoundingClientRect&&e.getBoundingClientRect().width;return s<i&&s>=i-1&&(i=Math.floor(s)),Math.max(0,i-(t(e,"padding-left",!0)||0)-(t(e,"padding-right",!0)||0))}if("height"===i)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(t(e,"padding-top",!0)||0)-(t(e,"padding-bottom",!0)||0));let a=r.getComputedStyle(e,void 0);return a&&(n=a.getPropertyValue(i),v(s,"opacity"!==i)&&(n=o(n))),n},inArray:function(t,e,i){return n(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e.indexOf(t,i)},insertItem:function(t,e){let i,s=t.options.index,r=e.length;for(i=t.options.isInternal?r:0;i<r+1;i++)if(!e[i]||u(s)&&s<v(e[i].options.index,e[i]._i)||e[i].options.isInternal){e.splice(i,0,t);break}return i},isArray:l,isClass:c,isDOMElement:d,isFunction:function(t){return"function"==typeof t},isNumber:u,isObject:h,isString:a,keys:function(t){return n(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){let t,e=arguments,i={},s=function(t,e){return"object"!=typeof t&&(t={}),w(e,function(i,r){"__proto__"!==r&&"constructor"!==r&&(!h(i,!0)||c(i)||d(i)?t[r]=e[r]:t[r]=s(t[r]||{},i))}),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));let r=e.length;for(t=0;t<r;t++)i=s(i,e[t]);return i}
1,normalizeTickInterval:function(t,e,i,s,r){let n,o=t,a=t/(i=v(i,x(t)));for(!e&&(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===s&&(1===i?e=e.filter(function(t){return t%1==0}):i<=.1&&(e=[1/i]))),n=0;n<e.length&&(o=e[n],(!r||!(o*i>=t))&&(r||!(a<=(e[n]+(e[n+1]||e[n]))/2)));n++);return b(o*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:w,offset:function(t){let e=s.documentElement,i=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:i.top+(r.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(r.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:i.width,height:i.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:v,pInt:o,pushUnique:function(t,e){return 0>t.indexOf(e)&&!!t.push(e)},relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:C,replaceNested:function(t,...e){let i,s;do{for(s of(i=t,e))t=t.replace(s[0],s[1])}while(t!==i);return t},splat:g,stableSort:function(t,e){let i,s,r=t.length;for(s=0;s<r;s++)t[s].safeI=s;for(t.sort(function(t,s){return 0===(i=e(t,s))?t.safeI-s.safeI:i}),s=0;s<r;s++)delete t[s].safeI},syncTimeout:function(t,e,i){return e>0?setTimeout(t,e,i):(t.call(0,i),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:k,useSerialIds:function(t){return e=v(t,e)},wrap:function(t,e,i){let s=t[e];t[e]=function(){let t=arguments,e=this;return i.apply(this,[function(){return s.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}}}),i(e,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),i(e,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),i(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){let{win:i}=t,{defined:s,error:r,extend:n,isNumber:o,isObject:a,merge:l,objectEach:h,pad:d,pick:c,splat:u,timeUnits:p}=e,f=t.isSafari&&i.Intl&&i.Intl.DateTimeFormat.prototype.formatRange,g=t.isSafari&&i.Intl&&!i.Intl.DateTimeFormat.prototype.formatRange;class m{constructor(t){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=i.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}get(t,e){if(this.variableTimezone||this.timezoneOffset){let i=e.getTime(),s=i-this.getTimezoneOffset(e);e.setTime(s);let r=e["getUTC"+t]();return e.setTime(i),r}return this.useUTC?e["getUTC"+t]():e["get"+t]()}set(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&this.getTimezoneOffset(e)%36e5==0)return e["setUTC"+t](i);let s=this.getTimezoneOffset(e),r=e.getTime()-s;e.setTime(r),e["setUTC"+t](i);let n=this.getTimezoneOffset(e);return r=e.getTime()+n,e.setTime(r)}return this.useUTC||f&&"FullYear"===t?e["setUTC"+t](i):e["set"+t](i)}update(t={}){let e=c(t.useUTC,!0);this.options=t=l(!0,this.options,t),this.Date=t.Date||i.Date||Date,this.useUTC=e,this.timezoneOffset=e&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)}makeTime(t,e,i,s,r,n){let o,a,l;return this.useUTC?(o=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(o),o+=a,a!==(l=this.getTimezoneOffset(o))?o+=l-a:a-36e5!==this.getTimezoneOffset(o-36e5)||g||(o-=36e5)):o=new this.Date(t,e,c(i,1),c(s,0),c(r,0),c(n,0)).getTime(),o}timezoneOffsetFunction(){let t=this,e=this.options,i=e.getTimezoneOffset;return this.useUTC?e.timezone?t=>{try{let i=`shortOffset,${e.timezone||""}`,[s,r,n,a,l=0]=(m.formatCache[i]=m.formatCache[i]||Intl.DateTimeFormat("en",{timeZone:e.timezone,timeZoneName:"shortOffset"})).format(t).split(/(GMT|:)/).map(Number),h=-36e5*(n+l/60);if(o(h))return h}catch(t){r(34)}return 0}:this.useUTC&&i?t=>6e4*i(t.valueOf()):()=>6e4*(t.timezoneOffset||0):t=>6e4*new Date(t.toString()).getTimezoneOffset()}dateFormat(e,i,r){if(!s(i)||isNaN(i))return t.defaultOptions.lang&&t.defaultOptions.lang.invali
1dDate||"";e=c(e,"%Y-%m-%d %H:%M:%S");let o=this,a=new this.Date(i),l=this.get("Hours",a),u=this.get("Day",a),p=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,v=m&&m.weekdays,y=m&&m.shortWeekdays;return h(n({a:y?y[u]:v[u].substr(0,3),A:v[u],d:d(p),e:d(p,2," "),w:u,b:m.shortMonths[f],B:m.months[f],m:d(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:d(l),k:l,I:d(l%12||12),l:l%12||12,M:d(this.get("Minutes",a)),p:l<12?"AM":"PM",P:l<12?"am":"pm",S:d(this.get("Seconds",a)),L:d(Math.floor(i%1e3),3)},t.dateFormats),function(t,s){for(;-1!==e.indexOf("%"+s);)e=e.replace("%"+s,"function"==typeof t?t.call(o,i):t)}),r?e.substr(0,1).toUpperCase()+e.substr(1):e}resolveDTLFormat(t){return a(t,!0)?t:{main:(t=u(t))[0],from:t[1],to:t[2]}}getTimeTicks(t,e,i,r){let o,a,l,h,d=this,u=d.Date,f=[],g={},m=new u(e),v=t.unitRange,y=t.count||1;if(r=c(r,1),s(e)){d.set("Milliseconds",m,v>=p.second?0:y*Math.floor(d.get("Milliseconds",m)/y)),v>=p.second&&d.set("Seconds",m,v>=p.minute?0:y*Math.floor(d.get("Seconds",m)/y)),v>=p.minute&&d.set("Minutes",m,v>=p.hour?0:y*Math.floor(d.get("Minutes",m)/y)),v>=p.hour&&d.set("Hours",m,v>=p.day?0:y*Math.floor(d.get("Hours",m)/y)),v>=p.day&&d.set("Date",m,v>=p.month?1:Math.max(1,y*Math.floor(d.get("Date",m)/y))),v>=p.month&&(d.set("Month",m,v>=p.year?0:y*Math.floor(d.get("Month",m)/y)),a=d.get("FullYear",m)),v>=p.year&&(a-=a%y,d.set("FullYear",m,a)),v===p.week&&(h=d.get("Day",m),d.set("Date",m,d.get("Date",m)-h+r+(h<r?-7:0))),a=d.get("FullYear",m);let t=d.get("Month",m),n=d.get("Date",m),c=d.get("Hours",m);e=m.getTime(),(d.variableTimezone||!d.useUTC)&&s(i)&&(l=i-e>4*p.month||d.getTimezoneOffset(e)!==d.getTimezoneOffset(i));let u=m.getTime();for(o=1;u<i;)f.push(u),v===p.year?u=d.makeTime(a+o*y,0):v===p.month?u=d.makeTime(a,t+o*y):!l||v!==p.day&&v!==p.week?l&&v===p.hour&&y>1?u=d.makeTime(a,t,n,c+o*y):u+=v*y:u=d.makeTime(a,t,n+o*y*(v===p.day?1:7)),o++;f.push(u),v<=p.hour&&f.length<1e4&&f.forEach(function(t){t%18e5==0&&"000000000"===d.dateFormat("%H%M%S%L",t)&&(g[t]="day")})}return f.info=n(t,{higherRanks:g,totalRange:v*y}),f}getDateFormat(t,e,i,s){let r=this.dateFormat("%m-%d %H:%M:%S.%L",e),n="01-01 00:00:00.000",o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond",l=a;for(a in p){if(t===p.week&&+this.dateFormat("%w",e)===i&&r.substr(6)===n.substr(6)){a="week";break}if(p[a]>t){a=l;break}if(o[a]&&r.substr(o[a])!==n.substr(o[a]))break;"week"!==a&&(l=a)}return this.resolveDTLFormat(s[a]).main}}return m.formatCache={},m}),i(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,i,s,r){let{isTouchDevice:n}=e,{fireEvent:o,merge:a}=r,l={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:t=>Math.sqrt(1-Math.pow(t-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:n?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">â</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};l.chart.styledMode=!1;let h=new s(l.time);return{defaultOptions:l,defaultTime:h,getOptions:function(){return l},setOptions:function(t){return o(e,"setOptions",{options:t}),a(!0,l,t),(t.time||t.global)&&(e.time?e.time.update(a(l.global,l.time,t.global,t.time)):e.time=h),l}}}),i(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){let{isNumber:i,merge:s,pInt:r}=e;class n{static parse(t){return t?new n(t):n.None}constructor(e){let i,s,r,o;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;let a=t.Color;if(a&&a!==n)return new a(e);if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map(t=>new n(t[1]));else if("string"==typeof e){if(this.input=e=n.names[e.toLowerCase()]||e,"#"===e.charAt(0)){let t=e.length,i=parseInt(e.substr(1),16);7===t?s=[(16711680&i)>>16,(65280&i)>>8,255&i,1]:4===t&&(s=[(3840&i)>>4|(3840&i)>>8,(240&i)>>4|240&i,(15&i)<<4|15&i,1])}if(!s)for(r=n.parsers.length;r--&&!s;)(i=(o=n.parsers[r]).regex.exec(e))&&(s=o.parse(i))}s&&(this.rgba=s)}get(t){let e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){let i=s(e);return i.stops=[].slice.call(i.stops),this.stops.forEach((e,s)=>{i.stops[s]=[i.stops[s][0],e.get(t)]}),i}return r&&i(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?`${r[3]}`:"rgba("+r.join(",")+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach(function(e){e.brighten(t)});else if(i(t)&&0!==t)for(let i=0;i<3;i++)e[i]+=r(255*t),e[i]<0&&(e[i]=0),e[i]>255&&(e[i]=255);return this}setOpacity(t){return this.rgba[3]=t,this}tweenTo(t,e){let s=this.rgba,r=t.rgba;
1if(!i(s[0])||!i(r[0]))return t.input||"none";let n=1!==r[3]||1!==s[3];return(n?"rgba(":"rgb(")+Math.round(r[0]+(s[0]-r[0])*(1-e))+","+Math.round(r[1]+(s[1]-r[1])*(1-e))+","+Math.round(r[2]+(s[2]-r[2])*(1-e))+(n?","+(r[3]+(s[3]-r[3])*(1-e)):"")+")"}}return n.names={white:"#ffffff",black:"#000000"},n.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],n.None=new n(""),n}),i(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){let{parse:s}=t,{win:r}=e,{isNumber:n,objectEach:o}=i;class a{constructor(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}dSetter(){let t=this.paths,e=t&&t[0],i=t&&t[1],s=this.now||0,r=[];if(1!==s&&e&&i)if(e.length===i.length&&s<1)for(let o=0;o<i.length;o++){let t=e[o],a=i[o],l=[];for(let e=0;e<a.length;e++){let i=t[e],r=a[e];n(i)&&n(r)&&("A"!==a[0]||4!==e&&5!==e)?l[e]=i+s*(r-i):l[e]=r}r.push(l)}else r=i;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)}update(){let t=this.elem,e=this.prop,i=this.now,s=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,s&&s.call(t,i,this)}run(t,e,i){let s=this,n=s.options,o=function(t){return!o.stopped&&s.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},h=function(){for(let t=0;t<a.timers.length;t++)a.timers[t]()||a.timers.splice(t--,1);a.timers.length&&l(h)};t!==e||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=e,this.unit=i,this.now=this.start,this.pos=0,o.elem=this.elem,o.prop=this.prop,o()&&1===a.timers.push(o)&&l(h)):(delete n.curAnim[this.prop],n.complete&&0===Object.keys(n.curAnim).length&&n.complete.call(this.elem))}step(t){let e,i,s=+new Date,r=this.options,n=this.elem,a=r.complete,l=r.duration,h=r.curAnim;return n.attr&&!n.element?e=!1:t||s>=l+this.startTime?(this.now=this.end,this.pos=1,this.update(),h[this.prop]=!0,i=!0,o(h,function(t){!0!==t&&(i=!1)}),i&&a&&a.call(n),e=!1):(this.pos=r.easing((s-this.startTime)/l),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,i){let s,r,o,a,l=t.startX,h=t.endX,d=i.slice(),c=t.isArea,u=c?2:1,p=e&&i.length>e.length&&i.hasStackedCliffs,f=e&&e.slice();if(!f||p)return[d,d];function g(t,e){for(;t.length<r;){let i=t[0],s=e[r-t.length];if(s&&"M"===i[0]&&("C"===s[0]?t[0]=["C",i[1],i[2],i[1],i[2],i[1],i[2]]:t[0]=["L",i[1],i[2]]),t.unshift(i),c){let e=t.pop();t.push(t[t.length-1],e)}}}function m(t){for(;t.length<r;){let e=t[Math.floor(t.length/u)-1].slice();if("C"===e[0]&&(e[1]=e[5],e[2]=e[6]),c){let i=t[Math.floor(t.length/u)].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}}if(l&&h&&h.length){for(o=0;o<l.length;o++){if(l[o]===h[0]){s=o;break}if(l[0]===h[h.length-l.length+o]){s=o,a=!0;break}if(l[l.length-1]===h[h.length-l.length+o]){s=l.length-o;break}}void 0===s&&(f=[])}return f.length&&n(s)&&(r=d.length+s*u,a?(g(f,d),m(d)):(g(d,f),m(f))),[f,d]}fillSetter(){a.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,s(this.start).tweenTo(s(this.end),this.pos),void 0,!0)}}return a.timers=[],a}),i(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(t,e){let{defined:i,getStyle:s,isArray:r,isNumber:n,isObject:o,merge:a,objectEach:l,pick:h}=e;function d(t){return o(t)?a({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function c(e,i){let s=t.timers.length;for(;s--;)t.timers[s].elem!==e||i&&i!==t.timers[s].prop||(t.timers[s].stopped=!0)}return{animate:function(e,i,h){let d,u,p,f,g="";o(h)||(f=arguments,h={duration:f[2],easing:f[3],complete:f[4]}),n(h.duration)||(h.duration=400),h.easing="function"==typeof h.easing?h.easing:Math[h.easing]||Math.easeInOutSine,h.curAnim=a(i),l(i,function(n,o){c(e,o),p=new t(e,h,o),u=void 0,"d"===o&&r(i.d)?(p.paths=p.initPath(e,e.pathArray,i.d),p.toD=i.d,d=0,u=1):e.attr?d=e.attr(o):(d=parseFloat(s(e,o))||0,"opacity"!==o&&(g="px")),u||(u=n),"string"==typeof u&&u.match("px")&&(u=u.replace(/px/g,"")),p.run(d,u,g)})},animObject:d,getDeferredAnimation:function(t,e,s){let r=d(e),n=s?[s]:t.series,a=0,l=0;
1return n.forEach(t=>{let s=d(t.options.animation);a=o(e)&&i(e.defer)?r.defer:Math.max(a,s.duration+s.defer),l=Math.min(r.duration,s.duration)}),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-l),duration:Math.min(a,l)}},setAnimation:function(t,e){e.renderer.globalAnimation=h(t,e.options.chart.animation,!0)},stop:c}}),i(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){let{SVG_NS:i,win:s}=t,{attr:r,createElement:n,css:o,error:a,isFunction:l,isString:h,objectEach:d,splat:c}=e,{trustedTypes:u}=s,p=u&&l(u.createPolicy)&&u.createPolicy("highcharts",{createHTML:t=>t}),f=p?p.createHTML(""):"",g=function(){try{return!!(new DOMParser).parseFromString(f,"text/html")}catch(t){return!1}}();class m{static filterUserAttributes(t){return d(t,(e,i)=>{let s=!0;-1===m.allowedAttributes.indexOf(i)&&(s=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i)&&(s=h(e)&&m.allowedReferences.some(t=>0===e.indexOf(t))),s||(a(33,!1,void 0,{"Invalid attribute in config":`${i}`}),delete t[i]),h(e)&&t[i]&&(t[i]=e.replace(/</g,"<"))}),t}static parseStyle(t){return t.split(";").reduce((t,e)=>{let i=e.split(":").map(t=>t.trim()),s=i.shift();return s&&i.length&&(t[s.replace(/-([a-z])/g,t=>t[1].toUpperCase())]=i.join(":")),t},{})}static setElementHTML(t,e){t.innerHTML=m.emptyHTML,e&&new m(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(e){return function e(s,n){let l;return c(s).forEach(function(s){let h,c=s.tagName,u=s.textContent?t.doc.createTextNode(s.textContent):void 0,p=m.bypassHTMLFiltering;if(c)if("#text"===c)h=u;else if(-1!==m.allowedTags.indexOf(c)||p){let a="svg"===c?i:n.namespaceURI||i,l=t.doc.createElementNS(a,c),f=s.attributes||{};d(s,function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(f[e]=t)}),r(l,p?f:m.filterUserAttributes(f)),s.style&&o(l,s.style),u&&l.appendChild(u),e(s.children||[],l),h=l}else a(33,!1,void 0,{"Invalid tagName in config":c});h&&n.appendChild(h),l=h}),l}(this.nodes,e)}parseMarkup(t){let e,i=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),g)e=(new DOMParser).parseFromString(p?p.createHTML(t):t,"text/html");else{let i=n("div");i.innerHTML=t,e={body:i}}let s=(t,e)=>{let i=t.nodeName.toLowerCase(),r={tagName:i};"#text"===i&&(r.textContent=t.textContent||"");let n=t.attributes;if(n){let t={};[].forEach.call(n,e=>{"data-style"===e.name?r.style=m.parseStyle(e.value):t[e.name]=e.value}),r.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,t=>{s(t,e)}),e.length&&(r.children=e)}e.push(r)};return[].forEach.call(e.body.childNodes,t=>s(t,i)),i}}return m.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],m.allowedReferences=["https://","http://","mailto:","/","../","./","#"],m.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],m.emptyHTML=f,m.bypass
1HTMLFiltering=!1,m}),i(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,e){let{defaultOptions:i,defaultTime:s}=t,{extend:r,getNestedProperty:n,isArray:o,isNumber:a,isObject:l,pick:h,pInt:d}=e,c={add:(t,e)=>t+e,divide:(t,e)=>0!==e?t/e:"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!o(t)&&t.map((i,s)=>u(e.body,r(l(i)?i:{"@this":i},{"@index":s,"@first":0===s,"@last":s===t.length-1}))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>t<e,multiply:(t,e)=>t*e,ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,unless:t=>!t};function u(t="",e,r){let o,a,l,d=/\{([\w\:\.\,;\-\/<>%@"'â= #\(\)]+)\}/g,f=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,g=[],m=/f$/,v=/\.(\d)/,y=i.lang,x=r&&r.time||s,b=r&&r.numberFormatter||p,S=(t="")=>{let i;return"true"===t||"false"!==t&&((i=Number(t)).toString()===t?i:n(t,e))},w=0;for(;null!==(o=d.exec(t));){let i=f.exec(o[1]);i&&(o=i,l=!0),a&&a.isBlock||(a={ctx:e,expression:o[1],find:o[0],isBlock:"#"===o[1].charAt(0),start:o.index,startInner:o.index+o[0].length,length:o[0].length});let s=o[1].split(" ")[0].replace("#","");c[s]&&(a.isBlock&&s===a.fn&&w++,a.fn||(a.fn=s));let r="else"===o[1];if(a.isBlock&&a.fn&&(o[1]===`/${a.fn}`||r))if(w)!r&&w--;else{let e=a.startInner,i=t.substr(e,o.index-e);void 0===a.body?(a.body=i,a.startInner=o.index+o[0].length):a.elseBody=i,a.find+=i+o[0],r||(g.push(a),a=void 0)}else a.isBlock||g.push(a);if(i&&!a?.isBlock)break}return g.forEach(i=>{let s,n,{body:o,elseBody:a,expression:l,fn:d}=i;if(d){let t=[i],h=l.split(" ");for(n=c[d].length;n--;)t.unshift(S(h[n+1]));s=c[d].apply(e,t),i.isBlock&&"boolean"==typeof s&&(s=u(s?o:a,e,r))}else{let t=l.split(":");if(s=S(t.shift()||""),t.length&&"number"==typeof s){let e=t.join(":");if(m.test(e)){let t=parseInt((e.match(v)||["","-1"])[1],10);null!==s&&(s=b(s,t,y.decimalPoint,e.indexOf(",")>-1?y.thousandsSep:""))}else s=x.dateFormat(e,s)}}t=t.replace(i.find,h(s,""))}),l?u(t,e,r):t}function p(t,e,s,r){let n,o;t=+t||0,e=+e;let l=i.lang,c=(t.toString().split(".")[1]||"").split("e")[0].length,u=t.toString().split("e"),p=e;-1===e?e=Math.min(c,20):a(e)?e&&u[1]&&u[1]<0&&((o=e+ +u[1])>=0?(u[0]=(+u[0]).toExponential(o).split("e")[0],e=o):(u[0]=u[0].split(".")[0]||0,t=e<20?(u[0]*Math.pow(10,u[1])).toFixed(e):0,u[1]=0)):e=2;let f=(Math.abs(u[1]?u[0]:t)+Math.pow(10,-Math.max(e,c)-1)).toFixed(e),g=String(d(f)),m=g.length>3?g.length%3:0;return s=h(s,l.decimalPoint),r=h(r,l.thousandsSep),n=(t<0?"-":"")+(m?g.substr(0,m)+r:""),0>+u[1]&&!p?n="0":n+=g.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+r),e?n+=s+f.slice(-e):0==+n&&(n="0"),u[1]&&0!=+n&&(n+="e"+u[1]),n}return{dateFormat:function(t,e,i){return s.dateFormat(t,e,i)},format:u,helpers:c,numberFormat:p}}),i(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(t){var e,i;let s;return(i=e||(e={})).rendererTypes={},i.getRendererType=function(t=s){return i.rendererTypes[t]||i.rendererTypes[s]},i.registerRendererType=function(e,r,n){i.rendererTypes[e]=r,(!s||n)&&(s=e,t.Renderer=r)},e}),i(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],function(t){var e;let{clamp:i,pick:s,pushUnique:r,stableSort:n}=t;return(e||(e={})).distribute=function t(e,o,a){let l,h,d,c,u,p,f=e,g=f.reducedLen||o,m=(t,e)=>t.target-e.target,v=[],y=e.length,x=[],b=v.push,S=!0,w=0;for(l=y;l--;)w+=e[l].size;if(w>g){for(n(e,(t,e)=>(e.rank||0)-(t.rank||0)),d=(p=e[0].rank===e[e.length-1].rank)?y/2:-1,h=p?d:y-1;d&&w>g;)c=e[l=Math.floor(h)],r(x,l)&&(w-=c.size),h+=d,p&&h>=e.length&&(d/=2,h=d);x.sort((t,e)=>e-t).forEach(t=>b.apply(v,e.splice(t,1)))}for(n(e,m),e=e.map(t=>({size:t.size,targets:[t.target],align:s(t.align,.5)}));S;){for(l=e.length;l--;)c=e[l],u=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=i(u-c.size*c.align,0,o-c.size);for(l=e.length,S=!1;l--;)l>0&&e[l-1].pos+e[l-1].size>e[l].pos&&(e[l-1].size+=e[l].size,e[l-1].targets=e[l-1].targets.concat(e[l].targets),e[l-1].align=.5,e[l-1].pos+e[l-1].size>o&&(e[l-1].pos=o-e[l-1].size),e.splice(l,1),S=!0)}return b.apply(f,v),l=0,e.some(e=>{let i=0;return(e.targets||[]).some(()=>(f[l].pos=e.pos+i,void 0!==a&&Math.abs(f[l].pos-f[l].target)>
vendor: 6,682 bytes, line 1
1a?(f.slice(0,l+1).forEach(t=>delete t.pos),f.reducedLen=(f.reducedLen||o)-.1*o,f.reducedLen>.1*o&&t(f,o,a),!0):(i+=f[l].size,l++,!1)))}),n(f,m),f},e}),i(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i,s){let{animate:r,animObject:n,stop:o}=t,{deg2rad:a,doc:l,svg:h,SVG_NS:d,win:c}=i,{addEvent:u,attr:p,createElement:f,crisp:g,css:m,defined:v,erase:y,extend:x,fireEvent:b,isArray:S,isFunction:w,isObject:C,isString:T,merge:k,objectEach:A,pick:M,pInt:D,pushUnique:P,replaceNested:L,syncTimeout:E,uniqueKey:O}=s;class I{_defaultGetter(t){let e=M(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^-?[\d\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,i){i.setAttribute(e,t)}add(t){let e,i=this.renderer,s=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:i.box).appendChild(s),this.onAdd&&this.onAdd(),this}addClass(t,e){let i=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,i,s=!0){let r,n,o,a,l={},h=this.renderer,d=h.alignedObjects,c=!!t;t?(this.alignOptions=t,this.alignByTranslate=e,this.alignTo=i):(t=this.alignOptions||{},e=this.alignByTranslate,i=this.alignTo);let u=!i||T(i)?i||"renderer":void 0;u&&(c&&P(d,this),i=void 0);let p=M(i,h[u],h),f=t.align,g=t.verticalAlign;return r=(p.x||0)+(t.x||0),n=(p.y||0)+(t.y||0),"right"===f?o=1:"center"===f&&(o=2),o&&(r+=((p.width||0)-(t.width||0))/o),l[e?"translateX":"x"]=Math.round(r),"bottom"===g?a=1:"middle"===g&&(a=2),a&&(n+=((p.height||0)-(t.height||0))/a),l[e?"translateY":"y"]=Math.round(n),s&&(this[this.placed?"animate":"attr"](l),this.placed=!0),this.alignAttr=l,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,i){let s=n(M(e,this.renderer.globalAnimation,!0)),o=s.defer;return l.hidden&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),E(()=>{this.element&&r(this,t,s)},o)):(this.attr(t,void 0,i||s.complete),A(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let s=t.split(" "),r=s[s.length-1],n=s[0];if(n&&"none"!==n&&i.svg){this.fakeTS=!0,n=n.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline();let t=l.createElementNS(d,"tspan");p(t,{class:"highcharts-text-outline",fill:r,stroke:r,"stroke-width":n,"stroke-linejoin":"round"});let i=e.querySelector("textPath")||e;[].forEach.call(i.childNodes,e=>{let i=e.cloneNode(!0);i.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(t=>i.removeAttribute(t)),t.appendChild(i)});let s=0;[].forEach.call(i.querySelectorAll("text tspan"),t=>{s+=Number(t.getAttribute("dy"))});let o=l.createElementNS(d,"tspan");o.textContent="â",p(o,{x:Number(e.getAttribute("x")),dy:-s}),t.appendChild(o),i.insertBefore(t,i.firstChild)}}attr(t,e,i,s){let r,n,a,{element:l}=this,h=I.symbolCustomAttribs,d=this;return"string"==typeof t&&void 0!==e&&(r=t,(t={})[r]=e),"string"==typeof t?d=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(A(t,function(e,i){a=!1,s||o(this,i),this.symbolName&&-1!==h.indexOf(i)&&(n||(this.symbolAttr(t),n=!0),a=!0),this.rotation&&("x"===i||"y"===i)&&(this.doTransform=!0),a||(this[i+"Setter"]||this._defaultSetter).call(this,e,i,l)},this),this.afterSetters()),i&&i.call(this),d}clip(t){if(t&&!t.clipPath){let e=O()+"-",i=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);x(t,{clipPath:i,id:e,count:0}),t.add(i)}return this.attr("clip-path",t?`url(${this.renderer.url}#${t.id})`:"none")}crisp(t,e){e=Math.round(e||t.strokeWidth||0);let i=t.x||this.x||0,s=t.y||this.y||0,r=(t.width||this.width||0)+i,n=(t.height||this.height||0)+s,o=g(i,e),a=g(s,e);return x(t,{x:o,y:a,width:g(r,e)-o,height:g(n,e)-a}),v(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,i,s){let r,n,o,a,l,h,d,c,u,p,f,g=this.renderer,m=[];b(this.renderer,"complexColor",{args:arguments},function(){if(t.radialGradient?n="radialGradient":t.linearGradient&&(n="linearGradient"),n){if(o=t[n],l=g.gradients,h=t.stops,u=s.radialReference,S(o)&&(t[n]=o={x1:o[0],y1:o[1],x2:o[2],y2:o[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===n&&u&&!v(o.gradientUnits)&&(a=o,o=k(o,g.getRadialAttr(u,a),{gradientUnits:"userSpaceOnUse"})),A(o,function(t,e){"id"!==e&&m.push(e,t)}),A(h,function(t){m.push(t)}),l[m=m.join(",")])p=l[m].attr("id");else{o.id=p=O();let t=l[m]=g.createElement(n).attr(o).add(g.defs);t.radAttr=a,t.stops=[],h.forEach(function(i){0===i[1].indexOf("rgba")?(d=(r=e.parse(i[1])).get("rgb"),c=r.get("a")):(d=i[1],c=1);let s=g.createElement("stop").attr({offset:i[0],"stop-color":d,"stop-opacity":c}).add(t);t.stops.push(s)})}f="url("+g.url+"#"+p+")",s.setAttribute(i,f),s.gradient=m,t.toString=function(){return f}}})}css(t){let e,i=this.styles,s={},r=this.element,n=!i;if(i&&A(t,function(t,e){i&&i[e]!==t&&(s[e]=t,n=!0)}),n){i&&(t=x(i,s)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=D(t.width)),x(this.styles,t),e&&!h&&this.renderer.forExport&&delete t.width;let n=k(t);r.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(t=>n&&delete n[t]),n.color&&(n.fill=n.color)),m(r,n)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,i=this["stroke-width"];if("inherit"===i&&(i=1),t=t&&t.toLowerCase()){let s=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=s.length;e--;)s[e]=""+D(s[e])*M(i,NaN);t=s.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){let t,e,i=this,s=i.element||{},r=i.renderer,n=s.ownerSVGElement,a="SPAN"===s.nodeName&&i.parentGroup||void 0;if(s.onclick=s.onmouseout=s.onmouseover=s.onmousemove=s.point=null,o(i),i.clipPath&&n){let t=i.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),function(e){e.getAttribute("clip-path").indexOf(t.element.i
1d)>-1&&e.removeAttribute("clip-path")}),i.clipPath=t.destroy()}if(i.connector=i.connector?.destroy(),i.stops){for(e=0;e<i.stops.length;e++)i.stops[e].destroy();i.stops.length=0,i.stops=void 0}for(i.safeRemoveChild(s);a&&a.div&&0===a.div.childNodes.length;)t=a.parentGroup,i.safeRemoveChild(a.div),delete a.div,a=t;i.alignOptions&&y(r.alignedObjects,i),A(i,function(t,e){i[e]&&i[e].parentGroup===i&&i[e].destroy&&i[e].destroy(),delete i[e]})}dSetter(t,e,i){S(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((t,e,i)=>e&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString(),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)}fillSetter(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)}hrefSetter(t,e,i){i.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let i,s,r,n,{alignValue:o,element:a,renderer:l,styles:h,textStr:d}=this,{cache:c,cacheKeys:u}=l,p=a.namespaceURI===this.SVG_NS,f=M(e,this.rotation,0),g=l.styledMode?a&&I.prototype.getStyle.call(a,"font-size"):h.fontSize;if(v(d)&&(-1===(n=d.toString()).indexOf("<")&&(n=n.replace(/\d/g,"0")),n+=["",l.rootFontSize,g,f,this.textWidth,o,h.textOverflow,h.fontWeight].join(",")),n&&!t&&(i=c[n]),!i||i.polygon){if(p||l.forExport){try{r=this.fakeTS&&function(t){let e=a.querySelector(".highcharts-text-outline");e&&m(e,{display:t})},w(r)&&r("none"),i=a.getBBox?x({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight,x:0,y:0},w(r)&&r("")}catch(t){}(!i||i.width<0)&&(i={x:0,y:0,width:0,height:0})}else i=this.htmlGetBBox();s=i.height,p&&(i.height=s={"11px,17":14,"13px,20":16}[`${g||""},${Math.round(s)}`]||s),f&&(i=this.getRotatedBox(i,f));let e={bBox:i};b(this,"afterGetBBox",e),i=e.bBox}if(n&&(""===d||i.height>0)){for(;u.length>250;)delete c[u.shift()];c[n]||u.push(n),c[n]=i}return i}getRotatedBox(t,e){let{x:i,y:s,width:r,height:n}=t,{alignValue:o,translateY:l,rotationOriginX:h=0,rotationOriginY:d=0}=this,c={right:1,center:.5}[o||0]||0,u=Number(this.element.getAttribute("y")||0)-(l?0:s),p=e*a,f=(e-90)*a,g=Math.cos(p),m=Math.sin(p),v=r*g,y=r*m,x=Math.cos(f),b=Math.sin(f),[[S,w],[C,T]]=[h,d].map(t=>[t-t*g,t*m]),k=i+c*(r-v)+S+T+u*x,A=k+v,M=A-n*x,D=M-v,P=s+u-c*y-w+C+u*b,L=P+y,E=L-n*b,O=E-y,I=Math.min(k,A,M,D),j=Math.min(P,L,E,O);return{x:I,y:j,width:Math.max(k,A,M,D)-I,height:Math.max(P,L,E,O)-j,polygon:[[k,P],[A,L],[M,E],[D,O]]}}getStyle(t){return c.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=d,this.element="span"===e||"body"===e?f(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,this.styles={},b(this,"afterInit")}on(t,e){let{onEvents:i}=this;return i[t]&&i[t](),i[t]=u(this.element,t,e),this}opacitySetter(t,e,i){let s=Number(Number(t).toFixed(3));this.opacity=s,i.setAttribute(e,s)}reAlign(){this.alignOptions?.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(T(t)?RegExp(`(^| )${t}( |$)`):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}shadow(t){let{renderer:e}=this,i=k(90===this.parentGroup?.rotation?{offsetX:-1,offsetY:-1}:{},C(t)?t:{}),s=e.shadowDefinition(i);return this.attr({filter:t?`url(${e.url}#${s})`:"none"})}show(t=!0){return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,i){this[e]=t,i.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t,e=this.getStyle("stroke-width"),i=0;return/px$/.test(e)?i=D(e):""!==e&&(p(t=l.createElementNS(d,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),i=t.getBBox().width,t.parentNode.removeChild(t)),i}symbolAttr(t){let e=this;
1I.symbolCustomAttribs.forEach(function(i){e[i]=M(t[i],e[i])}),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t){let e=this.element,i=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=L(M(t,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(t="transform"){let{element:e,matrix:i,rotation:s=0,rotationOriginX:r,rotationOriginY:n,scaleX:o,scaleY:a,translateX:l=0,translateY:h=0}=this,d=["translate("+l+","+h+")"];v(i)&&d.push("matrix("+i.join(",")+")"),s&&(d.push("rotate("+s+" "+M(r,e.getAttribute("x"),0)+" "+M(n,e.getAttribute("y")||0)+")"),"SPAN"===this.text?.element.tagName&&this.text.attr({rotation:s,rotationOriginX:(r||0)-this.padding,rotationOriginY:(n||0)-this.padding})),(v(o)||v(a))&&d.push("scale("+M(o,1)+" "+M(a,1)+")"),d.length&&!(this.text||this).textPath&&e.setAttribute(t,d.join(" "))}visibilitySetter(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let i,s,r,n,o,a=this.renderer,l=this.parentGroup,h=(l||a).element||a.box,d=this.element,c=h===a.box,u=!1,p=this.added;if(v(t)?(d.setAttribute("data-z-index",t),t=+t,this[e]===t&&(p=!1)):v(this[e])&&d.removeAttribute("data-z-index"),this[e]=t,p){for((t=this.zIndex)&&l&&(l.handleZ=!0),o=(i=h.childNodes).length-1;o>=0&&!u;o--)n=!v(r=(s=i[o]).getAttribute("data-z-index")),s!==d&&(t<0&&n&&!c&&!o?(h.insertBefore(d,i[o]),u=!0):(D(r)<=t||n&&(!v(t)||t>=0))&&(h.insertBefore(d,i[o+1]),u=!0));u||(h.insertBefore(d,i[c?3:0]),u=!0)}return u}}return I.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],I.prototype.strokeSetter=I.prototype.fillSetter,I.prototype.yGetter=I.prototype.xGetter,I.prototype.matrixSetter=I.prototype.rotationOriginXSetter=I.prototype.rotationOriginYSetter=I.prototype.rotationSetter=I.prototype.scaleXSetter=I.prototype.scaleYSetter=I.prototype.translateXSetter=I.prototype.translateYSetter=I.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},I}),i(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e){let{defined:i,extend:s,isNumber:r,merge:n,pick:o,removeEvent:a}=e;class l extends t{constructor(t,e,i,s,r,n,o,a,h,d){let c;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=e,this.x=i,this.y=s,this.anchorX=n,this.anchorY=o,this.baseline=h,this.className=d,this.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&this.addClass("highcharts-"+d),this.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof r&&((c=/^url\((.*?)\)$/.test(r))||this.renderer.symbols[r])&&(this.symbolKey=r),this.bBox=l.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||c,this.deferredAttr={},this.alignFactor=0}alignSetter(t){let e={left:0,center:.5,right:1}[t];e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}css(e){if(e){let t={};e=n(e),l.textProps.forEach(i=>{void 0!==e[i]&&(t[i]=e[i],delete e[i])}),this.text.css(t),"fontSize"in t||"fontWeight"in t?this.updateTextPadding():("width"in t||"textOverflow"in t)&&this.updateBoxSize()}return t.prototype.css.call(this,e)}destroy(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}getBBox(t,e){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:i,height:s=0,translateX:r=0,translateY:n=0,width:a=0}=this,l=o(this.paddingLeft,i),h=e??(this.rotation||0),d={width:a,height:s,x:r+this.bBox.x-l,y:n+this.bBox.y-i+this.baselineOffset};
1return h&&(d=this.getRotatedBox(d,h)),d}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t){this.heightSetting=t,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:o(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&i(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}rSetter(t,e){this.boxAttr(e,t)}strokeSetter(t,e){this.stroke=t,this.boxAttr(e,t)}"stroke-widthSetter"(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}"text-alignSetter"(t){this.textAlign=t}textSetter(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t,e=this.text,n={},o=this.padding,a=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!i(e.textStr)?l.emptyBBox:e.getBBox(void 0,0);this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*o;let h=this.renderer.fontMetrics(e);if(this.baselineOffset=o+Math.min((this.text.firstLineMetrics||h).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-h.h)/2),this.needsBox&&!e.textPath){if(!this.box){let t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)}t=this.getCrispAdjust(),n.x=t,n.y=(this.baseline?-this.baselineOffset:0)+t,n.width=Math.round(this.width),n.height=Math.round(this.height),this.box.attr(s(n,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t=this.text;if(!t.textPath){this.updateBoxSize();let e=this.baseline?0:this.baselineOffset,s=o(this.paddingLeft,this.padding);i(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(s+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(s!==t.x||e!==t.y)&&(t.attr("x",s),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=s,t.y=e}}widthSetter(t){this.widthSetting=r(t)?t:void 0,this.doUpdate=!0}getPaddedWidth(){let t=this.padding,e=o(this.paddingLeft,t),i=o(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+i}xSetter(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}ySetter(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}return l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],l}),i(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){let{defined:e,isNumber:i,pick:s}=t;function r(t,i,r,n,o){let a=[];if(o){let l=o.start||0,h=s(o.r,r),d=s(o.r,n||r),c=2e-4/Math.max(h,1),u=Math.abs((o.end||0)-l-2*Math.PI)<c,p=(o.end||0)-c,f=o.innerR,g=s(o.open,u),m=Math.cos(l),v=Math.sin(l),y=Math.cos(p),x=Math.sin(p),b=s(o.longArc,p-l-Math.PI<c?0:1),S=["A",h,d,0,b,s(o.clockwise,1),t+h*y,i+d*x];S.params={start:l,end:p,cx:t,cy:i},a.push(["M",t+h*m,i+d*v],S),e(f)&&((S=["A",f,f,0,b,e(o.clockwise)?1-o.clockwise:0,t+f*m,i+f*v]).params={start:p,end:l,cx:t,cy:i},a.push(g?["M",t+f*y,i+f*x]:["L",t+f*y,i+f*x],S)),g||a.push(["Z"])}return a}function n(t,e,i,s,r){return r&&r.r?o(t,e,i,s,r):[["M",t,e],["L",t+i,e],["L",t+i,e+s],["L",t,e+s],["Z"]]}function o(t,e,i,s,r){let n=r?.r||0;return[["M",t+n,e],["L",t+i-n,e],["A",n,n,0,0,1,t+i,e+n],["L",t+i,e+s-n],["A",n,n,0,0,1,t+i-n,e+s],["L",t+n,e+s],["A",n,n,0,0,1,t,e+s-n],["L",t,e+n],["A",n,n,0,0,1,t+n,e],["Z"]]}return{arc:r,callout:function(t,e,s,r,n){let a=Math.min(n&&n.r||0,s,r),l=a+6,h=n&&n.anchorX,d=n&&n.anchorY||0,c=o(t,e,s,r,{r:a});if(!i(h)||h<s&&h>0&&d<r&&d>0)return c;if(t+h>s-l)if(d>e+l&&d<e+r-l)c.splice(3,1,["L",t+s,d-6],["L",t+s+6,d],["L",t+s,d+6],["L",t+s,e+r-a]);else if(h<s){let i=d<e+l,n=i?e:e+r;c.splice(i?2:5,0,["L",h,d],["L",t+s-a,n])}else c.splice(3,1,["L",t+s,r/2],["L",h,d],["L",t+s,r/2],["L",t+s,e+r-a]);else if(t+h<l)if(d>e+l&&d<e+r-l)c.splice(7,1,["L",t,d+6],["L",t-6,d],["L",t,d-6],["L",t,e+a]);else if(h>0){let i=d<e+l,s=i?e:e+r;c.splice(i?1:6,0,["L",h,d],["L",t+a,s])}else c.splice(7,1,["L",t,r/2],["L",h,d],["L",t,r/2],["L",t,e+a]);else d>r&&h<s-l?c.splice(5,1,["L",h+6,e+r],["L",h,e+r+6],["L",h-6,e+r],["L",t+a,e+r]):d<0&&h>l&&c.splice(1,1,["L",h-6,e],["L",h,e-6],["L",h+6,e],["L",s-a,e]);return c}
1,circle:function(t,e,i,s){return r(t+i/2,e+s/2,i/2,s/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,i,s){return[["M",t+i/2,e],["L",t+i,e+s/2],["L",t+i/2,e+s],["L",t,e+s/2],["Z"]]},rect:n,roundedRect:o,square:n,triangle:function(t,e,i,s){return[["M",t+i/2,e],["L",t+i,e+s],["L",t,e+s],["Z"]]},"triangle-down":function(t,e,i,s){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+s],["Z"]]}}}),i(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){let{doc:s,SVG_NS:r,win:n}=e,{attr:o,extend:a,fireEvent:l,isString:h,objectEach:d,pick:c}=i;return class{constructor(t){let e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace)}buildSVG(){let e=this.svgElement,i=e.element,r=e.renderer,n=c(e.textStr,"").toString(),o=-1!==n.indexOf("<"),a=i.childNodes,l=!e.added&&r.box,d=[n,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e.getStyle("font-size"),this.width].join(",");if(d!==e.textCache){e.textCache=d,delete e.actualWidth;for(let t=a.length;t--;)i.removeChild(a[t]);if(o||this.ellipsis||this.width||e.textPath||-1!==n.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(n))){if(""!==n){l&&l.appendChild(i);let s=new t(n);this.modifyTree(s.nodes),s.addToDOM(i),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("â¦")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),l&&l.removeChild(i)}}else i.appendChild(s.createTextNode(this.unescapeEntities(n)));h(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}modifyDOM(){let t,e=this.svgElement,i=o(e.element,"x");for(e.firstLineMetrics=void 0;(t=e.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)e.element.removeChild(t);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),(t,s)=>{t.nextSibling&&t.previousSibling&&(0===s&&1===t.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(t.previousSibling)),o(t,{dy:this.getLineHeight(t.nextSibling),x:i}))});let a=this.width||0;if(!a)return;let l=(t,n)=>{let l=t.textContent||"",h=l.replace(/([^\^])-/g,"$1- ").split(" "),d=!this.noWrap&&(h.length>1||e.element.childNodes.length>1),c=this.getLineHeight(n),u=0,p=e.actualWidth;if(this.ellipsis)l&&this.truncate(t,l,void 0,0,Math.max(0,a-.8*c),(t,e)=>t.substring(0,e)+"â¦");else if(d){let l=[],d=[];for(;n.firstChild&&n.firstChild!==t;)d.push(n.firstChild),n.removeChild(n.firstChild);for(;h.length;)h.length&&!this.noWrap&&u>0&&(l.push(t.textContent||""),t.textContent=h.join(" ").replace(/- /g,"-")),this.truncate(t,void 0,h,0===u&&p||0,a,(t,e)=>h.slice(0,e).join(" ").replace(/- /g,"-")),p=e.actualWidth,u++;d.forEach(e=>{n.insertBefore(e,t)}),l.forEach(e=>{n.insertBefore(s.createTextNode(e),t);let a=s.createElementNS(r,"tspan");a.textContent="â",o(a,{dy:c,x:i}),n.insertBefore(a,t)})}},h=t=>{[].slice.call(t.childNodes).forEach(i=>{i.nodeType===n.Node.TEXT_NODE?l(i,t):(-1!==i.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),h(i))})};h(e.element)}getLineHeight(t){let e=t.nodeType===n.Node.TEXT_NODE?t.parentElement:t;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(t){let e=(i,s)=>{let{attributes:r={},children:n,style:o={},tagName:l}=i,h=this.renderer.styledMode;if("b"===l||"strong"===l?h?r.class="highcharts-strong":o.fontWeight="bold":("i"===l||"em"===l)&&(h?r.class="highcharts-emphasized":o.fontStyle="italic"),o&&o.color&&(o.fill=o.color),"br"===l){r.class="highcharts-br",i.textContent="â";let e=t[s+1];e&&e.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,""))}else"a"===l&&n&&n.some(t=>"#text"===t.tagName)&&(i.children=[{children:n,tagName:"tspan"}]);"#text"!==l&&"a"!==l&&(i.tagName="tspan"),a(i,{attributes:r,style:o}),n&&n.filter(t=>"#text"!==t.tagName).forEach(e)};t.forEach(e),l(this.svgElement,"afterModifyTree",{nodes:t})}truncate(t,e,i,s,r,n){let o,a,l=this.svgElement,{rotation:h}=l,d=[],c=i?1:0,u=(e||i||"").length,p=u,f=function(e,r){let n=r||e,o=t.parentNode;if(o&&void 0===d[n]&&o.getSubStringLength)try{d[n]=s+o.getSubStringLength(0,i?n+1:n)}catch(t){}return d[n]};if(l.rotation=0,s+(a=f(t.textContent.length))>r){for(;c<=u;)p=Math.ceil((c+u)/2),i&&(o=n(i,p)),a=f(p,o&&o.length-1),c===u?c=u+1:a>r?u=p-1:c=p;0===u?t.textContent="":e&&u===e.length-1||(t.textContent=o||n(e||i,p))}i&&i.splice(0,p),l.actualWidth=a,l.rotation=h}unescapeEntities(t,e){return d(this.renderer.escapes,function(i,s){e&&-1!==e.indexOf(i)||(t=t.toString().replace(RegExp(i,"g"),s))}),t}}}),i(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(t,e,
vendor: 4,632 bytes, line 1
1i,s,r,n,o,a,l,h){let d,{defaultOptions:c}=e,{charts:u,deg2rad:p,doc:f,isFirefox:g,isMS:m,isWebKit:v,noop:y,SVG_NS:x,symbolSizes:b,win:S}=s,{addEvent:w,attr:C,createElement:T,crisp:k,css:A,defined:M,destroyObjectProperties:D,extend:P,isArray:L,isNumber:E,isObject:O,isString:I,merge:j,pick:R,pInt:_,replaceNested:N,uniqueKey:B}=h;class z{constructor(t,e,i,s,r,n,o){let a,l,h=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),d=h.element;o||h.css(this.getStyle(s||{})),t.appendChild(d),C(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&C(d,"xmlns",this.SVG_NS),this.box=d,this.boxWrapper=h,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 11.4.6")),this.defs=this.createElement("defs").add(),this.allowHTML=n,this.forExport=r,this.styledMode=o,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=h.getStyle("font-size"),this.setSize(e,i,!1),g&&t.getBoundingClientRect&&((a=function(){A(t,{left:0,top:0}),l=t.getBoundingClientRect(),A(t,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=w(S,"resize",a))}definition(e){return new t([e]).addToDOM(this.defs.element)}getReferenceURL(){if((g||v)&&f.getElementsByTagName("base").length){if(!M(d)){let e=B(),i=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(f.body);A(i,{position:"fixed",top:0,left:0,zIndex:9e5});let s=f.elementFromPoint(6,6);d="hitme"===(s&&s.id),f.body.removeChild(i)}if(d)return N(S.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t){return this.style=P({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t),this.style}setStyle(t){this.boxWrapper.css(this.getStyle(t))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),D(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t){return new this.Element(this,t)}getRadialAttr(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}shadowDefinition(t){let e=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t).map(e=>`${e}-${t[e]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),i=j({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t);return this.defs.element.querySelector(`#${e}`)||this.definition({tagName:"filter",attributes:{id:e,filterUnits:i.filterUnits},children:this.getShadowFilterContent(i)}),e}getShadowFilterContent(t){return[{tagName:"feDropShadow",attributes:{dx:t.offsetX,dy:t.offsetY,"flood-color":t.color,"flood-opacity":Math.min(5*t.opacity,1),stdDeviation:t.width/2}}]}buildText(t){new l(t).buildSVG()}getContrast(t){let e=i.parse(t).rgba.map(t=>{let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}),s=.2126*e[0]+.7152*e[1]+.0722*e[2];return 1.05/(s+.05)>(s+.05)/.05?"#FFFFFF":"#000000"}button(e,i,s,r,n={},o,a,l,h,d){let u=this.label(e,i,s,h,void 0,void 0,d,void 0,"button"),p=this.styledMode,f=arguments,g=0;n=j(c.global.buttonTheme,n),p&&(delete n.fill,delete n.stroke,delete n["stroke-width"]);let v=n.states||{},y=n.style||{};delete n.states,delete n.style;let x=[t.filterUserAttributes(n)],b=[y];return p||["hover","select","disabled"].forEach((e,i)=>{x.push(j(x[0],t.filterUserAttributes(f[i+5]||v[e]||{}))),b.push(x[i+1].style),delete x[i+1].style}),w(u.element,m?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),w(u.element,m?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=(t=0)=>{if(1!==t&&(u.state=g=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t]),!p){u.attr(x[t]);let e=b[t];O(e)&&u.css(e)}},u.attr(x[0]),!p&&(u.css(P({cursor:"default"},y)),d&&u.text.css({pointerEvents:"none"})),u.on("touchstart",t=>t.stopPropagation()).on("click",function(t){3!==g&&r.call(u,t)})}crispLine(t,e){let[i,s]=t;return M(i[1])&&i[1]===s[1]&&(i[1]=s[1]=k(i[1],e)),M(i[2])&&i[2]===s[2]&&(i[2]=s[2]=k(i[2],e)),t}path(t){let e=this.styledMode?{}:{fill:"none"};return L(t)?e.d=t:O(t)&&P(e,t),this.createElement("path").attr(e)}circle(t,e,i){let s=O(t)?t:void 0===t?{}:{x:t,y:e,r:i},r=this.createElement("circle");
vendor: 4,112 bytes, line 1
1return r.xSetter=r.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},r.attr(s)}arc(t,e,i,s,r,n){let o;O(t)?(e=(o=t).y,i=o.r,s=o.innerR,r=o.start,n=o.end,t=o.x):o={innerR:s,start:r,end:n};let a=this.symbol("arc",t,e,i,i,o);return a.r=i,a}rect(t,e,i,s,r,n){let o=O(t)?t:void 0===t?{}:{x:t,y:e,r:r,width:Math.max(i||0,0),height:Math.max(s||0,0)},a=this.createElement("rect");return this.styledMode||(void 0!==n&&(o["stroke-width"]=n,P(o,a.crisp(o))),o.fill="none"),a.rSetter=function(t,e,i){a.r=t,C(i,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(o)}roundedRect(t){return this.symbol("roundedRect").attr(t)}setSize(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:R(i,!0)?void 0:0}),this.alignElements()}g(t){let e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}image(t,e,i,s,r,n){let o={preserveAspectRatio:"none"};E(e)&&(o.x=e),E(i)&&(o.y=i),E(s)&&(o.width=s),E(r)&&(o.height=r);let a=this.createElement("image").attr(o),l=function(e){a.attr({href:t}),n.call(a,e)};if(n){a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e=new S.Image;w(e,"load",l),e.src=t,e.complete&&l({})}else a.attr({href:t});return a}symbol(t,e,i,s,r,n){let o,a,l,h,d=this,c=/^url\((.*?)\)$/,p=c.test(t),g=!p&&(this.symbols[t]?t:"circle"),m=g&&this.symbols[g];if(m)"number"==typeof e&&(a=m.call(this.symbols,e||0,i||0,s||0,r||0,n)),o=this.path(a),d.styledMode||o.attr("fill","none"),P(o,{symbolName:g||void 0,x:e,y:i,width:s,height:r}),n&&P(o,n);else if(p){l=t.match(c)[1];let s=o=this.image(l);s.imgwidth=R(n&&n.width,b[l]&&b[l].width),s.imgheight=R(n&&n.height,b[l]&&b[l].height),h=t=>t.attr({width:t.width,height:t.height}),["width","height"].forEach(t=>{s[`${t}Setter`]=function(t,e){this[e]=t;let{alignByTranslate:i,element:s,width:r,height:o,imgwidth:a,imgheight:l}=this,h="width"===e?a:l,d=1;n&&"within"===n.backgroundSize&&r&&o&&a&&l?(d=Math.min(r/a,o/l),C(s,{width:Math.round(a*d),height:Math.round(l*d)})):s&&h&&s.setAttribute(e,h),!i&&a&&l&&this.translate(((r||0)-a*d)/2,((o||0)-l*d)/2)}}),M(e)&&s.attr({x:e,y:i}),s.isImg=!0,M(s.imgwidth)&&M(s.imgheight)?h(s):(s.attr({width:0,height:0}),T("img",{onload:function(){let t=u[d.chartIndex];0===this.width&&(A(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),b[l]={width:this.width,height:this.height},s.imgwidth=this.width,s.imgheight=this.height,s.element&&h(s),this.parentNode&&this.parentNode.removeChild(this),d.imgCount--,d.imgCount||!t||t.hasLoaded||t.onload()},src:l}),this.imgCount++)}return o}clipRect(t,e,i,s){return this.rect(t,e,i,s,0)}text(t,e,i,s){let r={};if(s&&(this.allowHTML||!this.forExport))return this.html(t,e,i);r.x=Math.round(e||0),i&&(r.y=Math.round(i)),M(t)&&(r.text=t);let n=this.createElement("text").attr(r);return s&&(!this.forExport||this.allowHTML)||(n.xSetter=function(t,e,i){let s=i.getElementsByTagName("tspan"),r=i.getAttribute(e);for(let n,o=0;o<s.length;o++)(n=s[o]).getAttribute(e)===r&&n.setAttribute(e,t);i.setAttribute(e,t)}),n}fontMetrics(t){let e=_(n.prototype.getStyle.call(t,"font-size")||0),i=e<24?e+3:Math.round(1.2*e);return{h:i,b:Math.round(.8*i),f:e}}rotCorr(t,e,i){let s=t;return e&&i&&(s=Math.max(s*Math.cos(e*p),4)),{x:-t/3*Math.sin(e*p),y:s}}pathToSegments(t){let e=[],i=[],s={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let r=0;r<t.length;r++)I(i[0])&&E(t[r])&&i.length===s[i[0].toUpperCase()]&&t.splice(r,0,i[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[r]);return e.push(i.slice(0)),e}label(t,e,i,s,r,n,a,l,h){return new o(this,t,e,i,s,r,n,a,l,h)}alignElements(){this.alignedObjects.forEach(t=>t.align())}}return P(z.prototype,{Element:n,SVG_NS:x,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:a,draw:y}),r.registerRendererType("svg",z,!0),z}),i(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,
1i,s){let{composed:r}=e,{attr:n,css:o,createElement:a,defined:l,extend:h,pInt:d,pushUnique:c}=s;function u(t,e,s){let r=this.div?.style||s.style;i.prototype[`${e}Setter`].call(this,t,e,s),r&&(r[e]=t)}let p=(t,e)=>{if(!t.div){let s=n(t.element,"class"),r=t.css,o=a("div",s?{className:s}:void 0,{position:"absolute",left:`${t.translateX||0}px`,top:`${t.translateY||0}px`,...t.styles,display:t.display,opacity:t.opacity,visibility:t.visibility},t.parentGroup?.div||e);t.classSetter=(t,e,i)=>{i.setAttribute("class",t),o.className=t},t.translateXSetter=t.translateYSetter=(e,i)=>{t[i]=e,o.style["translateX"===i?"left":"top"]=`${e}px`,t.doTransform=!0},t.opacitySetter=t.visibilitySetter=u,t.css=e=>(r.call(t,e),e.cursor&&(o.style.cursor=e.cursor),e.pointerEvents&&(o.style.pointerEvents=e.pointerEvents),t),t.on=function(){return i.prototype.on.apply({element:o,onEvents:t.onEvents},arguments),t},t.div=o}return t.div};class f extends i{static compose(t){c(r,this.compose)&&(t.prototype.html=function(t,e,i){return new f(this,"span").attr({text:t,x:Math.round(e),y:Math.round(i)})})}constructor(t,e){super(t,e),this.css({position:"absolute",...t.styledMode?{}:{fontFamily:t.style.fontFamily,fontSize:t.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t,e,i){this.xCorr=-t*i,this.yCorr=-e}css(t){let e,{element:i}=this,s="SPAN"===i.tagName&&t&&"width"in t,r=s&&t.width;return s&&(delete t.width,this.textWidth=d(r)||void 0,e=!0),"ellipsis"===t?.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),h(this.styles,t),o(i,t),e&&this.updateTransform(),this}htmlGetBBox(){let{element:t}=this;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}updateTransform(){if(!this.added)return void(this.alignOnAdd=!0);let{element:t,renderer:e,rotation:i,rotationOriginX:s,rotationOriginY:r,styles:n,textAlign:a="left",textWidth:h,translateX:d=0,translateY:c=0,x:u=0,y:p=0}=this,f={left:0,center:.5,right:1}[a],g=n.whiteSpace;if(o(t,{marginLeft:`${d}px`,marginTop:`${c}px`}),"SPAN"===t.tagName){let n,d=[i,a,t.innerHTML,h,this.textAlign].join(","),c=-1*this.parentGroup?.padding||0,m=!1;if(h!==this.oldTextWidth){let e=this.textPxLength?this.textPxLength:(o(t,{width:"",whiteSpace:g||"nowrap"}),t.offsetWidth),s=h||0;(s>this.oldTextWidth||e>s)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(o(t,{width:e>s||i?h+"px":"auto",display:"block",whiteSpace:g||"normal"}),this.oldTextWidth=h,m=!0)}this.hasBoxWidthChanged=m,d!==this.cTT&&(n=e.fontMetrics(t).b,l(i)&&(i!==(this.oldRotation||0)||a!==this.oldAlign)&&this.setSpanRotation(i,c,c),this.getSpanCorrection(!l(i)&&this.textPxLength||t.offsetWidth,n,f));let{xCorr:v=0,yCorr:y=0}=this;o(t,{left:`${u+v}px`,top:`${p+y}px`,transformOrigin:`${(s??u)-v-u-c}px ${(r??p)-y-p-c}px`}),this.cTT=d,this.oldRotation=i,this.oldAlign=a}}setSpanRotation(t,e,i){o(this.element,{transform:`rotate(${t}deg)`,transformOrigin:`${e}% ${i}px`})}add(t){let e,i=this.renderer.box.parentNode,s=[];if(this.parentGroup=t,t&&!(e=t.div)){let r=t;for(;r;)s.push(r),r=r.parentGroup;for(let t of s.reverse())e=p(t,i)}return(e||i).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,e??""),this.textStr=e,this.doTransform=!0)}alignSetter(t){this.alignValue=this.textAlign=t,this.doTransform=!0}xSetter(t,e){this[e]=t,this.doTransform=!0}}let g=f.prototype;return g.visibilitySetter=g.opacitySetter=u,g.ySetter=g.rotationSetter=g.rotationOriginXSetter=g.rotationOriginYSetter=g.xSetter,f}),i(e,"Core/Axis/AxisDefaults.js",[],function(){var t,e;return(e=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,show
1FirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:t}=this.axis.chart;return t(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t}),i(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(t){var e;let{addEvent:i,isFunction:s,objectEach:r,removeEvent:n}=t;return(e||(e={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(n(t,r,t.eventOptions[r]),delete t.eventOptions[r]),s(e)&&(t.eventOptions[r]=e,i(t,r,e,{order:0})))})},e}),i(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){let{deg2rad:s}=e,{clamp:r,correctFloat:n,defined:o,destroyObjectProperties:a,extend:l,fireEvent:h,isNumber:d,merge:c,objectEach:u,pick:p}=i;return class{constructor(t,e,i,s,r){this.isNew=!0,this.isNewLabel=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,h(this,"init"),i||s||this.addLabel()}addLabel(){let e,i,s,r=this,a=r.axis,c=a.options,u=a.chart,f=a.categories,g=a.logarithmic,m=a.names,v=r.pos,y=p(r.options&&r.options.labels,c.labels),x=a.tickPositions,b=v===x[0],S=v===x[x.length-1],w=(!y.step||1===y.step)&&1===a.tickInterval,C=x.info,T=r.label,k=this.parameters.category||(f?p(f[v],m[v],v):v);g&&d(k)&&(k=n(g.lin2log(k))),a.dateTime&&(C?e=(i=u.time.resolveDTLFormat(c.dateTimeLabelFormats[!c.grid&&C.higherRanks[v]||C.unitName])).main:d(k)&&(e=a.dateTime.getXDateFormat(k,c.dateTimeLabelFormats||{}))),r.isFirst=b,r.isLast=S;let A={axis:a,chart:u,dateTimeLabelFormat:e,isFirst:b,isLast:S,pos:v,tick:r,tickPositionInfo:C,value:k};h(this,"labelFormat",A);let M=e=>y.formatter?y.formatter.call(e,e):y.format?(e.text=a.defaultLabelFormatter.call(e),t.format(y.format,e,u)):a.defaultLabelFormatter.call(e),D=M.call(A,A),P=i&&i.list;r.shortenLabel=P?function(){for(s=0;s<P.length;s++)if(l(A,{dateTimeLabelFormat:P[s]}),T.attr({text:M.call(A,A)}),T.getBBox().width<a.getSlotWidth(r)-2*(y.padding||0))return;T.attr({text:""})}:void 0,w&&a._addedPlotLB&&r.moveLabel(D,y),o(T)||r.movedLabel?T&&T.textStr!==D&&!w&&(!T.textWidth||y.style.width||T.styles.width||T.css({width:null}),T.attr({text:D}),T.textPxLength=T.getBBox().width):(r.label=T=r.createLabel(D,y),r.rotation=0)}createLabel(t,e,i){let s=this.axis,r=s.chart,n=o(t)&&e.enabled?r.renderer.text(t,i?.x,i?.y,e.useHTML).add(s.labelGroup):void 0;return n&&(r.styledMode||n.css(c(e.style)),n.textPxLength=n.getBBox().width),n}destroy(){a(this,this.axis)}getPosition(t,e,i,s){let o=this.axis,a=o.chart,l=s&&a.oldChartHeight||a.chartHeight,d={x:t?n(o.translate(e+i,void 0,void 0,s)+o.transB):o.left+o.offset+(o.opposite?(s&&a.oldChartWidth||a.chartWidth)-o.right-o.left:0),y:t?l-o.bottom+o.offset-(o.opposite?o.height:0):n(l-o.translate(e+i,void 0,void 0,s)-o.transB)};return d.y=r(d.y,-1e5,1e5),h(this,"afterGetPosition",{pos:d}),d}getLabelPosition(t,e,i,r,n,a,l,d){let c,u,f=this.axis,g=f.transA,m=f.isLinked&&f.linkedParent?f.linkedParent.reversed:f.reversed,v=f.staggerLines,y=f.tickRotCorr||{x:0,y:0},x=r||f.reserveSpaceDefault?0:-f.labelOffset*("center"===f.labelAlign?.5:1),b=n.distance,S={};return c=0===f.side?i.rotation?-b:-i.getBBox().height:2===f.side?y.y+b:Math.cos(i.rotation*s)*(y.y-i.getBBox(!1,0).height/2),o(n.y)&&(c=0===f.side&&f.horiz?n.y+c:n.y),t=t+p(n.x,[0,1,0,-1][f.side]*b)+x+y.x-(a&&r?a*g*(m?-1:1):0),e=e+c-(a&&!r?a*g*(m?1:-1):0),v&&(u=l/(d||1)%v,f.opposite&&(u=v-u-1),e+=u*(f.labelOffset/v)),S.x=t,S.y=Math.round(e),h(this,"afterGetLabelPosition",{pos:S,tickmarkOffset:a,index:l}),S}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t,e,i,s,r=!1,n){return n.crispLine([["M",t,e],["L",t+(r?0:-i),e+(r?i:0)]],s)}handleOverflow(t){let e,i,r,n=this.axis,o=n.options.labels,a=t.x,l=n.chart.chartWidth,h=n.chart.spacing,d=p(n.labelLeft,Math.min(n.pos,h[3])),c=p(n.labelRight,Math.max(n.isRadial?
10:n.pos+n.len,l-h[1])),u=this.label,f=this.rotation,g={left:0,center:.5,right:1}[n.labelAlign||u.attr("align")],m=u.getBBox().width,v=n.getSlotWidth(this),y={},x=v,b=1;f||"justify"!==o.overflow?f<0&&a-g*m<d?r=Math.round(a/Math.cos(f*s)-d):f>0&&a+g*m>c&&(r=Math.round((l-a)/Math.cos(f*s))):(e=a-g*m,i=a+(1-g)*m,e<d?x=t.x+x*(1-g)-d:i>c&&(x=c-t.x+x*g,b=-1),(x=Math.min(v,x))<v&&"center"===n.labelAlign&&(t.x+=b*(v-x-g*(v-Math.min(m,x)))),(m>x||n.autoRotation&&(u.styles||{}).width)&&(r=x)),r&&(this.shortenLabel?this.shortenLabel():(y.width=Math.floor(r)+"px",(o.style||{}).textOverflow||(y.textOverflow="ellipsis"),u.css(y)))}moveLabel(t,e){let i,s=this,r=s.label,n=s.axis,o=!1;r&&r.textStr===t?(s.movedLabel=r,o=!0,delete s.label):u(n.ticks,function(e){o||e.isNew||e===s||!e.label||e.label.textStr!==t||(s.movedLabel=e.label,o=!0,e.labelPos=s.movedLabel.xy,delete e.label)}),!o&&(s.labelPos||r)&&(i=s.labelPos||r.xy,s.movedLabel=s.createLabel(t,e,i),s.movedLabel&&s.movedLabel.attr({opacity:0}))}render(t,e,i){let s=this.axis,r=s.horiz,o=this.pos,a=p(this.tickmarkOffset,s.tickmarkOffset),l=this.getPosition(r,o,a,e),d=l.x,c=l.y,u=s.pos,f=u+s.len,g=r?d:c;!s.chart.polar&&this.isNew&&(n(g)<u||g>f)&&(i=0);let m=p(i,this.label&&this.label.newOpacity,1);i=p(i,1),this.isActive=!0,this.renderGridLine(e,i),this.renderMark(l,i),this.renderLabel(l,e,m,t),this.isNew=!1,h(this,"afterRender")}renderGridLine(t,e){let i,s=this.axis,r=s.options,n={},o=this.pos,a=this.type,l=p(this.tickmarkOffset,s.tickmarkOffset),h=s.chart.renderer,d=this.gridLine,c=r.gridLineWidth,u=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(c=r.minorGridLineWidth,u=r.minorGridLineColor,f=r.minorGridLineDashStyle),d||(s.chart.styledMode||(n.stroke=u,n["stroke-width"]=c||0,n.dashstyle=f),a||(n.zIndex=1),t&&(e=0),this.gridLine=d=h.path().attr(n).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(s.gridGroup)),d&&(i=s.getPlotLinePath({value:o+l,lineWidth:d.strokeWidth(),force:"pass",old:t,acrossPanes:!1}))&&d[t||this.isNew?"attr":"animate"]({d:i,opacity:e})}renderMark(t,e){let i=this.axis,s=i.options,r=i.chart.renderer,n=this.type,o=i.tickSize(n?n+"Tick":"tick"),a=t.x,l=t.y,h=p(s["minor"!==n?"tickWidth":"minorTickWidth"],!n&&i.isXAxis?1:0),d=s["minor"!==n?"tickColor":"minorTickColor"],c=this.mark,u=!c;o&&(i.opposite&&(o[0]=-o[0]),c||(this.mark=c=r.path().addClass("highcharts-"+(n?n+"-":"")+"tick").add(i.axisGroup),i.chart.styledMode||c.attr({stroke:d,"stroke-width":h})),c[u?"attr":"animate"]({d:this.getMarkPath(a,l,o[0],c.strokeWidth(),i.horiz,r),opacity:e}))}renderLabel(t,e,i,s){let r=this.axis,n=r.horiz,o=r.options,a=this.label,l=o.labels,h=l.step,c=p(this.tickmarkOffset,r.tickmarkOffset),u=t.x,f=t.y,g=!0;a&&d(u)&&(a.xy=t=this.getLabelPosition(u,f,a,n,l,c,s,h),this.isFirst&&!this.isLast&&!o.showFirstLabel||this.isLast&&!this.isFirst&&!o.showLastLabel?g=!1:!n||l.step||l.rotation||e||0===i||this.handleOverflow(t),h&&s%h&&(g=!1),g&&d(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let t=this.label,e=this.axis;t&&!this.isNew&&(t.animate({opacity:0}
1,void 0,t.destroy),delete this.label),e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),i(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(t,e,i,s,r,n,o,a){let{animObject:l}=t,{xAxis:h,yAxis:d}=e,{defaultOptions:c}=s,{registerEventOptions:u}=r,{deg2rad:p}=n,{arrayMax:f,arrayMin:g,clamp:m,correctFloat:v,defined:y,destroyObjectProperties:x,erase:b,error:S,extend:w,fireEvent:C,getClosestDistance:T,insertItem:k,isArray:A,isNumber:M,isString:D,merge:P,normalizeTickInterval:L,objectEach:E,pick:O,relativeLength:I,removeEvent:j,splat:R,syncTimeout:_}=a,N=(t,e)=>L(e,void 0,void 0,O(t.options.allowDecimals,e<.5||void 0!==t.tickAmount),!!t.tickAmount);w(c,{xAxis:h,yAxis:P(h,d)});class B{constructor(t,e,i){this.init(t,e,i)}init(t,e,i=this.coll){let s="xAxis"===i,r=this.isZAxis||(t.inverted?!s:s);this.chart=t,this.horiz=r,this.isXAxis=s,this.coll=i,C(this,"init",{userOptions:e}),this.opposite=O(e.opposite,this.opposite),this.side=O(e.side,this.side,r?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);let n=this.options,o=n.labels,a=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=O(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===a||!0===n.categories,this.categories=A(n.categories)&&n.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=y(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.max=void 0,this.min=void 0;let l=O(n.crosshair,R(t.options.tooltip.crosshairs)[s?0:1]);this.crosshair=!0===l?{}:l,-1===t.axes.indexOf(this)&&(s?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),k(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&s&&!y(this.reversed)&&(this.reversed=!0),this.labelRotation=M(o.rotation)?o.rotation:void 0,u(this,n),C(this,"afterInit")}setOptions(t){let e=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=P(e,c[this.coll],t),C(this,"afterSetOptions",{userOptions:t})}defaultLabelFormatter(){let t,e,i=this.axis,{numberFormatter:s}=this.chart,r=M(this.value)?this.value:NaN,n=i.chart.time,o=i.categories,a=this.dateTimeLabelFormat,l=c.lang,h=l.numericSymbols,d=l.numericSymbolMagnitude||1e3,u=i.logarithmic?Math.abs(r):i.tickInterval,p=h&&h.length;if(o)e=`${this.value}`;else if(a)e=n.dateFormat(a,r);else if(p&&h&&u>=1e3)for(;p--&&void 0===e;)u>=(t=Math.pow(d,p+1))&&10*r%t==0&&null!==h[p]&&0!==r&&(e=s(r/t,-1)+h[p]);return void 0===e&&(e=Math.abs(r)>=1e4?s(r,-1):s(r,-1,void 0,"")),e}getSeriesExtremes(){let t,e=this;C(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=void 0,e.softThreshold=!e.isXAxis,e.series.forEach(i=>{if(i.reserveSpace()){let s,r,n,o=i.options,a=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=(a||0)&&(a=void 0),e.isXAxis)(s=i.xData)&&s.length&&(s=e.logarithmic?s.filter(t=>t>0):s,r=(t=i.getXExtremes(s)).min,n=t.max,M(r)||r instanceof Date||(s=s.filter(M),r=(t=i.getXExtremes(s)).min,n=t.max),s.length&&(e.dataMin=Math.min(O(e.dataMin,r),r),e.dataMax=Math.max(O(e.dataMax,n),n)));else{let t=i.applyExtremes();M(t.dataMin)&&(r=t.dataMin,e.dataMin=Math.min(O(e.dataMin,r),r)),M(t.dataMax)&&(n=t.dataMax,e.dataMax=Math.max(O(e.dataMax,n),n)),y(a)&&(e.threshold=a),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}})}),C(this,"afterGetSeriesExtremes")}translate(t,e,i,s,r,n){let o=this.linkedParent||this,a=s&&o.old?o.old.min:o.min;if(!M(a))return NaN;let l=o.minPixelPadding,h=(o.isOrdinal||o.brokenAxis?.hasBreaks||o.logarithmic&&r)&&o.lin2val,d=1,c=0,u=s&&o.old?o.old.transA:o.transA,p=0;return u||(u=o.transA),i&&(d*=-1,c=o.len),o.reversed&&(d*=-1,c-=d*(o.sector||o.len)),e?(p=(t=t*d+c-l)/u+a,h&&(p=o.lin2val(p))):(h&&(t=o.val2lin(t)),p=d*(t-a)*u+c+d*l+(M(n)?u*n:0),o.isRadial||(p=v(p))),p}toPixels(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)}toValue(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(t){let e,i,s,r,n,o=this,a=o.chart,l=o.left,h=o.top,d=t.old,c=t.value,u=t.lineWidth,p=d&&a.oldChartHeight||a.chartHe
1ight,f=d&&a.oldChartWidth||a.chartWidth,g=o.transB,v=t.translatedValue,y=t.force;function x(t,e,i){return"pass"!==y&&(t<e||t>i)&&(y?t=m(t,e,i):n=!0),t}let b={value:c,lineWidth:u,old:d,force:y,acrossPanes:t.acrossPanes,translatedValue:v};return C(this,"getPlotLinePath",b,function(t){e=s=(v=m(v=O(v,o.translate(c,void 0,void 0,d)),-1e5,1e5))+g,i=r=p-v-g,M(v)?o.horiz?(i=h,r=p-o.bottom+(o.options.isInternal?0:a.scrollablePixelsY||0),e=s=x(e,l,l+o.width)):(e=l,s=f-o.right+(a.scrollablePixelsX||0),i=r=x(i,h,h+o.height)):(n=!0,y=!1),t.path=n&&!y?void 0:a.renderer.crispLine([["M",e,i],["L",s,r]],u||1)}),b.path}getLinearTickPositions(t,e,i){let s,r,n,o=v(Math.floor(e/t)*t),a=v(Math.ceil(i/t)*t),l=[];if(v(o+t)===o&&(n=20),this.single)return[e];for(s=o;s<=a&&(l.push(s),(s=v(s+t,n))!==r);)r=s;return l}getMinorTickInterval(){let{minorTicks:t,minorTickInterval:e}=this.options;return!0===t?O(e,"auto"):!1!==t?e:void 0}getMinorTickPositions(){let t,e=this.options,i=this.tickPositions,s=this.minorTickInterval,r=this.pointRangePadding||0,n=(this.min||0)-r,o=(this.max||0)+r,a=o-n,l=[];if(a&&a/s<this.len/3){let r=this.logarithmic;if(r)this.paddedTicks.forEach(function(t,e,i){e&&l.push.apply(l,r.getLogTickPositions(s,i[e-1],i[e],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())l=l.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(s),n,o,e.startOfWeek));else for(t=n+(i[0]-n)%s;t<=o&&t!==l[0];t+=s)l.push(t)}return 0!==l.length&&this.trimTicks(l),l}adjustForMinRange(){let t,e,i,s,r=this.options,n=this.logarithmic,{max:o,min:a,minRange:l}=this;this.isXAxis&&void 0===l&&!n&&(l=y(r.min)||y(r.max)||y(r.floor)||y(r.ceiling)?null:Math.min(5*(T(this.series.map(t=>(t.xIncrement?t.xData?.slice(0,2):t.xData)||[]))||0),this.dataMax-this.dataMin)),M(o)&&M(a)&&M(l)&&o-a<l&&(e=this.dataMax-this.dataMin>=l,t=(l-o+a)/2,i=[a-t,O(r.min,a-t)],e&&(i[2]=n?n.log2lin(this.dataMin):this.dataMin),s=[(a=f(i))+l,O(r.max,a+l)],e&&(s[2]=n?n.log2lin(this.dataMax):this.dataMax),(o=g(s))-a<l&&(i[0]=o-l,i[1]=O(r.min,o-l),a=f(i))),this.minRange=l,this.min=a,this.max=o}getClosest(){let t,e;if(this.categories)e=1;else{let i=[];this.series.forEach(function(t){let s=t.closestPointRange;1===t.xData?.length?i.push(t.xData[0]):!t.noSharedTooltip&&y(s)&&t.reserveSpace()&&(e=y(e)?Math.min(e,s):s)}),i.length&&(i.sort((t,e)=>t-e),t=T([i]))}return t&&e?Math.min(t,e):t||e}nameToX(t){let e,i=A(this.options.categories),s=i?this.categories:this.names,r=t.options.x;return t.series.requireSorting=!1,y(r)||(r=this.options.uniqueNames&&s?i?s.indexOf(t.name):O(s.keys[t.name],-1):t.series.autoIncrement()),-1===r?!i&&s&&(e=s.length):e=r,void 0!==e?(this.names[e]=t.name,this.names.keys[t.name]=e):t.x&&(e=t.x),e}updateNames(){let t=this,e=this.names;e.length>0&&(Object.keys(e.keys).forEach(function(t){delete e.keys[t]}),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(e=>{e.xIncrement=null,(!e.points||e.isDirtyData)&&(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach(function(i,s){let r;i?.options&&void 0!==i.name&&void 0!==(r=t.nameToX(i))&&r!==i.x&&(i.x=r,e.xData[s]=r)})}))}setAxisTranslation(){let t,e,i=this,s=i.max-i.min,r=i.linkedParent,n=!!i.categories,o=i.isXAxis,a=i.axisPointRange||0,l=0,h=0,d=i.transA;(o||n||a)&&(t=i.getClosest(),r?(l=r.minPointOffset,h=r.pointRangePadding):i.series.forEach(function(e){let s=n?1:o?O(e.options.pointRange,t,0):i.axisPointRange||0,r=e.options.pointPlacement;if(a=Math.max(a,s),!i.single||n){let t=e.is("xrange")?!o:o;l=Math.max(l,t&&D(r)?0:s/2),h=Math.max(h,t&&"on"===r?0:s)}}),e=i.ordinal&&i.ordinal.slope&&t?i.ordinal.slope/t:1,i.minPointOffset=l*=e,i.pointRangePadding=h*=e,i.pointRange=Math.min(a,i.single&&n?1:s),o&&t&&(i.closestPointRange=t)),i.translationSlope=i.transA=d=i.staticScale||i.len/(s+h||1),i.transB=i.horiz?i.left
1:i.bottom,i.minPixelPadding=d*l,C(this,"afterSetAxisTranslation")}minFromRange(){let{max:t,min:e}=this;return M(t)&&M(e)&&t-e||void 0}setTickInterval(t){let e,i,s,r,n,{categories:o,chart:a,dataMax:l,dataMin:h,dateTime:d,isXAxis:c,logarithmic:u,options:p,softThreshold:f}=this,g=M(this.threshold)?this.threshold:void 0,m=this.minRange||0,{ceiling:x,floor:b,linkedTo:w,softMax:T,softMin:k}=p,A=M(w)&&a[this.coll]?.[w],D=p.tickPixelInterval,P=p.maxPadding,L=p.minPadding,E=0,I=M(p.tickInterval)&&p.tickInterval>=0?p.tickInterval:void 0;if(d||o||A||this.getTickAmount(),r=O(this.userMin,p.min),n=O(this.userMax,p.max),A?(this.linkedParent=A,e=A.getExtremes(),this.min=O(e.min,e.dataMin),this.max=O(e.max,e.dataMax),p.type!==A.options.type&&S(11,!0,a)):(f&&y(g)&&M(l)&&M(h)&&(h>=g?(i=g,L=0):l<=g&&(s=g,P=0)),this.min=O(r,i,h),this.max=O(n,s,l)),M(this.max)&&M(this.min)&&(u&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,O(h,this.min))&&S(10,!0,a),this.min=v(u.log2lin(this.min),16),this.max=v(u.log2lin(this.max),16)),this.range&&M(h)&&(this.userMin=this.min=r=Math.max(h,this.minFromRange()||0),this.userMax=n=this.max,this.range=void 0)),C(this,"foundExtremes"),this.adjustForMinRange(),M(this.min)&&M(this.max)){if(!M(this.userMin)&&M(k)&&k<this.min&&(this.min=r=k),!M(this.userMax)&&M(T)&&T>this.max&&(this.max=n=T),o||this.axisPointRange||this.stacking?.usePercentage||A||!(E=this.max-this.min)||(!y(r)&&L&&(this.min-=E*L),y(n)||!P||(this.max+=E*P)),!M(this.userMin)&&M(b)&&(this.min=Math.max(this.min,b)),!M(this.userMax)&&M(x)&&(this.max=Math.min(this.max,x)),f&&M(h)&&M(l)){let t=g||0;!y(r)&&this.min<t&&h>=t?this.min=p.minRange?Math.min(t,this.max-m):t:!y(n)&&this.max>t&&l<=t&&(this.max=p.minRange?Math.max(t,this.min+m):t)}!a.polar&&this.min>this.max&&(y(p.min)?this.max=this.min:y(p.max)&&(this.min=this.max)),E=this.max-this.min}if(this.min!==this.max&&M(this.min)&&M(this.max)?A&&!I&&D===A.options.tickPixelInterval?this.tickInterval=I=A.tickInterval:this.tickInterval=O(I,this.tickAmount?E/Math.max(this.tickAmount-1,1):void 0,o?1:E*D/Math.max(this.len,D)):this.tickInterval=1,c&&!t){let t=this.min!==this.old?.min||this.max!==this.old?.max;this.series.forEach(function(e){e.forceCrop=e.forceCropping?.(),e.processData(t)}),C(this,"postProcessData",{hasExtremesChanged:t})}this.setAxisTranslation(),C(this,"initialAxisTranslation"),this.pointRange&&!I&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let j=O(p.minTickInterval,d&&!this.series.some(t=>t.noSharedTooltip)?this.closestPointRange:0);!I&&this.tickInterval<j&&(this.tickInterval=j),d||u||I||(this.tickInterval=N(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){let t,e=this.options,i=e.tickPositions,s=e.tickPositioner,r=this.getMinorTickInterval(),n=!this.isPanning,o=n&&e.startOnTick,a=n&&e.endOnTick,l=[];
vendor: 4,260 bytes, line 1
1if(this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===r&&this.tickInterval?this.tickInterval/e.minorTicksPerMajor:r,this.single=this.min===this.max&&y(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==e.allowDecimals),i)l=i.slice();else if(M(this.min)&&M(this.max)){if(!this.ordinal?.positions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))l=[this.min,this.max],S(19,!1,this.chart);else if(this.dateTime)l=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal?.positions,this.closestPointRange,!0);else if(this.logarithmic)l=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t=this.tickInterval,e=t;for(;e<=2*t&&(l=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&l.length>this.tickAmount);)this.tickInterval=N(this,e*=1.1)}l.length>this.len&&(l=[l[0],l[l.length-1]])[0]===l[1]&&(l.length=1),s&&(this.tickPositions=l,(t=s.apply(this,[this.min,this.max]))&&(l=t))}this.tickPositions=l,this.paddedTicks=l.slice(0),this.trimTicks(l,o,a),!this.isLinked&&M(this.min)&&M(this.max)&&(this.single&&l.length<2&&!this.categories&&!this.series.some(t=>t.is("heatmap")&&"between"===t.options.pointPlacement)&&(this.min-=.5,this.max+=.5),i||t||this.adjustTickAmount()),C(this,"afterSetTickPositions")}trimTicks(t,e,i){let s=t[0],r=t[t.length-1],n=!this.isOrdinal&&this.minPointOffset||0;if(C(this,"trimTicks"),!this.isLinked){if(e&&s!==-1/0)this.min=s;else for(;this.min-n>t[0];)t.shift();if(i)this.max=r;else for(;this.max+n<t[t.length-1];)t.pop();0===t.length&&y(s)&&!this.options.tickPositions&&t.push((r+s)/2)}}alignToOthers(){let t,e=this,i=e.chart,s=[this],r=e.options,n=i.options.chart,o="yAxis"===this.coll&&n.alignThresholds,a=[];if(e.thresholdAlignment=void 0,(!1!==n.alignTicks&&r.alignTicks||o)&&!1!==r.startOnTick&&!1!==r.endOnTick&&!e.logarithmic){let r=t=>{let{horiz:e,options:i}=t;return[e?i.left:i.top,i.width,i.height,i.pane].join(",")},n=r(this);i[this.coll].forEach(function(i){let{series:o}=i;o.length&&o.some(t=>t.visible)&&i!==e&&r(i)===n&&(t=!0,s.push(i))})}if(t&&o){s.forEach(t=>{let i=t.getThresholdAlignment(e);M(i)&&a.push(i)});let t=a.length>1?a.reduce((t,e)=>t+e,0)/a.length:void 0;s.forEach(e=>{e.thresholdAlignment=t})}return t}getThresholdAlignment(t){if((!M(this.dataMin)||this!==t&&this.series.some(t=>t.isDirty||t.isDirtyData))&&this.getSeriesExtremes(),M(this.threshold)){let t=m((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t=1-t),t}}getTickAmount(){let t=this.options,e=t.tickPixelInterval,i=t.tickAmount;y(t.tickInterval)||i||!(this.len<e)||this.isRadial||this.logarithmic||!t.startOnTick||!t.endOnTick||(i=2),!i&&this.alignToOthers()&&(i=Math.ceil(this.len/e)+1),i<4&&(this.finalTickAmt=i,i=5),this.tickAmount=i}adjustTickAmount(){let t,e,i,s=this,{finalTickAmt:r,max:n,min:o,options:a,tickPositions:l,tickAmount:h,thresholdAlignment:d}=s,c=l?.length,u=O(s.threshold,s.softThreshold?0:null),p=s.tickInterval,f=()=>l.push(v(l[l.length-1]+p)),g=()=>l.unshift(v(l[0]-p));if(M(d)&&(i=d<.5?Math.ceil(d*(h-1)):Math.floor(d*(h-1)),a.reversed&&(i=h-1-i)),s.hasData()&&M(o)&&M(n)){let d=()=>{s.transA*=(c-1)/(h-1),s.min=a.startOnTick?l[0]:Math.min(o,l[0]),s.max=a.endOnTick?l[l.length-1]:Math.max(n,l[l.length-1])};if(M(i)&&M(s.threshold)){for(;l[i]!==u||l.length!==h||l[0]>o||l[l.length-1]<n;){for(l.length=0,l.push(s.threshold);l.length<h;)void 0===l[i]||l[i]>s.threshold?g():f();if(p>8*s.tickInterval)break;p*=2}d()}else if(c<h){for(;l.length<h;)l.length%2||o===u?f():g();d()}if(y(r)){for(e=t=l.length;e--;)(3===r&&e%2==1||r<=2&&e>0&&e<t-1)&&l.splice(e,1);s.finalTickAmt=void 0}}}setScale(){let{coll:t,stacking:e}=this,i=!1,s=!1;this.series.forEach(t=>{i=i||t.isDirtyData||t.isDirty,s=s||t.xAxis&&t.xAxis.isDirty||!1}),this.setAxisSize();let r=this.len!==(this.old&&this.old.len);r||i||s||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(e&&"yAxis"===t&&e.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.get
1SeriesExtremes(),this.setTickInterval(),e&&"xAxis"===t&&e.buildStacks(),this.isDirty||(this.isDirty=r||this.min!==this.old?.min||this.max!==this.old?.max)):e&&e.cleanStacks(),i&&delete this.allExtremes,C(this,"afterSetScale")}setExtremes(t,e,i=!0,s,r){this.series.forEach(t=>{delete t.kdTree}),C(this,"setExtremes",r=w(r,{min:t,max:e}),t=>{this.userMin=t.min,this.userMax=t.max,this.eventArgs=t,i&&this.chart.redraw(s)})}setAxisSize(){let t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],s=this.horiz,r=this.width=Math.round(I(O(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),n=this.height=Math.round(I(O(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),o=this.top=Math.round(I(O(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round(I(O(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-n-o,this.right=t.chartWidth-r-a,this.len=Math.max(s?r:n,0),this.pos=s?a:o}getExtremes(){let t=this.logarithmic;return{min:t?v(t.lin2log(this.min)):this.min,max:t?v(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t){let e=this.logarithmic,i=e?e.lin2log(this.min):this.min,s=e?e.lin2log(this.max):this.max;return null===t||t===-1/0?t=i:t===1/0?t=s:i>t?t=i:s<t&&(t=s),this.translate(t,0,1,0,1)}autoLabelAlign(t){let e=(O(t,0)-90*this.side+720)%360,i={align:"center"};return C(this,"autoLabelAlign",i,function(t){e>15&&e<165?t.align="right":e>195&&e<345&&(t.align="left")}),i.align}tickSize(t){let e,i=this.options,s=O(i["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),r=i["tick"===t?"tickLength":"minorTickLength"];s&&r&&("inside"===i[t+"Position"]&&(r=-r),e=[r,s]);let n={tickSize:e};return C(this,"afterTickSize",n),n.tickSize}labelMetrics(){let t=this.chart.renderer,e=this.ticks,i=e[Object.keys(e)[0]]||{};return this.chart.renderer.fontMetrics(i.label||i.movedLabel||t.box)}unsquish(){let t,e,i=this.options.labels,s=i.padding||0,r=this.horiz,n=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/n),a=i.rotation,l=v(.8*this.labelMetrics().h),h=Math.max(this.max-this.min,0),d=function(t){let e=(t+2*s)/(o||1);return(e=e>1?Math.ceil(e):1)*n>h&&t!==1/0&&o!==1/0&&h&&(e=Math.ceil(h/n)),v(e*n)},c=n,u=Number.MAX_VALUE;if(r){if(!i.staggerLines&&(M(a)?e=[a]:o<i.autoRotationLimit&&(e=i.autoRotation)),e){let i,s;for(let r of e)(r===a||r&&r>=-90&&r<=90)&&(s=(i=d(Math.abs(l/Math.sin(p*r))))+Math.abs(r/360))<u&&(u=s,t=r,c=i)}}else c=d(.75*l);return this.autoRotation=e,this.labelRotation=O(t,M(a)?a:0),i.step?n:c}getSlotWidth(t){let e=this.chart,i=this.horiz,s=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),n=e.margin[3];if(t&&M(t.slotWidth))return t.slotWidth;if(i&&s.step<2)return s.rotation?0:(this.staggerLines||1)*this.len/r;if(!i){let t=s.style.width;if(void 0!==t)return parseInt(String(t),10);if(n)return n-e.spacing[3]}return.33*e.chartWidth}renderUnsquish(){let t,e,i,s,r=this.chart,n=r.renderer,o=this.tickPositions,a=this.ticks,l=this.options.labels,h=l.style,d=this.horiz,c=this.getSlotWidth(),u=Math.max(1,Math.round(c-(d?2*(l.padding||0):l.distance||0))),p={},f=this.labelMetrics(),g=h.textOverflow,m=0;if(D(l.rotation)||(p.rotation=l.rotation||0),o.forEach(function(t){let e=a[t];e.movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>m&&(m=e.label.textPxLength)}),this.maxLabelLength=m,this.autoRotation)m>u&&m>f.h?p.rotation=this.labelRotation:this.labelRotation=0;else if(c&&(t=u,!g))for(e="clip",s=o.length;!d&&s--;)(i=a[o[s]].label)&&("ellipsis"===i.styles.textOverflow?i.css({textOverflow:"clip"}):i.textPxLength>c&&i.css({width:c+"px"}),i.getBBox().height>this.len/o.length-(f.h-f.f)&&(i.specificTextOverflow="ellipsis"));p.rotation&&(t=m>.5*r.chartHeight?.33*r.chartHeight:m,g||(e="ellipsis")),this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(p.align=this.labelAlign),o.forEach(function(i){let s=a[i],r=s&&s.label,n=h.width,o={};r&&(r.attr(p),s.shortenLabel?s.shortenLabel():t&&!n&&"nowrap"!==h.whiteSpace&&(t<r.textPxLength||"SPAN"===r.element.tagName)?(o.width=t+"px",g||(o.textOverflow=r.specificTextOverflow||e),r.css(o)):!r.styles.width||o.width||n||r.css({width:null}),delete r.specificTextOverflow,s.rotation=p.rotation)},this),this.tickRotCorr=n.rotCorr(f.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some(function(t){return t.hasData()})||this.options.showEmpty&&y(this.min)&&y(this.max)}addTitle(t){let e,i=this.chart.renderer,s=this.horiz,r=this.opposite,n=this.options.title,o=this.chart.styledMode;
1this.axisTitle||((e=n.textAlign)||(e=(s?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[n.align]),this.axisTitle=i.text(n.text||"",0,0,n.useHTML).attr({zIndex:7,rotation:n.rotation||0,align:e}).addClass("highcharts-axis-title"),o||this.axisTitle.css(P(n.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),o||n.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)}generateTick(t){let e=this.ticks;e[t]?e[t].addLabel():e[t]=new o(this,t)}createGroups(){let{axisParent:t,chart:e,coll:i,options:s}=this,r=e.renderer,n=(e,n,o)=>r.g(e).attr({zIndex:o}).addClass(`highcharts-${i.toLowerCase()}${n} `+(this.isRadial?`highcharts-radial-axis${n} `:"")+(s.className||"")).add(t);this.axisGroup||(this.gridGroup=n("grid","-grid",s.gridZIndex),this.axisGroup=n("axis","",s.zIndex),this.labelGroup=n("axis-labels","-labels",s.labels.zIndex))}getOffset(){let t,e,i,s,r=this,{chart:n,horiz:o,options:a,side:l,ticks:h,tickPositions:d,coll:c}=r,u=n.inverted&&!r.isZAxis?[1,0,3,2][l]:l,p=r.hasData(),f=a.title,g=a.labels,m=M(a.crossing),v=n.axisOffset,x=n.clipOffset,b=[-1,1,1,-1][l],S=0,w=0,T=0;if(r.showAxis=t=p||a.showEmpty,r.staggerLines=r.horiz&&g.staggerLines||void 0,r.createGroups(),p||r.isLinked?(d.forEach(function(t){r.generateTick(t)}),r.renderUnsquish(),r.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===r.labelAlign,O(g.reserveSpace,!m&&null,"center"===r.labelAlign||null,r.reserveSpaceDefault)&&d.forEach(function(t){T=Math.max(h[t].getLabelSize(),T)}),r.staggerLines&&(T*=r.staggerLines),r.labelOffset=T*(r.opposite?-1:1)):E(h,function(t,e){t.destroy(),delete h[e]}),f?.text&&!1!==f.enabled&&(r.addTitle(t),t&&!m&&!1!==f.reserveSpace&&(r.titleOffset=S=r.axisTitle.getBBox()[o?"height":"width"],w=y(e=f.offset)?0:O(f.margin,o?5:10))),r.renderLine(),r.offset=b*O(a.offset,v[l]?v[l]+(a.margin||0):0),r.tickRotCorr=r.tickRotCorr||{x:0,y:0},s=0===l?-r.labelMetrics().h:2===l?r.tickRotCorr.y:0,i=Math.abs(T)+w,T&&(i-=s,i+=b*(o?O(g.y,r.tickRotCorr.y+b*g.distance):O(g.x,b*g.distance))),r.axisTitleMargin=O(e,i),r.getMaxLabelDimensions&&(r.maxLabelDimensions=r.getMaxLabelDimensions(h,d)),"colorAxis"!==c&&x){let t=this.tickSize("tick");v[l]=Math.max(v[l],(r.axisTitleMargin||0)+S+b*r.offset,i,d&&d.length&&t?t[0]+b*r.offset:0);let e=!r.axisLine||a.offset?0:r.axisLine.strokeWidth()/2;x[u]=Math.max(x[u],e)}C(this,"afterGetOffset")}getLinePath(t){let e=this.chart,i=this.opposite,s=this.offset,r=this.horiz,n=this.left+(i?this.width:0)+s,o=e.chartHeight-this.bottom-(i?this.height:0)+s;return i&&(t*=-1),e.renderer.crispLine([["M",r?this.left:n,r?o:this.top],["L",r?e.chartWidth-this.right:n,r?o:e.chartHeight-this.bottom]],t)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t){let e=this.horiz,i=this.left,s=this.top,r=this.len,n=this.options.title,o=e?i:s,a=this.opposite,l=this.offset,h=n.x,d=n.y,c=this.chart.renderer.fontMetrics(t),u=t?Math.max(t.getBBox(!1,0).height-c.h-1,0):0,p={low:o+(e?0:r),middle:o+r/2,high:o+(e?r:0)}[n.align],f=(e?s+this.height:i)+(e?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-u,u,c.f,-u][this.side],g={x:e?p+h:f+(a?this.width:0)+l+h,y:e?f+d-(a?this.height:0)+l:p+d};return C(this,"afterGetTitlePosition",{titlePosition:g}),g}renderMinorTick(t,e){let i=this.minorTicks;i[t]||(i[t]=new o(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)}renderTick(t,e,i){let s=this.isLinked,r=this.ticks;(!s||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(r[t]||(r[t]=new o(this,t)),i&&r[t].isNew&&r[t].render(e,!0,-1),r[t].render(e))}render(){let t,e,i=this,s=i.chart,r=i.logarithmic,a=s.renderer,h=i.options,d=i.isLinked,c=i.tickPositions,u=i.axisTitle,p=i.ticks,f=i.minorTicks,g=i.alternateBands,m=h.stackLabels,v=h.alternateGridColor,y=h.crossing,x=i.tickmarkOffset,b=i.axisLine,S=i.showAxis,w=l(a.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[p,f,g].forEach(function(t){E(t,function(t){t.isActive=!1})}),M(y)){let t=this.isXAxis?s.yAxis[0]:s.xAxis[0],e=[1,-1,-1,1][this.side];if(t){let s=t.toPixels(y,!0);i.horiz&&(s=t.len-s),i.offset=e*s}}if(i.hasData()||d){let a=i.chart.hasRendered&&i.old&&M(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEac
1h(function(t){i.renderMinorTick(t,a)}),c.length&&(c.forEach(function(t,e){i.renderTick(t,e,a)}),x&&(0===i.min||i.single)&&(p[-1]||(p[-1]=new o(i,-1,null,!0)),p[-1].render(-1))),v&&c.forEach(function(o,a){e=void 0!==c[a+1]?c[a+1]+x:i.max-x,a%2==0&&o<i.max&&e<=i.max+(s.polar?-x:x)&&(g[o]||(g[o]=new n.PlotLineOrBand(i,{})),t=o+x,g[o].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:v,className:"highcharts-alternate-grid"},g[o].render(),g[o].isActive=!0)}),i._addedPlotLB||(i._addedPlotLB=!0,(h.plotLines||[]).concat(h.plotBands||[]).forEach(function(t){i.addPlotBandOrLine(t)}))}[p,f,g].forEach(function(t){let e=[],i=w.duration;E(t,function(t,i){t.isActive||(t.render(i,!1,0),t.isActive=!1,e.push(i))}),_(function(){let i=e.length;for(;i--;)t[e[i]]&&!t[e[i]].isActive&&(t[e[i]].destroy(),delete t[e[i]])},t!==g&&s.hasRendered&&i?i:0)}),b&&(b[b.isPlaced?"animate":"attr"]({d:this.getLinePath(b.strokeWidth())}),b.isPlaced=!0,b[S?"show":"hide"](S)),u&&S&&(u[u.isNew?"attr":"animate"](i.getTitlePosition(u)),u.isNew=!1),m&&m.enabled&&i.stacking&&i.stacking.renderStackTotals(),i.old={len:i.len,max:i.max,min:i.min,transA:i.transA,userMax:i.userMax,userMin:i.userMin},i.isDirty=!1,C(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(t){t.render()})),this.series.forEach(function(t){t.isDirty=!0})}getKeepProps(){return this.keepProps||B.keepProps}destroy(t){let e=this,i=e.plotLinesAndBands,s=this.eventOptions;if(C(this,"destroy",{keepEvents:t}),t||j(e),[e.ticks,e.minorTicks,e.alternateBands].forEach(function(t){x(t)}),i){let t=i.length;for(;t--;)i[t].destroy()}for(let r in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[r]=e.plotLinesAndBandsGroups[r].destroy();E(e,function(t,i){-1===e.getKeepProps().indexOf(i)&&delete e[i]}),this.eventOptions=s}drawCrosshair(t,e){let s,r,n,o,a=this.crosshair,l=O(a&&a.snap,!0),h=this.chart,d=this.cross;if(C(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),a&&!1!==(y(e)||!l)){if(l?y(e)&&(r=O("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):r=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),y(r)&&(o={value:e&&(this.isXAxis?e.x:O(e.stackY,e.y)),translatedValue:r},h.polar&&w(o,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),s=this.getPlotLinePath(o)||null),!y(s))return void this.hideCrosshair();n=this.categories&&!this.isRadial,d||(this.cross=d=h.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(n?"category ":"thin ")+(a.className||"")).attr({zIndex:O(a.zIndex,2)}).add(),!h.styledMode&&(d.attr({stroke:a.color||(n?i.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":O(a.width,1)}).css({"pointer-events":"none"}),a.dashStyle&&d.attr({dashstyle:a.dashStyle}))),d.show().attr({d:s}),n&&!a.width&&d.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();C(this,"afterDrawCrosshair",{e:t,point:e})}hideCrosshair(){this.cross&&this.cross.hide(),C(this,"afterHideCrosshair")}update(t,e){let i=this.chart;t=P(this.userOptions,t),this.destroy(!0),this.init(i,t),i.isDirtyBox=!0,O(e,!0)&&i.redraw()}remove(t){let e=this.chart,i=this.coll,s=this.series,r=s.length;for(;r--;)s[r]&&s[r].remove(!1);b(e.axes,this),b(e[i]||[],this),e.orderItems(i),this.destroy(),e.isDirtyBox=!0,O(t,!0)&&e.redraw()}setTitle(t,e){this.update({title:t},e)}setCategories(t,e){this.update({categories:t},e)}}return B.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],B}),i(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],function(t){var e;let{addEvent:i,getMagnitude:s,normalizeTickInterval:r,timeUnits:n}=t;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function o(){"datetime"===this.options.type?this.dateTime||(this.dateTime=new a(this)):this.dateTime=void 0}t.compose=function(t){return t.keepProps.includes("dateTime")||(t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,i(t,"afterSetOptions",o)),t};class a{constructor(t){this.axis=t}normalizeTimeTickInterval(t,e){let i,o=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],a=o[o.length-1],l=n[a[0]],h=a[1];for(i=0;i<o.length&&(l=n[(a=o[i])[0]],h=a[1],!(o[i+1]&&t<=(l*h[h.length-1]+n[o[i+1][0]])/2));i++);return l===n.year&&t<5*l&&(h=[1,2,5]),{unitRange:l,count:r(t/l,h,"year"===a[0]?Math.max(s(t/l),1):1),unitName:a[0]}}getXDateFormat(t,e){let{axis:i}=this,s=i.chart.time;return i.closestPointRange?s.getDateFormat(i.closestPointRange,t,i.options.startOfWeek,e)||s.resolveDTLFormat(e.year).main:s.resolveDTLFormat(e.day).main}}t.Additions=a}(e||(e={})),e}),i(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],function(t){var e;let{addEvent:i,normalizeTickInterval:s,pick:r}=t;return function(t){function e(t){let e=t.userOptions,i=this.logarithmic;"logarithmic"!==e.type?this.logarithmic=void 0:i||(i=this.logarithmic=new o(this))}function n(){let t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}t.compose=function(t){return t.keepProps.includes("logarithmic")||(t.keepProps.push("logarithmic"),i(t,"init",e),i(t,"afterInit",n)),t};class o{constructor(t){this.axis=t}getLogTickPositions(t,e,i,n){let o=this.axis,a=o.len,l=o.options,h=[];if(n||(this.minorAutoInterval=void 0),t>=.5)t=Math.round(t),h=o.getLinearTickPositions(t,e,i);else if(t>=.08){let s,r,o,a,l,d,c;for(s=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r=Math.floor(e);r<i+1&&!c;r++)for(o=0,a=s.length;o<a&&!c;o++)(l=this.log2lin(this.lin2log(r)*s[o]))>e&&(!n||d<=i)&&void 0!==d&&h.push(d),d>i&&(c=!0),d=l}else{let d=this.lin2log(e),c=this.lin2log(i),u=n?o.getMinorTickInterval():l.tickInterval,p=l.tickPixelInterval/(n?5:1),f=n?a/o.tickPositions.length:a;t=s(t=r("auto"===u?null:u,this.minorAutoInterval,(c-d)*p/(f||1))),h=o.getLinearTickPositions(t,d,c).map(this.log2lin),n||(this.minorAutoInterval=t/5)}return n||(o.tickInterval=t),h}lin2log(t){return Math.pow(10,t)}log2lin(t){return Math.log(t)/Math.LN10}}t.Additions=o}(e||(e={})),e}),i(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(t){var e;let{erase:i,extend:s,isNumber:r}=t;return function(t){let e;function n(t){return this.addPlotBandOrLine(t,"plotBands")}function o(t,i){let s=this.userOptions,r=new e(this,t);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEac
1h(t=>{this.addPlotBandOrLine(t)})),i){let e=s[i]||[];e.push(t),s[i]=e}this.plotLinesAndBands.push(r)}return r}function a(t){return this.addPlotBandOrLine(t,"plotLines")}function l(t,e,i){i=i||this.options;let s,n,o=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes}),a=[],l=this.horiz,h=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,d=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),c=1;if(d&&o)for(h&&(n=d.toString()===o.toString(),c=0),s=0;s<d.length;s+=2){let t=d[s],e=d[s+1],i=o[s],r=o[s+1];("M"===t[0]||"L"===t[0])&&("M"===e[0]||"L"===e[0])&&("M"===i[0]||"L"===i[0])&&("M"===r[0]||"L"===r[0])&&(l&&i[1]===t[1]?(i[1]+=c,r[1]+=c):l||i[2]!==t[2]||(i[2]+=c,r[2]+=c),a.push(["M",t[1],t[2]],["L",e[1],e[2]],["L",r[1],r[2]],["L",i[1],i[2]],["Z"])),a.isFlat=n}return a}function h(t){this.removePlotBandOrLine(t)}function d(t){let e=this.plotLinesAndBands,s=this.options,r=this.userOptions;if(e){let n=e.length;for(;n--;)e[n].id===t&&e[n].destroy();[s.plotLines||[],r.plotLines||[],s.plotBands||[],r.plotBands||[]].forEach(function(e){for(n=e.length;n--;)(e[n]||{}).id===t&&i(e,e[n])})}}function c(t){this.removePlotBandOrLine(t)}t.compose=function(t,i){let r=i.prototype;return r.addPlotBand||(e=t,s(r,{addPlotBand:n,addPlotLine:a,addPlotBandOrLine:o,getPlotBandPath:l,removePlotBand:h,removePlotLine:c,removePlotBandOrLine:d})),i}}(e||(e={})),e}),i(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],function(t,e){let{arrayMax:i,arrayMin:s,defined:r,destroyObjectProperties:n,erase:o,fireEvent:a,merge:l,objectEach:h,pick:d}=e;class c{static compose(e){return t.compose(c,e)}constructor(t,e){this.axis=t,this.options=e,this.id=e.id}render(){a(this,"render");let t,{axis:e,options:i}=this,{horiz:s,logarithmic:n}=e,{color:o,events:c,zIndex:u=0}=i,p={},f=e.chart.renderer,g=i.to,m=i.from,v=i.value,y=i.borderWidth,x=i.label,{label:b,svgElem:S}=this,w=[],C=r(m)&&r(g),T=r(v),k=!S,A={class:"highcharts-plot-"+(C?"band ":"line ")+(i.className||"")},M=C?"bands":"lines";if(!e.chart.styledMode&&(T?(A.stroke=o||"#999999",A["stroke-width"]=d(i.width,1),i.dashStyle&&(A.dashstyle=i.dashStyle)):C&&(A.fill=o||"#e6e9ff",y&&(A.stroke=i.borderColor,A["stroke-width"]=y))),p.zIndex=u,M+="-"+u,(t=e.plotLinesAndBandsGroups[M])||(e.plotLinesAndBandsGroups[M]=t=f.g("plot-"+M).attr(p).add()),S||(this.svgElem=S=f.path().attr(A).add(t)),r(v))w=e.getPlotLinePath({value:n?.log2lin(v)??v,lineWidth:S.strokeWidth(),acrossPanes:i.acrossPanes});else{if(!r(m)||!r(g))return;w=e.getPlotBandPath(n?.log2lin(m)??m,n?.log2lin(g)??g,i)}return!this.eventsAdded&&c&&(h(c,(t,e)=>{S?.on(e,t=>{c[e].apply(this,[t])})}),this.eventsAdded=!0),!k&&S.d||!w?.length?S&&(w?(S.show(),S.animate({d:w})):S.d&&(S.hide(),b&&(this.label=b=b.destroy()))):S.attr({d:w}),x&&(r(x.text)||r(x.formatter))&&w?.length&&e.width>0&&e.height>0&&!w.isFlat?(x=l({align:s&&C?"center":void 0,x:s?!C&&4:10,verticalAlign:!s&&C?"middle":void 0,y:s?C?16:10:C?6:-4,rotation:s&&!C?90:0},x),this.renderLabel(x,w,C,u)):b&&b.hide(),this}renderLabel(t,e,r,n){let o=this.axis,a=o.chart.renderer,h=this.label;h||(this.label=h=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:n}),o.chart.styledMode||h.css(l({fontSize:"0.8em",textOverflow:"ellipsis"},t.style)),h.add());let d=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],c=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],u=s(d),p=s(c);if(h.align(t,!1,{x:u,y:p,width:i(d)-u,height:i(c)-p}),!h.alignValue||"left"===h.alignValue){let e=t.clip?o.width:o.chart.chartWidth;h.css({width:(90===h.rotation?o.height-(h.alignAttr.y-o.top):e-(h.alignAttr.x-o.left))+"px"})}h.show(!0)}getLabelText(t){return r(t.formatter)?t.formatter.call(this):t.text}destroy(){o(this.axis.plotLinesAndBands,this),delete this.axis,n(this)}}return c}),i(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,e,
1i,s,r,n){var o;let{animObject:a}=t,{format:l}=e,{composed:h,doc:d,isSafari:c}=i,{distribute:u}=s,{addEvent:p,clamp:f,css:g,discardElement:m,extend:v,fireEvent:y,isArray:x,isNumber:b,isString:S,merge:w,pick:C,pushUnique:T,splat:k,syncTimeout:A}=n;class M{constructor(t,e,i){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=t,this.init(t,e),this.pointer=i}bodyFormatter(t){return t.map(function(t){let e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(t){this.chart.series.forEach(function(e){let i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)})}defaultFormatter(t){let e,i=this.points||k(this);return(e=(e=[t.tooltipFooterHeaderFormatter(i[0])]).concat(t.bodyFormatter(i))).push(t.tooltipFooterHeaderFormatter(i[0],!0)),e}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),m(this.container)),n.clearTimeout(this.hideTimer)}getAnchor(t,e){let i,{chart:s,pointer:r}=this,n=s.inverted,o=s.plotTop,a=s.plotLeft;if((t=k(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=r.normalize(e)),i=[e.chartX-a,e.chartY-o];else if(t[0].tooltipPos)i=t[0].tooltipPos;else{let s=0,r=0;t.forEach(function(t){let e=t.pos(!0);e&&(s+=e[0],r+=e[1])}),s/=t.length,r/=t.length,this.shared&&t.length>1&&e&&(n?s=e.chartX:r=e.chartY),i=[s-a,r-o]}return i.map(Math.round)}getClassName(t,e,i){let s=this.options,r=t.series,n=r.options;return[s.className,"highcharts-label",i&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!i&&"highcharts-color-"+C(t.colorIndex,r.colorIndex),n&&n.className].filter(S).join(" ")}getLabel(){let t=this,e=this.chart.styledMode,s=this.options,n=this.split&&this.allowShared,o=this.container,a=this.chart.renderer;if(this.label){let t=!this.label.hasClass("highcharts-label");(!n&&t||n&&!t)&&this.destroy()}if(!this.label){if(this.outside){let t=this.chart.options.chart.style,e=r.getRendererType();this.container=o=i.doc.createElement("div"),o.className="highcharts-tooltip-container",g(o,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t&&t.zIndex||0)+3)}),this.renderer=a=new e(o,0,0,t,void 0,void 0,a.styledMode)}if(n?this.label=a.g("tooltip"):(this.label=a.label("",0,0,s.shape,void 0,void 0,s.useHTML,void 0,"tooltip").attr({padding:s.padding,r:s.borderRadius}),e||this.label.attr({fill:s.backgroundColor,"stroke-width":s.borderWidth||0}).css(s.style).css({pointerEvents:s.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),t.outside){let e=this.label;[e.xSetter,e.ySetter].forEach((i,s)=>{e[s?"ySetter":"xSetter"]=r=>{i.call(e,t.distance),e[s?"y":"x"]=r,o&&(o.style[s?"top":"left"]=`${r}px`)}})}this.label.attr({zIndex:8}).shadow(s.shadow).add()}return o&&!o.parentElement&&i.doc.body.appendChild(o),this.label}getPlayingField(){let{body:t,documentElement:e}=d,{chart:i,distance:s,outside:r}=this;return{width:r?Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,e.clientWidth)-2*s:i.chartWidth,height:r?Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,e.clientHeight):i.chartHeight}}getPosition(t,e,i){let s,{distance:r,chart:n,outside:o,pointer:a}=this,{inverted:l,plotLeft:h,plotTop:d,polar:c}=n,{plotX:u=0,plotY:p=0}=i,f={},g=l&&i.h||0,{height:m,width:v}=this.getPlayingField(),y=a.getChartPosition(),x=t=>t*y.scaleX,b=t=>t*y.scaleY,S=i=>{let s="x"===i;return[i,s?v:m,s?t:e].concat(o?[s?x(t):b(e),s?y.left-r+x(u+h):y.top-r+b(p+d),0,s?v:m]:[s?t:e,s?u+h:p+d,s?h:d,s?h+n.plotWidth:d+n.plotHeight])},w=S("y"),T=S("x"),k=!!i.negative;!c&&n.hoverSeries?.yAxis?.reversed&&(k=!k);let A=!this.followPointer&&C(i.ttBelow,!c&&!l===k),M=function(t,e,i,s,n,a,l){let h=o?"y"===t?b(r):x(r):r,d=(i-s)/2,c=s<n-r,u=n+r+s<e,p=n-h-i+d,m=n+h-d;if(A&&u)f[t]=m;else if(!A&&c)f[t]=p;else if(c)f[t]=Math.min(l-s,p-g<0?p:p-g);else{if(!u)return!1;f[t]=Math.max(a,m+g+i>e?m:m+g)}}
1,D=function(t,e,i,s,n){if(n<r||n>e-r)return!1;f[t]=n<i/2?1:n>e-s/2?e-s-2:n-i/2},P=function(t){[w,T]=[T,w],s=t},L=()=>{!1!==M.apply(0,w)?!1!==D.apply(0,T)||s||(P(!0),L()):s?f.x=f.y=0:(P(!0),L())};return(l&&!c||this.len>1)&&P(),L(),f}hide(t){let e=this;n.clearTimeout(this.hideTimer),t=C(t,this.options.hideDelay),this.isHidden||(this.hideTimer=A(function(){let i=e.getLabel();e.getLabel().animate({opacity:0},{duration:t?150:t,complete:()=>{i.hide(),e.container&&e.container.remove()}}),e.isHidden=!0},t))}init(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=C(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))}shouldStickOnContact(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.pointer.inClass(t.target,"highcharts-tooltip"))}move(t,e,i,s){let r=this,n=a(!r.isHidden&&r.options.animation),o={x:t,y:e};r.followPointer||(r.len||0)>1||(o.anchorX=i,o.anchorY=s),n.step=()=>r.drawTracker(),r.getLabel().animate(o,n)}refresh(t,e){let{chart:i,options:s,pointer:r,shared:o}=this,a=k(t),h=a[0],d=[],c=s.format,u=s.formatter||this.defaultFormatter,p=i.styledMode,f={};if(!s.enabled||!h.series)return;n.clearTimeout(this.hideTimer),this.allowShared=!(!x(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&h.series.tooltipOptions.followPointer;let g=this.getAnchor(t,e),m=g[0],v=g[1];o&&this.allowShared?(r.applyInactiveState(a),a.forEach(function(t){t.setState("hover"),d.push(t.getLabelConfig())}),(f=h.getLabelConfig()).points=d):f=h.getLabelConfig(),this.len=d.length;let b=S(c)?l(c,f,i):u.call(f,this),w=h.series;if(this.distance=C(w.tooltipOptions.distance,16),!1===b)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(b,a);else{let t=m,n=v;if(e&&r.isDirectTouch&&(t=e.chartX-i.plotLeft,n=e.chartY-i.plotTop),!i.polar&&!1!==w.options.clip&&!a.some(e=>r.isDirectTouch||e.series.shouldShowTooltip(t,n)))return void this.hide();{let t=this.getLabel();(!s.style.width||p)&&t.css({width:(this.outside?this.getPlayingField():i.spacingBox).width+"px"}),t.attr({class:this.getClassName(h),text:b&&b.join?b.join(""):b}),p||t.attr({stroke:s.borderColor||h.color||w.color||"#666666"}),this.updatePosition({plotX:m,plotY:v,negative:h.negative,ttBelow:h.ttBelow,h:g[2]||0})}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}y(this,"refresh")}renderSplit(t,e){let i=this,{chart:s,chart:{chartWidth:r,chartHeight:n,plotHeight:o,plotLeft:a,plotTop:l,scrollablePixelsY:h=0,scrollablePixelsX:p,styledMode:g},distance:m,options:y,options:{positioner:x},pointer:b}=i,{scrollLeft:w=0,scrollTop:T=0}=s.scrollablePlotArea?.scrollingContainer||{},k=i.outside&&"number"!=typeof p?d.documentElement.getBoundingClientRect():{left:w,right:w+r,top:T,bottom:T+n},A=i.getLabel(),M=this.renderer||s.renderer,D=!(!s.xAxis[0]||!s.xAxis[0].opposite),{left:P,top:L}=b.getChartPosition(),E=l+T,O=0,I=o-h;function j(t,e,s,r,n=!0){let o,a;return s?(o=D?0:I,a=f(t-r/2,k.left,k.right-r-(i.outside?P:0))):(o=e-E,a=f(a=n?t-r-m:t+m,n?a:k.left,k.right)),{x:a,y:o}}S(t)&&(t=[!1,t]);let R=t.slice(0,e.length+1).reduce(function(t,s,r){if(!1!==s&&""!==s){let n=e[r-1]||{isHeader:!0,plotX:e[0].plotX,plotY:o,series:{}},h=n.isHeader,d=h?i:n.series,c=d.tt=function(t,e,s){let r=t,{isHeader:n,series:o}=e;if(!r){let t={padding:y.padding,r:y.borderRadius};g||(t.fill=y.backgroundColor,t["stroke-width"]=y.borderWidth??1),r=M.label("",0,0,y[n?"headerShape":"shape"],void 0,void 0,y.useHTML).addClass(i.getClassName(e,!0,n)).attr(t).add(A)}return r.isActive=!0,r.attr({text:s}),g||r.css(y.style).attr({stroke:y.borderColor||e.color||o.color||"#333333"}),r}(d.tt,n,s.toString()),u=c.getBBox(),p=u.width+c.strokeWidth();h&&(O=u.height,I+=O,D&&(E-=O));let{anchorX:v,anchorY:b}=function(t){let e,i,{isHeader:s,plotX:r=0,plotY:n=0,series:h}=t;if(s)e=Math.max(a+r,a),i=l+o/2;else{let{xAxis:t,yAxis:s}=h;e=t.pos+f(r,-m,t.len+m),h.shouldShowTooltip(0,s.pos-l+n,{ignoreX:!0})&&(i=s.pos+n)}return{anchorX:e=f(e,k.left-m,k.right+m),anchorY:i}}(n);if("number"==typeof b){let e=u.height+1,s=x?x.call(i,p,e,n):j(v,b,h,p);t.push({align:x?0:void 0,anchorX:v,anchorY:b,boxWidth:p,point:n,rank:C(s.rank,h?1:0),size:e,target:s.y,tt:c,x:s.x})}else c.isActive=!1}return t},[]);!x&&R.some(t=>{let{outside:e}=i,s=(e?P:0)+t.anchorX;return s<k.left&&s+t.boxWidth<k.right||s<P-k.left+t.boxWidth&&k.right-s>s})&&(R=R.map(t=>{let{x:e,y:i}=j(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return v(t,{target:i,x:e})})),i.cleanSplit(),u(R,I);let _={left:P,right:P};R.forEach(function(t){let{x:e,boxWidth:s,isHeader:r}=t;!r&&(i.outside&&P+e<_.left&&(_.left=P+e),!r&&i.outside&&_.left+s>_.right&&(_.right=P+e))}),R.forEach(function(t){let{x:e,anchorX:s,anchorY:r,pos:n,point:{isHeader:o}}=t,a={visibility:void 0===n?"hidden":"inherit",x:e,y:(n||0)+E,anch
1orX:s,anchorY:r};if(i.outside&&e<s){let t=P-_.left;t>0&&(o||(a.x=e+t,a.anchorX=s+t),o&&(a.x=(_.right-_.left)/2,a.anchorX=s+t))}t.tt.attr(a)});let{container:N,outside:B,renderer:z}=i;if(B&&N&&z){let{width:t,height:e,x:i,y:s}=A.getBBox();z.setSize(t+i,e+s,!1),N.style.left=_.left+"px",N.style.top=L+"px"}c&&A.attr({opacity:1===A.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact())return void(this.tracker&&(this.tracker=this.tracker.destroy()));let t=this.chart,e=this.label,i=this.shared?t.hoverPoints:t.hoverPoint;if(!e||!i)return;let s={x:0,y:0,width:0,height:0},r=this.getAnchor(i),n=e.getBBox();r[0]+=t.plotLeft-(e.translateX||0),r[1]+=t.plotTop-(e.translateY||0),s.x=Math.min(0,r[0]),s.y=Math.min(0,r[1]),s.width=r[0]<0?Math.max(Math.abs(r[0]),n.width-r[0]):Math.max(Math.abs(r[0]),n.width),s.height=r[1]<0?Math.max(Math.abs(r[1]),n.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),n.height),this.tracker?this.tracker.attr(s):(this.tracker=e.renderer.rect(s).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t,e){let i=t.series,s=i.tooltipOptions,r=i.xAxis,n=r&&r.dateTime,o={isFooter:e,labelConfig:t},a=s.xDateFormat,h=s[e?"footerFormat":"headerFormat"];return y(this,"headerFormatter",o,function(e){n&&!a&&b(t.key)&&(a=n.getXDateFormat(t.key,s.dateTimeLabelFormats)),n&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEac
1h(function(t){h=h.replace("{point."+t+"}","{point."+t+":"+a+"}")}),i.chart.styledMode&&(h=this.styledModeFormat(h)),e.text=l(h,{point:t,series:i},this.chart)}),o.text}update(t){this.destroy(),this.init(this.chart,w(!0,this.options,t))}updatePosition(t){let e,{chart:i,container:s,distance:r,options:n,pointer:o,renderer:a}=this,{height:l=0,width:h=0}=this.getLabel(),{left:d,top:c,scaleX:u,scaleY:p}=o.getChartPosition(),f=(n.positioner||this.getPosition).call(this,h,l,t),m=(t.plotX||0)+i.plotLeft,v=(t.plotY||0)+i.plotTop;a&&s&&(n.positioner&&(f.x+=d-r,f.y+=c-r),e=(n.borderWidth||0)+2*r+2,a.setSize(h+e,l+e,!1),(1!==u||1!==p)&&(g(s,{transform:`scale(${u}, ${p})`}),m*=u,v*=p),m+=d-f.x,v+=c-f.y),this.move(Math.round(f.x),Math.round(f.y||0),m,v)}}return(o=M||(M={})).compose=function(t){T(h,"Core.Tooltip")&&p(t,"afterInit",function(){let t=this.chart;t.options.tooltip&&(t.tooltip=new o(t,t.options.tooltip,this))})},M}),i(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,e,i,s,r){let{animObject:n}=e,{defaultOptions:o}=i,{format:a}=s,{addEvent:l,crisp:h,erase:d,extend:c,fireEvent:u,getNestedProperty:p,isArray:f,isFunction:g,isNumber:m,isObject:v,merge:y,pick:x,syncTimeout:b,removeEvent:S,uniqueKey:w}=r;class C{animateBeforeDestroy(){let t=this,e={x:t.startXPos,opacity:0},i=t.getGraphicalProps();i.singular.forEach(function(i){t[i]=t[i].animate("dataLabel"===i?{x:t[i].startXPos,y:t[i].startYPos,opacity:0}:e)}),i.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.animate(c({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))})})}applyOptions(t,e){let i=this.series,s=i.options.pointValKey||i.pointValKey;return c(this,t=C.prototype.optionsToObject.call(this,t)),this.options=this.options?c(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,s&&(this.y=C.prototype.getNestedProperty.call(this,s)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&i.xAxis&&i.xAxis.hasNames&&(this.x=i.xAxis.nameToX(this)),void 0===this.x&&i?this.x=e??i.autoIncrement():m(t.x)&&i.options.relativeXValue&&(this.x=i.autoIncrement(t.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t=this,e=t.series,i=e.chart,s=e.options.dataSorting,r=i.hoverPoints,o=n(t.series.chart.renderer.globalAnimation),a=()=>{for(let e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(S(t),t.destroyElements()),t)delete t[e]};t.legendItem&&i.legend.destroyItem(t),r&&(t.setState(),d(r,t),r.length||(i.hoverPoints=null)),t===i.hoverPoint&&t.onMouseOut(),s&&s.enabled?(this.animateBeforeDestroy(),b(a,o.duration)):a(),i.pointCount--}this.destroyed=!0}destroyElements(t){let e=this,i=e.getGraphicalProps(t);i.singular.forEach(function(t){e[t]=e[t].destroy()}),i.plural.forEach(function(t){e[t].forEach(function(t){t&&t.element&&t.destroy()}),delete e[t]})}firePointEvent(t,e,i){let s=this,r=this.series.options;s.manageEvent(t),"click"===t&&r.allowPointSelect&&(i=function(t){!s.destroyed&&s.select&&s.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),u(s,t,e,i)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t){let e,i,s=this,r=[],n={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","connector"),t.dataLabel&&r.push("dataLabel","dataLabelPath","dataLabelUpper"),i=r.length;i--;)s[e=r[i]]&&n.singular.push(e);return["graphic","dataLabel"].forEach(function(e){let i=e+"s";t[e]&&s[i]&&n.plural.push(i)}),n}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t){return t?0===t.indexOf("custom.")?p(t,this.options):this[t]:void 0}getZone(){let t,e=this.series,i=e.zones,s=e.zoneAxis||"y",r=0;for(t=i[0];this[s]>=t.value;)t=i[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),t&&t.color&&!this.options.color?this.color=t.color:this.color=this.nonZonedColor,t}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t,e,i){this.formatPrefix="point",this.visible=!0,this.series=t,this.applyOptions(e,i),this.id??(this.id=w()),this.resolveColor(),t.chart.pointCount++,u(this,"afterInit")}isValid(){return(m(this.x)||this.x instanceof Date)&&m(this.y)}optionsToObject(t){let e,i=this.series,s=i.options.keys,r=s||i.pointArrayMap||["y"],n=r.length,o={},a=0,l=0;if(m(t)||null===t)o[r[0]]=t;else if(f(t))for(!s&&t.length>n&&("string"==(e=typeof t[0])?o.name=t[0]:"number"===e&&(o.x=t[0]),a++);l<n;)s&&void 0===t[a]||(r[l].indexOf(".")>0?C.prototype.setNestedProperty(o,t[a],r[l]):o[r[l]]=t[a]),a++,l++;else"object"==typeof t&&(o=t,t.dataLabels&&(i.hasDataLabels=()=>!0),t.marker&&(i._hasPointMarkers=!0));return o}pos(t,e=this.plotY){if(!this.destroyed){let{plotX:i,series:s}=this,{chart:r,xAxis:n,yAxis:o}=s,a=0,l=0;if(m(i)&&m(e))return t&&(a=n?n.pos:r.plotLeft,l=o?o.pos:r.plotTop),r.inverted&&n&&o?[o.len-e+l,n.len-i+a]:[i+a,e+l]}}resolveColor(){let t,e,i,s=this.series,r=s.chart.options.chart,n=s.chart.styledMode,o=r.colorCount;delete this.nonZonedColor,s.options.colorByPoint?(n||(t=(e=s.options.colors||s.chart.options.colors)[s.c
1olorCounter],o=e.length),i=s.colorCounter,s.colorCounter++,s.colorCounter===o&&(s.colorCounter=0)):(n||(t=s.color),i=s.colorIndex),this.colorIndex=x(this.options.colorIndex,i),this.color=x(this.options.color,t)}setNestedProperty(t,e,i){return i.split(".").reduce(function(t,i,s,r){let n=r.length-1===s;return t[i]=n?e:v(t[i],!0)?t[i]:{},t[i]},t),t}shouldDraw(){return!this.isNull}tooltipFormatter(t){let e=this.series,i=e.tooltipOptions,s=x(i.valueDecimals,""),r=i.valuePrefix||"",n=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach(function(e){e="{point."+e,(r||n)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+n)),t=t.replace(RegExp(e+"}","g"),e+":,."+s+"f}")}),a(t,{point:this,series:this.series},e.chart)}update(t,e,i,s){let r,n=this,o=n.series,a=n.graphic,l=o.chart,h=o.options;function d(){n.applyOptions(t);let s=a&&n.hasMockGraphic,d=null===n.y?!s:s;a&&d&&(n.graphic=a.destroy(),delete n.hasMockGraphic),v(t,!0)&&(a&&a.element&&t&&t.marker&&void 0!==t.marker.symbol&&(n.graphic=a.destroy()),t?.dataLabels&&n.dataLabel&&(n.dataLabel=n.dataLabel.destroy())),r=n.index,o.updateParallelArrays(n,r),h.data[r]=v(h.data[r],!0)||v(t,!0)?n.options:x(t,h.data[r]),o.isDirty=o.isDirtyData=!0,!o.fixedBox&&o.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===h.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(i)}e=x(e,!0),!1===s?d():n.firePointEvent("update",{options:t},d)}remove(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}select(t,e){let i=this,s=i.series,r=s.chart;t=x(t,!i.selected),this.selectedStaging=t,i.firePointEvent(t?"select":"unselect",{accumulate:e},function(){i.selected=i.options.selected=t,s.options.data[s.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||r.getSelectedPoints().forEac
1h(function(t){let e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(t){let{inverted:e,pointer:i}=this.series.chart;i&&(t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e),i.runPointActions(t,this))}onMouseOut(){let t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach(function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null}manageEvent(t){let e=y(this.series.options.point,this.options),i=e.events?.[t];!g(i)||this.hcEvents?.[t]&&-1!==this.hcEvents?.[t]?.map(t=>t.fn).indexOf(i)?this.importedUserEvent&&!i&&this.hcEvents?.[t]&&(S(this,t),delete this.hcEvents[t],Object.keys(this.hcEvents)||delete this.importedUserEvent):(this.importedUserEvent?.(),this.importedUserEvent=l(this,t,i))}setState(e,i){let s,r,n,a,l=this.series,h=this.state,d=l.options.states[e||"normal"]||{},p=o.plotOptions[l.type].marker&&l.options.marker,f=p&&!1===p.enabled,g=p&&p.states&&p.states[e||"normal"]||{},v=!1===g.enabled,y=this.marker||{},b=l.chart,S=p&&l.markerAttribs,w=l.halo,C=l.stateMarkerGraphic;if((e=e||"")===this.state&&!i||this.selected&&"select"!==e||!1===d.enabled||e&&(v||f&&!1===g.enabled)||e&&y.states&&y.states[e]&&!1===y.states[e].enabled)return;if(this.state=e,S&&(s=l.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(h&&this.graphic.removeClass("highcharts-point-"+h),e&&this.graphic.addClass("highcharts-point-"+e),!b.styledMode){r=l.pointAttribs(this,e),n=x(b.options.chart.animation,d.animation);let t=r.opacity;l.options.inactiveOtherPoints&&m(t)&&(this.dataLabels||[]).forEach(function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&(e.animate({opacity:t},n),e.connector&&e.connector.animate({opacity:t},n))}),this.graphic.animate(r,n)}s&&this.graphic.animate(s,x(b.options.chart.animation,g.animation,p.animation)),C&&C.hide()}else e&&g&&(a=y.symbol||l.symbol,C&&C.currentSymbol!==a&&(C=C.destroy()),s&&(C?C[i?"animate":"attr"]({x:s.x,y:s.y}):a&&(l.stateMarkerGraphic=C=b.renderer.symbol(a,s.x,s.y,s.width,s.height).add(l.markerGroup),C.currentSymbol=a)),!b.styledMode&&C&&"inactive"!==this.state&&C.attr(l.pointAttribs(this,e))),C&&(C[e&&this.isInside?"show":"hide"](),C.element.point=this,C.addClass(this.getClassName(),!0));let T=d.halo,k=this.graphic||C,A=k&&k.visibility||"inherit";T&&T.size&&k&&"hidden"!==A&&!this.isCluster?(w||(l.halo=w=b.renderer.path().add(k.parentGroup)),w.show()[i?"animate":"attr"]({d:this.haloPath(T.size)}),w.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,l.colorIndex)+(this.className?" "+this.className:""),visibility:A,zIndex:-1}),w.point=this,b.styledMode||w.attr(c({fill:this.color||l.color,"fill-opacity":T.opacity},t.filterUserAttributes(T.attributes||{})))):w?.point?.haloPath&&!w.point.destroyed&&w.animate({d:w.point.haloPath(0)},null,w.hide),u(this,"afterSetState",{state:e})}haloPath(t){let e=this.pos();return e?this.series.chart.renderer.symbols.circle(h(e[0],1)-t,e[1]-t,2*t,2*t):[]}}return C}),i(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){var s;let{parse:r}=t,{charts:n,composed:o,isTouchDevice:a}=e,{addEvent:l,attr:h,css:d,extend:c,find:u,fireEvent:p,isNumber:f,isObject:g,objectEach:m,offset:v,pick:y,pushUnique:x,splat:b}=i;class S{applyInactiveState(t){let e,i=[];(t||[]).forEach(function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)}),this.chart.series.forEach(function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")})}destroy(){let t=this;this.eventsToUnbind.forEach(t=>t()),this.eventsToUnbind=[],!e.chartCount&&(S.unbindDocumentMouseUp&&(S.unbindDocumentMouseUp=S.unbindDocumentMouseUp()),S.unbindDocumentTouchEnd&&(S.unbindDocumentTouchEnd=S.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),m(t,function(e,i){t[i]=void 0})}getSelectionMarkerAttrs(t,e){let i={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return p(this,"getSelectionMarkerAttrs",i,i=>{let s,{chart:r,zoomHor:n,zoomVert:o}=this,{mouseDownX:a=0,mouseDownY:l=0}=r,h=i.attrs;h.x=r.plotLeft,h.y=r.plotTop,h.width=n?1:r.plotWidth,h.height=o?1:r.plotHeight,n&&(s=t-a,h.width=Math.max(1,Math.abs(s)),h.x=(s>0?0:s)+a),o&&(s=e-l,h.height=Math.max(1,Math.abs(s)),h.y=(s>0?0:s)+l)}),i}drag(t){let e,{chart:i}
1=this,{mouseDownX:s=0,mouseDownY:n=0}=i,{panning:o,panKey:a,selectionMarkerFill:l}=i.options.chart,h=i.plotLeft,d=i.plotTop,c=i.plotWidth,u=i.plotHeight,p=g(o)?o.enabled:o,f=a&&t[`${a}Key`],m=t.chartX,v=t.chartY,y=this.selectionMarker;if((!y||!y.touch)&&(m<h?m=h:m>h+c&&(m=h+c),v<d?v=d:v>d+u&&(v=d+u),this.hasDragged=Math.sqrt(Math.pow(s-m,2)+Math.pow(n-v,2)),this.hasDragged>10)){e=i.isInsidePlot(s-h,n-d,{visiblePlotOnly:!0});let{shapeType:a,attrs:c}=this.getSelectionMarkerAttrs(m,v);(i.hasCartesianSeries||i.mapView)&&this.hasZoom&&e&&!f&&!y&&(this.selectionMarker=y=i.renderer[a](),y.attr({class:"highcharts-selection-marker",zIndex:7}).add(),i.styledMode||y.attr({fill:l||r("#334eff").setOpacity(.25).get()})),y&&y.attr(c),e&&!y&&p&&i.pan(t,o)}}dragStart(t){let e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=t.chartX,e.mouseDownY=t.chartY}getSelectionBox(t){let e={args:{marker:t},result:t.getBBox()};return p(this,"getSelectionBox",e),e.result}drop(t){let e,{chart:i,selectionMarker:s}=this;for(let r of i.axes)r.isPanning&&(r.isPanning=!1,(r.options.startOnTick||r.options.endOnTick||r.series.some(t=>t.boosted))&&(r.forceRedraw=!0,r.setExtremes(r.userMin,r.userMax,!1),e=!0));if(e&&i.redraw(),s&&t){if(this.hasDragged){let e=this.getSelectionBox(s);i.transform({axes:i.axes.filter(t=>t.zoomEnabled&&("xAxis"===t.coll&&this.zoomX||"yAxis"===t.coll&&this.zoomY)),selection:{originalEvent:t,xAxis:[],yAxis:[],...e},from:e})}f(i.index)&&(this.selectionMarker=s.destroy())}i&&f(i.index)&&(d(i.container,{cursor:i._cursor}),i.cancelClick=this.hasDragged>10,i.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t,e,i){let s;return t.forEach(function(t){let r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y"),n=t.searchPoint(i,r);g(n,!0)&&n.series&&(!g(s,!0)||function(t,i){let s=t.distX-i.distX,r=t.dist-i.dist,n=i.series.group?.zIndex-t.series.group?.zIndex;return 0!==s&&e?s:0!==r?r:0!==n?n:t.series.index>i.series.index?-1:1}(s,n)>0)&&(s=n)}),s}getChartCoordinatesFromPoint(t,e){let{xAxis:i,yAxis:s}=t.series,r=t.shapeArgs;if(i&&s){let n=t.clientX??t.plotX??0,o=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(n=r.x,o=r.y),e?{chartX:s.len+s.pos-o,chartY:i.len+i.pos-n}:{chartX:n+i.pos,chartY:o+s.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t}=this.chart,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};let{offsetHeight:i,offsetWidth:s}=t;return s>2&&i>2&&(this.chartPosition.scaleX=e.width/s,this.chartPosition.scaleY=e.height/i),this.chartPosition}getCoordinates(t){let e={xAxis:[],yAxis:[]};for(let i of this.chart.axes)e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])});return e}getHoverData(t,e,i,s,r,n){let o,a=[],l=function(t){return t.visible&&!(!r&&t.directTouch)&&y(t.options.enableMouseTracking,!0)},h=e,d={chartX:n?n.chartX:void 0,chartY:n?n.chartY:void 0,shared:r};p(this,"beforeGetHoverData",d),o=h&&!h.stickyTracking?[h]:i.filter(t=>t.stickyTracking&&(d.filter||l)(t));let c=s&&t||!n?t:this.findNearestKDPoint(o,r,n);return h=c&&c.series,c&&(r&&!h.noSharedTooltip?(o=i.filter(function(t){return d.filter?d.filter(t):l(t)&&!t.noSharedTooltip})).forEach(function(t){let e=u(t.points,function(t){return t.x===c.x&&!t.isNull});g(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))}):a.push(c)),p(this,"afterGetHoverData",d={hoverPoint:c}),{hoverPoint:d.hoverPoint,hoverSeries:h,hoverPoints:a}}getPointFromEvent(t){let e,i=t.target;for(;i&&!e;)e=i.point,i=i.parentNode;return e}onTrackerMouseOut(t){let e=this.chart,i=t.relatedTarget,s=e.hoverSeries;this.isDirectTouch=!1,!s||!i||s.stickyTracking||this.inClass(i,"highcharts-tooltip")||this.inClass(i,"highcharts-series-"+s.index)&&this.inClass(i,"highcharts-tracker")||s.onMouseOut()}inClass(t,e){let i,s=t;for(;s;){if(i=h(s,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}s=s.parentElement}}constructor(t,e){this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e,this.chart=t,this.runChartClick=!!e.chart.events?.click,this.pinchDown=[],this.setDOMEvents(),p(this,"afterInit")}normalize(t,e){let i=t.touches,s=i?i.length?i.item(0):y(i.changedTouches,t.changedTouches)[0]:t;e||(e=this.getChartPosition());let r=s.pageX-e.left,n=s.pageY-e.top;return c(t,{chartX:Math.round(r/=e.scaleX),chartY:Math.round(n/=e.scaleY)})}onContainerClick(t){let e=this.chart,i=e.hoverPoint,s=this.normalize(t),r=e.plotLeft,n=e.plotTop;!e.cancelClick&&(i&&this.inClass(s.target,"highcharts-tracker")?(p(i.series,"click",c(s,{point:i}
vendor: 4,437 bytes, line 1
1)),e.hoverPoint&&i.firePointEvent("click",s)):(c(s,this.getCoordinates(s)),e.isInsidePlot(s.chartX-r,s.chartY-n,{visiblePlotOnly:!0})&&p(e,"click",s)))}onContainerMouseDown(t){let i=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&t.preventDefault?.(),this.dragStart(t))}onContainerMouseLeave(t){let{pointer:e}=n[y(S.hoverChartIndex,-1)]||{};t=this.normalize(t),this.onContainerMouseMove(t),e&&!this.inClass(t.relatedTarget,"highcharts-tooltip")&&(e.reset(),e.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t){let e=this.chart,i=e.tooltip,s=this.normalize(t);this.setHoverChartIndex(t),("mousedown"===e.mouseIsDown||this.touchSelect(s))&&this.drag(s),!e.openMenu&&(this.inClass(s.target,"highcharts-tracker")||e.isInsidePlot(s.chartX-e.plotLeft,s.chartY-e.plotTop,{visiblePlotOnly:!0}))&&(!i||!i.shouldStickOnContact(s))&&(this.inClass(s.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(s))}onDocumentTouchEnd(t){this.onDocumentMouseUp(t)}onContainerTouchMove(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)}onContainerTouchStart(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))}onDocumentMouseMove(t){let e=this.chart,i=e.tooltip,s=this.chartPosition,r=this.normalize(t,s);!s||e.isInsidePlot(r.chartX-e.plotLeft,r.chartY-e.plotTop,{visiblePlotOnly:!0})||i&&i.shouldStickOnContact(r)||r.target!==e.container.ownerDocument&&this.inClass(r.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t){n[y(S.hoverChartIndex,-1)]?.pointer?.drop(t)}pinch(t){let e=this,{chart:i,hasZoom:s,lastTouches:r}=e,n=[].map.call(t.touches||[],t=>e.normalize(t)),o=n.length,a=1===o&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),l=i.tooltip,h=1===o&&y(l?.options.followTouchMove,!0);o>1?e.initiated=!0:h&&(e.initiated=!1),s&&e.initiated&&!a&&!1!==t.cancelable&&t.preventDefault(),"touchstart"===t.type?(e.pinchDown=n,e.res=!0,i.mouseDownX=t.chartX):h?this.runPointActions(e.normalize(t)):r&&(p(i,"touchpan",{originalEvent:t,touches:n},()=>{let e=t=>{let e=t[0],i=t[1]||e;return{x:e.chartX,y:e.chartY,width:i.chartX-e.chartX,height:i.chartY-e.chartY}};i.transform({axes:i.axes.filter(t=>t.zoomEnabled&&(this.zoomHor&&t.horiz||this.zoomVert&&!t.horiz)),to:e(n),from:e(r),trigger:t.type})}),e.res&&(e.res=!1,this.reset(!1,0))),e.lastTouches=n}reset(t,e){let i=this.chart,s=i.hoverSeries,r=i.hoverPoint,n=i.hoverPoints,o=i.tooltip,a=o&&o.shared?n:r;t&&a&&b(a).forEach(function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?o&&a&&b(a).length&&(o.refresh(a),o.shared&&n?n.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):r&&(r.setState(r.state,!0),i.axes.forEach(function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),n&&n.forEach(function(t){t.setState()}),s&&s.onMouseOut(),o&&o.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),i.hoverPoints=i.hoverPoint=void 0)}runPointActions(t,e,i){let s=this.chart,r=s.series,o=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,a=!!o&&o.shared,h=e||s.hoverPoint,d=h&&h.series||s.hoverSeries,c=(!t||"touchmove"!==t.type)&&(!!e||d&&d.directTouch&&this.isDirectTouch),p=this.getHoverData(h,d,r,c,a,t);h=p.hoverPoint,d=p.hoverSeries;let f=p.hoverPoints,g=d&&d.tooltipOptions.followPointer&&!d.tooltipOptions.split,m=a&&d&&!d.noSharedTooltip;if(h&&(i||h!==s.hoverPoint||o&&o.isHidden)){if((s.hoverPoints||[]).forEach(function(t){-1===f.indexOf(t)&&t.setState()}),s.hoverSeries!==d&&d.onMouseOver(),this.applyInactiveState(f),(f||[]).forEach(function(t){t.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!h.series)return;s.hoverPoints=f,s.hoverPoint=h,h.firePointEvent("mouseOver",void 0,()=>{o&&h&&o.refresh(m?f:h,t)})}else if(g&&o&&!o.isHidden){let e=o.getAnchor([{}],t);s.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:e[0],plotY:e[1]})}this.unDocMouseMove||(this.unDocMouseMove=l(s.container.ownerDocument,"mousemove",t=>n[S.hoverChartIndex??-1]?.pointer?.onDocumentMouseMove(t)),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEac
1h(function(e){let i,r=y((e.crosshair||{}).snap,!0);!r||(i=s.hoverPoint)&&i.series[e.coll]===e||(i=u(f,t=>t.series&&t.series[e.coll]===e)),i||!r?e.drawCrosshair(t,i):e.hideCrosshair()})}setDOMEvents(){let t=this.chart.container,e=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(t,"mouseenter",this.onContainerMouseEnter.bind(this)),l(t,"mouseleave",this.onContainerMouseLeave.bind(this))),S.unbindDocumentMouseUp||(S.unbindDocumentMouseUp=l(e,"mouseup",this.onDocumentMouseUp.bind(this)));let i=this.chart.renderTo.parentElement;for(;i&&"BODY"!==i.tagName;)this.eventsToUnbind.push(l(i,"scroll",()=>{delete this.chartPosition})),i=i.parentElement;this.eventsToUnbind.push(l(t,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),l(t,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),S.unbindDocumentTouchEnd||(S.unbindDocumentTouchEnd=l(e,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),l(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){if(!a)return;let t=this.pointerCaptureEventsToUnbind,e=this.chart,i=e.container,s=y(e.options.tooltip?.followTouchMove,!0)&&e.series.some(t=>t.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&s?(t.push(l(i,"pointerdown",t=>{t.target?.hasPointerCapture(t.pointerId)&&t.target?.releasePointerCapture(t.pointerId)}),l(i,"pointermove",t=>{e.pointer?.getPointFromEvent(t)?.onMouseOver(t)})),e.styledMode||d(i,{"touch-action":"none"}),i.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!s&&(t.forEach(t=>t()),t.length=0,e.styledMode||d(i,{"touch-action":y(e.options.chart.style?.["touch-action"],"manipulation")}),i.className=i.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(t){let i=this.chart,s=e.charts[y(S.hoverChartIndex,-1)];if(s&&s!==i){let e={relatedTarget:i.container};t&&!t?.relatedTarget&&(t={...e,...t}),s.pointer?.onContainerMouseLeave(t||e)}s&&s.mouseIsDown||(S.hoverChartIndex=i.index)}touch(t,e){let i,{chart:s,pinchDown:r=[]}=this;this.setHoverChartIndex(),1===(t=this.normalize(t)).touches.length?s.isInsidePlot(t.chartX-s.plotLeft,t.chartY-s.plotTop,{visiblePlotOnly:!0})&&!s.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!r[0]&&Math.pow(r[0].chartX-t.chartX,2)+Math.pow(r[0].chartY-t.chartY,2)>=16),y(i,!0)&&this.pinch(t)):e&&this.reset():2===t.touches.length&&this.pinch(t)}touchSelect(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}zoomOption(t){let e,i,s=this.chart,r=s.inverted,n=s.zooming.type||"";/touch/.test(t.type)&&(n=y(s.zooming.pinchType,n)),this.zoomX=e=/x/.test(n),this.zoomY=i=/y/.test(n),this.zoomHor=e&&!r||i&&r,this.zoomVert=i&&!r||e&&r,this.hasZoom=e||i}}return(s=S||(S={})).compose=function(t){x(o,"Core.Pointer")&&l(t,"beforeRender",function(){this.pointer=new s(this,this.options)})},S}),i(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(t){var e;let{extend:i,merge:s,pick:r}=t;return function(t){function e(t,e,n){let o,a=this.legendItem=this.legendItem||{},{chart:l,options:h}=this,{baseline:d=0,symbolWidth:c,symbolHeight:u}=t,p=this.symbol||"circle",f=u/2,g=l.renderer,m=a.group,v=d-Math.round(u*(n?.4:.3)),y={},x=h.marker,b=0;if(l.styledMode||(y["stroke-width"]=Math.min(h.lineWidth||0,24),h.dashStyle?y.dashstyle=h.dashStyle:"square"===h.linecap||(y["stroke-linecap"]="round")),a.line=g.path().addClass("highcharts-graph").attr(y).add(m),n&&(a.area=g.path().addClass("highcharts-area").add(m)),y["stroke-linecap"]&&(b=Math.min(a.line.strokeWidth(),c)/2),c){let t=[["M",b,v],["L",c-b,v]];a.line.attr({d:t}),a.area?.attr({d:[...t,["L",c-b,d],["L",b,d]]})}if(x&&!1!==x.enabled&&c){let t=Math.min(r(x.radius,f),f);0===p.indexOf("url")&&(x=s(x,{width:u,height:u}),t=0),a.symbol=o=g.symbol(p,c/2-t,v-t,2*t,2*t,i({context:"legend"},x)).addClass("highcharts-point").add(m),o.isMarker=!0}}t.areaMarker=function(t,i){e.call(this,t,i,!0)},t.lineMarker=e,t.rectangle=function(t,e){let i=e.legendItem||{}
1,s=t.options,n=t.symbolHeight,o=s.squareSymbol,a=o?n:t.symbolWidth;i.symbol=this.chart.renderer.rect(o?(t.symbolWidth-n)/2:0,t.baseline-n+1,a,n,r(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(i.group)}}(e||(e={})),e}),i(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),i(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,e,i,s){var r;let{defaultOptions:n}=e,{extend:o,extendClass:a,merge:l}=s;return function(e){function s(t,s){let r=n.plotOptions||{},o=s.defaultOptions,a=s.prototype;return a.type=t,a.pointClass||(a.pointClass=i),!e.seriesTypes[t]&&(o&&(r[t]=o),e.seriesTypes[t]=s,!0)}e.seriesTypes=t.seriesTypes,e.registerSeriesType=s,e.seriesType=function(t,r,h,d,c){let u=n.plotOptions||{};if(r=r||"",u[t]=l(u[r],h),delete e.seriesTypes[t],s(t,a(e.seriesTypes[r]||function(){},d)),e.seriesTypes[t].prototype.type=t,c){class s extends i{}o(s.prototype,c),e.seriesTypes[t].prototype.pointClass=s}return e.seriesTypes[t]}}(r||(r={})),r}),i(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,i,s,r,n,o,a,l,h){let{animObject:d,setAnimation:c}=t,{defaultOptions:u}=e,{registerEventOptions:p}=i,{svg:f,win:g}=s,{seriesTypes:m}=a,{arrayMax:v,arrayMin:y,clamp:x,correctFloat:b,crisp:S,defined:w,destroyObjectProperties:C,diffObjects:T,erase:k,error:A,extend:M,find:D,fireEvent:P,getClosestDistance:L,getNestedProperty:E,insertItem:O,isArray:I,isNumber:j,isString:R,merge:_,objectEach:N,pick:B,removeEvent:z,splat:F,syncTimeout:H}=h;class W{constructor(){this.zoneAxis="y"}init(t,e){let i;P(this,"init",{options:e});let s=this,r=t.series;this.eventsToUnbind=[],s.chart=t,s.options=s.setOptions(e);let n=s.options,o=!1!==n.visible;s.linkedSeries=[],s.bindAxes(),M(s,{name:n.name,state:"",visible:o,selected:!0===n.selected}),p(this,n);let a=n.events;(a&&a.click||n.point&&n.point.events&&n.point.events.click||n.allowPointSelect)&&(t.runTrackerClick=!0),s.getColor(),s.getSymbol(),s.parallelArrays.forEach(function(t){s[t+"Data"]||(s[t+"Data"]=[])}),s.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(i=r[r.length-1]),s._i=B(i&&i._i,-1)+1,s.opacity=s.options.opacity,t.orderItems("series",O(this,r)),n.dataSorting&&n.dataSorting.enabled?s.setDataSortingOptions():s.points||s.data||s.setData(n.data,!1),P(this,"afterInit")}is(t){return m[t]&&this instanceof m[t]}bindAxes(){let t,e=this,i=e.options,s=e.chart;P(this,"bindAxes",null,function(){(e.axisTypes||[]).forEach(function(r){(s[r]||[]).forEach(function(s){t=s.options,
1(B(i[r],0)===s.index||void 0!==i[r]&&i[r]===t.id)&&(O(e,s.series),e[r]=s,s.isDirty=!0)}),e[r]||e.optionalAxis===r||A(18,!0,s)})}),P(this,"afterBindAxes")}updateParallelArrays(t,e,i){let s=t.series,r=j(e)?function(i){let r="y"===i&&s.toYData?s.toYData(t):t[i];s[i+"Data"][e]=r}:function(t){Array.prototype[e].apply(s[t+"Data"],i)};s.parallelArrays.forEach(r)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t,e){let i=t.marker,s=e.marker||{};return i&&(s.enabled&&!i.enabled||s.symbol!==i.symbol||s.height!==i.height||s.width!==i.width)}autoIncrement(t){let e,i,s=this.options,r=s.pointIntervalUnit,n=s.relativeXValue,o=this.chart.time,a=this.xIncrement;return a=B(a,s.pointStart,0),this.pointInterval=i=B(this.pointInterval,s.pointInterval,1),n&&j(t)&&(i*=t),r&&(e=new o.Date(a),"day"===r?o.set("Date",e,o.get("Date",e)+i):"month"===r?o.set("Month",e,o.get("Month",e)+i):"year"===r&&o.set("FullYear",e,o.get("FullYear",e)+i),i=e.getTime()-a),n&&j(t)?a+i:(this.xIncrement=a+i,a)}setDataSortingOptions(){let t=this.options;M(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),w(t.pointRange)||(t.pointRange=1)}setOptions(t){let e,i=this.chart,s=i.options.plotOptions,r=i.userOptions||{},n=_(t),o=i.styledMode,a={plotOptions:s,userOptions:n};P(this,"setOptions",a);let l=a.plotOptions[this.type],h=r.plotOptions||{},d=h.series||{},c=u.plotOptions[this.type]||{},p=h[this.type]||{};this.userOptions=a.userOptions;let f=_(l,s.series,p,n);this.tooltipOptions=_(u.tooltip,u.plotOptions.series?.tooltip,c?.tooltip,i.userOptions.tooltip,h.series?.tooltip,p.tooltip,n.tooltip),this.stickyTracking=B(n.stickyTracking,p.stickyTracking,d.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||f.stickyTracking),null===l.marker&&delete f.marker,this.zoneAxis=f.zoneAxis||"y";let g=this.zones=(f.zones||[]).map(t=>({...t}));return(f.negativeColor||f.negativeFillColor)&&!f.zones&&(e={value:f[this.zoneAxis+"Threshold"]||f.threshold||0,className:"highcharts-negative"},o||(e.color=f.negativeColor,e.fillColor=f.negativeFillColor),g.push(e)),g.length&&w(g[g.length-1].value)&&g.push(o?{}:{color:this.color,fillColor:this.fillColor}),P(this,"afterSetOptions",{options:f}),f}getName(){return B(this.options.name,"Series "+(this.index+1))}getCyclic(t,e,i){let s,r,n=this.chart,o=`${t}Index`,a=`${t}Counter`,l=i?.length||n.options.chart.colorCount;!e&&(w(r=B("color"===t?this.options.colorIndex:void 0,this[o]))?s=r:(n.series.length||(n[a]=0),s=n[a]%l,n[a]+=1),i&&(e=i[s])),void 0!==s&&(this[o]=s),this[t]=e}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||u.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols)}findPointIndex(t,e){let i,s,r,o=t.id,a=t.x,l=this.points,h=this.options.dataSorting;if(o){let t=this.chart.get(o);t instanceof n&&(i=t)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e=e=>!e.touched&&e.index===t.index;if(h&&h.matchByName?e=e=>!e.touched&&e.name===t.name:this.options.relativeXValue&&(e=e=>!e.touched&&e.options.x===t.x),!(i=D(l,e)))return}return i&&void 0!==(r=i&&i.index)&&(s=!0),void 0===r&&j(a)&&(r=this.xData.indexOf(a,e)),-1!==r&&void 0!==r&&this.cropped&&(r=r>=this.cropStart?r-this.cropStart:r),!s&&j(r)&&l[r]&&l[r].touched&&(r=void 0),r}updateData(t,e){let i,s,r,n,o=this.options,a=o.dataSorting,l=this.points,h=[],d=this.requireSorting,c=t.length===l.length,u=!0;if(this.xIncrement=null,t.forEach(function(t,e){let s,r=w(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},u=r.x;r.id||j(u)?(-1===(s=this.findPointIndex(r,n))||void 0===s?h.push(t):l[s]&&t!==o.data[s]?(l[s].update(t,!1,null,!1),l[s].touched=!0,d&&(n=s+1)):l[s]&&(l[s].touched=!0),(!c||e!==s||a&&a.enabled||this.hasDerivedData)&&(i=!0)):h.push(t)},this),i)for(s=l.length;s--;)(r=l[s])&&!r.touched&&r.remove&&r.remove(!1,e);else!c||a&&a.enabled?u=!1:(t.forEach(function(t,e){t===l[e].y||l[e].destroyed||l[e].update(t,!1,null,!1)}),h.length=0);return l.forEach(function(t){t&&(t.touched=!1)}
1),!!u&&(h.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)}setData(t,e=!0,i,s){let r,n,o,a,l=this,h=l.points,d=h&&h.length||0,c=l.options,u=l.chart,p=c.dataSorting,f=l.xAxis,g=c.turboThreshold,m=this.xData,v=this.yData,y=l.pointArrayMap,x=y&&y.length,b=c.keys,S=0,w=1;u.options.chart.allowMutatingData||(c.data&&delete l.options.data,l.userOptions.data&&delete l.userOptions.data,a=_(!0,t));let C=(t=a||t||[]).length;if(p&&p.enabled&&(t=this.sortData(t)),u.options.chart.allowMutatingData&&!1!==s&&C&&d&&!l.cropped&&!l.hasGroupedData&&l.visible&&!l.boosted&&(o=this.updateData(t,i)),!o){l.xIncrement=null,l.colorCounter=0,this.parallelArrays.forEach(function(t){l[t+"Data"].length=0});let e=g&&C>g;if(e){let i=l.getFirstValidPoint(t),s=l.getFirstValidPoint(t,C-1,-1),o=t=>!(!I(t)||!b&&!j(t[0]));if(j(i)&&j(s))for(r=0;r<C;r++)m[r]=this.autoIncrement(),v[r]=t[r];else if(o(i)&&o(s))if(x)if(i.length===x)for(r=0;r<C;r++)m[r]=this.autoIncrement(),v[r]=t[r];else for(r=0;r<C;r++)n=t[r],m[r]=n[0],v[r]=n.slice(1,x+1);else if(b&&(S=b.indexOf("x"),w=b.indexOf("y"),S=S>=0?S:0,w=w>=0?w:1),1===i.length&&(w=0),S===w)for(r=0;r<C;r++)m[r]=this.autoIncrement(),v[r]=t[r][w];else for(r=0;r<C;r++)n=t[r],m[r]=n[S],v[r]=n[w];else e=!1}if(!e)for(r=0;r<C;r++)n={series:l},l.pointClass.prototype.applyOptions.apply(n,[t[r]]),l.updateParallelArrays(n,r);for(v&&R(v[0])&&A(14,!0,u),l.data=[],l.options.data=l.userOptions.data=t,r=d;r--;)h[r]?.destroy();f&&(f.minRange=f.userMinRange),l.isDirty=u.isDirtyBox=!0,l.isDirtyData=!!h,i=!1}"point"===c.legendType&&(this.processData(),this.generatePoints()),e&&u.redraw(i)}sortData(t){let e=this,i=e.options.dataSorting.sortKey||"y",s=function(t,e){return w(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach(function(i,r){t[r]=s(e,i),t[r].index=r},this),t.concat().sort((t,e)=>{let s=E(i,t),r=E(i,e);return r<s?-1:r>s?1:0}).forEach(function(t,e){t.x=e},this),e.linkedSeries&&e.linkedSeries.forEach(function(e){let i=e.options,r=i.data;i.dataSorting&&i.dataSorting.enabled||!r||(r.forEach(function(i,n){r[n]=s(e,i),t[n]&&(r[n].x=t[n].x,r[n].index=n)}),e.setData(r,!1))}),t}getProcessedData(t){let e,i,s,r,n,o=this,a=o.xAxis,l=o.options.cropThreshold,h=a?.logarithmic,d=o.isCartesian,c=0,u=o.xData,p=o.yData,f=!1,g=u.length;a&&(r=(s=a.getExtremes()).min,n=s.max,f=!(!a.categories||a.names.length)),d&&o.sorted&&!t&&(!l||g>l||o.forceCrop)&&(u[g-1]<r||u[0]>n?(u=[],p=[]):o.yData&&(u[0]<r||u[g-1]>n)&&(u=(e=this.cropData(o.xData,o.yData,r,n)).xData,p=e.yData,c=e.start,i=!0));let m=L([h?u.map(h.log2lin):u],()=>o.requireSorting&&!f&&A(15,!1,o.chart));return{xData:u,yData:p,cropped:i,cropStart:c,closestPointRange:m}}processData(t){let e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;let i=this.getProcessedData();this.cropped=i.cropped,this.cropStart=i.cropStart,this.processedXData=i.xData,this.processedYData=i.yData,this.closestPointRange=this.basePointRange=i.closestPointRange,P(this,"afterProcessData")}cropData(t,e,i,s){let r,n,o=t.length,a=0,l=o;for(r=0;r<o;r++)if(t[r]>=i){a=Math.max(0,r-1);break}for(n=r;n<o;n++)if(t[n]>s){l=n+1;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}}generatePoints(){let t,e,i,s,r=this.options,n=this.processedData||r.data,o=this.processedXData,a=this.processedYData,l=this.pointClass,h=o.length,d=this.cropStart||0,c=this.hasGroupedData,u=r.keys,p=[],f=r.dataGrouping&&r.dataGrouping.groupAll?d:0,g=this.data;if(!g&&!c){let t=[];t.length=n.length,g=this.data=t}for(u&&c&&(this.options.keys=!1),s=0;s<h;s++)e=d+s,c?((i=new l(this,[o[s]].concat(F(a[s])))).dataGroup=this.groupMap[f+s],i.dataGroup.options&&(i.options=i.dataGroup.options,M(i,i.dataGroup.options),delete i.dataLabels)):(i=g[e])||void 0===n[e]||(g[e]=i=new l(this,n[e],o[s])),i&&(i.index=c?f+s:e,p[s]=i);if(this.options.keys=u,g&&(h!==(t=g.length)||c))for(s=0;s<t;s++)s!==d||c||(s+=h),g[s]&&(g[s].destroyElements(),g[s].plotX=void 0);this.data=g,this.points=p,P(this,"afterGeneratePoints")}getXExtremes(t){return{min:y(t),max:v(t)}}getExtremes(t,e){let i,s,r,n,o,a,l,h=this.xAxis,d=this.yAxis,c=[],u=this.requireSorting&&!this.is("column")?1:0,p=!!d&&d.positiveValuesOnly,f=e||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:g,processedYData:m}=this,x=0,b=0,S=0;if(this.cropped&&f){let t=this.getProcessedData(!0);g=t.xData,m=t.yData}let w=(t=t||this.stackedYData||m||[]).length,C=g||this.xData;for(h&&(x=(i=h.getExtremes()).min,b=i.max),a=0;a<w;a++)if(n=C[a],s=(j(o=t[a])||I(o))&&((j(o)?o>0:o.length)||!p),r=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!h||(C[a+u]||n)>=x&&(C[a-u]||n)<=b,s&&r)if(l=o.length)for(;l--;)j(o[l])&&(c[S++]=o[l]);else c[S++]=o;let T={activeYData:c,dataMin:y(c),dataMax:v(c)};return P(this,"afterGetExtremes",{dataExtremes:T}),T}applyExtremes(){let t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}getFirstValidPoint(t,e=0,i=1){let s=t.length,r=e;for(;r>=0&&r<s;){if(w(t[r]))return t[r];r+=i}}translate(){this.processedXData||this.processData(),this.generatePoints();let t,e,i,s,r=this.options,n=r.stacking,o=this.xAxis,a=o.categories,l=this.enabledDataSorting,h=this.yAxis,d=this.points,c=d.length,u=this.pointPlacementToXValue(),p=!!u,f=r.threshold,g=r.startFromThreshold?f:0,m=Number.MAX_VALUE;function v(t){return x(t,-1e5,1e5)}for(t=0;t<c;t++){let r,c,y,x=d[t],S=x.x,C=x.y,T=x.low,k=n&&h.stacking?.stacks[(this.negStacks&&C<(g?0:f)?"-":"")+this.stackKey];e=o.translate(S,!1,!1,!1,!0,u),x.plotX=j(e)?b(v(e)):void 0,n&&this.visible&&k&&k[S]&&(s=this.getStackIndicator(s,S,this.index),!x.isNull&&s.key&&(y=(c=k[S]).points[s.key]),c&&I(y)&&(T=y[0],C=y[1],T===g&&s.key===k[S].base&&(T=B(j(f)?f:h.min)),h.positiveValuesOnly&&w(T)&&T<=0&&(T=void 0),x.total=x.stackTotal=B(c.total),x.percentage=w(x.y)&&c.total?x.y/c.total*100:void 0,x.stackY=C,this.irregularWidths||c.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),x.yBottom=w(T)?v(h.translate(T,!1,!0,!1,!0)):void 0,this.dataModify&&(C=this.dataModify.modifyValue(C,t)),j(C)&&void 0!==x.plotX&&(r=j(r=h.translate(C,!1,!0,!1,!0))?v(r):void 0),x.plotY=r,x.isInside=this.isPointInside(x),x.clientX=p?b(o.translate(S,!1,!1,!1,!0,u)):e,x.negative=(x.y||0)<(f||0),x.category=B(a&&a[x.x],x.x),x.isNull||!1===x.visible||(void 0!==i&&(m=Math.min(m,Math.abs(e-i))),i=e),x.zone=this.zones.length?x.getZone():void 0,!x.graphic&&this.group&&l&&(x.isNew=!0)}this.closestPointRangePx=m,P(this,"afterTranslate")}getValidPoints(t,e,i){let s=this.chart;return(t||this.points||[]).filter(function(t){let{plotX:r,plotY:n}=t;return!(!(i||!t.isNull&&j(n))||e&&!s.isInsidePlot(r,n,{inverted:s.inverted}))&&!1!==t.visible})}getClipBox(){let{chart:t,xAxis:e,yAxis:i}=this,{x:s,y:r,width:n,height:o}=_(t.clipBox);return e&&e.len!==t.plotSizeX&&(n=e.len),i&&i.len!==t.plotSizeY&&(o=i.len),t.inverted&&!this.invertible&&([n,o]=[o,n]),{x:s,y:r,width:n,height:o}}
1getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t,group:e,markerGroup:i}=this,s=t.sharedClips,r=t.renderer,n=this.getClipBox(),o=this.getSharedClipKey(),a=s[o];a?a.animate(n):s[o]=a=r.clipRect(n),e&&e.clip(!1===this.options.clip?void 0:a),i&&i.clip()}animate(t){let{chart:e,group:i,markerGroup:s}=this,r=e.inverted,n=d(this.options.animation),o=[this.getSharedClipKey(),n.duration,n.easing,n.defer].join(","),a=e.sharedClips[o],l=e.sharedClips[o+"m"];if(t&&i){let t=this.getClipBox();if(a)a.attr("height",t.height);else{t.width=0,r&&(t.x=e.plotHeight),a=e.renderer.clipRect(t),e.sharedClips[o]=a;let i={x:-99,y:-99,width:r?e.plotWidth+199:99,height:r?99:e.plotHeight+199};l=e.renderer.clipRect(i),e.sharedClips[o+"m"]=l}i.clip(a),s?.clip(l)}else if(a&&!a.hasClass("highcharts-animating")){let t=this.getClipBox(),i=n.step;(s?.element.childNodes.length||e.series.length>1)&&(n.step=function(t,e){i&&i.apply(e,arguments),"width"===e.prop&&l?.element&&l.attr(r?"height":"width",t+99)}),a.addClass("highcharts-animating").animate(t,n)}}afterAnimate(){this.setClip(),N(this.chart.sharedClips,(t,e,i)=>{t&&!this.chart.container.querySelector(`[clip-path="url(#${t.id})"]`)&&(t.destroy(),delete i[e])}),this.finishedAnimating=!0,P(this,"afterAnimate")}drawPoints(t=this.points){let e,i,s,r,n,o,a,l=this.chart,h=l.styledMode,{colorAxis:d,options:c}=this,u=c.marker,p=this[this.specialGroup||"markerGroup"],f=this.xAxis,g=B(u.enabled,!f||!!f.isRadial||null,this.closestPointRangePx>=u.enabledThreshold*u.radius);if(!1!==u.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++)if(r=(s=(i=t[e]).graphic)?"animate":"attr",n=i.marker||{},o=!!i.marker,(g&&void 0===n.enabled||n.enabled)&&!i.isNull&&!1!==i.visible){let t=B(n.symbol,this.symbol,"rect");a=this.markerAttribs(i,i.selected&&"select"),this.enabledDataSorting&&(i.startXPos=f.reversed?-(a.width||0):f.width);let e=!1!==i.isInside;if(!s&&e&&((a.width||0)>0||i.hasImage)&&(i.graphic=s=l.renderer.symbol(t,a.x,a.y,a.width,a.height,o?n:u).add(p),this.enabledDataSorting&&l.hasRendered&&(s.attr({x:i.startXPos}),r="animate")),s&&"animate"===r&&s[e?"show":"hide"](e).animate(a),s){let t=this.pointAttribs(i,h||!i.selected?void 0:"select");h?d&&s.css({fill:t.fill}):s[r](t)}s&&s.addClass(i.getClassName(),!0)}else s&&(i.graphic=s.destroy())}markerAttribs(t,e){let i,s,r=this.options,n=r.marker,o=t.marker||{},a=o.symbol||n.symbol,l={},h=B(o.radius,n&&n.radius);e&&(i=n.states[e],h=B((s=o.states&&o.states[e])&&s.radius,i&&i.radius,h&&h+(i&&i.radiusPlus||0))),t.hasImage=a&&0===a.indexOf("url"),t.hasImage&&(h=0);let d=t.pos();return j(h)&&d&&(r.crisp&&(d[0]=S(d[0],t.hasImage?0:"rect"===a?n?.lineWidth||0:1)),l.x=d[0]-h,l.y=d[1]-h),h&&(l.width=l.height=2*h),l}pointAttribs(t,e){let i,s,r,n,o=this.options.marker,a=t&&t.options,l=a&&a.marker||{},h=a&&a.color,d=t&&t.color,c=t&&t.zone&&t.zone.color,u=this.color,p=B(l.lineWidth,o.lineWidth),f=1;return u=h||c||d||u,r=l.fillColor||o.fillColor||u,n=l.lineColor||o.lineColor||u,e=e||"normal",i=o.states[e]||{},p=B((s=l.states&&l.states[e]||{}).lineWidth,i.lineWidth,p+B(s.lineWidthPlus,i.lineWidthPlus,0)),r=s.fillColor||i.fillColor||r,{stroke:n=s.lineColor||i.lineColor||n,"stroke-width":p,fill:r,opacity:f=B(s.opacity,i.opacity,f)}}
vendor: 5,842 bytes, line 1
1destroy(t){let e,i,s,r=this,n=r.chart,o=/AppleWebKit\/533/.test(g.navigator.userAgent),a=r.data||[];for(P(r,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(r.axisTypes||[]).forEach(function(t){(s=r[t])&&s.series&&(k(s.series,r),s.isDirty=s.forceRedraw=!0)}),r.legendItem&&r.chart.legend.destroyItem(r),e=a.length;e--;)(i=a[e])&&i.destroy&&i.destroy();for(let l of r.zones)C(l,void 0,!0);h.clearTimeout(r.animationTimeout),N(r,function(t,e){t instanceof l&&!t.survive&&t[o&&"group"===e?"hide":"destroy"]()}),n.hoverSeries===r&&(n.hoverSeries=void 0),k(n.series,r),n.orderItems("series"),N(r,function(e,i){t&&"hcEvents"===i||delete r[i]})}applyZones(){let{area:t,chart:e,graph:i,zones:s,points:r,xAxis:n,yAxis:o,zoneAxis:a}=this,{inverted:l,renderer:h}=e,d=this[`${a}Axis`],{isXAxis:c,len:u=0}=d||{},p=(i?.strokeWidth()||0)/2+1,f=(t,e=0,i=0)=>{l&&(i=u-i);let{translated:s=0,lineClip:r}=t,n=i-s;r?.push(["L",e,Math.abs(n)<p?i-p*(n<=0?-1:1):s])};if(s.length&&(i||t)&&d&&j(d.min)){let e=d.getExtremes().max,p=t=>{t.forEach((e,i)=>{("M"===e[0]||"L"===e[0])&&(t[i]=[e[0],c?u-e[1]:e[1],c?e[2]:u-e[2]])})};if(s.forEach(t=>{t.lineClip=[],t.translated=x(d.toPixels(B(t.value,e),!0)||0,0,u)}),i&&!this.showLine&&i.hide(),t&&t.hide(),"y"===a&&r.length<n.len)for(let t of r){let{plotX:e,plotY:i,zone:r}=t,n=r&&s[s.indexOf(r)-1];r&&f(r,e,i),n&&f(n,e,i)}let g=[],m=d.toPixels(d.getExtremes().min,!0);s.forEach(e=>{let s=e.lineClip||[],r=Math.round(e.translated||0);n.reversed&&s.reverse();let{clip:a,simpleClip:d}=e,u=0,f=0,v=n.len,y=o.len;c?(u=r,v=m):(f=r,y=m);let x=[["M",u,f],["L",v,f],["L",v,y],["L",u,y],["Z"]],b=[x[0],...s,x[1],x[2],...g,x[3],x[4]];g=s.reverse(),m=r,l&&(p(b),t&&p(x)),a?(a.animate({d:b}),d?.animate({d:x})):(a=e.clip=h.path(b),t&&(d=e.simpleClip=h.path(x))),i&&e.graph?.clip(a),t&&e.area?.clip(d)})}else this.visible&&(i&&i.show(),t&&t.show())}plotGroup(t,e,i,s,r){let n=this[t],o=!n,a={visibility:i,zIndex:s||.1};return w(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a.opacity=this.opacity),n||(this[t]=n=this.chart.renderer.g().add(r)),n.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(w(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(n.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),n.attr(a)[o?"attr":"animate"](this.getPlotBox(e)),n}getPlotBox(t){let e=this.xAxis,i=this.yAxis,s=this.chart,r=s.inverted&&!s.polar&&e&&this.invertible&&"series"===t;return s.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:s.plotLeft,translateY:i?i.top:s.plotTop,rotation:r?90:0,rotationOriginX:r?(e.len-i.len)/2:0,rotationOriginY:r?(e.len+i.len)/2:0,scaleX:r?-1:1,scaleY:1}}removeEvents(t){let{eventsToUnbind:e}=this;t||z(this),e.length&&(e.forEach(t=>{t()}),e.length=0)}render(){let t=this,{chart:e,options:i,hasRendered:s}=t,r=d(i.animation),n=t.visible?"inherit":"hidden",o=i.zIndex,a=e.seriesGroup,l=t.finishedAnimating?0:r.duration;P(this,"render"),t.plotGroup("group","series",n,o,a),t.markerGroup=t.plotGroup("markerGroup","markers",n,o,a),!1!==i.clip&&t.setClip(),l&&t.animate?.(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels?.(),t.redrawPoints?.(),i.enableMouseTracking&&t.drawTracker?.(),l&&t.animate?.(),s||(l&&r.defer&&(l+=r.defer),t.animationTimeout=H(()=>{t.afterAnimate()},l||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")}redraw(){let t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t,e){let{xAxis:i,yAxis:s}=this,r=this.chart.inverted;return this.searchKDTree({clientX:r?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:r?s.len-t.chartX+s.pos:t.chartY-s.pos},e,t)}buildKDTree(t){this.buildingKdTree=!0;let e=this,i=e.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e.kdTree,H(function(){e.kdTree=function t(i,s,r){let n,o,a=i?.length;if(a)return n=e.kdAxisArray[s%r],i.sort((t,e)=>(t[n]||0)-(e[n]||0)),{point:i[o=Math.floor(a/2)],left:t(i.slice(0,o),s+1,r),right:t(i.slice(o+1),s+1,r)}}(e.getValidPoints(void 0,!e.directTouch),i,i),e.buildingKdTree=!1},e.options.kdNow||"touchstart"===t?.type?0:1)}searchKDTree(t,e,i){let s=this,[r,n]=this.kdAxisArray,o=e?"distX":"dist",a=(s.options.findNearestPointBy||"").indexOf("y")>-1?2:1,l=!!s.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function t(e,i,a,h){let d,c,u=i.point,p=s.kdAxisArray[a%h],f=u;!function(t,e){let i=t[r],s=e[r],o=w(i)&&w(s)?i-s:null,a=t[n],h=e[n],d=w(a)&&w(h)?a-h:0,c=l&&e.marker?.radius||0;e.dist=Math.sqrt((o&&o*o||0)+d*d)-c,e.distX=w(o)?Math.abs(o)-c:Number.MAX_VALUE}(e,u);let g=(e[p]||0)-(u[p]||0)+(l&&u.marker?.radius||0),m=g<0?"left":"right",v=g<0?"right":"left";return i[m]&&(f=(d=t(e,i[m],a+1,h))[o]<f[o]?d:u),i[v]&&Math.sqrt(g*g)<f[o]&&(f=(c=t(e,i[v],a+1,h))[o]<f[o]?c:f),f}(t,this.kdTree,a,a)}pointPlacementToXValue(){let{options:t,xAxis:e}=this,i=t.pointPlacement;return"between"===i&&(i=e.reversed?-.5:.5),j(i)?i*(t.pointRange||e.pointRange):0}isPointInside(t){let{chart:e,xAxis:i,yAxis:s}=this,{plotX:r=-1,plotY:n=-1}=t;return n>=0&&n<=(s?s.len:e.plotHeight)&&r>=0&&r<=(i?i.len:e.plotWidth)}drawTracker(){let t=this,e=t.options,i=e.trackByArea,s=[].concat((i?t.areaPath:t.graphPath)||[]),r=t.chart,n=r.pointer,o=r.renderer,a=r.options.tooltip?.snap||0,l=()=>{e.enableMouseTracking&&r.hoverSeries!==t&&t.onMouseOver()},h="rgba(192,192,192,"+(f?1e-4:.002)+")",d=t.tracker;d?d.attr({d:s}):t.graph&&(t.tracker=d=o.path(s).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),r.styledMode||d.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:h,fill:i?h:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}
1),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach(t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",l).on("mouseout",t=>{n?.onTrackerMouseOut(t)}),e.cursor&&!r.styledMode&&t.css({cursor:e.cursor}),t.on("touchstart",l))})),P(this,"afterDrawTracker")}addPoint(t,e,i,s,r){let n,o,a=this.options,l=this.data,h=this.chart,d=this.xAxis,c=d&&d.hasNames&&d.names,u=a.data,p=this.xData;e=B(e,!0);let f={series:this};this.pointClass.prototype.applyOptions.apply(f,[t]);let g=f.x;if(o=p.length,this.requireSorting&&g<p[o-1])for(n=!0;o&&p[o-1]>g;)o--;this.updateParallelArrays(f,"splice",[o,0,0]),this.updateParallelArrays(f,o),c&&f.name&&(c[g]=f.name),u.splice(o,0,t),(n||this.processedData)&&(this.data.splice(o,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),i&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(f,"shift"),u.shift())),!1!==r&&P(this,"addPoint",{point:f}),this.isDirty=!0,this.isDirtyData=!0,e&&h.redraw(s)}removePoint(t,e,i){let s=this,r=s.data,n=r[t],o=s.points,a=s.chart,l=function(){o&&o.length===r.length&&o.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",[t,1]),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&a.redraw()};c(i,a),e=B(e,!0),n?n.firePointEvent("remove",null,l):l()}remove(t,e,i,s){let r=this,n=r.chart;function o(){r.destroy(s),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(s),B(t,!0)&&n.redraw(e)}!1!==i?P(r,"remove",null,o):o()}update(t,e){P(this,"update",{options:t=T(t,this.userOptions)});let i,s,r=this,n=r.chart,o=r.userOptions,a=r.initialType||r.type,l=n.options.plotOptions,h=m[a].prototype,d=r.finishedAnimating&&{animation:!1},c={},u=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],p=t.type||o.type||n.options.chart.type,f=!(this.hasDerivedData||p&&p!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(t=>r.hasOptionChanged(t)));p=p||a,f&&(u.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),!1!==t.visible&&u.push("area","graph"),r.parallelArrays.forEach(function(t){u.push(t+"Data")}),t.data&&(t.dataSorting&&M(r.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=_(o,{index:void 0===o.index?r.index:o.index,pointStart:l?.series?.pointStart??o.pointStart??r.xData?.[0]},!f&&{data:r.options.data},t,d),f&&t.data&&(t.data=r.options.data),(u=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(u)).forEach(function(t){u[t]=r[t],delete r[t]});let g=!1;if(m[p]){if(g=p!==r.type,r.remove(!1,!1,!1,!0),g)if(n.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(r,m[p].prototype);else{let t=Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents;for(s in h)r[s]=void 0;M(r,m[p].prototype),t?r.hcEvents=t:delete r.hcEvents}}else A(17,!0,n,{missingModuleFor:p});if(u.forEach(function(t){r[t]=u[t]}),r.init(n,t),f&&this.points)for(let m of(!1===(i=r.options).visible?(c.graphic=1,c.dataLabel=1):(this.hasMarkerChanged(i,o)&&(c.graphic=1),r.hasDataLabels?.()||(c.dataLabel=1)),this.points))m&&m.series&&(m.resolveColor(),Object.keys(c).length&&m.destroyElements(c),!1===i.showInLegend&&m.legendItem&&n.legend.destroyItem(m));r.initialType=a,n.linkSeries(),n.setSortedData(),g&&r.linkedSeries.length&&(r.isDirtyData=!0),P(this,"afterUpdate"),B(e,!0)&&n.redraw(!!f&&void 0)}setName(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}hasOptionChanged(t){let e=this.chart,i=this.options[t],s=e.options.plotOptions,r=this.userOptions[t],n=B(s?.[this.type]?.[t],s?.series?.[t]);return r&&!w(n)?i!==r:i!==B(n,i)}onMouseOver(){let t=this.chart,e=t.hoverSeries,i=t.pointer;i?.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&P(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}onMouseOut(){let t=this.options,e=this.chart,i=e.tooltip,s=e.hoverPoint;
1e.hoverSeries=null,s&&s.onMouseOut(),this&&t.events.mouseOut&&P(this,"mouseOut"),i&&!this.stickyTracking&&(!i.shared||this.noSharedTooltip)&&i.hide(),e.series.forEach(function(t){t.setState("",!0)})}setState(t,e){let i=this,s=i.options,r=i.graph,n=s.inactiveOtherPoints,o=s.states,a=B(o[t||"normal"]&&o[t||"normal"].animation,i.chart.options.chart.animation),l=s.lineWidth,h=s.opacity;if(t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))}),i.state=t,!i.chart.styledMode)){if(o[t]&&!1===o[t].enabled)return;if(t&&(l=o[t].lineWidth||l+(o[t].lineWidthPlus||0),h=B(o[t].opacity,h)),r&&!r.dashstyle&&j(l))for(let t of[r,...this.zones.map(t=>t.graph)])t?.animate({"stroke-width":l},a);n||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(t){t&&t.animate({opacity:h},a)})}e&&n&&i.points&&i.setAllPointsToState(t||void 0)}setAllPointsToState(t){this.points.forEach(function(e){e.setState&&e.setState(t)})}setVisible(t,e){let i=this,s=i.chart,r=s.options.chart.ignoreHiddenSeries,n=i.visible;i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!n:t;let o=t?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(t=>{i[t]?.[o]()}),(s.hoverSeries===i||s.hoverPoint?.series===i)&&i.onMouseOut(),i.legendItem&&s.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&s.series.forEach(t=>{t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(e=>{e.setVisible(t,!1)}),r&&(s.isDirtyBox=!0),P(i,o),!1!==e&&s.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),P(this,t?"select":"unselect")}shouldShowTooltip(t,e,i={}){return i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)}drawLegendSymbol(t,e){r[this.options.legendSymbol||"rectangle"]?.call(this,t,e)}}return W.defaultOptions=o,W.types=a.seriesTypes,W.registerType=a.registerSeriesType,M(W.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:n,requireSorting:!0,sorted:!0}),a.series=W,W}),i(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,e,i,s,r,n,o,a){var l;let{animObject:h,setAnimation:d}=t,{registerEventOptions:c}=e,{composed:u,marginNames:p}=i,{distribute:f}=n,{format:g}=o,{addEvent:m,createElement:v,css:y,defined:x,discardElement:b,find:S,fireEvent:w,isNumber:C,merge:T,pick:k,pushUnique:A,relativeLength:M,stableSort:D,syncTimeout:P}=a;class L{constructor(t,e){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t,this.setOptions(e),e.enabled&&(this.render(),c(this,e),m(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),m(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(t){let e=k(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=T(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop,this.itemMarginBottom=t.itemMarginBottom,this.padding=e,this.initialItemY=e-5,this.symbolWidth=k(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0}update(t,e){let i=this.chart;this.setOptions(T(!0,this.options,t)),"events"in this.options&&c(this,this.options),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,k(e,!0)&&i.redraw(),w(this,"afterUpdate",{redraw:e})}colorizeItem(t,e){let{area:i,group:s,label:r,line:n,symbol:o}=t.legendItem||{};if(s?.[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:s={}}=this,a=s.color,{fillColor:l,fillOpacity:h,lineColor:d,marker:c}=t.options,u=t=>(!e&&(t.fill&&(t.fill=a),t.stroke&&(t.stroke=a)),t);r?.css(T(e?this.itemStyle:s)),n?.attr(u({stroke:d||t.color})),o&&o.attr(u(c&&o.isMarker?t.pointAttribs():{fill:t.color})),i?.attr(u({fill:l||t.color,"fill-opacity":l?1:h??.75}))}w(this,"afterColorizeItem",{item:t,visible:e})}
1positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t){let{group:e,x:i=0,y:s=0}=t.legendItem||{},r=this.options,n=r.symbolPadding,o=!r.rtl,a=t.checkbox;if(e&&e.element){let r={translateX:o?i:this.legendWidth-i-2*n-4,translateY:s};e[x(e.translateY)?"animate":"attr"](r,void 0,()=>{w(this,"afterPositionItem",{item:t})})}a&&(a.x=i,a.y=s)}destroyItem(t){let e=t.checkbox,i=t.legendItem||{};for(let s of["group","label","line","symbol"])i[s]&&(i[s]=i[s].destroy());e&&b(e),t.legendItem=void 0}destroy(){for(let t of this.getAllItems())this.destroyItem(t);for(let t of["clipRect","up","down","pager","nav","box","title","group"])this[t]&&(this[t]=this[t].destroy());this.display=null}positionCheckboxes(){let t,e=this.group&&this.group.alignAttr,i=this.clipHeight||this.legendHeight,s=this.titleHeight;e&&(t=e.translateY,this.allItems.forEach(function(r){let n,o=r.checkbox;o&&(n=t+s+o.y+(this.scrollOffset||0)+3,y(o,{left:e.translateX+r.checkboxOffset+o.x-20+"px",top:n+"px",display:this.proximate||n>t-6&&n<t+i-6?"":"none"}))},this))}renderTitle(){let t,e=this.options,i=this.padding,s=e.title,r=0;s.text&&(this.title||(this.title=this.chart.renderer.label(s.text,i-3,i-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(s.style),this.title.add(this.group)),s.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r}setText(t){let e=this.options;t.legendItem.label.attr({text:e.labelFormat?g(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})}renderItem(t){let e=t.legendItem=t.legendItem||{},i=this.chart,s=i.renderer,r=this.options,n="horizontal"===r.layout,o=this.symbolWidth,a=r.symbolPadding||0,l=this.itemStyle,h=this.itemHiddenStyle,d=n?k(r.itemDistance,20):0,c=!r.rtl,u=!t.series,p=!u&&t.series.drawLegendSymbol?t.series:t,f=p.options,g=!!this.createCheckboxForItem&&f&&f.showCheckbox,m=r.useHTML,v=t.options.className,y=e.label,x=o+a+d+(g?20:0);!y&&(e.group=s.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(u?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=y=s.text("",c?o+a:-a,this.baseline||0,m),i.styledMode||y.css(T(t.visible?l:h)),y.attr({align:c?"left":"right",zIndex:2}).add(e.group),!this.baseline&&(this.fontMetrics=s.fontMetrics(y),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,y.attr("y",this.baseline),this.symbolHeight=k(r.symbolHeight,this.fontMetrics.f),r.squareSymbol&&(this.symbolWidth=k(r.symbolWidth,Math.max(this.symbolHeight,16)),x=this.symbolWidth+a+d+(g?20:0),c&&y.attr("x",this.symbolWidth+a))),p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,y,m)),g&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),(i.styledMode||!l.width)&&y.css({width:(r.itemWidth||this.widthOption||i.spacingBox.width)-x+"px"}),this.setText(t);let b=y.getBBox(),S=this.fontMetrics&&this.fontMetrics.h||0;t.itemWidth=t.checkboxOffset=r.itemWidth||e.labelWidth||b.width+x,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(b.height>1.5*S?b.height:S))}layoutItem(t){let e=this.options,i=this.padding,s="horizontal"===e.layout,r=t.itemHeight,n=this.itemMarginBottom,o=this.itemMarginTop,a=s?k(e.itemDistance,20):0,l=this.maxLegendWidth,h=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,d=t.legendItem||{};s&&this.itemX-i+h>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=o+this.lastLineHeight+n),this.lastLineHeight=0),this.lastItemY=o+this.itemY+n,this.lastLineHeight=Math.max(r,this.lastLineHeight),d.x=this.itemX,d.y=this.itemY,s?this.itemX+=h:(this.itemY+=o+r+n,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((s?this.itemX-i-(t.checkbox?0:a):h)+i,this.offsetWidth)}getAllItems(){let t=[];return this.chart.series.forEach(function(e){let i=e&&e.options;e&&k(i.showInLegend,!x(i.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}
vendor: 6,103 bytes, line 1
1).labels||("point"===i.legendType?e.data:e)))}),w(this,"afterGetAllItems",{allItems:t}),t}getAlignment(){let t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}adjustMargins(t,e){let i=this.chart,s=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(n,o){n.test(r)&&!x(t[o])&&(i[p[o]]=Math.max(i[p[o]],i.legend[(o+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][o]*s[o%2?"x":"y"]+k(s.margin,12)+e[o]+(i.titleOffset[o]||0)))})}proximatePositions(){let t,e=this.chart,i=[],s="left"===this.options.align;for(let r of(this.allItems.forEach(function(t){let r,n,o,a,l=s;t.yAxis&&(t.xAxis.options.reversed&&(l=!l),t.points&&(r=S(l?t.points:t.points.slice(0).reverse(),function(t){return C(t.plotY)})),n=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,a=t.yAxis.top-e.plotTop,o=t.visible?(r?r.plotY:t.yAxis.height)+(a-.3*n):a+t.yAxis.height,i.push({target:o,size:n,item:t}))},this),f(i,e.plotHeight)))t=r.item.legendItem||{},C(r.pos)&&(t.y=e.plotTop-e.spacing[0]+r.pos)}render(){let t,e,i,s,r=this.chart,n=r.renderer,o=this.options,a=this.padding,l=this.getAllItems(),h=this.group,d=this.box;this.itemX=a,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=M(o.width,r.spacingBox.width-a),s=r.spacingBox.width-2*a-o.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(s/=2),this.maxLegendWidth=this.widthOption||s,h||(this.group=h=n.g("legend").addClass(o.className||"").attr({zIndex:7}).add(),this.contentGroup=n.g().attr({zIndex:1}).add(h),this.scrollGroup=n.g().add(this.contentGroup)),this.renderTitle(),D(l,(t,e)=>(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)),o.reversed&&l.reverse(),this.allItems=l,this.display=t=!!l.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,l.forEach(this.renderItem,this),l.forEach(this.layoutItem,this),e=(this.widthOption||this.offsetWidth)+a,i=this.lastItemY+this.lastLineHeight+this.titleHeight,i=this.handleOverflow(i)+a,d||(this.box=d=n.rect().addClass("highcharts-legend-box").attr({r:o.borderRadius}).add(h)),r.styledMode||d.attr({stroke:o.borderColor,"stroke-width":o.borderWidth||0,fill:o.backgroundColor||"none"}).shadow(o.shadow),e>0&&i>0&&d[d.placed?"animate":"attr"](d.crisp.call({},{x:0,y:0,width:e,height:i},d.strokeWidth())),h[t?"show":"hide"](),r.styledMode&&"none"===h.getStyle("display")&&(e=i=0),this.legendWidth=e,this.legendHeight=i,t&&this.align(),this.proximate||this.positionItems(),w(this,"afterRender")}align(t=this.chart.spacingBox){let e=this.chart,i=this.options,s=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&e.titleOffset[0]>0?s+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e.titleOffset[2]>0&&(s-=e.titleOffset[2]),s!==t.y&&(t=T(t,{y:s})),e.hasRendered||(this.group.placed=!1),this.group.align(T(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)}handleOverflow(t){let e,i,s,r=this,n=this.chart,o=n.renderer,a=this.options,l=a.y,h="top"===a.verticalAlign,d=this.padding,c=a.maxHeight,u=a.navigation,p=k(u.animation,!0),f=u.arrowSize||12,g=this.pages,m=this.allItems,v=function(t){"number"==typeof t?S.attr({height:t}):S&&(r.clipRect=S.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+d+"px,9999px,"+(d+t)+"px,0)":"auto")},y=function(t){return r[t]=o.circle(0,0,1.3*f).translate(f/2,f/2).add(b),n.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]},x=n.spacingBox.height+(h?-l:l)-d,b=this.nav,S=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(x/=2),c&&(x=Math.min(x,c)),g.length=0,t&&x>0&&t>x&&!1!==u.enabled?(this.clipHeight=e=Math.max(x-20-this.titleHeight-d,0),this.currentPage=k(this.currentPage,1),this.fullHeight=t,m.forEach((t,r)=>{let n=(s=t.legendItem||{}).y||0,o=Math.round(s.label.getBBox().height),a=g.length;(!a||n-g[a-1]>e&&(i||n)!==g[a-1])&&(g.push(i||n),a++),s.pageIx=a-1,i&&((m[r-1].legendItem||{}).pageIx=a-1),r===m.length-1&&n+o-g[a-1]>e&&n>g[a-1]&&(g.push(n),s.pageIx=a),n!==i&&(i=n)}),S||(S=r.clipRect=o.clipRect(0,d-2,9999,0),r.contentGroup.clip(S)),v(e),b||(this.nav=b=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,f,f).add(b),y("upTracker").on("click",function(){r.scroll(-1,p)}),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),!n.styledMode&&u.style&&this.pager.css(u.style),this.pager.add(b),this.down=o.symbol("triangle-down",0,0,f,f).add(b),y("downTracker").on("click",function(){r.scroll(1,p)})),r.scroll(0),t=x):b&&(v(),this.nav=b.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}scroll(t,e){let i=this.chart,s=this.pages,r=s.length,n=this.clipHeight,o=this.options.navigation,a=this.pager,l=this.padding,c=this.currentPage+t;c>r&&(c=r),c>0&&(void 0!==e&&d(e,i),this.nav.attr({translateX:l,translateY:n+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(t){t.attr({class:1===c?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),a.attr({text:c+"/"+r}),[this.down,this.downTracker].forEach(function(t){t.attr({x:18+this.pager.getBBox().width,class:c===r?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),i.styledMode||(this.up.attr({fill:1===c?o.inactiveColor:o.activeColor}),this.upTracker.css({cursor:1===c?"default":"pointer"}),this.down.attr({fill:c===r?o.inactiveColor:o.activeColor}),this.downTracker.css({cursor:c===r?"default":"pointer"})),this.scrollOffset=-s[c-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=c,this.positionCheckboxes(),P(()=>{w(this,"afterScroll",{currentPage:c})},h(k(e,i.renderer.globalAnimation,!0)).duration))}setItemEvents(t,e,i){let n=this,o=t.legendItem||{},a=n.chart.renderer.boxWrapper,l=t instanceof r,h=t instanceof s,d="highcharts-legend-"+(l?"point":"series")+"-active",c=n.chart.styledMode,u=i?[e,o.symbol]:[o.group],p=e=>
1{n.allItems.forEach(i=>{t!==i&&[i].concat(i.linkedSeries||[]).forEach(t=>{t.setState(e,!l)})})};for(let s of u)s&&s.on("mouseover",function(){t.visible&&p("inactive"),t.setState("hover"),t.visible&&a.addClass(d),c||e.css(n.options.itemHoverStyle)}).on("mouseout",function(){n.chart.styledMode||e.css(T(t.visible?n.itemStyle:n.itemHiddenStyle)),p(""),a.removeClass(d),t.setState()}).on("click",function(e){a.removeClass(d),w(n,"itemClick",{browserEvent:e,legendItem:t},function(){t.setVisible&&t.setVisible(),p(t.visible?"inactive":"")}),l?t.firePointEvent("legendItemClick",{browserEvent:e}):h&&w(t,"legendItemClick",{browserEvent:e})})}createCheckboxForItem(t){t.checkbox=v("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),m(t.checkbox,"click",function(e){let i=e.target;w(t.series||t,"checkboxClick",{checked:i.checked,item:t},function(){t.select()})})}}return(l=L||(L={})).compose=function(t){A(u,"Core.Legend")&&m(t,"beforeMargins",function(){this.legend=new l(this,this.options.legend)})},L}),i(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],function(t,e,i,s,r,n,o,a,l,h,d,c,u,p){let{animate:f,animObject:g,setAnimation:m}=t,{defaultOptions:v,defaultTime:y}=i,{numberFormat:x}=s,{registerEventOptions:b}=r,{charts:S,doc:w,marginNames:C,svg:T,win:k}=n,{seriesTypes:A}=l,{addEvent:M,attr:D,createElement:P,css:L,defined:E,diffObjects:O,discardElement:I,erase:j,error:R,extend:_,find:N,fireEvent:B,getStyle:z,isArray:F,isNumber:H,isObject:W,isString:G,merge:X,objectEach:U,pick:Y,pInt:V,relativeLength:$,removeEvent:q,splat:Z,syncTimeout:K,uniqueKey:J}=c;class Q{static chart(t,e,i){return new Q(t,e,i)}constructor(t,e,i){this.sharedClips={};let s=[...arguments];(G(t)||t.nodeName)&&(this.renderTo=s.shift()),this.init(s[0],s[1])}setZoomOptions(){let t=this.options.chart,e=t.zooming;this.zooming={...e,type:Y(t.zoomType,e.type),key:Y(t.zoomKey,e.key),pinchType:Y(t.pinchType,e.pinchType),singleTouch:Y(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:X(e.resetButton,t.resetZoomButton)}}init(t,e){B(this,"init",{args:arguments},function(){let i=X(v,t),s=i.chart;this.userOptions=_({},t),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new d(t.time):n.time,this.numberFormatter=s.numberFormatter||x,this.styledMode=s.styledMode,this.hasCartesianSeries=s.showAxes,this.index=S.length,S.push(this),n.chartCount++,b(this,s),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),B(this,"afterInit"),this.firstRender()})}initSeries(t){let e=this.options.chart,i=t.type||e.type,s=A[i];s||R(17,!0,this,{missingModuleFor:i});let r=new s;return"function"==typeof r.init&&r.init(this,t),r}setSortedData(){this.getSeriesOrderByLinks().forEach(function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0})}orderItems(t,e=0){let i=this[t],s=this.options[t]=Z(this.options[t]).slice(),r=this.userOptions[t]=this.userOptions[t]?Z(this.userOptions[t]).slice():[];if(this.hasRendered&&(s.splice(e),r.splice(e)),i)for(let n=e,o=i.length;n<o;++n){let t=i[n];t&&(t.index=n,t instanceof a&&(t.name=t.getName()),t.options.isInternal||(s[n]=t.options,r[n]=t.userOptions))}}isInsidePlot(t,e,i={}){let{inverted:s,plotBox:r,plotLeft:n,plotTop:o,scrollablePlotBox:a}=this,{scrollLeft:l=0,scrollTop:h=0}=i.visiblePlotOnly&&this.scrollablePlotArea?.scrollingContainer||{},d=i.series,c=i.visiblePlotOnly&&a||r,u=i.inverted?e:t,p=i.inverted?t:e,f={x:u,y:p,isInsidePlot:!0,options:i};if(!i.ignoreX){let t=d&&(s&&!this.polar?d.yAxis:d.xAxis)||{pos:n,len:1/0},e=i.paneCoordinates?t.pos+u:n+u;e>=Math.max(l+n,t.pos)&&e<=Math.min(l+n+c.width,t.pos+t.len)||(f.isInsidePlot=!1)}if(!i.ignoreY&&f.isInsidePlot){let t=!s&&i.axis&&!i.axis.isXAxis&&i.axis||d&&(s?d.xAxis:d.yAxis)||{pos:o,len:1/0},e=i.paneCoordinates?t.pos+p:o+p;e>=Math.max(h+o,t.pos)&&e<=Math.min(h+o+c.height,t.pos+t.len)||(f.isInsidePlot=!1)}return B(this,"afterIsInsidePlot",f),f.isInsidePlot}redraw(t){B(this,"beforeRedraw");let e,i,s,r,n=this.hasCartesianSeries?this.axes:this.colorAxis||[],o=this.series,a=this.pointer,l=this.legend,h=this.userOptions.legend,d=this.renderer,c=d.isHidden(),u=[],p=this.isDirtyBox,f=this.isDirtyLegend;for(d.rootFontSize=d.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),m(!!this.hasRendered&&t,this),c&&this.temporaryDisplay(),this.layOutTitles(!1),s=o.length;s--;)if(((r=o[s]).options.stacking||r.options.centerInCategory)&&(i=!0,r.isDirty)){e=!0;break}if(e)for(s=o.length;s--;)(r=o[s]).options.stacking&&(r.isDirty=!0);
1o.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),f=!0):h&&(h.labelFormatter||h.labelFormat)&&(f=!0)),t.isDirtyData&&B(t,"updatedData")}),f&&l&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),i&&this.getStacks(),n.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),n.forEach(function(t){t.isDirty&&(p=!0)}),n.forEach(function(t){let e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,u.push(function(){B(t,"afterSetExtremes",_(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(p||i)&&t.redraw()}),p&&this.drawChartBox(),B(this,"predraw"),o.forEach(function(t){(p||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),a&&a.reset(!0),d.draw(),B(this,"redraw"),B(this,"render"),c&&this.temporaryDisplay(!0),u.forEach(function(t){t.call()})}get(t){let e=this.series;function i(e){return e.id===t||e.options&&e.options.id===t}let s=N(this.axes,i)||N(this.series,i);for(let r=0;!s&&r<e.length;r++)s=N(e[r].points||[],i);return s}getAxes(){let t=this.userOptions;for(let i of(B(this,"getAxes"),["xAxis","yAxis"]))for(let s of t[i]=Z(t[i]||{}))new e(this,s,i);B(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((t,e)=>(e.getPointsCollection().forEach(e=>{Y(e.selectedStaging,e.selected)&&t.push(e)}),t),[])}getSelectedSeries(){return this.series.filter(function(t){return t.selected})}setTitle(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)}applyDescription(t,e){let i=this,s=this.options[t]=X(this.options[t],e),r=this[t];r&&e&&(this[t]=r=r.destroy()),s&&!r&&((r=this.renderer.text(s.text,0,0,s.useHTML).attr({align:s.align,class:"highcharts-"+t,zIndex:s.zIndex||4}).add()).update=function(e,s){i.applyDescription(t,e),i.layOutTitles(s)},this.styledMode||r.css(_("title"===t?{fontSize:this.options.isStock?"1em":"1.2em"}:{},s.style)),this[t]=r)}layOutTitles(t=!0){let e=[0,0,0],i=this.renderer,s=this.spacingBox;["title","subtitle","caption"].forEach(function(t){let r=this[t],n=this.options[t],o=n.verticalAlign||"top",a="title"===t?"top"===o?-3:0:"top"===o?e[0]+2:0;if(r){r.css({width:(n.width||s.width+(n.widthAdjust||0))+"px"});let t=i.fontMetrics(r).b,l=Math.round(r.getBBox(n.useHTML).height);r.align(_({y:"bottom"===o?t:a+t,height:l},n),!1,"spacingBox"),n.floating||("top"===o?e[0]=Math.ceil(e[0]+l):"bottom"===o&&(e[2]=Math.ceil(e[2]+l)))}},this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);let r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,B(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}getContainerBox(){return{width:z(this.renderTo,"width",!0)||0,height:z(this.renderTo,"height",!0)||0}}getChartSize(){let t=this.options.chart,e=t.width,i=t.height,s=this.getContainerBox();this.chartWidth=Math.max(0,e||s.width||600),this.chartHeight=Math.max(0,$(i,this.chartWidth)||(s.height>1?s.height:400)),this.containerBox=s}temporaryDisplay(t){let e,i=this.renderTo;if(t)for(;i&&i.style;)i.hcOrigStyle&&(L(i,i.hcOrigStyle),delete i.hcOrigStyle),i.hcOrigDetached&&(w.body.removeChild(i),i.hcOrigDetached=!1),i=i.parentNode;else for(;i&&i.style&&(w.body.contains(i)||i.parentNode||(i.hcOrigDetached=!0,w.body.appendChild(i)),("none"===z(i,"display",!1)||i.hcOricDetached)&&(i.hcOrigStyle={display:i.style.display,height:i.style.height,overflow:i.style.overflow},e={display:"block",overflow:"hidden"},i!==this.renderTo&&(e.height=0),L(i,e),i.offsetWidth||i.style.setProperty("display","block","important")),(i=i.parentNode)!==w.body););}setClassName(t){this.container.className="highcharts-container "+(t||"")}getContainer(){let t,e=this.options,i=e.chart,s="data-highcharts-chart",r=J(),a=this.renderTo;a||(this.renderTo=a=i.renderTo),G(a)&&(this.renderTo=a=w.getElementById(a)),a||R(13,!0,this);let l=V(D(a,s));H(l)&&S[l]&&S[l].hasRendered&&S[l].destroy(),D(a,s,this.index),a.innerHTML=u.emptyHTML,i.skipClone||a.offsetWidth||this.temporaryDisplay(),this.getChartSize();
1let d=this.chartHeight,c=this.chartWidth;L(a,{overflow:"hidden",pointerEvents:n.isChrome?"fill":"auto"}),this.styledMode||(t=_({position:"relative",overflow:"hidden",width:c+"px",height:d+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{}));let p=P("div",{id:r},t,a);this.container=p,this.getChartSize(),c===this.chartWidth||(c=this.chartWidth,this.styledMode||L(p,{width:Y(i.style?.width,c+"px")})),this.containerBox=this.getContainerBox(),this._cursor=p.style.cursor;let f=i.renderer||!T?o.getRendererType(i.renderer):h;if(this.renderer=new f(p,c,d,void 0,i.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),m(void 0,this),this.setClassName(i.className),this.styledMode)for(let n in e.defs)this.renderer.definition(e.defs[n]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,B(this,"afterGetContainer")}getMargins(t){let{spacing:e,margin:i,titleOffset:s}=this;this.resetMargins(),s[0]&&!E(i[0])&&(this.plotTop=Math.max(this.plotTop,s[0]+e[0])),s[2]&&!E(i[2])&&(this.marginBottom=Math.max(this.marginBottom,s[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),B(this,"getMargins"),t||this.getAxisMargins()}getAxisMargins(){let t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,s=t.margin,r=function(t){t.forEach(function(t){t.visible&&t.getOffset()})};t.hasCartesianSeries?r(t.axes):i&&i.length&&r(i),C.forEach(function(i,r){E(s[r])||(t[i]+=e[r])}),t.setChartSize()}getOptions(){return O(this.userOptions,v)}reflow(t){let e=this,i=e.containerBox,s=e.getContainerBox();delete e.pointer?.chartPosition,!e.isPrinting&&!e.isResizing&&i&&s.width&&((s.width!==i.width||s.height!==i.height)&&(c.clearTimeout(e.reflowTimeout),e.reflowTimeout=K(function(){e.container&&e.setSize(void 0,void 0,!1)},t?100:0)),e.containerBox=s)}setReflow(){let t=this,e=e=>{t.options?.chart.reflow&&t.hasLoaded&&t.reflow(e)};if("function"==typeof ResizeObserver)new ResizeObserver(e).observe(t.renderTo);else{let t=M(k,"resize",e);M(this,"destroy",t)}}setSize(t,e,i){let s=this,r=s.renderer;s.isResizing+=1,m(i,s);let n=r.globalAnimation;s.oldChartHeight=s.chartHeight,s.oldChartWidth=s.chartWidth,void 0!==t&&(s.options.chart.width=t),void 0!==e&&(s.options.chart.height=e),s.getChartSize();let{chartWidth:o,chartHeight:a,scrollablePixelsX:l=0,scrollablePixelsY:h=0}=s;(s.isDirtyBox||o!==s.oldChartWidth||a!==s.oldChartHeight)&&(s.styledMode||(n?f:L)(s.container,{width:`${o+l}px`,height:`${a+h}px`},n),s.setChartSize(!0),r.setSize(o,a,n),s.axes.forEach(function(t){t.isDirty=!0,t.setScale()}),s.isDirtyLegend=!0,s.isDirtyBox=!0,s.layOutTitles(),s.getMargins(),s.redraw(n),s.oldChartHeight=void 0,B(s,"resize"),setTimeout(()=>{s&&B(s,"endResize")},g(n).duration)),s.isResizing-=1}
1setChartSize(t){let e,i,s,r,{chartHeight:n,chartWidth:o,inverted:a,spacing:l,renderer:h}=this,d=this.clipOffset,c=Math[a?"floor":"round"];this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=s=Math.max(0,Math.round(o-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(n-i-this.marginBottom)),this.plotSizeX=a?r:s,this.plotSizeY=a?s:r,this.spacingBox=h.spacingBox={x:l[3],y:l[0],width:o-l[3]-l[1],height:n-l[0]-l[2]},this.plotBox=h.plotBox={x:e,y:i,width:s,height:r},d&&(this.clipBox={x:c(d[3]),y:c(d[0]),width:c(this.plotSizeX-d[1]-d[3]),height:c(this.plotSizeY-d[0]-d[2])}),t||(this.axes.forEach(function(t){t.setAxisSize(),t.setAxisTranslation()}),h.alignElements()),B(this,"afterSetChartSize",{skipAxes:t})}resetMargins(){B(this,"resetMargins");let t=this,e=t.options.chart,i=e.plotBorderWidth||0,s=i/2;["margin","spacing"].forEach(function(i){let s=e[i],r=W(s)?s:[s,s,s,s];["Top","Right","Bottom","Left"].forEach(function(s,n){t[i][n]=Y(e[i+s],r[n])})}),C.forEach(function(e,i){t[e]=Y(t.margin[i],t.spacing[i])}),t.axisOffset=[0,0,0,0],t.clipOffset=[s,s,s,s],t.plotBorderWidth=i}drawChartBox(){let t,e,i,s=this.options.chart,r=this.renderer,n=this.chartWidth,o=this.chartHeight,a=this.styledMode,l=this.plotBGImage,h=s.backgroundColor,d=s.plotBackgroun
1dColor,c=s.plotBackgroundImage,u=this.plotLeft,p=this.plotTop,f=this.plotWidth,g=this.plotHeight,m=this.plotBox,v=this.clipRect,y=this.clipBox,x=this.chartBackground,b=this.plotBackground,S=this.plotBorder,w="animate";x||(this.chartBackground=x=r.rect().addClass("highcharts-background").add(),w="attr"),a?t=e=x.strokeWidth():(e=(t=s.borderWidth||0)+(s.shadow?8:0),i={fill:h||"none"},(t||x["stroke-width"])&&(i.stroke=s.borderColor,i["stroke-width"]=t),x.attr(i).shadow(s.shadow)),x[w]({x:e/2,y:e/2,width:n-e-t%2,height:o-e-t%2,r:s.borderRadius}),w="animate",b||(w="attr",this.plotBackground=b=r.rect().addClass("highcharts-plot-background").add()),b[w](m),!a&&(b.attr({fill:d||"none"}).shadow(s.plotShadow),c&&(l?(c!==l.attr("href")&&l.attr("href",c),l.animate(m)):this.plotBGImage=r.image(c,u,p,f,g).add())),v?v.animate({width:y.width,height:y.height}):this.clipRect=r.clipRect(y),w="animate",S||(w="attr",this.plotBorder=S=r.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),a||S.attr({stroke:s.plotBorderColor,"stroke-width":s.plotBorderWidth||0,fill:"none"}),S[w](S.crisp({x:u,y:p,width:f,height:g},-S.strokeWidth())),this.isDirtyBox=!1,B(this,"afterDrawChartBox")}propFromSeries(){let t,e,i,s=this,r=s.options.chart,n=s.options.series;["inverted","angular","polar"].forEach(function(o){for(e=A[r.type],i=r[o]||e&&e.prototype[o],t=n&&n.length;!i&&t--;)(e=A[n[t].type])&&e.prototype[o]&&(i=!0);s[o]=i})}linkSeries(t){let e=this,i=e.series;i.forEach(function(t){t.linkedSeries.length=0}),i.forEach(function(t){let{linkedTo:i}=t.options;if(G(i)){let s;(s=":previous"===i?e.series[t.index-1]:e.get(i))&&s.linkedParent!==t&&(s.linkedSeries.push(t),t.linkedParent=s,s.enabledDataSorting&&t.setDataSortingOptions(),t.visible=Y(t.options.visible,s.options.visible,t.visible))}}),B(this,"afterLinkSeries",{isUpdating:t})}renderSeries(){this.series.forEach(function(t){t.translate(),t.render()})}render(){let t,e=this.axes,i=this.colorAxis,s=this.renderer,r=this.options.chart.axisLayoutRuns||2,n=t=>{t.forEach(t=>{t.visible&&t.render()})},o=0,a=!0,l=0;for(let h of(this.setTitle(),B(this,"beforeMargins"),this.getStacks?.(),this.getMargins(!0),this.setChartSize(),e)){let{options:t}=h,{labels:e}=t;if(this.hasCartesianSeries&&h.horiz&&h.visible&&e.enabled&&h.series.length&&"colorAxis"!==h.coll&&!this.polar){o=t.tickLength,h.createGroups();let i=new p(h,0,"",!0),s=i.createLabel("x",e);if(i.destroy(),s&&Y(e.reserveSpace,!H(t.crossing))&&(o=s.getBBox().height+e.distance+Math.max(t.offset||0,0)),o){s?.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-o,0);(a||t||r>1)&&l<r;){let i=this.plotWidth,s=this.plotHeight;for(let r of e)0===l?r.setScale():(r.horiz&&a||!r.horiz&&t)&&r.setTickInterval(!0);0===l?this.getAxisMargins():this.getMargins(),a=i/this.plotWidth>(l?1:1.1),t=s/this.plotHeight>(l?1:1.05),l++}this.drawChartBox(),this.hasCartesianSeries?n(e):i&&i.length&&n(i),this.seriesGroup||(this.seriesGroup=s.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(t){let e=this,i=X(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){i.href&&(k.location.href=i.href)}).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})}destroy(){let t,e=this,i=e.axes,s=e.series,r=e.container,o=r&&r.parentNode;for(B(e,"destroy"),e.renderer.forExport?j(S,e):S[e.index]=void 0,n.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),q(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=s.length;t--;)s[t]=s[t].destroy();
1["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(t){let i=e[t];i&&i.destroy&&(e[t]=i.destroy())}),r&&(r.innerHTML=u.emptyHTML,q(r),o&&I(r)),U(e,function(t,i){delete e[i]})}firstRender(){let t=this,e=t.options;t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes();let i=F(e.series)?e.series:[];e.series=[],i.forEach(function(e){t.initSeries(e)}),t.linkSeries(),t.setSortedData(),B(t,"beforeRender"),t.render(),t.pointer?.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(t){t&&void 0!==this.index&&t.apply(this,[this])},this),B(this,"load"),B(this,"render"),E(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:t,title:e}=this;!t||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/</g,"<")}),t.accessibility&&!1===t.accessibility.enabled||R('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(t,e,i){let s,r=this;return t&&(e=Y(e,!0),B(r,"addSeries",{options:t},function(){s=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),s.enabledDataSorting&&s.setData(t.data,!1),B(r,"afterAddSeries",{series:s}),e&&r.redraw(i)})),s}addAxis(t,e,i,s){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:s})}addColorAxis(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})}createAxis(t,i){let s=new e(this,i.axis,t);return Y(i.redraw,!0)&&this.redraw(i.animation),s}showLoading(t){let e=this,i=e.options,s=i.loading,r=function(){n&&L(n,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},n=e.loadingDiv,o=e.loadingSpan;n||(e.loadingDiv=n=P("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),o||(e.loadingSpan=o=P("span",{className:"highcharts-loading-inner"},null,n),M(e,"redraw",r)),n.className="highcharts-loading",u.setElementHTML(o,Y(t,i.lang.loading,"")),e.styledMode||(L(n,_(s.style,{zIndex:10})),L(o,s.labelStyle),e.loadingShown||(L(n,{opacity:0,display:""}),f(n,{opacity:s.style.opacity||.5},{duration:s.showDuration||0}))),e.loadingShown=!0,r()}hideLoading(){let t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||f(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){L(e,{display:"none"})}})),this.loadingShown=!1}update(t,e,i,s){let r,n,o,a=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},h=t.isResponsiveOptions,c=[];B(a,"update",{options:t}),h||a.setResponsive(!1,!0),t=O(t,a.options),a.userOptions=X(a.userOptions,t);let u=t.chart;u&&(X(!0,a.options.chart,u),this.setZoomOptions(),"className"in u&&a.setClassName(u.className),("inverted"in u||"polar"in u||"type"in u)&&(a.propFromSeries(),r=!0),"alignTicks"in u&&(r=!0),"events"in u&&b(this,u),U(u,function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(n=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1===a.propsRequireReflow.indexOf(e)||(a.isDirtyBox=!0,h||(o=!0))}),!a.styledMode&&u.style&&a.renderer.setStyle(a.options.chart.style||{})),!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===y&&(this.time=new d(t.time)),X(!0,a.options.time,t.time)),U(t,function(e,i){a[i]&&"function"==typeof a[i].update?a[i].update(e,!1):"function"==typeof a[l[i]]?a[l[i]](e):"colors"!==i&&-1===a.collectionsWithUpdate.indexOf(i)&&X(!0,a.options[i],t[i]),"chart"!==i&&-1!==a.propsRequireUpdateSeries.indexOf(i)&&(n=!0)}),this.collectionsWithUpdate.forEach(function(e){t[e]&&(Z(t[e]).forEach(function(t,s){let r,n=E(t.id);n&&(r=a.get(t.id)),!r&&a[e]&&(r=a[e][Y(t.index,s)])&&(n&&E(r.options.id)||r.options.isInternal)&&(r=void 0),r&&r.coll===e&&(r.update(t,!1),i&&(r.touched=!0)),!r&&i&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)}),i&&a[e].forEach(function(t){t.touched||t.options.isInternal?delete t.touched:c.push(t)}))}
1),c.forEach(function(t){t.chart&&t.remove&&t.remove(!1)}),r&&a.axes.forEach(function(t){t.update({},!1)}),n&&a.getSeriesOrderByLinks().forEach(function(t){t.chart&&t.update({},!1)},this);let p=u&&u.width,f=u&&(G(u.height)?$(u.height,p||a.chartWidth):u.height);o||H(p)&&p!==a.chartWidth||H(f)&&f!==a.chartHeight?a.setSize(p,f,s):Y(e,!0)&&a.redraw(s),B(a,"afterUpdate",{options:t,redraw:e,animation:s})}setSubtitle(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)}setCaption(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}showResetZoom(){let t=this,e=v.lang,i=t.zooming.resetButton,s=i.theme,r="chart"===i.relativeTo||"spacingBox"===i.relativeTo?null:"plotBox";function n(){t.zoomOut()}B(this,"beforeShowResetZoom",null,function(){t.resetZoomButton=t.renderer.button(e.resetZoom,null,null,n,s).attr({align:i.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i.position,!1,r)}),B(this,"afterShowResetZoom")}zoomOut(){B(this,"selection",{resetSelection:!0},()=>this.transform({reset:!0,trigger:"zoom"}))}pan(t,e){let i=this,s="object"==typeof e?e:{enabled:e,type:"x"},r=s.type,n=r&&i[{x:"xAxis",xy:"axes",y:"yAxis"}[r]].filter(t=>t.options.panningEnabled&&!t.options.isInternal),o=i.options.chart;o?.panning&&(o.panning=s),B(this,"pan",{originalEvent:t},()=>{i.transform({axes:n,event:t,to:{x:t.chartX-(i.mouseDownX||0),y:t.chartY-(i.mouseDownY||0)},trigger:"pan"}),L(i.container,{cursor:"move"})})}transform(t){let e,i,{axes:s=this.axes,event:r,from:n={},reset:o,selection:a,to:l={},trigger:h}=t,{inverted:d}=this,c=!1;for(let u of(this.hoverPoints?.forEach(t=>t.setState()),s)){let{horiz:t,len:s,minPointOffset:p=0,options:f,reversed:g}=u,m=t?"width":"height",v=t?"x":"y",y=Y(l[m],u.len),x=Y(n[m],u.len),b=10>Math.abs(y)?1:y/x,S=(n[v]||0)+x/2-u.pos,w=S-((l[v]??u.pos)+y/2-u.pos)/b,C=g&&!d||!g&&d?-1:1;if(!o&&(S<0||S>u.len))continue;let T=u.toValue(w,!0)+(a?0:p*C),k=u.toValue(w+s/b,!0)-(a?0:p*C||0),A=u.allExtremes;if(T>k&&([T,k]=[k,T]),1===b&&!o&&"yAxis"===u.coll&&!A){for(let t of u.series){let e=t.getExtremes(t.getProcessedData(!0).yData,!0);A??(A={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),H(e.dataMin)&&H(e.dataMax)&&(A.dataMin=Math.min(e.dataMin,A.dataMin),A.dataMax=Math.max(e.dataMax,A.dataMax))}u.allExtremes=A}let{dataMin:M,dataMax:D,min:P,max:L}=_(u.getExtremes(),A||{}),O=M??f.min,I=D??f.max,j=k-T,R=u.categories?0:Math.min(j,I-O),N=O-R*(E(f.min)?0:f.minPadding),B=I+R*(E(f.max)?0:f.maxPadding),z=u.allowZoomOutside||1===b||"zoom"!==h&&b>1,F=Math.min(f.min??N,N,z?P:N),W=Math.max(f.max??B,B,z?L:B);(!u.isOrdinal||1!==b||o)&&(T<F&&(T=F,b>=1&&(k=T+j)),k>W&&(k=W,b>=1&&(T=k-j)),(o||u.series.length&&(T!==P||k!==L)&&T>=F&&k<=W)&&(a?a[u.coll].push({axis:u,min:T,max:k}):(u.isPanning="zoom"!==h,u.isPanning&&(i=!0),u.setExtremes(o?void 0:T,o?void 0:k,!1,!1,{move:w,trigger:h,scale:b}),!o&&(T>F||k<W)&&"mousewheel"!==h&&(e=!0)),c=!0),r&&(this[t?"mouseDownX":"mouseDownY"]=r[t?"chartX":"chartY"]))}return c&&(a?B(this,"selection",a,()=>{delete t.selection,t.trigger="zoom",this.transform(t)}):(!e||i||this.resetZoomButton?!e&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===h&&(this.options.chart.animation??this.pointCount<100)))),c}}return _(Q.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Q.prototype.addAxis,[!0]],yAxis:[Q.prototype.addAxis,[!1]],series:[Q.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
1dColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),Q}),i(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,e,i,s){let{stop:r}=t,{composed:n}=e,{addEvent:o,createElement:a,css:l,defined:h,merge:d,pushUnique:c}=s;function u(){let t=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t&&(this.scrollablePlotArea=t=new f(this)),t?.applyFixed()}function p(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class f{static compose(t,e,i){c(n,this.compose)&&(o(t,"afterInit",p),o(e,"afterSetChartSize",t=>this.afterSetSize(t.target,t)),o(e,"render",u),o(i,"show",p))}static afterSetSize(t,e){let i,s,r,{minWidth:n,minHeight:o}=t.options.chart.scrollablePlotArea||{},{clipBox:a,plotBox:l,inverted:c,renderer:u}=t;if(!u.forExport&&(n?(t.scrollablePixelsX=i=Math.max(0,n-t.chartWidth),i&&(t.scrollablePlotBox=d(t.plotBox),l.width=t.plotWidth+=i,a[c?"height":"width"]+=i,r=!0)):o&&(t.scrollablePixelsY=s=Math.max(0,o-t.chartHeight),h(s)&&(t.scrollablePlotBox=d(t.plotBox),l.height=t.plotHeight+=s,a[c?"width":"height"]+=s,r=!1)),h(r)&&!e.skipAxes))for(let h of t.axes)h.horiz===r&&(h.setAxisSize(),h.setAxisTranslation())}constructor(t){let e,s=t.options.chart,r=i.getRendererType(),n=s.scrollablePlotArea||{},h=this.moveFixedElements.bind(this),d={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t.scrollablePixelsX&&(d.overflowX="auto"),t.scrollablePixelsY&&(d.overflowY="auto"),this.chart=t;let c=this.parentDiv=a("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t.renderTo),u=this.scrollingContainer=a("div",{className:"highcharts-scrolling"},d,c),p=this.innerContainer=a("div",{className:"highcharts-inner-container"},void 0,u),f=this.fixedDiv=a("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(s.style?.zIndex||0)+2,top:0},void 0,!0),g=this.fixedRenderer=new r(f,t.chartWidth,t.chartHeight,s.style);this.mask=g.path().attr({fill:s.backgroundColor||"#fff","fill-opacity":n.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),u.parentNode.insertBefore(f,u),l(t.renderTo,{overflow:"visible"}),o(t,"afterShowResetZoom",h),o(t,"afterApplyDrilldown",h),o(t,"afterLayOutTitles",h),o(u,"scroll",()=>{let{pointer:i,hoverPoint:s}=t;i&&(delete i.chartPosition,s&&(e=s),i.runPointActions(void 0,e,!0))}),p.appendChild(t.container)}applyFixed(){let{chart:t,fixedRenderer:e,isDirty:i,scrollingContainer:s}=this,{axisOffset:n,chartWidth:o,chartHeight:a,container:d,plotHeight:c,plotLeft:u,plotTop:p,plotWidth:f,scrollablePixelsX:g=0,scrollablePixelsY:m=0}=t,{scrollPositionX:v=0,scrollPositionY:y=0}=t.options.chart.scrollablePlotArea||{},x=o+g,b=a+m;e.setSize(o,a),(i??!0)&&(this.isDirty=!1,this.moveFixedElements()),r(t.container),l(d,{width:`${x}px`,height:`${b}px`}),t.renderer.boxWrapper.attr({width:x,height:b,viewBox:[0,0,x,b].join(" ")}),t.chartBackground?.attr({width:x,height:b}),l(s,{width:`${o}px`,height:`${a}px`}),h(i)||(s.scrollLeft=g*v,s.scrollTop=m*y);let S=p-n[0]-1,w=u-n[3]-1,C=p+c+n[2]+1,T=u+f+n[1]+1,k=u+f-g,A=p+c-m,M=[["M",0,0]];g?M=[["M",0,S],["L",u-1,S],["L",u-1,C],["L",0,C],["Z"],["M",k,S],["L",o,S],["L",o,C],["L",k,C],["Z"]]:m&&(M=[["M",w,0],["L",w,p-1],["L",T,p-1],["L",T,0],["Z"],["M",w,A],["L",w,a],["L",T,a],["L",T,A],["Z"]]),"adjustHeight"!==t.redrawTrigger&&this.mask.attr({d:M})}moveFixedElements(){let t,{container:e,inverted:i,scrollablePixelsX:s,scrollablePixelsY:r}=this.chart,n=this.fixedRenderer,o=f.fixedSelectors;for(let a of(s&&!i?t=".highcharts-yaxis":s&&i||r&&!i?t=".highcharts-xaxis":r&&i&&(t=".highcharts-yaxis"),t&&o.push(`${t}:not(.highcharts-radial-axis)`,`${t}-labels:not(.highcharts-radial-axis-labels)`),o))[].forEach.call(e.querySelectorAll(a),t=>
1{(t.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})}}return f.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],f}),i(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){let{format:s}=t,{series:r}=e,{destroyObjectProperties:n,fireEvent:o,isNumber:a,pick:l}=i;return class{constructor(t,e,i,s,r){let n=t.chart.inverted,o=t.reversed;this.axis=t;let a=this.isNegative=!!i!=!!o;this.options=e=e||{},this.x=s,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e.align||(n?a?"left":"right":"center"),verticalAlign:e.verticalAlign||(n?"middle":a?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(n?a?"right":"left":"center")}destroy(){n(this,this.axis)}render(t){let e=this.axis.chart,i=this.options,r=i.format,n=r?s(r,this,e):i.formatter.call(this);if(this.label)this.label.attr({text:n,visibility:"hidden"});else{this.label=e.renderer.label(n,null,void 0,i.shape,void 0,void 0,i.useHTML,!1,"stack-labels");let s={r:i.borderRadius||0,text:n,padding:l(i.padding,5),visibility:"hidden"};e.styledMode||(s.fill=i.backgroundColor,s.stroke=i.borderColor,s["stroke-width"]=i.borderWidth,this.label.css(i.style||{})),this.label.attr(s),this.label.added||this.label.add(t)}this.label.labelrank=e.plotSizeY,o(this,"afterRender")}setOffset(t,e,i,s,n,h){let{alignOptions:d,axis:c,label:u,options:p,textAlign:f}=this,g=c.chart,m=this.getStackBox({xOffset:t,width:e,boxBottom:i,boxTop:s,defaultX:n,xAxis:h}),{verticalAlign:v}=d;if(u&&m){let t,e=u.getBBox(void 0,0),i=u.padding,s="justify"===l(p.overflow,"justify");d.x=p.x||0,d.y=p.y||0;let{x:n,y:o}=this.adjustStackPosition({labelBox:e,verticalAlign:v,textAlign:f});m.x-=n,m.y-=o,u.align(d,!1,m),(t=g.isInsidePlot(u.alignAttr.x+d.x+n,u.alignAttr.y+d.y+o))||(s=!1),s&&r.prototype.justifyDataLabel.call(c,u,d,u.alignAttr,e,m),u.attr({x:u.alignAttr.x,y:u.alignAttr.y,rotation:p.rotation,rotationOriginX:e.width*{left:0,center:.5,right:1}[p.textAlign||"center"],rotationOriginY:e.height/2}),l(!s&&p.crop,!0)&&(t=a(u.x)&&a(u.y)&&g.isInsidePlot(u.x-i+(u.width||0),u.y)&&g.isInsidePlot(u.x+i,u.y)),u[t?"show":"hide"]()}o(this,"afterSetOffset",{xOffset:t,width:e})}adjustStackPosition({labelBox:t,verticalAlign:e,textAlign:i}){let s={bottom:0,middle:1,top:2,right:1,center:0,left:-1},r=s[e],n=s[i];return{x:t.width/2+t.width/2*n,y:t.height/2*r}}getStackBox(t){let e=this.axis,i=e.chart,{boxTop:s,defaultX:r,xOffset:n,width:o,boxBottom:h}=t,d=e.stacking.usePercentage?100:l(s,this.total,0),c=e.toPixels(d),u=t.xAxis||i.xAxis[0],p=l(r,u.translate(this.x))+n,f=Math.abs(c-e.toPixels(h||a(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0)),g=i.inverted,m=this.isNegative;return g?{x:(m?c:c-f)-i.plotLeft,y:u.height-p-o+u.top-i.plotTop,width:f,height:o}:{x:p+u.transB-i.plotLeft,y:(m?c-f:c)-i.plotTop,width:o,height:f}}}}),i(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,e,i,s,r){var n;let{getDeferredAnimation:o}=t,{series:{prototype:a}}=i,{addEvent:l,correctFloat:h,defined:d,destroyObjectProperties:c,fireEvent:u,isArray:p,isNumber:f,objectEach:g,pick:m}=r;function v(){let t=this.inverted;this.axes.forEach(t=>{t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),this.series.forEach(e=>{let i=e.xAxis&&e.xAxis.options||{};e.options.stacking&&e.reserveSpace()&&(e.stackKey=[e.type,m(e.options.stack,""),t?i.top:i.left,t?i.height:i.width].join(","))})}function y(){let t=this.stacking;if(t){let e=t.stacks;g(e,(t,i)=>{c(t),delete e[i]}),t.stackTotalGroup?.destroy()}}function x(){this.stacking||(this.stacking=new k(this))}function b(t,e,i,s){return!d(t)||t.x!==e||s&&t.stackKey!==s?t={x:e,index:0,key:s,stackKey:s}:t.index++,t.key=[i,e,t.index].join(","),t}function S(){let t,e=this,i=e.yAxis,s=e.stackKey||"",r=i.stacking.stacks,n=e.processedXData,o=e.options.stacking,a=e[o+"Stacker"];
1a&&[s,"-"+s].forEach(i=>{let s,o,l,h=n.length;for(;h--;)s=n[h],t=e.getStackIndicator(t,s,e.index,i),o=r[i]?.[s],(l=o?.points[t.key||""])&&a.call(e,l,o,h)})}function w(t,e,i){let s=e.total?100/e.total:0;t[0]=h(t[0]*s),t[1]=h(t[1]*s),this.stackedYData[i]=t[1]}function C(t){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a.setStackedPoints.call(this,t,"group"):t.stacking.resetStacks())}function T(t,e){let i,r,n,o,a,l,c,u,f,g=e||this.options.stacking;if(!g||!this.reserveSpace()||({group:"xAxis"}[g]||"yAxis")!==t.coll)return;let v=this.processedXData,y=this.processedYData,x=[],b=y.length,S=this.options,w=S.threshold||0,C=S.startFromThreshold?w:0,T=S.stack,k=e?`${this.type},${g}`:this.stackKey||"",A="-"+k,M=this.negStacks,D=t.stacking,P=D.stacks,L=D.oldStacks;for(D.stacksTouched+=1,c=0;c<b;c++){u=v[c],f=y[c],l=(i=this.getStackIndicator(i,u,this.index)).key||"",P[a=(r=M&&f<(C?0:w))?A:k]||(P[a]={}),P[a][u]||(L[a]?.[u]?(P[a][u]=L[a][u],P[a][u].total=null):P[a][u]=new s(t,t.options.stackLabels,!!r,u,T)),n=P[a][u],null!==f?(n.points[l]=n.points[this.index]=[m(n.cumulative,C)],d(n.cumulative)||(n.base=l),n.touched=D.stacksTouched,i.index>0&&!1===this.singleStacks&&(n.points[l][0]=n.points[this.index+","+u+",0"][0])):(delete n.points[l],delete n.points[this.index]);let e=n.total||0;"percent"===g?(o=r?k:A,e=M&&P[o]?.[u]?(o=P[o][u]).total=Math.max(o.total||0,e)+Math.abs(f)||0:h(e+(Math.abs(f)||0))):"group"===g?(p(f)&&(f=f[0]),null!==f&&e++):e=h(e+(f||0)),n.cumulative="group"===g?(e||1)-1:h(m(n.cumulative,C)+(f||0)),n.total=e,null!==f&&(n.points[l].push(n.cumulative),x[c]=n.cumulative,n.hasValidPoints=!0)}"percent"===g&&(D.usePercentage=!0),"group"!==g&&(this.stackedYData=x),D.oldStacks={}}class k{constructor(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}buildStacks(){let t,e,i=this.axis,s=i.series,r="xAxis"===i.coll,n=i.options.reversedStacks,o=s.length;for(this.resetStacks(),this.usePercentage=!1,e=o;e--;)t=s[n?e:o-e-1],r&&t.setGroupedPoints(i),t.setStackedPoints(i);if(!r)for(e=0;e<o;e++)s[e].modifyStacks();u(i,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,g(this.stacks,t=>{g(t,t=>{t.cumulative=t.total})}))}resetStacks(){g(this.stacks,t=>{g(t,(e,i)=>{f(e.touched)&&e.touched<this.stacksTouched?(e.destroy(),delete t[i]):(e.total=null,e.cumulative=null)})})}renderStackTotals(){let t=this.axis,e=t.chart,i=e.renderer,s=this.stacks,r=o(e,t.options.stackLabels?.animation||!1),n=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({zIndex:6,opacity:0}).add();n.translate(e.plotLeft,e.plotTop),g(s,t=>{g(t,t=>{t.render(n)})}),n.animate({opacity:1},r)}}return(n||(n={})).compose=function(t,e,i){let s=e.prototype,r=i.prototype;s.getStacks||(l(t,"init",x),l(t,"destroy",y),s.getStacks=v,r.getStackIndicator=b,r.modifyStacks=S,r.percentStacker=w,r.setGroupedPoints=C,r.setStackedPoints=T)},n}),i(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){let{defined:s,merge:r,isObject:n}=i;class o extends t{drawGraph(){let t=this.options,e=(this.gappedPath||this.getGraphPath).call(this),i=this.chart.styledMode;[this,...this.zones].forEach((s,o)=>{let a,l=s.graph,h=l?"animate":"attr",d=s.dashStyle||t.dashStyle;l?(l.endX=this.preventGraphAnimation?null:e.xMap,l.animate({d:e})):e.length&&(s.graph=l=this.chart.renderer.path(e).addClass("highcharts-graph"+(o?` highcharts-zone-graph-${o-1} `:" ")+(o&&s.className||"")).attr({zIndex:1}).add(this.group)),l&&!i&&(a={stroke:!o&&t.lineColor||s.color||this.color||"#cccccc","stroke-width":t.lineWidth||0,fill:this.fillGraph&&this.color||"none"},d?a.dashstyle=d:"square"!==t.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),l[h](a).shadow(o<2&&t.shadow&&r({filterUnits:"userSpaceOnUse"},n(t.shadow)?t.shadow:{}))),l&&(l.startX=e.xMap,l.isArea=e.isArea)})}getGraphPath(t,e,i){let r,n=this,o=n.options,a=[],l=[],h=o.step,d=(t=t||n.points).reversed;return d&&t.reverse(),(h={right:1,center:2}[h]||h&&3)&&d&&(h=4-h),(t=this.getValidPoints(t,!1,!(o.connectNulls&&!e&&!i))).forEac
vendor: 4,288 bytes, line 1
1h(function(d,c){let u,p=d.plotX,f=d.plotY,g=t[c-1],m=d.isNull||"number"!=typeof f;(d.leftCliff||g&&g.rightCliff)&&!i&&(r=!0),m&&!s(e)&&c>0?r=!o.connectNulls:m&&!e?r=!0:(0===c||r?u=[["M",d.plotX,d.plotY]]:n.getPointSpline?u=[n.getPointSpline(t,d,c)]:h?(u=1===h?[["L",g.plotX,f]]:2===h?[["L",(g.plotX+p)/2,g.plotY],["L",(g.plotX+p)/2,f]]:[["L",p,g.plotY]]).push(["L",p,f]):u=[["L",p,f]],l.push(d.x),h&&(l.push(d.x),2===h&&l.push(d.x)),a.push.apply(a,u),r=!1)}),a.xMap=l,n.graphPath=a,a}}return o.defaultOptions=r(t.defaultOptions,{legendSymbol:"lineMarker"}),e.registerSeriesType("line",o),o}),i(e,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),i(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){let{seriesTypes:{line:s}}=e,{extend:r,merge:n,objectEach:o,pick:a}=i;class l extends s{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t,options:e}=this;[this,...this.zones].forEach((i,s)=>{let r={},n=i.fillColor||e.fillColor,o=i.area,a=o?"animate":"attr";o?(o.endX=this.preventGraphAnimation?null:t.xMap,o.animate({d:t})):(r.zIndex=0,(o=i.area=this.chart.renderer.path(t).addClass("highcharts-area"+(s?` highcharts-zone-area-${s-1} `:" ")+(s&&i.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(r.fill=n||i.color||this.color,r["fill-opacity"]=n?1:e.fillOpacity??.75,o.css({pointerEvents:this.stickyTracking?"none":"auto"})),o[a](r),o.startX=t.xMap,o.shiftUnit=e.step?2:1})}getGraphPath(t){let e,i,r,n=s.prototype.getGraphPath,o=this.options,l=o.stacking,h=this.yAxis,d=[],c=[],u=this.index,p=h.stacking.stacks[this.stackKey],f=o.threshold,g=Math.round(h.getThreshold(o.threshold)),m=a(o.connectNulls,"percent"===l),v=function(i,s,r){let n,o,a=t[i],m=l&&p[a.x].points[u],v=a[r+"Null"]||0,y=a[r+"Cliff"]||0,x=!0;y||v?(n=(v?m[0]:m[1])+y,o=m[0]+y,x=!!v):!l&&t[s]&&t[s].isNull&&(n=o=f),void 0!==n&&(c.push({plotX:e,plotY:null===n?g:h.getThreshold(n),isNull:x,isCliff:!0}),d.push({plotX:e,plotY:null===o?g:h.getThreshold(o),doCurve:!1}))};t=t||this.points,l&&(t=this.getStackPoints(t));for(let s=0,C=t.length;s<C;++s)l||(t[s].leftCliff=t[s].rightCliff=t[s].leftNull=t[s].rightNull=void 0),i=t[s].isNull,e=a(t[s].rectPlotX,t[s].plotX),r=l?a(t[s].yBottom,g):g,i&&!m||(m||v(s,s-1,"left"),i&&!l&&m||(c.push(t[s]),d.push({x:s,plotX:e,plotY:r})),m||v(s,s+1,"right"));let y=n.call(this,c,!0,!0);d.reversed=!0;let x=n.call(this,d,!0,!0),b=x[0];b&&"M"===b[0]&&(x[0]=["L",b[1],b[2]]);let S=y.concat(x);S.length&&S.push(["Z"]);let w=n.call(this,c,!1,m);return this.chart.series.length>1&&l&&c.some(t=>t.isCliff)&&(S.hasStackedCliffs=w.hasStackedCliffs=!0),S.xMap=y.xMap,this.areaPath=S,w}getStackPoints(t){let e=this,i=[],s=[],r=this.xAxis,n=this.yAxis,l=n.stacking.stacks[this.stackKey],h={},d=n.series,c=d.length,u=n.options.reversedStacks?1:-1,p=d.indexOf(e);if(t=t||this.points,this.options.stacking){for(let e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,h[t[e].x]=t[e];o(l,function(t,e){null!==t.total&&s.push(e)}),s.sort(function(t,e){return t-e});let f=d.map(t=>t.visible);s.forEach(function(t,o){let g,m,v=0;if(h[t]&&!h[t].isNull)i.push(h[t]),[-1,1].forEach(function(i){let r=1===i?"rightNull":"leftNull",n=l[s[o+i]],a=0;if(n){let i=p;for(;i>=0&&i<c;){let s=d[i].index;!(g=n.points[s])&&(s===e.index?h[t][r]=!0:f[i]&&(m=l[t].points[s])&&(a-=m[1]-m[0])),i+=u}}h[t][1===i?"rightCliff":"leftCliff"]=a});else{let e=p;for(;e>=0&&e<c;){let i=d[e].index;if(g=l[t].points[i]){v=g[1];break}e+=u}v=a(v,0),v=n.translate(v,0,1,0,1),i.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}})}return i}}return l.defaultOptions=n(s.defaultOptions,t),r(l.prototype,{singleStacks:!1}),e.registerSeriesType("area",l),l}),i(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){let{line:i}=t.seriesTypes,{merge:s,pick:r}=e;class n extends i{getPointSpline(t,e,i){let s,n,o,a,l=e.plotX||0,h=e.plotY||0,d=t[i-1],c=t[i+1];function u(t){return t&&!t.isNull&&!1!==t.doCurve&&!e.isCliff}if(u(d)&&u(c)){let t=d.plotX||0,i=d.plotY||0,r=c.plotX||0,u=c.plotY||0,p=0;s=(1.5*l+t)/2.5,n=(1.5*h+i)/2.5,o=(1.5*l+r)/2.5,a=(1.5*h+u)/2.5,o!==s&&(p=(a-n)*(o-l)/(o-s)+h-a),n+=
1p,a+=p,n>i&&n>h?(n=Math.max(i,h),a=2*h-n):n<i&&n<h&&(n=Math.min(i,h),a=2*h-n),a>u&&a>h?(a=Math.max(u,h),n=2*h-a):a<u&&a<h&&(a=Math.min(u,h),n=2*h-a),e.rightContX=o,e.rightContY=a,e.controlPoints={low:[s,n],high:[o,a]}}let p=["C",r(d.rightContX,d.plotX,0),r(d.rightContY,d.plotY,0),r(s,l,0),r(n,h,0),l,h];return d.rightContX=d.rightContY=void 0,p}}return n.defaultOptions=s(i.defaultOptions),t.registerSeriesType("spline",n),n}),i(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){let{area:s,area:{prototype:r}}=e.seriesTypes,{extend:n,merge:o}=i;class a extends t{}return a.defaultOptions=o(t.defaultOptions,s.defaultOptions),n(a.prototype,{getGraphPath:r.getGraphPath,getStackPoints:r.getStackPoints,drawGraph:r.drawGraph}),e.registerSeriesType("areaspline",a),a}),i(e,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),i(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i,s,r,n,o){let{animObject:a}=t,{parse:l}=e,{noop:h}=s,{clamp:d,crisp:c,defined:u,extend:p,fireEvent:f,isArray:g,isNumber:m,merge:v,pick:y,objectEach:x}=o;class b extends r{animate(t){let e,i,s=this,r=this.yAxis,n=r.pos,o=r.reversed,l=s.options,{clipOffset:h,inverted:c}=this.chart,u={},f=c?"translateX":"translateY";t&&h?(u.scaleY=.001,i=d(r.toPixels(l.threshold),n,n+r.len),c?(i+=o?-Math.floor(h[0]):Math.ceil(h[2]),u.translateX=i-r.len):(i+=o?Math.ceil(h[0]):-Math.floor(h[2]),u.translateY=i),s.clipBox&&s.setClip(),s.group.attr(u)):(e=Number(s.group.attr(f)),s.group.animate({scaleY:1},p(a(s.options.animation),{step:function(t,i){s.group&&(u[f]=e+i.pos*(n-e),s.group.attr(u))}})))}init(t,e){super.init.apply(this,arguments);let i=this;(t=i.chart).hasRendered&&t.series.forEach(function(t){t.type===i.type&&(t.isDirty=!0)})}getColumnMetrics(){let t,e=this,i=e.options,s=e.xAxis,r=e.yAxis,n=s.options.reversedStacks,o=s.reversed&&!n||!s.reversed&&n,a={},l=0;!1===i.grouping?l=1:e.chart.series.forEach(function(i){let s,n=i.yAxis,o=i.options;i.type===e.type&&i.reserveSpace()&&r.len===n.len&&r.pos===n.pos&&(o.stacking&&"group"!==o.stacking?(void 0===a[t=i.stackKey]&&(a[t]=l++),s=a[t]):!1!==o.grouping&&(s=l++),i.columnIndex=s)});let h=Math.min(Math.abs(s.transA)*(!s.brokenAxis?.hasBreaks&&s.ordinal?.slope||i.pointRange||s.closestPointRange||s.tickInterval||1),s.len),d=h*i.groupPadding,c=(h-2*d)/(l||1),u=Math.min(i.maxPointWidth||s.len,y(i.pointWidth,c*(1-2*i.pointPadding))),p=(e.columnIndex||0)+(o?1:0);return e.columnMetrics={width:u,offset:(c-u)/2+(d+p*c-h/2)*(o?-1:1),paddedWidth:c,columnCount:l},e.columnMetrics}crispCol(t,e,i,s){let r=this.borderWidth,n=this.chart.inverted;return s=c(e+s,r,n)-(e=c(e,r,n)),this.options.crisp&&(i=c(t+i,r)-(t=c(t,r))),{x:t,y:e,width:i,height:s}}adjustForMissingColumns(t,e,i,s){if(!i.isNull&&s.columnCount>1){let r=this.xAxis.series.filter(t=>t.visible).map(t=>t.index),n=0,o=0;x(this.xAxis.stacking?.stacks,t=>{if("number"==typeof i.x){let e=t[i.x.toString()];if(e&&g(e.points[this.index])){let t=Object.keys(e.points).filter(t=>!t.match(",")&&e.points[t]&&e.points[t].length>1).map(parseFloat).filter(t=>-1!==r.indexOf(t)).sort((t,e)=>e-t);n=t.indexOf(this.index),o=t.length}}}),n=this.xAxis.reversed?o-1-n:n;let a=(o-1)*s.paddedWidth+e;t=(i.plotX||0)+a/2-e-n*s.paddedWidth}return t}translate(){let t=this,e=t.chart,i=t.options,s=t.dense=t.closestPointRange*t.xAxis.transA<2,n=t.borderWidth=y(i.borderWidth,s?0:1),o=t.xAxis,a=t.yAxis,l=i.threshold,h=y(i.minPointLength,5),c=t.getColumnMetrics(),p=c.width,g=t.pointXOffset=c.offset,v=t.dataMin,x=t.dataMax,b=t.translatedThreshold=a.getThreshold(l),S=t.barW=Math.max(p,1+2*n);i.pointPadding&&(S=Math.ceil(S)),r.prototype.translate.apply(t),t.points.forEac
1h(function(s){let r,n=y(s.yBottom,b),f=999+Math.abs(n),w=s.plotX||0,C=d(s.plotY,-f,a.len+f),T=Math.min(C,n),k=Math.max(C,n)-T,A=p,M=w+g,D=S;h&&Math.abs(k)<h&&(k=h,r=!a.reversed&&!s.negative||a.reversed&&s.negative,m(l)&&m(x)&&s.y===l&&x<=l&&(a.min||0)<l&&(v!==x||(a.max||0)<=l)&&(r=!r,s.negative=!s.negative),T=Math.abs(T-b)>h?n-h:b-(r?h:0)),u(s.options.pointWidth)&&(M-=Math.round(((A=D=Math.ceil(s.options.pointWidth))-p)/2)),i.centerInCategory&&!i.stacking&&(M=t.adjustForMissingColumns(M,A,s,c)),s.barX=M,s.pointWidth=A,s.tooltipPos=e.inverted?[d(a.len+a.pos-e.plotLeft-C,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),o.len+o.pos-e.plotTop-M-D/2,k]:[o.left-e.plotLeft+M+D/2,d(C+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),k],s.shapeType=t.pointClass.prototype.shapeType||"roundedRect",s.shapeArgs=t.crispCol(M,s.isNull?b:T,D,s.isNull?0:k)}),f(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t,e){let i,s,r,n=this.options,o=this.pointAttrToOptions||{},a=o.stroke||"borderColor",h=o["stroke-width"]||"borderWidth",d=t&&t.color||this.color,c=t&&t[a]||n[a]||d,u=t&&t.options.dashStyle||n.dashStyle,p=t&&t[h]||n[h]||this[h]||0,f=y(t&&t.opacity,n.opacity,1);t&&this.zones.length&&(s=t.getZone(),d=t.options.color||s&&(s.color||t.nonZonedColor)||this.color,s&&(c=s.borderColor||c,u=s.dashStyle||u,p=s.borderWidth||p)),e&&t&&(r=(i=v(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,d=i.color||void 0!==r&&l(d).brighten(i.brightness).get()||d,c=i[a]||c,p=i[h]||p,u=i.dashStyle||u,f=y(i.opacity,f));let g={fill:d,stroke:c,"stroke-width":p,opacity:f};return u&&(g.dashstyle=u),g}drawPoints(t=this.points){let e,i=this,s=this.chart,r=i.options,n=s.renderer,o=r.animationLimit||250;t.forEach(function(t){let a=t.plotY,l=t.graphic,h=!!l,d=l&&s.pointCount<o?"animate":"attr";m(a)&&null!==t.y?(e=t.shapeArgs,l&&t.hasNewShapeType()&&(l=l.destroy()),i.enabledDataSorting&&(t.startXPos=i.xAxis.reversed?-(e&&e.width||0):i.xAxis.width),!l&&(t.graphic=l=n[t.shapeType](e).add(t.group||i.group),l&&i.enabledDataSorting&&s.hasRendered&&s.pointCount<o&&(l.attr({x:t.startXPos}),h=!0,d="animate")),l&&h&&l[d](v(e)),s.styledMode||l[d](i.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&r.shadow),l&&(l.addClass(t.getClassName(),!0),l.attr({visibility:t.visible?"inherit":"hidden"}))):l&&(t.graphic=l.destroy())})}drawTracker(t=this.points){let e,i=this,s=i.chart,r=s.pointer,n=function(t){let e=r?.getPointFromEvent(t);r&&e&&i.options.enableMouseTracking&&(r.isDirectTouch=!0,e.onMouseOver(t))};t.forEach(function(t){e=g(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach(function(e){(e.div||e.element).point=t})}),i._hasTracking||(i.trackerGroups.forEach(function(t){i[t]&&(i[t].addClass("highcharts-tracker").on("mouseover",n).on("mouseout",function(t){r?.onTrackerMouseOut(t)}).on("touchstart",n),!s.styledMode&&i.options.cursor&&i[t].css({cursor:i.options.cursor}))}),i._hasTracking=!0),f(this,"afterDrawTracker")}remove(){let t=this,e=t.chart;e.hasRendered&&e.series.forEach(function(e){e.type===t.type&&(e.isDirty=!0)}),r.prototype.remove.apply(t,arguments)}}return b.defaultOptions=v(r.defaultOptions,i),p(b.prototype,{directTouch:!0,getSymbol:h,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("column",b),b}),i(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,e,i){var s;let{getDeferredAnimation:r}=t,{format:n}=e,{defined:o,extend:a,fireEvent:l,isArray:h,isString:d,merge:c,objectEach:u,pick:p,pInt:f,splat:g}=i;return function(t){function e(){return b(this).some(t=>t?.enabled)}function i(t,e,i,s,r){let{chart:n,enabledDataSorting:l}=this,h=this.isCartesian&&n.inverted,d=t.plotX,u=t.plotY,f=i.rotation||0,g=o(d)&&o(u)&&n.isInsidePlot(d,Math.round(u),{inverted:h,paneCoordinates:!0,series:this}),m=0===f&&"justify"===p(i.overflow,l?"none":"justify"),v=this.visible&&!1!==t.visible&&o(d)&&(t.series.forceDL||l&&!m||g||p(i.inside,!!this.options.stacking)&&s&&n.isInsidePlot(d,h?s.x+1:s.y+s.height-1,{inverted:h,paneCoordinates:!0,series:this})),y=t.pos();if(v&&y){var x;let o=e.getBBox(),d=e.getBBox(void 0,0),u={right:1,center:.5}[i.align||0]||0,b={bottom:1,middle:.5}[i.verticalAlign||0]||0;if(s=a({x:y[0],y:Math.round(y[1]),width:0,height:0},s||{}),"plotEdges"===i.alignTo&&this.isCartesian&&(s[h?"x":"y"]=0,s[h?"width":"height"]=this.yAxis?.len||0),a(i,{width:o.width,height:o.height}),x=s,l&&this.xAxis&&!m&&this.setDataLabelStartPos(t,e,r,g,x),e.align(c(i,{width:d.width,height:d.height}),!1,s,!1),e.alignAttr.x+=u*(d.width-o.width),e.alignAttr.y+=b*(d.height-o.height),e[e.placed?"animate":"attr"]({x:e.alignAttr.x+(o.width-d.width)/2,y:e.alignAttr.y+(o.height-d.height)/2,rotationOriginX:(e.width||0)/2,rotationOriginY:(e.height||0)/2}),m&&s.height>=0)this.justifyDataLabel(e,i,e.alignAttr,o,s,r);else if(p(i.crop,!0)){let{x:t,y:i}=e.alignAttr;v=n.isInsidePlot(t,i,{paneCoordinates:!0,series:this})&&n.isInsidePlot(t+o.width-1,i+o.height-1,{paneCoordinates:!0,series:this})}i.shape&&!f&&e[r?"attr":"animate"]({anchorX:y[0],anchorY:y[1]})}r&&l&&(e.placed=!1),v||l&&!m?(e.show(),e.placed=!0):(e.hide(),e.placed=!1)}function s(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function m(t){let e=this.hasRendered||0,i=this.initDataLabelsGroup().attr({opacity:+e});return!e&&i&&(this.visible&&i.show(),this.options.animation?i.animate({opacity:1},t):i.attr({opacity:1})),i}function v(t){let e;t=t||this.points;let i=this,s=i.chart,a=i.options,h=s.renderer,{backgroundColor:c,plotBackgroun
1dColor:m}=s.options.chart,v=h.getContrast(d(m)&&m||d(c)&&c||"#000000"),y=b(i),{animation:S,defer:w}=y[0],C=w?r(s,S,i):{defer:0,duration:0};l(this,"drawDataLabels"),i.hasDataLabels?.()&&(e=this.initDataLabels(C),t.forEach(t=>{let r=t.dataLabels||[];g(x(y,t.dlOptions||t.options?.dataLabels)).forEach((c,g)=>{let m,y,x,b,S,w=c.enabled&&(t.visible||t.dataLabelOnHidden)&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){let i=e.filter;if(i){let e=i.operator,s=t[i.property],r=i.value;return">"===e&&s>r||"<"===e&&s<r||">="===e&&s>=r||"<="===e&&s<=r||"=="===e&&s==r||"==="===e&&s===r||"!="===e&&s!=r||"!=="===e&&s!==r}return!0}(t,c),{backgroundColor:C,borderColor:T,distance:k,style:A={}}=c,M={},D=r[g],P=!D;w&&(y=p(c[t.formatPrefix+"Format"],c.format),m=t.getLabelConfig(),x=o(y)?n(y,m,s):(c[t.formatPrefix+"Formatter"]||c.formatter).call(m,c),b=c.rotation,!s.styledMode&&(A.color=p(c.color,A.color,d(i.color)?i.color:void 0,"#000000"),"contrast"===A.color?("none"!==C&&(S=C),t.contrastColor=h.getContrast("auto"!==S&&S||t.color||i.color),A.color=S||!o(k)&&c.inside||0>f(k||0)||a.stacking?t.contrastColor:v):delete t.contrastColor,a.cursor&&(A.cursor=a.cursor)),M={r:c.borderRadius||0,rotation:b,padding:c.padding,zIndex:1},s.styledMode||(M.fill="auto"===C?t.color:C,M.stroke="auto"===T?t.color:T,M["stroke-width"]=c.borderWidth),u(M,(t,e)=>{void 0===t&&delete M[e]})),!D||w&&o(x)&&!!D.div==!!c.useHTML&&(D.rotation&&c.rotation||D.rotation===c.rotation)||(D=void 0,P=!0),w&&o(x)&&(D?M.text=x:(D=h.label(x,0,0,c.shape,void 0,void 0,c.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(c.className||"")+(c.useHTML?" highcharts-tracker":"")),D&&(D.options=c,D.attr(M),s.styledMode||D.css(A).shadow(c.shadow),l(D,"beforeAddingDataLabel",{labelOptions:c,point:t}),D.added||D.add(e),i.alignDataLabel(t,D,c,void 0,P),D.isActive=!0,r[g]&&r[g]!==D&&r[g].destroy(),r[g]=D))});let c=r.length;for(;c--;)r[c]&&r[c].isActive?r[c].isActive=!1:(r[c]?.destroy(),r.splice(c,1));t.dataLabel=r[0],t.dataLabels=r})),l(this,"afterDrawDataLabels")}function y(t,e,i,s,r,n){let o,a,l=this.chart,h=e.align,d=e.verticalAlign,c=t.box?0:t.padding||0,u=l.inverted?this.yAxis:this.xAxis,p=u?u.left-l.plotLeft:0,f=l.inverted?this.xAxis:this.yAxis,g=f?f.top-l.plotTop:0,{x:m=0,y:v=0}=e;return(o=(i.x||0)+c+p)<0&&("right"===h&&m>=0?(e.align="left",e.inside=!0):m-=o,a=!0),(o=(i.x||0)+s.width-c+p)>l.plotWidth&&("left"===h&&m<=0?(e.align="right",e.inside=!0):m+=l.plotWidth-o,a=!0),(o=i.y+c+g)<0&&("bottom"===d&&v>=0?(e.verticalAlign="top",e.inside=!0):v-=o,a=!0),(o=(i.y||0)+s.height-c+g)>l.plotHeight&&("top"===d&&v<=0?(e.verticalAlign="bottom",e.inside=!0):v+=l.plotHeight-o,a=!0),a&&(e.x=m,e.y=v,t.placed=!n,t.align(e,void 0,r)),a}function x(t,e){let i,s=[];if(h(t)&&!h(e))s=t.map(function(t){return c(t,e)});else if(h(e)&&!h(t))s=e.map(function(e){return c(t,e)});else if(h(t)||h(e)){if(h(t)&&h(e))for(i=Math.max(t.length,e.length);i--;)s[i]=c(t[i],e[i])}else s=c(t,e);return s}function b(t){let e=t.chart.options.plotOptions;return g(x(x(e?.series?.dataLabels,e?.[t.type]?.dataLabels),t.options.dataLabels))}function S(t,e,i,s,r){let n=this.chart,o=n.inverted,a=this.xAxis,l=a.reversed,h=((o?e.height:e.width)||0)/2,d=t.pointWidth,c=d?d/2:0;e.startXPos=o?r.x:l?-h-c:a.width-h+c,e.startYPos=o?l?this.yAxis.height-h+c:-h-c:r.y,s?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0}
1,void 0,e.hide),n.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}t.compose=function(t){let r=t.prototype;r.initDataLabels||(r.initDataLabels=m,r.initDataLabelsGroup=s,r.alignDataLabel=i,r.drawDataLabels=v,r.justifyDataLabel=y,r.setDataLabelStartPos=S,r.hasDataLabels=e)}}(s||(s={})),s}),i(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i,s){var r;let{composed:n}=e,{series:o}=i,{merge:a,pick:l,pushUnique:h}=s;return function(e){function i(t,e,i,s,r){let n=this.chart.inverted,h=t.series,d=(h.xAxis?h.xAxis.len:this.chart.plotSizeX)||0,c=(h.yAxis?h.yAxis.len:this.chart.plotSizeY)||0,u=t.dlBox||t.shapeArgs,p=l(t.below,t.plotY>l(this.translatedThreshold,c)),f=l(i.inside,!!this.options.stacking);if(u){if(s=a(u),"allow"!==i.overflow||!1!==i.crop){s.y<0&&(s.height+=s.y,s.y=0);let t=s.y+s.height-c;t>0&&t<s.height-1&&(s.height-=t)}n&&(s={x:c-s.y-s.height,y:d-s.x-s.width,width:s.height,height:s.width}),f||(n?(s.x+=p?0:s.width,s.width=0):(s.y+=p?s.height:0,s.height=0))}i.align=l(i.align,!n||f?"center":p?"right":"left"),i.verticalAlign=l(i.verticalAlign,n||f?"middle":p?"top":"bottom"),o.prototype.alignDataLabel.call(this,t,e,i,s,r),i.inside&&t.contrastColor&&e.css({color:t.contrastColor})}e.compose=function(e){t.compose(o),h(n,"ColumnDataLabel")&&(e.prototype.alignDataLabel=i)}}(r||(r={})),r}),i(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){let{extend:s,merge:r}=i;class n extends t{}return n.defaultOptions=r(t.defaultOptions,{}),s(n.prototype,{inverted:!0}),e.registerSeriesType("bar",n),n}),i(e,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">â</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),i(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){let{column:s,line:r}=e.seriesTypes,{addEvent:n,extend:o,merge:a}=i;class l extends r{applyJitter(){let t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach(function(s,r){["x","y"].forEach(function(n,o){if(e[n]&&!s.isNull){let a=`plot${n.toUpperCase()}`,l=t[`${n}Axis`],h=e[n]*l.transA;if(l&&!l.logarithmic){let t=Math.max(0,(s[a]||0)-h),e=Math.min(l.len,(s[a]||0)+h);s[a]=t+(e-t)*function(t){let e=1e4*Math.sin(t);return e-Math.floor(e)}(r+o*i),"x"===n&&(s.clientX=s.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return l.defaultOptions=a(r.defaultOptions,t),o(l.prototype,{drawTracker:s.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),n(l,"afterTranslate",function(){this.applyJitter()}),e.registerSeriesType("scatter",l),l}),i(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,e,i){var s,r;let{deg2rad:n}=t,{fireEvent:o,isNumber:a,pick:l,relativeLength:h}=i;return(r=s||(s={})).getCenter=function(){let t,i,s,r=this.options,n=this.chart,d=2*(r.slicedOffset||0),c=n.plotWidth-2*d,u=n.plotHeight-2*d,p=r.center,f=Math.min(c,u),g=r.thickness,m=r.size,v=r.innerSize||0;"string"==typeof m&&(m=parseFloat(m)),"string"==typeof v&&(v=parseFloat(v));let y=[l(p[0],"50%"),l(p[1],"50%"),l(m&&m<0?void 0:r.size,"100%"),l(v&&v<0?void 0:r.innerSize||0,"0%")];for(!n.angular||this instanceof e||(y[3]=0),i=0;i<4;++i)s=y[i],t=i<2||2===i&&/%$/.test(s),y[i]=h(s,[c,u,f,y[2]][i])+(t?d:0);return y[3]>y[2]&&(y[3]=y[2]),a(g)&&2*g<y[2]&&g>0&&(y[3]=y[2]-2*g),o(this,"afterGetCenter",{positions:y}),y},r.getStartAndEndRadians=function(t,e){let i=a(t)?t:0,s=a(e)&&e>i&&e-i<360?e:i+360;return{start:n*(i+-90),end:n*(s+-90)}},s}
vendor: 4,460 bytes, line 1
1),i(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,e,i){let{setAnimation:s}=t,{addEvent:r,defined:n,extend:o,isNumber:a,pick:l,relativeLength:h}=i;class d extends e{getConnectorPath(t){let e=t.dataLabelPosition,i=t.options||{},s=i.connectorShape,r=this.connectorShapes[s]||s;return e&&r.call(this,{...e.computed,alignment:e.alignment},e.connectorPosition,i)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t){let e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}constructor(t,e,i){super(t,e,i),this.half=0,this.name??(this.name="Slice");let s=t=>{this.slice("select"===t.type)};r(this,"select",s),r(this,"unselect",s)}isValid(){return a(this.y)&&this.y>=0}setVisible(t,e=!0){t!==this.visible&&this.update({visible:t??!this.visible},e,void 0,!1)}slice(t,e,i){let r=this.series;s(i,r.chart),e=l(e,!0),this.sliced=this.options.sliced=t=n(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return o(d.prototype,{connectorShapes:{fixedOffset:function(t,e,i){let s=e.breakAt,r=e.touchingSliceAt,n=i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*s.x-r.x,2*s.y-r.y,s.x,s.y]:["L",s.x,s.y];return[["M",t.x,t.y],n,["L",r.x,r.y]]},straight:function(t,e){let i=e.touchingSliceAt;return[["M",t.x,t.y],["L",i.x,i.y]]},crookedLine:function(t,e,i){let{breakAt:s,touchingSliceAt:r}=e,{series:n}=this,[o,a,l]=n.center,d=l/2,{plotLeft:c,plotWidth:u}=n.chart,p="left"===t.alignment,{x:f,y:g}=t,m=s.x;if(i.crookDistance){let t=h(i.crookDistance,1);m=p?o+d+(u+c-o-d)*(1-t):c+(o-d)*t}else m=o+(a-g)*Math.tan((this.angle||0)-Math.PI/2);let v=[["M",f,g]];return(p?m<=f&&m>=s.x:m>=f&&m<=s.x)&&v.push(["L",m,g]),v.push(["L",s.x,s.y],["L",r.x,r.y]),v}}}),d}),i(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),i(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,i,s,r,n,o,a,l){let{getStartAndEndRadians:h}=t,{noop:d}=i,{clamp:c,extend:u,fireEvent:p,merge:f,pick:g}=l;class m extends n{animate(t){let e=this,i=e.points,s=e.startAngleRad;t||i.forEach(function(t){let i=t.graphic,r=t.shapeArgs;i&&r&&(i.attr({r:g(t.startR,e.center&&e.center[3]/2),start:s,end:s}),i.animate({r:r.r,start:r.start,end:r.end},e.options.animation))})}drawEmpty(){let t,e,i=this.startAngleRad,s=this.endAngleRad,r=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,s).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:i,end:s,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t=this.chart.renderer;this.points.forEach(function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t,e,i,s){let r=this.center,n=this.radii?this.radii[i.index]||0:r[2]/2,o=s.dataLabelPosition,a=o?.distance||0,l=Math.asin(c((t-r[1])/(n+a),-1,1));return r[0]+Math.cos(l)*(n+a)*(e?-1:1)+(a>0?(e?-1:1)*(s.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t,e,i,s,r=this,n=r.chart;this.drawEmpty(),r.group&&!n.styledMode&&r.group.shadow(r.options.shadow),r.points.forEac
1h(function(o){let a={};e=o.graphic,!o.isNull&&e?(s=o.shapeArgs,t=o.getTranslate(),n.styledMode||(i=r.pointAttribs(o,o.selected&&"select")),o.delayedRendering?(e.setRadialReference(r.center).attr(s).attr(t),n.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}),o.delayedRendering=!1):(e.setRadialReference(r.center),n.styledMode||f(!0,a,i),f(!0,a,s,t),e.animate(a)),e.attr({visibility:o.visible?"inherit":"hidden"}),e.addClass(o.getClassName(),!0)):e&&(o.graphic=e.destroy())})}sortByAngle(t,e){t.sort(function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e})}translate(t){p(this,"translate"),this.generatePoints();let e,i,s,r,n,o,a,l=this.options,d=l.slicedOffset,c=h(l.startAngle,l.endAngle),u=this.startAngleRad=c.start,f=(this.endAngleRad=c.end)-u,g=this.points,m=l.ignoreHiddenPoint,v=g.length,y=0;for(t||(this.center=t=this.getCenter()),o=0;o<v;o++){a=g[o],e=u+y*f,a.isValid()&&(!m||a.visible)&&(y+=a.percentage/100),i=u+y*f;let l={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*e)/1e3,end:Math.round(1e3*i)/1e3};a.shapeType="arc",a.shapeArgs=l,(s=(i+e)/2)>1.5*Math.PI?s-=2*Math.PI:s<-Math.PI/2&&(s+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(s)*d),translateY:Math.round(Math.sin(s)*d)},r=Math.cos(s)*t[2]/2,n=Math.sin(s)*t[2]/2,a.tooltipPos=[t[0]+.7*r,t[1]+.7*n],a.half=s<-Math.PI/2||s>Math.PI/2?1:0,a.angle=s}p(this,"afterTranslate")}updateTotals(){let t,e,i=this.points,s=i.length,r=this.options.ignoreHiddenPoint,n=0;for(t=0;t<s;t++)(e=i[t]).isValid()&&(!r||e.visible)&&(n+=e.y);for(t=0,this.total=n;t<s;t++)(e=i[t]).percentage=n>0&&(e.visible||!r)?e.y/n*100:0,e.total=n}}return m.defaultOptions=f(n.defaultOptions,r),u(m.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:d,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:s,requireSorting:!1,searchPoint:d,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("pie",m),m}),i(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i,s,r){var n;let{composed:o,noop:a}=e,{distribute:l}=i,{series:h}=s,{arrayMax:d,clamp:c,defined:u,pick:p,pushUnique:f,relativeLength:g}=r;return function(e){let i={radialDistributionY:function(t,e){return(e.dataLabelPosition?.top||0)+t.distributeBox.pos},radialDistributionX:function(t,e,i,s,r){let n=r.dataLabelPosition;return t.getX(i<(n?.top||0)+2||i>(n?.bottom||0)-2?s:i,e.half,e,r)},justify:function(t,e,i,s){return s[0]+(t.half?-1:1)*(i+(e.dataLabelPosition?.distance||0))},alignToPlotEdges:function(t,e,i,s){let r=t.getBBox().width;return e?r+s:i-r-s},alignToConnectors:function(t,e,i,s){let r,n=0;return t.forEach(function(t){(r=t.dataLabel.getBBox().width)>n&&(n=r)}),e?n+s:i-n-s}};function s(t,e){let{center:i,options:s}=this,r=i[2]/2,n=t.angle||0,o=Math.cos(n),a=Math.sin(n),l=i[0]+o*r,h=i[1]+a*r,d=Math.min((s.slicedOffset||0)+(s.borderWidth||0),e/5);
vendor: 4,371 bytes, line 1
1return{natural:{x:l+o*e,y:h+a*e},computed:{},alignment:e<0?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:l+o*d,y:h+a*d},touchingSliceAt:{x:l,y:h}},distance:e}}function r(){let t,e,i,s=this,r=s.points,n=s.chart,o=n.plotWidth,a=n.plotHeight,c=n.plotLeft,f=Math.round(n.chartWidth/3),m=s.center,v=m[2]/2,y=m[1],x=[[],[]],b=[0,0,0,0],S=s.dataLabelPositioners,w=0;s.visible&&s.hasDataLabels?.()&&(r.forEach(t=>{(t.dataLabels||[]).forEach(t=>{t.shortened&&(t.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.shortened=!1)})}),h.prototype.drawDataLabels.apply(s),r.forEach(t=>{(t.dataLabels||[]).forEach((e,i)=>{let s=m[2]/2,r=e.options,n=g(r?.distance||0,s);0===i&&x[t.half].push(t),!u(r?.style?.width)&&e.getBBox().width>f&&(e.css({width:Math.round(.7*f)+"px"}),e.shortened=!0),e.dataLabelPosition=this.getDataLabelPosition(t,n),w=Math.max(w,n)})}),x.forEach((t,r)=>{let h,d,f,g=t.length,x=[],C=0;g&&(s.sortByAngle(t,r-.5),w>0&&(h=Math.max(0,y-v-w),d=Math.min(y+v+w,n.plotHeight),t.forEach(t=>{(t.dataLabels||[]).forEach(e=>{let i=e.dataLabelPosition;i&&i.distance>0&&(i.top=Math.max(0,y-v-i.distance),i.bottom=Math.min(y+v+i.distance,n.plotHeight),C=e.getBBox().height||21,e.lineHeight=n.renderer.fontMetrics(e.text||e).h+2*e.padding,t.distributeBox={target:(e.dataLabelPosition?.natural.y||0)-i.top+e.lineHeight/2,size:C,rank:t.y},x.push(t.distributeBox))})}),l(x,f=d+C-h,f/5)),t.forEach(n=>{(n.dataLabels||[]).forEach(l=>{let h=l.options||{},d=n.distributeBox,f=l.dataLabelPosition,g=f?.natural.y||0,y=h.connectorPadding||0,w=l.lineHeight||21,C=(w-l.getBBox().height)/2,T=0,k=g,A="inherit";if(f){if(x&&u(d)&&f.distance>0&&(void 0===d.pos?A="hidden":(i=d.size,k=S.radialDistributionY(n,l))),h.justify)T=S.justify(n,l,v,m);else switch(h.alignTo){case"connectors":T=S.alignToConnectors(t,r,o,c);break;case"plotEdges":T=S.alignToPlotEdges(l,r,o,c);break;default:T=S.radialDistributionX(s,n,k-C,g,l)}if(f.attribs={visibility:A,align:f.alignment},f.posAttribs={x:T+(h.x||0)+({left:y,right:-y}[f.alignment]||0),y:k+(h.y||0)-w/2},f.computed.x=T,f.computed.y=k-C,p(h.crop,!0)){let t;T-(e=l.getBBox().width)<y&&1===r?(t=Math.round(e-T+y),b[3]=Math.max(t,b[3])):T+e>o-y&&0===r&&(t=Math.round(T+e-o+y),b[1]=Math.max(t,b[1])),k-i/2<0?b[0]=Math.max(Math.round(i/2-k),b[0]):k+i/2>a&&(b[2]=Math.max(Math.round(k+i/2-a),b[2])),f.sideOverflow=t}}})}))}),(0===d(b)||this.verifyDataLabelOverflow(b))&&(this.placeDataLabels(),this.points.forEach(e=>{(e.dataLabels||[]).forEach(i=>{let{connectorColor:r,connectorWidth:o=1}=i.options||{},a=i.dataLabelPosition;if(o){let l;t=i.connector,a&&a.distance>0?(l=!t,t||(i.connector=t=n.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+e.colorIndex+(e.className?" "+e.className:"")).add(s.dataLabelsGroup)),n.styledMode||t.attr({"stroke-width":o,stroke:r||e.color||"#666666"}),t[l?"attr":"animate"]({d:e.getConnectorPath(i)}),t.attr({visibility:a.attribs?.visibility})):t&&(i.connector=t.destroy())}})})))}function n(){this.points.forEach(t=>{(t.dataLabels||[]).forEach(t=>{let e=t.dataLabelPosition;e?(e.sideOverflow&&(t.css({width:Math.max(t.getBBox().width-e.sideOverflow,0)+"px",textOverflow:(t.options?.style||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(e.attribs),t[t.moved?"animate":"attr"](e.posAttribs),t.moved=!0):t&&t.attr({y:-9999})}),delete t.distributeBox},this)}function m(t){let e=this.center,i=this.options,s=i.center,r=i.minSize||80,n=r,o=null!==i.size;return!o&&(null!==s[0]?n=Math.max(e[2]-Math.max(t[1],t[3]),r):(n=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2),null!==s[1]?n=c(n,r,e[2]-Math.max(t[0],t[2])):(n=c(n,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),n<e[2]?(e[2]=n,e[3]=Math.min(i.thickness?Math.max(0,n-2*i.thickness):Math.max(0,g(i.innerSize||0,n)),n),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0),o}e.compose=function(e){if(t.compose(h),f(o,"PieDataLabel")){let t=e.prototype;t.dataLabelPositioners=i,t.alignDataLabel=a,t.drawDataLabels=r,t.getDataLabelPosition=s,t.placeDataLabels=n,t.verifyDataLabelOverflow=m}}}(n||(n={})),n}),i(e,"Core/Geometry/GeometryUtilities.js",[],function(){var t,e;return(e=t||(t={})).getCenterOfPoints=function(t){let e=t.reduce((t,e)=>(t.x+=e.x,t.y+=e.y,t),{x:0,y:0});return{x:e.x/t.length,y:e.y/t.length}},e.getDistanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}
1,e.getAngleBetweenPoints=function(t,e){return Math.atan2(e.x-t.x,e.y-t.y)},e.pointInPolygon=function({x:t,y:e},i){let s,r,n=i.length,o=!1;for(s=0,r=n-1;s<n;r=s++){let[n,a]=i[s],[l,h]=i[r];a>e!=h>e&&t<(l-n)*(e-a)/(h-a)+n&&(o=!o)}return o},t}),i(e,"Extensions/OverlappingDataLabels.js",[e["Core/Geometry/GeometryUtilities.js"],e["Core/Utilities.js"]],function(t,e){let{pointInPolygon:i}=t,{addEvent:s,fireEvent:r,objectEach:n,pick:o}=e;function a(t){let e,s,n,o,a,h=t.length,d=(t,e)=>!(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y),c=(t,e)=>{for(let s of t)if(i({x:s[0],y:s[1]},e))return!0;return!1},u=!1;for(let i=0;i<h;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=function(t){if(t&&(!t.alignAttr||t.placed)){let e=t.box?0:t.padding||0,i=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.getBBox();return t.width=s.width,t.height=s.height,{x:i.x+(t.parentGroup?.translateX||0)+e,y:i.y+(t.parentGroup?.translateY||0)+e,width:(t.width||0)-2*e,height:(t.height||0)-2*e,polygon:s?.polygon}}}(e));t.sort((t,e)=>(e.labelrank||0)-(t.labelrank||0));for(let i=0;i<h;++i){o=(s=t[i])&&s.absoluteBox;let e=o?.polygon;for(let r=i+1;r<h;++r){a=(n=t[r])&&n.absoluteBox;let i=!1;if(o&&a&&s!==n&&0!==s.newOpacity&&0!==n.newOpacity&&"hidden"!==s.visibility&&"hidden"!==n.visibility){let t=a.polygon;if(e&&t&&e!==t?c(e,t)&&(i=!0):d(o,a)&&(i=!0),i){let t=s.labelrank<n.labelrank?s:n,e=t.text;t.newOpacity=0,e?.element.querySelector("textPath")&&e.hide()}}}}for(let i of t)l(i,this)&&(u=!0);u&&r(this,"afterHideAllOverlappingLabels")}function l(t,e){let i,s,n=!1;return t&&(s=t.newOpacity,t.oldOpacity!==s&&(t.hasClass("highcharts-data-label")?(t[s?"removeClass":"addClass"]("highcharts-data-label-hidden"),i=function(){e.styledMode||t.css({pointerEvents:s?"auto":"none"})},n=!0,t[t.isOld?"animate":"attr"]({opacity:s},void 0,i),r(e,"afterHideOverlappingLabel")):t.attr({opacity:s})),t.isOld=!0),n}function h(){let t=this,e=[];for(let i of t.labelCollectors||[])e=e.concat(i());for(let i of t.yAxis||[])i.stacking&&i.options.stackLabels&&!i.options.stackLabels.allowOverlap&&n(i.stacking.stacks,t=>{n(t,t=>{t.label&&e.push(t.label)})});for(let i of t.series||[])if(i.visible&&i.hasDataLabels?.()){let s=i=>{for(let s of i)s.visible&&(s.dataLabels||[]).forEach(i=>{let r=i.options||{};i.labelrank=o(r.labelrank,s.labelrank,s.shapeArgs?.height),r.allowOverlap??Number(r.distance)>0?(i.oldOpacity=i.opacity,i.newOpacity=1,l(i,t)):e.push(i)})};s(i.nodes||[]),s(i.points)}this.hideOverlappingLabels(e)}return{compose:function(t){let e=t.prototype;e.hideOverlappingLabels||(e.hideOverlappingLabels=a,s(t,"render",h))}}}
vendor: 3,842 bytes, line 1
1),i(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){let{defaultOptions:s}=t,{noop:r}=e,{addEvent:n,extend:o,isObject:a,merge:l,relativeLength:h}=i,d={radius:0,scope:"stack",where:void 0},c=r,u=r;function p(t,e,i,s,r={}){let n=c(t,e,i,s,r),{innerR:o=0,r:a=i,start:l=0,end:d=0}=r;if(r.open||!r.borderRadius)return n;let u=d-l,p=Math.sin(u/2),f=Math.max(Math.min(h(r.borderRadius||0,a-o),(a-o)/2,a*p/(1+p)),0),g=Math.min(f,u/Math.PI*2*o),m=n.length-1;for(;m--;)!function(t,e,i){let s,r,n,o=t[e],a=t[e+1];if("Z"===a[0]&&(a=t[0]),"M"!==o[0]&&"L"!==o[0]||"A"!==a[0]?"A"===o[0]&&("M"===a[0]||"L"===a[0])&&(s=a,r=o):(s=o,r=a,n=!0),s&&r&&r.params){let o=r[1],a=r[5],l=r.params,{start:h,end:d,cx:c,cy:u}=l,p=a?o-i:o+i,f=p?Math.asin(i/p):0,g=a?f:-f,m=Math.cos(f)*p;n?(l.start=h+g,s[1]=c+m*Math.cos(h),s[2]=u+m*Math.sin(h),t.splice(e+1,0,["A",i,i,0,0,1,c+o*Math.cos(l.start),u+o*Math.sin(l.start)])):(l.end=d-g,r[6]=c+o*Math.cos(l.end),r[7]=u+o*Math.sin(l.end),t.splice(e+1,0,["A",i,i,0,0,1,c+m*Math.cos(d),u+m*Math.sin(d)])),r[4]=Math.abs(l.end-l.start)<Math.PI?0:1}}(n,m,m>1?g:f);return n}function f(){if(this.options.borderRadius&&(!this.chart.is3d||!this.chart.is3d())){let{options:t,yAxis:e}=this,i="percent"===t.stacking,r=s.plotOptions?.[this.type]?.borderRadius,n=g(t.borderRadius,a(r)?r:{}),l=e.options.reversed;for(let s of this.points){let{shapeArgs:r}=s;if("roundedRect"===s.shapeType&&r){let{width:a=0,height:d=0,y:c=0}=r,u=c,p=d;if("stack"===n.scope&&s.stackTotal){let r=e.translate(i?100:s.stackTotal,!1,!0,!1,!0),n=e.translate(t.threshold||0,!1,!0,!1,!0),o=this.crispCol(0,Math.min(r,n),0,Math.abs(r-n));u=o.y,p=o.height}let f=(s.negative?-1:1)*(l?-1:1)==-1,g=n.where;!g&&this.is("waterfall")&&Math.abs((s.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(g="all"),g||(g="end");let m=Math.min(h(n.radius,a),a/2,"all"===g?d/2:1/0)||0;"end"===g&&(f&&(u-=m),p+=m),o(r,{brBoxHeight:p,brBoxY:u,r:m})}}}}function g(t,e){return a(t)||(t={radius:t||0}),l(d,e,t)}function m(){let t=g(this.options.borderRadius);for(let e of this.points){let i=e.shapeArgs;i&&(i.borderRadius=h(t.radius,(i.r||0)-(i.innerR||0)))}}function v(t,e,i,s,r={}){let n=u(t,e,i,s,r),{r:o=0,brBoxHeight:a=s,brBoxY:l=e}=r,h=e-l,d=l+a-(e+s),c=h-o>-.1?0:o,p=d-o>-.1?0:o,f=Math.max(c&&h,0),g=Math.max(p&&d,0),m=[t+c,e],v=[t+i-c,e],y=[t+i,e+c],x=[t+i,e+s-p],b=[t+i-p,e+s],S=[t+p,e+s],w=[t,e+s-p],C=[t,e+c],T=(t,e)=>Math.sqrt(Math.pow(t,2)-Math.pow(e,2));if(f){let t=T(c,c-f);m[0]-=t,v[0]+=t,y[1]=C[1]=e+c-f}if(s<c-f){let r=T(c,c-f-s);y[0]=x[0]=t+i-c+r,b[0]=Math.min(y[0],b[0]),S[0]=Math.max(x[0],S[0]),w[0]=C[0]=t+c-r,y[1]=C[1]=e+s}if(g){let t=T(p,p-g);b[0]+=t,S[0]-=t,x[1]=w[1]=e+s-p+g}if(s<p-g){let r=T(p,p-g-s);y[0]=x[0]=t+i-p+r,v[0]=Math.min(y[0],v[0]),m[0]=Math.max(x[0],m[0]),w[0]=C[0]=t+p-r,x[1]=w[1]=e}return n.length=0,n.push(["M",...m],["L",...v],["A",c,c,0,0,1,...y],["L",...x],["A",p,p,0,0,1,...b],["L",...S],["A",p,p,0,0,1,...w],["L",...C],["A",c,c,0,0,1,...m],["Z"]),n}return{compose:function(t,e,i){let s=t.types.pie;if(!e.symbolCustomAttribs.includes("borderRadius")){let r=i.prototype.symbols;n(t,"afterColumnTranslate",f,{order:9}),n(s,"afterTranslate",m),e.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),c=r.arc,u=r.roundedRect,r.arc=p,r.roundedRect=v}},optionsToObject:g}}),i(e,"Core/Responsive.js",[e["Core/Utilities.js"]],function(t){var e;let{diffObjects:i,extend:s,find:r,merge:n,pick:o,uniqueKey:a}=t;return function(t){function e(t,e){let i=t.condition;(i.callback||function(){return this.chartWidth<=o(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=o(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=o(i.minWidth,0)&&this.chartHeight>=o(i.minHeight,0)}).call(this)&&e.push(t._id)}function l(t,e){let s,o=this.options.responsive,l=this.currentResponsive,h=[];
1!e&&o&&o.rules&&o.rules.forEach(t=>{void 0===t._id&&(t._id=a()),this.matchResponsiveRule(t,h)},this);let d=n(...h.map(t=>r((o||{}).rules||[],e=>e._id===t)).map(t=>t&&t.chartOptions));d.isResponsiveOptions=!0,h=h.toString()||void 0;let c=l&&l.ruleIds;h===c||(l&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(l.undoOptions,t,!0),this.updatingResponsive=!1),h?((s=i(d,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:h,mergedOptions:d,undoOptions:s},this.updatingResponsive||this.update(d,t,!0)):this.currentResponsive=void 0)}t.compose=function(t){let i=t.prototype;return i.matchResponsiveRule||s(i,{matchResponsiveRule:e,setResponsive:l}),t}}(e||(e={})),e}),i(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/
1BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,i,s,r,n,o,a,l,h,d,c,u,p,f,g,m,v,y,x,b,S,w,C,T,k,A,M,D,P,L,E,O,I,j,R){return t.AST=n,t.Axis=u,t.Chart=w,t.Color=j,t.DataLabel=L,t.Fx=s,t.HTMLElement=c,t.Legend=b,t.LegendSymbol=S,t.OverlappingDataLabels=t.OverlappingDataLabels||E,t.PlotLineOrBand=g,t.Point=y,t.Pointer=x,t.RendererRegistry=a,t.Series=A,t.SeriesRegistry=M,t.StackItem=k,t.SVGElement=h,t.SVGRenderer=d,t.Templating=o,t.Tick=m,t.Time=R,t.Tooltip=v,t.animate=r.animate,t.animObject=r.animObject,t.chart=w.chart,t.color=j.parse,t.dateFormat=o.dateFormat,t.defaultOptions=i.defaultOptions,t.distribute=l.distribute,t.format=o.format,t.getDeferredAnimation=r.getDeferredAnimation,t.getOptions=i.getOptions,t.numberFormat=o.numberFormat,t.seriesType=M.seriesType,t.setAnimation=r.setAnimation,t.setOptions=i.setOptions,t.stop=r.stop,t.time=i.defaultTime,t.timers=s.timers,O.compose(t.Series,t.SVGElement,t.SVGRenderer),D.compose(t.Series.types.column),L.compose(t.Series),p.compose(t.Axis),c.compose(t.SVGRenderer),b.compose(t.Chart),f.compose(t.Axis),E.compose(t.Chart),P.compose(t.Series.types.pie),g.compose(t.Axis),x.compose(t.Chart),I.compose(t.Chart),C.compose(t.Axis,t.Chart,t.Series),T.compose(t.Axis,t.Chart,t.Series),v.compose(t.Pointer),e.extend(t,e),t}),e["masters/highcharts.src.js"]._modules=e,e["masters/highcharts.src.js"]},t.exports?(i.default=i,t.exports=e&&e.document?i(e):i):"function"==typeof define&&define.amd?define("highcharts/highcharts",function(){return i(e)}):(e.Highcharts&&e.Highcharts.error(16,!0),e.Highcharts=i(e))},4692:function(t){!function(e,i){"use strict";"object"==typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!=typeof window?window:this,function(t,e){"use strict";var i=[],s=Object.getPrototypeOf,r=i.slice,n=i.flat?function(t){return i.flat.call(t)}:function(t){return i.concat.apply([],t)},o=i.push,a=i.indexOf,l={},h=l.toString,d=l.hasOwnProperty,c=d.toString,u=c.call(Object),p={},f=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},g=function(t){return null!=t&&t===t.window},m=t.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(t,e,i){var s,r,n=(i=i||m).createElement("script");if(n.text=t,e)for(s in v)(r=e[s]||e.getAttribute&&e.getAttribute(s))&&n.setAttribute(s,r);i.head.appendChild(n).parentNode.removeChild(n)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[h.call(t)]||"object":typeof t}var b="3.7.1",S=/HTML$/i,w=function(t,e){return new w.fn.init(t,e)};function C(t){var e=!!t&&"length"in t&&t.length,i=x(t);return!f(t)&&!g(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function T(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}w.fn=w.prototype={jquery:b,constructor:w,length:0,toArray:function(){return r.call(this)},get:function(t){return null==t?r.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=w.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return w.each(this,t)},map:function(t){return this.pushStack(w.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(w.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:o,sort:i.sort,splice:i.splice},w.extend=w.fn.extend=function(){var t,e,i,s,r,n,o=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"==typeof o&&(h=o,o=arguments[a]||{},a++),"object"==typeof o||f(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)s=t[e],"__proto__"!==e&&o!==s&&(h&&s&&(w.isPlainObject(s)||(r=Array.isArray(s)))?(i=o[e],n=r&&!Array.isArray(i)?[]:r||w.isPlainObject(i)?i:{},r=!1,o[e]=w.extend(h,n,s)):void 0!==s&&(o[e]=s));return o},w.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;
vendor: 4,271 bytes, line 1
1return!(!t||"[object Object]"!==h.call(t))&&(!(e=s(t))||"function"==typeof(i=d.call(e,"constructor")&&e.constructor)&&c.call(i)===u)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,i){y(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,s=0;if(C(t))for(i=t.length;s<i&&!1!==e.call(t[s],s,t[s]);s++);else for(s in t)if(!1===e.call(t[s],s,t[s]))break;return t},text:function(t){var e,i="",s=0,r=t.nodeType;if(!r)for(;e=t[s++];)i+=w.text(e);return 1===r||11===r?t.textContent:9===r?t.documentElement.textContent:3===r||4===r?t.nodeValue:i},makeArray:function(t,e){var i=e||[];return null!=t&&(C(Object(t))?w.merge(i,"string"==typeof t?[t]:t):o.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:a.call(e,t,i)},isXMLDoc:function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!S.test(e||i&&i.nodeName||"HTML")},merge:function(t,e){for(var i=+e.length,s=0,r=t.length;s<i;s++)t[r++]=e[s];return t.length=r,t},grep:function(t,e,i){for(var s=[],r=0,n=t.length,o=!i;r<n;r++)!e(t[r],r)!==o&&s.push(t[r]);return s},map:function(t,e,i){var s,r,o=0,a=[];if(C(t))for(s=t.length;o<s;o++)null!=(r=e(t[o],o,i))&&a.push(r);else for(o in t)null!=(r=e(t[o],o,i))&&a.push(r);return n(a)},guid:1,support:p}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=i[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){l["[object "+e+"]"]=e.toLowerCase()});var k=i.pop,A=i.sort,M=i.splice,D="[\\x20\\t\\r\\n\\f]",P=new RegExp("^"+D+"+|((?:^|[^\\\\])(?:\\\\.)*)"+D+"+$","g");w.contains=function(t,e){var i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(t.contains?t.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))};var L=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function E(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}w.escapeSelector=function(t){return(t+"").replace(L,E)};var O=m,I=o;!function(){var e,s,n,o,l,h,c,u,f,g,m=I,v=w.expando,y=0,x=0,b=tt(),S=tt(),C=tt(),L=tt(),E=function(t,e){return t===e&&(l=!0),0},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="(?:\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",_="\\["+D+"*("+R+")(?:"+D+"*([*^$|!~]?=)"+D+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+D+"*\\]",N=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+_+")*)|.*)\\)|)",B=new RegExp(D+"+","g"),z=new RegExp("^"+D+"*,"+D+"*"),F=new RegExp("^"+D+"*([>+~]|"+D+")"+D+"*"),H=new RegExp(D+"|>"),W=new RegExp(N),G=new RegExp("^"+R+"$"),X={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+_),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+D+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,q=new RegExp("\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\([^\\r\\n\\f])","g"),Z=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},K=function(){lt()},J=ut(function(t){return!0===t.disabled&&T(t,"fieldset")},{dir:"parentNode",next:"legend"});try{m.apply(i=r.call(O.childNodes),O.childNodes),i[O.childNodes.length].nodeType}catch(xt){m={apply:function(t,e){I.apply(t,r.call(e))},call:function(t){I.apply(t,r.call(arguments,1))}}}function Q(t,e,i,s){var r,n,o,a,l,d,c,g=e&&e.ownerDocument,y=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==y&&9!==y&&11!==y)return i;if(!s&&(lt(e),e=e||h,u)){if(11!==y&&(l=V.exec(t)))if(r=l[1]){if(9===y){if(!(o=e.getElementById(r)))return i;if(o.id===r)return m.call(i,o),i}else if(g&&(o=g.getElementById(r))&&Q.contains(e,o)&&o.id===r)return m.call(i,o),i}else{if(l[2])return m.apply(i,e.getElementsByTagName(t)),i;if((r=l[3])&&e.getElementsByClassName)return m.apply(i,e.getElementsByClassName(r)),i}
vendor: 12,319 bytes, line 1
1if(!(L[t+" "]||f&&f.test(t))){if(c=t,g=e,1===y&&(H.test(t)||F.test(t))){for((g=$.test(t)&&at(e.parentNode)||e)==e&&p.scope||((a=e.getAttribute("id"))?a=w.escapeSelector(a):e.setAttribute("id",a=v)),n=(d=dt(t)).length;n--;)d[n]=(a?"#"+a:":scope")+" "+ct(d[n]);c=d.join(",")}try{return m.apply(i,g.querySelectorAll(c)),i}catch(x){L(t,!0)}finally{a===v&&e.removeAttribute("id")}}}return yt(t.replace(P,"$1"),e,i,s)}function tt(){var t=[];return function e(i,r){return t.push(i+" ")>s.cacheLength&&delete e[t.shift()],e[i+" "]=r}}function et(t){return t[v]=!0,t}function it(t){var e=h.createElement("fieldset");try{return!!t(e)}catch(xt){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function st(t){return function(e){return T(e,"input")&&e.type===t}}function rt(t){return function(e){return(T(e,"input")||T(e,"button"))&&e.type===t}}function nt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&J(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ot(t){return et(function(e){return e=+e,et(function(i,s){for(var r,n=t([],i.length,e),o=n.length;o--;)i[r=n[o]]&&(i[r]=!(s[r]=i[r]))})})}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function lt(t){var e,i=t?t.ownerDocument||t:O;return i!=h&&9===i.nodeType&&i.documentElement?(c=(h=i).documentElement,u=!w.isXMLDoc(h),g=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&O!=h&&(e=h.defaultView)&&e.top!==e&&e.addEventListener("unload",K),p.getById=it(function(t){return c.appendChild(t).id=w.expando,!h.getElementsByName||!h.getElementsByName(w.expando).length}),p.disconnectedMatch=it(function(t){return g.call(t,"*")}),p.scope=it(function(){return h.querySelectorAll(":scope")}),p.cssHas=it(function(){try{return h.querySelector(":has(*,:jqfake)"),!1}catch(xt){return!0}}),p.getById?(s.filter.ID=function(t){var e=t.replace(q,Z);return function(t){return t.getAttribute("id")===e}},s.find.ID=function(t,e){if(void 0!==e.getElementById&&u){var i=e.getElementById(t);return i?[i]:[]}}):(s.filter.ID=function(t){var e=t.replace(q,Z);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},s.find.ID=function(t,e){if(void 0!==e.getElementById&&u){var i,s,r,n=e.getElementById(t);if(n){if((i=n.getAttributeNode("id"))&&i.value===t)return[n];for(r=e.getElementsByName(t),s=0;n=r[s++];)if((i=n.getAttributeNode("id"))&&i.value===t)return[n]}return[]}}),s.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},s.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&u)return e.getElementsByClassName(t)},f=[],it(function(t){var e;c.appendChild(t).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||f.push("\\["+D+"*(?:value|"+j+")"),t.querySelectorAll("[id~="+v+"-]").length||f.push("~="),t.querySelectorAll("a#"+v+"+*").length||f.push(".#.+[+~]"),t.querySelectorAll(":checked").length||f.push(":checked"),(e=h.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),c.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(e=h.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||f.push("\\["+D+"*name"+D+"*="+D+"*(?:''|\"\")")}),p.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),E=function(t,e){if(t===e)return l=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===i?t===h||t.ownerDocument==O&&Q.contains(O,t)?-1:e===h||e.ownerDocument==O&&Q.contains(O,e)?1:o?a.call(o,t)-a.call(o,e):0:4&i?-1:1)},h):h}for(e in Q.matches=function(t,e){return Q(t,null,null,e)},Q.matchesSelector=function(t,e){if(lt(t),u&&!L[e+" "]&&(!f||!f.test(e)))try{var i=g.call(t,e);if(i||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(xt){L(e,!0)}return Q(e,h,null,[t]).length>0},Q.contains=function(t,e){return(t.ownerDocument||t)!=h&<(t),w.contains(t,e)},Q.attr=function(t,e){(t.ownerDocument||t)!=h&<(t);var i=s.attrHandle[e.toLowerCase()],r=i&&d.call(s.attrHandle,e.toLowerCase())?i(t,e,!u):void 0;return void 0!==r?r:t.getAttribute(e)},Q.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},w.uniqueSort=function(t){var e,i=[],s=0,n=0;if(l=!p.sortStable,o=!p.sortStable&&r.call(t,0),A.call(t,E),l){for(;e=t[n++];)e===t[n]&&(s=i.push(n));for(;s--;)M.call(t,i[s],1)}return o=null,t},w.fn.uniqueSort=function(){return this.pushStack(w.uniqueSort(r.apply(this)))},s=w.expr={cacheLength:50,createPseudo:et,match:X,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(q,Z),t[3]=(t[3]||t[4]||t[5]||"").replace(q,Z),"~="===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]||Q.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]&&Q.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return X.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&W.test(i)&&(e=dt(i,!0))&&(e=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(q,Z).toLowerCase();return"*"===t?function(){return!0}:function(t){return T(t,e)}},CLASS:function(t){var e=b[t+" "];return e||(e=new RegExp("(^|"+D+")"+t+"("+D+"|$)"))&&b(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(s){var r=Q.attr(s,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.slice(-i.length)===i:"~="===e?(" "+r.replace(B," ")+" ").indexOf(i)>-1:"|="===e&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,s,r){var n="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===s&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var h,d,c,u,p,f=n!==o?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),x=!l&&!a,b=!1;if(g){if(n){for(;f;){for(c=e;c=c[f];)if(a?T(c,m):1===c.nodeType)return!1;p=f="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&x){for(b=(u=(h=(d=g[v]||(g[v]={}))[t]||[])[0]===y&&h[1])&&h[2],c=u&&g.childNodes[u];c=++u&&c&&c[f]||(b=u=0)||p.pop();)if(1===c.nodeType&&++b&&c===e){d[t]=[y,u,b];break}}else if(x&&(b=u=(h=(d=e[v]||(e[v]={}))[t]||[])[0]===y&&h[1]),!1===b)for(;(c=++u&&c&&c[f]||(b=u=0)||p.pop())&&(!(a?T(c,m):1===c.nodeType)||!++b||(x&&((d=c[v]||(c[v]={}))[t]=[y,b]),c!==e)););return(b-=r)===s||b%s===0&&b/s>=0}}},PSEUDO:function(t,e){var i,r=s.pseudos[t]||s.setFilters[t.toLowerCase()]||Q.error("unsupported pseudo: "+t);return r[v]?r(e):r.length>1?(i=[t,t,"",e],s.setFilters.hasOwnProperty(t.toLowerCase())?et(function(t,i){for(var s,n=r(t,e),o=n.length;o--;)t[s=a.call(t,n[o])]=!(i[s]=n[o])}):function(t){return r(t,0,i)}):r}},pseudos:{not:et(function(t){var e=[],i=[],s=vt(t.replace(P,"$1"));return s[v]?et(function(t,e,i,r){for(var n,o=s(t,null,r,[]),a=t.length;a--;)(n=o[a])&&(t[a]=!(e[a]=n))}):function(t,r,n){return e[0]=t,s(e,null,n,i),e[0]=null,!i.pop()}}),has:et(function(t){return function(e){return Q(t,e).length>0}}),contains:et(function(t){return t=t.replace(q,Z),function(e){return(e.textContent||w.text(e)).indexOf(t)>-1}}),lang:et(function(t){return G.test(t||"")||Q.error("unsupported lang: "+t),t=t.replace(q,Z).toLowerCase(),function(e){var i;do{if(i=u?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===c},focus:function(t){return t===function(){try{return h.activeElement}catch(t){}}()&&h.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:nt(!1),disabled:nt(!0),checked:function(t){return T(t,"input")&&!!t.checked||T(t,"option")&&!!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!s.pseudos.empty(t)},header:function(t){return Y.test(t.nodeName)},input:function(t){return U.test(t.nodeName)},button:function(t){return T(t,"input")&&"button"===t.type||T(t,"button")},text:function(t){var e;return T(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ot(function(){return[0]}),last:ot(function(t,e){return[e-1]}),eq:ot(function(t,e,i){return[i<0?i+e:i]}),even:ot(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:ot(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:ot(function(t,e,i){var s;for(s=i<0?i+e:i>e?e:i;--s>=0;)t.push(s);return t}),gt:ot(function(t,e,i){for(var s=i<0?i+e:i;++s<e;)t.push(s);return t})}},s.pseudos.nth=s.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})s.pseudos[e]=st(e);for(e in{submit:!0,reset:!0})s.pseudos[e]=rt(e);function ht(){}function dt(t,e){var i,r,n,o,a,l,h,d=S[t+" "];if(d)return e?0:d.slice(0);for(a=t,l=[],h=s.preFilter;a;){for(o in i&&!(r=z.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(n=[])),i=!1,(r=F.exec(a))&&(i=r.shift(),n.push({value:i,type:r[0].replace(P," ")}),a=a.slice(i.length)),s.filter)!(r=X[o].exec(a))||h[o]&&!(r=h[o](r))||(i=r.shift(),n.push({value:i,type:o,matches:r}),a=a.slice(i.length));if(!i)break}return e?a.length:a?Q.error(t):S(t,l).slice(0)}function ct(t){for(var e=0,i=t.length,s="";e<i;e++)s+=t[e].value;return s}function ut(t,e,i){var s=e.dir,r=e.next,n=r||s,o=i&&"parentNode"===n,a=x++;return e.first?function(e,i,r){for(;e=e[s];)if(1===e.nodeType||o)return t(e,i,r);return!1}:function(e,i,l){var h,d,c=[y,a];if(l){for(;e=e[s];)if((1===e.nodeType||o)&&t(e,i,l))return!0}else for(;e=e[s];)if(1===e.nodeType||o)if(d=e[v]||(e[v]={}),r&&T(e,r))e=e[s]||e;else{if((h=d[n])&&h[0]===y&&h[1]===a)return c[2]=h[2];if(d[n]=c,c[2]=t(e,i,l))return!0}return!1}}function pt(t){return t.length>1?function(e,i,s){for(var r=t.length;r--;)if(!t[r](e,i,s))return!1;return!0}:t[0]}function ft(t,e,i,s,r){for(var n,o=[],a=0,l=t.length,h=null!=e;a<l;a++)(n=t[a])&&(i&&!i(n,s,r)||(o.push(n),h&&e.push(a)));return o}function gt(t,e,i,s,r,n){return s&&!s[v]&&(s=gt(s)),r&&!r[v]&&(r=gt(r,n)),et(function(n,o,l,h){var d,c,u,p,f=[],g=[],v=o.length,y=n||function(t,e,i){for(var s=0,r=e.length;s<r;s++)Q(t,e[s],i);return i}(e||"*",l.nodeType?[l]:l,[]),x=!t||!n&&e?y:ft(y,f,t,l,h);if(i?i(x,p=r||(n?t:v||s)?[]:o,l,h):p=x,s)for(d=ft(p,g),s(d,[],l,h),c=d.length;c--;)(u=d[c])&&(p[g[c]]=!(x[g[c]]=u));if(n){if(r||t){if(r){for(d=[],c=p.length;c--;)(u=p[c])&&d.push(x[c]=u);r(null,p=[],d,h)}for(c=p.length;c--;)(u=p[c])&&(d=r?a.call(n,u):f[c])>-1&&(n[d]=!(o[d]=u))}}else p=ft(p===o?p.splice(v,p.length):p),r?r(null,o,p,h):m.apply(o,p)})}function mt(t){for(var e,i,r,o=t.length,l=s.relative[t[0].type],h=l||s.relative[" "],d=l?1:0,c=ut(function(t){return t===e},h,!0),u=ut(function(t){return a.call(e,t)>-1},h,!0),p=[function(t,i,s){var r=!l&&(s||i!=n)||((e=i).nodeType?c(t,i,s):u(t,i,s));return e=null,r}];d<o;d++)if(i=s.relative[t[d].type])p=[ut(pt(p),i)];else{if((i=s.filter[t[d].type].apply(null,t[d].matches))[v]){for(r=++d;r<o&&!s.relative[t[r].type];r++);return gt(d>1&&pt(p),d>1&&ct(t.slice(0,d-1).concat({value:" "===t[d-2].type?"*":""})).replace(P,"$1"),i,d<r&&mt(t.slice(d,r)),r<o&&mt(t=t.slice(r)),r<o&&ct(t))}p.push(i)}return pt(p)}function vt(t,e){var i,r=[],o=[],a=C[t+" "];if(!a){for(e||(e=dt(t)),i=e.length;i--;)(a=mt(e[i]))[v]?r.push(a):o.push(a);a=C(t,function(t,e){var i=e.length>0,r=t.length>0,o=function(o,a,l,d,c){var p,f,g,v=0,x="0",b=o&&[],S=[],C=n,T=o||r&&s.find.TAG("*",c),A=y+=null==C?1:Math.random()||.1,M=T.length;for(c&&(n=a==h||a||c);
vendor: 4,386 bytes, line 1
1x!==M&&null!=(p=T[x]);x++){if(r&&p){for(f=0,a||p.ownerDocument==h||(lt(p),l=!u);g=t[f++];)if(g(p,a||h,l)){m.call(d,p);break}c&&(y=A)}i&&((p=!g&&p)&&v--,o&&b.push(p))}if(v+=x,i&&x!==v){for(f=0;g=e[f++];)g(b,S,a,l);if(o){if(v>0)for(;x--;)b[x]||S[x]||(S[x]=k.call(d));S=ft(S)}m.apply(d,S),c&&!o&&S.length>0&&v+e.length>1&&w.uniqueSort(d)}return c&&(y=A,n=C),b};return i?et(o):o}(o,r)),a.selector=t}return a}function yt(t,e,i,r){var n,o,a,l,h,d="function"==typeof t&&t,c=!r&&dt(t=d.selector||t);if(i=i||[],1===c.length){if((o=c[0]=c[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===e.nodeType&&u&&s.relative[o[1].type]){if(!(e=(s.find.ID(a.matches[0].replace(q,Z),e)||[])[0]))return i;d&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(n=X.needsContext.test(t)?0:o.length;n--&&(a=o[n],!s.relative[l=a.type]);)if((h=s.find[l])&&(r=h(a.matches[0].replace(q,Z),$.test(o[0].type)&&at(e.parentNode)||e))){if(o.splice(n,1),!(t=r.length&&ct(o)))return m.apply(i,r),i;break}}return(d||vt(t,c))(r,e,!u,i,!e||$.test(t)&&at(e.parentNode)||e),i}ht.prototype=s.filters=s.pseudos,s.setFilters=new ht,p.sortStable=v.split("").sort(E).join("")===v,lt(),p.sortDetached=it(function(t){return 1&t.compareDocumentPosition(h.createElement("fieldset"))}),w.find=Q,w.expr[":"]=w.expr.pseudos,w.unique=w.uniqueSort,Q.compile=vt,Q.select=yt,Q.setDocument=lt,Q.tokenize=dt,Q.escape=w.escapeSelector,Q.getText=w.text,Q.isXML=w.isXMLDoc,Q.selectors=w.expr,Q.support=w.support,Q.uniqueSort=w.uniqueSort}();var j=function(t,e,i){for(var s=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&w(t).is(i))break;s.push(t)}return s},R=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},_=w.expr.match.needsContext,N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function B(t,e,i){return f(e)?w.grep(t,function(t,s){return!!e.call(t,s,t)!==i}):e.nodeType?w.grep(t,function(t){return t===e!==i}):"string"!=typeof e?w.grep(t,function(t){return a.call(e,t)>-1!==i}):w.filter(e,t,i)}w.filter=function(t,e,i){var s=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===s.nodeType?w.find.matchesSelector(s,t)?[s]:[]:w.find.matches(t,w.grep(e,function(t){return 1===t.nodeType}))},w.fn.extend({find:function(t){var e,i,s=this.length,r=this;if("string"!=typeof t)return this.pushStack(w(t).filter(function(){for(e=0;e<s;e++)if(w.contains(r[e],this))return!0}));for(i=this.pushStack([]),e=0;e<s;e++)w.find(t,r[e],i);return s>1?w.uniqueSort(i):i},filter:function(t){return this.pushStack(B(this,t||[],!1))},not:function(t){return this.pushStack(B(this,t||[],!0))},is:function(t){return!!B(this,"string"==typeof t&&_.test(t)?w(t):t||[],!1).length}});var z,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(t,e,i){var s,r;if(!t)return this;if(i=i||z,"string"==typeof t){if(!(s="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:F.exec(t))||!s[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(s[1]){if(e=e instanceof w?e[0]:e,w.merge(this,w.parseHTML(s[1],e&&e.nodeType?e.ownerDocument||e:m,!0)),N.test(s[1])&&w.isPlainObject(e))for(s in e)f(this[s])?this[s](e[s]):this.attr(s,e[s]);return this}return(r=m.getElementById(s[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):f(t)?void 0!==i.ready?i.ready(t):t(w):w.makeArray(t,this)}).prototype=w.fn,z=w(m);var H=/^(?:parents|prev(?:Until|All))/,W={children:!0,contents:!0,next:!0,prev:!0};function G(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}w.fn.extend({has:function(t){var e=w(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(w.contains(this,e[t]))return!0})},closest:function(t,e){var i,s=0,r=this.length,n=[],o="string"!=typeof t&&w(t);if(!_.test(t))for(;s<r;s++)for(i=this[s];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&w.find.matchesSelector(i,t))){n.push(i);break}return this.pushStack(n.length>1?w.uniqueSort(n):n)},index:function(t){return t?"string"==typeof t?a.call(w(t),this[0]):a.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),w.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return j(t,"parentNode")}
vendor: 6,560 bytes, line 1
1,parentsUntil:function(t,e,i){return j(t,"parentNode",i)},next:function(t){return G(t,"nextSibling")},prev:function(t){return G(t,"previousSibling")},nextAll:function(t){return j(t,"nextSibling")},prevAll:function(t){return j(t,"previousSibling")},nextUntil:function(t,e,i){return j(t,"nextSibling",i)},prevUntil:function(t,e,i){return j(t,"previousSibling",i)},siblings:function(t){return R((t.parentNode||{}).firstChild,t)},children:function(t){return R(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(T(t,"template")&&(t=t.content||t),w.merge([],t.childNodes))}},function(t,e){w.fn[t]=function(i,s){var r=w.map(this,e,i);return"Until"!==t.slice(-5)&&(s=i),s&&"string"==typeof s&&(r=w.filter(s,r)),this.length>1&&(W[t]||w.uniqueSort(r),H.test(t)&&r.reverse()),this.pushStack(r)}});var X=/[^\x20\t\r\n\f]+/g;function U(t){return t}function Y(t){throw t}function V(t,e,i,s){var r;try{t&&f(r=t.promise)?r.call(t).done(e).fail(i):t&&f(r=t.then)?r.call(t,e,i):e.apply(void 0,[t].slice(s))}catch(t){i.apply(void 0,[t])}}w.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return w.each(t.match(X)||[],function(t,i){e[i]=!0}),e}(t):w.extend({},t);var e,i,s,r,n=[],o=[],a=-1,l=function(){for(r=r||t.once,s=e=!0;o.length;a=-1)for(i=o.shift();++a<n.length;)!1===n[a].apply(i[0],i[1])&&t.stopOnFalse&&(a=n.length,i=!1);t.memory||(i=!1),e=!1,r&&(n=i?[]:"")},h={add:function(){return n&&(i&&!e&&(a=n.length-1,o.push(i)),function e(i){w.each(i,function(i,s){f(s)?t.unique&&h.has(s)||n.push(s):s&&s.length&&"string"!==x(s)&&e(s)})}(arguments),i&&!e&&l()),this},remove:function(){return w.each(arguments,function(t,e){for(var i;(i=w.inArray(e,n,i))>-1;)n.splice(i,1),i<=a&&a--}),this},has:function(t){return t?w.inArray(t,n)>-1:n.length>0},empty:function(){return n&&(n=[]),this},disable:function(){return r=o=[],n=i="",this},disabled:function(){return!n},lock:function(){return r=o=[],i||e||(n=i=""),this},locked:function(){return!!r},fireWith:function(t,i){return r||(i=[t,(i=i||[]).slice?i.slice():i],o.push(i),e||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!s}};return h},w.extend({Deferred:function(e){var i=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],s="pending",r={state:function(){return s},always:function(){return n.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return w.Deferred(function(e){w.each(i,function(i,s){var r=f(t[s[4]])&&t[s[4]];n[s[1]](function(){var t=r&&r.apply(this,arguments);t&&f(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[s[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(e,s,r){var n=0;function o(e,i,s,r){return function(){var a=this,l=arguments,h=function(){var t,h;if(!(e<n)){if((t=s.apply(a,l))===i.promise())throw new TypeError("Thenable self-resolution");h=t&&("object"==typeof t||"function"==typeof t)&&t.then,f(h)?r?h.call(t,o(n,i,U,r),o(n,i,Y,r)):(n++,h.call(t,o(n,i,U,r),o(n,i,Y,r),o(n,i,U,i.notifyWith))):(s!==U&&(a=void 0,l=[t]),(r||i.resolveWith)(a,l))}},d=r?h:function(){try{h()}catch(t){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(t,d.error),e+1>=n&&(s!==Y&&(a=void 0,l=[t]),i.rejectWith(a,l))}};e?d():(w.Deferred.getErrorHook?d.error=w.Deferred.getErrorHook():w.Deferred.getStackHook&&(d.error=w.Deferred.getStackHook()),t.setTimeout(d))}}return w.Deferred(function(t){i[0][3].add(o(0,t,f(r)?r:U,t.notifyWith)),i[1][3].add(o(0,t,f(e)?e:U)),i[2][3].add(o(0,t,f(s)?s:Y))}).promise()},promise:function(t){return null!=t?w.extend(t,r):r}},n={};return w.each(i,function(t,e){var o=e[2],a=e[5];r[e[1]]=o.add,a&&o.add(function(){s=a},i[3-t][2].disable,i[3-t][3].disable,i[0][2].lock,i[0][3].lock),o.add(e[3].fire),n[e[0]]=function(){return n[e[0]+"With"](this===n?void 0:this,arguments),this},n[e[0]+"With"]=o.fireWith}),r.promise(n),e&&e.call(n,n),n},when:function(t){var e=arguments.length,i=e,s=Array(i),n=r.call(arguments),o=w.Deferred(),a=function(t){return function(i){s[t]=this,n[t]=arguments.length>1?r.call(arguments):i,--e||o.resolveWith(s,n)}};if(e<=1&&(V(t,o.done(a(i)).resolve,o.reject,!e),"pending"===o.state()||f(n[i]&&n[i].then)))return o.then();for(;i--;)V(n[i],a(i),o.reject);return o.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(e,i){t.console&&t.console.warn&&e&&$.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,i)},w.readyException=function(e){t.setTimeout(function(){throw e})};var q=w.Deferred();function Z(){m.removeEventListener("DOMContentLoaded",Z),t.removeEventListener("load",Z),w.ready()}w.fn.ready=function(t){return q.then(t).catch(function(t){w.readyException(t)}),this},w.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==t&&--w.readyWait>0||q.resolveWith(m,[w]))}}),w.ready.then=q.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?t.setTimeout(w.ready):(m.addEventListener("DOMContentLoaded",Z),t.addEventListener("load",Z));var K=function(t,e,i,s,r,n,o){var a=0,l=t.length,h=null==i;if("object"===x(i))for(a in r=!0,i)K(t,e,a,i[a],!0,n,o);else if(void 0!==s&&(r=!0,f(s)||(o=!0),h&&(o?(e.call(t,s),e=null):(h=e,e=function(t,e,i){return h.call(w(t),i)})),e))for(;a<l;a++)e(t[a],i,o?s:s.call(t[a],a,e(t[a],i)));return r?t:h?e.call(t):l?e(t[0],i):n},J=/^-ms-/,Q=/-([a-z])/g;function tt(t,e){return e.toUpperCase()}function et(t){return t.replace(J,"ms-").replace(Q,tt)}var it=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function st(){this.expando=w.expando+st.uid++}st.uid=1,st.prototype={cache:function(t){var e=t[this.expando];return e||(e={},it(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var s,r=this.cache(t);if("string"==typeof e)r[et(e)]=i;else for(s in e)r[et(s)]=e[s];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][et(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,s=t[this.expando];if(void 0!==s){if(void 0!==e){i=(e=Array.isArray(e)?e.map(et):(e=et(e))in s?[e]:e.match(X)||[]).length;for(;i--;)delete s[e[i]]}
vendor: 9,813 bytes, line 1
1(void 0===e||w.isEmptyObject(s))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!w.isEmptyObject(e)}};var rt=new st,nt=new st,ot=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,at=/[A-Z]/g;function lt(t,e,i){var s;if(void 0===i&&1===t.nodeType)if(s="data-"+e.replace(at,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(s))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:ot.test(t)?JSON.parse(t):t)}(i)}catch(r){}nt.set(t,e,i)}else i=void 0;return i}w.extend({hasData:function(t){return nt.hasData(t)||rt.hasData(t)},data:function(t,e,i){return nt.access(t,e,i)},removeData:function(t,e){nt.remove(t,e)},_data:function(t,e,i){return rt.access(t,e,i)},_removeData:function(t,e){rt.remove(t,e)}}),w.fn.extend({data:function(t,e){var i,s,r,n=this[0],o=n&&n.attributes;if(void 0===t){if(this.length&&(r=nt.get(n),1===n.nodeType&&!rt.get(n,"hasDataAttrs"))){for(i=o.length;i--;)o[i]&&0===(s=o[i].name).indexOf("data-")&&(s=et(s.slice(5)),lt(n,s,r[s]));rt.set(n,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){nt.set(this,t)}):K(this,function(e){var i;if(n&&void 0===e)return void 0!==(i=nt.get(n,t))||void 0!==(i=lt(n,t))?i:void 0;this.each(function(){nt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){nt.remove(this,t)})}}),w.extend({queue:function(t,e,i){var s;if(t)return e=(e||"fx")+"queue",s=rt.get(t,e),i&&(!s||Array.isArray(i)?s=rt.access(t,e,w.makeArray(i)):s.push(i)),s||[]},dequeue:function(t,e){e=e||"fx";var i=w.queue(t,e),s=i.length,r=i.shift(),n=w._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),s--),r&&("fx"===e&&i.unshift("inprogress"),delete n.stop,r.call(t,function(){w.dequeue(t,e)},n)),!s&&n&&n.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return rt.get(t,i)||rt.access(t,i,{empty:w.Callbacks("once memory").add(function(){rt.remove(t,[e+"queue",i])})})}}),w.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?w.queue(this[0],t):void 0===e?this:this.each(function(){var i=w.queue(this,t,e);w._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&w.dequeue(this,t)})},dequeue:function(t){return this.each(function(){w.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,s=1,r=w.Deferred(),n=this,o=this.length,a=function(){--s||r.resolveWith(n,[n])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(i=rt.get(n[o],t+"queueHooks"))&&i.empty&&(s++,i.empty.add(a));return a(),r.promise(e)}});var ht=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,dt=new RegExp("^(?:([+-])=|)("+ht+")([a-z%]*)$","i"),ct=["Top","Right","Bottom","Left"],ut=m.documentElement,pt=function(t){return w.contains(t.ownerDocument,t)},ft={composed:!0};ut.getRootNode&&(pt=function(t){return w.contains(t.ownerDocument,t)||t.getRootNode(ft)===t.ownerDocument});var gt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&pt(t)&&"none"===w.css(t,"display")};function mt(t,e,i,s){var r,n,o=20,a=s?function(){return s.cur()}:function(){return w.css(t,e,"")},l=a(),h=i&&i[3]||(w.cssNumber[e]?"":"px"),d=t.nodeType&&(w.cssNumber[e]||"px"!==h&&+l)&&dt.exec(w.css(t,e));if(d&&d[3]!==h){for(l/=2,h=h||d[3],d=+l||1;o--;)w.style(t,e,d+h),(1-n)*(1-(n=a()/l||.5))<=0&&(o=0),d/=n;d*=2,w.style(t,e,d+h),i=i||[]}return i&&(d=+d||+l||0,r=i[1]?d+(i[1]+1)*i[2]:+i[2],s&&(s.unit=h,s.start=d,s.end=r)),r}var vt={};function yt(t){var e,i=t.ownerDocument,s=t.nodeName,r=vt[s];return r||(e=i.body.appendChild(i.createElement(s)),r=w.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),vt[s]=r,r)}function xt(t,e){for(var i,s,r=[],n=0,o=t.length;n<o;n++)(s=t[n]).style&&(i=s.style.display,e?("none"===i&&(r[n]=rt.get(s,"display")||null,r[n]||(s.style.display="")),""===s.style.display&>(s)&&(r[n]=yt(s))):"none"!==i&&(r[n]="none",rt.set(s,"display",i)));for(n=0;n<o;n++)null!=r[n]&&(t[n].style.display=r[n]);return t}w.fn.extend({show:function(){return xt(this,!0)},hide:function(){return xt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){gt(this)?w(this).show():w(this).hide()})}});var bt,St,wt=/^(?:checkbox|radio)$/i,Ct=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Tt=/^$|^module$|\/(?:java|ecma)script/i;bt=m.createDocumentFragment().appendChild(m.createElement("div")),(St=m.createElement("input")).setAttribute("type","radio"),St.setAttribute("checked","checked"),St.setAttribute("name","t"),bt.appendChild(St),p.checkClone=bt.cloneNode(!0).cloneNode(!0).lastChild.checked,bt.innerHTML="<textarea>x</textarea>",p.noCloneChecked=!!bt.cloneNode(!0).lastChild.defaultValue,bt.innerHTML="<option></option>",p.option=!!bt.lastChild;var kt={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 At(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&T(t,e)?w.merge([t],i):i}function Mt(t,e){for(var i=0,s=t.length;i<s;i++)rt.set(t[i],"globalEval",!e||rt.get(e[i],"globalEval"))}kt.tbody=kt.tfoot=kt.colgroup=kt.caption=kt.thead,kt.th=kt.td,p.option||(kt.optgroup=kt.option=[1,"<select multiple='multiple'>","</select>"]);var Dt=/<|&#?\w+;/;function Pt(t,e,i,s,r){for(var n,o,a,l,h,d,c=e.createDocumentFragment(),u=[],p=0,f=t.length;p<f;p++)if((n=t[p])||0===n)if("object"===x(n))w.merge(u,n.nodeType?[n]:n);else if(Dt.test(n)){for(o=o||c.appendChild(e.createElement("div")),a=(Ct.exec(n)||["",""])[1].toLowerCase(),l=kt[a]||kt._default,o.innerHTML=l[1]+w.htmlPrefilter(n)+l[2],d=l[0];d--;)o=o.lastChild;w.merge(u,o.childNodes),(o=c.firstChild).textContent=""}else u.push(e.createTextNode(n));for(c.textContent="",p=0;n=u[p++];)if(s&&w.inArray(n,s)>-1)r&&r.push(n);else if(h=pt(n),o=At(c.appendChild(n),"script"),h&&Mt(o),i)for(d=0;n=o[d++];)Tt.test(n.type||"")&&i.push(n);return c}var Lt=/^([^.]*)(?:\.(.+)|)/;function Et(){return!0}function Ot(){return!1}function It(t,e,i,s,r,n){var o,a;if("object"==typeof e){for(a in"string"!=typeof i&&(s=s||i,i=void 0),e)It(t,a,i,s,e[a],n);return t}if(null==s&&null==r?(r=i,s=i=void 0):null==r&&("string"==typeof i?(r=s,s=void 0):(r=s,s=i,i=void 0)),!1===r)r=Ot;else if(!r)return t;return 1===n&&(o=r,r=function(t){return w().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=w.guid++)),t.each(function(){w.event.add(this,e,r,s,i)})}function jt(t,e,i){i?(rt.set(t,e,!1),w.event.add(t,e,{namespace:!1,handler:function(t){var i,s=rt.get(this,e);if(1&t.isTrigger&&this[e]){if(s)(w.event.special[e]||{}).delegateType&&t.stopPropagation();else if(s=r.call(arguments),rt.set(this,e,s),this[e](),i=rt.get(this,e),rt.set(this,e,!1),s!==i)return t.stopImmediatePropagation(),t.preventDefault(),i}else s&&(rt.set(this,e,w.event.trigger(s[0],s.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Et)}})):void 0===rt.get(t,e)&&w.event.add(t,e,Et)}w.event={global:{},add:function(t,e,i,s,r){var n,o,a,l,h,d,c,u,p,f,g,m=rt.get(t);if(it(t))for(i.handler&&(i=(n=i).handler,r=n.selector),r&&w.find.matchesSelector(ut,r),i.guid||(i.guid=w.guid++),(l=m.events)||(l=m.events=Object.create(null)),(o=m.handle)||(o=m.handle=function(e){return void 0!==w&&w.event.triggered!==e.type?w.event.dispatch.apply(t,arguments):void 0}),h=(e=(e||"").match(X)||[""]).length;h--;)p=g=(a=Lt.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),p&&(c=w.event.special[p]||{},p=(r?c.delegateType:c.bindType)||p,c=w.event.special[p]||{},d=w.extend({type:p,origType:g,data:s,handler:i,guid:i.guid,selector:r,needsContext:r&&w.expr.match.needsContext.test(r),namespace:f.join(".")},n),(u=l[p])||((u=l[p]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,s,f,o)||t.addEventListener&&t.addEventListener(p,o)),c.add&&(c.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),r?u.splice(u.delegateCount++,0,d):u.push(d),w.event.global[p]=!0)},remove:function(t,e,i,s,r){var n,o,a,l,h,d,c,u,p,f,g,m=rt.hasData(t)&&rt.get(t);if(m&&(l=m.events)){for(h=(e=(e||"").match(X)||[""]).length;h--;)if(p=g=(a=Lt.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),p){for(c=w.event.special[p]||{},u=l[p=(s?c.delegateType:c.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=n=u.length;n--;)d=u[n],!r&&g!==d.origType||i&&i.guid!==d.guid||a&&!a.test(d.namespace)||s&&s!==d.selector&&("**"!==s||!d.selector)||(u.splice(n,1),d.selector&&u.delegateCount--,c.remove&&c.remove.call(t,d));o&&!u.length&&(c.teardown&&!1!==c.teardown.call(t,f,m.handle)||w.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)w.event.remove(t,p+e[h],i,s,!0);w.isEmptyObject(l)&&rt.remove(t,"handle events")}},dispatch:function(t){var e,i,s,r,n,o,a=new Array(arguments.length),l=w.event.fix(t),h=(rt.get(this,"events")||Object.create(null))[l.type]||[],d=w.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,l)){for(o=w.event.handlers.call(this,l,h),e=0;(r=o[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,i=0;(n=r.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==n.namespace&&!l.rnamespace.test(n.namespace)||(l.handleObj=n,l.data=n.data,void 0!==(s=((w.event.special[n.origType]||{}).handle||n.handler).apply(r.elem,a))&&!1===(l.result=s)&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,s,r,n,o,a=[],l=e.delegateCount,h=t.target;if(l&&h.nodeType&&!("click"===t.type&&t.button>=1))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==t.type||!0!==h.disabled)){for(n=[],o={},i=0;i<l;
vendor: 13,089 bytes, line 1
1i++)void 0===o[r=(s=e[i]).selector+" "]&&(o[r]=s.needsContext?w(r,this).index(h)>-1:w.find(r,this,null,[h]).length),o[r]&&n.push(s);n.length&&a.push({elem:h,handlers:n})}return h=this,l<e.length&&a.push({elem:h,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(w.Event.prototype,t,{enumerable:!0,configurable:!0,get:f(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[w.expando]?t:new w.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return wt.test(e.type)&&e.click&&T(e,"input")&&jt(e,"click",!0),!1},trigger:function(t){var e=this||t;return wt.test(e.type)&&e.click&&T(e,"input")&&jt(e,"click"),!0},_default:function(t){var e=t.target;return wt.test(e.type)&&e.click&&T(e,"input")&&rt.get(e,"click")||T(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},w.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},w.Event=function(t,e){if(!(this instanceof w.Event))return new w.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Et:Ot,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&&w.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Ot,isPropagationStopped:Ot,isImmediatePropagationStopped:Ot,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Et,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Et,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Et,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},function(t,e){function i(t){if(m.documentMode){var i=rt.get(this,"handle"),s=w.event.fix(t);s.type="focusin"===t.type?"focus":"blur",s.isSimulated=!0,i(t),s.target===s.currentTarget&&i(s)}else w.event.simulate(e,t.target,w.event.fix(t))}w.event.special[t]={setup:function(){var s;if(jt(this,t,!0),!m.documentMode)return!1;(s=rt.get(this,e))||this.addEventListener(e,i),rt.set(this,e,(s||0)+1)},trigger:function(){return jt(this,t),!0},teardown:function(){var t;if(!m.documentMode)return!1;(t=rt.get(this,e)-1)?rt.set(this,e,t):(this.removeEventListener(e,i),rt.remove(this,e))},_default:function(e){return rt.get(e.target,t)},delegateType:e},w.event.special[e]={setup:function(){var s=this.ownerDocument||this.document||this,r=m.documentMode?this:s,n=rt.get(r,e);n||(m.documentMode?this.addEventListener(e,i):s.addEventListener(t,i,!0)),rt.set(r,e,(n||0)+1)},teardown:function(){var s=this.ownerDocument||this.document||this,r=m.documentMode?this:s,n=rt.get(r,e)-1;n?rt.set(r,e,n):(m.documentMode?this.removeEventListener(e,i):s.removeEventListener(t,i,!0),rt.remove(r,e))}}}),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){w.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,s=t.relatedTarget,r=t.handleObj;return s&&(s===this||w.contains(this,s))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}}),w.fn.extend({on:function(t,e,i,s){return It(this,t,e,i,s)},one:function(t,e,i,s){return It(this,t,e,i,s,1)},off:function(t,e,i){var s,r;if(t&&t.preventDefault&&t.handleObj)return s=t.handleObj,w(t.delegateTarget).off(s.namespace?s.origType+"."+s.namespace:s.origType,s.selector,s.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=Ot),this.each(function(){w.event.remove(this,t,i,e)})}});var Rt=/<script|<style|<link/i,_t=/checked\s*(?:[^=]|=\s*.checked.)/i,Nt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Bt(t,e){return T(t,"table")&&T(11!==e.nodeType?e:e.firstChild,"tr")&&w(t).children("tbody")[0]||t}function zt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ft(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ht(t,e){var i,s,r,n,o,a;if(1===e.nodeType){if(rt.hasData(t)&&(a=rt.get(t).events))for(r in rt.remove(e,"handle events"),a)for(i=0,s=a[r].length;i<s;i++)w.event.add(e,r,a[r][i]);nt.hasData(t)&&(n=nt.access(t),o=w.extend({},n),nt.set(e,o))}}function Wt(t,e){var i=e.nodeName.toLowerCase();"input"===i&&wt.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}function Gt(t,e,i,s){e=n(e);var r,o,a,l,h,d,c=0,u=t.length,g=u-1,m=e[0],v=f(m);if(v||u>1&&"string"==typeof m&&!p.checkClone&&_t.test(m))return t.each(function(r){var n=t.eq(r);v&&(e[0]=m.call(this,r,n.html())),Gt(n,e,i,s)});if(u&&(o=(r=Pt(e,t[0].ownerDocument,!1,t,s)).firstChild,1===r.childNodes.length&&(r=o),o||s)){for(l=(a=w.map(At(r,"script"),zt)).length;c<u;c++)h=r,c!==g&&(h=w.clone(h,!0,!0),l&&w.merge(a,At(h,"script"))),i.call(t[c],h,c);if(l)for(d=a[a.length-1].ownerDocument,w.map(a,Ft),c=0;c<l;c++)h=a[c],Tt.test(h.type||"")&&!rt.access(h,"globalEval")&&w.contains(d,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?w._evalUrl&&!h.noModule&&w._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},d):y(h.textContent.replace(Nt,""),h,d))}return t}function Xt(t,e,i){for(var s,r=e?w.filter(e,t):t,n=0;null!=(s=r[n]);n++)i||1!==s.nodeType||w.cleanData(At(s)),s.parentNode&&(i&&pt(s)&&Mt(At(s,"script")),s.parentNode.removeChild(s));return t}w.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var s,r,n,o,a=t.cloneNode(!0),l=pt(t);if(!(p.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||w.isXMLDoc(t)))for(o=At(a),s=0,r=(n=At(t)).length;s<r;s++)Wt(n[s],o[s]);if(e)if(i)for(n=n||At(t),o=o||At(a),s=0,r=n.length;s<r;s++)Ht(n[s],o[s]);else Ht(t,a);return(o=At(a,"script")).length>0&&Mt(o,!l&&At(t,"script")),a},cleanData:function(t){for(var e,i,s,r=w.event.special,n=0;void 0!==(i=t[n]);n++)if(it(i)){if(e=i[rt.expando]){if(e.events)for(s in e.events)r[s]?w.event.remove(i,s):w.removeEvent(i,s,e.handle);i[rt.expando]=void 0}i[nt.expando]&&(i[nt.expando]=void 0)}}}),w.fn.extend({detach:function(t){return Xt(this,t,!0)},remove:function(t){return Xt(this,t)},text:function(t){return K(this,function(t){return void 0===t?w.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 Gt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Bt(this,t).appendChild(t)})},prepend:function(){return Gt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Bt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Gt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Gt(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&&(w.cleanData(At(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return w.clone(this,t,e)})},html:function(t){return K(this,function(t){var e=this[0]||{},i=0,s=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Rt.test(t)&&!kt[(Ct.exec(t)||["",""])[1].toLowerCase()]){t=w.htmlPrefilter(t);try{for(;i<s;i++)1===(e=this[i]||{}).nodeType&&(w.cleanData(At(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Gt(this,arguments,function(e){var i=this.parentNode;w.inArray(this,t)<0&&(w.cleanData(At(this)),i&&i.replaceChild(e,this))},t)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){w.fn[t]=function(t){for(var i,s=[],r=w(t),n=r.length-1,a=0;a<=n;a++)i=a===n?this:this.clone(!0),w(r[a])[e](i),o.apply(s,i.get());return this.pushStack(s)}});var Ut=new RegExp("^("+ht+")(?!px)[a-z%]+$","i"),Yt=/^--/,Vt=function(e){var i=e.ownerDocument.defaultView;return i&&i.opener||(i=t),i.getComputedStyle(e)},$t=function(t,e,i){var s,r,n={};for(r in e)n[r]=t.style[r],t.style[r]=e[r];for(r in s=i.call(t),e)t.style[r]=n[r];return s},qt=new RegExp(ct.join("|"),"i");function Zt(t,e,i){var s,r,n,o,a=Yt.test(e),l=t.style;return(i=i||Vt(t))&&(o=i.getPropertyValue(e)||i[e],a&&o&&(o=o.replace(P,"$1")||void 0),""!==o||pt(t)||(o=w.style(t,e)),!p.pixelBoxStyles()&&Ut.test(o)&&qt.test(e)&&(s=l.width,r=l.minWidth,n=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=i.width,l.width=s,l.minWidth=r,l.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(){function e(){if(d){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ut.appendChild(h).appendChild(d);var e=t.getComputedStyle(d);s="1%"!==e.top,l=12===i(e.marginLeft),d.style.right="60%",o=36===i(e.right),r=36===i(e.width),d.style.position="absolute",n=12===i(d.offsetWidth/3),ut.removeChild(h),d=null}}function i(t){return Math.round(parseFloat(t))}var s,r,n,o,a,l,h=m.createElement("div"),d=m.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",p.clearCloneStyle="content-box"===d.style.backgroundClip,w.extend(p,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),s},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),n},reliableTrDimensions:function(){var e,i,s,r;return null==a&&(e=m.createElement("table"),i=m.createElement("tr"),s=m.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",i.style.cssText="box-sizing:content-box;border:1px solid",i.style.height="1px",s.style.height="9px",s.style.display="block",ut.appendChild(e).appendChild(i).appendChild(s),r=t.getComputedStyle(i),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===i.offsetHeight,ut.removeChild(e)),a}}))}();var Jt=["Webkit","Moz","ms"],Qt=m.createElement("div").style,te={};function ee(t){var e=w.cssProps[t]||te[t];return e||(t in Qt?t:te[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=Jt.length;i--;)if((t=Jt[i]+e)in Qt)return t}(t)||t)}var ie=/^(none|table(?!-c[ea]).+)/,se={position:"absolute",visibility:"hidden",display:"block"},re={letterSpacing:"0",fontWeight:"400"};function ne(t,e,i){var s=dt.exec(e);return s?Math.max(0,s[2]-(i||0))+(s[3]||"px"):e}function oe(t,e,i,s,r,n){var o="width"===e?1:0,a=0,l=0,h=0;if(i===(s?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(h+=w.css(t,i+ct[o],!0,r)),s?("content"===i&&(l-=w.css(t,"padding"+ct[o],!0,r)),"margin"!==i&&(l-=w.css(t,"border"+ct[o]+"Width",!0,r))):(l+=w.css(t,"padding"+ct[o],!0,r),"padding"!==i?l+=w.css(t,"border"+ct[o]+"Width",!0,r):a+=w.css(t,"border"+ct[o]+"Width",!0,r));return!s&&n>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-n-l-a-.5))||0),l+h}function ae(t,e,i){var s=Vt(t),r=(!p.boxSizingReliable()||i)&&"border-box"===w.css(t,"boxSizing",!1,s),n=r,o=Zt(t,e,s),a="offset"+e[0].toUpperCase()+e.slice(1);if(Ut.test(o)){if(!i)return o;o="auto"}return(!p.boxSizingReliable()&&r||!p.reliableTrDimensions()&&T(t,"tr")||"auto"===o||!parseFloat(o)&&"inline"===w.css(t,"display",!1,s))&&t.getClientRects().length&&(r="border-box"===w.css(t,"boxSizing",!1,s),(n=a in t)&&(o=t[a])),(o=parseFloat(o)||0)+oe(t,e,i||(r?"border":"content"),n,s,o)+"px"}function le(t,e,i,s,r){return new le.prototype.init(t,e,i,s,r)}w.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Zt(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{}
vendor: 4,674 bytes, line 1
1,style:function(t,e,i,s){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,n,o,a=et(e),l=Yt.test(e),h=t.style;if(l||(e=ee(a)),o=w.cssHooks[e]||w.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(r=o.get(t,!1,s))?r:h[e];"string"===(n=typeof i)&&(r=dt.exec(i))&&r[1]&&(i=mt(t,e,r),n="number"),null!=i&&i==i&&("number"!==n||l||(i+=r&&r[3]||(w.cssNumber[a]?"":"px")),p.clearCloneStyle||""!==i||0!==e.indexOf("background")||(h[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,s))||(l?h.setProperty(e,i):h[e]=i))}},css:function(t,e,i,s){var r,n,o,a=et(e);return Yt.test(e)||(e=ee(a)),(o=w.cssHooks[e]||w.cssHooks[a])&&"get"in o&&(r=o.get(t,!0,i)),void 0===r&&(r=Zt(t,e,s)),"normal"===r&&e in re&&(r=re[e]),""===i||i?(n=parseFloat(r),!0===i||isFinite(n)?n||0:r):r}}),w.each(["height","width"],function(t,e){w.cssHooks[e]={get:function(t,i,s){if(i)return!ie.test(w.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ae(t,e,s):$t(t,se,function(){return ae(t,e,s)})},set:function(t,i,s){var r,n=Vt(t),o=!p.scrollboxSize()&&"absolute"===n.position,a=(o||s)&&"border-box"===w.css(t,"boxSizing",!1,n),l=s?oe(t,e,s,a,n):0;return a&&o&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(n[e])-oe(t,e,"border",!1,n)-.5)),l&&(r=dt.exec(i))&&"px"!==(r[3]||"px")&&(t.style[e]=i,i=w.css(t,e)),ne(0,i,l)}}}),w.cssHooks.marginLeft=Kt(p.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Zt(t,"marginLeft"))||t.getBoundingClientRect().left-$t(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(t,e){w.cssHooks[t+e]={expand:function(i){for(var s=0,r={},n="string"==typeof i?i.split(" "):[i];s<4;s++)r[t+ct[s]+e]=n[s]||n[s-2]||n[0];return r}},"margin"!==t&&(w.cssHooks[t+e].set=ne)}),w.fn.extend({css:function(t,e){return K(this,function(t,e,i){var s,r,n={},o=0;if(Array.isArray(e)){for(s=Vt(t),r=e.length;o<r;o++)n[e[o]]=w.css(t,e[o],!1,s);return n}return void 0!==i?w.style(t,e,i):w.css(t,e)},t,e,arguments.length>1)}}),w.Tween=le,le.prototype={constructor:le,init:function(t,e,i,s,r,n){this.elem=t,this.prop=i,this.easing=r||w.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=s,this.unit=n||(w.cssNumber[i]?"":"px")},cur:function(){var t=le.propHooks[this.prop];return t&&t.get?t.get(this):le.propHooks._default.get(this)},run:function(t){var e,i=le.propHooks[this.prop];return this.options.duration?this.pos=e=w.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.set(this):le.propHooks._default.set(this),this}},le.prototype.init.prototype=le.prototype,le.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=w.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){w.fx.step[t.prop]?w.fx.step[t.prop](t):1!==t.elem.nodeType||!w.cssHooks[t.prop]&&null==t.elem.style[ee(t.prop)]?t.elem[t.prop]=t.now:w.style(t.elem,t.prop,t.now+t.unit)}}},le.propHooks.scrollTop=le.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},w.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},w.fx=le.prototype.init,w.fx.step={};var he,de,ce=/^(?:toggle|show|hide)$/,ue=/queueHooks$/;function pe(){de&&(!1===m.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(pe):t.setTimeout(pe,w.fx.interval),w.fx.tick())}function fe(){return t.setTimeout(function(){he=void 0}),he=Date.now()}function ge(t,e){var i,s=0,r={height:t};for(e=e?1:0;s<4;s+=2-e)r["margin"+(i=ct[s])]=r["padding"+i]=t;return e&&(r.opacity=r.width=t),r}function me(t,e,i){for(var s,r=(ve.tweeners[e]||[]).concat(ve.tweeners["*"]),n=0,o=r.length;n<o;n++)if(s=r[n].call(i,e,t))return s}function ve(t,e,i){var s,r,n=0,o=ve.prefilters.length,a=w.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=he||fe(),i=Math.max(0,h.startTime+h.duration-e),s=1-(i/h.duration||0),n=0,o=h.tweens.length;n<o;n++)h.tweens[n].run(s);return a.notifyWith(t,[h,s,i]),s<1&&o?i:(o||a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h]),!1)},h=a.promise({elem:t,props:w.extend({},e),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},i),originalProperties:e,originalOptions:i,startTime:he||fe(),duration:i.duration,tweens:[],createTween:function(e,i){var s=w.Tween(t,h.opts,e,i,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(s),s},stop:function(e){var i=0,s=e?h.tweens.length:0;if(r)return this;for(r=!0;i<s;i++)h.tweens[i].run(1);
vendor: 4,653 bytes, line 1
1return e?(a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h,e])):a.rejectWith(t,[h,e]),this}}),d=h.props;for(!function(t,e){var i,s,r,n,o;for(i in t)if(r=e[s=et(i)],n=t[i],Array.isArray(n)&&(r=n[1],n=t[i]=n[0]),i!==s&&(t[s]=n,delete t[i]),(o=w.cssHooks[s])&&"expand"in o)for(i in n=o.expand(n),delete t[s],n)i in t||(t[i]=n[i],e[i]=r);else e[s]=r}(d,h.opts.specialEasing);n<o;n++)if(s=ve.prefilters[n].call(h,t,d,h.opts))return f(s.stop)&&(w._queueHooks(h.elem,h.opts.queue).stop=s.stop.bind(s)),s;return w.map(d,me,h),f(h.opts.start)&&h.opts.start.call(t,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),w.fx.timer(w.extend(l,{elem:t,anim:h,queue:h.opts.queue})),h}w.Animation=w.extend(ve,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return mt(i.elem,t,dt.exec(e),i),i}]},tweener:function(t,e){f(t)?(e=t,t=["*"]):t=t.match(X);for(var i,s=0,r=t.length;s<r;s++)i=t[s],ve.tweeners[i]=ve.tweeners[i]||[],ve.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var s,r,n,o,a,l,h,d,c="width"in e||"height"in e,u=this,p={},f=t.style,g=t.nodeType&>(t),m=rt.get(t,"fxshow");for(s in i.queue||(null==(o=w._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,u.always(function(){u.always(function(){o.unqueued--,w.queue(t,"fx").length||o.empty.fire()})})),e)if(r=e[s],ce.test(r)){if(delete e[s],n=n||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[s])continue;g=!0}p[s]=m&&m[s]||w.style(t,s)}if((l=!w.isEmptyObject(e))||!w.isEmptyObject(p))for(s in c&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(h=m&&m.display)&&(h=rt.get(t,"display")),"none"===(d=w.css(t,"display"))&&(h?d=h:(xt([t],!0),h=t.style.display||h,d=w.css(t,"display"),xt([t]))),("inline"===d||"inline-block"===d&&null!=h)&&"none"===w.css(t,"float")&&(l||(u.done(function(){f.display=h}),null==h&&(d=f.display,h="none"===d?"":d)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",u.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=rt.access(t,"fxshow",{display:h}),n&&(m.hidden=!g),g&&xt([t],!0),u.done(function(){for(s in g||xt([t]),rt.remove(t,"fxshow"),p)w.style(t,s,p[s])})),l=me(g?m[s]:0,s,u),s in m||(m[s]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ve.prefilters.unshift(t):ve.prefilters.push(t)}}),w.speed=function(t,e,i){var s=t&&"object"==typeof t?w.extend({},t):{complete:i||!i&&e||f(t)&&t,duration:t,easing:i&&e||e&&!f(e)&&e};return w.fx.off?s.duration=0:"number"!=typeof s.duration&&(s.duration in w.fx.speeds?s.duration=w.fx.speeds[s.duration]:s.duration=w.fx.speeds._default),null!=s.queue&&!0!==s.queue||(s.queue="fx"),s.old=s.complete,s.complete=function(){f(s.old)&&s.old.call(this),s.queue&&w.dequeue(this,s.queue)},s},w.fn.extend({fadeTo:function(t,e,i,s){return this.filter(gt).css("opacity",0).show().end().animate({opacity:e},t,i,s)},animate:function(t,e,i,s){var r=w.isEmptyObject(t),n=w.speed(e,i,s),o=function(){var e=ve(this,w.extend({},t),n);(r||rt.get(this,"finish"))&&e.stop(!0)};return o.finish=o,r||!1===n.queue?this.each(o):this.queue(n.queue,o)},stop:function(t,e,i){var s=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",n=w.timers,o=rt.get(this);if(r)o[r]&&o[r].stop&&s(o[r]);else for(r in o)o[r]&&o[r].stop&&ue.test(r)&&s(o[r]);for(r=n.length;r--;)n[r].elem!==this||null!=t&&n[r].queue!==t||(n[r].anim.stop(i),e=!1,n.splice(r,1));!e&&i||w.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,i=rt.get(this),s=i[t+"queue"],r=i[t+"queueHooks"],n=w.timers,o=s?s.length:0;for(i.finish=!0,w.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=n.length;e--;)n[e].elem===this&&n[e].queue===t&&(n[e].anim.stop(!0),n.splice(e,1));for(e=0;e<o;e++)s[e]&&s[e].finish&&s[e].finish.call(this);delete i.finish})}}),w.each(["toggle","show","hide"],function(t,e){var i=w.fn[e];w.fn[e]=function(t,s,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(ge(e,!0),t,s,r)}}),w.each({slideDown:ge("show"),slideUp:ge("hide"),slideToggle:ge("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){w.fn[t]=function(t,i,s){return this.animate(e,t,i,s)}}),w.timers=[],w.fx.tick=function(){var t,e=0,i=w.timers;for(he=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||w.fx.stop(),he=void 0},w.fx.timer=function(t){w.timers.push(t),w.fx.start()}
vendor: 3,658 bytes, line 1
1,w.fx.interval=13,w.fx.start=function(){de||(de=!0,pe())},w.fx.stop=function(){de=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(e,i){return e=w.fx&&w.fx.speeds[e]||e,i=i||"fx",this.queue(i,function(i,s){var r=t.setTimeout(i,e);s.stop=function(){t.clearTimeout(r)}})},function(){var t=m.createElement("input"),e=m.createElement("select").appendChild(m.createElement("option"));t.type="checkbox",p.checkOn=""!==t.value,p.optSelected=e.selected,(t=m.createElement("input")).value="t",t.type="radio",p.radioValue="t"===t.value}();var ye,xe=w.expr.attrHandle;w.fn.extend({attr:function(t,e){return K(this,w.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){w.removeAttr(this,t)})}}),w.extend({attr:function(t,e,i){var s,r,n=t.nodeType;if(3!==n&&8!==n&&2!==n)return void 0===t.getAttribute?w.prop(t,e,i):(1===n&&w.isXMLDoc(t)||(r=w.attrHooks[e.toLowerCase()]||(w.expr.match.bool.test(e)?ye:void 0)),void 0!==i?null===i?void w.removeAttr(t,e):r&&"set"in r&&void 0!==(s=r.set(t,i,e))?s:(t.setAttribute(e,i+""),i):r&&"get"in r&&null!==(s=r.get(t,e))?s:null==(s=w.find.attr(t,e))?void 0:s)},attrHooks:{type:{set:function(t,e){if(!p.radioValue&&"radio"===e&&T(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,s=0,r=e&&e.match(X);if(r&&1===t.nodeType)for(;i=r[s++];)t.removeAttribute(i)}}),ye={set:function(t,e,i){return!1===e?w.removeAttr(t,i):t.setAttribute(i,i),i}},w.each(w.expr.match.bool.source.match(/\w+/g),function(t,e){var i=xe[e]||w.find.attr;xe[e]=function(t,e,s){var r,n,o=e.toLowerCase();return s||(n=xe[o],xe[o]=r,r=null!=i(t,e,s)?o:null,xe[o]=n),r}});var be=/^(?:input|select|textarea|button)$/i,Se=/^(?:a|area)$/i;function we(t){return(t.match(X)||[]).join(" ")}function Ce(t){return t.getAttribute&&t.getAttribute("class")||""}function Te(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(X)||[]}w.fn.extend({prop:function(t,e){return K(this,w.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[w.propFix[t]||t]})}}),w.extend({prop:function(t,e,i){var s,r,n=t.nodeType;if(3!==n&&8!==n&&2!==n)return 1===n&&w.isXMLDoc(t)||(e=w.propFix[e]||e,r=w.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(s=r.set(t,i,e))?s:t[e]=i:r&&"get"in r&&null!==(s=r.get(t,e))?s:t[e]},propHooks:{tabIndex:{get:function(t){var e=w.find.attr(t,"tabindex");return e?parseInt(e,10):be.test(t.nodeName)||Se.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.optSelected||(w.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.fn.extend({addClass:function(t){var e,i,s,r,n,o;return f(t)?this.each(function(e){w(this).addClass(t.call(this,e,Ce(this)))}):(e=Te(t)).length?this.each(function(){if(s=Ce(this),i=1===this.nodeType&&" "+we(s)+" "){for(n=0;n<e.length;n++)r=e[n],i.indexOf(" "+r+" ")<0&&(i+=r+" ");o=we(i),s!==o&&this.setAttribute("class",o)}}):this},removeClass:function(t){var e,i,s,r,n,o;return f(t)?this.each(function(e){w(this).removeClass(t.call(this,e,Ce(this)))}):arguments.length?(e=Te(t)).length?this.each(function(){if(s=Ce(this),i=1===this.nodeType&&" "+we(s)+" "){for(n=0;n<e.length;n++)for(r=e[n];i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");o=we(i),s!==o&&this.setAttribute("class",o)}}):this:this.attr("class","")}
vendor: 19,116 bytes, line 1
1,toggleClass:function(t,e){var i,s,r,n,o=typeof t,a="string"===o||Array.isArray(t);return f(t)?this.each(function(i){w(this).toggleClass(t.call(this,i,Ce(this),e),e)}):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(i=Te(t),this.each(function(){if(a)for(n=w(this),r=0;r<i.length;r++)s=i[r],n.hasClass(s)?n.removeClass(s):n.addClass(s);else void 0!==t&&"boolean"!==o||((s=Ce(this))&&rt.set(this,"__className__",s),this.setAttribute&&this.setAttribute("class",s||!1===t?"":rt.get(this,"__className__")||""))}))},hasClass:function(t){var e,i,s=0;for(e=" "+t+" ";i=this[s++];)if(1===i.nodeType&&(" "+we(Ce(i))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;w.fn.extend({val:function(t){var e,i,s,r=this[0];return arguments.length?(s=f(t),this.each(function(i){var r;1===this.nodeType&&(null==(r=s?t.call(this,i,w(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=w.map(r,function(t){return null==t?"":t+""})),(e=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=w.valHooks[r.type]||w.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(ke,""):null==i?"":i:void 0}}),w.extend({valHooks:{option:{get:function(t){var e=w.find.attr(t,"value");return null!=e?e:we(w.text(t))}},select:{get:function(t){var e,i,s,r=t.options,n=t.selectedIndex,o="select-one"===t.type,a=o?null:[],l=o?n+1:r.length;for(s=n<0?l:o?n:0;s<l;s++)if(((i=r[s]).selected||s===n)&&!i.disabled&&(!i.parentNode.disabled||!T(i.parentNode,"optgroup"))){if(e=w(i).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var i,s,r=t.options,n=w.makeArray(e),o=r.length;o--;)((s=r[o]).selected=w.inArray(w.valHooks.option.get(s),n)>-1)&&(i=!0);return i||(t.selectedIndex=-1),n}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=w.inArray(w(t).val(),e)>-1}},p.checkOn||(w.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ae=t.location,Me={guid:Date.now()},De=/\?/;w.parseXML=function(e){var i,s;if(!e||"string"!=typeof e)return null;try{i=(new t.DOMParser).parseFromString(e,"text/xml")}catch(r){}return s=i&&i.getElementsByTagName("parsererror")[0],i&&!s||w.error("Invalid XML: "+(s?w.map(s.childNodes,function(t){return t.textContent}).join("\n"):e)),i};var Pe=/^(?:focusinfocus|focusoutblur)$/,Le=function(t){t.stopPropagation()};w.extend(w.event,{trigger:function(e,i,s,r){var n,o,a,l,h,c,u,p,v=[s||m],y=d.call(e,"type")?e.type:e,x=d.call(e,"namespace")?e.namespace.split("."):[];if(o=p=a=s=s||m,3!==s.nodeType&&8!==s.nodeType&&!Pe.test(y+w.event.triggered)&&(y.indexOf(".")>-1&&(x=y.split("."),y=x.shift(),x.sort()),h=y.indexOf(":")<0&&"on"+y,(e=e[w.expando]?e:new w.Event(y,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=x.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=s),i=null==i?[e]:w.makeArray(i,[e]),u=w.event.special[y]||{},r||!u.trigger||!1!==u.trigger.apply(s,i))){if(!r&&!u.noBubble&&!g(s)){for(l=u.delegateType||y,Pe.test(l+y)||(o=o.parentNode);o;o=o.parentNode)v.push(o),a=o;a===(s.ownerDocument||m)&&v.push(a.defaultView||a.parentWindow||t)}for(n=0;(o=v[n++])&&!e.isPropagationStopped();)p=o,e.type=n>1?l:u.bindType||y,(c=(rt.get(o,"events")||Object.create(null))[e.type]&&rt.get(o,"handle"))&&c.apply(o,i),(c=h&&o[h])&&c.apply&&it(o)&&(e.result=c.apply(o,i),!1===e.result&&e.preventDefault());return e.type=y,r||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(v.pop(),i)||!it(s)||h&&f(s[y])&&!g(s)&&((a=s[h])&&(s[h]=null),w.event.triggered=y,e.isPropagationStopped()&&p.addEventListener(y,Le),s[y](),e.isPropagationStopped()&&p.removeEventListener(y,Le),w.event.triggered=void 0,a&&(s[h]=a)),e.result}},simulate:function(t,e,i){var s=w.extend(new w.Event,i,{type:t,isSimulated:!0});w.event.trigger(s,null,e)}}),w.fn.extend({trigger:function(t,e){return this.each(function(){w.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return w.event.trigger(t,e,i,!0)}});var Ee=/\[\]$/,Oe=/\r?\n/g,Ie=/^(?:submit|button|image|reset|file)$/i,je=/^(?:input|select|textarea|keygen)/i;function Re(t,e,i,s){var r;if(Array.isArray(e))w.each(e,function(e,r){i||Ee.test(t)?s(t,r):Re(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,i,s)});else if(i||"object"!==x(e))s(t,e);else for(r in e)Re(t+"["+r+"]",e[r],i,s)}w.param=function(t,e){var i,s=[],r=function(t,e){var i=f(e)?e():e;s[s.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!w.isPlainObject(t))w.each(t,function(){r(this.name,this.value)});else for(i in t)Re(i,t[i],e,r);return s.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=w.prop(this,"elements");return t?w.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!w(this).is(":disabled")&&je.test(this.nodeName)&&!Ie.test(t)&&(this.checked||!wt.test(t))}).map(function(t,e){var i=w(this).val();return null==i?null:Array.isArray(i)?w.map(i,function(t){return{name:e.name,value:t.replace(Oe,"\r\n")}}):{name:e.name,value:i.replace(Oe,"\r\n")}}).get()}});var _e=/%20/g,Ne=/#.*$/,Be=/([?&])_=[^&]*/,ze=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fe=/^(?:GET|HEAD)$/,He=/^\/\//,We={},Ge={},Xe="*/".concat("*"),Ue=m.createElement("a");function Ye(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var s,r=0,n=e.toLowerCase().match(X)||[];if(f(i))for(;s=n[r++];)"+"===s[0]?(s=s.slice(1)||"*",(t[s]=t[s]||[]).unshift(i)):(t[s]=t[s]||[]).push(i)}}function Ve(t,e,i,s){var r={},n=t===Ge;function o(a){var l;return r[a]=!0,w.each(t[a]||[],function(t,a){var h=a(e,i,s);return"string"!=typeof h||n||r[h]?n?!(l=h):void 0:(e.dataTypes.unshift(h),o(h),!1)}),l}return o(e.dataTypes[0])||!r["*"]&&o("*")}function $e(t,e){var i,s,r=w.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:s||(s={}))[i]=e[i]);return s&&w.extend(!0,t,s),t}Ue.href=Ae.href,w.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:{"*":Xe,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":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?$e($e(t,w.ajaxSettings),e):$e(w.ajaxSettings,t)},ajaxPrefilter:Ye(We),ajaxTransport:Ye(Ge),ajax:function(e,i){"object"==typeof e&&(i=e,e=void 0),i=i||{};var s,r,n,o,a,l,h,d,c,u,p=w.ajaxSetup({},i),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?w(f):w.event,v=w.Deferred(),y=w.Callbacks("once memory"),x=p.statusCode||{},b={},S={},C="canceled",T={readyState:0,getResponseHeader:function(t){var e;if(h){if(!o)for(o={};e=ze.exec(n);)o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=o[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?n:null},setRequestHeader:function(t,e){return null==h&&(t=S[t.toLowerCase()]=S[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==h&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(h)T.always(t[T.status]);else for(e in t)x[e]=[x[e],t[e]];return this},abort:function(t){var e=t||C;return s&&s.abort(e),k(0,e),this}};if(v.promise(T),p.url=((e||p.url||Ae.href)+"").replace(He,Ae.protocol+"//"),p.type=i.method||i.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(X)||[""],null==p.crossDomain){l=m.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ue.protocol+"//"+Ue.host!=l.protocol+"//"+l.host}catch(A){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=w.param(p.data,p.traditional)),Ve(We,p,i,T),h)return T;for(c in(d=w.event&&p.global)&&0===w.active++&&w.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Fe.test(p.type),r=p.url.replace(Ne,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(_e,"+")):(u=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(De.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Be,"$1"),u=(De.test(r)?"&":"?")+"_="+Me.guid+++u),p.url=r+u),p.ifModified&&(w.lastModified[r]&&T.setRequestHeader("If-Modified-Since",w.lastModified[r]),w.etag[r]&&T.setRequestHeader("If-None-Match",w.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||i.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Xe+"; q=0.01":""):p.accepts["*"]),p.headers)T.setRequestHeader(c,p.headers[c]);if(p.beforeSend&&(!1===p.beforeSend.call(f,T,p)||h))return T.abort();if(C="abort",y.add(p.complete),T.done(p.success),T.fail(p.error),s=Ve(Ge,p,i,T)){if(T.readyState=1,d&&g.trigger("ajaxSend",[T,p]),h)return T;p.async&&p.timeout>0&&(a=t.setTimeout(function(){T.abort("timeout")},p.timeout));try{h=!1,s.send(b,k)}catch(A){if(h)throw A;k(-1,A)}}else k(-1,"No Transport");function k(e,i,o,l){var c,u,m,b,S,C=i;h||(h=!0,a&&t.clearTimeout(a),s=void 0,n=l||"",T.readyState=e>0?4:0,c=e>=200&&e<300||304===e,o&&(b=function(t,e,i){for(var s,r,n,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===s&&(s=t.mimeType||e.getResponseHeader("Content-Type"));if(s)for(r in a)if(a[r]&&a[r].test(s)){l.unshift(r);break}if(l[0]in i)n=l[0];else{for(r in i){if(!l[0]||t.converters[r+" "+l[0]]){n=r;break}o||(o=r)}n=n||o}if(n)return n!==l[0]&&l.unshift(n),i[n]}(p,T,o)),!c&&w.inArray("script",p.dataTypes)>-1&&w.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=function(t,e,i,s){var r,n,o,a,l,h={},d=t.dataTypes.slice();if(d[1])for(o in t.converters)h[o.toLowerCase()]=t.converters[o];for(n=d.shift();n;)if(t.responseFields[n]&&(i[t.responseFields[n]]=e),!l&&s&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=n,n=d.shift())if("*"===n)n=l;else if("*"!==l&&l!==n){if(!(o=h[l+" "+n]||h["* "+n]))for(r in h)if((a=r.split(" "))[1]===n&&(o=h[l+" "+a[0]]||h["* "+a[0]])){!0===o?o=h[r]:!0!==h[r]&&(n=a[0],d.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(A){return{state:"parsererror",error:o?A:"No conversion from "+l+" to "+n}}}return{state:"success",data:e}}(p,b,T,c),c?(p.ifModified&&((S=T.getResponseHeader("Last-Modified"))&&(w.lastModified[r]=S),(S=T.getResponseHeader("etag"))&&(w.etag[r]=S)),204===e||"HEAD"===p.type?C="nocontent":304===e?C="notmodified":(C=b.state,u=b.data,c=!(m=b.error))):(m=C,!e&&C||(C="error",e<0&&(e=0))),T.status=e,T.statusText=(i||C)+"",c?v.resolveWith(f,[u,C,T]):v.rejectWith(f,[T,C,m]),T.statusCode(x),x=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[T,p,c?u:m]),y.fireWith(f,[T,C]),d&&(g.trigger("ajaxComplete",[T,p]),--w.active||w.event.trigger("ajaxStop")))}return T},getJSON:function(t,e,i){return w.get(t,e,i,"json")},getScript:function(t,e){return w.get(t,void 0,e,"script")}}),w.each(["get","post"],function(t,e){w[e]=function(t,i,s,r){return f(i)&&(r=r||s,s=i,i=void 0),w.ajax(w.extend({url:t,type:e,dataType:r,data:i,success:s},w.isPlainObject(t)&&t))}}),w.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),w._evalUrl=function(t,e,i){return w.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){w.globalEval(t,e,i)}})},w.fn.extend({wrapAll:function(t){var e;return this[0]&&(f(t)&&(t=t.call(this[0])),e=w(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return f(t)?this.each(function(e){w(this).wrapInner(t.call(this,e))}):this.each(function(){var e=w(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=f(t);return this.each(function(i){w(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(t){return!w.expr.pseudos.visible(t)},w.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(e){}};var qe={0:200,1223:204},Ze=w.ajaxSettings.xhr();p.cors=!!Ze&&"withCredentials"in Ze,p.ajax=Ze=!!Ze,w.ajaxTransport(function(e){var i,s;if(p.cors||Ze&&!e.crossDomain)return{send:function(r,n){var o,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];for(o in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);i=function(t){return function(){i&&(i=s=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?n(0,"error"):n(a.status,a.statusText):n(qe[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=i(),s=a.onerror=a.ontimeout=i("error"),void 0!==a.onabort?a.onabort=s:a.onreadystatechange=function(){4===a.readyState&&t.setTimeout(function(){i&&s()})},i=i("abort");try{a.send(e.hasContent&&e.data||null)}catch(l){if(i)throw l}},abort:function(){i&&i()}}}),w.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),w.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 w.globalEval(t),t}}}),w.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),w.ajaxTransport("script",function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(s,r){e=w("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&r("error"===t.type?404:200,t.type)}),m.head.appendChild(e[0])},abort:function(){i&&i()}}});var Ke,Je=[],Qe=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||w.expando+"_"+Me.guid++;return this[t]=!0,t}}),w.ajaxPrefilter("json jsonp",function(e,i,s){var r,n,o,a=!1!==e.jsonp&&(Qe.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qe.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=f(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Qe,"$1"+r):!1!==e.jsonp&&(e.url+=(De.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||w.error(r+" was not called"),o[0]},e.dataTypes[0]="json",n=t[r],t[r]=function(){o=arguments},s.always(function(){void 0===n?w(t).removeProp(r):t[r]=n,e[r]&&(e.jsonpCallback=i.jsonpCallback,Je.push(r)),o&&f(n)&&n(o[0]),o=n=void 0}),"script"}),p.createHTMLDocument=((Ke=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ke.childNodes.length),w.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(p.createHTMLDocument?((s=(e=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,e.head.appendChild(s)):e=m),n=!i&&[],(r=N.exec(t))?[e.createElement(r[1])]:(r=Pt([t],e,n),n&&n.length&&w(n).remove(),w.merge([],r.childNodes)));var s,r,n},w.fn.load=function(t,e,i){var s,r,n,o=this,a=t.indexOf(" ");return a>-1&&(s=we(t.slice(a)),t=t.slice(0,a)),f(e)?(i=e,e=void 0):e&&"object"==typeof e&&(r="POST"),o.length>0&&w.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){n=arguments,o.html(s?w("<div>").append(w.parseHTML(t)).find(s):t)}).always(i&&function(t,e){o.each(function(){i.apply(this,n||[t.responseText,e,t])})}),this},w.expr.pseudos.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},w.offset={setOffset:function(t,e,i){var s,r,n,o,a,l,h=w.css(t,"position"),d=w(t),c={};"static"===h&&(t.style.position="relative"),a=d.offset(),n=w.css(t,"top"),l=w.css(t,"left"),("absolute"===h||"fixed"===h)&&(n+l).indexOf("auto")>-1?(o=(s=d.position()).top,r=s.left):(o=parseFloat(n)||0,r=parseFloat(l)||0),f(e)&&(e=e.call(t,i,w.extend({},a))),null!=e.top&&(c.top=e.top-a.top+o),null!=e.left&&(c.left=e.left-a.left+r),"using"in e?e.using.call(t,c):d.css(c)}},w.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)});var e,i,s=this[0];return s?s.getClientRects().length?(e=s.getBoundingClientRect(),i=s.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,s=this[0],r={top:0,left:0};if("fixed"===w.css(s,"position"))e=s.getBoundingClientRect();else{for(e=this.offset(),i=s.ownerDocument,t=s.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===w.css(t,"position");)t=t.parentNode;t&&t!==s&&1===t.nodeType&&((r=w(t).offset()).top+=w.css(t,"borderTopWidth",!0),r.left+=w.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-w.css(s,"marginTop",!0),left:e.left-r.left-w.css(s,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===w.css(t,"position");)t=t.offsetParent;return t||ut})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;w.fn[t]=function(s){return K(this,function(t,s,r){var n;if(g(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===r)return n?n[e]:t[s];n?n.scrollTo(i?n.pageXOffset:r,i?r:n.pageYOffset):t[s]=r},t,s,arguments.length)}}),w.each(["top","left"],function(t,e){w.cssHooks[e]=Kt(p.pixelPosition,function(t,i){if(i)return i=Zt(t,e),Ut.test(i)?w(t).position()[e]+"px":i})}),w.each({Height:"height",Width:"width"},function(t,e){w.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,s){w.fn[s]=function(r,n){var o=arguments.length&&(i||"boolean"!=typeof r),a=i||(!0===r||!0===n?"margin":"border");return K(this,function(e,i,r){var n;return g(e)?0===s.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+t],n["scroll"+t],e.body["offset"+t],n["offset"+t],n["client"+t])):void 0===r?w.css(e,i,a):w.style(e,i,r,a)},e,o?r:void 0,o)}})}),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){w.fn[e]=function(t){return this.on(e,t)}}
1),w.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,s){return this.on(e,t,i,s)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),w.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,e){w.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}});var ti=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;w.proxy=function(t,e){var i,s,n;if("string"==typeof e&&(i=t[e],e=t,t=i),f(t))return s=r.call(arguments,2),n=function(){return t.apply(e||this,s.concat(r.call(arguments)))},n.guid=t.guid=t.guid||w.guid++,n},w.holdReady=function(t){t?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=T,w.isFunction=f,w.isWindow=g,w.camelCase=et,w.type=x,w.now=Date.now,w.isNumeric=function(t){var e=w.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},w.trim=function(t){return null==t?"":(t+"").replace(ti,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var ei=t.jQuery,ii=t.$;return w.noConflict=function(e){return t.$===w&&(t.$=ii),e&&t.jQuery===w&&(t.jQuery=ei),w},void 0===e&&(t.jQuery=t.$=w),w})},5846:function(t,e,i){"use strict";var s,r,n,o,a=i(4692),l=function(t,e){if(l.factory(t,e))return l;if(this instanceof l)return a(t).DataTable(e);e=t,this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new r(t?le(this[s.iApiIndex]):this)},this.fnAddData=function(t,e){var i=this.api(!0),s=Array.isArray(t)&&(Array.isArray(t[0])||a.isPlainObject(t[0]))?i.rows.add(t):i.row.add(t);return(void 0===e||e)&&i.draw(),s.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),i=e.settings()[0],s=i.oScroll;void 0===t||t?e.draw(!1):""===s.sX&&""===s.sY||Gt(i)},this.fnClearTable=function(t){var e=this.api(!0).clear();(void 0===t||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,i){var s=this.api(!0),r=s.rows(t),n=r.settings()[0],o=n.aoData[r[0][0]];return r.remove(),e&&e.call(this,n,o),(void 0===i||i)&&s.draw(),o},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,i,s,r,n){var o=this.api(!0);null==e?o.search(t,i,s,n):o.column(e).search(t,i,s,n),o.draw()},this.fnGetData=function(t,e){var i=this.api(!0);if(void 0!==t){var s=t.nodeName?t.nodeName.toLowerCase():"";return void 0!==e||"td"==s||"th"==s?i.cell(t,e).data():i.row(t).data()||null}return i.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return void 0!==t?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),i=t.nodeName.toUpperCase();if("TR"==i)return e.row(t).index();if("TD"==i||"TH"==i){var s=e.cell(t).index();return[s.row,s.columnVisible,s.column]}return null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,i){return this.api(!0).row(t).child(e,i).show().child()[0]},this.fnPageChange=function(t,e){var i=this.api(!0).page(t);(void 0===e||e)&&i.draw(!1)},this.fnSetColumnVis=function(t,e,i){var s=this.api(!0).column(t).visible(e);(void 0===i||i)&&s.columns.adjust().draw()},this.fnSettings=function(){return le(this[s.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,i){this.api(!0).order.listener(t,e,i)},this.fnUpdate=function(t,e,i,s,r){var n=this.api(!0);return null==i?n.row(e).data(t):n.cell(e,i).data(t),(void 0===r||r)&&n.columns.adjust(),(void 0===s||s)&&n.draw(),0},this.fnVersionCheck=s.fnVersionCheck;var i=this,n=void 0===e,o=this.length;for(var h in n&&(e={}
1),this.oApi=this.internal=s.internal,l.ext.internal)h&&(this[h]=Ve(h));return this.each(function(){var t,s=o>1?ce({},e,!0):e,r=0,h=this.getAttribute("id"),d=!1,c=l.defaults,u=a(this);if("table"==this.nodeName.toLowerCase()){O(c),I(c.column),P(c,c,!0),P(c.column,c.column,!0),P(c,a.extend(s,u.data()),!0);var p=l.settings;for(r=0,t=p.length;r<t;r++){var f=p[r];if(f.nTable==this||f.nTHead&&f.nTHead.parentNode==this||f.nTFoot&&f.nTFoot.parentNode==this){var g=void 0!==s.bRetrieve?s.bRetrieve:c.bRetrieve,m=void 0!==s.bDestroy?s.bDestroy:c.bDestroy;if(n||g)return f.oInstance;if(m){f.oInstance.fnDestroy();break}return void he(f,0,"Cannot reinitialise DataTable",3)}if(f.sTableId==this.id){p.splice(r,1);break}}null!==h&&""!==h||(h="DataTables_Table_"+l.ext._unique++,this.id=h);var v=a.extend(!0,{},l.models.oSettings,{sDestroyWidth:u[0].style.width,sInstance:h,sTableId:h});v.nTable=this,v.oApi=i.internal,v.oInit=s,p.push(v),v.oInstance=1===i.length?i:u.dataTable(),O(s),L(s.oLanguage),s.aLengthMenu&&!s.iDisplayLength&&(s.iDisplayLength=Array.isArray(s.aLengthMenu[0])?s.aLengthMenu[0][0]:s.aLengthMenu[0]),s=ce(a.extend(!0,{},c),s),de(v.oFeatures,s,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),de(v,s,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),de(v.oScroll,s,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),de(v.oLanguage,s,"fnInfoCallback"),pe(v,"aoDrawCallback",s.fnDrawCallback,"user"),pe(v,"aoServerParams",s.fnServerParams,"user"),pe(v,"aoStateSaveParams",s.fnStateSaveParams,"user"),pe(v,"aoStateLoadParams",s.fnStateLoadParams,"user"),pe(v,"aoStateLoaded",s.fnStateLoaded,"user"),pe(v,"aoRowCallback",s.fnRowCallback,"user"),pe(v,"aoRowCreatedCallback",s.fnCreatedRow,"user"),pe(v,"aoHeaderCallback",s.fnHeaderCallback,"user"),pe(v,"aoFooterCallback",s.fnFooterCallback,"user"),pe(v,"aoInitComplete",s.fnInitComplete,"user"),pe(v,"aoPreDrawCallback",s.fnPreDrawCallback,"user"),v.rowIdFn=J(s.rowId),j(v);var y=v.oClasses;if(a.extend(y,l.ext.classes,s.oClasses),u.addClass(y.sTable),void 0===v.iInitDisplayStart&&(v.iInitDisplayStart=s.iDisplayStart,v._iDisplayStart=s.iDisplayStart),null!==s.iDeferLoading){v.bDeferLoading=!0;var x=Array.isArray(s.iDeferLoading);v._iRecordsDisplay=x?s.iDeferLoading[0]:s.iDeferLoading,v._iRecordsTotal=x?s.iDeferLoading[1]:s.iDeferLoading}var b=v.oLanguage;a.extend(!0,b,s.oLanguage),b.sUrl?(a.ajax({dataType:"json",url:b.sUrl,success:function(t){P(c.oLanguage,t),L(t),a.extend(!0,b,t,v.oInit.oLanguage),fe(v,null,"i18n",[v]),jt(v)},error:function(){jt(v)}}),d=!0):fe(v,null,"i18n",[v]),null===s.asStripeClasses&&(v.asStripeClasses=[y.sStripeOdd,y.sStripeEven]);var S=v.asStripeClasses,w=u.children("tbody").find("tr").eq(0);-1!==a.inArray(!0,a.map(S,function(t,e){return w.hasClass(t)}))&&(a("tbody tr",this).removeClass(S.join(" ")),v.asDestroyStripes=S.slice());var C,T=[],k=this.getElementsByTagName("thead");if(0!==k.length&&(ut(v.aoHeader,k[0]),T=pt(v)),null===s.aoColumns)for(C=[],r=0,t=T.length;r<t;r++)C.push(null);else C=s.aoColumns;for(r=0,t=C.length;r<t;r++)_(v,T?T[r]:null);if(X(v,s.aoColumnDefs,C,function(t,e){N(v,t,e)}),w.length){var A=function(t,e){return null!==t.getAttribute("data-"+e)?e:null};a(w[0]).children("th, td").each(function(t,e){var i=v.aoColumns[t];if(i||he(v,0,"Incorrect column count",18),i.mData===t){var s=A(e,"sort")||A(e,"order"),r=A(e,"filter")||A(e,"search");null===s&&null===r||(i.mData={_:t+".display",sort:null!==s?t+".@data-"+s:void 0,type:null!==s?t+".@data-"+s:void 0,filter:null!==r?t+".@data-"+r:void 0},i._isArrayHost=!0,N(v,t))}})}var M=v.oFeatures,D=function(){if(void 0===s.aaSorting){var e=v.aaSorting;for(r=0,t=e.length;r<t;r++)e[r][1]=v.aoColumns[r].asSorting[0]}se(v),M.bSort&&pe(v,"aoDrawCallback",function(){if(v.bSorted){var t=Jt(v),e={};a.each(t,function(t,i){e[i.src]=i.dir}),fe(v,null,"order",[v,t,e]),te(v)}}),pe(v,"aoDrawCallback",function(){(v.bSorted||"ssp"===ve(v)||M.bDeferRender)&&se(v)},"sc");var i=u.children("caption").each(function(){this._captionSide=a(this).css("caption-side")}),n=u.children("thead");0===n.length&&(n=a("<thead/>").appendTo(u)),v.nTHead=n[0];var o=u.children("tbody");0===o.length&&(o=a("<tbody/>").insertAfter(n)),v.nTBody=o[0];var l=u.children("tfoot");
1if(0===l.length&&i.length>0&&(""!==v.oScroll.sX||""!==v.oScroll.sY)&&(l=a("<tfoot/>").appendTo(u)),0===l.length||0===l.children().length?u.addClass(y.sNoFooter):l.length>0&&(v.nTFoot=l[0],ut(v.aoFooter,v.nTFoot)),s.aaData)for(r=0;r<s.aaData.length;r++)U(v,s.aaData[r]);else(v.bDeferLoading||"dom"==ve(v))&&Y(v,a(v.nTBody).children("tr"));v.aiDisplay=v.aiDisplayMaster.slice(),v.bInitialised=!0,!1===d&&jt(v)};pe(v,"aoDrawCallback",ne,"state_save"),s.bStateSave?(M.bStateSave=!0,oe(v,s,D)):D()}else he(null,0,"Non-table node initialisation ("+this.nodeName+")",2)}),i=null,this},h={},d=/[\r\n\u2028]/g,c=/<.*?>/g,u=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,p=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),f=/['\u00A0,$£â¬Â¥%\u2009\u202F\u20BD\u20a9\u20BArfkÉÎ]/gi,g=function(t){return!t||!0===t||"-"===t},m=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},v=function(t,e){return h[e]||(h[e]=new RegExp(kt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(h[e],"."):t},y=function(t,e,i){var s=typeof t,r="string"===s;return"number"===s||"bigint"===s||(!!g(t)||(e&&r&&(t=v(t,e)),i&&r&&(t=t.replace(f,"")),!isNaN(parseFloat(t))&&isFinite(t)))},x=function(t,e,i){if(g(t))return!0;var s=function(t){return g(t)||"string"==typeof t}(t);return s&&!!y(T(t),e,i)||null},b=function(t,e,i){var s=[],r=0,n=t.length;if(void 0!==i)for(;r<n;r++)t[r]&&t[r][e]&&s.push(t[r][e][i]);else for(;r<n;r++)t[r]&&s.push(t[r][e]);return s},S=function(t,e,i,s){var r=[],n=0,o=e.length;if(void 0!==s)for(;n<o;n++)t[e[n]][i]&&r.push(t[e[n]][i][s]);else for(;n<o;n++)r.push(t[e[n]][i]);return r},w=function(t,e){var i,s=[];void 0===e?(e=0,i=t):(i=e,e=t);for(var r=e;r<i;r++)s.push(r);return s},C=function(t){for(var e=[],i=0,s=t.length;i<s;i++)t[i]&&e.push(t[i]);return e},T=function(t){return t.replace(c,"").replace(/<script/i,"")},k=function(t){if(function(t){if(t.length<2)return!0;for(var e=t.slice().sort(),i=e[0],s=1,r=e.length;s<r;s++){if(e[s]===i)return!1;i=e[s]}return!0}(t))return t.slice();var e,i,s,r=[],n=t.length,o=0;t:for(i=0;i<n;i++){for(e=t[i],s=0;s<o;s++)if(r[s]===e)continue t;r.push(e),o++}return r},A=function(t,e){if(Array.isArray(e))for(var i=0;i<e.length;i++)A(t,e[i]);else t.push(e);return t},M=function(t,e){return void 0===e&&(e=0),-1!==this.indexOf(t,e)};function D(t){var e,i,s={};a.each(t,function(r,n){(e=r.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(e[1]+" ")&&(i=r.replace(e[0],e[2].toLowerCase()),s[i]=r,"o"===e[1]&&D(t[r]))}),t._hungarianMap=s}function P(t,e,i){var s;t._hungarianMap||D(t),a.each(e,function(r,n){void 0===(s=t._hungarianMap[r])||!i&&void 0!==e[s]||("o"===s.charAt(0)?(e[s]||(e[s]={}),a.extend(!0,e[s],e[r]),P(t[s],e[s],i)):e[s]=e[r])})}function L(t){var e=l.defaults.oLanguage,i=e.sDecimal;if(i&&Ne(i),t){var s=t.sZeroRecords;!t.sEmptyTable&&s&&"No data available in table"===e.sEmptyTable&&de(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&s&&"Loading..."===e.sLoadingRecords&&de(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands);var r=t.sDecimal;r&&i!==r&&Ne(r)}}Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.prototype.includes||(Array.prototype.includes=M),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}),String.prototype.includes||(String.prototype.includes=M),l.util={throttle:function(t,e){var i,s,r=void 0!==e?e:200;return function(){var e=this,n=+new Date,o=arguments;i&&n<i+r?(clearTimeout(s),s=setTimeout(function(){i=void 0,t.apply(e,o)},r)):(i=n,t.apply(e,o))}},escapeRegex:function(t){return t.replace(p,"\\$1")},set:function(t){if(a.isPlainObject(t))return l.util.set(t._);if(null===t)return function(){};if("function"==typeof t)return function(e,i,s){t(e,"set",i,s)};if("string"!=typeof t||-1===t.indexOf(".")&&-1===t.indexOf("[")&&-1===t.indexOf("("))return function(e,i){e[t]=i};var e=function(t,i,s){for(var r,n,o,a,l,h=K(s),d=h[h.length-1],c=0,u=h.length-1;c<u;c++){if("__proto__"===h[c]||"constructor"===h[c])throw new Error("Cannot set prototype values");if(n=h[c].match(q),o=h[c].match(Z),n){if(h[c]=h[c].replace(q,""),t[h[c]]=[],(r=h.slice()).splice(0,c+1),l=r.join("."),Array.isArray(i))for(var p=0,f=i.length;p<f;p++)e(a={},i[p],l),t[h[c]].push(a);else t[h[c]]=i;return}o&&(h[c]=h[c].replace(Z,""),t=t[h[c]](i)),null!==t[h[c]]&&void 0!==t[h[c]]||(t[h[c]]={}),t=t[h[c]]}d.match(Z)?t=t[d.replace(Z,"")](i):t[d.replace(q,"")]=i};return function(i,s){return e(i,s,t)}},get:function(t){if(a.isPlainObject(t)){var e={};return a.each(t,function(t,i){i&&(e[t]=l.util.get(i))}),function(t,i,s,r){var n=e[i]||e._;return void 0!==n?n(t,i,s,r):t}}if(null===t)return function(t){return t};if("function"==typeof t)return function(e,i,s,r){return t(e,i,s,r)};if("string"!=typeof t||-1===t.indexOf(".")&&-1===t.indexOf("[")&&-1===t.indexOf("("))return function(e,i){return e[t]};var i=function(t,e,s){var r,n,o,a;if(""!==s)for(var l=K(s),h=0,d=l.length;h<d;h++){if(r=l[h].match(q),n=l[h].match(Z),r){if(l[h]=l[h].replace(q,""),""!==l[h]&&(t=t[l[h]]),o=[],l.splice(0,h+1),a=l.join("."),Array.isArray(t))for(var c=0,u=t.length;c<u;c++)o.push(i(t[c],e,a));var p=r[0].substring(1,r[0].length-1);t=""===p?o:o.join(p);break}if(n)l[h]=l[h].replace(Z,""),t=t[l[h]]();else{if(null===t||null===t[l[h]])return null;if(void 0===t||void 0===t[l[h]])return;t=t[l[h]]}}return t};return function(e,s){return i(e,s,t)}}};
vendor: 5,717 bytes, line 1
1var E=function(t,e,i){void 0!==t[e]&&(t[i]=t[e])};function O(t){E(t,"ordering","bSort"),E(t,"orderMulti","bSortMulti"),E(t,"orderClasses","bSortClasses"),E(t,"orderCellsTop","bSortCellsTop"),E(t,"order","aaSorting"),E(t,"orderFixed","aaSortingFixed"),E(t,"paging","bPaginate"),E(t,"pagingType","sPaginationType"),E(t,"pageLength","iDisplayLength"),E(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":"");var e=t.aoSearchCols;if(e)for(var i=0,s=e.length;i<s;i++)e[i]&&P(l.models.oSearch,e[i])}function I(t){E(t,"orderable","bSortable"),E(t,"orderData","aDataSort"),E(t,"orderSequence","asSorting"),E(t,"orderDataType","sortDataType");var e=t.aDataSort;"number"!=typeof e||Array.isArray(e)||(t.aDataSort=[e])}function j(t){if(!l.__browser){var e={};l.__browser=e;var i=a("<div/>").css({position:"fixed",top:0,left:-1*a(window).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(a("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(a("<div/>").css({width:"100%",height:10}))).appendTo("body"),s=i.children(),r=s.children();e.barWidth=s[0].offsetWidth-s[0].clientWidth,e.bScrollOversize=100===r[0].offsetWidth&&100!==s[0].clientWidth,e.bScrollbarLeft=1!==Math.round(r.offset().left),e.bBounding=!!i[0].getBoundingClientRect().width,i.remove()}a.extend(t.oBrowser,l.__browser),t.oScroll.iBarWidth=l.__browser.barWidth}function R(t,e,i,s,r,n){var o,a=s,l=!1;for(void 0!==i&&(o=i,l=!0);a!==r;)t.hasOwnProperty(a)&&(o=l?e(o,t[a],a,t):t[a],l=!0,a+=n);return o}function _(t,e){var i=l.defaults.column,s=t.aoColumns.length,r=a.extend({},l.models.oColumn,i,{nTh:e||document.createElement("th"),sTitle:i.sTitle?i.sTitle:e?e.innerHTML:"",aDataSort:i.aDataSort?i.aDataSort:[s],mData:i.mData?i.mData:s,idx:s});t.aoColumns.push(r);var n=t.aoPreSearchCols;n[s]=a.extend({},l.models.oSearch,n[s]),N(t,s,a(e).data())}function N(t,e,i){var s=t.aoColumns[e],r=t.oClasses,n=a(s.nTh);if(!s.sWidthOrig){s.sWidthOrig=n.attr("width")||null;var o=(n.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);o&&(s.sWidthOrig=o[1])}if(null!=i){I(i),P(l.defaults.column,i,!0),void 0===i.mDataProp||i.mData||(i.mData=i.mDataProp),i.sType&&(s._sManualType=i.sType),i.className&&!i.sClass&&(i.sClass=i.className),i.sClass&&n.addClass(i.sClass);var h=s.sClass;a.extend(s,i),de(s,i,"sWidth","sWidthOrig"),h!==s.sClass&&(s.sClass=h+" "+s.sClass),void 0!==i.iDataSort&&(s.aDataSort=[i.iDataSort]),de(s,i,"aDataSort"),s.ariaTitle||(s.ariaTitle=n.attr("aria-label"))}var d=s.mData,c=J(d),u=s.mRender?J(s.mRender):null,p=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};s._bAttrSrc=a.isPlainObject(d)&&(p(d.sort)||p(d.type)||p(d.filter)),s._setter=null,s.fnGetData=function(t,e,i){var s=c(t,e,void 0,i);return u&&e?u(s,e,t,i):s},s.fnSetData=function(t,e,i){return Q(d)(t,e,i)},"number"==typeof d||s._isArrayHost||(t._rowReadObject=!0),t.oFeatures.bSort||(s.bSortable=!1,n.addClass(r.sSortableNone));var f=-1!==a.inArray("asc",s.asSorting),g=-1!==a.inArray("desc",s.asSorting);s.bSortable&&(f||g)?f&&!g?(s.sSortingClass=r.sSortableAsc,s.sSortingClassJUI=r.sSortJUIAscAllowed):!f&&g?(s.sSortingClass=r.sSortableDesc,s.sSortingClassJUI=r.sSortJUIDescAllowed):(s.sSortingClass=r.sSortable,s.sSortingClassJUI=r.sSortJUI):(s.sSortingClass=r.sSortableNone,s.sSortingClassJUI="")}function B(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;Yt(t);for(var i=0,s=e.length;i<s;i++)e[i].nTh.style.width=e[i].sWidth}var r=t.oScroll;""===r.sY&&""===r.sX||Gt(t),fe(t,null,"column-sizing",[t])}function z(t,e){var i=W(t,"bVisible");return"number"==typeof i[e]?i[e]:null}function F(t,e){var i=W(t,"bVisible"),s=a.inArray(e,i);return-1!==s?s:null}function H(t){var e=0;return a.each(t.aoColumns,function(t,i){i.bVisible&&"none"!==a(i.nTh).css("display")&&e++}),e}function W(t,e){var i=[];return a.map(t.aoColumns,function(t,s){t[e]&&i.push(s)}),i}function G(t){var e,i,s,r,n,o,a,h,d,c=t.aoColumns,u=t.aoData,p=l.ext.type.detect;for(e=0,i=c.length;e<i;e++)if(d=[],!(a=c[e]).sType&&a._sManualType)a.sType=a._sManualType;else if(!a.sType){for(s=0,r=p.length;s<r;s++){for(n=0,o=u.length;n<o&&(void 0===d[n]&&(d[n]=V(t,n,e,"type")),(h=p[s](d[n],t))||s===p.length-1)&&("html"!==h||g(d[n]));n++);if(h){a.sType=h;break}}a.sType||(a.sType="string")}}function X(t,e,i,s){var r,n,o,l,h,d,c,u=t.aoColumns;if(e)for(r=e.length-1;r>=0;r--){var p=void 0!==(c=e[r]).target?c.target:void 0!==c.targets?c.targets:c.aTargets;for(Array.isArray(p)||(p=[p]),o=0,l=p.length;o<l;o++)if("number"==typeof p[o]&&p[o]>=0){for(;u.length<=p[o];)_(t);s(p[o],c)}else if("number"==typeof p[o]&&p[o]<0)s(u.length+p[o],c);else if("string"==typeof p[o])for(h=0,d=u.length;h<d;h++)("_all"==p[o]||a(u[h].nTh).hasClass(p[o]))&&s(h,c)}if(i)for(r=0,n=i.length;r<n;r++)s(r,i[r])}function U(t,e,i,s){var r=t.aoData.length,n=a.extend(!0,{},l.models.oRow,{src:i?"dom":"data",idx:r});n._aData=e,t.aoData.push(n);for(var o=t.aoColumns,h=0,d=o.length;h<d;h++)o[h].sType=null;t.aiDisplayMaster.push(r);var c=t.rowIdFn(e);return void 0!==c&&(t.aIds[c]=n),!i&&t.oFeatures.bDeferRender||nt(t,r,i,s),r}function Y(t,e){var i;return e instanceof a||(e=a(e)),e.map(function(e,s){return i=rt(t,s),U(t,i.data,s,i.cells)})}function V(t,e,i,s){"search"===s?s="filter":"order"===s&&(s="sort");var r=t.iDraw,n=t.aoColumns[i],o=t.aoData[e]._aData,a=n.sDefaultContent,h=n.fnGetData(o,s,{settings:t,row:e,col:i});if(void 0===h)return t.iDrawError!=r&&null===a&&(he(t,0,"Requested unknown parameter "+("function"==typeof n.mData?"{function}":"'"+n.mData+"'")+" for row "+e+", column "+i,4),t.iDrawError=r),a;if(h!==o&&null!==h||null===a||void 0===s){if("function"==typeof h)return h.call(o)}else h=a;
1if(null===h&&"display"===s)return"";if("filter"===s){var d=l.ext.type.search;d[n.sType]&&(h=d[n.sType](h))}return h}function $(t,e,i,s){var r=t.aoColumns[i],n=t.aoData[e]._aData;r.fnSetData(n,s,{settings:t,row:e,col:i})}var q=/\[.*?\]$/,Z=/\(\)$/;function K(t){return a.map(t.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\\./g,".")})}var J=l.util.get,Q=l.util.set;function tt(t){return b(t.aoData,"_aData")}function et(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function it(t,e,i){for(var s=-1,r=0,n=t.length;r<n;r++)t[r]==e?s=r:t[r]>e&&t[r]--;-1!=s&&void 0===i&&t.splice(s,1)}function st(t,e,i,s){var r,n,o=t.aoData[e],a=function(i,s){for(;i.childNodes.length;)i.removeChild(i.firstChild);i.innerHTML=V(t,e,s,"display")};if("dom"!==i&&(i&&"auto"!==i||"dom"!==o.src)){var l=o.anCells;if(l)if(void 0!==s)a(l[s],s);else for(r=0,n=l.length;r<n;r++)a(l[r],r)}else o._aData=rt(t,o,s,void 0===s?void 0:o._aData).data;o._aSortData=null,o._aFilterData=null;var h=t.aoColumns;if(void 0!==s)h[s].sType=null;else{for(r=0,n=h.length;r<n;r++)h[r].sType=null;ot(t,o)}}function rt(t,e,i,s){var r,n,o,a=[],l=e.firstChild,h=0,d=t.aoColumns,c=t._rowReadObject;s=void 0!==s?s:c?{}:[];var u=function(t,e){if("string"==typeof t){var i=t.indexOf("@");if(-1!==i){var r=t.substring(i+1);Q(t)(s,e.getAttribute(r))}}},p=function(t){void 0!==i&&i!==h||(n=d[h],o=t.innerHTML.trim(),n&&n._bAttrSrc?(Q(n.mData._)(s,o),u(n.mData.sort,t),u(n.mData.type,t),u(n.mData.filter,t)):c?(n._setter||(n._setter=Q(n.mData)),n._setter(s,o)):s[h]=o);h++};if(l)for(;l;)"TD"!=(r=l.nodeName.toUpperCase())&&"TH"!=r||(p(l),a.push(l)),l=l.nextSibling;else for(var f=0,g=(a=e.anCells).length;f<g;f++)p(a[f]);var m=e.firstChild?e:e.nTr;if(m){var v=m.getAttribute("id");v&&Q(t.rowId)(s,v)}return{data:s,cells:a}}function nt(t,e,i,s){var r,n,o,l,h,d,c=t.aoData[e],u=c._aData,p=[];if(null===c.nTr){for(r=i||document.createElement("tr"),c.nTr=r,c.anCells=p,r._DT_RowIndex=e,ot(t,c),l=0,h=t.aoColumns.length;l<h;l++)o=t.aoColumns[l],(n=(d=!i)?document.createElement(o.sCellType):s[l])||he(t,0,"Incorrect column count",18),n._DT_CellIndex={row:e,column:l},p.push(n),!d&&(!o.mRender&&o.mData===l||a.isPlainObject(o.mData)&&o.mData._===l+".display")||(n.innerHTML=V(t,e,l,"display")),o.sClass&&(n.className+=" "+o.sClass),o.bVisible&&!i?r.appendChild(n):!o.bVisible&&i&&n.parentNode.removeChild(n),o.fnCreatedCell&&o.fnCreatedCell.call(t.oInstance,n,V(t,e,l),u,e,l);fe(t,"aoRowCreatedCallback",null,[r,u,e,p])}}function ot(t,e){var i=e.nTr,s=e._aData;if(i){var r=t.rowIdFn(s);if(r&&(i.id=r),s.DT_RowClass){var n=s.DT_RowClass.split(" ");e.__rowc=e.__rowc?k(e.__rowc.concat(n)):n,a(i).removeClass(e.__rowc.join(" ")).addClass(s.DT_RowClass)}s.DT_RowAttr&&a(i).attr(s.DT_RowAttr),s.DT_RowData&&a(i).data(s.DT_RowData)}}function at(t){var e,i,s,r,n,o=t.nTHead,l=t.nTFoot,h=0===a("th, td",o).length,d=t.oClasses,c=t.aoColumns;for(h&&(r=a("<tr/>").appendTo(o)),e=0,i=c.length;e<i;e++)n=c[e],s=a(n.nTh).addClass(n.sClass),h&&s.appendTo(r),t.oFeatures.bSort&&(s.addClass(n.sSortingClass),!1!==n.bSortable&&(s.attr("tabindex",t.iTabIndex).attr("aria-controls",t.sTableId),ie(t,n.nTh,e))),n.sTitle!=s[0].innerHTML&&s.html(n.sTitle),me(t,"header")(t,s,n,d);if(h&&ut(t.aoHeader,o),a(o).children("tr").children("th, td").addClass(d.sHeaderTH),a(l).children("tr").children("th, td").addClass(d.sFooterTH),null!==l){var u=t.aoFooter[0];for(e=0,i=u.length;e<i;e++)(n=c[e])?(n.nTf=u[e].cell,n.sClass&&a(n.nTf).addClass(n.sClass)):he(t,0,"Incorrect column count",18)}}function lt(t,e,i){var s,r,n,o,l,h,d,c,u,p=[],f=[],g=t.aoColumns.length;if(e){for(void 0===i&&(i=!1),s=0,r=e.length;s<r;s++){for(p[s]=e[s].slice(),p[s].nTr=e[s].nTr,n=g-1;n>=0;n--)t.aoColumns[n].bVisible||i||p[s].splice(n,1);f.push([])}for(s=0,r=p.length;s<r;s++){if(d=p[s].nTr)for(;h=d.firstChild;)d.removeChild(h);for(n=0,o=p[s].length;n<o;n++)if(c=1,u=1,void 0===f[s][n]){for(d.appendChild(p[s][n].cell),f[s][n]=1;void 0!==p[s+c]&&p[s][n].cell==p[s+c][n].cell;)f[s+c][n]=1,c++;for(;void 0!==p[s][n+u]&&p[s][n].cell==p[s][n+u].cell;){for(l=0;l<c;l++)f[s+l][n+u]=1;u++}a(p[s][n].cell).attr("rowspan",c).attr("colspan",u)}}}}function ht(t,e){!function(t){var e="ssp"==ve(t),i=t.iInitDisplayStart;
vendor: 6,229 bytes, line 1
1void 0!==i&&-1!==i&&(t._iDisplayStart=e?i:i>=t.fnRecordsDisplay()?0:i,t.iInitDisplayStart=-1)}(t);var i=fe(t,"aoPreDrawCallback","preDraw",[t]);if(-1===a.inArray(!1,i)){var s=[],r=0,n=t.asStripeClasses,o=n.length,l=t.oLanguage,h="ssp"==ve(t),d=t.aiDisplay,c=t._iDisplayStart,u=t.fnDisplayEnd();if(t.bDrawing=!0,t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,Ht(t,!1);else if(h){if(!t.bDestroying&&!e)return void gt(t)}else t.iDraw++;if(0!==d.length)for(var p=h?0:c,f=h?t.aoData.length:u,g=p;g<f;g++){var m=d[g],v=t.aoData[m];null===v.nTr&&nt(t,m);var y=v.nTr;if(0!==o){var x=n[r%o];v._sRowStripe!=x&&(a(y).removeClass(v._sRowStripe).addClass(x),v._sRowStripe=x)}fe(t,"aoRowCallback",null,[y,v._aData,r,g,m]),s.push(y),r++}else{var b=l.sZeroRecords;1==t.iDraw&&"ajax"==ve(t)?b=l.sLoadingRecords:l.sEmptyTable&&0===t.fnRecordsTotal()&&(b=l.sEmptyTable),s[0]=a("<tr/>",{class:o?n[0]:""}).append(a("<td />",{valign:"top",colSpan:H(t),class:t.oClasses.sRowEmpty}).html(b))[0]}fe(t,"aoHeaderCallback","header",[a(t.nTHead).children("tr")[0],tt(t),c,u,d]),fe(t,"aoFooterCallback","footer",[a(t.nTFoot).children("tr")[0],tt(t),c,u,d]);var S=a(t.nTBody);S.children().detach(),S.append(a(s)),fe(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}else Ht(t,!1)}function dt(t,e){var i=t.oFeatures,s=i.bSort,r=i.bFilter;s&&Qt(t),r?bt(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,ht(t),t._drawHold=!1}function ct(t){var e=t.oClasses,i=a(t.nTable),s=a("<div/>").insertBefore(i),r=t.oFeatures,n=a("<div/>",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=s[0],t.nTableWrapper=n[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var o,h,d,c,u,p,f=t.sDom.split(""),g=0;g<f.length;g++){if(o=null,"<"==(h=f[g])){if(d=a("<div/>")[0],"'"==(c=f[g+1])||'"'==c){for(u="",p=2;f[g+p]!=c;)u+=f[g+p],p++;if("H"==u?u=e.sJUIHeader:"F"==u&&(u=e.sJUIFooter),-1!=u.indexOf(".")){var m=u.split(".");d.id=m[0].substr(1,m[0].length-1),d.className=m[1]}else"#"==u.charAt(0)?d.id=u.substr(1,u.length-1):d.className=u;g+=p}n.append(d),n=a(d)}else if(">"==h)n=n.parent();else if("l"==h&&r.bPaginate&&r.bLengthChange)o=Nt(t);else if("f"==h&&r.bFilter)o=xt(t);else if("r"==h&&r.bProcessing)o=Ft(t);else if("t"==h)o=Wt(t);else if("i"==h&&r.bInfo)o=Et(t);else if("p"==h&&r.bPaginate)o=Bt(t);else if(0!==l.ext.feature.length)for(var v=l.ext.feature,y=0,x=v.length;y<x;y++)if(h==v[y].cFeature){o=v[y].fnInit(t);break}if(o){var b=t.aanFeatures;b[h]||(b[h]=[]),b[h].push(o),n.append(o)}}s.replaceWith(n),t.nHolding=null}function ut(t,e){var i,s,r,n,o,l,h,d,c,u,p=a(e).children("tr"),f=function(t,e,i){for(var s=t[e];s[i];)i++;return i};for(t.splice(0,t.length),r=0,l=p.length;r<l;r++)t.push([]);for(r=0,l=p.length;r<l;r++)for(s=(i=p[r]).firstChild;s;){if("TD"==s.nodeName.toUpperCase()||"TH"==s.nodeName.toUpperCase())for(d=(d=1*s.getAttribute("colspan"))&&0!==d&&1!==d?d:1,c=(c=1*s.getAttribute("rowspan"))&&0!==c&&1!==c?c:1,h=f(t,r,0),u=1===d,o=0;o<d;o++)for(n=0;n<c;n++)t[r+n][h+o]={cell:s,unique:u},t[r+n].nTr=i;s=s.nextSibling}}function pt(t,e,i){var s=[];i||(i=t.aoHeader,e&&ut(i=[],e));for(var r=0,n=i.length;r<n;r++)for(var o=0,a=i[r].length;o<a;o++)!i[r][o].unique||s[o]&&t.bSortCellsTop||(s[o]=i[r][o].cell);return s}function ft(t,e,i){if(fe(t,"aoServerParams","serverParams",[e]),e&&Array.isArray(e)){var s={},r=/(.*?)\[\]$/;a.each(e,function(t,e){var i=e.name.match(r);if(i){var n=i[0];s[n]||(s[n]=[]),s[n].push(e.value)}else s[e.name]=e.value}),e=s}var n,o=t.ajax,l=t.oInstance,h=function(e){var s=t.jqXHR?t.jqXHR.status:null;(null===e||"number"==typeof s&&204==s)&&yt(t,e={},[]);var r=e.error||e.sError;r&&he(t,0,r),t.json=e,fe(t,null,"xhr",[t,e,t.jqXHR]),i(e)};if(a.isPlainObject(o)&&o.data){var d="function"==typeof(n=o.data)?n(e,t):n;e="function"==typeof n&&d?d:a.extend(!0,e,d),delete o.data}var c={data:e,success:h,dataType:"json",cache:!1,type:t.sServerMethod,error:function(e,i,s){var r=fe(t,null,"xhr",[t,null,t.jqXHR]);-1===a.inArray(!0,r)&&("parsererror"==i?he(t,0,"Invalid JSON response",1):4===e.readyState&&he(t,0,"Ajax error",7)),Ht(t,!1)}};t.oAjaxData=e,fe(t,null,"preXhr",[t,e]),t.fnServerData?t.fnServerData.call(l,t.sAjaxSource,a.map(e,function(t,e){return{name:e,value:t}}),h,t):t.sAjaxSource||"string"==typeof o?t.jqXHR=a.ajax(a.extend(c,{url:o||t.sAjaxSource})):"function"==typeof o?t.jqXHR=o.call(l,e,h,t):(t.jqXHR=a.ajax(a.extend(c,o)),o.data=n)}function gt(t){t.iDraw++,Ht(t,!0);var e=t._drawHold;ft(t,mt(t),function(i){t._drawHold=e,vt(t,i),t._drawHold=!1})}function mt(t){var e,i,s,r,n=t.aoColumns,o=n.length,h=t.oFeatures,d=t.oPreviousSearch,c=t.aoPreSearchCols,u=[],p=Jt(t),f=t._iDisplayStart,g=!1!==h.bPaginate?t._iDisplayLength:-1,m=function(t,e){u.push({name:t,value:e})};m("sEcho",t.iDraw),m("iColumns",o),m("sColumns",b(n,"sName").join(",")),m("iDisplayStart",f),m("iDisplayLength",g);var v={draw:t.iDraw,columns:[],order:[],start:f,length:g,search:{value:d.sSearch,regex:d.bRegex}};for(e=0;e<o;e++)s=n[e],r=c[e],i="function"==typeof s.mData?"function":s.mData,v.columns.push({data:i,name:s.sName,searchable:s.bSearchable,orderable:s.bSortable,search:{value:r.sSearch,regex:r.bRegex}}),m("mDataProp_"+e,i),h.bFilter&&(m("sSearch_"+e,r.sSearch),m("bRegex_"+e,r.bRegex),m("bSearchable_"+e,s.bSearchable)),h.bSort&&m("bSortable_"+e,s.bSortable);h.bFilter&&(m("sSearch",d.sSearch),m("bRegex",d.bRegex)),h.bSort&&(a.each(p,function(t,e){v.order.push({column:e.col,dir:e.dir}),m("iSortCol_"+t,e.col),m("sSortDir_"+t,e.dir)}),m("iSortingCols",p.length));var y=l.ext.legacy.ajax;return null===y?t.sAjaxSource?u:v:y?u:v}function vt(t,e){var i=function(t,i){return void 0!==e[t]?e[t]:e[i]},s=yt(t,e),r=i("sEcho","draw"),n=i("iTotalRecords","recordsTotal"),o=i("iTotalDisplayRecords","recordsFiltered");if(void 0!==r){if(1*r<t.iDraw)return;t.iDraw=1*r}s||(s=[]),et(t),t._iRecordsTotal=parseInt(n,10),t._iRecordsDisplay=parseInt(o,10);for(var a=0,l=s.length;a<l;a++)U(t,s[a]);t.aiDisplay=t.aiDisplayMaster.slice(),ht(t,!0),t._bInitComplete||Rt(t,e),Ht(t,!1)}function yt(t,e,i){var s=a.isPlainObject(t.ajax)&&void 0!==t.ajax.dataSrc?t.ajax.dataSrc:t.sAjaxDataProp;if(!i)return"data"===s?e.aaData||e[s]:""!==s?J(s)(e):e;Q(s)(e,i)}
1function xt(t){var e=t.oClasses,i=t.sTableId,s=t.oLanguage,r=t.oPreviousSearch,n=t.aanFeatures,o='<input type="search" class="'+e.sFilterInput+'"/>',l=s.sSearch;l=l.match(/_INPUT_/)?l.replace("_INPUT_",o):l+o;var h=a("<div/>",{id:n.f?null:i+"_filter",class:e.sFilter}).append(a("<label/>").append(l)),d=function(e){n.f;var i=this.value?this.value:"";r.return&&"Enter"!==e.key||i!=r.sSearch&&(bt(t,{sSearch:i,bRegex:r.bRegex,bSmart:r.bSmart,bCaseInsensitive:r.bCaseInsensitive,return:r.return}),t._iDisplayStart=0,ht(t))},c=null!==t.searchDelay?t.searchDelay:"ssp"===ve(t)?400:0,u=a("input",h).val(r.sSearch).attr("placeholder",s.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",c?Vt(d,c):d).on("mouseup.DT",function(t){setTimeout(function(){d.call(u[0],t)},10)}).on("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",i);return a(t.nTable).on("search.dt.DT",function(e,i){if(t===i)try{u[0]!==document.activeElement&&u.val(r.sSearch)}catch(s){}}),h[0]}function bt(t,e,i){var s=t.oPreviousSearch,r=t.aoPreSearchCols,n=function(t){s.sSearch=t.sSearch,s.bRegex=t.bRegex,s.bSmart=t.bSmart,s.bCaseInsensitive=t.bCaseInsensitive,s.return=t.return},o=function(t){return void 0!==t.bEscapeRegex?!t.bEscapeRegex:t.bRegex};
vendor: 4,487 bytes, line 1
1if(G(t),"ssp"!=ve(t)){Ct(t,e.sSearch,i,o(e),e.bSmart,e.bCaseInsensitive),n(e);for(var a=0;a<r.length;a++)wt(t,r[a].sSearch,a,o(r[a]),r[a].bSmart,r[a].bCaseInsensitive);St(t)}else n(e);t.bFiltered=!0,fe(t,null,"search",[t])}function St(t){for(var e,i,s=l.ext.search,r=t.aiDisplay,n=0,o=s.length;n<o;n++){for(var h=[],d=0,c=r.length;d<c;d++)i=r[d],e=t.aoData[i],s[n](t,e._aFilterData,i,e._aData,d)&&h.push(i);r.length=0,a.merge(r,h)}}function wt(t,e,i,s,r,n){if(""!==e){for(var o,a=[],l=t.aiDisplay,h=Tt(e,s,r,n),d=0;d<l.length;d++)o=t.aoData[l[d]]._aFilterData[i],h.test(o)&&a.push(l[d]);t.aiDisplay=a}}function Ct(t,e,i,s,r,n){var o,a,h,d=Tt(e,s,r,n),c=t.oPreviousSearch.sSearch,u=t.aiDisplayMaster,p=[];if(0!==l.ext.search.length&&(i=!0),a=Dt(t),e.length<=0)t.aiDisplay=u.slice();else{for((a||i||s||c.length>e.length||0!==e.indexOf(c)||t.bSorted)&&(t.aiDisplay=u.slice()),o=t.aiDisplay,h=0;h<o.length;h++)d.test(t.aoData[o[h]]._sFilterRow)&&p.push(o[h]);t.aiDisplay=p}}function Tt(t,e,i,s){if(t=e?t:kt(t),i){var r=a.map(t.match(/["\u201C][^"\u201D]+["\u201D]|[^ ]+/g)||[""],function(t){if('"'===t.charAt(0)){var e=t.match(/^"(.*)"$/);t=e?e[1]:t}else if("â"===t.charAt(0)){e=t.match(/^\u201C(.*)\u201D$/);t=e?e[1]:t}return t.replace('"',"")});t="^(?=.*?"+r.join(")(?=.*?")+").*$"}return new RegExp(t,s?"i":"")}var kt=l.util.escapeRegex,At=a("<div>")[0],Mt=void 0!==At.textContent;function Dt(t){var e,i,s,r,n,o,a,l=t.aoColumns,h=!1;for(e=0,s=t.aoData.length;e<s;e++)if(!(a=t.aoData[e])._aFilterData){for(n=[],i=0,r=l.length;i<r;i++)l[i].bSearchable?(null===(o=V(t,e,i,"filter"))&&(o=""),"string"!=typeof o&&o.toString&&(o=o.toString())):o="",o.indexOf&&-1!==o.indexOf("&")&&(At.innerHTML=o,o=Mt?At.textContent:At.innerText),o.replace&&(o=o.replace(/[\r\n\u2028]/g,"")),n.push(o);a._aFilterData=n,a._sFilterRow=n.join(" "),h=!0}return h}function Pt(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function Lt(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function Et(t){var e=t.sTableId,i=t.aanFeatures.i,s=a("<div/>",{class:t.oClasses.sInfo,id:i?null:e+"_info"});return i||(t.aoDrawCallback.push({fn:Ot,sName:"information"}),s.attr("role","status").attr("aria-live","polite"),a(t.nTable).attr("aria-describedby",e+"_info")),s[0]}function Ot(t){var e=t.aanFeatures.i;if(0!==e.length){var i=t.oLanguage,s=t._iDisplayStart+1,r=t.fnDisplayEnd(),n=t.fnRecordsTotal(),o=t.fnRecordsDisplay(),l=o?i.sInfo:i.sInfoEmpty;o!==n&&(l+=" "+i.sInfoFiltered),l=It(t,l+=i.sInfoPostFix);var h=i.fnInfoCallback;null!==h&&(l=h.call(t.oInstance,t,s,r,n,o,l)),a(e).html(l)}}function It(t,e){var i=t.fnFormatNumber,s=t._iDisplayStart+1,r=t._iDisplayLength,n=t.fnRecordsDisplay(),o=-1===r;return e.replace(/_START_/g,i.call(t,s)).replace(/_END_/g,i.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,i.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,i.call(t,n)).replace(/_PAGE_/g,i.call(t,o?1:Math.ceil(s/r))).replace(/_PAGES_/g,i.call(t,o?1:Math.ceil(n/r)))}function jt(t){var e,i,s,r=t.iInitDisplayStart,n=t.aoColumns,o=t.oFeatures,a=t.bDeferLoading;if(t.bInitialised){for(ct(t),at(t),lt(t,t.aoHeader),lt(t,t.aoFooter),Ht(t,!0),o.bAutoWidth&&Yt(t),e=0,i=n.length;e<i;e++)(s=n[e]).sWidth&&(s.nTh.style.width=Kt(s.sWidth));fe(t,null,"preInit",[t]),dt(t);var l=ve(t);("ssp"!=l||a)&&("ajax"==l?ft(t,[],function(i){var s=yt(t,i);for(e=0;e<s.length;e++)U(t,s[e]);t.iInitDisplayStart=r,dt(t),Ht(t,!1),Rt(t,i)}):(Ht(t,!1),Rt(t)))}else setTimeout(function(){jt(t)},200)}function Rt(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&B(t),fe(t,null,"plugin-init",[t,e]),fe(t,"aoInitComplete","init",[t,e])}function _t(t,e){var i=parseInt(e,10);t._iDisplayLength=i,ge(t),fe(t,null,"length",[t,i])}function Nt(t){for(var e=t.oClasses,i=t.sTableId,s=t.aLengthMenu,r=Array.isArray(s[0]),n=r?s[0]:s,o=r?s[1]:s,l=a("<select/>",{name:i+"_length","aria-controls":i,class:e.sLengthSelect}),h=0,d=n.length;h<d;h++)l[0][h]=new Option("number"==typeof o[h]?t.fnFormatNumber(o[h]):o[h],n[h]);var c=a("<div><label/></div>").addClass(e.sLength);return t.aanFeatures.l||(c[0].id=i+"_length"),c.children().append(t.oLanguage.sLengthMenu.replace("_MENU_",l[0].outerHTML)),a("select",c).val(t._iDisplayLength).on("change.DT",function(e){_t(t,a(this).val()),ht(t)}),a(t.nTable).on("length.dt.DT",function(e,i,s){t===i&&a("select",c).val(s)}),c[0]}function Bt(t){var e=t.sPaginationType,i=l.ext.pager[e],s="function"==typeof i,r=function(t){ht(t)},n=a("<div/>
1").addClass(t.oClasses.sPaging+e)[0],o=t.aanFeatures;return s||i.fnInit(t,n,r),o.p||(n.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(s){var e,n,a=t._iDisplayStart,l=t._iDisplayLength,h=t.fnRecordsDisplay(),d=-1===l,c=d?0:Math.ceil(a/l),u=d?1:Math.ceil(h/l),p=i(c,u);for(e=0,n=o.p.length;e<n;e++)me(t,"pageButton")(t,o.p[e],e,p,c,u)}else i.fnUpdate(t,r)},sName:"pagination"})),n}function zt(t,e,i){var s=t._iDisplayStart,r=t._iDisplayLength,n=t.fnRecordsDisplay();0===n||-1===r?s=0:"number"==typeof e?(s=e*r)>n&&(s=0):"first"==e?s=0:"previous"==e?(s=r>=0?s-r:0)<0&&(s=0):"next"==e?s+r<n&&(s+=r):"last"==e?s=Math.floor((n-1)/r)*r:he(t,0,"Unknown paging action: "+e,5);var o=t._iDisplayStart!==s;return t._iDisplayStart=s,o?(fe(t,null,"page",[t]),i&&ht(t)):fe(t,null,"page-nc",[t]),o}function Ft(t){return a("<div/>",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing,role:"status"}).html(t.oLanguage.sProcessing).append("<div><div></div><div></div><div></div><div></div></div>").insertBefore(t.nTable)[0]}function Ht(t,e){t.oFeatures.bProcessing&&a(t.aanFeatures.r).css("display",e?"block":"none"),fe(t,null,"processing",[t,e])}function Wt(t){var e=a(t.nTable),i=t.oScroll;if(""===i.sX&&""===i.sY)return t.nTable;var s=i.sX,r=i.sY,n=t.oClasses,o=e.children("caption"),l=o.length?o[0]._captionSide:null,h=a(e[0].cloneNode(!1)),d=a(e[0].cloneNode(!1)),c=e.children("tfoot"),u="<div/>",p=function(t){return t?Kt(t):null};c.length||(c=null);var f=a(u,{class:n.sScrollWrapper}).append(a(u,{class:n.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:s?p(s):"100%"}).append(a(u,{class:n.sScrollHeadInner}).css({"box-sizing":"content-box",width:i.sXInner||"100%"}).append(h.removeAttr("id").css("margin-left",0).append("top"===l?o:null).append(e.children("thead"))))).append(a(u,{class:n.sScrollBody}).css({position:"relative",overflow:"auto",width:p(s)}).append(e));c&&f.append(a(u,{class:n.sScrollFoot}).css({overflow:"hidden",border:0,width:s?p(s):"100%"}).append(a(u,{class:n.sScrollFootInner}).append(d.removeAttr("id").css("margin-left",0).append("bottom"===l?o:null).append(e.children("tfoot")))));var g=f.children(),m=g[0],v=g[1],y=c?g[2]:null;return s&&a(v).on("scroll.DT",function(t){var e=this.scrollLeft;m.scrollLeft=e,c&&(y.scrollLeft=e)}),a(v).css("max-height",r),i.bCollapse||a(v).css("height",r),t.nScrollHead=m,t.nScrollBody=v,t.nScrollFoot=y,t.aoDrawCallback.push({fn:Gt,sName:"scrolling"}),f[0]}function Gt(t){var e,i,s,r,n,o,l,h,d,c=t.oScroll,u=c.sX,p=c.sXInner,f=c.sY,g=c.iBarWidth,m=a(t.nScrollHead),v=m[0].style,y=m.children("div"),x=y[0].style,S=y.children("table"),w=t.nScrollBody,C=a(w),T=w.style,k=a(t.nScrollFoot).children("div"),A=k.children("table"),M=a(t.nTHead),D=a(t.nTable),P=D[0],L=P.style,E=t.nTFoot?a(t.nTFoot):null,O=t.oBrowser,I=O.bScrollOversize,j=(b(t.aoColumns,"nTh"),[]),R=[],_=[],N=[],F=function(t){var e=t.style;e.paddingTop="0",e.paddingBottom="0",e.borderTopWidth="0",e.borderBottomWidth="0",e.height=0},H=w.scrollHeight>w.clientHeight;if(t.scrollBarVis!==H&&void 0!==t.scrollBarVis)return t.scrollBarVis=H,void B(t);t.scrollBarVis=H,D.children("thead, tfoot").remove(),E&&(o=E.clone().prependTo(D),i=E.find("tr"),r=o.find("tr"),o.find("[id]").removeAttr("id")),n=M.clone().prependTo(D),e=M.find("tr"),s=n.find("tr"),n.find("th, td").removeAttr("tabindex"),n.find("[id]").removeAttr("id"),u||(T.width="100%",m[0].style.width="100%"),a.each(pt(t,n),function(e,i){l=z(t,e),i.style.width=t.aoColumns[l].sWidth}),E&&Xt(function(t){t.style.width=""},r),d=D.outerWidth(),""===u?(L.width="100%",I&&(D.find("tbody").height()>w.offsetHeight||"scroll"==C.css("overflow-y"))&&(L.width=Kt(D.outerWidth()-g)),d=D.outerWidth()):""!==p&&(L.width=Kt(p),d=D.outerWidth()),Xt(F,s),Xt(function(t){var e=window.getComputedStyle?window.getComputedStyle(t).width:Kt(a(t).width());_.push(t.innerHTML),j.push(e)},s),Xt(function(t,e){t.style.width=j[e]},e),a(s).css("height",0),E&&(Xt(F,r),Xt(function(t){N.push(t.innerHTML),R.push(Kt(a(t).css("width")))},r),Xt(function(t,e){t.style.width=R[e]},i),a(r).height(0)),Xt(function(t,e){t.innerHTML='<div class="dataTables_sizing">'+_[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=j[e]},s),E&&Xt(function(t,e){t.innerHTML='<div class="dataTables_sizing">'+N[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=R[e]},r),Math.round(D.outerWidth())<Math.round(d)?(h=w.scrollHeight>w.offsetHeight||"scroll"==C.css("overflow-y")?d+g:d,I&&(w.scrollHeight>w.offsetHeight||"scroll"==C.css("overflow-y"))&&(L.width=Kt(h-g)),""!==u&&""===p||he(t,1,"Possible column misalignment",6)):h="100%",T.width=Kt(h),v.width=Kt(h),E&&(t.nScrollFoot.style.width=Kt(h)),f||I&&(T.height=Kt(P.offsetHeight+g));var W=D.outerWidth();S[0].style.width=Kt(W),x.width=Kt(W);var G=D.height()>w.clientHeight||"scroll"==C.css("overflow-y"),X="padding"+(O.bScrollbarLeft?"Left":"Right");x[X]=G?g+"px":"0px",E&&(A[0].style.width=Kt(W),k[0].style.width=Kt(W),k[0].style[X]=G?g+"px":"0px"),D.children("colgroup").insertBefore(D.children("thead")),C.trigger("scroll"),!t.bSorted&&!t.bFiltered||t._drawHold||(w.scrollTop=0)}function Xt(t,e,i){for(var s,r,n=0,o=0,a=e.length;o<a;){for(s=e[o].firstChild,r=i?i[o].firstChild:null;s;)1===s.nodeType&&(i?t(s,r,n):t(s,n),n++),s=s.nextSibling,r=i?r.nextSibling:null;o++}}var Ut=/<.*?>/g;function Yt(t){var e,i,s,r=t.nTable,n=t.aoColumns,o=t.oScroll,l=o.sY,h=o.sX,d=o.sXInner,c=n.length,u=W(t,"bVisible"),p=a("th",t.nTHead),f=r.getAttribute("width"),g=r.parentNode,m=!1,v=t.oBrowser,y=v.bScrollOversize,x=r.style.width;x&&-1!==x.indexOf("%")&&(f=x);var S=$t(b(n,"sWidthOrig"),g);for(e=0;e<u.length;e++)null!==(i=n[u[e]]).sWidth&&(i.sWidth=S[e],m=!0);if(y||!m&&!h&&!l&&c==H(t)&&c==p.length)for(e=0;e<c;e++){var w=z(t,e);null!==w&&(n[w].sWidth=Kt(p.eq(e).width()))}else{var C=a(r).clone().css("visibility","hidden").removeAttr("id");C.find("tbody tr").remove();var T=a("<tr/>").appendTo(C.find("tbody"));for(C.find("thead, tfoot").remove(),C.append(a(t.nTHead).clone()).append(a(t.nTFoot).clone()),C.find("tfoot th, tfoot td").css("width",""),p=pt(t,C.find("thead")[0]),e=0;e<u.length;e++)i=n[u[e]],p[e].style.width=null!==i.sWidthOrig&&""!==i.sWidthOrig?Kt(i.sWidthOrig):"",i.sWidthOrig&&h&&a(p[e]).append(a("<div/>").css({width:i.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(t.aoData.length)for(e=0;e<u.length;e++)i=n[s=u[e]],a(qt(t,s)).clone(!1).append(i.sContentPadding).appendTo(T);a("[name]",C).removeAttr("name");var k=a("<div/>").css(h||l?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(C).appendTo(g);h&&d?C.width(d):h?(C.css("width","auto"),C.removeAttr("width"),C.width()<g.clientWidth&&f&&C.width(g.clientWidth)):l?C.width(g.clientWidth):f&&C.width(f);var A=0;for(e=0;e<u.length;e++){var M=a(p[e]),D=M.outerWidth()-M.width(),P=v.bBounding?Math.ceil(p[e].getBoundingClientRect().width):M.outerWidth();A+=P,n[u[e]].sWidth=Kt(P-D)}r.style.width=Kt(A),k.remove()}if(f&&(r.style.width=Kt(f)),(f||h)&&!t._reszEvt){var L=function(){a(window).on("resize.DT-"+t.sInstance,Vt(function(){B(t)}))};y?setTimeout(L,1e3):L(),t._reszEvt=!0}}var Vt=l.util.throttle;function $t(t,e){for(var i=[],s=[],r=0;r<t.length;r++)t[r]?i.push(a("<div/>").css("width",Kt(t[r])).appendTo(e||document.body)):i.push(null);for(r=0;r<t.length;r++)s.push(i[r]?i[r][0].offsetWidth:null);return a(i).remove(),s}function qt(t,e){var i=Zt(t,e);if(i<0)return null;var s=t.aoData[i];return s.nTr?s.anCells[e]:a("<td/>").html(V(t,i,e,"display"))[0]}function Zt(t,e){for(var i,s=-1,r=-1,n=0,o=t.aoData.length;n<o;n++)(i=(i=(i=V(t,n,e,"display")+"").replace(Ut,"")).replace(/ /g," ")).length>s&&(s=i.length,r=n);return r}function Kt(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Jt(t){var e,i,s,r,n,o,h,d=[],c=t.aoColumns,u=t.aaSortingFixed,p=a.isPlainObject(u),f=[],g=function(t){t.length&&!Array.isArray(t[0])?f.push(t):a.merge(f,t)};for(Array.isArray(u)&&g(u),p&&u.pre&&g(u.pre),g(t.aaSorting),p&&u.post&&g(u.post),e=0;e<f.length;e++)for(i=0,s=(r=c[h=f[e][0]].aDataSort).length;i<s;i++)o=c[n=r[i]].sType||"string",void 0===f[e]._idx&&(f[e]._idx=a.inArray(f[e][1],c[n].asSorting)),d.push({src:h,col:n,dir:f[e][1],index:f[e]._idx,type:o,formatter:l.ext.type.order[o+"-pre"]});return d}function Qt(t){var e,i,s,r,n,o=[],a=l.ext.type.order,h=t.aoData,d=(t.aoColumns,0),c=t.aiDisplayMaster;for(G(t),e=0,i=(n=Jt(t)).length;e<i;e++)(r=n[e]).formatter&&d++,re(t,r.col);if("ssp"!=ve(t)&&0!==n.length){for(e=0,s=c.length;e<s;e++)o[c[e]]=e;d===n.length?c.sort(function(t,e){var i,s,r,a,l,d=n.length,c=h[t]._aSortData,u=h[e]._aSortData;for(r=0;r<d;r++)if(0!==(a=(i=c[(l=n[r]).col])<(s=u[l.col])?-1:i>s?1:0))return"asc"===l.dir?a:-a;return(i=o[t])<(s=o[e])?-1:i>s?1:0}):c.sort(function(t,e){var i,s,r,l,d,c=n.length,u=h[t]._aSortData,p=h[e]._aSortData;for(r=0;r<c;
1r++)if(i=u[(d=n[r]).col],s=p[d.col],0!==(l=(a[d.type+"-"+d.dir]||a["string-"+d.dir])(i,s)))return l;return(i=o[t])<(s=o[e])?-1:i>s?1:0})}t.bSorted=!0}function te(t){for(var e,i,s=t.aoColumns,r=Jt(t),n=t.oLanguage.oAria,o=0,a=s.length;o<a;o++){var l=s[o],h=l.asSorting,d=l.ariaTitle||l.sTitle.replace(/<.*?>/g,""),c=l.nTh;c.removeAttribute("aria-sort"),l.bSortable?(r.length>0&&r[0].col==o?(c.setAttribute("aria-sort","asc"==r[0].dir?"ascending":"descending"),i=h[r[0].index+1]||h[0]):i=h[0],e=d+("asc"===i?n.sSortAscending:n.sSortDescending)):e=d,c.setAttribute("aria-label",e)}}function ee(t,e,i,s){var r,n=t.aoColumns[e],o=t.aaSorting,l=n.asSorting,h=function(t,e){var i=t._idx;return void 0===i&&(i=a.inArray(t[1],l)),i+1<l.length?i+1:e?null:0};if("number"==typeof o[0]&&(o=t.aaSorting=[o]),i&&t.oFeatures.bSortMulti){var d=a.inArray(e,b(o,"0"));-1!==d?(null===(r=h(o[d],!0))&&1===o.length&&(r=0),null===r?o.splice(d,1):(o[d][1]=l[r],o[d]._idx=r)):(o.push([e,l[0],0]),o[o.length-1]._idx=0)}else o.length&&o[0][0]==e?(r=h(o[0]),o.length=1,o[0][1]=l[r],o[0]._idx=r):(o.length=0,o.push([e,l[0]]),o[0]._idx=0);dt(t),"function"==typeof s&&s(t)}function ie(t,e,i,s){var r=t.aoColumns[i];ue(e,{},function(e){!1!==r.bSortable&&(t.oFeatures.bProcessing?(Ht(t,!0),setTimeout(function(){ee(t,i,e.shiftKey,s),"ssp"!==ve(t)&&Ht(t,!1)},0)):ee(t,i,e.shiftKey,s))})}function se(t){var e,i,s,r=t.aLastSort,n=t.oClasses.sSortColumn,o=Jt(t),l=t.oFeatures;if(l.bSort&&l.bSortClasses){for(e=0,i=r.length;e<i;e++)s=r[e].src,a(b(t.aoData,"anCells",s)).removeClass(n+(e<2?e+1:3));for(e=0,i=o.length;e<i;e++)s=o[e].src,a(b(t.aoData,"anCells",s)).addClass(n+(e<2?e+1:3))}t.aLastSort=o}function re(t,e){var i,s,r,n=t.aoColumns[e],o=l.ext.order[n.sSortDataType];o&&(i=o.call(t.oInstance,t,e,F(t,e)));for(var a=l.ext.type.order[n.sType+"-pre"],h=0,d=t.aoData.length;h<d;h++)(s=t.aoData[h])._aSortData||(s._aSortData=[]),s._aSortData[e]&&!o||(r=o?i[h]:V(t,h,e,"sort"),s._aSortData[e]=a?a(r):r)}function ne(t){if(!t._bLoadingState){var e={time:+new Date,start:t._iDisplayStart,length:t._iDisplayLength,order:a.extend(!0,[],t.aaSorting),search:Pt(t.oPreviousSearch),columns:a.map(t.aoColumns,function(e,i){return{visible:e.bVisible,search:Pt(t.aoPreSearchCols[i])}})};t.oSavedState=e,fe(t,"aoStateSaveParams","stateSaveParams",[t,e]),t.oFeatures.bStateSave&&!t.bDestroying&&t.fnStateSaveCallback.call(t.oInstance,t,e)}}function oe(t,e,i){if(t.oFeatures.bStateSave){var s=t.fnStateLoadCallback.call(t.oInstance,t,function(e){ae(t,e,i)});return void 0!==s&&ae(t,s,i),!0}i()}function ae(t,e,i){var s,r,n=t.aoColumns;t._bLoadingState=!0;var o=t._bInitComplete?new l.Api(t):null;if(!e||!e.time)return t._bLoadingState=!1,void i();var h=fe(t,"aoStateLoadParams","stateLoadParams",[t,e]);if(-1!==a.inArray(!1,h))return t._bLoadingState=!1,void i();var d=t.iStateDuration;if(d>0&&e.time<+new Date-1e3*d)return t._bLoadingState=!1,void i();if(e.columns&&n.length!==e.columns.length)return t._bLoadingState=!1,void i();if(t.oLoadedState=a.extend(!0,{},e),void 0!==e.length&&(o?o.page.len(e.length):t._iDisplayLength=e.length),void 0!==e.start&&(null===o?(t._iDisplayStart=e.start,t.iInitDisplayStart=e.start):zt(t,e.start/t._iDisplayLength)),void 0!==e.order&&(t.aaSorting=[],a.each(e.order,function(e,i){t.aaSorting.push(i[0]>=n.length?[0,i[1]]:i)})),void 0!==e.search&&a.extend(t.oPreviousSearch,Lt(e.search)),e.columns){for(s=0,r=e.columns.length;s<r;s++){var c=e.columns[s];void 0!==c.visible&&(o?o.column(s).visible(c.visible,!1):n[s].bVisible=c.visible),void 0!==c.search&&a.extend(t.aoPreSearchCols[s],Lt(c.search))}o&&o.columns.adjust()}t._bLoadingState=!1,fe(t,"aoStateLoaded","stateLoaded",[t,e]),i()}function le(t){var e=l.settings,i=a.inArray(t,b(e,"nTable"));return-1!==i?e[i]:null}function he(t,e,i,s){if(i="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+i,s&&(i+=". For more information about this error, please see https://datatables.net/tn/"+s),e)window.console&&console.log&&console.log(i);else{var r=l.ext,n=r.sErrMode||r.errMode;if(t&&fe(t,null,"error",[t,s,i]),"alert"==n)alert(i);else{if("throw"==n)throw new Error(i);"function"==typeof n&&n(t,s,i)}}}function de(t,e,i,s){Array.isArray(i)?a.each(i,function(i,s){Array.isArray(s)?de(t,e,s[0],s[1]):de(t,e,s)}):(void 0===s&&(s=i),void 0!==e[i]&&(t[s]=e[i]))}function ce(t,e,i){var s;for(var r in e)e.hasOwnProperty(r)&&(s=e[r],a.isPlainObject(s)?(a.isPlainObject(t[r])||(t[r]={}),a.extend(!0,t[r],s)):i&&"data"!==r&&"aaData"!==r&&Array.isArray(s)?t[r]=s.slice():t[r]=s);return t}function ue(t,e,i){a(t).on("click.DT",e,function(e){a(t).trigger("blur"),i(e)}).on("keypress.DT",e,function(t){13===t.which&&(t.preventDefault(),i(t))}).on("selectstart.DT",function(){return!1})}function pe(t,e,i,s){i&&t[e].push({fn:i,sName:s})}function fe(t,e,i,s){var r=[];if(e&&(r=a.map(t[e].slice().reverse(),function(e,i){return e.fn.apply(t.oInstance,s)})),null!==i){var n=a.Event(i+".dt"),o=a(t.nTable);o.trigger(n,s),0===o.parents("body").length&&a("body").trigger(n,s),r.push(n.result)}return r}function ge(t){var e=t._iDisplayStart,i=t.fnDisplayEnd(),s=t._iDisplayLength;e>=i&&(e=i-s),e-=e%s,(-1===s||e<0)&&(e=0),t._iDisplayStart=e}function me(t,e){var i=t.renderer,s=l.ext.renderer[e];return a.isPlainObject(i)&&i[e]?s[i[e]]||s._:"string"==typeof i&&s[i]||s._}function ve(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}var ye=[],xe=Array.prototype;r=function(t,e){if(!(this instanceof r))return new r(t,e);var i=[],s=function(t){var e=function(t){var e,i,s=l.settings,r=a.map(s,function(t,e){return t.nTable});return t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?-1!==(e=a.inArray(t,r))?[s[e]]:null:t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?i=a(t):t instanceof a&&(i=t),i?i.map(function(t){return-1!==(e=a.inArray(this,r))?s[e]:null}).toArray():void 0):[]}(t);e&&i.push.apply(i,e)};if(Array.isArray(t))for(var n=0,o=t.length;n<o;n++)s(t[n]);else s(t);this.context=k(i),e&&a.merge(this,e),this.selector={rows:null,cols:null,opts:null},r.extend(this,this,ye)},l.Api=r,a.extend(r.prototype,{any:function(){return 0!==this.count()},concat:xe.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,i=this.length;e<i;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new r(e[t],this[t]):null},filter:function(t){var e=[];
1if(xe.filter)e=xe.filter.call(this,t,this);else for(var i=0,s=this.length;i<s;i++)t.call(this,this[i],i,this)&&e.push(this[i]);return new r(this.context,e)},flatten:function(){var t=[];return new r(this.context,t.concat.apply(t,this.toArray()))},join:xe.join,indexOf:xe.indexOf||function(t,e){for(var i=e||0,s=this.length;i<s;i++)if(this[i]===t)return i;return-1},iterator:function(t,e,i,s){var n,o,a,l,h,d,c,u,p=[],f=this.context,g=this.selector;for("string"==typeof t&&(s=i,i=e,e=t,t=!1),o=0,a=f.length;o<a;o++){var m=new r(f[o]);if("table"===e)void 0!==(n=i.call(m,f[o],o))&&p.push(n);else if("columns"===e||"rows"===e)void 0!==(n=i.call(m,f[o],this[o],o))&&p.push(n);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(c=this[o],"column-rows"===e&&(d=ke(f[o],g.opts)),l=0,h=c.length;l<h;l++)u=c[l],void 0!==(n="cell"===e?i.call(m,f[o],u.row,u.column,o,l):i.call(m,f[o],u,o,l,d))&&p.push(n)}if(p.length||s){var v=new r(f,t?p.concat.apply([],p):p),y=v.selector;return y.rows=g.rows,y.cols=g.cols,y.opts=g.opts,v}return this},lastIndexOf:xe.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(xe.map)e=xe.map.call(this,t,this);else for(var i=0,s=this.length;i<s;i++)e.push(t.call(this,this[i],i));return new r(this.context,e)},pluck:function(t){var e=l.util.get(t);return this.map(function(t){return e(t)})},pop:xe.pop,push:xe.push,reduce:xe.reduce||function(t,e){return R(this,t,e,0,this.length,1)},reduceRight:xe.reduceRight||function(t,e){return R(this,t,e,this.length-1,-1,-1)},reverse:xe.reverse,selector:null,shift:xe.shift,slice:function(){return new r(this.context,this)},sort:xe.sort,splice:xe.splice,toArray:function(){return xe.slice.call(this)},to$:function(){return a(this)},toJQuery:function(){return a(this)},unique:function(){return new r(this.context,k(this))},unshift:xe.unshift}),r.extend=function(t,e,i){if(i.length&&e&&(e instanceof r||e.__dt_wrapper)){var s,n,o,a=function(t,e,i){return function(){var s=e.apply(t,arguments);return r.extend(s,s,i.methodExt),s}};for(s=0,n=i.length;s<n;s++)e[(o=i[s]).name]="function"===o.type?a(t,o.val,o):"object"===o.type?{}:o.val,e[o.name].__dt_wrapper=!0,r.extend(t,e[o.name],o.propExt)}},r.register=n=function(t,e){if(Array.isArray(t))for(var i=0,s=t.length;i<s;i++)r.register(t[i],e);else{var n,o,l,h,d=t.split("."),c=ye,u=function(t,e){for(var i=0,s=t.length;i<s;i++)if(t[i].name===e)return t[i];return null};for(n=0,o=d.length;n<o;n++){var p=u(c,l=(h=-1!==d[n].indexOf("()"))?d[n].replace("()",""):d[n]);p||(p={name:l,val:{},methodExt:[],propExt:[],type:"object"},c.push(p)),n===o-1?(p.val=e,p.type="function"==typeof e?"function":a.isPlainObject(e)?"object":"other"):c=h?p.methodExt:p.propExt}}},r.registerPlural=o=function(t,e,i){r.register(t,i),r.register(e,function(){var t=i.apply(this,arguments);return t===this?this:t instanceof r?t.length?Array.isArray(t[0])?new r(t.context,t[0]):t[0]:void 0:t})};var be=function(t,e){if(Array.isArray(t))return a.map(t,function(t){return be(t,e)});if("number"==typeof t)return[e[t]];var i=a.map(e,function(t,e){return t.nTable});return a(i).filter(t).map(function(t){var s=a.inArray(this,i);return e[s]}).toArray()};n("tables()",function(t){return null!=t?new r(be(t,this.context)):this}),n("table()",function(t){var e=this.tables(t),i=e.context;return i.length?new r(i[0]):e}),o("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),o("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),o("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),o("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),o("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),n("draw()",function(t){return this.iterator("table",function(e){"page"===t?ht(e):("string"==typeof t&&(t="full-hold"!==t),dt(e,!1===t))})}
1),n("page()",function(t){return void 0===t?this.page.info().page:this.iterator("table",function(e){zt(e,t)})}),n("page.info()",function(t){if(0!==this.context.length){var e=this.context[0],i=e._iDisplayStart,s=e.oFeatures.bPaginate?e._iDisplayLength:-1,r=e.fnRecordsDisplay(),n=-1===s;return{page:n?0:Math.floor(i/s),pages:n?1:Math.ceil(r/s),start:i,end:e.fnDisplayEnd(),length:s,recordsTotal:e.fnRecordsTotal(),recordsDisplay:r,serverSide:"ssp"===ve(e)}}}),n("page.len()",function(t){return void 0===t?0!==this.context.length?this.context[0]._iDisplayLength:void 0:this.iterator("table",function(e){_t(e,t)})});var Se=function(t,e,i){if(i){var s=new r(t);s.one("draw",function(){i(s.ajax.json())})}if("ssp"==ve(t))dt(t,e);else{Ht(t,!0);var n=t.jqXHR;n&&4!==n.readyState&&n.abort(),ft(t,[],function(i){et(t);for(var s=yt(t,i),r=0,n=s.length;r<n;r++)U(t,s[r]);dt(t,e),Ht(t,!1)})}};n("ajax.json()",function(){var t=this.context;if(t.length>0)return t[0].json}),n("ajax.params()",function(){var t=this.context;if(t.length>0)return t[0].oAjaxData}),n("ajax.reload()",function(t,e){return this.iterator("table",function(i){Se(i,!1===e,t)})}),n("ajax.url()",function(t){var e=this.context;if(void 0===t){if(0===e.length)return;return(e=e[0]).ajax?a.isPlainObject(e.ajax)?e.ajax.url:e.ajax:e.sAjaxSource}return this.iterator("table",function(e){a.isPlainObject(e.ajax)?e.ajax.url=t:e.ajax=t})}),n("ajax.url().load()",function(t,e){return this.iterator("table",function(i){Se(i,!1===e,t)})});var we=function(t,e,i,r,n){var o,a,l,h,d,c,u=[],p=typeof e;for(e&&"string"!==p&&"function"!==p&&void 0!==e.length||(e=[e]),l=0,h=e.length;l<h;l++)for(d=0,c=(a=e[l]&&e[l].split&&!e[l].match(/[\[\(:]/)?e[l].split(","):[e[l]]).length;d<c;d++)(o=i("string"==typeof a[d]?a[d].trim():a[d]))&&o.length&&(u=u.concat(o));var f=s.selector[t];if(f.length)for(l=0,h=f.length;l<h;l++)u=f[l](r,n,u);return k(u)},Ce=function(t){return t||(t={}),t.filter&&void 0===t.search&&(t.search=t.filter),a.extend({search:"none",order:"current",page:"all"},t)},Te=function(t){for(var e=0,i=t.length;e<i;e++)if(t[e].length>0)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t},ke=function(t,e){var i,s=[],r=t.aiDisplay,n=t.aiDisplayMaster,o=e.search,l=e.order,h=e.page;if("ssp"==ve(t))return"removed"===o?[]:w(0,n.length);if("current"==h)for(c=t._iDisplayStart,u=t.fnDisplayEnd();c<u;c++)s.push(r[c]);else if("current"==l||"applied"==l){if("none"==o)s=n.slice();else if("applied"==o)s=r.slice();else if("removed"==o){for(var d={},c=0,u=r.length;c<u;c++)d[r[c]]=null;s=a.map(n,function(t){return d.hasOwnProperty(t)?null:t})}}else if("index"==l||"original"==l)for(c=0,u=t.aoData.length;c<u;c++)("none"==o||-1===(i=a.inArray(c,r))&&"removed"==o||i>=0&&"applied"==o)&&s.push(c);return s};n("rows()",function(t,e){void 0===t?t="":a.isPlainObject(t)&&(e=t,t=""),e=Ce(e);var i=this.iterator("table",function(i){return function(t,e,i){var s;return we("row",e,function(e){var r=m(e),n=t.aoData;if(null!==r&&!i)return[r];if(s||(s=ke(t,i)),null!==r&&-1!==a.inArray(r,s))return[r];if(null==e||""===e)return s;if("function"==typeof e)return a.map(s,function(t){var i=n[t];return e(t,i._aData,i.nTr)?t:null});if(e.nodeName){var o=e._DT_RowIndex,l=e._DT_CellIndex;if(void 0!==o)return n[o]&&n[o].nTr===e?[o]:[];if(l)return n[l.row]&&n[l.row].nTr===e.parentNode?[l.row]:[];var h=a(e).closest("*[data-dt-row]");return h.length?[h.data("dt-row")]:[]}if("string"==typeof e&&"#"===e.charAt(0)){var d=t.aIds[e.replace(/^#/,"")];if(void 0!==d)return[d.idx]}var c=C(S(t.aoData,s,"nTr"));return a(c).filter(e).map(function(){return this._DT_RowIndex}).toArray()},t,i)}(i,t,e)},1);return i.selector.rows=t,i.selector.opts=e,i}),n("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||void 0},1)}),n("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return S(t.aoData,e,"_aData")},1)}),o("rows().cache()","row().cache()",function(t){return this.iterator("row",function(e,i){var s=e.aoData[i];return"search"===t?s._aFilterData:s._aSortData},1)}),o("rows().invalidate()","row().invalidate()",function(t){return this.iterator("row",function(e,i){st(e,i,t)})}),o("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),o("rows().ids()","row().id()",function(t){for(var e=[],i=this.context,s=0,n=i.length;s<n;s++)for(var o=0,a=this[s].length;o<a;o++){var l=i[s].rowIdFn(i[s].aoData[this[s][o]]._aData);e.push((!0===t?"#":"")+l)}return new r(i,e)}),o("rows().remove()","row().remove()",function(){var t=this;return this.iterator("row",function(e,i,s){var r,n,o,a,l,h,d=e.aoData,c=d[i];for(d.splice(i,1),r=0,n=d.length;r<n;r++)if(h=(l=d[r]).anCells,null!==l.nTr&&(l.nTr._DT_RowIndex=r),null!==h)for(o=0,a=h.length;o<a;o++)h[o]._DT_CellIndex.row=r;
1it(e.aiDisplayMaster,i),it(e.aiDisplay,i),it(t[s],i,!1),e._iRecordsDisplay>0&&e._iRecordsDisplay--,ge(e);var u=e.rowIdFn(c._aData);void 0!==u&&delete e.aIds[u]}),this.iterator("table",function(t){for(var e=0,i=t.aoData.length;e<i;e++)t.aoData[e].idx=e}),this}),n("rows.add()",function(t){var e=this.iterator("table",function(e){var i,s,r,n=[];for(s=0,r=t.length;s<r;s++)(i=t[s]).nodeName&&"TR"===i.nodeName.toUpperCase()?n.push(Y(e,i)[0]):n.push(U(e,i));return n},1),i=this.rows(-1);return i.pop(),a.merge(i,e),i}),n("row()",function(t,e){return Te(this.rows(t,e))}),n("row().data()",function(t){var e=this.context;if(void 0===t)return e.length&&this.length?e[0].aoData[this[0]]._aData:void 0;var i=e[0].aoData[this[0]];return i._aData=t,Array.isArray(t)&&i.nTr&&i.nTr.id&&Q(e[0].rowId)(t,i.nTr.id),st(e[0],this[0],"data"),this}),n("row().node()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null}),n("row.add()",function(t){t instanceof a&&t.length&&(t=t[0]);var e=this.iterator("table",function(e){return t.nodeName&&"TR"===t.nodeName.toUpperCase()?Y(e,t)[0]:U(e,t)});return this.row(e[0])}),a(document).on("plugin-init.dt",function(t,e){var i=new r(e),s="on-plugin-init",n="stateSaveParams."+s,o="destroy. "+s;i.on(n,function(t,e,i){for(var s=e.rowIdFn,r=e.aoData,n=[],o=0;o<r.length;o++)r[o]._detailsShow&&n.push("#"+s(r[o]._aData));i.childRows=n}),i.on(o,function(){i.off(n+" "+o)});var l=i.state.loaded();l&&l.childRows&&i.rows(a.map(l.childRows,function(t){return t.replace(/:/g,"\\:")})).every(function(){fe(e,null,"requestChild",[this])})});var Ae=l.util.throttle(function(t){ne(t[0])},500),Me=function(t,e){var i=t.context;if(i.length){var s=i[0].aoData[void 0!==e?e:t[0]];s&&s._details&&(s._details.remove(),s._detailsShow=void 0,s._details=void 0,a(s.nTr).removeClass("dt-hasChild"),Ae(i))}},De=function(t,e){var i=t.context;if(i.length&&t.length){var s=i[0].aoData[t[0]];s._details&&(s._detailsShow=e,e?(s._details.insertAfter(s.nTr),a(s.nTr).addClass("dt-hasChild")):(s._details.detach(),a(s.nTr).removeClass("dt-hasChild")),fe(i[0],null,"childRow",[e,t.row(t[0])]),Pe(i[0]),Ae(i))}},Pe=function(t){var e=new r(t),i=".dt.DT_details",s="draw"+i,n="column-sizing"+i,o="destroy"+i,l=t.aoData;e.off(s+" "+n+" "+o),b(l,"_details").length>0&&(e.on(s,function(i,s){t===s&&e.rows({page:"current"}).eq(0).each(function(t){var e=l[t];e._detailsShow&&e._details.insertAfter(e.nTr)})}),e.on(n,function(e,i,s,r){if(t===i)for(var n,o=H(i),h=0,d=l.length;h<d;h++)(n=l[h])._details&&n._details.each(function(){var t=a(this).children("td");1==t.length&&t.attr("colspan",o)})}),e.on(o,function(i,s){if(t===s)for(var r=0,n=l.length;r<n;r++)l[r]._details&&Me(e,r)}))},Le="row().child",Ee=Le+"()";n(Ee,function(t,e){var i=this.context;return void 0===t?i.length&&this.length?i[0].aoData[this[0]]._details:void 0:(!0===t?this.child.show():!1===t?Me(this):i.length&&this.length&&function(t,e,i,s){var r=[],n=function(e,i){if(Array.isArray(e)||e instanceof a)for(var s=0,o=e.length;s<o;s++)n(e[s],i);else if(e.nodeName&&"tr"===e.nodeName.toLowerCase())r.push(e);else{var l=a("<tr><td></td></tr>").addClass(i);a("td",l).addClass(i).html(e)[0].colSpan=H(t),r.push(l[0])}};n(i,s),e._details&&e._details.detach(),e._details=a(r),e._detailsShow&&e._details.insertAfter(e.nTr)}(i[0],i[0].aoData[this[0]],t,e),this)}),n([Le+".show()",Ee+".show()"],function(t){return De(this,!0),this}),n([Le+".hide()",Ee+".hide()"],function(){return De(this,!1),this}),n([Le+".remove()",Ee+".remove()"],function(){return Me(this),this}),n(Le+".isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1});var Oe=/^([^:]+):(name|visIdx|visible)$/,Ie=function(t,e,i,s,r){for(var n=[],o=0,a=r.length;o<a;o++)n.push(V(t,r[o],e));return n};n("columns()",function(t,e){void 0===t?t="":a.isPlainObject(t)&&(e=t,t=""),e=Ce(e);var i=this.iterator("table",function(i){return function(t,e,i){var s=t.aoColumns,r=b(s,"sName"),n=b(s,"nTh");return we("column",e,function(e){var o=m(e);if(""===e)return w(s.length);if(null!==o)return[o>=0?o:s.length+o];if("function"==typeof e){var l=ke(t,i);return a.map(s,function(i,s){return e(s,Ie(t,s,0,0,l),n[s])?s:null})}var h="string"==typeof e?e.match(Oe):"";if(h)switch(h[2]){case"visIdx":case"visible":var d=parseInt(h[1],10);if(d<0){var c=a.map(s,function(t,e){return t.bVisible?e:null});return[c[c.length+d]]}return[z(t,d)];case"name":return a.map(r,function(t,e){return t===h[1]?e:null});default:return[]}if(e.nodeName&&e._DT_CellIndex)return[e._DT_CellIndex.column];var u=a(n).filter(e).map(function(){return a.inArray(this,n)}).toArray();if(u.length||!e.nodeName)return u;var p=a(e).closest("*[data-dt-column]");return p.length?[p.data("dt-column")]:[]},t,i)}(i,t,e)},1);return i.selector.cols=t,i.selector.opts=e,i}),o("columns().header()","column().header()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),o("columns().footer()","column().footer()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),o("columns().data()","column().data()",function(){return this.iterator("column-rows",Ie,1)}),o("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),o("columns().cache()","column().cache()",function(t){return this.iterator("column-rows",function(e,i,s,r,n){return S(e.aoData,n,"search"===t?"_aFilterData":"_aSortData",i)},1)}),o("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,
1i,s,r){return S(t.aoData,r,"anCells",e)},1)}),o("columns().visible()","column().visible()",function(t,e){var i=this,s=this.iterator("column",function(e,i){if(void 0===t)return e.aoColumns[i].bVisible;!function(t,e,i){var s,r,n,o,l=t.aoColumns,h=l[e],d=t.aoData;if(void 0===i)return h.bVisible;if(h.bVisible!==i){if(i){var c=a.inArray(!0,b(l,"bVisible"),e+1);for(r=0,n=d.length;r<n;r++)o=d[r].nTr,s=d[r].anCells,o&&o.insertBefore(s[e],s[c]||null)}else a(b(t.aoData,"anCells",e)).detach();h.bVisible=i}}(e,i,t)});return void 0!==t&&this.iterator("table",function(s){lt(s,s.aoHeader),lt(s,s.aoFooter),s.aiDisplay.length||a(s.nTBody).find("td[colspan]").attr("colspan",H(s)),ne(s),i.iterator("column",function(i,s){fe(i,null,"column-visibility",[i,s,t,e])}),(void 0===e||e)&&i.columns.adjust()}),s}),o("columns().indexes()","column().index()",function(t){return this.iterator("column",function(e,i){return"visible"===t?F(e,i):i},1)}),n("columns.adjust()",function(){return this.iterator("table",function(t){B(t)},1)}),n("column.index()",function(t,e){if(0!==this.context.length){var i=this.context[0];if("fromVisible"===t||"toData"===t)return z(i,e);if("fromData"===t||"toVisible"===t)return F(i,e)}}),n("column()",function(t,e){return Te(this.columns(t,e))});n("cells()",function(t,e,i){if(a.isPlainObject(t)&&(void 0===t.row?(i=t,t=null):(i=e,e=null)),a.isPlainObject(e)&&(i=e,e=null),null==e)return this.iterator("table",function(e){return function(t,e,i){var s,r,n,o,l,h,d,c=t.aoData,u=ke(t,i),p=C(S(c,u,"anCells")),f=a(A([],p)),g=t.aoColumns.length;return we("cell",e,function(e){var i="function"==typeof e;if(null==e||i){for(r=[],n=0,o=u.length;n<o;n++)for(s=u[n],l=0;l<g;l++)h={row:s,column:l},i?(d=c[s],e(h,V(t,s,l),d.anCells?d.anCells[l]:null)&&r.push(h)):r.push(h);return r}if(a.isPlainObject(e))return void 0!==e.column&&void 0!==e.row&&-1!==a.inArray(e.row,u)?[e]:[];var p=f.filter(e).map(function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}}).toArray();return p.length||!e.nodeName?p:(d=a(e).closest("*[data-dt-row]")).length?[{row:d.data("dt-row"),column:d.data("dt-column")}]:[]},t,i)}(e,t,Ce(i))});var s,r,n,o,l=i?{page:i.page,order:i.order,search:i.search}:{},h=this.columns(e,l),d=this.rows(t,l),c=this.iterator("table",function(t,e){var i=[];for(s=0,r=d[e].length;s<r;s++)for(n=0,o=h[e].length;n<o;n++)i.push({row:d[e][s],column:h[e][n]});return i},1),u=i&&i.selected?this.cells(c,i):c;return a.extend(u.selector,{cols:e,rows:t,opts:i}),u}),o("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,i){var s=t.aoData[e];return s&&s.anCells?s.anCells[i]:void 0},1)}),n("cells().data()",function(){return this.iterator("cell",function(t,e,i){return V(t,e,i)},1)}),o("cells().cache()","cell().cache()",function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",function(e,i,s){return e.aoData[i][t][s]},1)}),o("cells().render()","cell().render()",function(t){return this.iterator("cell",function(e,i,s){return V(e,i,s,t)},1)}),o("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,i){return{row:e,column:i,columnVisible:F(t,i)}},1)}),o("cells().invalidate()","cell().invalidate()",function(t){return this.iterator("cell",function(e,i,s){st(e,i,t,s)})}),n("cell()",function(t,e,i){return Te(this.cells(t,e,i))}),n("cell().data()",function(t){var e=this.context,i=this[0];return void 0===t?e.length&&i.length?V(e[0],i[0].row,i[0].column):void 0:($(e[0],i[0].row,i[0].column,t),st(e[0],i[0].row,"data",i[0].column),this)}),n("order()",function(t,e){var i=this.context;return void 0===t?0!==i.length?i[0].aaSorting:void 0:("number"==typeof t?t=[[t,e]]:t.length&&!Array.isArray(t[0])&&(t=Array.prototype.slice.call(arguments)),this.iterator("table",function(e){e.aaSorting=t.slice()}))}),n("order.listener()",function(t,e,i){return this.iterator("table",function(s){ie(s,t,e,i)})}),n("order.fixed()",function(t){if(!t){var e=this.context,i=e.length?e[0].aaSortingFixed:void 0;return Array.isArray(i)?{pre:i}:i}return this.iterator("table",function(e){e.aaSortingFixed=a.extend(!0,{},t)})}),n(["columns().order()","column().order()"],function(t){var e=this;return this.iterator("table",function(i,s){var r=[];a.each(e[s],function(e,i){r.push([i,t])}),i.aaSorting=r})}
1),n("search()",function(t,e,i,s){var r=this.context;return void 0===t?0!==r.length?r[0].oPreviousSearch.sSearch:void 0:this.iterator("table",function(r){r.oFeatures.bFilter&&bt(r,a.extend({},r.oPreviousSearch,{sSearch:t+"",bRegex:null!==e&&e,bSmart:null===i||i,bCaseInsensitive:null===s||s}),1)})}),o("columns().search()","column().search()",function(t,e,i,s){return this.iterator("column",function(r,n){var o=r.aoPreSearchCols;if(void 0===t)return o[n].sSearch;r.oFeatures.bFilter&&(a.extend(o[n],{sSearch:t+"",bRegex:null!==e&&e,bSmart:null===i||i,bCaseInsensitive:null===s||s}),bt(r,r.oPreviousSearch,1))})}),n("state()",function(){return this.context.length?this.context[0].oSavedState:null}),n("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),n("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),n("state.save()",function(){return this.iterator("table",function(t){ne(t)})}),l.use=function(t,e){"lib"===e||t.fn?a=t:"win"==e||t.document?(window=t,document=t.document):"datetime"!==e&&"DateTime"!==t.type||(l.DateTime=t)},l.factory=function(t,e){var i=!1;return t&&t.document&&(window=t,document=t.document),e&&e.fn&&e.fn.jquery&&(a=e,i=!0),i},l.versionCheck=l.fnVersionCheck=function(t){for(var e,i,s=l.version.split("."),r=t.split("."),n=0,o=r.length;n<o;n++)if((e=parseInt(s[n],10)||0)!==(i=parseInt(r[n],10)||0))return e>i;return!0},l.isDataTable=l.fnIsDataTable=function(t){var e=a(t).get(0),i=!1;return t instanceof l.Api||(a.each(l.settings,function(t,s){var r=s.nScrollHead?a("table",s.nScrollHead)[0]:null,n=s.nScrollFoot?a("table",s.nScrollFoot)[0]:null;s.nTable!==e&&r!==e&&n!==e||(i=!0)}),i)},l.tables=l.fnTables=function(t){var e=!1;a.isPlainObject(t)&&(e=t.api,t=t.visible);var i=a.map(l.settings,function(e){if(!t||t&&a(e.nTable).is(":visible"))return e.nTable});return e?new r(i):i},l.camelToHungarian=P,n("$()",function(t,e){var i=this.rows(e).nodes(),s=a(i);return a([].concat(s.filter(t).toArray(),s.find(t).toArray()))}),a.each(["on","one","off"],function(t,e){n(e+"()",function(){var t=Array.prototype.slice.call(arguments);t[0]=a.map(t[0].split(/\s/),function(t){return t.match(/\.dt\b/)?t:t+".dt"}).join(" ");var i=a(this.tables().nodes());return i[e].apply(i,t),this})}),n("clear()",function(){return this.iterator("table",function(t){et(t)})}),n("settings()",function(){return new r(this.context,this.context)}),n("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),n("data()",function(){return this.iterator("table",function(t){return b(t.aoData,"_aData")}).flatten()}),n("destroy()",function(t){return t=t||!1,this.iterator("table",function(e){var i,s=e.oClasses,n=e.nTable,o=e.nTBody,h=e.nTHead,d=e.nTFoot,c=a(n),u=a(o),p=a(e.nTableWrapper),f=a.map(e.aoData,function(t){return t.nTr});e.bDestroying=!0,fe(e,"aoDestroyCallback","destroy",[e]),t||new r(e).columns().visible(!0),p.off(".DT").find(":not(tbody *)").off(".DT"),a(window).off(".DT-"+e.sInstance),n!=h.parentNode&&(c.children("thead").detach(),c.append(h)),d&&n!=d.parentNode&&(c.children("tfoot").detach(),c.append(d)),e.aaSorting=[],e.aaSortingFixed=[],se(e),a(f).removeClass(e.asStripeClasses.join(" ")),a("th, td",h).removeClass(s.sSortable+" "+s.sSortableAsc+" "+s.sSortableDesc+" "+s.sSortableNone),u.children().detach(),u.append(f);var g=e.nTableWrapper.parentNode,m=t?"remove":"detach";c[m](),p[m](),!t&&g&&(g.insertBefore(n,e.nTableReinsertBefore),c.css("width",e.sDestroyWidth).removeClass(s.sTable),(i=e.asDestroyStripes.length)&&u.children().each(function(t){a(this).addClass(e.asDestroyStripes[t%i])}));var v=a.inArray(e,l.settings);-1!==v&&l.settings.splice(v,1)})}),a.each(["column","row","cell"],function(t,e){n(e+"s().every()",function(t){var i=this.selector.opts,s=this;return this.iterator(e,function(r,n,o,a,l){t.call(s[e](n,"cell"===e?o:i,"cell"===e?i:void 0),n,o,a,l)})})}),n("i18n()",function(t,e,i){var s=this.context[0],r=J(t)(s.oLanguage);return void 0===r&&(r=e),void 0!==i&&a.isPlainObject(r)&&(r=void 0!==r[i]?r[i]:r._),"string"==typeof r?r.replace("%d",i):r}
vendor: 5,544 bytes, line 1
1),l.version="1.13.11",l.settings=[],l.models={},l.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0,return:!1},l.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},l.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},l.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(e){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(i){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:a.extend({},l.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},D(l.defaults),l.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},D(l.defaults.column),l.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,jqXHR:null,json:void 0,oAjaxData:void 0,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==ve(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==ve(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,i=e+t,s=this.aiDisplay.length,r=this.oFeatures,n=r.bPaginate;return r.bServerSide?!1===n||-1===t?e+s:Math.min(e+t,this._iRecordsDisplay):!n||i>s||-1===t?s:i},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},l.ext=s={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:l.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:l.version},a.extend(s,{afnFiltering:s.search,aTypes:s.type.detect,ofnSearch:s.type.search,oSort:s.type.order,afnSortData:s.order,aoFeatures:s.feature,oApi:s.internal,oStdClasses:s.
1classes,oPagination:s.pager}),a.extend(l.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_desc_disabled",sSortableDesc:"sorting_asc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var je=l.ext.pager;function Re(t,e){var i=[],s=je.numbers_length,r=Math.floor(s/2);return e<=s?i=w(0,e):t<=r?((i=w(0,s-2)).push("ellipsis"),i.push(e-1)):t>=e-1-r?((i=w(e-(s-2),e)).splice(0,0,"ellipsis"),i.splice(0,0,0)):((i=w(t-r+2,t+r-1)).push("ellipsis"),i.push(e-1),i.splice(0,0,"ellipsis"),i.splice(0,0,0)),i.DT_el="span",i}a.extend(je,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},numbers:function(t,e){return[Re(t,e)]},simple_numbers:function(t,e){return["previous",Re(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Re(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",Re(t,e),"last"]},_numbers:Re,numbers_length:7}),a.extend(!0,l.ext.renderer,{pageButton:{_:function(t,e,i,s,r,n){var o,l,h,d=t.oClasses,c=t.oLanguage.oPaginate,u=t.oLanguage.oAria.paginate||{},p=function(e,s){var h,f,g,m=d.sPageButtonDisabled,v=function(e){zt(t,e.data.action,!0)};for(h=0,f=s.length;h<f;h++)if(g=s[h],Array.isArray(g)){var y=a("<"+(g.DT_el||"div")+"/>").appendTo(e);p(y,g)}else{var x=!1;switch(o=null,l=g,g){case"ellipsis":e.append('<span class="ellipsis">…</span>');break;case"first":o=c.sFirst,0===r&&(x=!0);break;case"previous":o=c.sPrevious,0===r&&(x=!0);break;case"next":o=c.sNext,0!==n&&r!==n-1||(x=!0);break;case"last":o=c.sLast,0!==n&&r!==n-1||(x=!0);break;default:o=t.fnFormatNumber(g+1),l=r===g?d.sPageButtonActive:""}if(null!==o){var b=t.oInit.pagingTag||"a";x&&(l+=" "+m),ue(a("<"+b+">",{class:d.sPageButton+" "+l,"aria-controls":t.sTableId,"aria-disabled":x?"true":null,"aria-label":u[g],role:"link","aria-current":l===d.sPageButtonActive?"page":null,"data-dt-idx":g,tabindex:x?-1:t.iTabIndex,id:0===i&&"string"==typeof g?t.sTableId+"_"+g:null}).html(o).appendTo(e),{action:g},v)}}};try{h=a(e).find(document.activeElement).data("dt-idx")}catch(f){}p(a(e).empty(),s),void 0!==h&&a(e).find("[data-dt-idx="+h+"]").trigger("focus")}}}),a.extend(l.ext.type.detect,[function(t,e){var i=e.oLanguage.sDecimal;return y(t,i)?"num"+i:null},function(t,e){if(t&&!(t instanceof Date)&&!u.test(t))return null;var i=Date.parse(t);return null!==i&&!isNaN(i)||g(t)?"date":null},function(t,e){var i=e.oLanguage.sDecimal;return y(t,i,!0)?"num-fmt"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return x(t,i)?"html-num"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return x(t,i,!0)?"html-num-fmt"+i:null},function(t,e){return g(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),a.extend(l.ext.type.search,{html:function(t){return g(t)?t:"string"==typeof t?t.replace(d," ").replace(c,""):""},string:function(t){return g(t)?t:"string"==typeof t?t.replace(d," "):t}});var _e=function(t,e,i,s){if(0!==t&&(!t||"-"===t))return-1/0;var r=typeof t;return"number"===r||"bigint"===r?t:(e&&(t=v(t,e)),t.replace&&(i&&(t=t.replace(i,"")),s&&(t=t.replace(s,""))),1*t)};function Ne(t){a.each({num:function(e){return _e(e,t)},"num-fmt":function(e){return _e(e,t,f)},"html-num":function(e){return _e(e,t,c)},"html-num-fmt":function(e){return _e(e,t,c,f)}},function(e,i){s.type.order[e+t+"-pre"]=i,e.match(/^html\-/)&&(s.type.search[e+t]=s.type.search.html)})}a.extend(s.type.order,{"date-pre":function(t){var e=Date.parse(t);return isNaN(e)?-1/0:e},"html-pre":function(t){return g(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return g(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:t>e?1:0},"string-desc":function(t,e){return t<e?1:t>e?-1:0}}
1),Ne(""),a.extend(!0,l.ext.renderer,{header:{_:function(t,e,i,s){a(t.nTable).on("order.dt.DT",function(r,n,o,a){if(t===n){var l=i.idx;e.removeClass(s.sSortAsc+" "+s.sSortDesc).addClass("asc"==a[l]?s.sSortAsc:"desc"==a[l]?s.sSortDesc:i.sSortingClass)}})},jqueryui:function(t,e,i,s){a("<div/>").addClass(s.sSortJUIWrapper).append(e.contents()).append(a("<span/>").addClass(s.sSortIcon+" "+i.sSortingClassJUI)).appendTo(e),a(t.nTable).on("order.dt.DT",function(r,n,o,a){if(t===n){var l=i.idx;e.removeClass(s.sSortAsc+" "+s.sSortDesc).addClass("asc"==a[l]?s.sSortAsc:"desc"==a[l]?s.sSortDesc:i.sSortingClass),e.find("span."+s.sSortIcon).removeClass(s.sSortJUIAsc+" "+s.sSortJUIDesc+" "+s.sSortJUI+" "+s.sSortJUIAscAllowed+" "+s.sSortJUIDescAllowed).addClass("asc"==a[l]?s.sSortJUIAsc:"desc"==a[l]?s.sSortJUIDesc:i.sSortingClassJUI)}})}}});var Be=function(t){return Array.isArray(t)&&(t=t.join(",")),"string"==typeof t?t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):t};function ze(t,e,i,s,r){return window.moment?t[e](r):window.luxon?t[i](r):s?t[s](r):t}var Fe=!1;function He(t,e,i){var s;if(window.moment){if(!(s=window.moment.utc(t,e,i,!0)).isValid())return null}else if(window.luxon){if(!(s=e&&"string"==typeof t?window.luxon.DateTime.fromFormat(t,e):window.luxon.DateTime.fromISO(t)).isValid)return null;s.setLocale(i)}else e?(Fe||alert("DataTables warning: Formatted date without Moment.js or Luxon - https://datatables.net/tn/17"),Fe=!0):s=new Date(t);return s}function We(t){return function(e,i,s,r){0===arguments.length?(s="en",i=null,e=null):1===arguments.length?(s="en",i=e,e=null):2===arguments.length&&(s=i,i=e,e=null);var n="datetime-"+i;return l.ext.type.order[n]||(l.ext.type.detect.unshift(function(t){return t===n&&n}),l.ext.type.order[n+"-asc"]=function(t,e){var i=t.valueOf(),s=e.valueOf();return i===s?0:i<s?-1:1},l.ext.type.order[n+"-desc"]=function(t,e){var i=t.valueOf(),s=e.valueOf();return i===s?0:i>s?-1:1}),function(o,a){if(null==o)if("--now"===r){var l=new Date;o=new Date(Date.UTC(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds()))}else o="";if("type"===a)return n;if(""===o)return"sort"!==a?"":He("0000-01-01 00:00:00",null,s);if(null!==i&&e===i&&"sort"!==a&&"type"!==a&&!(o instanceof Date))return o;var h=He(o,e,s);if(null===h)return o;if("sort"===a)return h;var d=null===i?ze(h,"toDate","toJSDate","")[t]():ze(h,"format","toFormat","toISOString",i);return"display"===a?Be(d):d}}}var Ge=",",Xe=".";if(void 0!==window.Intl)try{for(var Ue=(new Intl.NumberFormat).formatToParts(100000.1),Ye=0;Ye<Ue.length;Ye++)"group"===Ue[Ye].type?Ge=Ue[Ye].value:"decimal"===Ue[Ye].type&&(Xe=Ue[Ye].value)}catch($e){}function Ve(t){return function(){var e=[le(this[l.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return l.ext.internal[t].apply(this,e)}}l.datetime=function(t,e){var i="datetime-detect-"+t;e||(e="en"),l.ext.type.order[i]||(l.ext.type.detect.unshift(function(s){var r=He(s,t,e);return!(""!==s&&!r)&&i}),l.ext.type.order[i+"-pre"]=function(i){return He(i,t,e)||0})},l.render={date:We("toLocaleDateString"),datetime:We("toLocaleString"),time:We("toLocaleTimeString"),number:function(t,e,i,s,r){return null==t&&(t=Ge),null==e&&(e=Xe),{display:function(n){if("number"!=typeof n&&"string"!=typeof n)return n;if(""===n||null===n)return n;var o=n<0?"-":"",a=parseFloat(n);if(isNaN(a))return Be(n);a=a.toFixed(i),n=Math.abs(a);var l=parseInt(n,10),h=i?e+(n-l).toFixed(i).substring(2):"";return 0===l&&0===parseFloat(h)&&(o=""),o+(s||"")+l.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+h+(r||"")}}},text:function(){return{display:Be,filter:Be}}},a.extend(l.ext.internal,{_fnExternApiFunc:Ve,_fnBuildAjax:ft,_fnAjaxUpdate:gt,_fnAjaxParameters:mt,_fnAjaxUpdateDraw:vt,_fnAjaxDataSrc:yt,_fnAddColumn:_,_fnColumnOptions:N,_fnAdjustColumnSizing:B,_fnVisibleToColumnIndex:z,_fnColumnIndexToVisible:F,_fnVisbleColumns:H,_fnGetColumns:W,_fnColumnTypes:G,_fnApplyColumnDefs:X,_fnHungarianMap:D,_fnCamelToHungarian:P,_fnLanguageCompat:L,_fnBrowserDetect:j,_fnAddData:U,_fnAddTr:Y,_fnNodeToDataIndex:function(t,e){return void 0!==e._DT_RowIndex?e._DT_RowIndex:null}
1,_fnNodeToColumnIndex:function(t,e,i){return a.inArray(i,t.aoData[e].anCells)},_fnGetCellData:V,_fnSetCellData:$,_fnSplitObjNotation:K,_fnGetObjectDataFn:J,_fnSetObjectDataFn:Q,_fnGetDataMaster:tt,_fnClearTable:et,_fnDeleteIndex:it,_fnInvalidate:st,_fnGetRowElements:rt,_fnCreateTr:nt,_fnBuildHead:at,_fnDrawHead:lt,_fnDraw:ht,_fnReDraw:dt,_fnAddOptionsHtml:ct,_fnDetectHeader:ut,_fnGetUniqueThs:pt,_fnFeatureHtmlFilter:xt,_fnFilterComplete:bt,_fnFilterCustom:St,_fnFilterColumn:wt,_fnFilter:Ct,_fnFilterCreateSearch:Tt,_fnEscapeRegex:kt,_fnFilterData:Dt,_fnFeatureHtmlInfo:Et,_fnUpdateInfo:Ot,_fnInfoMacros:It,_fnInitialise:jt,_fnInitComplete:Rt,_fnLengthChange:_t,_fnFeatureHtmlLength:Nt,_fnFeatureHtmlPaginate:Bt,_fnPageChange:zt,_fnFeatureHtmlProcessing:Ft,_fnProcessingDisplay:Ht,_fnFeatureHtmlTable:Wt,_fnScrollDraw:Gt,_fnApplyToChildren:Xt,_fnCalculateColumnWidths:Yt,_fnThrottle:Vt,_fnConvertToWidth:$t,_fnGetWidestNode:qt,_fnGetMaxLenString:Zt,_fnStringToCss:Kt,_fnSortFlatten:Jt,_fnSort:Qt,_fnSortAria:te,_fnSortListener:ee,_fnSortAttachListener:ie,_fnSortingClasses:se,_fnSortData:re,_fnSaveState:ne,_fnLoadState:oe,_fnImplementState:ae,_fnSettingsFromNode:le,_fnLog:he,_fnMap:de,_fnBindAction:ue,_fnCallbackReg:pe,_fnCallbackFire:fe,_fnLengthOverflow:ge,_fnRenderer:me,_fnDataSource:ve,_fnRowAttributes:ot,_fnExtend:ce,_fnCalculateEnd:function(){}}),a.fn.dataTable=l,l.$=a,a.fn.dataTableSettings=l.settings,a.fn.dataTableExt=l.ext,a.fn.DataTable=function(t){return a(this).dataTable(t).api()},a.each(l,function(t,e){a.fn.DataTable[t]=e}),e.A=722==i.j?l:null},3385:function(t,e,i){"use strict";if(722==i.j)var s=i(8706);if(722==i.j)var r=i(7044);const n=722==i.j?'<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>':null;i.d(e,["A",0,({swiper:t,extendParams:e,on:i,emit:o})=>{function a(){return t.params.navigation}function l(e){let i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e)||t.hostEl.querySelector(e),i)?i:(e&&("string"==typeof e&&(i=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&i&&i.length>1&&1===t.el.querySelectorAll(e).length?i=t.el.querySelector(e):i&&1===i.length&&(i=i[0])),e&&!i?e:i)}function h(e,i){const s=a();(0,r.s)(e).forEach(e=>{e&&(e.classList[i?"add":"remove"](...s.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass))})}function d(){const{nextEl:e,prevEl:i}=t.navigation;if(t.params.loop)return h(i,!1),void h(e,!1);h(i,t.isBeginning&&!t.params.rewind),h(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),o("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),o("navigationNext"))}function p(){t.params.navigation=(0,s.c)(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"});const e=a();if(!e.nextEl&&!e.prevEl)return;const i=l(e.nextEl),o=l(e.prevEl);Object.assign(t.navigation,{nextEl:i,prevEl:o});const h=(0,r.s)(i),d=(0,r.s)(o),p=(i,s)=>{if(i){if(e.addIcons&&i.matches(".swiper-button-next,.swiper-button-prev")&&!i.querySelector("svg")){const t=document.createElement("div");(0,r.w)(t,n);const e=t.querySelector("svg");e&&i.appendChild(e),t.remove()}i.addEventListener("click","next"===s?u:c)}!t.enabled&&i&&i.classList.add(...e.lockClass.split(" "))};h.forEach(t=>p(t,"next")),d.forEach(t=>p(t,"prev"))}function f(){const e=a(),{nextEl:i,prevEl:s}=t.navigation,n=(0,r.s)(i),o=(0,r.s)(s),l=(t,i)=>{t.removeEventListener("click","next"===i?u:c),t.classList.remove(...e.disabledClass.split(" "))};
1n.forEach(t=>l(t,"next")),o.forEach(t=>l(t,"prev"))}e({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null,arrowSvg:n},i("init",()=>{!1===a().enabled?g():(p(),d())}),i("toEdge fromEdge lock unlock",()=>{d()}),i("destroy",()=>{f()}),i("enable disable",()=>{const e=a(),{nextEl:i,prevEl:s}=t.navigation,n=(0,r.s)(i),o=(0,r.s)(s);t.enabled?d():[...n,...o].filter(t=>!!t).forEach(t=>t.classList.add(e.lockClass))}),i("click",(e,i)=>{const s=a(),{nextEl:n,prevEl:l}=t.navigation,h=(0,r.s)(n),d=(0,r.s)(l),c=i.target;let u=d.includes(c)||h.includes(c);if(t.isElement&&!u){const t=i.composedPath?i.composedPath():[];t.length&&(u=t.find(t=>h.includes(t)||d.includes(t)))}if(s.hideOnClick&&!u){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===c||t.pagination.el.contains(c)))return;let e;h.length?e=h[0].classList.contains(s.hiddenClass):d.length&&(e=d[0].classList.contains(s.hiddenClass)),o(!0===e?"navigationShow":"navigationHide"),[...h,...d].filter(t=>!!t).forEach(t=>t.classList.toggle(s.hiddenClass))}});const g=()=>{const e=a();t.el.classList.add(...e.navigationDisabledClass.split(" ")),f()};Object.assign(t.navigation,{enable:()=>{const e=a();t.el.classList.remove(...e.navigationDisabledClass.split(" ")),p(),d()},disable:g,update:d,init:p,destroy:f})}])},7083:function(t,e,i){"use strict";if(722==i.j)var s=i(7643);if(722==i.j)var r=i(8706);if(722==i.j)var n=i(7044);const o=t=>{if((t=>!!t.virtual&&!!t.params.virtual?.enabled)(t))return t.virtual.slides.length;const e=t.params.grid?.rows;return t.grid&&e&&e>1?t.slides.length/Math.ceil(e):t.slides.length};i.d(e,["A",0,({swiper:t,extendParams:e,on:i,emit:a})=>{const l="swiper-pagination";let h;e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),t.pagination={el:null,bullets:[]};let d=0;function c(){return t.params.pagination}function u(){return!c().el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function p(t,e){const{bulletActiveClass:i}=c();if(!t)return;let s=t[("prev"===e?"previous":"next")+"ElementSibling"];s&&(s.classList.add(`${i}-${e}`),s=s[("prev"===e?"previous":"next")+"ElementSibling"],s&&s.classList.add(`${i}-${e}-${e}`))}function f(e){const i=e.target.closest((0,s.c)(c().bulletClass));if(!i)return;e.preventDefault();const r=((0,n.b)(i)??0)*(t.params.slidesPerGroup??1);if(t.params.loop){if(t.realIndex===r)return;const e=(o=t.realIndex,a=r,l=t.slides.length,(a%=l)===1+(o%=l)?"next":a===o-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(r)}else t.slideTo(r);var o,a,l}function g(){const e=t.rtl,i=c();if(u())return;const r=(0,n.s)(t.pagination.el);let l,f;const g=o(t),m=t.params.loop?Math.ceil(g/(t.params.slidesPerGroup??1)):t.snapGrid.length;if(t.params.loop?(f=t.previousRealIndex||0,l=(t.params.slidesPerGroup??1)>1?Math.floor(t.realIndex/(t.params.slidesPerGroup??1)):t.realIndex):void 0!==t.snapIndex?(l=t.snapIndex,f=t.previousSnapIndex):(f=t.previousIndex||0,l=t.activeIndex||0),"bullets"===i.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const s=t.pagination.bullets;let o=0,a=0,c=0;if(i.dynamicBullets){h=(0,n.i)(s[0],t.isHorizontal()?"width":"height");const e=t.isHorizontal()?"width":"height";r.forEach(t=>{t.style[e]=(h??0)*(i.dynamicMainBullets+4)+"px"}),i.dynamicMainBullets>1&&void 0!==f&&(d+=l-(f||0),d>i.dynamicMainBullets-1?d=i.dynamicMainBullets-1:d<0&&(d=0)),o=Math.max(l-d,0),a=o+(Math.min(s.length,i.dynamicMainBullets)-1),c=(a+o)/2}if(s.forEach(t=>{const e=["","-next","-next-next","-prev","-prev-prev","-main"].map(t=>`${i.bulletActiveClass}${t}`).flatMap(t=>"string"==typeof t&&t.includes(" ")?t.split(" "):[t]);t.classList.remove(...e)}),r.length>
11)s.forEach(e=>{const s=(0,n.b)(e);s===l?e.classList.add(...i.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),i.dynamicBullets&&void 0!==s&&(s>=o&&s<=a&&e.classList.add(...`${i.bulletActiveClass}-main`.split(" ")),s===o&&p(e,"prev"),s===a&&p(e,"next"))});else{const e=s[l];if(e&&e.classList.add(...i.bulletActiveClass.split(" ")),t.isElement&&s.forEach((t,e)=>{t.setAttribute("part",e===l?"bullet-active":"bullet")}),i.dynamicBullets){const t=s[o],e=s[a];for(let r=o;r<=a;r+=1)s[r]&&s[r].classList.add(...`${i.bulletActiveClass}-main`.split(" "));p(t,"prev"),p(e,"next")}}if(i.dynamicBullets){const r=Math.min(s.length,i.dynamicMainBullets+4),n=((h??0)*r-(h??0))/2-c*(h??0),o=e?"right":"left",a=t.isHorizontal()?o:"top";s.forEach(t=>{t.style[a]=`${n}px`})}}r.forEach((e,r)=>{if("fraction"===i.type&&(e.querySelectorAll((0,s.c)(i.currentClass)).forEach(t=>{t.textContent=String(i.formatFractionCurrent(l+1))}),e.querySelectorAll((0,s.c)(i.totalClass)).forEach(t=>{t.textContent=String(i.formatFractionTotal(m))})),"progressbar"===i.type){let r;r=i.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const n=(l+1)/m;let o=1,a=1;"horizontal"===r?o=n:a=n,e.querySelectorAll((0,s.c)(i.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${o}) scaleY(${a})`,e.style.transitionDuration=`${t.params.speed}ms`})}"custom"===i.type&&i.renderCustom?((0,n.w)(e,i.renderCustom(t,l+1,m)),0===r&&a("paginationRender",e)):(0===r&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass)})}function m(){const e=c();if(u())return;const i=o(t),r=(0,n.s)(t.pagination.el);let l="";if("bullets"===e.type){let s=t.params.loop?Math.ceil(i/(t.params.slidesPerGroup??1)):t.snapGrid.length;t.params.freeMode&&(t=>!!t.params.freeMode?.enabled)(t)&&s>i&&(s=i);for(let i=0;i<s;i+=1)e.renderBullet?l+=e.renderBullet.call(t,i,e.bulletClass):l+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(l=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(l=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],r.forEach(i=>{"custom"!==e.type&&(0,n.w)(i,l||""),"bullets"===e.type&&t.pagination.bullets.push(...Array.from(i.querySelectorAll((0,s.c)(e.bulletClass))))}),"custom"!==e.type&&a("paginationRender",r[0])}function v(){t.params.pagination=(0,r.c)(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=c();if(!e.el)return;let i;if("string"==typeof e.el&&t.isElement&&(i=t.el.querySelector(e.el)),i||"string"!=typeof e.el||(i=[...document.querySelectorAll(e.el)]),i||(i=e.el),!i||Array.isArray(i)&&0===i.length)return;if(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(i)&&i.length>1&&(i=[...t.el.querySelectorAll(e.el)],i.length>1)){const e=i.find(e=>(0,n.j)(e,".swiper")[0]===t.el);e&&(i=e)}Array.isArray(i)&&1===i.length&&(i=i[0]),Object.assign(t.pagination,{el:i});(0,n.s)(i).forEach(i=>{"bullets"===e.type&&e.clickable&&i.classList.add(...(e.clickableClass||"").split(" ")),i.classList.add(e.modifierClass+e.type),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(i.classList.add(`${e.modifierClass}${e.type}-dynamic`),d=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&i.classList.add(e.progressbarOppositeClass),e.clickable&&i.addEventListener("click",f),t.enabled||i.classList.add(e.lockClass)})}function y(){const e=c();if(u())return;const i=t.pagination.el;if(i){(0,n.s)(i).forEach(i=>{i.classList.remove(e.hiddenClass),i.classList.remove(e.modifierClass+e.type),i.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(i.classList.remove(...(e.clickableClass||"").split(" ")),i.removeEventListener("click",f))})}
1t.pagination.bullets&&t.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const e=c();(0,n.s)(t.pagination.el).forEach(i=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===c().enabled?x():(v(),m(),g())}),i("activeIndexChange",()=>{void 0===t.snapIndex&&g()}),i("snapIndexChange",()=>{g()}),i("snapGridLengthChange",()=>{m(),g()}),i("destroy",()=>{y()}),i("enable disable",()=>{const{el:e}=t.pagination;if(e){const i=c();(0,n.s)(e).forEach(e=>e.classList[t.enabled?"remove":"add"](i.lockClass))}}),i("lock unlock",()=>{g()}),i("click",(e,i)=>{const s=i.target,r=(0,n.s)(t.pagination.el),o=c();if(o.el&&o.hideOnClick&&r&&r.length>0&&!s.classList.contains(o.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&s===t.navigation.nextEl||t.navigation.prevEl&&s===t.navigation.prevEl))return;const e=r[0].classList.contains(o.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),r.forEach(t=>t.classList.toggle(o.hiddenClass))}});const x=()=>{const e=c();t.el.classList.add(e.paginationDisabledClass);const{el:i}=t.pagination;if(i){(0,n.s)(i).forEach(t=>t.classList.add(e.paginationDisabledClass))}y()};Object.assign(t.pagination,{enable:()=>{const e=c();t.el.classList.remove(e.paginationDisabledClass);const{el:i}=t.pagination;if(i){(0,n.s)(i).forEach(t=>t.classList.remove(e.paginationDisabledClass))}v(),m(),g()},disable:x,render:m,update:g,init:v,destroy:y})}])},7643:function(t,e,i){"use strict";function s(t=""){return`.${t.trim().replace(/([.:!+/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}i.d(e,{c:function(){return s}})},8706:function(t,e,i){"use strict";if(i.d(e,{c:function(){return r}}),722==i.j)var s=i(7044);function r(t,e,i,r){const n=i??{},o=e??{};return t.params.createElements&&Object.keys(r).forEach(e=>{if(!n[e]&&!0===n.auto){let i=(0,s.e)(t.el,`.${r[e]}`)[0];i||(i=(0,s.a)("div",r[e]),i.className=r[e],t.el.append(i)),n[e]=i,o[e]=i}}),n}},7044:function(t,e,i){"use strict";function s(t){Object.keys(t).forEach(e=>{try{t[e]=null}catch{}try{delete t[e]}catch{}})}function r(t,e=0){return setTimeout(t,e)}function n(){return Date.now()}function o(t,e="x"){const i=function(t){return window.getComputedStyle(t,null)}(t),s=i.transform||i.webkitTransform;if(!s||"none"===s)return 0;const r=new DOMMatrixReadOnly(s);return"x"===e?r.m41:r.m42}function a(t){return"object"==typeof t&&null!==t&&!!t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function l(t){return"undefined"!=typeof HTMLElement&&t instanceof HTMLElement||!!t&&"object"==typeof t&&(1===t.nodeType||11===t.nodeType)}function h(t,...e){const i=Object(t);for(let s=0;s<e.length;s+=1){const t=e[s];if(null==t||l(t))continue;const r=t,n=Object.keys(Object(r));for(let e=0,s=n.length;e<s;e+=1){const t=n[e];if("__proto__"===t||"constructor"===t||"prototype"===t)continue;const s=Object.getOwnPropertyDescriptor(r,t);if(!s||!s.enumerable)continue;const o=r[t];a(i[t])&&a(o)?o.__swiper__?i[t]=o:h(i[t],o):!a(i[t])&&a(o)?(i[t]={},o.__swiper__?i[t]=o:h(i[t],o)):i[t]=o}}return i}function d(t,e,i){t.style.setProperty(e,i)}function c(t,e=""){const i=[...t.children];return t instanceof HTMLSlotElement&&i.push(...t.assignedElements()),e?i.filter(t=>t.matches(e)):i}function u(t,e){let i=e.contains(t);if(!i&&e instanceof HTMLSlotElement){i=[...e.assignedElements()].includes(t),i||(i=function(t,e){const i=[e];for(;i.length>0;){const e=i.shift();if(t===e)return!0;i.push(...e.children,...e.shadowRoot?e.shadowRoot.children:[],...e.assignedElements?e.assignedElements():[])}return!1}(t,e))}return i}function p(t){try{console.warn(t)}catch{}}function f(t,e=[]){const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:function(t=""){return t.trim().split(" ").filter(t=>!!t.trim())}(e)),i}function g(t,e){const i=[];let s=t.previousElementSibling;for(;s;)e&&!s.matches(e)||i.push(s),s=s.previousElementSibling;return i}function m(t,e){const i=[];let s=t.nextElementSibling;for(;s;)e&&!s.matches(e)||i.push(s),s=s.nextElementSibling;return i}function v(t,e){return window.getComputedStyle(t,null).getPropertyValue(e)}function y(t){if(t&&t.parentNode)return[...t.parentNode.children].indexOf(t)}function x(t,e){const i=[];let s=t.parentElement;for(;s;)e&&!s.matches(e)||i.push(s),s=s.parentElement;return i}function b(t,e,i){{const i=window.getComputedStyle(t,null);return t["width"===e?"offsetWidth":"offsetHeight"]+parseFloat(i.getPropertyValue("width"===e?"margin-right":"margin-top"))+parseFloat(i.getPropertyValue("width"===e?"margin-left":"margin-bottom"))}}function S(t){return(Array.isArray(t)?t:[t]).filter(t=>!!t)}function w(t,e=""){const i=globalThis.trustedTypes;t.innerHTML=void 0!==i?i.createPolicy("html",{createHTML:t=>t}).createHTML(e):e}i.d(e,{a:function(){return f},b:function(){return y},d:function(){return s},e:function(){return c},f:function(){return u},g:function(){return m},i:function(){return b},j:function(){return x},k:function(){return g},l:function(){return v},n:function(){return h},q:function(){return o},s:function(){return S},t:function(){return r},u:function(){return n},v:function(){return d},w:function(){return w},x:function(){return p}})}
vendor: 24,368 bytes, line 1
1,1236:function(t,e,i){"use strict";i.d(e,{A:function(){return z}});var s=i(7044);let r,n,o;function a(){return r||(r="undefined"==typeof window?{touch:!1}:{touch:"ontouchstart"in window||navigator.maxTouchPoints>0}),r}function l(t={}){return n||(n=function({userAgent:t}={}){if("undefined"==typeof window)return{ios:!1,android:!1};const e=a(),i=navigator.platform,s=t||navigator.userAgent,r={ios:!1,android:!1},n=/(Android);?[\s/]+([\d.]+)?/.test(s),o=/(iPhone\sOS|iOS|iPod)/.test(s),l=/iPad/.test(s),h="MacIntel"===i&&e.touch&&navigator.maxTouchPoints>1,d=l||h;return n&&!("Win32"===i)&&(r.os="android",r.android=!0),(d||o)&&(r.os="ios",r.ios=!0),r}(t)),n}function h(){return o||(o=function(){if("undefined"==typeof window)return{isSafari:!1,isWebView:!1,need3dFix:!1};const t=l(),e=navigator.userAgent,i=e.toLowerCase(),s=i.includes("safari")&&!i.includes("chrome")&&!i.includes("android"),r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e);return{isSafari:s,isWebView:r,need3dFix:s||r&&t.ios}}()),o}const d=(t,e)=>{if(!t||t.destroyed||!t.params||!t.params.lazyPreload)return;const i=e.closest(t.isElement?"swiper-slide":`.${t.params.slideClass}`);if(i){let e=i.querySelector(`.${t.params.lazyPreloaderClass}`);!e&&t.isElement&&(i.shadowRoot?e=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{if(i.shadowRoot){const e=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`);e&&!e.lazyPreloaderManaged&&e.remove()}})),e&&!e.lazyPreloaderManaged&&e.remove()}},c=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},u=t=>{if(!t||t.destroyed||!t.params||!t.params.lazyPreload)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const s="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),r=t.activeIndex;if(t.params.grid&&(t.params.grid.rows??1)>1){const i=r,n=[i-e];return n.push(...Array.from({length:e}).map((t,e)=>i+s+e)),void t.slides.forEach((e,i)=>{void 0!==e.column&&n.includes(e.column)&&c(t,i)})}const n=r+s-1;if(t.params.rewind||t.params.loop)for(let o=r-e;o<=n+e;o+=1){const e=(o%i+i)%i;(e<r||e>n)&&c(t,e)}else for(let o=Math.max(r-e,0);o<=Math.min(n+e,i-1);o+=1)o!==r&&(o>n||o<r)&&c(t,o)};const p=(t,e)=>!!(t.grid&&e.grid&&e.grid.rows>1);var f={setBreakpoint:function(){const t=this,{realIndex:e,initialized:i,params:r,el:n}=t,o=r.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const a="window"!==r.breakpointsBase&&r.breakpointsBase?"container":r.breakpointsBase,l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?t.el:document.querySelector(r.breakpointsBase),h=t.getBreakpoint(o,a,l);if(!h||t.currentBreakpoint===h)return;const d=(h in o?o[h]:void 0)||t.originalParams,c=p(t,r),u=p(t,d),f=t.params.grabCursor,g=d.grabCursor,m=r.enabled;c&&!u?(n.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&u&&(n.classList.add(`${r.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===r.grid.fill)&&n.classList.add(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),f&&!g?t.unsetGrabCursor():!f&&g&&t.setGrabCursor();const v=(t,e)=>t[e];["navigation","pagination","scrollbar"].forEach(e=>{const i=v(d,e);if(void 0===i)return;const s=v(r,e),n="object"==typeof s&&null!==s&&s.enabled,o="object"==typeof i&&null!==i&&i.enabled,a=t[e];n&&!o&&a?.disable?.(),!n&&o&&a?.enable?.()});const y=d.direction&&d.direction!==r.direction,x=r.loop&&(d.slidesPerView!==r.slidesPerView||y),b=r.loop;y&&i&&t.changeDirection(),(0,s.n)(t.params,d);const S=t.params.enabled,w=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),m&&!S?t.disable():!m&&S&&t.enable(),t.currentBreakpoint=h,t.emit("_beforeBreakpoint",d),i&&(x?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&w?(t.loopCreate(e),t.updateSlides()):b&&!w&&t.loopDestroy()),t.emit("breakpoint",d)},getBreakpoint:function(t,e="window",i){if(!t||"container"===e&&!i)return;let s=!1;const r="window"===e?window.innerHeight:i.clientHeight,n=Object.keys(t).map(t=>{if("string"==typeof t&&0===t.indexOf("@")){const e=parseFloat(t.substr(1));return{value:r*e,point:t}}return{value:t,point:t}});n.sort((t,e)=>parseInt(String(t.value),10)-parseInt(String(e.value),10));for(let o=0;o<n.length;o+=1){const{point:t,value:r}=n[o];"window"===e?window.matchMedia(`(min-width: ${r}px)`).matches&&(s=t):r<=i.clientWidth&&(s=t)}return s||"max"}};var g={checkOverflow:function(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:s}=i;if(s){const e=t.slides.length-1,i=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*s;t.isLocked=t.size>i}else t.isLocked=1===t.snapGrid.length;!0===i.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===i.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}};var m={addClasses:function(){const t=this,{classNames:e,params:i,rtl:s,el:r,device:n}=t,o=function(t,e){const i=[];return t.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(s=>{t[s]&&i.push(e+s)}):"string"==typeof t&&i.push(e+t)}),i}(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:s},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:n.android},{ios:n.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...o),r.classList.add(...e),t.emitContainerClasses()},removeClasses:function(){const{el:t,classNames:e}=this;t&&"string"!=typeof t&&(t.classList.remove(...e),this.emitContainerClasses())}};const v={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreload:!0,lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};var y={on(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const r=i?"unshift":"push";return t.split(" ").forEach(t=>{s.eventsListeners[t]||(s.eventsListeners[t]=[]),s.eventsListeners[t][r](e)}),s},once(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const r=function(...i){s.off(t,r),r.__emitterProxy&&delete r.__emitterProxy,e.apply(s,i)};return r.__emitterProxy=e,s.on(t,r,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const s=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[s](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(t.split(" ").forEach(t=>{void 0===e?i.eventsListeners[t]=[]:i.eventsListeners[t]&&i.eventsListeners[t].forEach((s,r)=>{(s===e||s.__emitterProxy&&s.__emitterProxy===e)&&i.eventsListeners[t].splice(r,1)})}),i):i},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let i,s,r;if("string"==typeof t[0]||Array.isArray(t[0]))i=t[0],s=t.slice(1,t.length),r=e;else{const n=t[0];i=n.events,s=n.data??[],r=n.context||e}s.unshift(r);return(Array.isArray(i)?i:i.split(" ")).forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(r,[t,...s])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(t=>{t.apply(r,s)})}),e}};function x(t){const e=this;e.destroyed||e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function b(){const t=this;t.destroyed||t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}function S(t){const e=this;e.destroyed||(d(e,t.target),e.params.cssMode||"auto"!==e.params.slidesPerView&&!e.params.autoHeight||e.update())}function w(){const t=this,{params:e,el:i}=t;if(i&&0===i.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:r,snapGrid:n}=t,o=t.virtual&&t.params.virtual?.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=o&&e.loop;if(!("auto"===e.slidesPerView||e.slidesPerView>1)||!t.isEnd||t.isBeginning||t.params.centeredSlides||a)t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0);else{const e=o?t.virtual.slides.length:t.slides.length;t.slideTo(e-1,0,!1,!0)}if(t.autoplay&&t.autoplay.running&&t.autoplay.paused){const e=t.autoplay;clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)}t.allowSlidePrev=r,t.allowSlideNext=s,t.params.watchOverflow&&n!==t.snapGrid&&t.checkOverflow()}function C(){const t=this;if(t.destroyed)return;const{wrapperEl:e,rtlTranslate:i,enabled:s}=t;if(!s)return;let r;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const n=t.maxTranslate()-t.minTranslate();r=0===n?0:(t.translate-t.minTranslate())/n,r!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function T(t){const e=this;if(e.destroyed)return;const i=e.touchEventsData;let r=t.originalEvent??t;if("touchend"===r.type||"touchcancel"===r.type){const t=[...r.changedTouches].find(t=>t.identifier===i.touchId);if(!t||t.identifier!==i.touchId)return}else{if(null!==i.touchId)return;if(r.pointerId!==i.pointerId)return}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return}i.pointerId=null,i.touchId=null;const{params:n,touches:o,rtlTranslate:a,slidesGrid:l,enabled:h}=e;if(!h)return;if(!n.simulateTouch&&"mouse"===r.pointerType)return;if(i.allowTouchCallbacks&&e.emit("touchEnd",r),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const d=(0,s.u)(),c=d-i.touchStartTime;if(e.allowClick){const t=r.path??(r.composedPath&&r.composedPath());e.updateClickedSlide(t&&t[0],t),e.emit("tap click",r),c<300&&d-i.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(i.lastClickTime=(0,s.u)(),(0,s.t)(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||0===o.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let u;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=n.followFinger?a?e.translate:-e.translate:-(i.currentTranslate??0),n.cssMode)return;if(n.freeMode&&n.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:u});const p=u>=-e.maxTranslate()&&!e.params.loop;let f=0,g=e.slidesSizesGrid[0];for(let s=0;s<l.length;s+=s<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=s<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==l[s+t]?(p||u>=l[s]&&u<l[s+t])&&(f=s,g=l[s+t]-l[s]):(p||u>=l[s])&&(f=s,g=l[l.length-1]-l[l.length-2])}let m=null,v=null;n.rewind&&(e.isBeginning?v=n.virtual?.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const y=(u-l[f])/g,x=f<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(c>n.longSwipesMs){if(!n.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(y>=n.longSwipesRatio?e.slideTo(n.rewind&&e.isEnd?m:f+x):e.slideTo(f)),"prev"===e.swipeDirection&&(y>1-n.longSwipesRatio?e.slideTo(f+x):null!==v&&y<0&&Math.abs(y)>n.longSwipesRatio?e.slideTo(v):e.slideTo(f))}else{if(!n.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(f+x):e.slideTo(f):("next"===e.swipeDirection&&e.slideTo(null!==m?m:f+x),"prev"===e.swipeDirection&&e.slideTo(null!==v?v:f))}}function k(t){const e=this;if(e.destroyed)return;const i=e.touchEventsData,{params:r,touches:n,rtlTranslate:o,enabled:a}=e;if(!a)return;if(!r.simulateTouch&&"mouse"===t.pointerType)return;const l=t,h=l.originalEvent??l;if("pointermove"===h.type){if(null!==i.touchId)return;if(h.pointerId!==i.pointerId)return}let d;if("touchmove"===h.type){const t=[...h.changedTouches].find(t=>t.identifier===i.touchId);if(!t||t.identifier!==i.touchId)return;d=t}else d=h;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&e.emit("touchMoveOpposite",h));const c=d.pageX,u=d.pageY;if(h.preventedByNestedSwiper)return n.startX=c,void(n.startY=u);if(!e.allowTouchMove)return h.target.matches(i.focusableElements)||(e.allowClick=!1),void(i.isTouched&&(Object.assign(n,{startX:c,startY:u,currentX:c,currentY:u}),i.touchStartTime=(0,s.u)()));if(r.touchReleaseOnEdges&&!r.loop)if(e.isVertical()){if(u<n.startY&&e.translate<=e.maxTranslate()||u>n.startY&&e.translate>=e.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(o&&(c>n.startX&&-e.translate<=e.maxTranslate()||c<n.startX&&-e.translate>=e.minTranslate()))return;if(!o&&(c<n.startX&&e.translate<=e.maxTranslate()||c>n.startX&&e.translate>=e.minTranslate()))return}if(document.activeElement&&document.activeElement.matches(i.focusableElements)&&document.activeElement!==h.target&&"mouse"!==h.pointerType&&document.activeElement.blur(),document.activeElement&&h.target===document.activeElement&&h.target.matches(i.focusableElements))return i.isMoved=!0,void(e.allowClick=!1);i.allowTouchCallbacks&&e.emit("touchMove",h),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=c,n.currentY=u;const p=n.currentX-n.startX,f=n.currentY-n.startY;if(e.params.threshold&&Math.sqrt(p**2+f**2)<e.params.threshold)return;if(void 0===i.isScrolling){let t;e.isHorizontal()&&n.currentY===n.startY||e.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:p*p+f*f>=25&&(t=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,i.isScrolling=e.isHorizontal()?t>r.touchAngle:90-t>r.touchAngle)}if(i.isScrolling&&e.emit("touchMoveOpposite",h),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===h.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;e.allowClick=!1,!r.cssMode&&h.cancelable&&h.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&h.stopPropagation();let g=e.isHorizontal()?p:f,m=e.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),m=Math.abs(m)*(o?1:-1)),n.diff=g,g*=r.touchRatio,o&&(g=-g,m=-m);const v=e.touchesDirection;e.swipeDirection=g>0?"prev":"next",e.touchesDirection=m>0?"prev":"next";const y=e.params.loop&&!r.cssMode,x="next"===e.touchesDirection&&e.allowSlideNext||"prev"===e.touchesDirection&&e.allowSlidePrev;if(!i.isMoved){if(y&&x&&e.loopFix({direction:e.swipeDirection}),i.startTranslate=e.getTranslate(),e.setTransition(0),e.animating){const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});e.wrapperEl.dispatchEvent(t)}i.allowMomentumBounce=!1,!r.grabCursor||!0!==e.allowSlideNext&&!0!==e.allowSlidePrev||e.setGrabCursor(!0),e.emit("sliderFirstMove",h)}if((new Date).getTime(),!1!==r._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&v!==e.touchesDirection&&y&&x&&Math.abs(g)>=1)return Object.assign(n,{startX:c,startY:u,currentX:c,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);e.emit("sliderMove",h),i.isMoved=!0;const b=i.startTranslate??0;i.currentTranslate=g+b;let S=!0,w=r.resistanceRatio;if(r.touchReleaseOnEdges&&(w=0),g>0?(y&&x&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?e.minTranslate()-e.slidesSizesGrid[e.activeIndex+1]-("auto"!==r.slidesPerView&&e.slides.length-r.slidesPerView>=2?e.slidesSizesGrid[e.activeIndex+1]+e.params.spaceBetween:0)-e.params.spaceBetween:e.minTranslate())&&e.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>e.minTranslate()&&(S=!1,r.resistance&&(i.currentTranslate=e.minTranslate()-1+(-e.minTranslate()+b+g)**w))):g<0&&(y&&x&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?e.maxTranslate()+e.slidesSizesGrid[e.slidesSizesGrid.length-1]+e.params.spaceBetween+("auto"!==r.slidesPerView&&e.slides.length-r.slidesPerView>=2?e.slidesSizesGrid[e.slidesSizesGrid.length-1]+e.params.spaceBetween:0):e.maxTranslate())&&e.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:e.slides.length-("auto"===r.slidesPerView?e.slidesPerViewDynamic():Math.ceil(parseFloat(String(r.slidesPerView))))}),i.currentTranslate<e.maxTranslate()&&(S=!1,r.resistance&&(i.currentTranslate=e.maxTranslate()+1-(e.maxTranslate()-b-g)**w))),S&&(h.preventedByNestedSwiper=!0),!e.allowSlideNext&&"next"===e.swipeDirection&&(i.currentTranslate??0)<b&&(i.currentTranslate=b),!e.allowSlidePrev&&"prev"===e.swipeDirection&&(i.currentTranslate??0)>b&&(i.currentTranslate=b),e.allowSlidePrev||e.allowSlideNext||(i.currentTranslate=b),r.threshold>0){if(!(Math.abs(g)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=e.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&e.freeMode||r.watchSlidesProgress)&&(e.updateActiveIndex(),e.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.freeMode.onTouchMove(),e.updateProgress(i.currentTranslate),e.setTranslate(i.currentTranslate??0))}function A(t,e,i){const{params:s}=t,r=s.edgeSwipeDetection,n=s.edgeSwipeThreshold;return!r||!(i<=n||i>=window.innerWidth-n)||"prevent"===r&&(e.preventDefault(),!0)}function M(t){const e=this;if(e.destroyed)return;const i=t.originalEvent??t,r=e.touchEventsData;if("pointerdown"===i.type){const t=i;if(null!==r.pointerId&&r.pointerId!==t.pointerId)return;r.pointerId=t.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(r.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void A(e,i,i.targetTouches[0].pageX);const{params:n,touches:o,enabled:a}=e;if(!a)return;if(!n.simulateTouch&&"mouse"===i.pointerType)return;if(e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let l=i.target;if("wrapper"===n.touchEventsTarget&&!(0,s.f)(l,e.wrapperEl))return;const h=i;if("number"==typeof h.which&&3===h.which)return;if("number"==typeof h.button&&h.button>0)return;if(r.isTouched&&r.isMoved)return;const d=!!n.noSwipingClass&&""!==n.noSwipingClass,c=i.composedPath?i.composedPath():i.path;d&&i.target&&i.target.shadowRoot&&c&&(l=c[0]);const u=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,p=!(!i.target||!i.target.shadowRoot);if(n.noSwiping&&(p?(f=u,function t(e){if(!e||e===document||e===window)return null;let i=e;i.assignedSlot&&(i=i.assignedSlot);const s=i.closest(f);if(!s&&!i.getRootNode)return null;const r=i.getRootNode();return s||t(r.host)}(l)):l.closest(u)))return void(e.allowClick=!0);var f;if(n.swipeHandler&&"string"==typeof n.swipeHandler&&!l.closest(n.swipeHandler))return;const g=i;o.currentX=g.pageX,o.currentY=g.pageY;const m=o.currentX,v=o.currentY;if(!A(e,i,m))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=m,o.startY=v,r.touchStartTime=(0,s.u)(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1);let y=!0;l.matches(r.focusableElements)&&(y=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),document.activeElement&&document.activeElement.matches(r.focusableElements)&&document.activeElement!==l&&("mouse"===g.pointerType||"mouse"!==g.pointerType&&!l.matches(r.focusableElements))&&document.activeElement.blur();const x=y&&e.allowTouchMove&&n.touchStartPreventDefault;!n.touchStartForcePreventDefault&&!x||l.isContentEditable||i.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}const D=(t,e)=>{const{params:i,el:s,wrapperEl:r,device:n}=t,o=!!i.nested,a="on"===e?"addEventListener":"removeEventListener",l=e;if(!s||"string"==typeof s)return;document[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),s[a]("touchstart",t.onTouchStart,{passive:!1}),s[a]("pointerdown",t.onTouchStart,{passive:!1}),document[a]("touchmove",t.onTouchMove,{passive:!1,capture:o}),document[a]("pointermove",t.onTouchMove,{passive:!1,capture:o}),document[a]("touchend",t.onTouchEnd,{passive:!0}),document[a]("pointerup",t.onTouchEnd,{passive:!0}),document[a]("pointercancel",t.onTouchEnd,{passive:!0}),document[a]("touchcancel",t.onTouchEnd,{passive:!0}),document[a]("pointerout",t.onTouchEnd,{passive:!0}),document[a]("pointerleave",t.onTouchEnd,{passive:!0}),document[a]("contextmenu",t.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&s[a]("click",t.onClick,!0),i.cssMode&&r[a]("scroll",t.onScroll);const h=e=>{t[l](e,w,!0)};i.updateOnWindowResize?h(n.ios||n.android?"resize orientationchange observerUpdate":"resize observerUpdate"):h("observerUpdate"),i.lazyPreload&&s[a]("load",t.onLoad,{capture:!0})};var P={loopCreate:function(t,e){const i=this,{params:r,slidesEl:n}=i;if(!r.loop||i.virtual&&i.params.virtual?.enabled)return;const o=()=>{(0,s.e)(n,`.${r.slideClass}, swiper-slide`).forEach((t,e)=>{t.setAttribute("data-swiper-slide-index",String(e))})},a=i.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||a)&&(()=>{const t=(0,s.e)(n,`.${r.slideBlankClass}`);t.forEach(t=>{t.remove()}),t.length>0&&(i.recalcSlides(),i.updateSlides())})();const l=r.slidesPerGroup*(a?r.grid.rows:1),h=i.slides.length%l!==0,d=a&&i.slides.length%r.grid.rows!==0,c=t=>{for(let e=0;e<t;e+=1){const t=i.isElement?(0,s.a)("swiper-slide",[r.slideBlankClass]):(0,s.a)("div",[r.slideClass,r.slideBlankClass]);i.slidesEl.append(t)}};if(h){if(r.loopAddBlankSlides){c(l-i.slides.length%l),i.recalcSlides(),i.updateSlides()}else(0,s.x)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may
1not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(d){if(r.loopAddBlankSlides){c(r.grid.rows-i.slides.length%r.grid.rows),i.recalcSlides(),i.updateSlides()}else(0,s.x)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();const u=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;i.loopFix({slideRealIndex:t,direction:u?void 0:"next",initial:e})},loopFix:function(t={}){const{slideRealIndex:e,slideTo:i=!0,direction:r,setTranslate:n,activeSlideIndex:o,initial:a,byController:l,byMousewheel:h}=t;let d=o;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix"),c.__loopFixInProgress__=!0;const{slides:u,allowSlidePrev:p,allowSlideNext:f,slidesEl:g,params:m}=c,{centeredSlides:v,slidesOffsetBefore:y,slidesOffsetAfter:x,initialSlide:b}=m,S=v||!!y||!!x;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&m.virtual?.enabled){if(i){const t=c.virtual.slides.length,e=c.virtual.slidesBefore??0;S||0!==c.snapIndex?S&&c.snapIndex<m.slidesPerView?c.slideTo(t+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(e,0,!1,!0):c.slideTo(t,0,!1,!0)}return c.allowSlidePrev=p,c.allowSlideNext=f,c.__loopFixInProgress__=!1,void c.emit("loopFix")}let w=m.slidesPerView;"auto"===w?w=c.slidesPerViewDynamic():(w=Math.ceil(parseFloat(String(m.slidesPerView))),S&&w%2==0&&(w+=1));const C=m.slidesPerGroupAuto?w:m.slidesPerGroup,T=t=>("function"==typeof t?t.call(c):t)||0,k=c.slidesGrid.length>1?(c.slidesGrid[c.slidesGrid.length-1]-c.slidesGrid[0])/(c.slidesGrid.length-1):c.size,A=k>0?T(y)/k:0,M=k>0?T(x)/k:0;let D=S?Math.max(C,(v?Math.ceil(w/2):0)+Math.ceil(Math.max(A,M))):C;D%C!==0&&(D+=C-D%C),D+=m.loopAdditionalSlides,c.loopedSlides=D;const P=c.grid&&m.grid&&m.grid.rows>1;u.length<w+D||"cards"===c.params.effect&&u.length<w+2*D?(0,s.x)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):P&&"row"===m.grid.fill&&(0,s.x)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const L=[],E=[],O=P?Math.ceil(u.length/m.grid.rows):u.length,I=a&&O-b<w&&!S;let j=I?b:c.activeIndex;void 0===d?d=c.getSlideIndex(u.find(t=>t.classList.contains(m.slideActiveClass))):j=d;const R="next"===r||!r,_="prev"===r||!r;let N=0,B=0;const z=(P?u[d].column??0:d)+(S&&void 0===n?(v?-w/2+.5:0)-A:0);if(z<D){N=Math.max(D-z,C);for(let t=0;t<D-z;t+=1){const e=t-Math.floor(t/O)*O;if(P){const t=O-e-1;for(let e=u.length-1;e>=0;e-=1)u[e].column===t&&L.push(e)}else L.push(O-e-1)}}else if(z+w>O-D){B=Math.max(z-(O-2*D),C),I&&(B=Math.max(B,w-O+b+1));for(let t=0;t<B;t+=1){const e=t-Math.floor(t/O)*O;P?u.forEach((t,i)=>{t.column===e&&E.push(i)}):E.push(e)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),"cards"===c.params.effect&&u.length<w+2*D&&(E.includes(d)&&E.splice(E.indexOf(d),1),L.includes(d)&&L.splice(L.indexOf(d),1)),_&&L.forEach(t=>{const e=u[t];e.swiperLoopMoveDOM=!0,g.prepend(e),e.swiperLoopMoveDOM=!1}),R&&E.forEach(t=>{const e=u[t];e.swiperLoopMoveDOM=!0,g.append(e),e.swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===m.slidesPerView?c.updateSlides():P&&(L.length>0&&_||E.length>0&&R)&&c.slides.forEach((t,e)=>{c.grid.updateSlide(e,t,c.slides)}),m.watchSlidesProgress&&c.updateSlidesOffset(),i)if(L.length>0&&_){if(void 0===e){const t=c.slidesGrid[j],e=c.slidesGrid[j+N]-t;h?c.setTranslate(c.translate-e):(c.slideTo(j+Math.ceil(N),0,!1,!0),n&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-e,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-e))}else if(n){const t=P?L.length/m.grid.rows:L.length;c.slideTo(c.activeIndex+t,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(E.length>0&&R)if(void 0===e){const t=c.slidesGrid[j],e=c.slidesGrid[j-B]-t;h?c.setTranslate(c.translate-e):(c.slideTo(j-B,0,!1,!0),n&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-e,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-e))}else{const t=P?E.length/m.grid.rows:E.length;c.slideTo(c.activeIndex-t,0,!1,!0)}c.allowSlidePrev=p,c.allowSlideNext=f;const F=c.controller?.control;if(F&&!l){const t={slideRealIndex:e,direction:r,setTranslate:n,activeSlideIndex:d,byController:!0};
vendor: 35,355 bytes, line 1
1Array.isArray(F)?F.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...t,slideTo:e.params.slidesPerView===m.slidesPerView&&i})}):F instanceof c.constructor&&F.params.loop&&F.loopFix({...t,slideTo:F.params.slidesPerView===m.slidesPerView&&i})}c.__loopFixInProgress__=!1,c.emit("loopFix")},loopDestroy:function(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||!i||t.virtual&&t.params.virtual?.enabled)return;t.recalcSlides();const s=[];t.slides.forEach(t=>{const e=t,i=void 0===e.swiperSlideIndex?Number(t.getAttribute("data-swiper-slide-index")):e.swiperSlideIndex;s[i]=t}),t.slides.forEach(t=>{t.removeAttribute("data-swiper-slide-index")}),s.forEach(t=>{i.append(t)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}};function L(t,e){return function(i={}){const r=Object.keys(i)[0],n=i[r];"object"==typeof n&&null!==n?(!0===t[r]&&(t[r]={enabled:!0}),"navigation"===r&&t[r]&&t[r].enabled&&!t[r].prevEl&&!t[r].nextEl&&(t[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&t[r]&&t[r].enabled&&!t[r].el&&(t[r].auto=!0),r in t&&"enabled"in n?("object"!=typeof t[r]||"enabled"in t[r]||(t[r].enabled=!0),t[r]||(t[r]={enabled:!1}),(0,s.n)(e,i)):(0,s.n)(e,i)):(0,s.n)(e,i)}}var E={slideTo:function(t=0,e,i=!0,s,r){"string"==typeof t&&(t=parseInt(t,10));const n=this;let o=t;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:u,rtlTranslate:p,wrapperEl:f,enabled:g}=n;if(!g&&!s&&!r||n.destroyed||n.animating&&a.preventInteractionOnTransition)return!1;void 0===e&&(e=n.params.speed);const m=Math.min(n.params.slidesPerGroupSkip,o);let v=m+Math.floor((o-m)/n.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const y=-l[v];if(a.normalizeSlideIndex)for(let h=0;h<d.length;h+=1){const t=-Math.floor(100*y),e=Math.floor(100*d[h]),i=Math.floor(100*d[h+1]);void 0!==d[h+1]?t>=e&&t<i-(i-e)/2?o=h:t>=e&&t<i&&(o=h+1):t>=e&&(o=h)}if(n.initialized&&o!==u){if(!n.allowSlideNext&&(p?y>n.translate&&y>n.minTranslate():y<n.translate&&y<n.minTranslate()))return!1;if(!n.allowSlidePrev&&y>n.translate&&y>n.maxTranslate()&&(u||0)!==o)return!1}let x;o!==(c||0)&&i&&n.emit("beforeSlideChangeStart"),n.updateProgress(y),x=o>u?"next":o<u?"prev":"reset";const b=n.virtual&&n.params.virtual?.enabled;if(!(b&&r)&&(p&&-y===n.translate||!p&&y===n.translate))return n.updateActiveIndex(o),a.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==a.effect&&n.setTranslate(y),"reset"!==x&&(n.transitionStart(i,x),n.transitionEnd(i,x)),!1;if(a.cssMode){const t=n.isHorizontal(),i=p?y:-y;return 0===e?(b&&(n.wrapperEl.style.scrollSnapType="none",n._immediateVirtual=!0),b&&!n._cssModeVirtualInitialSet&&(n.params.initialSlide??0)>0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[t?"scrollLeft":"scrollTop"]=i})):f[t?"scrollLeft":"scrollTop"]=i,b&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1})):f.scrollTo({[t?"left":"top"]:i,behavior:"smooth"}),!0}const S=h().isSafari;return b&&!r&&S&&n.isElement&&n.virtual.update(!1,!1,o),n.setTransition(e),n.setTranslate(y),n.updateActiveIndex(o),n.updateSlidesClasses(),n.emit("beforeTransitionStart",e,s),n.transitionStart(i,x),0===e?n.transitionEnd(i,x):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(t){n&&!n.destroyed&&t.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(i,x))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(t=0,e,i=!0,s){if("string"==typeof t){t=parseInt(t,10)}const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);const n=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=t;if(r.params.loop)if(r.virtual&&r.params.virtual?.enabled)o+=r.virtual.slidesBefore??0;else{let t;if(n){const e=o*r.params.grid.rows,i=r.slides.find(t=>Number(t.getAttribute("data-swiper-slide-index"))===e);t=i?.column??0}else t=r.getSlideIndexByData(o);const e=n?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:i,slidesOffsetBefore:a,slidesOffsetAfter:l}=r.params,h=i||!!a||!!l;let d;"auto"===r.params.slidesPerView?d=r.slidesPerViewDynamic():(d=Math.ceil(parseFloat(String(r.params.slidesPerView))),h&&d%2==0&&(d+=1));let c=e-t<d;if(h&&(c=c||t<Math.ceil(d/2)),s&&h&&"auto"!==r.params.slidesPerView&&!n&&(c=!1),c){const i=h?t<r.activeIndex?"prev":"next":t-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?t+1:t-e+1,slideRealIndex:"next"===i?r.realIndex:void 0})}if(n){const t=o*r.params.grid.rows,e=r.slides.find(e=>Number(e.getAttribute("data-swiper-slide-index"))===t);o=e?.column??0}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,e,i,s)}),r},slideNext:function(t,e=!0,i){const s=this,{enabled:r,params:n,animating:o}=s;if(!r||s.destroyed)return s;void 0===t&&(t=s.params.speed);let a=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(a=Math.max(s.slidesPerViewDynamic("current",!0),1));const l=s.activeIndex<n.slidesPerGroupSkip?1:a,h=s.virtual&&n.virtual?.enabled;if(n.loop){if(o&&!h&&n.loopPreventsSliding)return!1;if(s.loopFix({direction:"next"}),s._clientLeft=s.wrapperEl.clientLeft,s.activeIndex===s.slides.length-1&&n.cssMode)return requestAnimationFrame(()=>{s.slideTo(s.activeIndex+l,t,e,i)}),!0}return n.rewind&&s.isEnd?s.slideTo(0,t,e,i):s.slideTo(s.activeIndex+l,t,e,i)},slidePrev:function(t,e=!0,i){const s=this,{params:r,snapGrid:n,slidesGrid:o,rtlTranslate:a,enabled:l,animating:h}=s;if(!l||s.destroyed)return s;void 0===t&&(t=s.params.speed);const d=s.virtual&&r.virtual?.enabled;if(r.loop){if(h&&!d&&r.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}function c(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const u=c(a?s.translate:-s.translate),p=n.map(t=>c(t)),f=r.freeMode&&r.freeMode.enabled;let g=n[p.indexOf(u)-1];if(void 0===g&&(r.cssMode||f)){let t;n.forEach((e,i)=>{u>=e&&(t=i)}),void 0!==t&&(g=f?n[t]:n[t>0?t-1:t])}let m=0;if(void 0!==g&&(m=o.indexOf(g),m<0&&(m=s.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-s.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&s.isBeginning){const r=s.params.virtual?.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(r,t,e,i)}return r.loop&&0===s.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{s.slideTo(m,t,e,i)}),!0):s.slideTo(m,t,e,i)},slideReset:function(t,e=!0,i){const s=this;if(!s.destroyed)return void 0===t&&(t=s.params.speed),s.slideTo(s.activeIndex,t,e,i)},slideToClosest:function(t,e=!0,i,s=.5){const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);let n=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,n),a=o+Math.floor((n-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const t=r.snapGrid[a];l-t>(r.snapGrid[a+1]-t)*s&&(n+=r.params.slidesPerGroup)}else{const t=r.snapGrid[a-1];l-t<=(r.snapGrid[a]-t)*s&&(n-=r.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,r.slidesGrid.length-1),r.slideTo(n,t,e,i)},slideToClickedSlide:function(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i,clickedSlide:r,clickedIndex:n}=t;if(void 0===r||void 0===n)return;const o="auto"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let a,l=t.getSlideIndexWhenGrid(n);const h=t.isElement?"swiper-slide":`.${e.slideClass}`,d=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;a=parseInt(r.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(a):l>(d?(t.slides.length-o)/2-(t.params.grid.rows-1):t.slides.length-o)?(t.loopFix(),l=t.getSlideIndex((0,s.e)(i,`${h}[data-swiper-slide-index="${a}"]`)[0]),(0,s.t)(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}};function O({swiper:t,runCallbacks:e,direction:i,step:s}){const{activeIndex:r,previousIndex:n}=t;let o=i;o||(o=r>n?"next":r<n?"prev":"reset"),t.emit(`transition${s}`),e&&"reset"===o?t.emit(`slideResetTransition${s}`):e&&r!==n&&(t.emit(`slideChangeTransition${s}`),"next"===o?t.emit(`slideNextTransition${s}`):t.emit(`slidePrevTransition${s}`))}var I={getTranslate:function(t=(this.isHorizontal()?"x":"y")){const{params:e,rtlTranslate:i,translate:r,wrapperEl:n}=this;if(e.virtualTranslate)return i?-r:r;if(e.cssMode)return r;let o=(0,s.q)(n,t);return o+=this.cssOverflowAdjustment(),i&&(o=-o),o||0},setTranslate:function(t,e){const i=this,{rtlTranslate:s,params:r,wrapperEl:n,progress:o}=i;let a,l=0,h=0;i.isHorizontal()?l=s?-t:t:h=t,r.roundLengths&&(l=Math.floor(l),h=Math.floor(h)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:h,r.cssMode?n[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-h:r.virtualTranslate||(i.isHorizontal()?l-=i.cssOverflowAdjustment():h-=i.cssOverflowAdjustment(),n.style.transform=`translate3d(${l}px, ${h}px, 0px)`);const d=i.maxTranslate()-i.minTranslate();a=0===d?0:(t-i.minTranslate())/d,a!==o&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t=0,e=this.params.speed,i=!0,s=!0,r){const n=this,{params:o,wrapperEl:a}=n;if(n.animating&&o.preventInteractionOnTransition)return!1;const l=n.minTranslate(),h=n.maxTranslate();let d;if(d=s&&t>l?l:s&&t<h?h:t,n.updateProgress(d),o.cssMode){const t=n.isHorizontal();return 0===e?a[t?"scrollLeft":"scrollTop"]=-d:a.scrollTo({[t?"left":"top"]:-d,behavior:"smooth"}),!0}return 0===e?(n.setTransition(0),n.setTranslate(d),i&&(n.emit("beforeTransitionStart",e,r),n.emit("transitionEnd"))):(n.setTransition(e),n.setTranslate(d),i&&(n.emit("beforeTransitionStart",e,r),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(t){n&&!n.destroyed&&t.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,n.animating=!1,i&&n.emit("transitionEnd"))}),n.wrapperEl.addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd))),!0}};const j=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};const R=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};var _={updateSize:function(){const t=this;let e,i;const r=t.el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:r.clientWidth,i=void 0!==t.params.height&&null!==t.params.height?t.params.height:r.clientHeight,0===e&&t.isHorizontal()||0===i&&t.isVertical()||(e=e-parseInt((0,s.l)(r,"padding-left")||"0",10)-parseInt((0,s.l)(r,"padding-right")||"0",10),i=i-parseInt((0,s.l)(r,"padding-top")||"0",10)-parseInt((0,s.l)(r,"padding-bottom")||"0",10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))},updateSlides:function(){const t=this;function e(e,i){return parseFloat(e.getPropertyValue(t.getDirectionLabel(i))||"0")}const i=t.params,{wrapperEl:r,slidesEl:n,rtlTranslate:o,wrongRTL:a}=t,l=!(!t.virtual||!i.virtual?.enabled),h=l?t.virtual.slides.length:t.slides.length,d=(0,s.e)(n,`.${t.params.slideClass}, swiper-slide`),c=l?t.virtual.slides.length:d.length;let u=[];const p=[],f=[],g=e=>"function"==typeof e?e.call(t):e,m=g(i.slidesOffsetBefore),v=g(i.slidesOffsetAfter),y=t.snapGrid.length,x=t.slidesGrid.length,b=t.size-m-v;let S=i.spaceBetween,w=-m,C=0,T=0;if(void 0===b)return;"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*b:"string"==typeof S&&(S=parseFloat(S)),t.virtualSize=-S-m-v,d.forEach(t=>{o?t.style.marginLeft="":t.style.marginRight="",t.style.marginBottom="",t.style.marginTop=""}),i.centeredSlides&&i.cssMode&&((0,s.v)(r,"--swiper-centered-offset-before",""),(0,s.v)(r,"--swiper-centered-offset-after","")),i.cssMode&&((0,s.v)(r,"--swiper-slides-offset-before",`${m}px`),(0,s.v)(r,"--swiper-slides-offset-after",`${v}px`));const k=i.grid&&i.grid.rows>1&&t.grid;k?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let A=0;const M="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(t=>{const e=i.breakpoints[t];return void 0!==e?.slidesPerView}).length>0;for(let D=0;D<c;D+=1){A=0;const r=d[D];if(!r||(k&&t.grid.updateSlide(D,r,d),"none"!==(0,s.l)(r,"display"))){if(l&&"auto"===i.slidesPerView)i.virtual?.slidesPerViewAutoSlideSize&&(A=i.virtual.slidesPerViewAutoSlideSize),A&&r&&(i.roundLengths&&(A=Math.floor(A)),r.style[t.getDirectionLabel("width")]=`${A}px`);else if("auto"===i.slidesPerView){M&&(r.style[t.getDirectionLabel("width")]="");const n=getComputedStyle(r),o=r.style.transform,a=r.style.webkitTransform;if(o&&(r.style.transform="none"),a&&(r.style.webkitTransform="none"),i.roundLengths)A=t.isHorizontal()?(0,s.i)(r,"width"):(0,s.i)(r,"height");else{const t=e(n,"width"),i=e(n,"padding-left"),s=e(n,"padding-right"),o=e(n,"margin-left"),a=e(n,"margin-right"),l=n.getPropertyValue("box-sizing");if(l&&"border-box"===l)A=t+o+a;else{const{clientWidth:e,offsetWidth:n}=r;A=t+i+s+o+a+(n-e)}}o&&(r.style.transform=o),a&&(r.style.webkitTransform=a),i.roundLengths&&(A=Math.floor(A))}else A=(b-(i.slidesPerView-1)*S)/i.slidesPerView,i.roundLengths&&(A=Math.floor(A)),r&&(r.style[t.getDirectionLabel("width")]=`${A}px`);r&&(r.swiperSlideSize=A),f.push(A),i.centeredSlides?(w=w+A/2+C/2+S,0===C&&0!==D&&(w=w-b/2-S),0===D&&(w=w-b/2-S),Math.abs(w)<.001&&(w=0),i.roundLengths&&(w=Math.floor(w)),T%i.slidesPerGroup===0&&u.push(w),p.push(w)):(i.roundLengths&&(w=Math.floor(w)),(T-Math.min(t.params.slidesPerGroupSkip,T))%t.params.slidesPerGroup===0&&u.push(w),p.push(w),w=w+A+S),t.virtualSize+=A+S,C=A,T+=1}}if(t.virtualSize=Math.max(t.virtualSize,b)+v,o&&a&&("slide"===i.effect||"coverflow"===i.effect)&&(r.style.width=`${t.virtualSize+S}px`),i.setWrapperSize&&(r.style[t.getDirectionLabel("width")]=`${t.virtualSize+S}px`),k&&t.grid.updateWrapperSize(A,u),!i.centeredSlides){const e="auto"!==i.slidesPerView&&i.slidesPerView%1!=0,s=i.snapToSlideEdge&&!i.loop&&("auto"===i.slidesPerView||e);let r=u.length;if(s){let t;if("auto"===i.slidesPerView){t=1;let e=0;for(let i=f.length-1;i>=0&&(e+=f[i]+(i<f.length-1?S:0),e<=b);i-=1)t=f.length-i}else t=Math.floor(i.slidesPerView);r=Math.max(c-t,0)}const n=[];for(let o=0;o<u.length;o+=1){let e=u[o];i.roundLengths&&(e=Math.floor(e)),s?o<=r&&n.push(e):u[o]<=t.virtualSize-b&&n.push(e)}u=n,Math.floor(t.virtualSize-b)-Math.floor(u[u.length-1])>1&&(s||u.push(t.virtualSize-b))}if(l&&i.loop){const e=f[0]+S,s=(t.virtual.slidesBefore??0)+(t.virtual.slidesAfter??0);if(i.slidesPerGroup>1){const t=Math.ceil(s/i.slidesPerGroup),r=e*i.slidesPerGroup;for(let e=0;e<t;e+=1)u.push(u[u.length-1]+r)}for(let r=0;r<s;r+=1)1===i.slidesPerGroup&&u.push(u[u.length-1]+e),p.push(p[p.length-1]+e),t.virtualSize+=e}if(0===u.length&&(u=[0]),0!==S){const e=t.isHorizontal()&&o?"marginLeft":t.getDirectionLabel("marginRight");d.filter((t,e)=>!(i.cssMode&&!i.loop)||e!==d.length-1).forEach(t=>{t.style[e]=`${S}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let t=0;f.forEach(e=>{t+=e+(S||0)}),t-=S;const e=t>b?t-b:0;u=u.map(t=>t<=0?-m:t>e?e+v:t)}if(i.centerInsufficientSlides){let t=0;if(f.forEach(e=>{t+=e+(S||0)}),t-=S,t<b){const e=(b-t)/2;u.forEach((t,i)=>{u[i]=t-e}),p.forEach((t,i)=>{p[i]=t+e})}}if(Object.assign(t,{slides:d,snapGrid:u,slidesGrid:p,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){(0,s.v)(r,"--swiper-centered-offset-before",-u[0]+"px"),(0,s.v)(r,"--swiper-centered-offset-after",t.size/2-f[f.length-1]/2+"px");const e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(t=>t+i)}if(c!==h&&t.emit("slidesLengthChange"),u.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==x&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const e=`${i.containerModifierClass}backface-hidden`,s=t.el.classList.contains(e);c<=i.maxBackfaceHiddenSlides?s||t.el.classList.add(e):s&&t.el.classList.remove(e)}},updateAutoHeight:function(t){const e=this,i=[],s=e.virtual&&e.params.virtual?.enabled;let r,n=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const o=t=>s?e.slides[e.getSlideIndexByData(t)]:e.slides[t];if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(t=>{i.push(t)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const t=e.activeIndex+r;if(t>e.slides.length&&!s)break;const n=o(t);n&&i.push(n)}else{const t=o(e.activeIndex);t&&i.push(t)}for(r=0;r<i.length;r+=1)if(void 0!==i[r]){const t=i[r].offsetHeight;n=t>n?t:n}(n||0===n)&&(e.wrapperEl.style.height=`${n}px`)},updateSlidesOffset:function(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s<e.length;s+=1)e[s].swiperSlideOffset=(t.isHorizontal()?e[s].offsetLeft:e[s].offsetTop)-i-t.cssOverflowAdjustment()},updateSlidesProgress:function(t=this&&this.translate||0){const e=this,i=e.params,{slides:s,rtlTranslate:r,snapGrid:n}=e;if(0===s.length)return;void 0===s[0].swiperSlideOffset&&e.updateSlidesOffset();let o=-t;r&&(o=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:"string"==typeof a&&(a=parseFloat(a));for(let l=0;l<s.length;l+=1){const t=s[l];let h=t.swiperSlideOffset??0;i.cssMode&&i.centeredSlides&&(h-=s[0].swiperSlideOffset??0);const d=t.swiperSlideSize??0,c=(o+(i.centeredSlides?e.minTranslate():0)-h)/(d+a),u=(o-n[0]+(i.centeredSlides?e.minTranslate():0)-h)/(d+a),p=-(o-h),f=p+e.slidesSizesGrid[l],g=p>=0&&p<=e.size-e.slidesSizesGrid[l],m=p>=0&&p<e.size-1||f>1&&f<=e.size||p<=0&&f>=e.size;m&&(e.visibleSlides.push(t),e.visibleSlidesIndexes.push(l)),R(t,m,i.slideVisibleClass),R(t,g,i.slideFullyVisibleClass),t.progress=r?-c:c,t.originalProgress=r?-u:u}},updateProgress:function(t){const e=this;if(void 0===t){const i=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*i||0}const i=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:n,isEnd:o}=e,a=e.progressLoop;const l=n,h=o;if(0===s)r=0,n=!0,o=!0;else{r=(t-e.minTranslate())/s;const i=Math.abs(t-e.minTranslate())<1,a=Math.abs(t-e.maxTranslate())<1;n=i||r<=0,o=a||r>=1,i&&(r=0),a&&(r=1)}if(i.loop){const i=e.getSlideIndexByData(0),s=e.getSlideIndexByData(e.slides.length-1),r=e.slidesGrid[i],n=e.slidesGrid[s],o=e.slidesGrid[e.slidesGrid.length-1],l=Math.abs(t);a=l>=r?(l-r)/o:(l+o-n)/o,a>1&&(a-=1)}Object.assign(e,{progress:r,progressLoop:a,isBeginning:n,isEnd:o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),n&&!l&&e.emit("reachBeginning toEdge"),o&&!h&&e.emit("reachEnd toEdge"),(l&&!n||h&&!o)&&e.emit("fromEdge"),e.emit("progress",r)},updateSlidesClasses:function(){const t=this,{slides:e,params:i,slidesEl:r,activeIndex:n}=t,o=!(!t.virtual||!i.virtual?.enabled),a=t.grid&&i.grid&&i.grid.rows>1,l=t=>(0,s.e)(r,`.${i.slideClass}${t}, swiper-slide${t}`)[0];let h,d,c;if(o)if(i.loop){const e=t.virtual.slides;let i=n-(t.virtual.slidesBefore??0);i<0&&(i=e.length+i),i>=e.length&&(i-=e.length),h=l(`[data-swiper-slide-index="${i}"]`)}else h=l(`[data-swiper-slide-index="${n}"]`);else a?(h=e.find(t=>t.column===n),c=e.find(t=>t.column===n+1),d=e.find(t=>t.column===n-1)):h=e[n];h&&(a||(c=(0,s.g)(h,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),d=(0,s.k)(h,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!d&&(d=e[e.length-1]))),e.forEach(t=>{j(t,t===h,i.slideActiveClass),j(t,t===c,i.slideNextClass),j(t,t===d,i.slidePrevClass)}),t.emitSlidesClasses()},updateActiveIndex:function(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:r,activeIndex:n,realIndex:o,snapIndex:a}=e;let l,h=t;const d=t=>{const i=e.virtual.slides;let s=t-(e.virtual.slidesBefore??0);return s<0&&(s=i.length+s),s>=i.length&&(s-=i.length),s};if(void 0===h&&(h=function(t){const{slidesGrid:e,params:i}=t,s=t.rtlTranslate?t.translate:-t.translate;let r;for(let n=0;n<e.length;n+=1)void 0!==e[n+1]?s>=e[n]&&s<e[n+1]-(e[n+1]-e[n])/2?r=n:s>=e[n]&&s<e[n+1]&&(r=n+1):s>=e[n]&&(r=n);return i.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(e)),s.indexOf(i)>=0)l=s.indexOf(i);else{const t=Math.min(r.slidesPerGroupSkip,h);l=t+Math.floor((h-t)/r.slidesPerGroup)}if(l>=s.length&&(l=s.length-1),h===n&&!e.params.loop)return void(l!==a&&(e.snapIndex=l,e.emit("snapIndexChange")));if(h===n&&e.params.loop&&e.virtual&&e.params.virtual?.enabled)return void(e.realIndex=d(h));const c=e.grid&&r.grid&&r.grid.rows>1;let p;if(e.virtual&&r.virtual?.enabled)p=r.loop?d(h):h;else if(c){const t=e.slides.find(t=>t.column===h);let i=parseInt(t.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(e.slides.indexOf(t),0)),p=Math.floor(i/r.grid.rows)}else if(e.slides[h]){const t=e.slides[h].getAttribute("data-swiper-slide-index");p=t?parseInt(t,10):h}else p=h;Object.assign(e,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:p,previousIndex:n,activeIndex:h}),e.initialized&&u(e),e.__loopFixInProgress__||(e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&((e.__lastEmittedRealIndex__??o)!==p&&e.emit("realIndexChange"),e.emit("slideChange")),e.__lastEmittedRealIndex__=p)},updateClickedSlide:function(t,e){const i=this,s=i.params;let r=t.closest(`.${s.slideClass}, swiper-slide`);!r&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(t=>{!r&&t.matches&&t.matches(`.${s.slideClass}, swiper-slide`)&&(r=t)});let n,o=!1;if(r)for(let a=0;a<i.slides.length;a+=1)if(i.slides[a]===r){o=!0,n=a;break}if(!r||!o)return i.clickedSlide=void 0,void(i.clickedIndex=void 0);i.clickedSlide=r,i.virtual&&i.params.virtual?.enabled?i.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=n,s.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}};const N={eventsEmitter:y,update:_,translate:I,transition:{setTransition:function(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=0===t?"0ms":""),i.emit("setTransition",t,e)},transitionStart:function(t=!0,e){const i=this,{params:s}=i;s.cssMode||(s.autoHeight&&i.updateAutoHeight(),O({swiper:i,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t=!0,e){const i=this,{params:s}=i;i.animating=!1,s.cssMode||(i.setTransition(0),O({swiper:i,runCallbacks:t,direction:e,step:"End"}))}},slide:E,loop:P,grabCursor:{setGrabCursor:function(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})},unsetGrabCursor:function(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}},events:{attachEvents:function(){const t=this,{params:e}=t;t.onTouchStart=M.bind(t),t.onTouchMove=k.bind(t),t.onTouchEnd=T.bind(t),t.onDocumentTouchStart=b.bind(t),e.cssMode&&(t.onScroll=C.bind(t)),t.onClick=x.bind(t),t.onLoad=S.bind(t),D(t,"on")},detachEvents:function(){D(this,"off")}},breakpoints:f,checkOverflow:g,classes:m},B={};class z{static extendedDefaults;static defaults;constructor(...t){let e,i;if(1===t.length&&null!==t[0]&&"object"==typeof t[0]&&"Object"===Object.prototype.toString.call(t[0]).slice(8,-1)?i=t[0]:[e,i]=t,i||(i={}),i=(0,s.n)({},i),e&&!i.el&&(i.el=e),i.el&&"string"==typeof i.el&&"undefined"!=typeof document&&document.querySelectorAll(i.el).length>1){const t=[];return document.querySelectorAll(i.el).forEach(e=>{const r=(0,s.n)({},i,{el:e});t.push(new z(r))}),t}const r=this;r.__swiper__=!0,r.support=a(),r.device=l({userAgent:i.userAgent??void 0}),r.browser=h(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__||[]],i.modules&&Array.isArray(i.modules)&&i.modules.forEach(t=>{const e=t;"function"==typeof e&&r.modules.indexOf(e)<0&&r.modules.push(e)});const n={};r.modules.forEach(t=>{t({params:i,swiper:r,extendParams:L(i,n),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const o=(0,s.n)({},v,n);if(r.params=(0,s.n)({},o,B,i),r.originalParams=(0,s.n)({},r.params),r.passedParams=(0,s.n)({},i),r.params&&r.params.on){const t=r.params.on;Object.keys(t).forEach(e=>{const i=t[e];i&&r.on(e,i)})}return r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===r.params.direction},isVertical(){return"vertical"===r.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}isHorizontal(){return"horizontal"===this.params.direction}isVertical(){return"vertical"===this.params.direction}cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23}getSlideIndex(t){const{slidesEl:e,params:i}=this,r=(0,s.e)(e,`.${i.slideClass}, swiper-slide`),n=(0,s.b)(r[0]);return(0,s.b)(t)-(n??0)}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(e=>Number(e.getAttribute("data-swiper-slide-index"))===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?t=Math.floor(t/this.params.grid.rows):"row"===this.params.grid.fill&&(t%=Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const{slidesEl:t,params:e}=this;this.slides=(0,s.e)(t,`.${e.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(t,e){t=Math.min(Math.max(t,0),1);const i=this.minTranslate(),s=(this.maxTranslate()-i)*t+i;this.translateTo(s,void 0===e?0:e),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){if(!this.params._emitClasses||!this.el)return;const t=this.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(this.params.containerModifierClass));this.emit("_containerClasses",t.join(" "))}getSlideClasses(t){return this.destroyed?"":t.className.split(" ").filter(t=>0===t.indexOf("swiper-slide")||0===t.indexOf(this.params.slideClass)).join(" ")}emitSlidesClasses(){if(!this.params._emitClasses||!this.el)return;const t=[];this.slides.forEach(e=>{const i=this.getSlideClasses(e);t.push({slideEl:e,classNames:i}),this.emit("_slideClass",e,i)}),this.emit("_slideClasses",t)}slidesPerViewDynamic(t="current",e=!1){const{params:i,slides:s,slidesGrid:r,slidesSizesGrid:n,size:o,activeIndex:a}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(!o)return l;if(i.centeredSlides){let t=s[a]?Math.ceil(s[a].swiperSlideSize??0):0,e=!1;for(let i=a+1;i<s.length;i+=1)s[i]&&!e&&(t+=Math.ceil(s[i].swiperSlideSize??0),l+=1,t>o&&(e=!0));for(let i=a-1;i>=0;i-=1)s[i]&&!e&&(t+=s[i].swiperSlideSize??0,l+=1,t>o&&(e=!0))}else if("current"===t)for(let h=a+1;h<s.length;h+=1){(e?r[h]+n[h]-r[a]<o:r[h]-r[a]<o)&&(l+=1)}else for(let h=a-1;h>=0;h-=1){r[a]-r[h]<o&&(l+=1)}return l}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:i}=t;function s(){const e=t.rtlTranslate?-1*t.translate:t.translate,i=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(i),t.updateActiveIndex(),t.updateSlidesClasses()}let r;if(i.breakpoints&&t.setBreakpoint(),i.lazyPreload&&[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&d(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),i.freeMode?.enabled&&!i.cssMode)s(),i.autoHeight&&t.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){const e=t.virtual&&i.virtual?.enabled?t.virtual.slides.length:t.slides.length;r=t.slideTo(e-1,0,!1,!0)}else r=t.slideTo(t.activeIndex,0,!1,!0);r||s()}i.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e=!0){const i=this,s=i.params.direction;return t||(t="horizontal"===s?"vertical":"horizontal"),t===s||"horizontal"!==t&&"vertical"!==t||(i.el.classList.remove(`${i.params.containerModifierClass}${s}`),i.el.classList.add(`${i.params.containerModifierClass}${t}`),i.emitContainerClasses(),i.params.direction=t,i.rtlTranslate="horizontal"===t&&i.rtl,i.slides.forEach(e=>{"vertical"===t?e.style.width="":e.style.height=""}),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(t){const e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.el.classList.add(`${e.params.containerModifierClass}rtl`),e.el.dir="rtl"):(e.el.classList.remove(`${e.params.containerModifierClass}rtl`),e.el.dir="ltr"),e.update())}mount(t){const e=this;if(e.mounted)return!0;if("undefined"==typeof document)return!1;const i=t??e.params.el;let r=null;if("string"==typeof i?r=document.querySelector(i):i instanceof HTMLElement&&(r=i),!r)return!1;r.swiper=e;const n=r.parentNode;n&&n.host&&n.host.nodeName===e.params.swiperElementNodeName.toUpperCase()&&(e.isElement=!0);const o=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=(()=>{if(r&&r.shadowRoot){return r.shadowRoot.querySelector(o())}return(0,s.e)(r,o())[0]})();!a&&e.params.createElements&&(a=(0,s.a)("div",e.params.wrapperClass),r.append(a),(0,s.e)(r,`.${e.params.slideClass}`).forEach(t=>{a.append(t)}));const l=e.isElement?r.parentNode.host:null;return Object.assign(e,{el:r,wrapperEl:a,slidesEl:e.isElement&&!l.slideSlots?l:a,hostEl:e.isElement?l:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===(0,s.l)(r,"direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,s.l)(r,"direction")),wrongRTL:"-webkit-box"===(0,s.l)(a,"display")}),!0}init(t){const e=this;if(e.initialized)return e;if(!1===e.mount(t))return e;if(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.loop&&e.virtual&&e.params.virtual?.enabled?e.slideTo((e.params.initialSlide??0)+(e.virtual.slidesBefore??0),0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.params.loop&&e.loopCreate(void 0,!0),e.attachEvents(),e.params.lazyPreload){const t=[...e.el.querySelectorAll('[loading="lazy"]')];e.isElement&&t.push(...e.hostEl.querySelectorAll('[loading="lazy"]')),t.forEach(t=>{t.complete?d(e,t):t.addEventListener("load",t=>{d(e,t.target)})})}return e.initialized=!0,u(e),e.emit("init"),e.emit("afterInit"),e}destroy(t=!0,e=!0){const i=this,{params:r,el:n,wrapperEl:o,slides:a}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),e&&(i.removeClasses(),n&&"string"!=typeof n&&n.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(t=>{t.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),t.removeAttribute("style"),t.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(t=>{i.off(t)}),!1!==t&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),(0,s.d)(i)),i.destroyed=!0),null}static extendDefaults(t){(0,s.n)(B,t)}static installModule(t){z.prototype.__modules__||(z.prototype.__modules__=[]);const e=z.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach(t=>z.installModule(t)),z):(z.installModule(t),z)}}Object.defineProperty(z,"extendedDefaults",{get(){return B}}),Object.defineProperty(z,"defaults",{get(){return v}});const F=N,H=z.prototype;Object.keys(F).forEach(t=>{const e=F[t];Object.keys(e).forEach(t=>{H[t]=e[t]})}),z.use([({swiper:t,on:e,emit:i})=>{let s=null,r=null;const n=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},o=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};e("init",()=>{t.params.resizeObserver&&void 0!==window.ResizeObserver?t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver(e=>{r=window.requestAnimationFrame(()=>{const{width:i,height:s}=t;let r=i,o=s;e.forEach(({contentBoxSize:e,contentRect:i,target:s})=>{if(s&&s!==t.el)return;const n=Array.isArray(e)?e[0]:e;r=i?i.width:n.inlineSize,o=i?i.height:n.blockSize}),r===i&&o===s||n()})}),s.observe(t.el)):(window.addEventListener("resize",n),window.addEventListener("orientationchange",o))}),e("destroy",()=>{r&&window.cancelAnimationFrame(r),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null),window.removeEventListener("resize",n),window.removeEventListener("orientationchange",o)})},({swiper:t,extendParams:e,on:i})=>{const r=[],n=(e,i={})=>{const s=window.MutationObserver||window.WebkitMutationObserver;if(!s)return;const n=new s(e=>{if(t.__preventObserver__)return;if(1===e.length)return void t.emit("observerUpdate",e[0]);const i=function(){t.emit("observerUpdate",e[0])};window.requestAnimationFrame?window.requestAnimationFrame(i):window.setTimeout(i,0)});n.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:t.isElement||void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),r.push(n)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=(0,s.j)(t.hostEl);for(let t=0;t<e.length;t+=1)n(e[t])}n(t.hostEl,{childList:t.params.observeSlideChildren}),n(t.wrapperEl,{attributes:!1})}}),i("destroy",()=>{r.forEach(t=>{t.disconnect()}),r.splice(0,r.length)})}])}}]);
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.