Hacked By AnonymousFox

Current Path : C:/AppServ/www/financial/stacked/code/es5/modules/
Upload File :
Current File : C:/AppServ/www/financial/stacked/code/es5/modules/data.js

!/**
 * Highcharts JS v12.1.2 (2025-01-09)
 * @module highcharts/modules/data
 * @requires highcharts
 *
 * Data module
 *
 * (c) 2012-2024 Torstein Honsi
 *
 * License: www.highcharts.com/license
 */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("highcharts"),require("highcharts").Axis,require("highcharts").Chart,require("highcharts").Point,require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/data",[["highcharts/highcharts"],["highcharts/highcharts","Axis"],["highcharts/highcharts","Chart"],["highcharts/highcharts","Point"],["highcharts/highcharts","SeriesRegistry"]],e):"object"==typeof exports?exports["highcharts/modules/data"]=e(require("highcharts"),require("highcharts").Axis,require("highcharts").Chart,require("highcharts").Point,require("highcharts").SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.Axis,t.Highcharts.Chart,t.Highcharts.Point,t.Highcharts.SeriesRegistry)}(this,function(t,e,i,n,r){return function(){"use strict";var o={532:function(t){t.exports=e},960:function(t){t.exports=i},260:function(t){t.exports=n},512:function(t){t.exports=r},944:function(e){e.exports=t}},a={};function s(t){var e=a[t];if(void 0!==e)return e.exports;var i=a[t]={exports:{}};return o[t](i,i.exports,s),i.exports}s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e},s.d=function(t,e){for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var u={};s.d(u,{default:function(){return $}});var l=s(944),h=s.n(l),d=function(){return(d=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},c=h().win,p=h().discardElement,f=h().objectEach,m={ajax:function(t){var e={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},i=new XMLHttpRequest;function n(e,i){t.error&&t.error(e,i)}if(!t.url)return!1;i.open((t.type||"get").toUpperCase(),t.url,!0),t.headers&&t.headers["Content-Type"]||i.setRequestHeader("Content-Type",e[t.dataType||"json"]||e.text),f(t.headers,function(t,e){i.setRequestHeader(e,t)}),t.responseType&&(i.responseType=t.responseType),i.onreadystatechange=function(){var e;if(4===i.readyState){if(200===i.status){if("blob"!==t.responseType&&(e=i.responseText,"json"===t.dataType))try{e=JSON.parse(e)}catch(t){if(t instanceof Error)return n(i,t)}return t.success&&t.success(e,i)}n(i,i.responseText)}},t.data&&"string"!=typeof t.data&&(t.data=JSON.stringify(t.data)),i.send(t.data)},getJSON:function(t,e){m.ajax({url:t,success:e,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(t,e,i){var n=new c.FormData;f(e,function(t,e){n.append(e,t)}),n.append("b64","true");var r=e.filename,o=e.type;return c.fetch(t,d({method:"POST",body:n},i)).then(function(t){t.ok&&t.text().then(function(t){var e=document.createElement("a");e.href="data:".concat(o,";base64,").concat(t),e.download=r,e.click(),p(e)})})}},g=s(532),v=s.n(g),x=s(960),y=s.n(x),C=s(260),T=s.n(C),N=s(512),R=s.n(N),A=h().getOptions,Y=h().doc,D=m.ajax,w=R().seriesTypes,b=h().addEvent,O=h().defined,U=h().extend,F=h().fireEvent,E=h().isNumber,j=h().merge,S=h().objectEach,L=h().pick,M=h().splat;function P(t){return!!(t&&(t.rowsURL||t.csvURL||t.columnsURL))}var I=function(){function t(e,i,n){void 0===i&&(i={}),this.rowsToColumns=t.rowsToColumns,this.dateFormats={"YYYY/mm/dd":{regex:/^(\d{4})[\-\/\.](\d{1,2})[\-\/\.](\d{1,2})$/,parser:function(t){return t?Date.UTC(+t[1],+t[2]-1,+t[3]):NaN}},"dd/mm/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(t){return t?Date.UTC(+t[3],+t[2]-1,+t[1]):NaN},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(t){return t?Date.UTC(+t[3],+t[1]-1,+t[2]):NaN}},"dd/mm/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(t){if(!t)return NaN;var e=new Date,i=+t[3];return i>e.getFullYear()-2e3?i+=1900:i+=2e3,Date.UTC(i,+t[2]-1,+t[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(t){return t?Date.UTC(+t[3]+2e3,+t[1]-1,+t[2]):NaN}}},this.chart=n,this.chartOptions=i,this.options=e,this.rawColumns=[],this.init(e,i,n)}return t.data=function(e,i,n){return void 0===i&&(i={}),new t(e,i,n)},t.rowsToColumns=function(t){var e,i,n,r,o;if(t)for(e=0,o=[],i=t.length;e<i;e++)for(n=0,r=t[e].length;n<r;n++)o[n]||(o[n]=[]),o[n][e]=t[e][n];return o},t.prototype.init=function(t,e,i){var n,r=t.decimalPoint;e&&(this.chartOptions=e),i&&(this.chart=i),"."!==r&&","!==r&&(r=void 0),this.options=t,this.columns=t.columns||this.rowsToColumns(t.rows)||[],this.firstRowAsNames=L(t.firstRowAsNames,this.firstRowAsNames,!0),this.decimalRegex=r&&RegExp("^(-?[0-9]+)"+r+"([0-9]+)$"),void 0!==this.liveDataTimeout&&clearTimeout(this.liveDataTimeout),this.rawColumns=[],this.columns.length&&(this.dataFound(),n=!P(t)),n||(n=this.fetchLiveData()),n||(n=!!this.parseCSV().length),n||(n=!!this.parseTable().length),n||(n=this.parseGoogleSpreadsheet()),!n&&t.afterComplete&&t.afterComplete(this)},t.prototype.getColumnDistribution=function(){var t,e,i=this.chartOptions,n=this.options,r=[],o=function(t){return void 0===t&&(t="line"),(w[t].prototype.pointArrayMap||[0]).length},a=function(t){return void 0===t&&(t="line"),w[t].prototype.pointArrayMap},s=null===(t=null==i?void 0:i.chart)||void 0===t?void 0:t.type,u=[],l=[],h=(null==n?void 0:n.seriesMapping)||(null===(e=null==i?void 0:i.series)||void 0===e?void 0:e.map(function(){return{x:0}}))||[],d=0;((null==i?void 0:i.series)||[]).forEach(function(t){u.push(o(t.type||s))}),h.forEach(function(t){r.push(t.x||0)}),0===r.length&&r.push(0),h.forEach(function(t){var e,n,r=new q,h=u[d]||o(s),c=null!==(n=(null!==(e=null==i?void 0:i.series)&&void 0!==e?e:[])[d])&&void 0!==n?n:{},p=a(c.type||s),f=null!=p?p:["y"];(O(t.x)||c.isCartesian||!p)&&r.addColumnReader(t.x,"x"),S(t,function(t,e){"x"!==e&&r.addColumnReader(t,e)});for(var m=0;m<h;m++)r.hasReader(f[m])||r.addColumnReader(void 0,f[m]);l.push(r),d++});var c=a(s);void 0===c&&(c=["y"]),this.valueCount={global:o(s),xColumns:r,individual:u,seriesBuilders:l,globalPointArrayMap:c}},t.prototype.dataFound=function(){this.options.switchRowsAndColumns&&(this.columns=this.rowsToColumns(this.columns)),this.getColumnDistribution(),this.parseTypes(),!1!==this.parsed()&&this.complete()},t.prototype.parseCSV=function(t){var e,i,n,r,o,a=this,s=this.columns=[],u=t||this.options,l=u.startColumn||0,h=u.endColumn||Number.MAX_VALUE,d=[],c={",":0,";":0,"	":0},p=u.csv,f=u.startRow||0,m=u.endRow||Number.MAX_VALUE,g=0;if(p&&u.beforeParse&&(p=u.beforeParse.call(this,p)),p){(o=p.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(u.lineDelimiter||"\n"),(!f||f<0)&&(f=0),(!m||m>=o.length)&&(m=o.length-1),u.itemDelimiter)?r=u.itemDelimiter:(e=0,i=0,n=!1,o.some(function(t,n){var r,o,a,s=!1,u="";if(n>13)return!0;for(var l=0;l<t.length;l++){if(r=t[l],o=t[l+1],a=t[l-1],"#"===r)return;if('"'===r){if(s){if('"'!==a&&'"'!==o){for(;" "===o&&l<t.length;)o=t[++l];void 0!==c[o]&&c[o]++,s=!1}}else s=!0}else void 0!==c[r]?(isNaN(Date.parse(u=u.trim()))?(isNaN(u)||!isFinite(u))&&c[r]++:c[r]++,u=""):u+=r;","===r&&i++,"."===r&&e++}}),c[";"]>c[","]?n=";":(c[","],c[";"],n=","),u.decimalPoint||(e>i?u.decimalPoint=".":u.decimalPoint=",",a.decimalRegex=RegExp("^(-?[0-9]+)"+u.decimalPoint+"([0-9]+)$")),r=n);var v=0;for(g=f;g<=m;g++)"#"===o[g][0]?v++:function(t,e,i,n){var o=0,a="",c="",p="",f="",m=0,g=0;function v(e){a=t[e],c=t[e-1],p=t[e+1]}function x(t){d.length<g+1&&d.push([t]),d[g][d[g].length-1]!==t&&d[g].push(t)}function y(){if(l>m||m>h){++m,f="";return}u.columnTypes||(!isNaN(parseFloat(f))&&isFinite(f)?(f=parseFloat(f),x("number")):isNaN(Date.parse(f))?x("string"):(f=f.replace(/\//g,"-"),x("date"))),s.length<g+1&&s.push([]),s[g][e]=f,f="",++g,++m}if(t.trim().length&&"#"!==t.trim()[0]){for(;o<t.length;o++)if(v(o),'"'===a)for(v(++o);o<t.length&&('"'!==a||'"'===c||'"'===p);)('"'!==a||'"'===a&&'"'!==c)&&(f+=a),v(++o);else a===r?y():f+=a;y()}}(o[g],g-f-v);(!u.columnTypes||0===u.columnTypes.length)&&d.length&&d[0].length&&"date"===d[0][1]&&!u.dateFormat&&(u.dateFormat=function(t,e){var i,n,r,o,s="YYYY/mm/dd",l=[],h=[],d=[],c=0,p=!1;for((!e||e>t.length)&&(e=t.length);c<e;c++)if(void 0!==t[c]&&(null===(i=t[c])||void 0===i?void 0:i.length))for(o=0,n=t[c].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" "),d=["","",""];o<n.length;o++)o<d.length&&(n[o]=parseInt(n[o],10),n[o]&&(h[o]=!h[o]||h[o]<n[o]?n[o]:h[o],void 0!==l[o]?l[o]!==n[o]&&(l[o]=!1):l[o]=n[o],n[o]>31?n[o]<100?d[o]="YY":d[o]="YYYY":n[o]>12&&n[o]<=31?(d[o]="dd",p=!0):d[o].length||(d[o]="mm")));if(p){for(o=0;o<l.length;o++)!1!==l[o]?h[o]>12&&"YY"!==d[o]&&"YYYY"!==d[o]&&(d[o]="YY"):h[o]>12&&"mm"===d[o]&&(d[o]="dd");return(3===d.length&&"dd"===d[1]&&"dd"===d[2]&&(d[2]="YY"),r=d.join("/"),(u.dateFormats||a.dateFormats)[r])?r:(F(a,"deduceDateFailed"),s)}return s}(s[0])),this.dataFound()}return s},t.prototype.parseTable=function(){var t=this.options,e=this.columns||[],i=t.startRow||0,n=t.endRow||Number.MAX_VALUE,r=t.startColumn||0,o=t.endColumn||Number.MAX_VALUE;if(t.table){var a=t.table;"string"==typeof a&&(a=Y.getElementById(a)),[].forEach.call(a.getElementsByTagName("tr"),function(t,a){a>=i&&a<=n&&[].forEach.call(t.children,function(t,n){var s=e[n-r],u=1;if(("TD"===t.tagName||"TH"===t.tagName)&&n>=r&&n<=o)for(e[n-r]||(e[n-r]=[]),e[n-r][a-i]=t.innerHTML;a-i>=u&&void 0===s[a-i-u];)s[a-i-u]=null,u++})}),this.dataFound()}return e},t.prototype.fetchLiveData=function(){var t=this,e=this.chart,i=this.options,n=i.enablePolling,r=j(i),o=0,a=1e3*(i.dataRefreshRate||2);return!!P(i)&&(a<1e3&&(a=1e3),delete i.csvURL,delete i.rowsURL,delete i.columnsURL,function s(u){function l(r,l,h){if(!r||!/^(http|\/|\.\/|\.\.\/)/.test(r))return r&&i.error&&i.error("Invalid URL"),!1;function d(){n&&e.liveDataURL===r&&(t.liveDataTimeout=setTimeout(s,a))}return u&&(clearTimeout(t.liveDataTimeout),e.liveDataURL=r),D({url:r,dataType:h||"json",success:function(t){(null==e?void 0:e.series)&&l(t),d()},error:function(t,e){var n;return++o<3&&d(),null===(n=i.error)||void 0===n?void 0:n.call(i,e,t)}}),!0}l(r.csvURL,function(t){e.update({data:{csv:t}})},"text")||l(r.rowsURL,function(t){e.update({data:{rows:t}})})||l(r.columnsURL,function(t){e.update({data:{columns:t}})})}(!0),P(i))},t.prototype.parseGoogleSpreadsheet=function(){var t=this,e=this.options,i=e.googleSpreadsheetKey,n=this.chart,r=Math.max(1e3*(e.dataRefreshRate||2),4e3),o=function(){if(e.googleSpreadsheetRange)return e.googleSpreadsheetRange;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZ",i=(t.charAt(e.startColumn||0)||"A")+((e.startRow||0)+1),n=t.charAt(L(e.endColumn,-1))||"ZZ";return O(e.endRow)&&(n+=e.endRow+1),""+i+":".concat(n)};return i&&(delete e.googleSpreadsheetKey,function n(a){D({url:["https://sheets.googleapis.com/v4/spreadsheets",i,"values",o(),"?alt=json&majorDimension=COLUMNS&valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING&key="+e.googleAPIKey].join("/"),dataType:"json",success:function(i){a(i),e.enablePolling&&(t.liveDataTimeout=setTimeout(function(){n(a)},r))},error:function(t,i){var n;return null===(n=e.error)||void 0===n?void 0:n.call(e,i,t)}})}(function(e){var i=e.values;if(!i||0===i.length)return!1;var r=i.reduce(function(t,e){return Math.max(t,e.length)},0);i.forEach(function(t){for(var e=0;e<r;e++)void 0===t[e]&&(t[e]=null)}),(null==n?void 0:n.series)?n.update({data:{columns:i}}):(t.columns=i,t.dataFound())})),!1},t.prototype.trim=function(t,e){return"string"==typeof t&&(t=t.replace(/^\s+|\s+$/g,""),e&&/[\d\s]+/.test(t)&&(t=t.replace(/\s/g,"")),this.decimalRegex&&(t=t.replace(this.decimalRegex,"$1.$2"))),t},t.prototype.parseTypes=function(){for(var t=this.columns||[],e=t.length;e--;)this.parseColumn(t[e],e)},t.prototype.parseColumn=function(t,e){var i,n,r,o,a,s,u,l,h=this.rawColumns,d=this.columns=this.columns||[],c=this.firstRowAsNames,p=(null===(i=this.valueCount)||void 0===i?void 0:i.xColumns.indexOf(e))!==-1,f=[],m=this.chartOptions,g=(this.options.columnTypes||[])[e],v=p&&(null==m?void 0:m.xAxis)&&"category"===M(m.xAxis)[0].type||"string"===g,x=O(t.name),y=t.length;for(h[e]||(h[e]=[]);y--;)n=f[y]||t[y],o=this.trim(n),r=parseFloat(a=this.trim(n,!0)),void 0===h[e][y]&&(h[e][y]=o),v||0===y&&c&&!x?t[y]=""+o:+a===r?(t[y]=r,r>31536e6&&"float"!==g?t.isDatetime=!0:t.isNumeric=!0,void 0!==t[y+1]&&(l=r>t[y+1])):((null==o?void 0:o.length)&&(s=this.parseDate(n)),p&&E(s)&&"float"!==g?(f[y]=n,t[y]=s,t.isDatetime=!0,void 0!==t[y+1]&&((u=s>t[y+1])!==l&&void 0!==l&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,y=t.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):t.unsorted=!0),l=u)):(t[y]=""===o?null:o,0!==y&&(t.isDatetime||t.isNumeric)&&(t.mixed=!0)));if(p&&t.mixed&&(d[e]=h[e]),p&&l&&this.options.sort){for(e=0;e<d.length;e++)if(d[e].reverse(),c){var C=d[e].pop();C&&d[e].unshift(C)}}},t.prototype.parseDate=function(t){var e,i,n,r,o=this.options.parseDate,a=this.options.dateFormat||this.dateFormat;if(o)e=o(t);else if("string"==typeof t){if(a)(n=this.dateFormats[a])||(n=this.dateFormats["YYYY/mm/dd"]),(r=t.match(n.regex))&&(e=n.parser(r));else for(i in this.dateFormats)if(n=this.dateFormats[i],r=t.match(n.regex)){this.dateFormat=a=i,this.alternativeFormat=n.alternative,e=n.parser(r);break}!r&&(t.match(/:.+(GMT|UTC|[Z+\-])/)&&(t=t.replace(/\s*(?:GMT|UTC)?([+\-])(\d\d)(\d\d)$/,"$1$2:$3").replace(/(?:\s+|GMT|UTC)([+\-])/,"$1").replace(/(\d)\s*(?:GMT|UTC|Z)$/,"$1+00:00")),"object"==typeof(r=Date.parse(t))&&null!==r&&r.getTime?e=r.getTime()-6e4*r.getTimezoneOffset():E(r)&&(e=r-6e4*new Date(r).getTimezoneOffset()))}return e},t.prototype.getData=function(){var t;if(this.columns)return null===(t=this.rowsToColumns(this.columns))||void 0===t?void 0:t.slice(1)},t.prototype.parsed=function(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)},t.prototype.complete=function(){var t,e,i,n,r,o,a,s,u,l,h,d,c,p,f,m,g=this.columns=this.columns||[],v=this.options,x=[],y="linear";if([].length=g.length,v.complete||v.afterComplete){if(this.firstRowAsNames)for(s=0;s<g.length;s++){var C=g[s];O(C.name)||(C.name=L(C.shift(),"").toString())}for(h=0,o=[],p=function(t,e){var i,n,r,o=[],a=[];for(n=0;n<t;n+=1)o.push(!0);for(i=0;i<e.length;i+=1)for(n=0,r=e[i].getReferencedColumnIndexes();n<r.length;n+=1)o[r[n]]=!1;for(n=0;n<o.length;n+=1)o[n]&&a.push(n);return a}((null==g?void 0:g.length)||0,this.valueCount.seriesBuilders);h<this.valueCount.seriesBuilders.length;h++)(c=this.valueCount.seriesBuilders[h]).populateColumns(p)&&x.push(c);for(;p.length>0;){for((c=new q).addColumnReader(0,"x"),-1!==(m=p.indexOf(0))&&p.splice(m,1),s=0;s<this.valueCount.global;s++)c.addColumnReader(void 0,this.valueCount.globalPointArrayMap[s]);c.populateColumns(p)&&x.push(c)}if(x.length>0&&x[0].readers.length>0&&void 0!==(f=null==g?void 0:g[null!==(t=x[0].readers[0].columnIndex)&&void 0!==t?t:-1])&&(f.isDatetime?y="datetime":f.isNumeric||(y="category")),"category"===y)for(h=0;h<x.length;h++)for(l=0,c=x[h];l<c.readers.length;l++)"x"===c.readers[l].configName&&(c.readers[l].configName="name");for(h=0;h<x.length;h++){for(u=0,c=x[h],a=[];u<g[0].length;u++)a[u]=c.read(g,u);o[h]={data:a,pointStart:a[0]&&(c.pointIsArray?null===(e=a[0])||void 0===e?void 0:e[0]:null===(i=a[0])||void 0===i?void 0:i.x)||void 0},c.name&&(o[h].name=c.name),"category"===y&&(o[h].turboThreshold=0,o[h].pointStart=0)}d={series:o},"linear"!==y||this.xAxisOptions&&this.xAxisOptions.type!==y?(this.xAxisOptions={type:y},"category"===y&&(this.xAxisOptions.uniqueNames=!1)):y=this.xAxisOptions=void 0,this.chart||j(!0,d,{xAxis:this.xAxisOptions||{}}),null===(n=v.complete)||void 0===n||n.call(v,d),null===(r=v.afterComplete)||void 0===r||r.call(v,this,d)}},t.prototype.xAxisUpdateHandler=function(t){var e=this.xAxisOptions;e&&(!t.options.type&&e.type&&(t.type=e.type),t.options.uniqueNames||!1!==e.uniqueNames||(t.uniqueNames=e.uniqueNames))},t.prototype.update=function(t,e){var i,n=this.chart,r=n.options;t&&(t.afterComplete=function(t,i){if(i){var r=n.xAxis[0],o=t.xAxisOptions;o&&r&&(r.type!==o.type&&!r.options.type||r.uniqueNames&&!1===o.uniqueNames&&void 0===r.options.uniqueNames)?r.update({},!1):((null==i?void 0:i.series)||[]).forEach(function(t){delete t.pointStart}),n.update(i,e,!0)}},j(!0,r.data,t),(null===(i=r.data)||void 0===i?void 0:i.googleSpreadsheetKey)&&!t.columns&&delete r.data.columns,this.init(r.data||{},r))},t}();b(v(),"afterSetOptions",function(){var t;this.isXAxis&&(!this.chart.xAxis.length||this.chart.xAxis[0]===this)&&(null===(t=this.chart.data)||void 0===t||t.xAxisUpdateHandler(this))}),b(y(),"init",function(t){var e=this,i=t.args[1],n=A().data,r=t.args[0]||{};if((n||r&&r.data)&&!e.hasDataDef){e.hasDataDef=!0;var o=j(n,r.data);e.data=new I(U(o,{afterComplete:function(t,n){var o,a,s,u,l,h;if(Object.hasOwnProperty.call(r,"series")){if("object"==typeof r.series)for(l=Math.max(r.series.length,null!==(a=null===(o=null==n?void 0:n.series)||void 0===o?void 0:o.length)&&void 0!==a?a:0);l--;)h=r.series[l]||{},r.series[l]=j(h,null!==(u=null===(s=null==n?void 0:n.series)||void 0===s?void 0:s[l])&&void 0!==u?u:{});else delete r.series}r=j(n,r),e.data=t,e.init(r,i)}}),r,e),t.preventDefault()}});var q=function(){function t(){this.readers=[],this.pointIsArray=!0}return t.prototype.populateColumns=function(t){var e=!0;return this.readers.forEach(function(e){void 0===e.columnIndex&&(e.columnIndex=t.shift())}),this.readers.forEach(function(t){void 0===t.columnIndex&&(e=!1)}),e},t.prototype.read=function(t,e){var i=this.pointIsArray,n=i?[]:{};if(this.readers.forEach(function(r){var o=t[r.columnIndex][e];i?n.push(o):r.configName.indexOf(".")>0?T().prototype.setNestedProperty(n,o,r.configName):n[r.configName]=o}),void 0===this.name&&this.readers.length>=2){var r=[];this.readers.forEach(function(t){("x"===t.configName||"name"===t.configName||"y"===t.configName)&&void 0!==t.columnIndex&&r.push(t.columnIndex)}),r.length>=2&&(r.shift(),r.sort(function(t,e){return t-e})),this.name=t[L(r.shift(),0)].name}return n},t.prototype.addColumnReader=function(t,e){this.readers.push({columnIndex:t,configName:e}),"x"===e||"y"===e||void 0===e||(this.pointIsArray=!1)},t.prototype.getReferencedColumnIndexes=function(){var t,e,i=[];for(t=0;t<this.readers.length;t+=1)void 0!==(e=this.readers[t]).columnIndex&&i.push(e.columnIndex);return i},t.prototype.hasReader=function(t){var e;for(e=0;e<this.readers.length;e+=1)if(this.readers[e].configName===t)return!0},t}(),H=h();H.Data=H.Data||I,H.HttpUtilities=H.HttpUtilities||m,H.ajax=H.HttpUtilities.ajax,H.data=H.Data.data,H.getJSON=H.HttpUtilities.getJSON,H.post=H.HttpUtilities.post;var $=h();return u.default}()});

Hacked By AnonymousFox1.0, Coded By AnonymousFox