1!function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/modules/exporting",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){function t(e,t,n,i){e.hasOwnProperty(t)||(e[t]=i.apply(null,n))}t(e=e?e._modules:{},"modules/full-screen.src.js",[e["parts/Globals.js"]],function(e){var t=e.addEvent,n=e.Chart,i=function(){function t(e){this.chart=e,this.isOpen=!1,e.container.parentNode instanceof Element&&(e=e.container.parentNode,this.browserProps||("function"==typeof e.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:e.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:e.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:e.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"})))}return t.prototype.close=function(){var e=this.chart;this.isOpen&&this.browserProps&&e.container.ownerDocument instanceof Document&&e.container.ownerDocument[this.browserProps.exitFullscreen](),this.unbindFullscreenEvent&&this.unbindFullscreenEvent(),this.isOpen=!1,this.setButtonText()},t.prototype.open=function(){var t=this,n=t.chart;if(t.browserProps){if(t.unbindFullscreenEvent=e.addEvent(n.container.ownerDocument,t.browserProps.fullscreenChange,function(){t.isOpen?(t.isOpen=!1,t.close()):(t.isOpen=!0,t.setButtonText())}),n.container.parentNode instanceof Element){var i=n.container.parentNode[t.browserProps.requestFullscreen]();i&&i.catch(function(){alert("Full screen is not supported inside a frame.")})}e.addEvent(n,"destroy",t.unbindFullscreenEvent)}},t.prototype.setButtonText=function(){var e,t=this.chart,n=t.exportDivElements,i=t.options.exporting,o=null===(e=null==i?void 0:i.buttons)||void 0===e?void 0:e.contextButton.menuItems;e=t.options.lang,null!=i&&i.menuItemDefinitions&&null!=e&&e.exitFullscreen&&e.viewFullscreen&&o&&n&&n.length&&(n[o.indexOf("viewFullscreen")].innerHTML=this.isOpen?e.exitFullscreen:i.menuItemDefinitions.viewFullscreen.text||e.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}();return e.Fullscreen=i,t(n,"beforeRender",function(){this.fullscreen=new e.Fullscreen(this)}),e.Fullscreen}),t(e,"mixins/navigation.js",[],function(){return{initUpdate:function(e){e.navigation||(e.navigation={updates:[],update:function(e,t){this.updates.forEach(function(n){n.update.call(n.context,e,t)})}})},addUpdate:function(e,t){t.navigation||this.initUpdate(t),t.navigation.updates.push({update:e,context:t})}}}),t(e,"modules/exporting.src.js",[e["parts/Globals.js"],e["parts/Utilities.js"],e["mixins/navigation.js"]],function(e,t,n){var i=t.addEvent,o=t.css,r=t.createElement,s=t.discardElement,l=t.extend,a=t.find,c=t.fireEvent,u=t.isObject,p=t.merge,h=t.objectEach,d=t.pick,f=t.removeEvent,g=t.uniqueKey,m=e.defaultOptions,x=e.doc,v=e.Chart,y=e.isTouchDevice,b=e.win,w=b.navigator.userAgent,E=e.SVGRenderer,S=e.Renderer.prototype.symbols,C=/Edge\/|Trident\/|MSIE /.test(w),F=/firefox/i.test(w);l(m.lang,{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"}),m.navigation||(m.navigation={}),p(!0,m.navigation,{buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}}),p(!0,m.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:y?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"},buttonOptions:{symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}}}),m.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol
1:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},e.post=function(e,t,n){var i=r("form",p({method:"post",action:e,enctype:"multipart/form-data"},n),{display:"none"},x.body);h(t,function(e,t){r("input",{type:"hidden",name:t,value:e},null,i)}),i.submit(),s(i)},e.isSafari&&e.win.matchMedia("print").addListener(function(t){e.printingChart&&(t.matches?e.printingChart.beforePrint():e.printingChart.afterPrint())}),l(v.prototype,{sanitizeSVG:function(e,t){var n=e.indexOf("</svg>")+6,i=e.substr(n);return e=e.substr(0,n),t&&t.exporting&&t.exporting.allowHTML&&i&&(i='<foreignObject x="0" y="0" width="'+t.chart.width+'" height="'+t.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+i+"</body></foreignObject>",e=e.replace("</svg>",i+"</svg>")),e=e.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|");?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/ /g,"Â ").replace(/­/g,"Â"),this.ieSanitizeSVG&&(e=this.ieSanitizeSVG(e)),e},getChartHTML:function(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML},getSVG:function(t){var n,i=p(this.options,t);i.plotOptions=p(this.userOptions.plotOptions,t&&t.plotOptions),i.time=p(this.userOptions.time,t&&t.time);var o=r("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},x.body),u=this.renderTo.style.width,h=this.renderTo.style.height;u=i.exporting.sourceWidth||i.chart.width||/px$/.test(u)&&parseInt(u,10)||(i.isGantt?800:600),h=i.exporting.sourceHeight||i.chart.height||/px$/.test(h)&&parseInt(h,10)||400,l(i.chart,{animation:!1,renderTo:o,forExport:!0,renderer:"SVGRenderer",width:u,height:h}),i.exporting.enabled=!1,delete i.data,i.series=[],this.series.forEach(function(e){(n=p(e.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:e.visible})).isInternal||i.series.push(n)}),this.axes.forEach(function(e){e.userOptions.internalKey||(e.userOptions.internalKey=g())});var d=new e.Chart(i,this.callback);return t&&["xAxis","yAxis","series"].forEach(function(e){var n={};t[e]&&(n[e]=t[e],d.update(n))}),this.axes.forEach(function(e){var t=a(d.axes,function(t){return t.options.internalKey===e.userOptions.internalKey}),n=e.getExtremes(),i=n.userMin;n=n.userMax,t&&(void 0!==i&&i!==t.min||void 0!==n&&n!==t.max)&&t.setExtremes(i,n,!0,!1)}),u=d.getChartHTML(),c(this,"getSVG",{chartCopy:d}),u=this.sanitizeSVG(u,i),i=null,d.destroy(),s(o),u},getSVGForExport:function(e,t){var n=this.options.exporting;return this.getSVG(p({chart:{borderRadius:0}}
1,n.chartOptions,t,{exporting:{sourceWidth:e&&e.sourceWidth||n.sourceWidth,sourceHeight:e&&e.sourceHeight||n.sourceHeight}}))},getFilename:function(){var e=this.userOptions.title&&this.userOptions.title.text,t=this.options.exporting.filename;return t?t.replace(/\//g,"-"):("string"==typeof e&&(t=e.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!t||5>t.length)&&(t="chart"),t)},exportChart:function(t,n){n=this.getSVGForExport(t,n),t=p(this.options.exporting,t),e.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:n},t.formAttributes)},moveContainers:function(e){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(t){e.appendChild(t)})},beforePrint:function(){var e=x.body,t=this.options.exporting.printMaxWidth,n={childNodes:e.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),c(this,"beforePrint"),t&&this.chartWidth>t&&(n.resetParams=[this.options.chart.width,void 0,!1],this.setSize(t,void 0,!1)),[].forEach.call(n.childNodes,function(e,t){1===e.nodeType&&(n.origDisplay[t]=e.style.display,e.style.display="none")}),this.moveContainers(e),this.printReverseInfo=n},afterPrint:function(){if(this.printReverseInfo){var t=this.printReverseInfo.childNodes,n=this.printReverseInfo.origDisplay,i=this.printReverseInfo.resetParams;this.moveContainers(this.renderTo),[].forEach.call(t,function(e,t){1===e.nodeType&&(e.style.display=n[t]||"")}),this.isPrinting=!1,i&&this.setSize.apply(this,i),delete this.printReverseInfo,delete e.printingChart,c(this,"afterPrint")}},print:function(){var t=this;t.isPrinting||(e.printingChart=t,e.isSafari||t.beforePrint(),setTimeout(function(){b.focus(),b.print(),e.isSafari||setTimeout(function(){t.afterPrint()},1e3)},1))},contextMenu:function(e,n,s,a,p,h,d){var f=this,g=f.options.navigation,m=f.chartWidth,v=f.chartHeight,y="cache-"+e,w=f[y],E=Math.max(p,h);if(!w){f.exportContextMenu=f[y]=w=r("div",{className:e},{position:"absolute",zIndex:1e3,padding:E+"px",pointerEvents:"auto"},f.fixedDiv||f.container);var S=r("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},w);f.styledMode||o(S,l({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},g.menuStyle)),w.hideMenu=function(){o(w,{display:"none"}),d&&d.setState(0),f.openMenu=!1,o(f.renderTo,{overflow:"hidden"}),t.clearTimeout(w.hideTimer),c(f,"exportMenuHidden")},f.exportEvents.push(i(w,"mouseleave",function(){w.hideTimer=b.setTimeout(w.hideMenu,500)}),i(w,"mouseenter",function(){t.clearTimeout(w.hideTimer)}),i(x,"mouseup",function(t){f.pointer.inClass(t.target,e)||w.hideMenu()}),i(w,"click",function(){f.openMenu&&w.hideMenu()})),n.forEach(function(e){if("string"==typeof e&&(e=f.options.exporting.menuItemDefinitions[e]),u(e,!0)){if(e.separator)var t=r("hr",null,null,S);else t=r("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),w.hideMenu(),e.onclick&&e.onclick.apply(f,arguments)},innerHTML:e.text||f.options.lang[e.textKey]},null,S),f.styledMode||(t.onmouseover=function(){o(this,g.menuItemHoverStyle)},t.onmouseout=function(){o(this,g.menuItemStyle)},o(t,l({cursor:"pointer"},g.menuItemStyle)));f.exportDivElements.push(t)}}),f.exportDivElements.push(S,w),f.exportMenuWidth=w.offsetWidth,f.exportMenuHeight=w.offsetHeight}n={display:"block"},s+f.exportMenuWidth>m?n.right=m-s-p-E+"px":n.left=s-E+"px",a+h+f.exportMenuHeight>v&&"top"!==d.alignOptions.verticalAlign?n.bottom=v-a-E+"px":n.top=a+h-E+"px",o(w,n),o(f.renderTo,{overflow:""}),f.openMenu=!0,c(f,"exportMenuShown")},addButton:function(e){var t=this,n=t.renderer,i=p(t.options.navigation.buttonOptions,e),o=i.onclick,r=i.menuItems,s=i.symbolSize||12;if(t.btnCount||(t.btnCount=0),t.exportDivElements||(t.exportDivElements=[],t.exportSVGElements=[]),!1!==i.enabled){var a,c=i.theme,u=c.states,h=u&&u.hover;u=u&&u.select,t.styledMode||(c.fill=d(c.fill,"#ffffff"),c.stroke=d(c.stroke,"none")),delete c.states,o?a=function(e){e&&e.stopPropagation(),o.call(t,e)}:r&&(a=function(e){e&&e.stopPropagation(),t.contextMenu(f.menuClassName,r,f.translateX,f.translateY,f.width,f.height,f),f.setState(2)}),i.text&&i.symbol?c.paddingLeft=d(c.paddingLeft,25):i.text||l(c,{width:i.width,height:i.height,padding:0}),t.styledMode||(c["stroke-linecap"]="round",c.fill=d(c.fill,"#ffffff"),c.stroke=d(c.stroke,"none"));var f=n.button(i.text,0,0,a,c,h,u).addClass(e.className).attr({title:d(t.options.lang[i._titleKey||i.titleKey],"")});if(f.menuClassName=e.menuClassName||"highcharts-menu-"+t.btnCount++,i.symbol){var g=n.symbol(i.symbol,i.symbolX-s/2,i.symbolY-s/2,s,s,{width:s,height:s}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(f);t.styledMode||g.attr({stroke:i.symbolStroke,fill:i.symbolFill,"stroke-width":i.symbolStrokeWidth||1})}f.add(t.exportingGroup).align(l(i,{width:f.width,x:d(i.x,t.buttonOffset)}),!0,"spacingBox"),t.buttonOffset+=(f.width+i.buttonSpacing)*("right"===i.align?-1:1),t.exportSVGElements.push(f,g)}},destroyExport:function(e){var n=e?e.target:this;e=n.exportSVGElements;var i,o=n.exportDivElements,r=n.exportEvents;e&&(e.forEach(function(e,t){e&&(e.onclick=e.ontouchstart=null,i="cache-"+e.menuClassName,n[i]&&delete n[i],n.exportSVGElements[t]=e.destroy())}),e.length=0),n.exportingGroup&&(n.exportingGroup.destroy(),delete n.exportingGroup),o&&(o.forEac
1h(function(e,i){t.clearTimeout(e.hideTimer),f(e,"mouseleave"),n.exportDivElements[i]=e.onmouseout=e.onmouseover=e.ontouchstart=e.onclick=null,s(e)}),o.length=0),r&&(r.forEach(function(e){e()}),r.length=0)}}),E.prototype.inlineToAttributes="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" "),E.prototype.inlineBlacklist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],E.prototype.unstyledElements=["clipPath","defs","desc"],v.prototype.inlineStyles=function(){function e(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()})}var t,n=this.renderer,i=n.inlineToAttributes,r=n.inlineBlacklist,s=n.inlineWhitelist,l=n.unstyledElements,a={};n=x.createElement("iframe"),o(n,{width:"1px",height:"1px",visibility:"hidden"}),x.body.appendChild(n);var c=n.contentWindow.document;c.open(),c.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>'),c.close(),function n(o){function u(t,n){if(d=f=!1,s){for(g=s.length;g--&&!f;)f=s[g].test(n);d=!f}for("transform"===n&&"none"===t&&(d=!0),g=r.length;g--&&!d;)d=r[g].test(n)||"function"==typeof t;d||v[n]===t&&"svg"!==o.nodeName||a[o.nodeName][n]===t||(-1!==i.indexOf(n)?o.setAttribute(e(n),t):m+=e(n)+":"+t+";")}var d,f,g,m="";if(1===o.nodeType&&-1===l.indexOf(o.nodeName)){var x=b.getComputedStyle(o,null),v="svg"===o.nodeName?{}:b.getComputedStyle(o.parentNode,null);if(!a[o.nodeName]){t=c.getElementsByTagName("svg")[0];var y=c.createElementNS(o.namespaceURI,o.nodeName);t.appendChild(y),a[o.nodeName]=p(b.getComputedStyle(y,null)),"text"===o.nodeName&&delete a.text.fill,t.removeChild(y)}if(F||C)for(var w in x)u(x[w],w);else h(x,u);m&&(x=o.getAttribute("style"),o.setAttribute("style",(x?x+";":"")+m)),"svg"===o.nodeName&&o.setAttribute("stroke-width","1px"),"text"!==o.nodeName&&[].forEach.call(o.children||o.childNodes,n)}}(this.container.querySelector("svg")),t.parentNode.removeChild(t)},S.menu=function(e,t,n,i){return["M",e,t+2.5,"L",e+n,t+2.5,"M",e,t+i/2+.5,"L",e+n,t+i/2+.5,"M",e,t+i-1.5,"L",e+n,t+i-1.5]},S.menuball=function(e,t,n,i){return i=i/3-2,[].concat(this.circle(n-i,t,i,i),this.circle(n-i,t+i+4,i,i),this.circle(n-i,t+2*(i+4),i,i))},v.prototype.renderExporting=function(){var e=this,t=e.options.exporting,n=t.buttons,o=e.isDirtyExporting||!e.exportSVGElements;e.buttonOffset=0,e.isDirtyExporting&&e.destroyExport(),o&&!1!==t.enabled&&(e.exportEvents=[],e.exportingGroup=e.exportingGroup||e.renderer.g("exporting-group").attr({zIndex:3}).add(),h(n,function(t){e.addButton(t)}),e.isDirtyExporting=!1),i(e,"destroy",e.destroyExport)},i(v,"init",function(){var e=this;e.exporting={update:function(t,n){e.isDirtyExporting=!0,p(!0,e.options.exporting,t),d(n,!0)&&e.redraw()}},n.addUpdate(function(t,n){e.isDirtyExporting=!0,p(!0,e.options.navigation,t),d(n,!0)&&e.redraw()},e)}),v.prototype.callbacks.push(function(e){e.renderExporting(),i(e,"redraw",e.renderExporting)})}),t(e,"masters/modules/exporting.src.js",[],function(){})});
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.