You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2018/09/21 10:15:31 UTC

[20/70] [abbrv] [partial] jena git commit: JENA-1597: separate jena-fuseki-webapp module

http://git-wip-us.apache.org/repos/asf/jena/blob/e8abcbb6/jena-fuseki2/jena-fuseki-core/src/main/webapp/js/lib/yasr.min.js
----------------------------------------------------------------------
diff --git a/jena-fuseki2/jena-fuseki-core/src/main/webapp/js/lib/yasr.min.js b/jena-fuseki2/jena-fuseki-core/src/main/webapp/js/lib/yasr.min.js
deleted file mode 100644
index ba53e12..0000000
--- a/jena-fuseki2/jena-fuseki-core/src/main/webapp/js/lib/yasr.min.js
+++ /dev/null
@@ -1,8 +0,0 @@
-!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASR=e()}}(function(){var e;return function t(e,r,n){function i(a,s){if(!r[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=r[a]={exports:{}};e[a][0].call(c.exports,function(t){var r=e[a][1][t];return i(r?r:t)},c,c.exports,t,e,r,n)}return r[a].exports}for(var o="function"==typeof require&&require,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(e,t,r){t.exports=e("./main.js")},{"./main.js":30}],2:[function(e,t,r){var n,i=function(){try{return e("jquery")}catch(t){return window.jQuery}}(),o=i(document),a=i("head"),s=null,l=[],u=0,c="id",d="px",f="JColResizer",p=parseInt,g=Math,h=navigat
 or.userAgent.indexOf("Trident/4.0")>0;try{n=sessionStorage}catch(v){}a.append("<style type='text/css'>  .JColResizer{table-layout:fixed;} .JColResizer td, .JColResizer th{overflow:hidden;padding-left:0!important; padding-right:0!important;}  .JCLRgrips{ height:0px; position:relative;} .JCLRgrip{margin-left:-5px; position:absolute; z-index:5; } .JCLRgrip .JColResizer{position:absolute;background-color:red;filter:alpha(opacity=1);opacity:0;width:10px;height:100%;top:0px} .JCLRLastGrip{position:absolute; width:1px; } .JCLRgripDrag{ border-left:1px dotted black;	}</style>");var m=function(e,t){var r=i(e);if(t.disable)return w(r);var n=r.id=r.attr(c)||f+u++;r.p=t.postbackSafe;if(r.is("table")&&!l[n]){r.addClass(f).attr(c,n).before('<div class="JCLRgrips"/>');r.opt=t;r.g=[];r.c=[];r.w=r.width();r.gc=r.prev();t.marginLeft&&r.gc.css("marginLeft",t.marginLeft);t.marginRight&&r.gc.css("marginRight",t.marginRight);r.cs=p(h?e.cellSpacing||e.currentStyle.borderSpacing:r.css("border-spacing"))||2
 ;r.b=p(h?e.border||e.currentStyle.borderLeftWidth:r.css("border-left-width"))||1;l[n]=r;y(r)}},w=function(e){var t=e.attr(c),e=l[t];if(e&&e.is("table")){e.removeClass(f).gc.remove();delete l[t]}},y=function(e){var t=e.find(">thead>tr>th,>thead>tr>td");t.length||(t=e.find(">tbody>tr:first>th,>tr:first>th,>tbody>tr:first>td, >tr:first>td"));e.cg=e.find("col");e.ln=t.length;e.p&&n&&n[e.id]&&b(e,t);t.each(function(t){var r=i(this),n=i(e.gc.append('<div class="JCLRgrip"></div>')[0].lastChild);n.t=e;n.i=t;n.c=r;r.w=r.width();e.g.push(n);e.c.push(r);r.width(r.w).removeAttr("width");t<e.ln-1?n.bind("touchstart mousedown",T).append(e.opt.gripInnerHtml).append('<div class="'+f+'" style="cursor:'+e.opt.hoverCursor+'"></div>'):n.addClass("JCLRLastGrip").removeClass("JCLRgrip");n.data(f,{i:t,t:e.attr(c)})});e.cg.removeAttr("width");x(e);e.find("td, th").not(t).not("table th, table td").each(function(){i(this).removeAttr("width")})},b=function(e,t){var r,i=0,o=0,a=[];if(t){e.cg.removeAttr("width"
 );if(e.opt.flush){n[e.id]="";return}r=n[e.id].split(";");for(;o<e.ln;o++){a.push(100*r[o]/r[e.ln]+"%");t.eq(o).css("width",a[o])}for(o=0;o<e.ln;o++)e.cg.eq(o).css("width",a[o])}else{n[e.id]="";for(;o<e.c.length;o++){r=e.c[o].width();n[e.id]+=r+";";i+=r}n[e.id]+=i}},x=function(e){e.gc.width(e.w);for(var t=0;t<e.ln;t++){var r=e.c[t];e.g[t].css({left:r.offset().left-e.offset().left+r.outerWidth(!1)+e.cs/2+d,height:e.opt.headerOnly?e.c[0].outerHeight(!1):e.outerHeight(!1)})}},k=function(e,t,r){var n=s.x-s.l,i=e.c[t],o=e.c[t+1],a=i.w+n,l=o.w-n;i.width(a+d);o.width(l+d);e.cg.eq(t).width(a+d);e.cg.eq(t+1).width(l+d);if(r){i.w=a;o.w=l}},C=function(e){if(s){var t=s.t;if(e.originalEvent.touches)var r=e.originalEvent.touches[0].pageX-s.ox+s.l;else var r=e.pageX-s.ox+s.l;var n=t.opt.minWidth,i=s.i,o=1.5*t.cs+n+t.b,a=i==t.ln-1?t.w-o:t.g[i+1].position().left-t.cs-n,l=i?t.g[i-1].position().left+t.cs+n:o;r=g.max(l,g.min(a,r));s.x=r;s.css("left",r+d);if(t.opt.liveDrag){k(t,i);x(t);var u=t.opt.onDrag
 ;if(u){e.currentTarget=t[0];u(e)}}return!1}},j=function(e){o.unbind("touchend."+f+" mouseup."+f).unbind("touchmove."+f+" mousemove."+f);i("head :last-child").remove();if(s){s.removeClass(s.t.opt.draggingClass);var t=s.t,r=t.opt.onResize;if(s.x){k(t,s.i,!0);x(t);if(r){e.currentTarget=t[0];r(e)}}t.p&&n&&b(t);s=null}},T=function(e){var t=i(this).data(f),r=l[t.t],n=r.g[t.i];n.ox=e.originalEvent.touches?e.originalEvent.touches[0].pageX:e.pageX;n.l=n.position().left;o.bind("touchmove."+f+" mousemove."+f,C).bind("touchend."+f+" mouseup."+f,j);a.append("<style type='text/css'>*{cursor:"+r.opt.dragCursor+"!important}</style>");n.addClass(r.opt.draggingClass);s=n;if(r.c[t.i].l)for(var u,c=0;c<r.ln;c++){u=r.c[c];u.l=!1;u.w=u.width()}return!1},L=function(){for(t in l){var e,t=l[t],r=0;t.removeClass(f);if(t.w!=t.width()){t.w=t.width();for(e=0;e<t.ln;e++)r+=t.c[e].w;for(e=0;e<t.ln;e++)t.c[e].css("width",g.round(1e3*t.c[e].w/r)/10+"%").l=!0}x(t.addClass(f))}};i(window).bind("resize."+f,L);i.fn.ext
 end({colResizable:function(e){var t={draggingClass:"JCLRgripDrag",gripInnerHtml:"",liveDrag:!1,minWidth:15,headerOnly:!1,hoverCursor:"e-resize",dragCursor:"e-resize",postbackSafe:!1,flush:!1,marginLeft:null,marginRight:null,disable:!1,onDrag:null,onResize:null},e=i.extend(t,e);return this.each(function(){m(this,e)})}})},{jquery:void 0}],3:[function(e,t,r){RegExp.escape=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")};var n=function(){try{return e("jquery")}catch(t){return window.jQuery}}();n.csv={defaults:{separator:",",delimiter:'"',headers:!0},hooks:{castToScalar:function(e,t){var r=/\./;if(isNaN(e))return e;if(r.test(e))return parseFloat(e);var n=parseInt(e);return isNaN(n)?null:n}},parsers:{parse:function(e,t){function r(){l=0;u="";if(t.start&&t.state.rowNum<t.start){s=[];t.state.rowNum++;t.state.colNum=1}else{if(void 0===t.onParseEntry)a.push(s);else{var e=t.onParseEntry(s,t.state);e!==!1&&a.push(e)}s=[];t.end&&t.state.rowNum>=t.end&&(c=!0);t.state.rowNum++;t.stat
 e.colNum=1}}function n(){if(void 0===t.onParseValue)s.push(u);else{var e=t.onParseValue(u,t.state);e!==!1&&s.push(e)}u="";l=0;t.state.colNum++}var i=t.separator,o=t.delimiter;t.state.rowNum||(t.state.rowNum=1);t.state.colNum||(t.state.colNum=1);var a=[],s=[],l=0,u="",c=!1,d=RegExp.escape(i),f=RegExp.escape(o),p=/(D|S|\n|\r|[^DS\r\n]+)/,g=p.source;g=g.replace(/S/g,d);g=g.replace(/D/g,f);p=RegExp(g,"gm");e.replace(p,function(e){if(!c)switch(l){case 0:if(e===i){u+="";n();break}if(e===o){l=1;break}if("\n"===e){n();r();break}if(/^\r$/.test(e))break;u+=e;l=3;break;case 1:if(e===o){l=2;break}u+=e;l=1;break;case 2:if(e===o){u+=e;l=1;break}if(e===i){n();break}if("\n"===e){n();r();break}if(/^\r$/.test(e))break;throw new Error("CSVDataError: Illegal State [Row:"+t.state.rowNum+"][Col:"+t.state.colNum+"]");case 3:if(e===i){n();break}if("\n"===e){n();r();break}if(/^\r$/.test(e))break;if(e===o)throw new Error("CSVDataError: Illegal Quote [Row:"+t.state.rowNum+"][Col:"+t.state.colNum+"]");throw ne
 w Error("CSVDataError: Illegal Data [Row:"+t.state.rowNum+"][Col:"+t.state.colNum+"]");default:throw new Error("CSVDataError: Unknown State [Row:"+t.state.rowNum+"][Col:"+t.state.colNum+"]")}});if(0!==s.length){n();r()}return a},splitLines:function(e,t){function r(){a=0;if(t.start&&t.state.rowNum<t.start){s="";t.state.rowNum++}else{if(void 0===t.onParseEntry)o.push(s);else{var e=t.onParseEntry(s,t.state);e!==!1&&o.push(e)}s="";t.end&&t.state.rowNum>=t.end&&(l=!0);t.state.rowNum++}}var n=t.separator,i=t.delimiter;t.state.rowNum||(t.state.rowNum=1);var o=[],a=0,s="",l=!1,u=RegExp.escape(n),c=RegExp.escape(i),d=/(D|S|\n|\r|[^DS\r\n]+)/,f=d.source;f=f.replace(/S/g,u);f=f.replace(/D/g,c);d=RegExp(f,"gm");e.replace(d,function(e){if(!l)switch(a){case 0:if(e===n){s+=e;a=0;break}if(e===i){s+=e;a=1;break}if("\n"===e){r();break}if(/^\r$/.test(e))break;s+=e;a=3;break;case 1:if(e===i){s+=e;a=2;break}s+=e;a=1;break;case 2:var o=s.substr(s.length-1);if(e===i&&o===i){s+=e;a=1;break}if(e===n){s+=e;a
 =0;break}if("\n"===e){r();break}if("\r"===e)break;throw new Error("CSVDataError: Illegal state [Row:"+t.state.rowNum+"]");case 3:if(e===n){s+=e;a=0;break}if("\n"===e){r();break}if("\r"===e)break;if(e===i)throw new Error("CSVDataError: Illegal quote [Row:"+t.state.rowNum+"]");throw new Error("CSVDataError: Illegal state [Row:"+t.state.rowNum+"]");default:throw new Error("CSVDataError: Unknown state [Row:"+t.state.rowNum+"]")}});""!==s&&r();return o},parseEntry:function(e,t){function r(){if(void 0===t.onParseValue)o.push(s);else{var e=t.onParseValue(s,t.state);e!==!1&&o.push(e)}s="";a=0;t.state.colNum++}var n=t.separator,i=t.delimiter;t.state.rowNum||(t.state.rowNum=1);t.state.colNum||(t.state.colNum=1);var o=[],a=0,s="";if(!t.match){var l=RegExp.escape(n),u=RegExp.escape(i),c=/(D|S|\n|\r|[^DS\r\n]+)/,d=c.source;d=d.replace(/S/g,l);d=d.replace(/D/g,u);t.match=RegExp(d,"gm")}e.replace(t.match,function(e){switch(a){case 0:if(e===n){s+="";r();break}if(e===i){a=1;break}if("\n"===e||"\r"==
 =e)break;s+=e;a=3;break;case 1:if(e===i){a=2;break}s+=e;a=1;break;case 2:if(e===i){s+=e;a=1;break}if(e===n){r();break}if("\n"===e||"\r"===e)break;throw new Error("CSVDataError: Illegal State [Row:"+t.state.rowNum+"][Col:"+t.state.colNum+"]");case 3:if(e===n){r();break}if("\n"===e||"\r"===e)break;if(e===i)throw new Error("CSVDataError: Illegal Quote [Row:"+t.state.rowNum+"][Col:"+t.state.colNum+"]");throw new Error("CSVDataError: Illegal Data [Row:"+t.state.rowNum+"][Col:"+t.state.colNum+"]");default:throw new Error("CSVDataError: Unknown State [Row:"+t.state.rowNum+"][Col:"+t.state.colNum+"]")}});r();return o}},toArray:function(e,t,r){var t=void 0!==t?t:{},i={};i.callback=void 0!==r&&"function"==typeof r?r:!1;i.separator="separator"in t?t.separator:n.csv.defaults.separator;i.delimiter="delimiter"in t?t.delimiter:n.csv.defaults.delimiter;var o=void 0!==t.state?t.state:{},t={delimiter:i.delimiter,separator:i.separator,onParseEntry:t.onParseEntry,onParseValue:t.onParseValue,state:o},a=
 n.csv.parsers.parseEntry(e,t);if(!i.callback)return a;i.callback("",a);return void 0},toArrays:function(e,t,r){var t=void 0!==t?t:{},i={};i.callback=void 0!==r&&"function"==typeof r?r:!1;i.separator="separator"in t?t.separator:n.csv.defaults.separator;i.delimiter="delimiter"in t?t.delimiter:n.csv.defaults.delimiter;var o=[],t={delimiter:i.delimiter,separator:i.separator,onParseEntry:t.onParseEntry,onParseValue:t.onParseValue,start:t.start,end:t.end,state:{rowNum:1,colNum:1}};o=n.csv.parsers.parse(e,t);if(!i.callback)return o;i.callback("",o);return void 0},toObjects:function(e,t,r){var t=void 0!==t?t:{},i={};i.callback=void 0!==r&&"function"==typeof r?r:!1;i.separator="separator"in t?t.separator:n.csv.defaults.separator;i.delimiter="delimiter"in t?t.delimiter:n.csv.defaults.delimiter;i.headers="headers"in t?t.headers:n.csv.defaults.headers;t.start="start"in t?t.start:1;i.headers&&t.start++;t.end&&i.headers&&t.end++;var o=[],a=[],t={delimiter:i.delimiter,separator:i.separator,onParse
 Entry:t.onParseEntry,onParseValue:t.onParseValue,start:t.start,end:t.end,state:{rowNum:1,colNum:1},match:!1},s={delimiter:i.delimiter,separator:i.separator,start:1,end:1,state:{rowNum:1,colNum:1}},l=n.csv.parsers.splitLines(e,s),u=n.csv.toArray(l[0],t),o=n.csv.parsers.splitLines(e,t);t.state.colNum=1;t.state.rowNum=u?2:1;for(var c=0,d=o.length;d>c;c++){var f=n.csv.toArray(o[c],t),p={};for(var g in u)p[u[g]]=f[g];a.push(p);t.state.rowNum++}if(!i.callback)return a;i.callback("",a);return void 0},fromArrays:function(e,t,r){var t=void 0!==t?t:{},o={};o.callback=void 0!==r&&"function"==typeof r?r:!1;o.separator="separator"in t?t.separator:n.csv.defaults.separator;o.delimiter="delimiter"in t?t.delimiter:n.csv.defaults.delimiter;o.escaper="escaper"in t?t.escaper:n.csv.defaults.escaper;o.experimental="experimental"in t?t.experimental:!1;if(!o.experimental)throw new Error("not implemented");var a=[];for(i in e)a.push(e[i]);if(!o.callback)return a;o.callback("",a);return void 0},fromObjects2C
 SV:function(e,t,r){var t=void 0!==t?t:{},o={};o.callback=void 0!==r&&"function"==typeof r?r:!1;o.separator="separator"in t?t.separator:n.csv.defaults.separator;o.delimiter="delimiter"in t?t.delimiter:n.csv.defaults.delimiter;o.experimental="experimental"in t?t.experimental:!1;if(!o.experimental)throw new Error("not implemented");var a=[];for(i in e)a.push(arrays[i]);if(!o.callback)return a;o.callback("",a);return void 0}};n.csvEntry2Array=n.csv.toArray;n.csv2Array=n.csv.toArrays;n.csv2Dictionary=n.csv.toObjects},{jquery:void 0}],4:[function(e,t,r){function n(){this._events=this._events||{};this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function o(e){return"number"==typeof e}function a(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=n;n.EventEmitter=n;n.prototype._events=void 0;n.prototype._maxListeners=void 0;n.defaultMaxListeners=10;n.prototype.setMaxListeners=function(e){if(!o(e)||0>e||isNaN(e))throw TypeError
 ("n must be a positive number");this._maxListeners=e;return this};n.prototype.emit=function(e){var t,r,n,o,l,u;this._events||(this._events={});if("error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){t=arguments[1];if(t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}r=this._events[e];if(s(r))return!1;if(i(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:n=arguments.length;o=new Array(n-1);for(l=1;n>l;l++)o[l-1]=arguments[l];r.apply(this,o)}else if(a(r)){n=arguments.length;o=new Array(n-1);for(l=1;n>l;l++)o[l-1]=arguments[l];u=r.slice();n=u.length;for(l=0;n>l;l++)u[l].apply(this,o)}return!0};n.prototype.addListener=function(e,t){var r;if(!i(t))throw TypeError("listener must be a function");this._events||(this._events={});this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t);this._events[e]?
 a(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t;if(a(this._events[e])&&!this._events[e].warned){var r;r=s(this._maxListeners)?n.defaultMaxListeners:this._maxListeners;if(r&&r>0&&this._events[e].length>r){this._events[e].warned=!0;console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length);"function"==typeof console.trace&&console.trace()}}return this};n.prototype.on=n.prototype.addListener;n.prototype.once=function(e,t){function r(){this.removeListener(e,r);if(!n){n=!0;t.apply(this,arguments)}}if(!i(t))throw TypeError("listener must be a function");var n=!1;r.listener=t;this.on(e,r);return this};n.prototype.removeListener=function(e,t){var r,n,o,s;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;r=this._events[e];o=r.length;n=-1;if(r===t||i(r.listener)&&r.listener===t){delet
 e this._events[e];this._events.removeListener&&this.emit("removeListener",e,t)}else if(a(r)){for(s=o;s-->0;)if(r[s]===t||r[s].listener&&r[s].listener===t){n=s;break}if(0>n)return this;if(1===r.length){r.length=0;delete this._events[e]}else r.splice(n,1);this._events.removeListener&&this.emit("removeListener",e,t)}return this};n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener){0===arguments.length?this._events={}:this._events[e]&&delete this._events[e];return this}if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);this.removeAllListeners("removeListener");this._events={};return this}r=this._events[e];if(i(r))this.removeListener(e,r);else for(;r.length;)this.removeListener(e,r[r.length-1]);delete this._events[e];return this};n.prototype.listeners=function(e){var t;t=this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[];return t};n.listenerC
 ount=function(e,t){var r;r=e._events&&e._events[t]?i(e._events[t])?1:e._events[t].length:0;return r}},{}],5:[function(t,r,n){(function(i){"object"==typeof n&&"object"==typeof r?i(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)})(function(e){function t(e,t,n,i){var o=e.getLineHandle(t.line),l=t.ch-1,u=l>=0&&s[o.text.charAt(l)]||s[o.text.charAt(++l)];if(!u)return null;var c=">"==u.charAt(1)?1:-1;if(n&&c>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(a(t.line,l+1)),f=r(e,a(t.line,l+(c>0?1:0)),c,d||null,i);return null==f?null:{from:a(t.line,l),to:f&&f.pos,match:f&&f.ch==u.charAt(0),forward:c>0}}function r(e,t,r,n,i){for(var o=i&&i.maxScanLineLength||1e4,l=i&&i.maxScanLines||1e3,u=[],c=i&&i.bracketRegex?i.bracketRegex:/[(){}[\]]/,d=r>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),f=t.line;f!=d;f+=r){var p=e.getLine(f);if(p){var g=r>0?0:p.length-1,h=r>0?p.length:-1
 ;if(!(p.length>o)){f==t.line&&(g=t.ch-(0>r?1:0));for(;g!=h;g+=r){var v=p.charAt(g);if(c.test(v)&&(void 0===n||e.getTokenTypeAt(a(f,g+1))==n)){var m=s[v];if(">"==m.charAt(1)==r>0)u.push(v);else{if(!u.length)return{pos:a(f,g),ch:v};u.pop()}}}}}}return f-r==(r>0?e.lastLine():e.firstLine())?!1:null}function n(e,r,n){for(var i=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],l=e.listSelections(),u=0;u<l.length;u++){var c=l[u].empty()&&t(e,l[u].head,!1,n);if(c&&e.getLine(c.from.line).length<=i){var d=c.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";s.push(e.markText(c.from,a(c.from.line,c.from.ch+1),{className:d}));c.to&&e.getLine(c.to.line).length<=i&&s.push(e.markText(c.to,a(c.to.line,c.to.ch+1),{className:d}))}}if(s.length){o&&e.state.focused&&e.display.input.focus();var f=function(){e.operation(function(){for(var e=0;e<s.length;e++)s[e].clear()})};if(!r)return f;setTimeout(f,800)}}function i(e){e.operation(function(){if(l){l();l=null}l=n(e,!1,e.state.matchBra
 ckets)})}var o=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),a=e.Pos,s={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},l=null;e.defineOption("matchBrackets",!1,function(t,r,n){n&&n!=e.Init&&t.off("cursorActivity",i);if(r){t.state.matchBrackets="object"==typeof r?r:{};t.on("cursorActivity",i)}});e.defineExtension("matchBrackets",function(){n(this,!0)});e.defineExtension("findMatchingBracket",function(e,r,n){return t(this,e,r,n)});e.defineExtension("scanForBracket",function(e,t,n,i){return r(this,e,t,n,i)})})},{codemirror:void 0}],6:[function(t,r,n){(function(i){"object"==typeof n&&"object"==typeof r?i(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)})(function(e){"use strict";e.registerHelper("fold","brace",function(t,r){function n(n){for(var i=r.ch,l=0;;){var u=0>=i?-1:s.lastIndexOf(n,i-1);if(-1!=u){if(1==l&&u<r.ch)break;o=t.getTok
 enTypeAt(e.Pos(a,u+1));if(!/^(comment|string)/.test(o))return u+1;i=u-1}else{if(1==l)break;l=1;i=s.length}}}var i,o,a=r.line,s=t.getLine(a),l="{",u="}",i=n("{");if(null==i){l="[",u="]";i=n("[")}if(null!=i){var c,d,f=1,p=t.lastLine();e:for(var g=a;p>=g;++g)for(var h=t.getLine(g),v=g==a?i:0;;){var m=h.indexOf(l,v),w=h.indexOf(u,v);0>m&&(m=h.length);0>w&&(w=h.length);v=Math.min(m,w);if(v==h.length)break;if(t.getTokenTypeAt(e.Pos(g,v+1))==o)if(v==m)++f;else if(!--f){c=g;d=v;break e}++v}if(null!=c&&(a!=c||d!=i))return{from:e.Pos(a,i),to:e.Pos(c,d)}}});e.registerHelper("fold","import",function(t,r){function n(r){if(r<t.firstLine()||r>t.lastLine())return null;var n=t.getTokenAt(e.Pos(r,1));/\S/.test(n.string)||(n=t.getTokenAt(e.Pos(r,n.end+1)));if("keyword"!=n.type||"import"!=n.string)return null;for(var i=r,o=Math.min(t.lastLine(),r+10);o>=i;++i){var a=t.getLine(i),s=a.indexOf(";");if(-1!=s)return{startCh:n.end,end:e.Pos(i,s)}}}var i,r=r.line,o=n(r);if(!o||n(r-1)||(i=n(r-2))&&i.end.line==
 r-1)return null;for(var a=o.end;;){var s=n(a.line+1);if(null==s)break;a=s.end}return{from:t.clipPos(e.Pos(r,o.startCh+1)),to:a}});e.registerHelper("fold","include",function(t,r){function n(r){if(r<t.firstLine()||r>t.lastLine())return null;var n=t.getTokenAt(e.Pos(r,1));/\S/.test(n.string)||(n=t.getTokenAt(e.Pos(r,n.end+1)));return"meta"==n.type&&"#include"==n.string.slice(0,8)?n.start+8:void 0}var r=r.line,i=n(r);if(null==i||null!=n(r-1))return null;for(var o=r;;){var a=n(o+1);if(null==a)break;++o}return{from:e.Pos(r,i+1),to:t.clipPos(e.Pos(o))}})})},{codemirror:void 0}],7:[function(t,r,n){(function(i){"object"==typeof n&&"object"==typeof r?i(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)})(function(e){"use strict";function t(t,i,o,a){function s(e){var r=l(t,i);if(!r||r.to.line-r.from.line<u)return null;for(var n=t.findMarksAt(r.from),o=0;o<n.length;++o)if(n[o].__isFold&&"fold"!==a)
 {if(!e)return null;r.cleared=!0;n[o].clear()}return r}if(o&&o.call){var l=o;o=null}else var l=n(t,o,"rangeFinder");"number"==typeof i&&(i=e.Pos(i,0));var u=n(t,o,"minFoldSize"),c=s(!0);if(n(t,o,"scanUp"))for(;!c&&i.line>t.firstLine();){i=e.Pos(i.line-1,0);c=s(!1)}if(c&&!c.cleared&&"unfold"!==a){var d=r(t,o);e.on(d,"mousedown",function(t){f.clear();e.e_preventDefault(t)});var f=t.markText(c.from,c.to,{replacedWith:d,clearOnEnter:!0,__isFold:!0});f.on("clear",function(r,n){e.signal(t,"unfold",t,r,n)});e.signal(t,"fold",t,c.from,c.to)}}function r(e,t){var r=n(e,t,"widget");if("string"==typeof r){var i=document.createTextNode(r);r=document.createElement("span");r.appendChild(i);r.className="CodeMirror-foldmarker"}return r}function n(e,t,r){if(t&&void 0!==t[r])return t[r];var n=e.options.foldOptions;return n&&void 0!==n[r]?n[r]:i[r]}e.newFoldFunction=function(e,r){return function(n,i){t(n,i,{rangeFinder:e,widget:r})}};e.defineExtension("foldCode",function(e,r,n){t(this,e,r,n)});e.defineE
 xtension("isFolded",function(e){for(var t=this.findMarksAt(e),r=0;r<t.length;++r)if(t[r].__isFold)return!0});e.commands.toggleFold=function(e){e.foldCode(e.getCursor())};e.commands.fold=function(e){e.foldCode(e.getCursor(),null,"fold")};e.commands.unfold=function(e){e.foldCode(e.getCursor(),null,"unfold")};e.commands.foldAll=function(t){t.operation(function(){for(var r=t.firstLine(),n=t.lastLine();n>=r;r++)t.foldCode(e.Pos(r,0),null,"fold")})};e.commands.unfoldAll=function(t){t.operation(function(){for(var r=t.firstLine(),n=t.lastLine();n>=r;r++)t.foldCode(e.Pos(r,0),null,"unfold")})};e.registerHelper("fold","combine",function(){var e=Array.prototype.slice.call(arguments,0);return function(t,r){for(var n=0;n<e.length;++n){var i=e[n](t,r);if(i)return i}}});e.registerHelper("fold","auto",function(e,t){for(var r=e.getHelpers(t,"fold"),n=0;n<r.length;n++){var i=r[n](e,t);if(i)return i}});var i={rangeFinder:e.fold.auto,widget:"↔",minFoldSize:0,scanUp:!1};e.defineOption("foldOptions",nu
 ll);e.defineExtension("foldOption",function(e,t){return n(this,e,t)})})},{codemirror:void 0}],8:[function(t,r,n){(function(i){"object"==typeof n&&"object"==typeof r?i(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}(),t("./foldcode")):"function"==typeof e&&e.amd?e(["../../lib/codemirror","./foldcode"],i):i(CodeMirror)})(function(e){"use strict";function t(e){this.options=e;this.from=this.to=0}function r(e){e===!0&&(e={});null==e.gutter&&(e.gutter="CodeMirror-foldgutter");null==e.indicatorOpen&&(e.indicatorOpen="CodeMirror-foldgutter-open");null==e.indicatorFolded&&(e.indicatorFolded="CodeMirror-foldgutter-folded");return e}function n(e,t){for(var r=e.findMarksAt(d(t)),n=0;n<r.length;++n)if(r[n].__isFold&&r[n].find().from.line==t)return!0}function i(e){if("string"==typeof e){var t=document.createElement("div");t.className=e+" CodeMirror-guttermarker-subtle";return t}return e.cloneNode(!0)}function o(e,t,r){var o=e.state.foldGutter.options,a=t,s=e.foldOption(o
 ,"minFoldSize"),l=e.foldOption(o,"rangeFinder");e.eachLine(t,r,function(t){var r=null;if(n(e,a))r=i(o.indicatorFolded);else{var u=d(a,0),c=l&&l(e,u);c&&c.to.line-c.from.line>=s&&(r=i(o.indicatorOpen))}e.setGutterMarker(t,o.gutter,r);++a})}function a(e){var t=e.getViewport(),r=e.state.foldGutter;if(r){e.operation(function(){o(e,t.from,t.to)});r.from=t.from;r.to=t.to}}function s(e,t,r){var n=e.state.foldGutter;if(n){var i=n.options;r==i.gutter&&e.foldCode(d(t,0),i.rangeFinder)}}function l(e){var t=e.state.foldGutter;if(t){var r=t.options;t.from=t.to=0;clearTimeout(t.changeUpdate);t.changeUpdate=setTimeout(function(){a(e)},r.foldOnChangeTimeSpan||600)}}function u(e){var t=e.state.foldGutter;if(t){var r=t.options;clearTimeout(t.changeUpdate);t.changeUpdate=setTimeout(function(){var r=e.getViewport();t.from==t.to||r.from-t.to>20||t.from-r.to>20?a(e):e.operation(function(){if(r.from<t.from){o(e,r.from,t.from);t.from=r.from}if(r.to>t.to){o(e,t.to,r.to);t.to=r.to}})},r.updateViewportTimeSpa
 n||400)}}function c(e,t){var r=e.state.foldGutter;if(r){var n=t.line;n>=r.from&&n<r.to&&o(e,n,n+1)}}e.defineOption("foldGutter",!1,function(n,i,o){if(o&&o!=e.Init){n.clearGutter(n.state.foldGutter.options.gutter);n.state.foldGutter=null;n.off("gutterClick",s);n.off("change",l);n.off("viewportChange",u);n.off("fold",c);n.off("unfold",c);n.off("swapDoc",a)}if(i){n.state.foldGutter=new t(r(i));a(n);n.on("gutterClick",s);n.on("change",l);n.on("viewportChange",u);n.on("fold",c);n.on("unfold",c);n.on("swapDoc",a)}});var d=e.Pos})},{"./foldcode":7,codemirror:void 0}],9:[function(t,r,n){(function(i){"object"==typeof n&&"object"==typeof r?i(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)})(function(e){"use strict";function t(e,t){return e.line-t.line||e.ch-t.ch}function r(e,t,r,n){this.line=t;this.ch=r;this.cm=e;this.text=e.getLine(t);this.min=n?n.from:e.firstLine();this.max=n?n.to-1:e.lastLi
 ne()}function n(e,t){var r=e.cm.getTokenTypeAt(f(e.line,t));return r&&/\btag\b/.test(r)}function i(e){if(!(e.line>=e.max)){e.ch=0;e.text=e.cm.getLine(++e.line);return!0}}function o(e){if(!(e.line<=e.min)){e.text=e.cm.getLine(--e.line);e.ch=e.text.length;return!0}}function a(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(i(e))continue;return}if(n(e,t+1)){var r=e.text.lastIndexOf("/",t),o=r>-1&&!/\S/.test(e.text.slice(r+1,t));e.ch=t+1;return o?"selfClose":"regular"}e.ch=t+1}}function s(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(o(e))continue;return}if(n(e,t+1)){h.lastIndex=t;e.ch=t;var r=h.exec(e.text);if(r&&r.index==t)return r}else e.ch=t}}function l(e){for(;;){h.lastIndex=e.ch;var t=h.exec(e.text);if(!t){if(i(e))continue;return}if(n(e,t.index+1)){e.ch=t.index+t[0].length;return t}e.ch=t.index+1}}function u(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(o(e))continue;return}if(n(e,t+1)){var r=e.text.lastIndexOf("/",t),i=r>-1&&!/
 \S/.test(e.text.slice(r+1,t));e.ch=t+1;return i?"selfClose":"regular"}e.ch=t}}function c(e,t){for(var r=[];;){var n,i=l(e),o=e.line,s=e.ch-(i?i[0].length:0);if(!i||!(n=a(e)))return;if("selfClose"!=n)if(i[1]){for(var u=r.length-1;u>=0;--u)if(r[u]==i[2]){r.length=u;break}if(0>u&&(!t||t==i[2]))return{tag:i[2],from:f(o,s),to:f(e.line,e.ch)}}else r.push(i[2])}}function d(e,t){for(var r=[];;){var n=u(e);if(!n)return;if("selfClose"!=n){var i=e.line,o=e.ch,a=s(e);if(!a)return;if(a[1])r.push(a[2]);else{for(var l=r.length-1;l>=0;--l)if(r[l]==a[2]){r.length=l;break}if(0>l&&(!t||t==a[2]))return{tag:a[2],from:f(e.line,e.ch),to:f(i,o)}}}else s(e)}}var f=e.Pos,p="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",g=p+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",h=new RegExp("<(/?)(["+p+"]["+g+"]*)","g");e.registerHelper("fold","xml",function(e,t){for(var n=new r(e,t.line,0);;
 ){var i,o=l(n);if(!o||n.line!=t.line||!(i=a(n)))return;if(!o[1]&&"selfClose"!=i){var t=f(n.line,n.ch),s=c(n,o[2]);return s&&{from:t,to:s.from}}}});e.findMatchingTag=function(e,n,i){var o=new r(e,n.line,n.ch,i);if(-1!=o.text.indexOf(">")||-1!=o.text.indexOf("<")){var l=a(o),u=l&&f(o.line,o.ch),p=l&&s(o);if(l&&p&&!(t(o,n)>0)){var g={from:f(o.line,o.ch),to:u,tag:p[2]};if("selfClose"==l)return{open:g,close:null,at:"open"};if(p[1])return{open:d(o,p[2]),close:g,at:"close"};o=new r(e,u.line,u.ch,i);return{open:g,close:c(o,p[2]),at:"open"}}}};e.findEnclosingTag=function(e,t,n){for(var i=new r(e,t.line,t.ch,n);;){var o=d(i);if(!o)break;var a=new r(e,t.line,t.ch,n),s=c(a,o.tag);if(s)return{open:o,close:s}}};e.scanForClosingTag=function(e,t,n,i){var o=new r(e,t.line,t.ch,i?{from:0,to:i}:null);return c(o,n)}})},{codemirror:void 0}],10:[function(t,r,n){(function(i){"object"==typeof n&&"object"==typeof r?i(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==ty
 peof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)})(function(e){"use strict";e.defineMode("javascript",function(t,r){function n(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}function i(e,t,r){he=e;ve=r;return t}function o(e,t){var r=e.next();if('"'==r||"'"==r){t.tokenize=a(r);return t.tokenize(e,t)}if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return i("number","number");if("."==r&&e.match(".."))return i("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return i(r);if("="==r&&e.eat(">"))return i("=>","operator");if("0"==r&&e.eat(/x/i)){e.eatWhile(/[\da-f]/i);return i("number","number")}if(/\d/.test(r)){e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/);return i("number","number")}if("/"==r){if(e.eat("*")){t.tokenize=s;return s(e,t)}if(e.eat("/")){e.skipToEnd();return i("comment","comment")}if("operator"==t.lastType||"keyword c"==t.lastType||"sof"==t.lastType||/^[\[{}\(,;:]$/.test(t.lastType)){n(e);e.match(/^\b(([g
 imyu])(?![gimyu]*\2))+\b/);return i("regexp","string-2")}e.eatWhile(je);return i("operator","operator",e.current())}if("`"==r){t.tokenize=l;return l(e,t)}if("#"==r){e.skipToEnd();return i("error","error")}if(je.test(r)){e.eatWhile(je);return i("operator","operator",e.current())}if(ke.test(r)){e.eatWhile(ke);var o=e.current(),u=Ce.propertyIsEnumerable(o)&&Ce[o];return u&&"."!=t.lastType?i(u.type,u.style,o):i("variable","variable",o)}}function a(e){return function(t,r){var n,a=!1;if(ye&&"@"==t.peek()&&t.match(Te)){r.tokenize=o;return i("jsonld-keyword","meta")}for(;null!=(n=t.next())&&(n!=e||a);)a=!a&&"\\"==n;a||(r.tokenize=o);return i("string","string")}}function s(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=o;break}n="*"==r}return i("comment","comment")}function l(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=o;break}n=!n&&"\\"==r}return i("quasi","string-2",e.current())}function u(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=
 e.string.indexOf("=>",e.start);if(!(0>r)){for(var n=0,i=!1,o=r-1;o>=0;--o){var a=e.string.charAt(o),s=Le.indexOf(a);if(s>=0&&3>s){if(!n){++o;break}if(0==--n)break}else if(s>=3&&6>s)++n;else if(ke.test(a))i=!0;else{if(/["'\/]/.test(a))return;if(i&&!n){++o;break}}}i&&!n&&(t.fatArrowAt=o)}}function c(e,t,r,n,i,o){this.indented=e;this.column=t;this.type=r;this.prev=i;this.info=o;null!=n&&(this.align=n)}function d(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(var r=n.vars;r;r=r.next)if(r.name==t)return!0}function f(e,t,r,n,i){var o=e.cc;Ee.state=e;Ee.stream=i;Ee.marked=null,Ee.cc=o;Ee.style=t;e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);for(;;){var a=o.length?o.pop():be?k:x;if(a(r,n)){for(;o.length&&o[o.length-1].lex;)o.pop()();return Ee.marked?Ee.marked:"variable"==r&&d(e,n)?"variable-2":t}}}function p(){for(var e=arguments.length-1;e>=0;e--)Ee.cc.push(arguments[e])}function g(){p.apply(null,arguments);return!0}function h(e){fu
 nction t(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var n=Ee.state;if(n.context){Ee.marked="def";
-
-if(t(n.localVars))return;n.localVars={name:e,next:n.localVars}}else{if(t(n.globalVars))return;r.globalVars&&(n.globalVars={name:e,next:n.globalVars})}}function v(){Ee.state.context={prev:Ee.state.context,vars:Ee.state.localVars};Ee.state.localVars=Me}function m(){Ee.state.localVars=Ee.state.context.vars;Ee.state.context=Ee.state.context.prev}function w(e,t){var r=function(){var r=Ee.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var i=r.lexical;i&&")"==i.type&&i.align;i=i.prev)n=i.indented;r.lexical=new c(n,Ee.stream.column(),e,null,r.lexical,t)};r.lex=!0;return r}function y(){var e=Ee.state;if(e.lexical.prev){")"==e.lexical.type&&(e.indented=e.lexical.indented);e.lexical=e.lexical.prev}}function b(e){function t(r){return r==e?g():";"==e?p():g(t)}return t}function x(e,t){if("var"==e)return g(w("vardef",t.length),H,b(";"),y);if("keyword a"==e)return g(w("form"),k,x,y);if("keyword b"==e)return g(w("form"),x,y);if("{"==e)return g(w("}"),U,y);if(";"==e)return
  g();if("if"==e){"else"==Ee.state.lexical.info&&Ee.state.cc[Ee.state.cc.length-1]==y&&Ee.state.cc.pop()();return g(w("form"),k,x,y,X)}return"function"==e?g(ee):"for"==e?g(w("form"),J,x,y):"variable"==e?g(w("stat"),N):"switch"==e?g(w("form"),k,w("}","switch"),b("{"),U,y,y):"case"==e?g(k,b(":")):"default"==e?g(b(":")):"catch"==e?g(w("form"),v,b("("),te,b(")"),x,y,m):"module"==e?g(w("form"),v,ae,m,y):"class"==e?g(w("form"),re,y):"export"==e?g(w("form"),se,y):"import"==e?g(w("form"),le,y):p(w("stat"),k,b(";"),y)}function k(e){return j(e,!1)}function C(e){return j(e,!0)}function j(e,t){if(Ee.state.fatArrowAt==Ee.stream.start){var r=t?R:A;if("("==e)return g(v,w(")"),O(G,")"),y,b("=>"),r,m);if("variable"==e)return p(v,G,b("=>"),r,m)}var n=t?E:S;return Se.hasOwnProperty(e)?g(n):"function"==e?g(ee,n):"keyword c"==e?g(t?L:T):"("==e?g(w(")"),T,pe,b(")"),y,n):"operator"==e||"spread"==e?g(t?C:k):"["==e?g(w("]"),de,y,n):"{"==e?I(P,"}",null,n):"quasi"==e?p(M,n):g()}function T(e){return e.match(/[;
 \}\)\],]/)?p():p(k)}function L(e){return e.match(/[;\}\)\],]/)?p():p(C)}function S(e,t){return","==e?g(k):E(e,t,!1)}function E(e,t,r){var n=0==r?S:E,i=0==r?k:C;return"=>"==e?g(v,r?R:A,m):"operator"==e?/\+\+|--/.test(t)?g(n):"?"==t?g(k,b(":"),i):g(i):"quasi"==e?p(M,n):";"!=e?"("==e?I(C,")","call",n):"."==e?g(D,n):"["==e?g(w("]"),T,b("]"),y,n):void 0:void 0}function M(e,t){return"quasi"!=e?p():"${"!=t.slice(t.length-2)?g(M):g(k,_)}function _(e){if("}"==e){Ee.marked="string-2";Ee.state.tokenize=l;return g(M)}}function A(e){u(Ee.stream,Ee.state);return p("{"==e?x:k)}function R(e){u(Ee.stream,Ee.state);return p("{"==e?x:C)}function N(e){return":"==e?g(y,x):p(S,b(";"),y)}function D(e){if("variable"==e){Ee.marked="property";return g()}}function P(e,t){if("variable"==e||"keyword"==Ee.style){Ee.marked="property";return g("get"==t||"set"==t?z:q)}if("number"==e||"string"==e){Ee.marked=ye?"property":Ee.style+" property";return g(q)}return"jsonld-keyword"==e?g(q):"["==e?g(k,b("]"),q):void 0}func
 tion z(e){if("variable"!=e)return p(q);Ee.marked="property";return g(ee)}function q(e){return":"==e?g(C):"("==e?p(ee):void 0}function O(e,t){function r(n){if(","==n){var i=Ee.state.lexical;"call"==i.info&&(i.pos=(i.pos||0)+1);return g(e,r)}return n==t?g():g(b(t))}return function(n){return n==t?g():p(e,r)}}function I(e,t,r){for(var n=3;n<arguments.length;n++)Ee.cc.push(arguments[n]);return g(w(t,r),O(e,t),y)}function U(e){return"}"==e?g():p(x,U)}function F(e){return xe&&":"==e?g(V):void 0}function V(e){if("variable"==e){Ee.marked="variable-3";return g()}}function H(){return p(G,F,B,Q)}function G(e,t){if("variable"==e){h(t);return g()}return"["==e?I(G,"]"):"{"==e?I(W,"}"):void 0}function W(e,t){if("variable"==e&&!Ee.stream.match(/^\s*:/,!1)){h(t);return g(B)}"variable"==e&&(Ee.marked="property");return g(b(":"),G,B)}function B(e,t){return"="==t?g(C):void 0}function Q(e){return","==e?g(H):void 0}function X(e,t){return"keyword b"==e&&"else"==t?g(w("form","else"),x,y):void 0}function J(e
 ){return"("==e?g(w(")"),Y,b(")"),y):void 0}function Y(e){return"var"==e?g(H,b(";"),K):";"==e?g(K):"variable"==e?g($):p(k,b(";"),K)}function $(e,t){if("in"==t||"of"==t){Ee.marked="keyword";return g(k)}return g(S,K)}function K(e,t){if(";"==e)return g(Z);if("in"==t||"of"==t){Ee.marked="keyword";return g(k)}return p(k,b(";"),Z)}function Z(e){")"!=e&&g(k)}function ee(e,t){if("*"==t){Ee.marked="keyword";return g(ee)}if("variable"==e){h(t);return g(ee)}return"("==e?g(v,w(")"),O(te,")"),y,x,m):void 0}function te(e){return"spread"==e?g(te):p(G,F)}function re(e,t){if("variable"==e){h(t);return g(ne)}}function ne(e,t){return"extends"==t?g(k,ne):"{"==e?g(w("}"),ie,y):void 0}function ie(e,t){if("variable"==e||"keyword"==Ee.style){Ee.marked="property";return"get"==t||"set"==t?g(oe,ee,ie):g(ee,ie)}if("*"==t){Ee.marked="keyword";return g(ie)}return";"==e?g(ie):"}"==e?g():void 0}function oe(e){if("variable"!=e)return p();Ee.marked="property";return g()}function ae(e,t){if("string"==e)return g(x);if(
 "variable"==e){h(t);return g(ce)}}function se(e,t){if("*"==t){Ee.marked="keyword";return g(ce,b(";"))}if("default"==t){Ee.marked="keyword";return g(k,b(";"))}return p(x)}function le(e){return"string"==e?g():p(ue,ce)}function ue(e,t){if("{"==e)return I(ue,"}");"variable"==e&&h(t);return g()}function ce(e,t){if("from"==t){Ee.marked="keyword";return g(k)}}function de(e){return"]"==e?g():p(C,fe)}function fe(e){return"for"==e?p(pe,b("]")):","==e?g(O(L,"]")):p(O(C,"]"))}function pe(e){return"for"==e?g(J,pe):"if"==e?g(k,pe):void 0}function ge(e,t){return"operator"==e.lastType||","==e.lastType||je.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}var he,ve,me=t.indentUnit,we=r.statementIndent,ye=r.jsonld,be=r.json||ye,xe=r.typescript,ke=r.wordCharacters||/[\w$\xa1-\uffff]/,Ce=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),i=e("operator"),o={type:"atom",style:"atom"},a={"if":e("if"),"while":t,"with":t,"else":r,"do":r,"try":r,"finally"
 :r,"return":n,"break":n,"continue":n,"new":n,"delete":n,"throw":n,"debugger":n,"var":e("var"),"const":e("var"),let:e("var"),"function":e("function"),"catch":e("catch"),"for":e("for"),"switch":e("switch"),"case":e("case"),"default":e("default"),"in":i,"typeof":i,"instanceof":i,"true":o,"false":o,"null":o,undefined:o,NaN:o,Infinity:o,"this":e("this"),module:e("module"),"class":e("class"),"super":e("atom"),"yield":n,"export":e("export"),"import":e("import"),"extends":n};if(xe){var s={type:"variable",style:"variable-3"},l={"interface":e("interface"),"extends":e("extends"),constructor:e("constructor"),"public":e("public"),"private":e("private"),"protected":e("protected"),"static":e("static"),string:s,number:s,bool:s,any:s};for(var u in l)a[u]=l[u]}return a}(),je=/[+\-*&%=<>!?|~^]/,Te=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,Le="([{}])",Se={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"jsonld-keyword":!0},Ee={state:null,column:
 null,marked:null,cc:null},Me={name:"this",next:{name:"arguments"}};y.lex=!0;return{startState:function(e){var t={tokenize:o,lastType:"sof",cc:[],lexical:new c((e||0)-me,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:0};r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars);return t},token:function(e,t){if(e.sol()){t.lexical.hasOwnProperty("align")||(t.lexical.align=!1);t.indented=e.indentation();u(e,t)}if(t.tokenize!=s&&e.eatSpace())return null;var r=t.tokenize(e,t);if("comment"==he)return r;t.lastType="operator"!=he||"++"!=ve&&"--"!=ve?he:"incdec";return f(t,r,he,ve,e)},indent:function(t,n){if(t.tokenize==s)return e.Pass;if(t.tokenize!=o)return 0;var i=n&&n.charAt(0),a=t.lexical;if(!/^\s*else\b/.test(n))for(var l=t.cc.length-1;l>=0;--l){var u=t.cc[l];if(u==y)a=a.prev;else if(u!=X)break}"stat"==a.type&&"}"==i&&(a=a.prev);we&&")"==a.type&&"stat"==a.prev.type&&(a=a.prev);var c=a.type,d=i==c;return"vardef"==c?a.indented+("operator
 "==t.lastType||","==t.lastType?a.info+1:0):"form"==c&&"{"==i?a.indented:"form"==c?a.indented+me:"stat"==c?a.indented+(ge(t,n)?we||me:0):"switch"!=a.info||d||0==r.doubleIndentSwitch?a.align?a.column+(d?0:1):a.indented+(d?0:me):a.indented+(/^(?:case|default)\b/.test(n)?me:2*me)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:be?null:"/*",blockCommentEnd:be?null:"*/",lineComment:be?null:"//",fold:"brace",helperType:be?"json":"javascript",jsonldMode:ye,jsonMode:be}});e.registerHelper("wordChars","javascript",/[\w$]/);e.defineMIME("text/javascript","javascript");e.defineMIME("text/ecmascript","javascript");e.defineMIME("application/javascript","javascript");e.defineMIME("application/x-javascript","javascript");e.defineMIME("application/ecmascript","javascript");e.defineMIME("application/json",{name:"javascript",json:!0});e.defineMIME("application/x-json",{name:"javascript",json:!0});e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0});e.defineMIME("text/
 typescript",{name:"javascript",typescript:!0});e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},{codemirror:void 0}],11:[function(t,r,n){(function(i){"object"==typeof n&&"object"==typeof r?i(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],i):i(CodeMirror)})(function(e){"use strict";e.defineMode("xml",function(t,r){function n(e,t){function r(r){t.tokenize=r;return r(e,t)}var n=e.next();if("<"==n){if(e.eat("!")){if(e.eat("["))return e.match("CDATA[")?r(a("atom","]]>")):null;if(e.match("--"))return r(a("comment","-->"));if(e.match("DOCTYPE",!0,!0)){e.eatWhile(/[\w\._\-]/);return r(s(1))}return null}if(e.eat("?")){e.eatWhile(/[\w\._\-]/);t.tokenize=a("meta","?>");return"meta"}C=e.eat("/")?"closeTag":"openTag";t.tokenize=i;return"tag bracket"}if("&"==n){var o;o=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.ea
 t(";");return o?"atom":"error"}e.eatWhile(/[^&<]/);return null}function i(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">")){t.tokenize=n;C=">"==r?"endTag":"selfcloseTag";return"tag bracket"}if("="==r){C="equals";return null}if("<"==r){t.tokenize=n;t.state=d;t.tagName=t.tagStart=null;var i=t.tokenize(e,t);return i?i+" tag error":"tag error"}if(/[\'\"]/.test(r)){t.tokenize=o(r);t.stringStartCol=e.column();return t.tokenize(e,t)}e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/);return"word"}function o(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=i;break}return"string"};t.isInAttribute=!0;return t}function a(e,t){return function(r,i){for(;!r.eol();){if(r.match(t)){i.tokenize=n;break}r.next()}return e}}function s(e){return function(t,r){for(var i;null!=(i=t.next());){if("<"==i){r.tokenize=s(e+1);return r.tokenize(t,r)}if(">"==i){if(1==e){r.tokenize=n;break}r.tokenize=s(e-1);return r.tokenize(t,r)}}return"meta"}}function l(e,t,r){this.prev=e.context;this.tagName=t;t
 his.indent=e.indented;this.startOfLine=r;(T.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function u(e){e.context&&(e.context=e.context.prev)}function c(e,t){for(var r;;){if(!e.context)return;r=e.context.tagName;if(!T.contextGrabbers.hasOwnProperty(r)||!T.contextGrabbers[r].hasOwnProperty(t))return;u(e)}}function d(e,t,r){if("openTag"==e){r.tagStart=t.column();return f}return"closeTag"==e?p:d}function f(e,t,r){if("word"==e){r.tagName=t.current();j="tag";return v}j="error";return f}function p(e,t,r){if("word"==e){var n=t.current();r.context&&r.context.tagName!=n&&T.implicitlyClosed.hasOwnProperty(r.context.tagName)&&u(r);if(r.context&&r.context.tagName==n){j="tag";return g}j="tag error";return h}j="error";return h}function g(e,t,r){if("endTag"!=e){j="error";return g}u(r);return d}function h(e,t,r){j="error";return g(e,t,r)}function v(e,t,r){if("word"==e){j="attribute";return m}if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,i=r.tagStart;r.tagNam
 e=r.tagStart=null;if("selfcloseTag"==e||T.autoSelfClosers.hasOwnProperty(n))c(r,n);else{c(r,n);r.context=new l(r,n,i==r.indented)}return d}j="error";return v}function m(e,t,r){if("equals"==e)return w;T.allowMissing||(j="error");return v(e,t,r)}function w(e,t,r){if("string"==e)return y;if("word"==e&&T.allowUnquoted){j="string";return v}j="error";return v(e,t,r)}function y(e,t,r){return"string"==e?y:v(e,t,r)}var b=t.indentUnit,x=r.multilineTagIndentFactor||1,k=r.multilineTagIndentPastTag;null==k&&(k=!0);var C,j,T=r.htmlMode?{autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldse
 t:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0}:{autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1},L=r.alignCDATA;return{startState:function(){return{tokenize:n,state:d,indented:0,tagName:null,tagStart:null,context:null}},token:function(e,t){!t.tagName&&e.sol()&&(t.indented=e.indentation());if(e.eatSpace())return null;C=null;var r=t.tokenize(e,t);if((r||C)&&"comment"!=r){j=null;t.state=t.state(C||r,e,t);j&&(r="error"==j?r+" error":j)}return r},indent:function(t,r,o){var a=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+b;if(a&&a.noIndent)return e.Pass;if(t.to
 kenize!=i&&t.tokenize!=n)return o?o.match(/^(\s*)/)[0].length:0;if(t.tagName)return k?t.tagStart+t.tagName.length+2:t.tagStart+b*x;if(L&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;a;){if(a.tagName==s[2]){a=a.prev;break}if(!T.implicitlyClosed.hasOwnProperty(a.tagName))break;a=a.prev}else if(s)for(;a;){var l=T.contextGrabbers[a.tagName];if(!l||!l.hasOwnProperty(s[2]))break;a=a.prev}for(;a&&!a.startOfLine;)a=a.prev;return a?a.indent+b:0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:r.htmlMode?"html":"xml",helperType:r.htmlMode?"html":"xml"}});e.defineMIME("text/xml","xml");e.defineMIME("application/xml","xml");e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},{codemirror:void 0}],12:[function(t,r,n){(function(){var i;i=function(i){return"object"==typeof n&&"object"==typeof r?i(function(){try{return t("jquery")}catch(e){return window.jQuery}}()):"function
 "==typeof e&&e.amd?e(["jquery"],i):i(jQuery)};i(function(e){return e.pivotUtilities.d3_renderers={Treemap:function(t,r){var n,i,o,a,s,l,u,c,d,f,p,g,h;o={localeStrings:{},d3:{width:function(){return e(window).width()/1.4},height:function(){return e(window).height()/1.4}}};r=e.extend(o,r);c=e("<div>").css({width:"100%",height:"100%"});f={name:"All",children:[]};n=function(e,t,r){var i,o,a,s,l,u;if(0!==t.length){null==e.children&&(e.children=[]);u=t.shift();l=e.children;for(o=0,a=l.length;a>o;o++){i=l[o];if(i.name===u){n(i,t,r);return}}s={name:u};n(s,t,r);return e.children.push(s)}e.value=r};u=t.getRowKeys();for(s=0,l=u.length;l>s;s++){d=u[s];g=t.getAggregator(d,[]).value();null!=g&&n(f,d,g)}i=d3.scale.category10();h=r.d3.width();a=r.d3.height();p=d3.layout.treemap().size([h,a]).sticky(!0).value(function(e){return e.size});d3.select(c[0]).append("div").style("position","relative").style("width",h+"px").style("height",a+"px").datum(f).selectAll(".node").data(p.padding([15,0,0,0]).value(
 function(e){return e.value}).nodes).enter().append("div").attr("class","node").style("background",function(e){return null!=e.children?"lightgrey":i(e.name)}).text(function(e){return e.name}).call(function(){this.style("left",function(e){return e.x+"px"}).style("top",function(e){return e.y+"px"}).style("width",function(e){return Math.max(0,e.dx-1)+"px"}).style("height",function(e){return Math.max(0,e.dy-1)+"px"})});return c}}})}).call(this)},{jquery:void 0}],13:[function(t,r,n){(function(){var i;i=function(i){return"object"==typeof n&&"object"==typeof r?i(function(){try{return t("jquery")}catch(e){return window.jQuery}}()):"function"==typeof e&&e.amd?e(["jquery"],i):i(jQuery)};i(function(e){var t;t=function(t,r){return function(n,i){var o,a,s,l,u,c,d,f,p,g,h,v,m,w,y,b,x,k,C,j,T,L,S,E,M,_,A,R,N,D,P;f={localeStrings:{vs:"vs",by:"by"},gchart:{}};i=e.extend(!0,f,i);null==(a=i.gchart).width&&(a.width=window.innerWidth/1.4);null==(s=i.gchart).height&&(s.height=window.innerHeight/1.4);E=n.g
 etRowKeys();0===E.length&&E.push([]);u=n.getColKeys();0===u.length&&u.push([]);p=n.aggregatorName;n.valAttrs.length&&(p+="("+n.valAttrs.join(", ")+")");m=function(){var e,t,r;r=[];for(e=0,t=E.length;t>e;e++){h=E[e];r.push(h.join("-"))}return r}();m.unshift("");k=0;if("ScatterChart"===t){c=[];j=n.tree;for(P in j){_=j[P];for(D in _){o=_[D];c.push([parseFloat(D),parseFloat(P),p+": \n"+o.format(o.value())])}}d=new google.visualization.DataTable;d.addColumn("number",n.colAttrs.join("-"));d.addColumn("number",n.rowAttrs.join("-"));d.addColumn({type:"string",role:"tooltip"});d.addRows(c);v=n.colAttrs.join("-");A=n.rowAttrs.join("-");M=""}else{c=[m];for(w=0,b=u.length;b>w;w++){l=u[w];L=[l.join("-")];k+=L[0].length;for(y=0,x=E.length;x>y;y++){S=E[y];o=n.getAggregator(S,l);if(null!=o.value()){R=o.value();L.push(e.isNumeric(R)?1>R?parseFloat(R.toPrecision(3)):parseFloat(R.toFixed(3)):R)}else L.push(null)}c.push(L)}d=google.visualization.arrayToDataTable(c);M=A=p;v=n.colAttrs.join("-");""!==v&&
 (M+=" "+i.localeStrings.vs+" "+v);g=n.rowAttrs.join("-");""!==g&&(M+=" "+i.localeStrings.by+" "+g)}C={title:M,hAxis:{title:v,slantedText:k>50},vAxis:{title:A},tooltip:{textStyle:{fontName:"Arial",fontSize:12}}};"ColumnChart"===t&&(C.vAxis.minValue=0);if("ScatterChart"===t){C.legend={position:"none"};C.chartArea={width:"80%",height:"80%"}}else 2===c[0].length&&""===c[0][1]&&(C.legend={position:"none"});e.extend(C,i.gchart,r);T=e("<div>").css({width:"100%",height:"100%"});N=new google.visualization.ChartWrapper({dataTable:d,chartType:t,options:C});N.draw(T[0]);T.bind("dblclick",function(){var e;e=new google.visualization.ChartEditor;google.visualization.events.addListener(e,"ok",function(){return e.getChartWrapper().draw(T[0])});return e.openDialog(N)});return T}};return e.pivotUtilities.gchart_renderers={"Line Chart":t("LineChart"),"Bar Chart":t("ColumnChart"),"Stacked Bar Chart":t("ColumnChart",{isStacked:!0}),"Area Chart":t("AreaChart",{isStacked:!0}),"Scatter Chart":t("ScatterChar
 t")}})}).call(this)},{jquery:void 0}],14:[function(t,r,n){(function(t){function n(){try{return l in t&&t[l]}catch(e){return!1}}function i(e){return e.replace(/^d/,"___$&").replace(g,"___")}var o,a={},s=t.document,l="localStorage",u="script";a.disabled=!1;a.version="1.3.17";a.set=function(e,t){};a.get=function(e,t){};a.has=function(e){return void 0!==a.get(e)};a.remove=function(e){};a.clear=function(){};a.transact=function(e,t,r){if(null==r){r=t;t=null}null==t&&(t={});var n=a.get(e,t);r(n);a.set(e,n)};a.getAll=function(){};a.forEach=function(){};a.serialize=function(e){return JSON.stringify(e)};a.deserialize=function(e){if("string"!=typeof e)return void 0;try{return JSON.parse(e)}catch(t){return e||void 0}};if(n()){o=t[l];a.set=function(e,t){if(void 0===t)return a.remove(e);o.setItem(e,a.serialize(t));return t};a.get=function(e,t){var r=a.deserialize(o.getItem(e));return void 0===r?t:r};a.remove=function(e){o.removeItem(e)};a.clear=function(){o.clear()};a.getAll=function(){var e={};a
 .forEach(function(t,r){e[t]=r});return e};a.forEach=function(e){for(var t=0;t<o.length;t++){var r=o.key(t);e(r,a.get(r))}}}else if(s.documentElement.addBehavior){var c,d;try{d=new ActiveXObject("htmlfile");d.open();d.write("<"+u+">document.w=window</"+u+'><iframe src="/favicon.ico"></iframe>');d.close();c=d.w.frames[0].document;o=c.createElement("div")}catch(f){o=s.createElement("div");c=s.body}var p=function(e){return function(){var t=Array.prototype.slice.call(arguments,0);t.unshift(o);c.appendChild(o);o.addBehavior("#default#userData");o.load(l);var r=e.apply(a,t);c.removeChild(o);return r}},g=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");a.set=p(function(e,t,r){t=i(t);if(void 0===r)return a.remove(t);e.setAttribute(t,a.serialize(r));e.save(l);return r});a.get=p(function(e,t,r){t=i(t);var n=a.deserialize(e.getAttribute(t));return void 0===n?r:n});a.remove=p(function(e,t){t=i(t);e.removeAttribute(t);e.save(l)});a.clear=p(function(e){var t=e.XMLDocument.documentElement.at
 tributes;e.load(l);for(var r,n=0;r=t[n];n++)e.removeAttribute(r.name);e.save(l)});a.getAll=function(e){var t={};a.forEach(function(e,r){t[e]=r});return t};a.forEach=p(function(e,t){for(var r,n=e.XMLDocument.documentElement.attributes,i=0;r=n[i];++i)t(r.name,a.deserialize(e.getAttribute(r.name)))})}try{var h="__storejs__";a.set(h,h);a.get(h)!=h&&(a.disabled=!0);a.remove(h)}catch(f){a.disabled=!0}a.enabled=!a.disabled;"undefined"!=typeof r&&r.exports&&this.module!==r?r.exports=a:"function"==typeof e&&e.amd?e(a):t.store=a})(Function("return this")())},{}],15:[function(e,t,r){t.exports={name:"yasgui-utils",version:"1.6.0",description:"Utils for YASGUI libs",main:"src/main.js",repository:{type:"git",url:"git://github.com/YASGUI/Utils.git"},licenses:[{type:"MIT",url:"http://yasgui.github.io/license.txt"}],author:{name:"Laurens Rietveld"},maintainers:[{name:"Laurens Rietveld",email:"laurens.rietveld@gmail.com",url:"http://laurensrietveld.nl"}],bugs:{url:"https://github.com/YASGUI/Utils/iss
 ues"},homepage:"https://github.com/YASGUI/Utils",dependencies:{store:"^1.3.14"},readme:"A simple utils repo for the YASGUI tools\n",readmeFilename:"README.md",_id:"yasgui-utils@1.6.0",_from:"yasgui-utils@>=1.4.1 <2.0.0"}},{}],16:[function(e,t,r){window.console=window.console||{log:function(){}};t.exports={storage:e("./storage.js"),svg:e("./svg.js"),version:{"yasgui-utils":e("../package.json").version},nestedExists:function(e){for(var t=Array.prototype.slice.call(arguments,1),r=0;r<t.length;r++){if(!e||!e.hasOwnProperty(t[r]))return!1;e=e[t[r]]}return!0}}},{"../package.json":15,"./storage.js":17,"./svg.js":18}],17:[function(e,t,r){var n=e("store"),i={day:function(){return 864e5},month:function(){30*i.day()},year:function(){12*i.month()}},o=t.exports={set:function(e,t,r){if(n.enabled&&e&&void 0!==t){"string"==typeof r&&(r=i[r]());t.documentElement&&(t=(new XMLSerializer).serializeToString(t.documentElement));n.set(e,{val:t,exp:r,time:(new Date).getTime()})}},remove:function(e){n.enabl
 ed&&e&&n.remove(e)},removeAll:function(e){if(n.enabled&&"function"==typeof e)for(var t in n.getAll())e(t,o.get(t))&&o.remove(t)},get:function(e){if(!n.enabled)return null;if(e){var t=n.get(e);return t?t.exp&&(new Date).getTime()-t.time>t.exp?null:t.val:null}return null}}},{store:14}],18:[function(e,t,r){t.exports={draw:function(e,r){if(e){var n=t.exports.getElement(r);n&&(e.append?e.append(n):e.appendChild(n))}},getElement:function(e){if(e&&0==e.indexOf("<svg")){var t=new DOMParser,r=t.parseFromString(e,"text/xml"),n=r.documentElement,i=document.createElement("div");i.className="svgImg";i.appendChild(n);return i}return!1}}},{}],19:[function(e,t,r){t.exports={name:"yasgui-yasr",description:"Yet Another SPARQL Resultset GUI",version:"2.6.5",main:"src/main.js",license:"MIT",author:"Laurens Rietveld",homepage:"http://yasr.yasgui.org",devDependencies:{"bootstrap-sass":"^3.3.1",browserify:"^6.1.0","browserify-shim":"^3.8.1","browserify-transform-tools":"^1.2.1",exorcist:"^0.1.6",gulp:"~3.
 6.0","gulp-autoprefixer":"^3.0.2","gulp-bump":"^0.1.11","gulp-concat":"^2.4.1","gulp-connect":"^2.0.5","gulp-cssimport":"^1.3.1","gulp-embedlr":"^0.5.2","gulp-filter":"^1.0.2","gulp-git":"^0.5.2","gulp-html-replace":"^1.4.1","gulp-jsvalidate":"^0.2.0","gulp-livereload":"^1.3.1","gulp-minify-css":"0.3.11","gulp-notify":"^2.0.1","gulp-rename":"^1.2.0","gulp-sass":"^2.0.4","gulp-sourcemaps":"^1.2.8","gulp-streamify":"0.0.5","gulp-tag-version":"^1.1.0","gulp-uglify":"^1.0.1","node-sass":"^3.4.0","require-dir":"^0.1.0","run-sequence":"^1.0.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"~0.1.1","vinyl-transform":"0.0.1",watchify:"^0.6.4"},bugs:"https://github.com/YASGUI/YASR/issues/",keywords:["JavaScript","SPARQL","Editor","Semantic Web","Linked Data"],maintainers:[{name:"Laurens Rietveld",email:"laurens.rietveld@gmail.com",web:"http://laurensrietveld.nl"}],repository:{type:"git",url:"https://github.com/YASGUI/YASR.git"},dependencies:{jquery:">=1.11.3",datatables:"^1.10.7",codemirror:
 "^4.7.0","yasgui-utils":"^1.4.1",pivottable:"^1.2.2","jquery-ui":"^1.10.5",d3:"^3.4.13"},"browserify-shim":{google:"global:google"},browserify:{transform:["browserify-shim"]},optionalShim:{codemirror:{require:"codemirror",global:"CodeMirror"},jquery:{require:"jquery",global:"jQuery"},"../../lib/codemirror":{require:"codemirror",global:"CodeMirror"},datatables:{require:"datatables",global:"jQuery"},d3:{require:"d3",global:"d3"},"jquery-ui/sortable":{require:"jquery-ui/sortable",global:"jQuery"},pivottable:{require:"pivottable",global:"jQuery"}}}},{}],20:[function(e,t,r){"use strict";t.exports=function(e){var t='"',r=",",n="\n",i=e.head.vars,o=e.results.bindings,a=function(){for(var e=0;e<i.length;e++)u(i[e]);d+=n},s=function(){for(var e=0;e<o.length;e++){l(o[e]);d+=n}},l=function(e){for(var t=0;t<i.length;t++){var r=i[t];u(e.hasOwnProperty(r)?e[r].value:"")}},u=function(e){e.replace(t,t+t);c(e)&&(e=t+e+t);d+=" "+e+" "+r},c=function(e){var n=!1;e.match("[\\w|"+r+"|"+t+"]")&&(n=!0);ret
 urn n},d="";a();s();return d}},{}],21:[function(e,t,r){"use strict";var n=function(){try{return e("jquery")}catch(t){return window.jQuery}}(),i=t.exports=function(t){var r=n("<div class='booleanResult'></div>"),i=function(){r.empty().appendTo(t.resultsContainer);var i=t.results.getBoolean(),o=null,a=null;if(i===!0){o="check";a="True"}else if(i===!1){o="cross";a="False"}else{r.width("140");a="Could not find boolean value in response"}o&&e("yasgui-utils").svg.draw(r,e("./imgs.js")[o]);n("<span></span>").text(a).appendTo(r)},o=function(){return t.results.getBoolean&&(t.results.getBoolean()===!0||0==t.results.getBoolean())};return{name:null,draw:i,hideFromSelection:!0,getPriority:10,canHandleResults:o}};i.version={"YASR-boolean":e("../package.json").version,jquery:n.fn.jquery}},{"../package.json":19,"./imgs.js":27,jquery:void 0,"yasgui-utils":16}],22:[function(e,t,r){"use strict";var n=function(){try{return e("jquery")}catch(t){return window.jQuery}}();t.exports={output:"table",useGoogl
 eCharts:!0,outputPlugins:["table","error","boolean","rawResponse","pivot","gchart"],drawOutputSelector:!0,drawDownloadIcon:!0,getUsedPrefixes:null,persistency:{prefix:function(e){return"yasr_"+n(e.container).closest("[id]").attr("id")+"_"},outputSelector:function(e){return"selector"},results:{id:function(e){return"results_"+n(e.container).closest("[id]").attr("id")},key:"results",maxSize:1e5}}}},{jquery:void 0}],23:[function(e,t,r){"use strict";var n=function(){try{return e("jquery")}catch(t){return window.jQuery}}(),i=t.exports=function(e){var t=n("<div class='errorResult'></div>"),r=n.extend(!0,{},i.defaults),o=function(){var e=null;if(r.tryQueryLink){var t=r.tryQueryLink();e=n("<button>",{"class":"yasr_btn yasr_tryQuery"}).text("Try query in new browser window").click(function(){window.open(t,"_blank");n(this).blur()})}return e},a=function(){var i=e.results.getException();t.empty().appendTo(e.resultsContainer);var a=n("<div>",{"class":"errorHeader"}).appendTo(t);if(0!==i.status){
 var s="Error";i.statusText&&i.statusText.length<100&&(s=i.statusText);s+=" (#"+i.status+")";a.append(n("<span>",{"class":"exception"}).text(s)).append(o());var l=null;i.responseText?l=i.responseText:"string"==typeof i&&(l=i);l&&t.append(n("<pre>").text(l))}else{a.append(o());t.append(n("<div>",{"class":"corsMessage"}).append(r.corsMessage))}},s=function(e){return e.results.getException()||!1};return{name:null,draw:a,getPriority:20,hideFromSelection:!0,canHandleResults:s}};i.defaults={corsMessage:"Unable to get response from endpoint",tryQueryLink:null}},{jquery:void 0}],24:[function(e,t,r){t.exports={GoogleTypeException:function(e,t){this.foundTypes=e;this.varName=t;this.toString=function(){var e="Conflicting data types found for variable "+this.varName+'. Assuming all values of this variable are "string".';e+=" To avoid this issue, cast the values in your SPARQL query to the intended xsd datatype";return e};this.toHtml=function(){var e="Conflicting data types found for variable <i>
 "+this.varName+'</i>. Assuming all values of this variable are "string".';e+=" As a result, several Google Charts will not render values of this particular variable.";e+=" To avoid this issue, cast the values in your SPARQL query to the intended xsd datatype";return e}}}},{}],25:[function(e,t,r){(function(r){var n=e("events").EventEmitter,i=(function(){try{return e("jquery")}catch(t){return window.jQuery}}(),!1),o=!1,a=function(){n.call(this);var e=this;this.init=function(){if(o||("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null)||i)("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null)?e.emit("initDone"):o&&e.emit("initError");else{i=!0;s("//google.com/jsapi",function(){i=!1;e.emit("initDone")});var t=100,n=6e3,a=+new Date,l=function(){if(!("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null))if(+new Date-a>n){o=!0;i=!1;e.emit("initError")}else setTimeout(l,t)};l()}};this.googleLoad=function(){var t=functi
 on(){("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null).load("visualization","1",{packages:["corechart","charteditor"],callback:function(){e.emit("done")}})};if(i){e.once("initDone",t);e.once("initError",function(){e.emit("error","Could not load google loader")})}else if("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null)t();else if(o)e.emit("error","Could not load google loader");else{e.once("initDone",t);e.once("initError",function(){e.emit("error","Could not load google loader")})}}},s=function(e,t){var r=document.createElement("script");r.type="text/javascript";r.readyState?r.onreadystatechange=function(){if("loaded"==r.readyState||"complete"==r.readyState){r.onreadystatechange=null;t()}}:r.onload=function(){t()};r.src=e;document.body.appendChild(r)};a.prototype=new n;t.exports=new a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{events:4,jquery:void 0}],26:
 [function(e,t,r){(function(r){"use strict";var n=function(){try{return e("jquery")}catch(t){return window.jQuery}}(),i=e("./utils.js"),o=(e("yasgui-utils"),t.exports=function(t){var a=n.extend(!0,{},o.defaults),s=t.container.closest("[id]").attr("id"),l=null,u=null,c=function(e){var n="undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null;u=new n.visualization.ChartEditor;n.visualization.events.addListener(u,"ok",function(){var e;l=u.getChartWrapper();e=l.getDataTable();l.setDataTable(null);a.chartConfig=JSON.parse(l.toJSON());a.chartConfig.containerId&&delete a.chartConfig.containerId;t.store();l.setDataTable(e);l.setOption("width",a.width);l.setOption("height",a.height);l.draw();t.updateHeader()});e&&e()};return{name:"Google Chart",hideFromSelection:!1,priority:7,options:a,getPersistentSettings:function(){return{chartConfig:a.chartConfig,motionChartState:a.motionChartState}},setPersistentSettings:function(e){e.chartConfig&&(a.chartConfig=e.chartConfig);e.moti
 onChartState&&(a.motionChartState=e.motionChartState)},canHandleResults:function(e){var t,r;return null!=(t=e.results)&&(r=t.getVariables())&&r.length>0;
-
-},getDownloadInfo:function(){if(!t.results)return null;var e=t.resultsContainer.find("svg");if(e.length>0)return{getContent:function(){return e[0].outerHTML?e[0].outerHTML:n("<div>").append(e.clone()).html()},filename:"queryResults.svg",contentType:"image/svg+xml",buttonTitle:"Download SVG Image"};var r=t.resultsContainer.find(".google-visualization-table-table");return r.length>0?{getContent:function(){return r.tableToCsv()},filename:"queryResults.csv",contentType:"text/csv",buttonTitle:"Download as CSV"}:void 0},getEmbedHtml:function(){if(!t.results)return null;var e=t.resultsContainer.find("svg").clone().removeAttr("height").removeAttr("width").css("height","").css("width","");if(0==e.length)return null;var r=e[0].outerHTML;r||(r=n("<div>").append(e.clone()).html());return'<div style="width: 800px; height: 600px;">\n'+r+"\n</div>"},draw:function(){var o=function(){t.resultsContainer.empty();var r=s+"_gchartWrapper";t.resultsContainer.append(n("<button>",{"class":"openGchartBtn ya
 sr_btn"}).text("Chart Config").click(function(){u.openDialog(l)})).append(n("<div>",{id:r,"class":"gchartWrapper"}));var o=new google.visualization.DataTable,c=t.results.getAsJson();c.head.vars.forEach(function(r){var n="string";try{n=i.getGoogleTypeForBindings(c.results.bindings,r)}catch(a){if(!(a instanceof e("./exceptions.js").GoogleTypeException))throw a;t.warn(a.toHtml())}o.addColumn(n,r)});var d=null;t.options.getUsedPrefixes&&(d="function"==typeof t.options.getUsedPrefixes?t.options.getUsedPrefixes(t):t.options.getUsedPrefixes);c.results.bindings.forEach(function(e){var t=[];c.head.vars.forEach(function(r,n){t.push(i.castGoogleType(e[r],d,o.getColumnType(n)))});o.addRow(t)});if(a.chartConfig&&a.chartConfig.chartType){a.chartConfig.containerId=r;l=new google.visualization.ChartWrapper(a.chartConfig);if("MotionChart"===l.getChartType()&&a.motionChartState){l.setOption("state",a.motionChartState);google.visualization.events.addListener(l,"ready",function(){var e;e=l.getChart();g
 oogle.visualization.events.addListener(e,"statechange",function(){a.motionChartState=e.getState();t.store()})})}l.setDataTable(o)}else l=new google.visualization.ChartWrapper({chartType:"Table",dataTable:o,containerId:r});l.setOption("width",a.width);l.setOption("height",a.height);l.draw();google.visualization.events.addListener(l,"ready",t.updateHeader)};("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null)&&("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null).visualization&&u?o():e("./gChartLoader.js").on("done",function(){c();o()}).on("error",function(){}).googleLoad()}}});o.defaults={height:"100%",width:"100%",persistencyId:"gchart",chartConfig:null,motionChartState:null}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./exceptions.js":24,"./gChartLoader.js":25,"./utils.js":40,jquery:void 0,"yasgui-utils":16}],27:[function(e,t,r){"use strict";t.exports={cross:'
 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="30px" height="30px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><g>	<path d="M83.288,88.13c-2.114,2.112-5.575,2.112-7.689,0L53.659,66.188c-2.114-2.112-5.573-2.112-7.687,0L24.251,87.907   c-2.113,2.114-5.571,2.114-7.686,0l-4.693-4.691c-2.114-2.114-2.114-5.573,0-7.688l21.719-21.721c2.113-2.114,2.113-5.573,0-7.686   L11.872,24.4c-2.114-2.113-2.114-5.571,0-7.686l4.842-4.842c2.113-2.114,5.571-2.114,7.686,0L46.12,33.591   c2.114,2.114,5.572,2.114,7.688,0l21.721-21.719c2.114-2.114,5.573-2.114,7.687,0l4.695,4.695c2.111,2.113,2.111,5.571-0.003,7.686   L66.188,45.973c-2.112,2.114-2.112,5.573,0,7.686L88.13,75.602c2.112,2.111,2.112,5.572,0,7.687L83.288,88.13z"/></g></svg>',check:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="30px" height="30px" viewBox="0 0 100 100" ena
 ble-background="new 0 0 100 100" xml:space="preserve"><path fill="#000000" d="M14.301,49.982l22.606,17.047L84.361,4.903c2.614-3.733,7.76-4.64,11.493-2.026l0.627,0.462  c3.732,2.614,4.64,7.758,2.025,11.492l-51.783,79.77c-1.955,2.791-3.896,3.762-7.301,3.988c-3.405,0.225-5.464-1.039-7.508-3.084  L2.447,61.814c-3.263-3.262-3.263-8.553,0-11.814l0.041-0.019C5.75,46.718,11.039,46.718,14.301,49.982z"/></svg>',unsorted:'<svg   xmlns:dc="http://purl.org/dc/elements/1.1/"   xmlns:cc="http://creativecommons.org/ns#"   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"   xmlns:svg="http://www.w3.org/2000/svg"   xmlns="http://www.w3.org/2000/svg"   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"   version="1.1"   id="Layer_1"   x="0px"   y="0px"   width="100%"   height="100%"   viewBox="0 0 54.552711 113.78478"   enable-background="new 0 0 100 100"   xml:space="preserve"><g     id="g5"     transform="matrix(-0
 .70522156,-0.70898699,-0.70898699,0.70522156,97.988199,55.081205)"><path       style="fill:#000000"       inkscape:connector-curvature="0"       id="path7"       d="M 57.911,66.915 45.808,55.063 42.904,52.238 31.661,41.25 31.435,41.083 31.131,40.775 30.794,40.523 30.486,40.3 30.069,40.05 29.815,39.911 29.285,39.659 29.089,39.576 28.474,39.326 28.363,39.297 H 28.336 L 27.665,39.128 27.526,39.1 26.94,38.99 26.714,38.961 26.212,38.934 h -0.31 -0.444 l -0.339,0.027 c -1.45,0.139 -2.876,0.671 -4.11,1.564 l -0.223,0.141 -0.279,0.25 -0.335,0.308 -0.054,0.029 -0.171,0.194 -0.334,0.364 -0.224,0.279 -0.25,0.336 -0.225,0.362 -0.192,0.308 -0.197,0.421 -0.142,0.279 -0.193,0.477 -0.084,0.222 -12.441,38.414 c -0.814,2.458 -0.313,5.029 1.115,6.988 v 0.026 l 0.418,0.532 0.17,0.165 0.251,0.281 0.084,0.079 0.283,0.281 0.25,0.194 0.474,0.367 0.083,0.053 c 2.015,1.371 4.641,1.874 7.131,1.094 L 55.228,80.776 c 4.303,-1.342 6.679,-5.814 5.308,-10.006 -0.387,-1.259 -1.086,-2.35 -1.979,-3.215 l -0.368,-0.33
 7 -0.278,-0.303 z m -6.318,5.896 0.079,0.114 -37.369,11.57 11.854,-36.538 10.565,10.317 2.876,2.825 11.995,11.712 z" /></g><path     style="fill:#000000"     inkscape:connector-curvature="0"     id="path7-9"     d="m 8.8748339,52.571766 16.9382111,-0.222584 4.050851,-0.06665 15.719154,-0.222166 0.27778,-0.04246 0.43276,0.0017 0.41632,-0.06121 0.37532,-0.0611 0.47132,-0.119342 0.27767,-0.08206 0.55244,-0.198047 0.19707,-0.08043 0.61095,-0.259721 0.0988,-0.05825 0.019,-0.01914 0.59303,-0.356548 0.11787,-0.0788 0.49125,-0.337892 0.17994,-0.139779 0.37317,-0.336871 0.21862,-0.219786 0.31311,-0.31479 0.21993,-0.259387 c 0.92402,-1.126057 1.55249,-2.512251 1.78961,-4.016904 l 0.0573,-0.25754 0.0195,-0.374113 0.0179,-0.454719 0.0175,-0.05874 -0.0169,-0.258049 -0.0225,-0.493503 -0.0398,-0.355569 -0.0619,-0.414201 -0.098,-0.414812 -0.083,-0.353334 L 53.23955,41.1484 53.14185,40.850967 52.93977,40.377742 52.84157,40.161628 34.38021,4.2507375 C 33.211567,1.9401875 31.035446,0.48226552 28.63948
 4,0.11316952 l -0.01843,-0.01834 -0.671963,-0.07882 -0.236871,0.0042 L 27.335984,-4.7826577e-7 27.220736,0.00379952 l -0.398804,0.0025 -0.313848,0.04043 -0.594474,0.07724 -0.09611,0.02147 C 23.424549,0.60716252 21.216017,2.1142355 20.013025,4.4296865 L 0.93967491,40.894479 c -2.08310801,3.997178 -0.588125,8.835482 3.35080799,10.819749 1.165535,0.613495 2.43199,0.88731 3.675026,0.864202 l 0.49845,-0.02325 0.410875,0.01658 z M 9.1502369,43.934401 9.0136999,43.910011 27.164145,9.2564625 44.70942,43.42818 l -14.765289,0.214677 -4.031106,0.0468 -16.7627881,0.244744 z" /></svg>',sortDesc:'<svg   xmlns:dc="http://purl.org/dc/elements/1.1/"   xmlns:cc="http://creativecommons.org/ns#"   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"   xmlns:svg="http://www.w3.org/2000/svg"   xmlns="http://www.w3.org/2000/svg"   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"   version="1.1"   id="Layer_1"   x="0px"   
 y="0px"   width="100%"   height="100%"   viewBox="0 0 54.552711 113.78478"   enable-background="new 0 0 100 100"   xml:space="preserve"><g     id="g5"     transform="matrix(-0.70522156,-0.70898699,-0.70898699,0.70522156,97.988199,55.081205)"><path       style="fill:#000000"       inkscape:connector-curvature="0"       id="path7"       d="M 57.911,66.915 45.808,55.063 42.904,52.238 31.661,41.25 31.435,41.083 31.131,40.775 30.794,40.523 30.486,40.3 30.069,40.05 29.815,39.911 29.285,39.659 29.089,39.576 28.474,39.326 28.363,39.297 H 28.336 L 27.665,39.128 27.526,39.1 26.94,38.99 26.714,38.961 26.212,38.934 h -0.31 -0.444 l -0.339,0.027 c -1.45,0.139 -2.876,0.671 -4.11,1.564 l -0.223,0.141 -0.279,0.25 -0.335,0.308 -0.054,0.029 -0.171,0.194 -0.334,0.364 -0.224,0.279 -0.25,0.336 -0.225,0.362 -0.192,0.308 -0.197,0.421 -0.142,0.279 -0.193,0.477 -0.084,0.222 -12.441,38.414 c -0.814,2.458 -0.313,5.029 1.115,6.988 v 0.026 l 0.418,0.532 0.17,0.165 0.251,0.281 0.084,0.079 0.283,0.281 0.25,0.194 
 0.474,0.367 0.083,0.053 c 2.015,1.371 4.641,1.874 7.131,1.094 L 55.228,80.776 c 4.303,-1.342 6.679,-5.814 5.308,-10.006 -0.387,-1.259 -1.086,-2.35 -1.979,-3.215 l -0.368,-0.337 -0.278,-0.303 z m -6.318,5.896 0.079,0.114 -37.369,11.57 11.854,-36.538 10.565,10.317 2.876,2.825 11.995,11.712 z" /></g><path     style="fill:#000000"     inkscape:connector-curvature="0"     id="path9"     d="m 27.813273,0.12823506 0.09753,0.02006 c 2.39093,0.458209 4.599455,1.96811104 5.80244,4.28639004 L 52.785897,40.894525 c 2.088044,4.002139 0.590949,8.836902 -3.348692,10.821875 -1.329078,0.688721 -2.766603,0.943695 -4.133174,0.841768 l -0.454018,0.02 L 27.910392,52.354171 23.855313,52.281851 8.14393,52.061827 7.862608,52.021477 7.429856,52.021738 7.014241,51.959818 6.638216,51.900838 6.164776,51.779369 5.889216,51.699439 5.338907,51.500691 5.139719,51.419551 4.545064,51.145023 4.430618,51.105123 4.410168,51.084563 3.817138,50.730843 3.693615,50.647783 3.207314,50.310611 3.028071,50.174369 2.652795,49.8
 33957 2.433471,49.613462 2.140099,49.318523 1.901127,49.041407 C 0.97781,47.916059 0.347935,46.528448 0.11153,45.021676 L 0.05352,44.766255 0.05172,44.371683 0.01894,43.936017 0,43.877277 0.01836,43.62206 0.03666,43.122889 0.0765,42.765905 0.13912,42.352413 0.23568,41.940425 0.32288,41.588517 0.481021,41.151945 0.579391,40.853806 0.77369,40.381268 0.876097,40.162336 19.338869,4.2542801 c 1.172169,-2.308419 3.34759,-3.76846504 5.740829,-4.17716604 l 0.01975,0.01985 0.69605,-0.09573 0.218437,0.0225 0.490791,-0.02132 0.39809,0.0046 0.315972,0.03973 0.594462,0.08149 z" /></svg>',sortAsc:'<svg   xmlns:dc="http://purl.org/dc/elements/1.1/"   xmlns:cc="http://creativecommons.org/ns#"   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"   xmlns:svg="http://www.w3.org/2000/svg"   xmlns="http://www.w3.org/2000/svg"   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"   version="1.1"   id="Layer_1"   x="0px"  
  y="0px"   width="100%"   height="100%"   viewBox="0 0 54.552711 113.78478"   enable-background="new 0 0 100 100"   xml:space="preserve"><g     id="g5"     transform="matrix(-0.70522156,0.70898699,-0.70898699,-0.70522156,97.988199,58.704807)"><path       style="fill:#000000"       inkscape:connector-curvature="0"       id="path7"       d="M 57.911,66.915 45.808,55.063 42.904,52.238 31.661,41.25 31.435,41.083 31.131,40.775 30.794,40.523 30.486,40.3 30.069,40.05 29.815,39.911 29.285,39.659 29.089,39.576 28.474,39.326 28.363,39.297 H 28.336 L 27.665,39.128 27.526,39.1 26.94,38.99 26.714,38.961 26.212,38.934 h -0.31 -0.444 l -0.339,0.027 c -1.45,0.139 -2.876,0.671 -4.11,1.564 l -0.223,0.141 -0.279,0.25 -0.335,0.308 -0.054,0.029 -0.171,0.194 -0.334,0.364 -0.224,0.279 -0.25,0.336 -0.225,0.362 -0.192,0.308 -0.197,0.421 -0.142,0.279 -0.193,0.477 -0.084,0.222 -12.441,38.414 c -0.814,2.458 -0.313,5.029 1.115,6.988 v 0.026 l 0.418,0.532 0.17,0.165 0.251,0.281 0.084,0.079 0.283,0.281 0.25,0.194
  0.474,0.367 0.083,0.053 c 2.015,1.371 4.641,1.874 7.131,1.094 L 55.228,80.776 c 4.303,-1.342 6.679,-5.814 5.308,-10.006 -0.387,-1.259 -1.086,-2.35 -1.979,-3.215 l -0.368,-0.337 -0.278,-0.303 z m -6.318,5.896 0.079,0.114 -37.369,11.57 11.854,-36.538 10.565,10.317 2.876,2.825 11.995,11.712 z" /></g><path     style="fill:#000000"     inkscape:connector-curvature="0"     id="path9"     d="m 27.813273,113.65778 0.09753,-0.0201 c 2.39093,-0.45821 4.599455,-1.96811 5.80244,-4.28639 L 52.785897,72.891487 c 2.088044,-4.002139 0.590949,-8.836902 -3.348692,-10.821875 -1.329078,-0.688721 -2.766603,-0.943695 -4.133174,-0.841768 l -0.454018,-0.02 -16.939621,0.223997 -4.055079,0.07232 -15.711383,0.220024 -0.281322,0.04035 -0.432752,-2.61e-4 -0.415615,0.06192 -0.376025,0.05898 -0.47344,0.121469 -0.27556,0.07993 -0.550309,0.198748 -0.199188,0.08114 -0.594655,0.274528 -0.114446,0.0399 -0.02045,0.02056 -0.59303,0.35372 -0.123523,0.08306 -0.486301,0.337172 -0.179243,0.136242 -0.375276,0.340412 -0.2193
 24,0.220495 -0.293372,0.294939 -0.238972,0.277116 C 0.97781,65.869953 0.347935,67.257564 0.11153,68.764336 L 0.05352,69.019757 0.05172,69.414329 0.01894,69.849995 0,69.908735 l 0.01836,0.255217 0.0183,0.499171 0.03984,0.356984 0.06262,0.413492 0.09656,0.411988 0.0872,0.351908 0.158141,0.436572 0.09837,0.298139 0.194299,0.472538 0.102407,0.218932 18.462772,35.908054 c 1.172169,2.30842 3.34759,3.76847 5.740829,4.17717 l 0.01975,-0.0199 0.69605,0.0957 0.218437,-0.0225 0.490791,0.0213 0.39809,-0.005 0.315972,-0.0397 0.594462,-0.0815 z" /></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 100 100" xml:space="preserve"><g id="Captions"></g><g id="Your_Icon">	<path fill-rule="evenodd" fill="#000000" d="M88,84v-2c0-2.961-0.859-4-4-4H16c-2.961,0-4,0.98-4,4v2c0,3.102,1.039,4,4,4h68   C87.02,88,88,87.039,88,84z M58,12H42c-5,0-6,0.941-6,6v22H16l34,34l34-34H6
 4V18C64,12.941,62.939,12,58,12z"/></g></svg>',move:'<svg   xmlns:dc="http://purl.org/dc/elements/1.1/"   xmlns:cc="http://creativecommons.org/ns#"   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"   xmlns:svg="http://www.w3.org/2000/svg"   xmlns="http://www.w3.org/2000/svg"   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"   version="1.1"   id="Layer_1"   x="0px"   y="0px"   width="100%"   height="100%"   viewBox="5 -10 74.074074 100"   enable-background="new 0 0 100 100"   xml:space="preserve"   inkscape:version="0.48.4 r9939"   sodipodi:docname="noun_11656_cc.svg"><metadata     ><rdf:RDF><cc:Work         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs      /><sodipodi:namedview     pagecolor="#ffffff"     bordercolor="#666666"     borderopacity="1"     objecttolerance="10"     gri
 dtolerance="10"     guidetolerance="10"     inkscape:pageopacity="0"     inkscape:pageshadow="2"     inkscape:window-width="753"     inkscape:window-height="480"          showgrid="false"     fit-margin-top="0"     fit-margin-left="0"     fit-margin-right="0"     fit-margin-bottom="0"     inkscape:zoom="2.36"     inkscape:cx="44.101509"     inkscape:cy="31.481481"     inkscape:window-x="287"     inkscape:window-y="249"     inkscape:window-maximized="0"     inkscape:current-layer="Layer_1" /><polygon     points="33,83 50,100 67,83 54,83 54,17 67,17 50,0 33,17 46,17 46,83 "          transform="translate(-7.962963,-10)" /><polygon     points="83,67 100,50 83,33 83,46 17,46 17,33 0,50 17,67 17,54 83,54 "          transform="translate(-7.962963,-10)" /></svg>',fullscreen:'<svg   xmlns:dc="http://purl.org/dc/elements/1.1/"   xmlns:cc="http://creativecommons.org/ns#"   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"   xmlns:svg="http://www.w3.org/2000/svg"   xmlns="http://www.w3.or
 g/2000/svg"   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"   version="1.1"      x="0px"   y="0px"   width="100%"   height="100%"   viewBox="5 -10 74.074074 100"   enable-background="new 0 0 100 100"   xml:space="preserve"   inkscape:version="0.48.4 r9939"   sodipodi:docname="noun_2186_cc.svg"><metadata     ><rdf:RDF><cc:Work         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs      /><sodipodi:namedview     pagecolor="#ffffff"     bordercolor="#666666"     borderopacity="1"     objecttolerance="10"     gridtolerance="10"     guidetolerance="10"     inkscape:pageopacity="0"     inkscape:pageshadow="2"     inkscape:window-width="640"     inkscape:window-height="480"          showgrid="false"     fit-margin-top="0"     fit-margin-left="0"     fit-margin-right="0"     fit-margin-bottom="0
 "     inkscape:zoom="2.36"     inkscape:cx="44.101509"     inkscape:cy="31.481481"     inkscape:window-x="65"     inkscape:window-y="24"     inkscape:window-maximized="0"     inkscape:current-layer="Layer_1" /><path     d="m -7.962963,-10 v 38.889 l 16.667,-16.667 16.667,16.667 5.555,-5.555 -16.667,-16.667 16.667,-16.667 h -38.889 z"          inkscape:connector-curvature="0"     style="fill:#010101" /><path     d="m 92.037037,-10 v 38.889 l -16.667,-16.667 -16.666,16.667 -5.556,-5.555 16.666,-16.667 -16.666,-16.667 h 38.889 z"          inkscape:connector-curvature="0"     style="fill:#010101" /><path     d="M -7.962963,90 V 51.111 l 16.667,16.666 16.667,-16.666 5.555,5.556 -16.667,16.666 16.667,16.667 h -38.889 z"          inkscape:connector-curvature="0"     style="fill:#010101" /><path     d="M 92.037037,90 V 51.111 l -16.667,16.666 -16.666,-16.666 -5.556,5.556 16.666,16.666 -16.666,16.667 h 38.889 z"          inkscape:connector-curvature="0"     style="fill:#010101" /></svg>',sma
 llscreen:'<svg   xmlns:dc="http://purl.org/dc/elements/1.1/"   xmlns:cc="http://creativecommons.org/ns#"   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"   xmlns:svg="http://www.w3.org/2000/svg"   xmlns="http://www.w3.org/2000/svg"   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"   version="1.1"      x="0px"   y="0px"   width="100%"   height="100%"   viewBox="5 -10 74.074074 100"   enable-background="new 0 0 100 100"   xml:space="preserve"   inkscape:version="0.48.4 r9939"   sodipodi:docname="noun_2186_cc.svg"><metadata     ><rdf:RDF><cc:Work         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs      /><sodipodi:namedview     pagecolor="#ffffff"     bordercolor="#666666"     borderopacity="1"     objecttolerance="10"     gridtolerance="10"     guidetolerance="10"     inkscape:pa
 geopacity="0"     inkscape:pageshadow="2"     inkscape:window-width="1855"     inkscape:window-height="1056"          showgrid="false"     fit-margin-top="0"     fit-margin-left="0"     fit-margin-right="0"     fit-margin-bottom="0"     inkscape:zoom="2.36"     inkscape:cx="44.101509"     inkscape:cy="31.481481"     inkscape:window-x="65"     inkscape:window-y="24"     inkscape:window-maximized="1"     inkscape:current-layer="Layer_1" /><path     d="m 30.926037,28.889 0,-38.889 -16.667,16.667 -16.667,-16.667 -5.555,5.555 16.667,16.667 -16.667,16.667 38.889,0 z"          inkscape:connector-curvature="0"     style="fill:#010101" /><path     d="m 53.148037,28.889 0,-38.889 16.667,16.667 16.666,-16.667 5.556,5.555 -16.666,16.667 16.666,16.667 -38.889,0 z"          inkscape:connector-curvature="0"     style="fill:#010101" /><path     d="m 30.926037,51.111 0,38.889 -16.667,-16.666 -16.667,16.666 -5.555,-5.556 16.667,-16.666 -16.667,-16.667 38.889,0 z"          inkscape:connector-curvature
 ="0"     style="fill:#010101" /><path     d="m 53.148037,51.111 0,38.889 16.667,-16.666 16.666,16.666 5.556,-5.556 -16.666,-16.666 16.666,-16.667 -38.889,0 z"          inkscape:connector-curvature="0"     style="fill:#010101" /></svg>'}},{}],28:[function(e,t,r){e("./tableToCsv.js")},{"./tableToCsv.js":29}],29:[function(e,t,r){"use strict";var n=function(){try{return e("jquery")}catch(t){return window.jQuery}}();n.fn.tableToCsv=function(e){var t="";e=n.extend({quote:'"',delimiter:",",lineBreak:"\n"},e);var r=function(t){var r=!1;t.match("[\\w|"+e.delimiter+"|"+e.quote+"]")&&(r=!0);return r},i=function(n){n.replace(e.quote,e.quote+e.quote);r(n)&&(n=e.quote+n+e.quote);t+=" "+n+" "+e.delimiter},o=function(r){r.forEach(function(e){i(e)});t+=e.lineBreak},a=n(this),s={},l=0;a.find("tr:first *").each(function(){n(this).attr("colspan")?l+=+n(this).attr("colspan"):l++});a.find("tr").each(function(e,t){for(var r=n(t),i=[],a=0,u=0;l>u;)if(s[u]){i.push(s[u].text);s[u].rowSpan--;s[u].rowSpan||(s[
 u]=null);u++}else{var c=r.find(":nth-child("+(a+1)+")");if(!c)break;for(var d=c.attr("colspan")||1,f=c.attr("rowspan")||1,p=0;d>p;p++){i.push(c.text());f>1&&(s[u]={rowSpan:f-1,text:c.text()});u++}a++}o(i)});return t}},{jquery:void 0}],30:[function(e,t,r){"use strict";var n=function(){try{return e("jquery")}catch(t){return window.jQuery}}(),i=e("events").EventEmitter,o=e("yasgui-utils");console=console||{log:function(){}};e("./jquery/extendJquery.js");var a=function(r,a,s){i.call(this);var l=this;l.options=n.extend(!0,{},t.exports.defaults,a);a&&a.outputPlugins&&(l.options.outputPlugins=a.outputPlugins);l.container=n("<div class='yasr'></div>").appendTo(r);l.header=n("<div class='yasr_header'></div>").appendTo(l.container);l.resultsContainer=n("<div class='yasr_results'></div>").appendTo(l.container);l.storage=o.storage;var u=null;l.getPersistencyId=function(e){null===u&&(u=l.options.persistency&&l.options.persistency.prefix?"string"==typeof l.options.persistency.prefix?l.options.per
 sistency.prefix:l.options.persistency.prefix(l):!1);return u&&null!=e?u+("string"==typeof e?e:e(l)):null};l.options.useGoogleCharts&&e("./gChartLoader.js").once("initError",function(){l.options.useGoogleCharts=!1}).init();l.plugins={};for(var c in t.exports.plugins)(l.options.useGoogleCharts||"gchart"!=c)&&(l.plugins[c]=new t.exports.plugins[c](l));l.updateHeader=function(){var e=l.header.find(".yasr_downloadIcon").removeAttr("title"),t=l.header.find(".yasr_embedBtn"),r=l.plugins[l.options.output];if(r){var n=r.getDownloadInfo?r.getDownloadInfo():null;if(n){n.buttonTitle&&e.attr("title",n.buttonTitle);e.prop("disabled",!1);e.find("path").each(function(){this.style.fill="black"})}else{e.prop("disabled",!0).prop("title","Download not supported for this result representation");e.find("path").each(function(){this.style.fill="gray"})}var i=null;r.getEmbedHtml&&(i=r.getEmbedHtml());i&&i.length>0?t.show():t.hide()}};l.draw=function(e){if(!l.results)return!1;e||(e=l.options.output);var t=nu
 ll,r=-1,i=[];for(var o in l.plugins)if(l.plugins[o].canHandleResults(l)){var a=l.plugins[o].getPriority;"function"==typeof a&&(a=a(l));if(null!=a&&void 0!=a&&a>r){r=a;t=o}}else i.push(o);d(i);var s=null;e in l.plugins&&l.plugins[e].canHandleResults(l)?s=e:t&&(s=t);if(s){n(l.resultsContainer).empty();l.emit("draw",l,l.plugins[s]);l.plugins[s].draw();l.emit("drawn",l,l.plugins[s]);l.updateHeader();return!0}l.updateHeader();return!1};var d=function(e){l.header.find(".yasr_btnGroup .yasr_btn").removeClass("disabled");e.forEach(function(e){l.header.find(".yasr_btnGroup .select_"+e).addClass("disabled")})};l.somethingDrawn=function(){return!l.resultsContainer.is(":empty")};l.setResponse=function(t,r,n){try{l.results=e("./parsers/wrapper.js")(t,r,n)}catch(i){l.results={getException:function(){return i}}}l.draw();var a=l.getPersistencyId(l.options.persistency.results.key);a&&(l.results.getOriginalResponseAsString&&l.results.getOriginalResponseAsString().length<l.options.persistency.results.
 maxSize?o.storage.set(a,l.results.getAsStoreObject(),"month"):o.storage.remove(a))};var f=null,p=null,g=null;l.warn=function(e){if(!f){f=n("<div>",{"class":"toggableWarning"}).prependTo(l.container).hide();p=n("<span>",{"class":"toggleWarning"}).html("&times;").click(function(){f.hide(400)}).appendTo(f);g=n("<span>",{"class":"toggableMsg"}).appendTo(f)}g.empty();e instanceof n?g.append(e):g.html(e);f.show(400)};var h=null,v=function(){if(null===h){var e=window.URL||window.webkitURL||window.mozURL||window.msURL;h=e&&Blob}return h},m=null,w=function(t){var r=function(){var e=n('<div class="yasr_btnGroup"></div>');n.each(t.options.outputPlugins,function(r,i){var o=t.plugins[i];if(o&&!o.hideFromSelection){var a=o.name||i,s=n("<button class='yasr_btn'></button>").text(a).addClass("select_"+i).click(function(){e.find("button.selected").removeClass("selected");n(this).addClass("selected");t.options.output=i;t.store();f&&f.hide(400);t.draw()}).appendTo(e);t.options.output==i&&s.addClass

<TRUNCATED>