ni-webcharts
Advanced tools
Comparing version 9.9.5 to 9.9.7
(!window.NationalInstruments||window.NationalInstruments&&!1!==window.NationalInstruments.lazyRegisterWebCharts)&&(window.JQX.Elements.lazyRegister=!0); | ||
!function($){function callbackIfComplete(e){e.async&&(e.filesLoaded+=1,e.filesLoaded===e.totalFiles&&e.callback&&e.callback())}function loadAndParseFile(e,a){$.ajax({url:e,async:a.async,cache:a.cache,dataType:"text",success:function(e,r){parseData(e,a.mode),callbackIfComplete(a)},error:function(r,t,n){console.log("Failed to download or parse "+e),callbackIfComplete(a)}})}function parseData(data,mode){for(var parsed="",parameters=data.split(/\n/),regPlaceHolder=/(\{\d+})/g,regRepPlaceHolder=/\{(\d+)}/g,unicodeRE=/(\\u.{4})/gi,i=0;i<parameters.length;i++)if(parameters[i]=parameters[i].replace(/^\s\s*/,"").replace(/\s\s*$/,""),parameters[i].length>0&&"#"!=parameters[i].match("^#")){var pair=parameters[i].split("=");if(pair.length>0){for(var name=decodeURI(pair[0]).replace(/^\s\s*/,"").replace(/\s\s*$/,""),value=1==pair.length?"":pair[1];"\\"==value.match(/\\$/);)value=value.substring(0,value.length-1),value+=parameters[++i].replace(/\s\s*$/,"");for(var s=2;s<pair.length;s++)value+="="+pair[s];if(value=value.replace(/^\s\s*/,"").replace(/\s\s*$/,""),"map"==mode||"both"==mode){var unicodeMatches=value.match(unicodeRE);if(unicodeMatches)for(var u=0;u<unicodeMatches.length;u++)value=value.replace(unicodeMatches[u],unescapeUnicode(unicodeMatches[u]));$.i18n.map[name]=value}if("vars"==mode||"both"==mode)if(value=value.replace(/"/g,'\\"'),checkKeyNamespace(name),regPlaceHolder.test(value)){for(var parts=value.split(regPlaceHolder),first=!0,fnArgs="",usedArgs=[],p=0;p<parts.length;p++)!regPlaceHolder.test(parts[p])||0!=usedArgs.length&&-1!=usedArgs.indexOf(parts[p])||(first||(fnArgs+=","),fnArgs+=parts[p].replace(regRepPlaceHolder,"v$1"),usedArgs.push(parts[p]),first=!1);parsed+=name+"=function("+fnArgs+"){";var fnExpr='"'+value.replace(regRepPlaceHolder,'"+v$1+"')+'"';parsed+="return "+fnExpr+";};"}else parsed+=name+'="'+value+'";'}}eval(parsed)}function checkKeyNamespace(key){var regDot=/\./;if(regDot.test(key))for(var fullname="",names=key.split(/\./),i=0;i<names.length;i++)i>0&&(fullname+="."),fullname+=names[i],eval("typeof "+fullname+' == "undefined"')&&eval(fullname+"={};")}function getFiles(e){return e&&e.constructor==Array?e:[e]}function unescapeUnicode(e){var a=[],r=parseInt(e.substr(2),16);r>=0&&r<Math.pow(2,16)&&a.push(r);for(var t="",n=0;n<a.length;++n)t+=String.fromCharCode(a[n]);return t}$.i18n={},$.i18n.map={},$.i18n.properties=function(e){var a={name:"Messages",language:"",path:"",mode:"vars",cache:!1,encoding:"UTF-8",async:!1,checkAvailableLanguages:!1,callback:null};e=$.extend(a,e),e.language=this.normaliseLanguageCode(e.language);var r=function(a){e.totalFiles=0,e.filesLoaded=0;var r=getFiles(e.name);if(e.async)for(var t=0,n=r.length;n>t;t++){e.totalFiles+=1;var s=e.language.substring(0,2);if(0!=a.length&&-1==$.inArray(s,a)||(e.totalFiles+=1),e.language.length>=5){var l=e.language.substring(0,5);0!=a.length&&-1==$.inArray(l,a)||(e.totalFiles+=1)}}for(var i=0,g=r.length;g>i;i++){loadAndParseFile(e.path+r[i]+".properties",e);var s=e.language.substring(0,2);if(0!=a.length&&-1==$.inArray(s,a)||loadAndParseFile(e.path+r[i]+"_"+s+".properties",e),e.language.length>=5){var l=e.language.substring(0,5);0!=a.length&&-1==$.inArray(l,a)||loadAndParseFile(e.path+r[i]+"_"+l+".properties",e)}}e.callback&&!e.async&&e.callback()};e.checkAvailableLanguages?$.ajax({url:e.path+"languages.json",async:e.async,cache:!1,success:function(e,a,t){r(e.languages||[])}}):r([])},$.i18n.prop=function(e){var a=$.i18n.map[e];if(null==a)return"["+e+"]";var r;2==arguments.length&&$.isArray(arguments[1])&&(r=arguments[1]);var t;if("string"==typeof a){for(t=0;-1!=(t=a.indexOf("\\",t));)a="t"==a.charAt(t+1)?a.substring(0,t)+"\t"+a.substring(2+t++):"r"==a.charAt(t+1)?a.substring(0,t)+"\r"+a.substring(2+t++):"n"==a.charAt(t+1)?a.substring(0,t)+"\n"+a.substring(2+t++):"f"==a.charAt(t+1)?a.substring(0,t)+"\f"+a.substring(2+t++):"\\"==a.charAt(t+1)?a.substring(0,t)+"\\"+a.substring(2+t++):a.substring(0,t)+a.substring(t+1);var n,s,l=[];for(t=0;t<a.length;)if("'"==a.charAt(t))if(t==a.length-1)a=a.substring(0,t);else if("'"==a.charAt(t+1))a=a.substring(0,t)+a.substring(++t);else{for(n=t+2;-1!=(n=a.indexOf("'",n));){if(n==a.length-1||"'"!=a.charAt(n+1)){a=a.substring(0,t)+a.substring(t+1,n)+a.substring(n+1),t=n-1;break}a=a.substring(0,n)+a.substring(++n)}-1==n&&(a=a.substring(0,t)+a.substring(t+1))}else if("{"==a.charAt(t))if(-1==(n=a.indexOf("}",t+1)))t++;else if(s=parseInt(a.substring(t+1,n)),!isNaN(s)&&s>=0){var i=a.substring(0,t);""!=i&&l.push(i),l.push(s),t=0,a=a.substring(n+1)}else t=n+1;else t++;""!=a&&l.push(a),a=l,$.i18n.map[e]=l}if(0==a.length)return"";if(1==a.length&&"string"==typeof a[0])return a[0];var g="";for(t=0;t<a.length;t++)g+="string"==typeof a[t]?a[t]:r&&a[t]<r.length?r[a[t]]:!r&&a[t]+1<arguments.length?arguments[a[t]+1]:"{"+a[t]+"}";return g},$.i18n.normaliseLanguageCode=function(e){return(!e||e.length<2)&&(e=navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage||"en"),e=e.toLowerCase(),e=e.replace(/-/,"_"),e.length>3&&(e=e.substring(0,3)+e.substring(3).toUpperCase()),e};var cbSplit;cbSplit||(cbSplit=function(e,a,r){if("[object RegExp]"!==Object.prototype.toString.call(a))return void 0===cbSplit._nativeSplit?e.split(a,r):cbSplit._nativeSplit.call(e,a,r);var t,n,s,l,i=[],g=0,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.sticky?"y":""),a=new RegExp(a.source,c+"g");if(e+="",cbSplit._compliantExecNpcg||(t=new RegExp("^"+a.source+"$(?!\\s)",c)),void 0===r||0>+r)r=1/0;else if(!(r=Math.floor(+r)))return[];for(;(n=a.exec(e))&&!((s=n.index+n[0].length)>g&&(i.push(e.slice(g,n.index)),!cbSplit._compliantExecNpcg&&n.length>1&&n[0].replace(t,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(n[e]=void 0)}),n.length>1&&n.index<e.length&&Array.prototype.push.apply(i,n.slice(1)),l=n[0].length,g=s,i.length>=r));)a.lastIndex===n.index&&a.lastIndex++;return g===e.length?!l&&a.test("")||i.push(""):i.push(e.slice(g)),i.length>r?i.slice(0,r):i},cbSplit._compliantExecNpcg=void 0===/()??/.exec("")[1],cbSplit._nativeSplit=String.prototype.split),String.prototype.split=function(e,a){return cbSplit(this,e,a)}}(jQuery); | ||
!function(e,r){var t,n,a,s,u,l,i,c,o,f,d,p,h,g,b,y,m,M,v,k,z,F,A,x;t=function(e){return new t.prototype.init(e)},"undefined"!=typeof require&&"undefined"!=typeof exports&&"undefined"!=typeof module?module.exports=t:e.Globalize=t,t.cultures={},t.prototype={constructor:t,init:function(e){return this.cultures=t.cultures,this.cultureSelector=e,this}},t.prototype.init.prototype=t.prototype,t.cultures.default={name:"en",englishName:"English",nativeName:"English",isRTL:!1,language:"en",numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSizes:[3],"+":"+","-":"-",NaN:"NaN",negativeInfinity:"-Infinity",positiveInfinity:"Infinity",percent:{pattern:["-n %","n %"],decimals:2,groupSizes:[3],",":",",".":".",symbol:"%"},currency:{pattern:["($n)","$n"],decimals:2,groupSizes:[3],",":",",".":".",symbol:"$"}},calendars:{standard:{name:"Gregorian_USEnglish","/":"/",":":":",firstDay:0,days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December",""],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]},AM:["AM","am","AM"],PM:["PM","pm","PM"],eras:[{name:"A.D.",start:null,offset:0}],twoDigitYearMax:2029,patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",t:"h:mm tt",T:"h:mm:ss tt",f:"dddd, MMMM dd, yyyy h:mm tt",F:"dddd, MMMM dd, yyyy h:mm:ss tt",M:"MMMM dd",Y:"yyyy MMMM",S:"yyyy'-'MM'-'dd'T'HH':'mm':'ss"}}},messages:{}},t.cultures.default.calendar=t.cultures.default.calendars.standard,t.cultures.en=t.cultures.default,t.cultureSelector="en",n=/^0x[a-f0-9]+$/i,a=/^[+\-]?infinity$/i,s=/^[+\-]?\d*\.?\d*(e[+\-]?\d+)?$/,u=/^\s+|\s+$/g,l=function(e,r){if(e.indexOf)return e.indexOf(r);for(var t=0,n=e.length;t<n;t++)if(e[t]===r)return t;return-1},i=function(e,r){return e.substr(e.length-r.length)===r},c=function(){var e,r,t,n,a,s,u=arguments[0]||{},l=1,i=arguments.length,p=!1;for("boolean"==typeof u&&(p=u,u=arguments[1]||{},l=2),"object"==typeof u||f(u)||(u={});l<i;l++)if(null!=(e=arguments[l]))for(r in e)t=u[r],n=e[r],u!==n&&(p&&n&&(d(n)||(a=o(n)))?(a?(a=!1,s=t&&o(t)?t:[]):s=t&&d(t)?t:{},u[r]=c(p,s,n)):void 0!==n&&(u[r]=n));return u},o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},f=function(e){return"[object Function]"===Object.prototype.toString.call(e)},d=function(e){return"[object Object]"===Object.prototype.toString.call(e)},p=function(e,r){return 0===e.indexOf(r)},h=function(e){return(e+"").replace(u,"")},g=function(e){return isNaN(e)?NaN:Math[e<0?"ceil":"floor"](e)},b=function(e,r,t){var n;for(n=e.length;n<r;n+=1)e=t?"0"+e:e+"0";return e},y=function(e,r){for(var t=0,n=!1,a=0,s=e.length;a<s;a++){var u=e.charAt(a);switch(u){case"'":n?r.push("'"):t++,n=!1;break;case"\\":n&&r.push("\\"),n=!n;break;default:r.push(u),n=!1}}return t},m=function(e,r){r=r||"F";var t,n=e.patterns,a=r.length;if(1===a){if(!(t=n[r]))throw"Invalid date format string '"+r+"'.";r=t}else 2===a&&"%"===r.charAt(0)&&(r=r.charAt(1));return r},M=function(e,r,t){function n(e,r){if(e<0)return"-"+n(-e,r);var t,a=e+"";return r>1&&a.length<r?(t=b[r-2]+a,t.substr(t.length-r,r)):t=a}function a(e,r){if(g)return g[r];switch(r){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate();default:throw"Invalid part value "+r}}var s,u=t.calendar,l=u.convert;if(!r||!r.length||"i"===r){if(t&&t.name.length)if(l)s=M(e,u.patterns.F,t);else{var i=new Date(e.getTime()),c=z(e,u.eras);i.setFullYear(F(e,u,c)),s=i.toLocaleString()}else s=e.toString();return s}var o=u.eras,f="s"===r;r=m(u,r),s=[];var d,p,h,g,b=["0","00","000"],v=/([^d]|^)(d|dd)([^d]|$)/g,A=0,x=k();for(!f&&l&&(g=l.fromGregorian(e));;){var S=x.lastIndex,I=x.exec(r),w=r.slice(S,I?I.index:r.length);if(A+=y(w,s),!I)break;if(A%2)s.push(I[0]);else{var C=I[0],D=C.length;switch(C){case"ddd":case"dddd":var H=3===D?u.days.namesAbbr:u.days.names;s.push(H[e.getDay()]);break;case"d":case"dd":p=!0,s.push(n(a(e,2),D));break;case"MMM":case"MMMM":var O=a(e,1);s.push(u.monthsGenitive&&function(){return p||h?p:(p=v.test(r),h=!0,p)}()?u.monthsGenitive[3===D?"namesAbbr":"names"][O]:u.months[3===D?"namesAbbr":"names"][O]);break;case"M":case"MM":s.push(n(a(e,1)+1,D));break;case"y":case"yy":case"yyyy":O=g?g[0]:F(e,u,z(e,o),f),D<4&&(O%=100),s.push(n(O,D));break;case"h":case"hh":d=e.getHours()%12,0===d&&(d=12),s.push(n(d,D));break;case"H":case"HH":s.push(n(e.getHours(),D));break;case"m":case"mm":s.push(n(e.getMinutes(),D));break;case"s":case"ss":s.push(n(e.getSeconds(),D));break;case"t":case"tt":O=e.getHours()<12?u.AM?u.AM[0]:" ":u.PM?u.PM[0]:" ",s.push(1===D?O.charAt(0):O);break;case"f":case"ff":case"fff":s.push(n(e.getMilliseconds(),3).substr(0,D));break;case"z":case"zz":d=e.getTimezoneOffset()/60,s.push((d<=0?"+":"-")+n(Math.floor(Math.abs(d)),D));break;case"zzz":d=e.getTimezoneOffset()/60,s.push((d<=0?"+":"-")+n(Math.floor(Math.abs(d)),2)+":"+n(Math.abs(e.getTimezoneOffset()%60),2));break;case"g":case"gg":u.eras&&s.push(u.eras[z(e,o)].name);break;case"/":s.push(u["/"]);break;default:throw"Invalid date format pattern '"+C+"'."}}}return s.join("")},function(){var e;e=function(e,r,t){var n=t.groupSizes,a=n[0],s=1,u=Math.pow(10,r),l=Math.round(e*u)/u;isFinite(l)||(l=e),e=l;var i=e+"",c="",o=i.split(/e/i),f=o.length>1?parseInt(o[1],10):0;i=o[0],o=i.split("."),i=o[0],c=o.length>1?o[1]:"";f>0?(c=b(c,f,!1),i+=c.slice(0,f),c=c.substr(f)):f<0&&(f=-f,i=b(i,f+1,!0),c=i.slice(-f,i.length)+c,i=i.slice(0,-f)),c=r>0?t["."]+(c.length>r?c.slice(0,r):b(c,r)):"";for(var d=i.length-1,p=t[","],h="";d>=0;){if(0===a||a>d)return i.slice(0,d+1)+(h.length?p+h+c:c);h=i.slice(d-a+1,d+1)+(h.length?p+h:""),d-=a,s<n.length&&(a=n[s],s++)}return i.slice(0,d+1)+p+h+c},v=function(r,t,n){if(!isFinite(r))return r===1/0?n.numberFormat.positiveInfinity:r===-1/0?n.numberFormat.negativeInfinity:n.numberFormat.NaN;if(!t||"i"===t)return n.name.length?r.toLocaleString():r.toString();t=t||"D";var a,s=n.numberFormat,u=Math.abs(r),l=-1;t.length>1&&(l=parseInt(t.slice(1),10));var i,c=t.charAt(0).toUpperCase();switch(c){case"D":a="n",u=g(u),-1!==l&&(u=b(""+u,l,!0)),r<0&&(u="-"+u);break;case"N":i=s;case"C":i=i||s.currency;case"P":i=i||s.percent,a=r<0?i.pattern[0]:i.pattern[1]||"n",-1===l&&(l=i.decimals),u=e(u*("P"===c?100:1),l,i);break;default:throw"Bad number format specifier: "+c}for(var o=/n|\$|-|%/g,f="";;){var d=o.lastIndex,p=o.exec(a);if(f+=a.slice(d,p?p.index:a.length),!p)break;switch(p[0]){case"n":f+=u;break;case"$":f+=s.currency.symbol;break;case"-":/[1-9]/.test(u)&&(f+=s["-"]);break;case"%":f+=s.percent.symbol}}return f}}(),k=function(){return/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g},z=function(e,r){if(!r)return 0;for(var t,n=e.getTime(),a=0,s=r.length;a<s;a++)if(null===(t=r[a].start)||n>=t)return a;return 0},F=function(e,r,t,n){var a=e.getFullYear();return!n&&r.eras&&(a-=r.eras[t].offset),a},function(){var e,r,t,n,a,s,u;e=function(e,r){if(r<100){var t=new Date,n=z(t),a=F(t,e,n),s=e.twoDigitYearMax;s="string"==typeof s?(new Date).getFullYear()%100+parseInt(s,10):s,r+=a-a%100,r>s&&(r-=100)}return r},r=function(e,r,t){var n,a=e.days,i=e._upperDays;return i||(e._upperDays=i=[u(a.names),u(a.namesAbbr),u(a.namesShort)]),r=s(r),t?-1===(n=l(i[1],r))&&(n=l(i[2],r)):n=l(i[0],r),n},t=function(e,r,t){var n=e.months,a=e.monthsGenitive||e.months,i=e._upperMonths,c=e._upperMonthsGen;i||(e._upperMonths=i=[u(n.names),u(n.namesAbbr)],e._upperMonthsGen=c=[u(a.names),u(a.namesAbbr)]),r=s(r);var o=l(t?i[1]:i[0],r);return o<0&&(o=l(t?c[1]:c[0],r)),o},n=function(e,r){var t=e._parseRegExp;if(t){var n=t[r];if(n)return n}else e._parseRegExp=t={};for(var a,s=m(e,r).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1"),u=["^"],l=[],i=0,c=0,o=k();null!==(a=o.exec(s));){var f=s.slice(i,a.index);if(i=o.lastIndex,(c+=y(f,u))%2)u.push(a[0]);else{var d,p=a[0],h=p.length;switch(p){case"dddd":case"ddd":case"MMMM":case"MMM":case"gg":case"g":d="(\\D+)";break;case"tt":case"t":d="(\\D*)";break;case"yyyy":case"fff":case"ff":case"f":d="(\\d{"+h+"})";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":d="(\\d\\d?)";break;case"zzz":d="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":d="([+-]?\\d\\d?)";break;case"/":d="(\\/)";break;default:throw"Invalid date format pattern '"+p+"'."}d&&u.push(d),l.push(a[0])}}y(s.slice(i),u),u.push("$");var g=u.join("").replace(/\s+/g,"\\s+"),b={regExp:g,groups:l};return t[r]=b},a=function(e,r,t){return e<r||e>t},s=function(e){return e.split(" ").join(" ").toUpperCase()},u=function(e){for(var r=[],t=0,n=e.length;t<n;t++)r[t]=s(e[t]);return r},A=function(s,u,l){s=h(s);var i=l.calendar,c=n(i,u),o=new RegExp(c.regExp).exec(s);if(null===o)return null;for(var f,d=c.groups,g=null,b=null,y=null,m=null,M=null,v=0,k=0,z=0,F=0,A=null,x=!1,S=0,I=d.length;S<I;S++){var w=o[S+1];if(w){var C=d[S],D=C.length,H=parseInt(w,10);switch(C){case"dd":case"d":if(m=H,a(m,1,31))return null;break;case"MMM":case"MMMM":if(y=t(i,w,3===D),a(y,0,11))return null;break;case"M":case"MM":if(y=H-1,a(y,0,11))return null;break;case"y":case"yy":case"yyyy":if(b=D<4?e(i,H):H,a(b,0,9999))return null;break;case"h":case"hh":if(v=H,12===v&&(v=0),a(v,0,11))return null;break;case"H":case"HH":if(v=H,a(v,0,23))return null;break;case"m":case"mm":if(k=H,a(k,0,59))return null;break;case"s":case"ss":if(z=H,a(z,0,59))return null;break;case"tt":case"t":if(!(x=i.PM&&(w===i.PM[0]||w===i.PM[1]||w===i.PM[2]))&&(!i.AM||w!==i.AM[0]&&w!==i.AM[1]&&w!==i.AM[2]))return null;break;case"f":case"ff":case"fff":if(F=H*Math.pow(10,3-D),a(F,0,999))return null;break;case"ddd":case"dddd":if(M=r(i,w,3===D),a(M,0,6))return null;break;case"zzz":var O=w.split(/:/);if(2!==O.length)return null;if(f=parseInt(O[0],10),a(f,-12,13))return null;var N=parseInt(O[1],10);if(a(N,0,59))return null;A=60*f+(p(w,"-")?-N:N);break;case"z":case"zz":if(f=H,a(f,-12,13))return null;A=60*f;break;case"g":case"gg":var T=w;if(!T||!i.eras)return null;T=h(T.toLowerCase());for(var j=0,$=i.eras.length;j<$;j++)if(T===i.eras[j].name.toLowerCase()){g=j;break}if(null===g)return null}}}var P,G=new Date,E=i.convert;if(P=E?E.fromGregorian(G)[0]:G.getFullYear(),null===b?b=P:i.eras&&(b+=i.eras[g||0].offset),null===y&&(y=0),null===m&&(m=1),E){if(null===(G=E.toGregorian(b,y,m)))return null}else{if(G.setFullYear(b,y,m),G.getDate()!==m)return null;if(null!==M&&G.getDay()!==M)return null}if(x&&v<12&&(v+=12),G.setHours(v,k,z,F),null!==A){var Y=G.getMinutes()-(A+G.getTimezoneOffset());G.setHours(G.getHours()+parseInt(Y/60,10),Y%60)}return G}}(),x=function(e,r,t){var n,a=r["-"],s=r["+"];switch(t){case"n -":a=" "+a,s=" "+s;case"n-":i(e,a)?n=["-",e.substr(0,e.length-a.length)]:i(e,s)&&(n=["+",e.substr(0,e.length-s.length)]);break;case"- n":a+=" ",s+=" ";case"-n":p(e,a)?n=["-",e.substr(a.length)]:p(e,s)&&(n=["+",e.substr(s.length)]);break;case"(n)":p(e,"(")&&i(e,")")&&(n=["-",e.substr(1,e.length-2)])}return n||["",e]},t.prototype.findClosestCulture=function(e){return t.findClosestCulture.call(this,e)},t.prototype.format=function(e,r,n){return t.format.call(this,e,r,n)},t.prototype.localize=function(e,r){return t.localize.call(this,e,r)},t.prototype.parseInt=function(e,r,n){return t.parseInt.call(this,e,r,n)},t.prototype.parseFloat=function(e,r,n){return t.parseFloat.call(this,e,r,n)},t.prototype.culture=function(e){return t.culture.call(this,e)},t.addCultureInfo=function(e,r,t){var n={},a=!1;"string"!=typeof e?(t=e,e=this.culture().name,n=this.cultures[e]):"string"!=typeof r?(t=r,a=null==this.cultures[e],n=this.cultures[e]||this.cultures.default):(a=!0,n=this.cultures[r]),this.cultures[e]=c(!0,{},n,t),a&&(this.cultures[e].calendar=this.cultures[e].calendars.standard)},t.findClosestCulture=function(e){var r;if(!e)return this.findClosestCulture(this.cultureSelector)||this.cultures.default;if("string"==typeof e&&(e=e.split(",")),o(e)){var t,n,a=this.cultures,s=e,u=s.length,l=[];for(n=0;n<u;n++){e=h(s[n]);var i,c=e.split(";");t=h(c[0]),1===c.length?i=1:(e=h(c[1]),0===e.indexOf("q=")?(e=e.substr(2),i=parseFloat(e),i=isNaN(i)?0:i):i=1),l.push({lang:t,pri:i})}for(l.sort(function(e,r){return e.pri<r.pri?1:e.pri>r.pri?-1:0}),n=0;n<u;n++)if(t=l[n].lang,r=a[t])return r;for(n=0;n<u;n++)for(t=l[n].lang;;){var f=t.lastIndexOf("-");if(-1===f)break;if(t=t.substr(0,f),r=a[t])return r}for(n=0;n<u;n++){t=l[n].lang;for(var d in a){var p=a[d];if(p.language==t)return p}}}else if("object"==typeof e)return e;return r||null},t.format=function(e,r,t){var n=this.findClosestCulture(t);return e instanceof Date?e=M(e,r,n):"number"==typeof e&&(e=v(e,r,n)),e},t.localize=function(e,r){return this.findClosestCulture(r).messages[e]||this.cultures.default.messages[e]},t.parseDate=function(e,r,t){t=this.findClosestCulture(t);var n,a,s;if(r){if("string"==typeof r&&(r=[r]),r.length)for(var u=0,l=r.length;u<l;u++){var i=r[u];if(i&&(n=A(e,i,t)))break}}else{s=t.calendar.patterns;for(a in s)if(n=A(e,s[a],t))break}return n||null},t.parseInt=function(e,r,n){return g(t.parseFloat(e,r,n))},t.parseFloat=function(e,r,t){"number"!=typeof r&&(t=r,r=10);var u=this.findClosestCulture(t),l=NaN,i=u.numberFormat;if(e.indexOf(u.numberFormat.currency.symbol)>-1&&(e=e.replace(u.numberFormat.currency.symbol,""),e=e.replace(u.numberFormat.currency["."],u.numberFormat["."])),e.indexOf(u.numberFormat.percent.symbol)>-1&&(e=e.replace(u.numberFormat.percent.symbol,"")),e=e.replace(/ /g,""),a.test(e))l=parseFloat(e);else if(!r&&n.test(e))l=parseInt(e,16);else{var c=x(e,i,i.pattern[0]),o=c[0],f=c[1];""===o&&"(n)"!==i.pattern[0]&&(c=x(e,i,"(n)"),o=c[0],f=c[1]),""===o&&"-n"!==i.pattern[0]&&(c=x(e,i,"-n"),o=c[0],f=c[1]),o=o||"+";var d,p,h=f.indexOf("e");h<0&&(h=f.indexOf("E")),h<0?(p=f,d=null):(p=f.substr(0,h),d=f.substr(h+1));var g,b,y=i["."],m=p.indexOf(y);m<0?(g=p,b=null):(g=p.substr(0,m),b=p.substr(m+y.length));var M=i[","];g=g.split(M).join("");var v=M.replace(/\u00A0/g," ");M!==v&&(g=g.split(v).join(""));var k=o+g;if(null!==b&&(k+="."+b),null!==d){var z=x(d,i,"-n");k+="e"+(z[0]||"+")+z[1]}s.test(k)&&(l=parseFloat(k))}return l},t.culture=function(e){return void 0!==e&&(this.cultureSelector=e),this.findClosestCulture(e)||this.cultures.default}}(this); | ||
!function(e,n){var i;i="undefined"!=typeof require&&"undefined"!=typeof exports&&"undefined"!=typeof module?require("globalize"):e.Globalize,i.addCultureInfo("en-US","default",{name:"en-US",englishName:"English (United States)"})}(this); | ||
Object.is||Object.defineProperty(Object,"is",{value:function(e,r){return e===r?0!==e||1/e==1/r:e!==e&&r!==r},configurable:!0,enumerable:!1,writable:!0}); | ||
!function(){"use strict";var o=o||{};window.NationalInstruments=o,o.HtmlVI={},o.HtmlVI.Elements={},o.JQXElement={},o.HtmlVI.NISupport={};var e=o.HtmlVI.NISupport;e.defineConstReference=function(o,e,n){Object.defineProperty(o,e,{configurable:!1,enumerable:!1,writable:!1,value:n})};var n=function(){};e.log=console.log.bind(console),e.error=console.error.bind(console),e.debug=console.debug.bind(console),e.info=console.info.bind(console),e.group=console.group.bind(console),e.groupEnd=console.groupEnd.bind(console),e.defineConstReference(e,"VERBOSE",!0),e.defineConstReference(e,"VERBOSE_INFO",!0),e.logVerbose=e.VERBOSE?console.log.bind(console):n,e.errorVerbose=e.VERBOSE?console.error.bind(console):n,e.debugVerbose=e.VERBOSE?console.debug.bind(console):n,e.infoVerbose=e.VERBOSE&&e.VERBOSE_INFO?console.info.bind(console):n,e.groupVerbose=e.VERBOSE?console.group.bind(console):n,e.groupEndVerbose=e.VERBOSE?console.groupEnd.bind(console):n,e.uniqueId=function(){return"_"+Math.random().toString(36).substr(2,9)},function(){var o=document.createElement("div");e.escapeHtml=function(e){return o.textContent=e,o.innerHTML}}(),o.HtmlVI.EventsEnum=Object.freeze({NONE:0,CLICK:1,VALUE_CHANGE:2,RIGHT_CLICK:3,BUTTON_CLICK:4})}(),NationalInstruments.HtmlVI.NISupport.inheritFromParent=function(o,e){var n=NationalInstruments.HtmlVI.NISupport;if(Object.keys(o.prototype).length>0)throw new Error("Properties added to the constructor function prototype object are lost during function invocation. Add after function invocation");try{o.prototype=Object.create(e.prototype),o.prototype.constructor=o}catch(o){n.log(o.message)}return o.prototype}; | ||
!function($){function callbackIfComplete(e){e.async&&(e.filesLoaded+=1,e.filesLoaded===e.totalFiles&&e.callback&&e.callback())}function loadAndParseFile(t,n){$.ajax({url:t,async:n.async,cache:n.cache,dataType:"text",success:function(e,a){parseData(e,n.mode),callbackIfComplete(n)},error:function(e,a,r){console.log("Failed to download or parse "+t),callbackIfComplete(n)}})}function parseData(data,mode){for(var parsed="",parameters=data.split(/\n/),regPlaceHolder=/(\{\d+})/g,regRepPlaceHolder=/\{(\d+)}/g,unicodeRE=/(\\u.{4})/gi,i=0;i<parameters.length;i++)if(parameters[i]=parameters[i].replace(/^\s\s*/,"").replace(/\s\s*$/,""),0<parameters[i].length&&"#"!=parameters[i].match("^#")){var pair=parameters[i].split("=");if(0<pair.length){for(var name=decodeURI(pair[0]).replace(/^\s\s*/,"").replace(/\s\s*$/,""),value=1==pair.length?"":pair[1];"\\"==value.match(/\\$/);)value=value.substring(0,value.length-1),value+=parameters[++i].replace(/\s\s*$/,"");for(var s=2;s<pair.length;s++)value+="="+pair[s];if(value=value.replace(/^\s\s*/,"").replace(/\s\s*$/,""),"map"==mode||"both"==mode){var unicodeMatches=value.match(unicodeRE);if(unicodeMatches)for(var u=0;u<unicodeMatches.length;u++)value=value.replace(unicodeMatches[u],unescapeUnicode(unicodeMatches[u]));$.i18n.map[name]=value}if("vars"==mode||"both"==mode)if(value=value.replace(/"/g,'\\"'),checkKeyNamespace(name),regPlaceHolder.test(value)){for(var parts=value.split(regPlaceHolder),first=!0,fnArgs="",usedArgs=[],p=0;p<parts.length;p++)!regPlaceHolder.test(parts[p])||0!=usedArgs.length&&-1!=usedArgs.indexOf(parts[p])||(first||(fnArgs+=","),fnArgs+=parts[p].replace(regRepPlaceHolder,"v$1"),usedArgs.push(parts[p]),first=!1);parsed+=name+"=function("+fnArgs+"){";var fnExpr='"'+value.replace(regRepPlaceHolder,'"+v$1+"')+'"';parsed+="return "+fnExpr+";};"}else parsed+=name+'="'+value+'";'}}eval(parsed)}function checkKeyNamespace(key){var regDot=/\./;if(regDot.test(key))for(var fullname="",names=key.split(/\./),i=0;i<names.length;i++)0<i&&(fullname+="."),fullname+=names[i],eval("typeof "+fullname+' == "undefined"')&&eval(fullname+"={};")}function getFiles(e){return e&&e.constructor==Array?e:[e]}function unescapeUnicode(e){var a=[],r=parseInt(e.substr(2),16);0<=r&&r<Math.pow(2,16)&&a.push(r);for(var t="",n=0;n<a.length;++n)t+=String.fromCharCode(a[n]);return t}var cbSplit;$.i18n={},$.i18n.map={},$.i18n.properties=function(g){(g=$.extend({name:"Messages",language:"",path:"",mode:"vars",cache:!1,encoding:"UTF-8",async:!1,checkAvailableLanguages:!1,callback:null},g)).language=this.normaliseLanguageCode(g.language);function t(e){g.totalFiles=0,g.filesLoaded=0;var a=getFiles(g.name);if(g.async)for(var r=0,t=a.length;r<t;r++){g.totalFiles+=1;var n=g.language.substring(0,2);if(0!=e.length&&-1==$.inArray(n,e)||(g.totalFiles+=1),5<=g.language.length){var s=g.language.substring(0,5);0!=e.length&&-1==$.inArray(s,e)||(g.totalFiles+=1)}}for(var l=0,i=a.length;l<i;l++){loadAndParseFile(g.path+a[l]+".properties",g);n=g.language.substring(0,2);if(0!=e.length&&-1==$.inArray(n,e)||loadAndParseFile(g.path+a[l]+"_"+n+".properties",g),5<=g.language.length){s=g.language.substring(0,5);0!=e.length&&-1==$.inArray(s,e)||loadAndParseFile(g.path+a[l]+"_"+s+".properties",g)}}g.callback&&!g.async&&g.callback()}g.checkAvailableLanguages?$.ajax({url:g.path+"languages.json",async:g.async,cache:!1,success:function(e,a,r){t(e.languages||[])}}):t([])},$.i18n.prop=function(e){var a,r,t=$.i18n.map[e];if(null==t)return"["+e+"]";if(2==arguments.length&&$.isArray(arguments[1])&&(a=arguments[1]),"string"==typeof t){for(r=0;-1!=(r=t.indexOf("\\",r));)t="t"==t.charAt(r+1)?t.substring(0,r)+"\t"+t.substring(2+r++):"r"==t.charAt(r+1)?t.substring(0,r)+"\r"+t.substring(2+r++):"n"==t.charAt(r+1)?t.substring(0,r)+"\n"+t.substring(2+r++):"f"==t.charAt(r+1)?t.substring(0,r)+"\f"+t.substring(2+r++):"\\"==t.charAt(r+1)?t.substring(0,r)+"\\"+t.substring(2+r++):t.substring(0,r)+t.substring(r+1);var n,s,l=[];for(r=0;r<t.length;)if("'"==t.charAt(r))if(r==t.length-1)t=t.substring(0,r);else if("'"==t.charAt(r+1))t=t.substring(0,r)+t.substring(++r);else{for(n=r+2;-1!=(n=t.indexOf("'",n));){if(n==t.length-1||"'"!=t.charAt(n+1)){t=t.substring(0,r)+t.substring(r+1,n)+t.substring(n+1),r=n-1;break}t=t.substring(0,n)+t.substring(++n)}-1==n&&(t=t.substring(0,r)+t.substring(r+1))}else if("{"==t.charAt(r))if(-1==(n=t.indexOf("}",r+1)))r++;else if(s=parseInt(t.substring(r+1,n)),!isNaN(s)&&0<=s){var i=t.substring(0,r);""!=i&&l.push(i),l.push(s),r=0,t=t.substring(n+1)}else r=n+1;else r++;""!=t&&l.push(t),t=l,$.i18n.map[e]=l}if(0==t.length)return"";if(1==t.length&&"string"==typeof t[0])return t[0];var g="";for(r=0;r<t.length;r++)g+="string"==typeof t[r]?t[r]:a&&t[r]<a.length?a[t[r]]:!a&&t[r]+1<arguments.length?arguments[t[r]+1]:"{"+t[r]+"}";return g},$.i18n.normaliseLanguageCode=function(e){return(!e||e.length<2)&&(e=navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage||"en"),3<(e=(e=e.toLowerCase()).replace(/-/,"_")).length&&(e=e.substring(0,3)+e.substring(3).toUpperCase()),e},cbSplit||(cbSplit=function(e,a,r){if("[object RegExp]"!==Object.prototype.toString.call(a))return void 0===cbSplit._nativeSplit?e.split(a,r):cbSplit._nativeSplit.call(e,a,r);var t,n,s,l,i=[],g=0,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.sticky?"y":"");a=new RegExp(a.source,c+"g");if(e+="",cbSplit._compliantExecNpcg||(t=new RegExp("^"+a.source+"$(?!\\s)",c)),void 0===r||+r<0)r=1/0;else if(!(r=Math.floor(+r)))return[];for(;(n=a.exec(e))&&!(g<(s=n.index+n[0].length)&&(i.push(e.slice(g,n.index)),!cbSplit._compliantExecNpcg&&1<n.length&&n[0].replace(t,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(n[e]=void 0)}),1<n.length&&n.index<e.length&&Array.prototype.push.apply(i,n.slice(1)),l=n[0].length,g=s,i.length>=r));)a.lastIndex===n.index&&a.lastIndex++;return g===e.length?!l&&a.test("")||i.push(""):i.push(e.slice(g)),i.length>r?i.slice(0,r):i},cbSplit._compliantExecNpcg=void 0===/()??/.exec("")[1],cbSplit._nativeSplit=String.prototype.split),String.prototype.split=function(e,a){return cbSplit(this,e,a)}}(jQuery); | ||
!function(e){var n,v,k,z,r,i,u,o,p,f,d,T,j,h,g,I,w,C,a,D,H,O,c,F,b,$,P,G,E,Y,y,m;n=function(e){return new n.prototype.init(e)},"undefined"!=typeof require&&"undefined"!=typeof exports&&"undefined"!=typeof module?module.exports=n:e.Globalize=n,n.cultures={},n.prototype={constructor:n,init:function(e){return this.cultures=n.cultures,this.cultureSelector=e,this}},n.prototype.init.prototype=n.prototype,n.cultures.default={name:"en",englishName:"English",nativeName:"English",isRTL:!1,language:"en",numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSizes:[3],"+":"+","-":"-",NaN:"NaN",negativeInfinity:"-Infinity",positiveInfinity:"Infinity",percent:{pattern:["-n %","n %"],decimals:2,groupSizes:[3],",":",",".":".",symbol:"%"},currency:{pattern:["($n)","$n"],decimals:2,groupSizes:[3],",":",",".":".",symbol:"$"}},calendars:{standard:{name:"Gregorian_USEnglish","/":"/",":":":",firstDay:0,days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December",""],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]},AM:["AM","am","AM"],PM:["PM","pm","PM"],eras:[{name:"A.D.",start:null,offset:0}],twoDigitYearMax:2029,patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",t:"h:mm tt",T:"h:mm:ss tt",f:"dddd, MMMM dd, yyyy h:mm tt",F:"dddd, MMMM dd, yyyy h:mm:ss tt",M:"MMMM dd",Y:"yyyy MMMM",S:"yyyy'-'MM'-'dd'T'HH':'mm':'ss"}}},messages:{}},n.cultures.default.calendar=n.cultures.default.calendars.standard,n.cultures.en=n.cultures.default,n.cultureSelector="en",v=/^0x[a-f0-9]+$/i,k=/^[+\-]?infinity$/i,z=/^[+\-]?\d*\.?\d*(e[+\-]?\d+)?$/,r=/^\s+|\s+$/g,i=function(e,r){if(e.indexOf)return e.indexOf(r);for(var t=0,n=e.length;t<n;t++)if(e[t]===r)return t;return-1},u=function(e,r){return e.substr(e.length-r.length)===r},o=function(){var e,r,t,n,a,s,u=arguments[0]||{},l=1,i=arguments.length,c=!1;for("boolean"==typeof u&&(c=u,u=arguments[1]||{},l=2),"object"==typeof u||f(u)||(u={});l<i;l++)if(null!=(e=arguments[l]))for(r in e)t=u[r],u!==(n=e[r])&&(c&&n&&(d(n)||(a=p(n)))?(s=a?(a=!1,t&&p(t)?t:[]):t&&d(t)?t:{},u[r]=o(c,s,n)):void 0!==n&&(u[r]=n));return u},p=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},f=function(e){return"[object Function]"===Object.prototype.toString.call(e)},d=function(e){return"[object Object]"===Object.prototype.toString.call(e)},T=function(e,r){return 0===e.indexOf(r)},j=function(e){return(e+"").replace(r,"")},h=function(e){return isNaN(e)?NaN:Math[e<0?"ceil":"floor"](e)},g=function(e,r,t){var n;for(n=e.length;n<r;n+=1)e=t?"0"+e:e+"0";return e},I=function(e,r){for(var t=0,n=!1,a=0,s=e.length;a<s;a++){var u=e.charAt(a);switch(u){case"'":n?r.push("'"):t++,n=!1;break;case"\\":n&&r.push("\\"),n=!n;break;default:r.push(u),n=!1}}return t},w=function(e,r){r=r||"F";var t,n=e.patterns,a=r.length;if(1===a){if(!(t=n[r]))throw"Invalid date format string '"+r+"'.";r=t}else 2===a&&"%"===r.charAt(0)&&(r=r.charAt(1));return r},C=function(e,r,t){var n,a=t.calendar,s=a.convert;if(!r||!r.length||"i"===r){if(t&&t.name.length)if(s)n=C(e,a.patterns.F,t);else{var u=new Date(e.getTime()),l=H(e,a.eras);u.setFullYear(O(e,a,l)),n=u.toLocaleString()}else n=e.toString();return n}var i=a.eras,c="s"===r;r=w(a,r),n=[];var o,f,d,p,h=["0","00","000"],g=/([^d]|^)(d|dd)([^d]|$)/g,b=0,y=D();function m(e,r){if(e<0)return"-"+m(-e,r);var t,n=e+"";return 1<r&&n.length<r?(t=h[r-2]+n).substr(t.length-r,r):t=n}function M(e,r){if(p)return p[r];switch(r){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate();default:throw"Invalid part value "+r}}for(!c&&s&&(p=s.fromGregorian(e));;){var v=y.lastIndex,k=y.exec(r),z=r.slice(v,k?k.index:r.length);if(b+=I(z,n),!k)break;if(b%2)n.push(k[0]);else{var F=k[0],A=F.length;switch(F){case"ddd":case"dddd":var x=3===A?a.days.namesAbbr:a.days.names;n.push(x[e.getDay()]);break;case"d":case"dd":f=!0,n.push(m(M(e,2),A));break;case"MMM":case"MMMM":var S=M(e,1);n.push(a.monthsGenitive&&(f||d||(f=g.test(r),d=!0),f)?a.monthsGenitive[3===A?"namesAbbr":"names"][S]:a.months[3===A?"namesAbbr":"names"][S]);break;case"M":case"MM":n.push(m(M(e,1)+1,A));break;case"y":case"yy":case"yyyy":S=p?p[0]:O(e,a,H(e,i),c),A<4&&(S%=100),n.push(m(S,A));break;case"h":case"hh":0===(o=e.getHours()%12)&&(o=12),n.push(m(o,A));break;case"H":case"HH":n.push(m(e.getHours(),A));break;case"m":case"mm":n.push(m(e.getMinutes(),A));break;case"s":case"ss":n.push(m(e.getSeconds(),A));break;case"t":case"tt":S=e.getHours()<12?a.AM?a.AM[0]:" ":a.PM?a.PM[0]:" ",n.push(1===A?S.charAt(0):S);break;case"f":case"ff":case"fff":n.push(m(e.getMilliseconds(),3).substr(0,A));break;case"z":case"zz":o=e.getTimezoneOffset()/60,n.push((o<=0?"+":"-")+m(Math.floor(Math.abs(o)),A));break;case"zzz":o=e.getTimezoneOffset()/60,n.push((o<=0?"+":"-")+m(Math.floor(Math.abs(o)),2)+":"+m(Math.abs(e.getTimezoneOffset()%60),2));break;case"g":case"gg":a.eras&&n.push(a.eras[H(e,i)].name);break;case"/":n.push(a["/"]);break;default:throw"Invalid date format pattern '"+F+"'."}}}return n.join("")},b=function(e,r,t){var n=t.groupSizes,a=n[0],s=1,u=Math.pow(10,r),l=Math.round(e*u)/u;isFinite(l)||(l=e);var i=(e=l)+"",c="",o=i.split(/e/i),f=1<o.length?parseInt(o[1],10):0;i=(o=(i=o[0]).split("."))[0],c=1<o.length?o[1]:"",0<f?(i+=(c=g(c,f,!1)).slice(0,f),c=c.substr(f)):f<0&&(c=(i=g(i,(f=-f)+1,!0)).slice(-f,i.length)+c,i=i.slice(0,-f)),c=0<r?t["."]+(c.length>r?c.slice(0,r):g(c,r)):"";for(var d=i.length-1,p=t[","],h="";0<=d;){if(0===a||d<a)return i.slice(0,d+1)+(h.length?p+h+c:c);h=i.slice(d-a+1,d+1)+(h.length?p+h:""),d-=a,s<n.length&&(a=n[s],s++)}return i.slice(0,d+1)+p+h+c},a=function(e,r,t){if(!isFinite(e))return e===1/0?t.numberFormat.positiveInfinity:e===-1/0?t.numberFormat.negativeInfinity:t.numberFormat.NaN;if(!r||"i"===r)return t.name.length?e.toLocaleString():e.toString();r=r||"D";var n,a=t.numberFormat,s=Math.abs(e),u=-1;1<r.length&&(u=parseInt(r.slice(1),10));var l,i=r.charAt(0).toUpperCase();switch(i){case"D":n="n",s=h(s),-1!==u&&(s=g(""+s,u,!0)),e<0&&(s="-"+s);break;case"N":l=a;case"C":l=l||a.currency;case"P":l=l||a.percent,n=e<0?l.pattern[0]:l.pattern[1]||"n",-1===u&&(u=l.decimals),s=b(s*("P"===i?100:1),u,l);break;default:throw"Bad number format specifier: "+i}for(var c=/n|\$|-|%/g,o="";;){var f=c.lastIndex,d=c.exec(n);if(o+=n.slice(f,d?d.index:n.length),!d)break;switch(d[0]){case"n":o+=s;break;case"$":o+=a.currency.symbol;break;case"-":/[1-9]/.test(s)&&(o+=a["-"]);break;case"%":o+=a.percent.symbol}}return o},D=function(){return/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g},H=function(e,r){if(!r)return 0;for(var t,n=e.getTime(),a=0,s=r.length;a<s;a++)if(null===(t=r[a].start)||t<=n)return a;return 0},O=function(e,r,t,n){var a=e.getFullYear();return!n&&r.eras&&(a-=r.eras[t].offset),a},$=function(e,r){if(r<100){var t=new Date,n=H(t),a=O(t,e,n),s=e.twoDigitYearMax;(s="string"==typeof s?(new Date).getFullYear()%100+parseInt(s,10):s)<(r+=a-a%100)&&(r-=100)}return r},P=function(e,r,t){var n,a=e.days,s=e._upperDays;return s||(e._upperDays=s=[m(a.names),m(a.namesAbbr),m(a.namesShort)]),r=y(r),t?-1===(n=i(s[1],r))&&(n=i(s[2],r)):n=i(s[0],r),n},G=function(e,r,t){var n=e.months,a=e.monthsGenitive||e.months,s=e._upperMonths,u=e._upperMonthsGen;s||(e._upperMonths=s=[m(n.names),m(n.namesAbbr)],e._upperMonthsGen=u=[m(a.names),m(a.namesAbbr)]),r=y(r);var l=i(t?s[1]:s[0],r);return l<0&&(l=i(t?u[1]:u[0],r)),l},E=function(e,r){var t=e._parseRegExp;if(t){var n=t[r];if(n)return n}else e._parseRegExp=t={};for(var a,s=w(e,r).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1"),u=["^"],l=[],i=0,c=0,o=D();null!==(a=o.exec(s));){var f=s.slice(i,a.index);if(i=o.lastIndex,(c+=I(f,u))%2)u.push(a[0]);else{var d,p=a[0],h=p.length;switch(p){case"dddd":case"ddd":case"MMMM":case"MMM":case"gg":case"g":d="(\\D+)";break;case"tt":case"t":d="(\\D*)";break;case"yyyy":case"fff":case"ff":case"f":d="(\\d{"+h+"})";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":d="(\\d\\d?)";break;case"zzz":d="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":d="([+-]?\\d\\d?)";break;case"/":d="(\\/)";break;default:throw"Invalid date format pattern '"+p+"'."}d&&u.push(d),l.push(a[0])}}I(s.slice(i),u),u.push("$");var g={regExp:u.join("").replace(/\s+/g,"\\s+"),groups:l};return t[r]=g},Y=function(e,r,t){return e<r||t<e},y=function(e){return e.split(" ").join(" ").toUpperCase()},m=function(e){for(var r=[],t=0,n=e.length;t<n;t++)r[t]=y(e[t]);return r},c=function(e,r,t){e=j(e);var n=t.calendar,a=E(n,r),s=new RegExp(a.regExp).exec(e);if(null===s)return null;for(var u,l=a.groups,i=null,c=null,o=null,f=null,d=null,p=0,h=0,g=0,b=0,y=null,m=!1,M=0,v=l.length;M<v;M++){var k=s[M+1];if(k){var z=l[M],F=z.length,A=parseInt(k,10);switch(z){case"dd":case"d":if(Y(f=A,1,31))return null;break;case"MMM":case"MMMM":if(o=G(n,k,3===F),Y(o,0,11))return null;break;case"M":case"MM":if(Y(o=A-1,0,11))return null;break;case"y":case"yy":case"yyyy":if(c=F<4?$(n,A):A,Y(c,0,9999))return null;break;case"h":case"hh":if(12===(p=A)&&(p=0),Y(p,0,11))return null;break;case"H":case"HH":if(Y(p=A,0,23))return null;break;case"m":case"mm":if(Y(h=A,0,59))return null;break;case"s":case"ss":if(Y(g=A,0,59))return null;break;case"tt":case"t":if(!(m=n.PM&&(k===n.PM[0]||k===n.PM[1]||k===n.PM[2]))&&(!n.AM||k!==n.AM[0]&&k!==n.AM[1]&&k!==n.AM[2]))return null;break;case"f":case"ff":case"fff":if(b=A*Math.pow(10,3-F),Y(b,0,999))return null;break;case"ddd":case"dddd":if(d=P(n,k,3===F),Y(d,0,6))return null;break;case"zzz":var x=k.split(/:/);if(2!==x.length)return null;if(u=parseInt(x[0],10),Y(u,-12,13))return null;var S=parseInt(x[1],10);if(Y(S,0,59))return null;y=60*u+(T(k,"-")?-S:S);break;case"z":case"zz":if(Y(u=A,-12,13))return null;y=60*u;break;case"g":case"gg":var I=k;if(!I||!n.eras)return null;I=j(I.toLowerCase());for(var w=0,C=n.eras.length;w<C;w++)if(I===n.eras[w].name.toLowerCase()){i=w;break}if(null===i)return null}}}var D,H=new Date,O=n.convert;if(D=O?O.fromGregorian(H)[0]:H.getFullYear(),null===c?c=D:n.eras&&(c+=n.eras[i||0].offset),null===o&&(o=0),null===f&&(f=1),O){if(null===(H=O.toGregorian(c,o,f)))return null}else{if(H.setFullYear(c,o,f),H.getDate()!==f)return null;if(null!==d&&H.getDay()!==d)return null}if(m&&p<12&&(p+=12),H.setHours(p,h,g,b),null!==y){var N=H.getMinutes()-(y+H.getTimezoneOffset());H.setHours(H.getHours()+parseInt(N/60,10),N%60)}return H},F=function(e,r,t){var n,a=r["-"],s=r["+"];switch(t){case"n -":a=" "+a,s=" "+s;case"n-":u(e,a)?n=["-",e.substr(0,e.length-a.length)]:u(e,s)&&(n=["+",e.substr(0,e.length-s.length)]);break;case"- n":a+=" ",s+=" ";case"-n":T(e,a)?n=["-",e.substr(a.length)]:T(e,s)&&(n=["+",e.substr(s.length)]);break;case"(n)":T(e,"(")&&u(e,")")&&(n=["-",e.substr(1,e.length-2)])}return n||["",e]},n.prototype.findClosestCulture=function(e){return n.findClosestCulture.call(this,e)},n.prototype.format=function(e,r,t){return n.format.call(this,e,r,t)},n.prototype.localize=function(e,r){return n.localize.call(this,e,r)},n.prototype.parseInt=function(e,r,t){return n.parseInt.call(this,e,r,t)},n.prototype.parseFloat=function(e,r,t){return n.parseFloat.call(this,e,r,t)},n.prototype.culture=function(e){return n.culture.call(this,e)},n.addCultureInfo=function(e,r,t){var n={},a=!1;n="string"!=typeof e?(t=e,e=this.culture().name,this.cultures[e]):"string"!=typeof r?(t=r,a=null==this.cultures[e],this.cultures[e]||this.cultures.default):(a=!0,this.cultures[r]),this.cultures[e]=o(!0,{},n,t),a&&(this.cultures[e].calendar=this.cultures[e].calendars.standard)},n.findClosestCulture=function(e){var r;if(!e)return this.findClosestCulture(this.cultureSelector)||this.cultures.default;if("string"==typeof e&&(e=e.split(",")),p(e)){var t,n,a=this.cultures,s=e,u=s.length,l=[];for(n=0;n<u;n++){var i,c=(e=j(s[n])).split(";");t=j(c[0]),i=1===c.length?1:0===(e=j(c[1])).indexOf("q=")?(e=e.substr(2),i=parseFloat(e),isNaN(i)?0:i):1,l.push({lang:t,pri:i})}for(l.sort(function(e,r){return e.pri<r.pri?1:e.pri>r.pri?-1:0}),n=0;n<u;n++)if(r=a[t=l[n].lang])return r;for(n=0;n<u;n++)for(t=l[n].lang;;){var o=t.lastIndexOf("-");if(-1===o)break;if(r=a[t=t.substr(0,o)])return r}for(n=0;n<u;n++)for(var f in t=l[n].lang,a){var d=a[f];if(d.language==t)return d}}else if("object"==typeof e)return e;return r||null},n.format=function(e,r,t){var n=this.findClosestCulture(t);return e instanceof Date?e=C(e,r,n):"number"==typeof e&&(e=a(e,r,n)),e},n.localize=function(e,r){return this.findClosestCulture(r).messages[e]||this.cultures.default.messages[e]},n.parseDate=function(e,r,t){var n,a,s;if(t=this.findClosestCulture(t),r){if("string"==typeof r&&(r=[r]),r.length)for(var u=0,l=r.length;u<l;u++){var i=r[u];if(i&&(n=c(e,i,t)))break}}else for(a in s=t.calendar.patterns)if(n=c(e,s[a],t))break;return n||null},n.parseInt=function(e,r,t){return h(n.parseFloat(e,r,t))},n.parseFloat=function(e,r,t){"number"!=typeof r&&(t=r,r=10);var n=this.findClosestCulture(t),a=NaN,s=n.numberFormat;if(-1<e.indexOf(n.numberFormat.currency.symbol)&&(e=(e=e.replace(n.numberFormat.currency.symbol,"")).replace(n.numberFormat.currency["."],n.numberFormat["."])),-1<e.indexOf(n.numberFormat.percent.symbol)&&(e=e.replace(n.numberFormat.percent.symbol,"")),e=e.replace(/ /g,""),k.test(e))a=parseFloat(e);else if(!r&&v.test(e))a=parseInt(e,16);else{var u=F(e,s,s.pattern[0]),l=u[0],i=u[1];""===l&&"(n)"!==s.pattern[0]&&(l=(u=F(e,s,"(n)"))[0],i=u[1]),""===l&&"-n"!==s.pattern[0]&&(l=(u=F(e,s,"-n"))[0],i=u[1]),l=l||"+";var c,o,f=i.indexOf("e");f<0&&(f=i.indexOf("E")),c=f<0?(o=i,null):(o=i.substr(0,f),i.substr(f+1));var d,p,h=s["."],g=o.indexOf(h);p=g<0?(d=o,null):(d=o.substr(0,g),o.substr(g+h.length));var b=s[","];d=d.split(b).join("");var y=b.replace(/\u00A0/g," ");b!==y&&(d=d.split(y).join(""));var m=l+d;if(null!==p&&(m+="."+p),null!==c){var M=F(c,s,"-n");m+="e"+(M[0]||"+")+M[1]}z.test(m)&&(a=parseFloat(m))}return a},n.culture=function(e){return void 0!==e&&(this.cultureSelector=e),this.findClosestCulture(e)||this.cultures.default}}(this); | ||
!function(e){("undefined"!=typeof require&&"undefined"!=typeof exports&&"undefined"!=typeof module?require("globalize"):e.Globalize).addCultureInfo("en-US","default",{name:"en-US",englishName:"English (United States)"})}(this); | ||
Object.is||Object.defineProperty(Object,"is",{value:function(e,r){return e===r?0!==e||1/e==1/r:e!=e&&r!=r},configurable:!0,enumerable:!1,writable:!0}); | ||
!function(){"use strict";var o=o||{};(window.NationalInstruments=o).HtmlVI={},o.HtmlVI.Elements={},o.JQXElement={},o.HtmlVI.NISupport={};var e=o.HtmlVI.NISupport;e.defineConstReference=function(o,e,n){Object.defineProperty(o,e,{configurable:!1,enumerable:!1,writable:!1,value:n})};function n(){}var t;e.log=console.log.bind(console),e.error=console.error.bind(console),e.debug=console.debug.bind(console),e.info=console.info.bind(console),e.group=console.group.bind(console),e.groupEnd=console.groupEnd.bind(console),e.defineConstReference(e,"VERBOSE",!0),e.defineConstReference(e,"VERBOSE_INFO",!0),e.logVerbose=e.VERBOSE?console.log.bind(console):n,e.errorVerbose=e.VERBOSE?console.error.bind(console):n,e.debugVerbose=e.VERBOSE?console.debug.bind(console):n,e.infoVerbose=e.VERBOSE&&e.VERBOSE_INFO?console.info.bind(console):n,e.groupVerbose=e.VERBOSE?console.group.bind(console):n,e.groupEndVerbose=e.VERBOSE?console.groupEnd.bind(console):n,e.uniqueId=function(){return"_"+Math.random().toString(36).substr(2,9)},t=document.createElement("div"),e.escapeHtml=function(o){return t.textContent=o,t.innerHTML},o.HtmlVI.EventsEnum=Object.freeze({NONE:0,CLICK:1,VALUE_CHANGE:2,RIGHT_CLICK:3,BUTTON_CLICK:4})}(),NationalInstruments.HtmlVI.NISupport.inheritFromParent=function(o,e){var n=NationalInstruments.HtmlVI.NISupport;if(0<Object.keys(o.prototype).length)throw new Error("Properties added to the constructor function prototype object are lost during function invocation. Add after function invocation");try{o.prototype=Object.create(e.prototype),o.prototype.constructor=o}catch(o){n.log(o.message)}return o.prototype}; | ||
!function(){"use strict";NationalInstruments.HtmlVI.TaskTracker=function(t,e){this.remainingTasks=function(t,e){var n,i=Object.keys(t);if("function"!=typeof e)throw new Error("Completion callback function must be provided");if(i.length<1)throw new Error("Must provide an object with at least one property to use as task names");for(n=0;n<i.length;n+=1)if(t[i[n]]!==i[n])throw new Error("Task name properties and values must be identical; the task names object must be an enum style object");return i}(t,e),this.taskNames=t,this.completionCallback=e},NationalInstruments.HtmlVI.TaskTracker.prototype.complete=function(t){var e;if(void 0===this.taskNames[t])throw new Error("Attempted to complete the following invalid task: "+t);if(0!==this.remainingTasks.length){for(e=0;e<this.remainingTasks.length;e+=1)if(this.remainingTasks[e]===t){this.remainingTasks.splice(e,1);break}0===this.remainingTasks.length&&this.completionCallback.call(void 0)}}}(); | ||
!function(n){"use strict";var i=NationalInstruments.HtmlVI.NISupport;window.NIEmbeddedBrowser={},window.NIEmbeddedBrowser.language="en-US",window.NIEmbeddedBrowser.formatLanguage="en-US",i.i18n=void 0,i.InternationalizationInitializer={},i.InternationalizationInitializer.TaskTrackerEnum=Object.freeze({LANGUAGES_LOADED:"LANGUAGES_LOADED",ELEMENT_PROTOTYPES_READY:"ELEMENT_PROTOTYPES_READY"}),i.InternationalizationInitializer.TaskTracker=new NationalInstruments.HtmlVI.TaskTracker(i.InternationalizationInitializer.TaskTrackerEnum,function(){NationalInstruments.JQXElement._registerElements()});var e=i.InternationalizationInitializer.TaskTrackerEnum,a=i.InternationalizationInitializer.TaskTracker;n.i18n.properties({name:window.i18nFiles,language:void 0!==window.engine&&window.engine.IsAttached&&void 0!==window.NIEmbeddedBrowser?window.NIEmbeddedBrowser.language:void 0,path:window.i18nPath,mode:"map",cache:!0,async:!0,callback:function(){if(void 0!==i.i18n)return void i.error("The i18n completion callback is being called multiple times");i.i18n=function(){return n.i18n.prop.apply(n.i18n,arguments)},a.complete(e.LANGUAGES_LOADED)}})}(window.jQuery); | ||
!function(n){"use strict";var i=NationalInstruments.HtmlVI.NISupport;window.NIEmbeddedBrowser={},window.NIEmbeddedBrowser.language="en-US",window.NIEmbeddedBrowser.formatLanguage="en-US",i.i18n=void 0,i.InternationalizationInitializer={},i.InternationalizationInitializer.TaskTrackerEnum=Object.freeze({LANGUAGES_LOADED:"LANGUAGES_LOADED",ELEMENT_PROTOTYPES_READY:"ELEMENT_PROTOTYPES_READY"}),i.InternationalizationInitializer.TaskTracker=new NationalInstruments.HtmlVI.TaskTracker(i.InternationalizationInitializer.TaskTrackerEnum,function(){NationalInstruments.JQXElement._registerElements()});var e=i.InternationalizationInitializer.TaskTrackerEnum,a=i.InternationalizationInitializer.TaskTracker;n.i18n.properties({name:window.i18nFiles,language:void 0!==window.engine&&window.engine.IsAttached&&void 0!==window.NIEmbeddedBrowser?window.NIEmbeddedBrowser.language:void 0,path:window.i18nPath,mode:"map",cache:!0,async:!0,callback:function(){void 0===i.i18n?(i.i18n=function(){return n.i18n.prop.apply(n.i18n,arguments)},a.complete(e.LANGUAGES_LOADED)):i.error("The i18n completion callback is being called multiple times")}})}(window.jQuery); | ||
!function(){"use strict";NationalInstruments.Globals={},NationalInstruments.Globals.jQuery=$}(); | ||
//# sourceMappingURL=element.min.js.map |
{ | ||
"name": "ni-webcharts", | ||
"version": "9.9.5", | ||
"version": "9.9.7", | ||
"description": "webcharts graph, chart, intensity graphs, plots and axes", | ||
@@ -38,3 +38,3 @@ "main": "./dist/es5-minified/webcharts.min.js", | ||
"flot-plugins": "^3.6.0", | ||
"flot-smithchart-plugin": "^1.3.0", | ||
"flot-smithchart-plugin": "^1.7.0", | ||
"jquery": "^3.1.0", | ||
@@ -44,7 +44,6 @@ "ni-data-types": "^1.1.8" | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.8.3", | ||
"babel-cli": "^6.14.0", | ||
"babel-plugin-external-helpers-2": "^6.3.13", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-es2015": "^6.14.0", | ||
"body-parser": "^1.18.3", | ||
@@ -58,3 +57,3 @@ "compression": "^1.7.4", | ||
"karma": "^1.3.0", | ||
"karma-babel-preprocessor": "^7.0.0", | ||
"karma-babel-preprocessor": "^8.0.1", | ||
"karma-chrome-launcher": "^2.0.0", | ||
@@ -65,3 +64,3 @@ "karma-coverage": "^1.1.2", | ||
"karma-eslint": "^2.2.0", | ||
"karma-firefox-launcher": "^1.0.0", | ||
"karma-firefox-launcher": "^1.3.0", | ||
"karma-jasmine": "^1.1.2", | ||
@@ -73,4 +72,4 @@ "karma-jasmine-html-reporter": "^0.2.2", | ||
"travis-github-lint-status": "^1.0.1", | ||
"webcharts-development-settings": "1.0.9" | ||
"webcharts-development-settings": "2.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1450635
26
1615