jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [2/7] jena git commit: Updated yasr 2.4.12
Date Thu, 05 Mar 2015 14:11:25 GMT
http://git-wip-us.apache.org/repos/asf/jena/blob/8c3f710a/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
index dfd98cb..ab2dd06 100644
--- 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
@@ -1,5 +1,5 @@
-!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 o(a,s){if(!r[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(i)return i(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 o(r?r:t)},c,c.exports,t,e,r,n)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(e,t){t.exports=e("./main.js")},{"./main.js":27}],2:[function(e){var t,r=function(){try{return e("jquery")}catch(t){return window.jQuery}}(),n=r(document),o=r("head"),i=null,a=[],s=0,l="id",u="px",c="JColResizer",f=parseInt,d=Math,p=navigator.use
 rAgent.indexOf("Trident/4.0")>0;try{t=sessionStorage}catch(g){}o.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 h=function(e,t){var n=r(e);if(t.disable)return v(n);var o=n.id=n.attr(l)||c+s++;n.p=t.postbackSafe;if(n.is("table")&&!a[o]){n.addClass(c).attr(l,o).before('<div class="JCLRgrips"/>');n.opt=t;n.g=[];n.c=[];n.w=n.width();n.gc=n.prev();t.marginLeft&&n.gc.css("marginLeft",t.marginLeft);t.marginRight&&n.gc.css("marginRight",t.marginRight);n.cs=f(p?e.cellSpacing||e.currentStyle.borderSpacing:n.css("border-spacing"))||2;n.b=f
 (p?e.border||e.currentStyle.borderLeftWidth:n.css("border-left-width"))||1;a[o]=n;m(n)}},v=function(e){var t=e.attr(l),e=a[t];if(e&&e.is("table")){e.removeClass(c).gc.remove();delete a[t]}},m=function(e){var n=e.find(">thead>tr>th,>thead>tr>td");n.length||(n=e.find(">tbody>tr:first>th,>tr:first>th,>tbody>tr:first>td, >tr:first>td"));e.cg=e.find("col");e.ln=n.length;e.p&&t&&t[e.id]&&w(e,n);n.each(function(t){var n=r(this),o=r(e.gc.append('<div class="JCLRgrip"></div>')[0].lastChild);o.t=e;o.i=t;o.c=n;n.w=n.width();e.g.push(o);e.c.push(n);n.width(n.w).removeAttr("width");t<e.ln-1?o.bind("touchstart mousedown",j).append(e.opt.gripInnerHtml).append('<div class="'+c+'" style="cursor:'+e.opt.hoverCursor+'"></div>'):o.addClass("JCLRLastGrip").removeClass("JCLRgrip");o.data(c,{i:t,t:e.attr(l)})});e.cg.removeAttr("width");y(e);e.find("td, th").not(n).not("table th, table td").each(function(){r(this).removeAttr("width")})},w=function(e,r){var n,o=0,i=0,a=[];if(r){e.cg.removeAttr("width");if(e
 .opt.flush){t[e.id]="";return}n=t[e.id].split(";");for(;i<e.ln;i++){a.push(100*n[i]/n[e.ln]+"%");r.eq(i).css("width",a[i])}for(i=0;i<e.ln;i++)e.cg.eq(i).css("width",a[i])}else{t[e.id]="";for(;i<e.c.length;i++){n=e.c[i].width();t[e.id]+=n+";";o+=n}t[e.id]+=o}},y=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+u,height:e.opt.headerOnly?e.c[0].outerHeight(!1):e.outerHeight(!1)})}},b=function(e,t,r){var n=i.x-i.l,o=e.c[t],a=e.c[t+1],s=o.w+n,l=a.w-n;o.width(s+u);a.width(l+u);e.cg.eq(t).width(s+u);e.cg.eq(t+1).width(l+u);if(r){o.w=s;a.w=l}},x=function(e){if(i){var t=i.t;if(e.originalEvent.touches)var r=e.originalEvent.touches[0].pageX-i.ox+i.l;else var r=e.pageX-i.ox+i.l;var n=t.opt.minWidth,o=i.i,a=1.5*t.cs+n+t.b,s=o==t.ln-1?t.w-a:t.g[o+1].position().left-t.cs-n,l=o?t.g[o-1].position().left+t.cs+n:a;r=d.max(l,d.min(s,r));i.x=r;i.css("left",r+u);if(t.opt.liveDrag){b(t,o);y(t);var c=t.opt.onDrag;if(c)
 {e.currentTarget=t[0];c(e)}}return!1}},k=function(e){n.unbind("touchend."+c+" mouseup."+c).unbind("touchmove."+c+" mousemove."+c);r("head :last-child").remove();if(i){i.removeClass(i.t.opt.draggingClass);var o=i.t,a=o.opt.onResize;if(i.x){b(o,i.i,!0);y(o);if(a){e.currentTarget=o[0];a(e)}}o.p&&t&&w(o);i=null}},j=function(e){var t=r(this).data(c),s=a[t.t],l=s.g[t.i];l.ox=e.originalEvent.touches?e.originalEvent.touches[0].pageX:e.pageX;l.l=l.position().left;n.bind("touchmove."+c+" mousemove."+c,x).bind("touchend."+c+" mouseup."+c,k);o.append("<style type='text/css'>*{cursor:"+s.opt.dragCursor+"!important}</style>");l.addClass(s.opt.draggingClass);i=l;if(s.c[t.i].l)for(var u,f=0;f<s.ln;f++){u=s.c[f];u.l=!1;u.w=u.width()}return!1},C=function(){for(t in a){var e,t=a[t],r=0;t.removeClass(c);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",d.round(1e3*t.c[e].w/r)/10+"%").l=!0}y(t.addClass(c))}};r(window).bind("resize."+c,C);r.fn.extend({c
 olResizable: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=r.extend(t,e);return this.each(function(){h(this,e)})}})},{jquery:void 0}],3:[function(){RegExp.escape=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")};(function(e){"use strict";e.csv={defaults:{separator:",",delimiter:'"',headers:!0},hooks:{castToScalar:function(e){var t=/\./;if(isNaN(e))return e;if(t.test(e))return parseFloat(e);var r=parseInt(e);return isNaN(r)?null:r}},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.state.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 o=t.separator,i=t.delimiter;t.state.rowNum||(t.state.rowNum=1);t.state.colNum||(t.state.colNum=1);var a=[],s=[],l=0,u="",c=!1,f=RegExp.escape(o),d=RegExp.escape(i),p=/(D|S|\n|\r|[^DS\r\n]+)/,g=p.source;g=g.replace(/S/g,f);g=g.replace(/D/g,d);p=RegExp(g,"gm");e.replace(p,function(e){if(!c)switch(l){case 0:if(e===o){u+="";n();break}if(e===i){l=1;break}if("\n"===e){n();r();break}if(/^\r$/.test(e))break;u+=e;l=3;break;case 1:if(e===i){l=2;break}u+=e;l=1;break;case 2:if(e===i){u+=e;l=1;break}if(e===o){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===o){n();break}if("\n"===e){n();r();break}if(/^\r$/.test(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+"]")}});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)i.push(s);else{var e=t.onParseEntry(s,t.state);e!==!1&&i.push(e)}s="";t.end&&t.state.rowNum>=t.end&&(l=!0);t.state.rowNum++}}var n=t.separator,o=t.delimiter;t.state.rowNum||(t.state.rowNum=1);var i=[],a=0,s="",l=!1,u=RegExp.escape(n),c=RegExp.escape(o),f=/(D|S|\n|\r|[^DS\r\n]+)/,d=f.source;d=d.replace(/S/g,u);d=d.replace(/D/g,c);f=RegExp(d,"gm");e.replace(f,function(e){if(!l)switch(a){case 0:if(e===n){s+=e;a=0;break}if(e===o){s+=e;a=1;break}if("\n"===e){r();break}if(/^\r$/.test(e))break;s+=e;a=3;break;case 1:if(e===o){s+=e;a=2;break}s+=e;a=1;break;case 2:var i=s.substr(s.length-1);if(e===o&&i===o){s+=e;a=1;break}if(e===n){s+=e;a=0;break}if("\n"===e){r();break}if("\r"===e)break;throw new E
 rror("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===o)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 i},parseEntry:function(e,t){function r(){if(void 0===t.onParseValue)i.push(s);else{var e=t.onParseValue(s,t.state);e!==!1&&i.push(e)}s="";a=0;t.state.colNum++}var n=t.separator,o=t.delimiter;t.state.rowNum||(t.state.rowNum=1);t.state.colNum||(t.state.colNum=1);var i=[],a=0,s="";if(!t.match){var l=RegExp.escape(n),u=RegExp.escape(o),c=/(D|S|\n|\r|[^DS\r\n]+)/,f=c.source;f=f.replace(/S/g,l);f=f.replace(/D/g,u);t.match=RegExp(f,"gm")}e.replace(t.match,function(e){switch(a){case 0:if(e===n){s+="";r();break}if(e===o){a=1;break}if("\n"===e||"\r"===e)break;s+=e;a=3;break;case 1:if(e===o){a=2;break}s+=e;a=1;b
 reak;case 2:if(e===o){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===o)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 i}},toArray:function(t,r,n){var r=void 0!==r?r:{},o={};o.callback=void 0!==n&&"function"==typeof n?n:!1;o.separator="separator"in r?r.separator:e.csv.defaults.separator;o.delimiter="delimiter"in r?r.delimiter:e.csv.defaults.delimiter;var i=void 0!==r.state?r.state:{},r={delimiter:o.delimiter,separator:o.separator,onParseEntry:r.onParseEntry,onParseValue:r.onParseValue,state:i},a=e.csv.parsers.parseEntry(t,r);if(!o.callback)return a;o.callb
 ack("",a);return void 0},toArrays:function(t,r,n){var r=void 0!==r?r:{},o={};o.callback=void 0!==n&&"function"==typeof n?n:!1;o.separator="separator"in r?r.separator:e.csv.defaults.separator;o.delimiter="delimiter"in r?r.delimiter:e.csv.defaults.delimiter;var i=[],r={delimiter:o.delimiter,separator:o.separator,onParseEntry:r.onParseEntry,onParseValue:r.onParseValue,start:r.start,end:r.end,state:{rowNum:1,colNum:1}};i=e.csv.parsers.parse(t,r);if(!o.callback)return i;o.callback("",i);return void 0},toObjects:function(t,r,n){var r=void 0!==r?r:{},o={};o.callback=void 0!==n&&"function"==typeof n?n:!1;o.separator="separator"in r?r.separator:e.csv.defaults.separator;o.delimiter="delimiter"in r?r.delimiter:e.csv.defaults.delimiter;o.headers="headers"in r?r.headers:e.csv.defaults.headers;r.start="start"in r?r.start:1;o.headers&&r.start++;r.end&&o.headers&&r.end++;var i=[],a=[],r={delimiter:o.delimiter,separator:o.separator,onParseEntry:r.onParseEntry,onParseValue:r.onParseValue,start:r.star
 t,end:r.end,state:{rowNum:1,colNum:1},match:!1},s={delimiter:o.delimiter,separator:o.separator,start:1,end:1,state:{rowNum:1,colNum:1}},l=e.csv.parsers.splitLines(t,s),u=e.csv.toArray(l[0],r),i=e.csv.parsers.splitLines(t,r);r.state.colNum=1;r.state.rowNum=u?2:1;for(var c=0,f=i.length;f>c;c++){var d=e.csv.toArray(i[c],r),p={};for(var g in u)p[u[g]]=d[g];a.push(p);r.state.rowNum++}if(!o.callback)return a;o.callback("",a);return void 0},fromArrays:function(t,r,n){var r=void 0!==r?r:{},o={};o.callback=void 0!==n&&"function"==typeof n?n:!1;o.separator="separator"in r?r.separator:e.csv.defaults.separator;o.delimiter="delimiter"in r?r.delimiter:e.csv.defaults.delimiter;o.escaper="escaper"in r?r.escaper:e.csv.defaults.escaper;o.experimental="experimental"in r?r.experimental:!1;if(!o.experimental)throw new Error("not implemented");var a=[];for(i in t)a.push(t[i]);if(!o.callback)return a;o.callback("",a);return void 0},fromObjects2CSV:function(t,r,n){var r=void 0!==r?r:{},o={};o.callback=void
  0!==n&&"function"==typeof n?n:!1;o.separator="separator"in r?r.separator:e.csv.defaults.separator;o.delimiter="delimiter"in r?r.delimiter:e.csv.defaults.delimiter;o.experimental="experimental"in r?r.experimental:!1;if(!o.experimental)throw new Error("not implemented");var a=[];for(i in t)a.push(arrays[i]);if(!o.callback)return a;o.callback("",a);return void 0}};e.csvEntry2Array=e.csv.toArray;e.csv2Array=e.csv.toArrays;e.csv2Dictionary=e.csv.toObjects})(jQuery)},{}],4:[function(e,t){function r(){this._events=this._events||{};this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function o(e){return"number"==typeof e}function i(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}t.exports=r;r.EventEmitter=r;r.prototype._events=void 0;r.prototype._maxListeners=void 0;r.defaultMaxListeners=10;r.prototype.setMaxListeners=function(e){if(!o(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");this._maxListeners=e;return this};
 r.prototype.emit=function(e){var t,r,o,s,l,u;this._events||(this._events={});if("error"===e&&(!this._events.error||i(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(a(r))return!1;if(n(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:o=arguments.length;s=new Array(o-1);for(l=1;o>l;l++)s[l-1]=arguments[l];r.apply(this,s)}else if(i(r)){o=arguments.length;s=new Array(o-1);for(l=1;o>l;l++)s[l-1]=arguments[l];u=r.slice();o=u.length;for(l=0;o>l;l++)u[l].apply(this,s)}return!0};r.prototype.addListener=function(e,t){var o;if(!n(t))throw TypeError("listener must be a function");this._events||(this._events={});this._events.newListener&&this.emit("newListener",e,n(t.listener)?t.listener:t);this._events[e]?i(this._events[e])?this._events[e].push(t):this._events[e]=[this._
 events[e],t]:this._events[e]=t;if(i(this._events[e])&&!this._events[e].warned){var o;o=a(this._maxListeners)?r.defaultMaxListeners:this._maxListeners;if(o&&o>0&&this._events[e].length>o){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};r.prototype.on=r.prototype.addListener;r.prototype.once=function(e,t){function r(){this.removeListener(e,r);if(!o){o=!0;t.apply(this,arguments)}}if(!n(t))throw TypeError("listener must be a function");var o=!1;r.listener=t;this.on(e,r);return this};r.prototype.removeListener=function(e,t){var r,o,a,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;r=this._events[e];a=r.length;o=-1;if(r===t||n(r.listener)&&r.listener===t){delete this._events[e];this._events.removeListener&&this.emit("removeLi
 stener",e,t)}else if(i(r)){for(s=a;s-->0;)if(r[s]===t||r[s].listener&&r[s].listener===t){o=s;break}if(0>o)return this;if(1===r.length){r.length=0;delete this._events[e]}else r.splice(o,1);this._events.removeListener&&this.emit("removeListener",e,t)}return this};r.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(n(r))this.removeListener(e,r);else for(;r.length;)this.removeListener(e,r[r.length-1]);delete this._events[e];return this};r.prototype.listeners=function(e){var t;t=this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[];return t};r.listenerCount=function(e,t){var r;r=e._events&&e._events[t]?n(e._events[t])
 ?1:e._events[t].length:0;return r}},{}],5:[function(t,r,n){(function(o){"object"==typeof n&&"object"==typeof r?o(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],o):o(CodeMirror)})(function(e){function t(e,t,n,o){var i=e.getLineHandle(t.line),l=t.ch-1,u=l>=0&&s[i.text.charAt(l)]||s[i.text.charAt(++l)];if(!u)return null;var c=">"==u.charAt(1)?1:-1;if(n&&c>0!=(l==t.ch))return null;var f=e.getTokenTypeAt(a(t.line,l+1)),d=r(e,a(t.line,l+(c>0?1:0)),c,f||null,o);return null==d?null:{from:a(t.line,l),to:d&&d.pos,match:d&&d.ch==u.charAt(0),forward:c>0}}function r(e,t,r,n,o){for(var i=o&&o.maxScanLineLength||1e4,l=o&&o.maxScanLines||1e3,u=[],c=o&&o.bracketRegex?o.bracketRegex:/[(){}[\]]/,f=r>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),d=t.line;d!=f;d+=r){var p=e.getLine(d);if(p){var g=r>0?0:p.length-1,h=r>0?p.length:-1;if(!(p.length>i)){d==t.line&&(g=t.ch-(0>r?1:0));for(;g!=h;g+=r){v
 ar v=p.charAt(g);if(c.test(v)&&(void 0===n||e.getTokenTypeAt(a(d,g+1))==n)){var m=s[v];if(">"==m.charAt(1)==r>0)u.push(v);else{if(!u.length)return{pos:a(d,g),ch:v};u.pop()}}}}}}return d-r==(r>0?e.lastLine():e.firstLine())?!1:null}function n(e,r,n){for(var o=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<=o){var f=c.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";s.push(e.markText(c.from,a(c.from.line,c.from.ch+1),{className:f}));c.to&&e.getLine(c.to.line).length<=o&&s.push(e.markText(c.to,a(c.to.line,c.to.ch+1),{className:f}))}}if(s.length){i&&e.state.focused&&e.display.input.focus();var d=function(){e.operation(function(){for(var e=0;e<s.length;e++)s[e].clear()})};if(!r)return d;setTimeout(d,800)}}function o(e){e.operation(function(){if(l){l();l=null}l=n(e,!1,e.state.matchBrackets)})}var i=/MSIE \d/.test(navigator.userAgent)&&(null==documen
 t.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",o);if(r){t.state.matchBrackets="object"==typeof r?r:{};t.on("cursorActivity",o)}});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,o){return r(this,e,t,n,o)})})},{codemirror:void 0}],6:[function(t,r,n){(function(o){"object"==typeof n&&"object"==typeof r?o(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],o):o(CodeMirror)})(function(e){"use strict";e.registerHelper("fold","brace",function(t,r){function n(n){for(var o=r.ch,l=0;;){var u=0>=o?-1:s.lastIndexOf(n,o-1);if(-1!=u){if(1==l&&u<r.ch)break;i=t.getTokenTypeAt(e.Pos(a,u+1));if(!/^(comment|string)/.test(i))return u+1;
 o=u-1}else{if(1==l)break;l=1;o=s.length}}}var o,i,a=r.line,s=t.getLine(a),l="{",u="}",o=n("{");if(null==o){l="[",u="]";o=n("[")}if(null!=o){var c,f,d=1,p=t.lastLine();e:for(var g=a;p>=g;++g)for(var h=t.getLine(g),v=g==a?o: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))==i)if(v==m)++d;else if(!--d){c=g;f=v;break e}++v}if(null!=c&&(a!=c||f!=o))return{from:e.Pos(a,o),to:e.Pos(c,f)}}});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 o=r,i=Math.min(t.lastLine(),r+10);i>=o;++o){var a=t.getLine(o),s=a.indexOf(";");if(-1!=s)return{startCh:n.end,end:e.Pos(o,s)}}}var o,r=r.line,i=n(r);if(!i||n(r-1)||(o=n(r-2))&&o.end.line==r-1)return null;for(var a=i.end;;){var s=n(a.line+1);if(null==s)br
 eak;a=s.end}return{from:t.clipPos(e.Pos(r,i.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,o=n(r);if(null==o||null!=n(r-1))return null;for(var i=r;;){var a=n(i+1);if(null==a)break;++i}return{from:e.Pos(r,o+1),to:t.clipPos(e.Pos(i))}})})},{codemirror:void 0}],7:[function(t,r,n){(function(o){"object"==typeof n&&"object"==typeof r?o(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],o):o(CodeMirror)})(function(e){"use strict";function t(t,o,i,a){function s(e){var r=l(t,o);if(!r||r.to.line-r.from.line<u)return null;for(var n=t.findMarksAt(r.from),i=0;i<n.length;++i)if(n[i].__isFold&&"fold"!==a){if(!e)return null;r.cleared=!0;n[i].clear()}return r}if(i&&i.call
 ){var l=i;i=null}else var l=n(t,i,"rangeFinder");"number"==typeof o&&(o=e.Pos(o,0));var u=n(t,i,"minFoldSize"),c=s(!0);if(n(t,i,"scanUp"))for(;!c&&o.line>t.firstLine();){o=e.Pos(o.line-1,0);c=s(!1)}if(c&&!c.cleared&&"unfold"!==a){var f=r(t,i);e.on(f,"mousedown",function(t){d.clear();e.e_preventDefault(t)});var d=t.markText(c.from,c.to,{replacedWith:f,clearOnEnter:!0,__isFold:!0});d.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 o=document.createTextNode(r);r=document.createElement("span");r.appendChild(o);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]:o[r]}e.newFoldFunction=function(e,r){return function(n,o){t(n,o,{rangeFinder:e,widget:r})}};e.defineExtension("foldCode",function(e,r,n){t(this,e,r,n)});e.defineExtension("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 o=e[n](t,r);if(o)return o}}});e.registerHelper("fold","auto",function(e,t){for(var r=e.getHelpers(t,"fold"),n=0;n<r.length;n++){var o=r[n](e,t);if(o)return o}});var o={rangeFinder:e.fold.auto,widget:"↔",minFoldSize:0,scanUp:!1};e.defineOption("foldOptions",null)})},{codemirror:void 0}],8:[function(t,r,n){(function(o){"objec
 t"==typeof n&&"object"==typeof r?o(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}(),t("./foldcode")):"function"==typeof e&&e.amd?e(["../../lib/codemirror","./foldcode"],o):o(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(f(t)),n=0;n<r.length;++n)if(r[n].__isFold&&r[n].find().from.line==t)return!0}function o(e){if("string"==typeof e){var t=document.createElement("div");t.className=e+" CodeMirror-guttermarker-subtle";return t}return e.cloneNode(!0)}function i(t,r,i){var a=t.state.foldGutter.options,s=r;t.eachLine(r,i,function(r){var i=null;if(n(t,s))i=o(a.indicatorFolded);else{var l=f(s,0),u=a.rangeFinder||e.fold.auto,c=u&&u(t,l);c&&c.from.line+1<c
 .to.line&&(i=o(a.indicatorOpen))}t.setGutterMarker(r,a.gutter,i);++s})}function a(e){var t=e.getViewport(),r=e.state.foldGutter;if(r){e.operation(function(){i(e,t.from,t.to)});r.from=t.from;r.to=t.to}}function s(e,t,r){var n=e.state.foldGutter.options;r==n.gutter&&e.foldCode(f(t,0),n.rangeFinder)}function l(e){var t=e.state.foldGutter,r=e.state.foldGutter.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,r=e.state.foldGutter.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){i(e,r.from,t.from);t.from=r.from}if(r.to>t.to){i(e,t.to,r.to);t.to=r.to}})},r.updateViewportTimeSpan||400)}function c(e,t){var r=e.state.foldGutter,n=t.line;n>=r.from&&n<r.to&&i(e,n,n+1)}e.defineOption("foldGutter",!1,function(n,o,i){if(i&&i!=e.Init){n.clearGutter(n.st
 ate.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(o){n.state.foldGutter=new t(r(o));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 f=e.Pos})},{"./foldcode":7,codemirror:void 0}],9:[function(t,r,n){(function(o){"object"==typeof n&&"object"==typeof r?o(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],o):o(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.lastLine()}function n(e,t){var r=e.cm.getTokenTypeAt(d(e.line,t));return r&&/\btag\b/.test(r)}function o(e){if(!(e.line>=e.max)){e.ch=0;e.text=e.cm.getLine(++e.line);return!0}}function i(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(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+1}}function s(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(i(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(o(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(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}}function c(e,t){for(var r=[];;){var n,o=l(e),i=e.line,s=e.ch-(o?o[0].length:0);if(!o||!(n=a(e)))return;i
 f("selfClose"!=n)if(o[1]){for(var u=r.length-1;u>=0;--u)if(r[u]==o[2]){r.length=u;break}if(0>u&&(!t||t==o[2]))return{tag:o[2],from:d(i,s),to:d(e.line,e.ch)}}else r.push(o[2])}}function f(e,t){for(var r=[];;){var n=u(e);if(!n)return;if("selfClose"!=n){var o=e.line,i=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:d(e.line,e.ch),to:d(o,i)}}}else s(e)}}var d=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 o,i=l(n);if(!i||n.line!=t.line||!(o=a(n)))return;if(!i[1]&&"selfClose"!=o){var t=d(n.line,n.ch),s=c(n,i[2]);return s&&{from:t,to:s.from}}}});e.findMatchingTag=function(e,n,o){v
 ar i=new r(e,n.line,n.ch,o);if(-1!=i.text.indexOf(">")||-1!=i.text.indexOf("<")){var l=a(i),u=l&&d(i.line,i.ch),p=l&&s(i);if(l&&p&&!(t(i,n)>0)){var g={from:d(i.line,i.ch),to:u,tag:p[2]};if("selfClose"==l)return{open:g,close:null,at:"open"};if(p[1])return{open:f(i,p[2]),close:g,at:"close"};i=new r(e,u.line,u.ch,o);return{open:g,close:c(i,p[2]),at:"open"}}}};e.findEnclosingTag=function(e,t,n){for(var o=new r(e,t.line,t.ch,n);;){var i=f(o);if(!i)break;var a=new r(e,t.line,t.ch,n),s=c(a,i.tag);if(s)return{open:i,close:s}}};e.scanForClosingTag=function(e,t,n,o){var i=new r(e,t.line,t.ch,o?{from:0,to:o}:null);return c(i,n)}})},{codemirror:void 0}],10:[function(t,r,n){(function(o){"object"==typeof n&&"object"==typeof r?o(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==typeof e&&e.amd?e(["../../lib/codemirror"],o):o(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 o(e,t,r){gt=e;ht=r;return t}function i(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 o("number","number");if("."==r&&e.match(".."))return o("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return o(r);if("="==r&&e.eat(">"))return o("=>","operator");if("0"==r&&e.eat(/x/i)){e.eatWhile(/[\da-f]/i);return o("number","number")}if(/\d/.test(r)){e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/);return o("number","number")}if("/"==r){if(e.eat("*")){t.tokenize=s;return s(e,t)}if(e.eat("/")){e.skipToEnd();return o("comment","comment")}if("operator"==t.lastType||"keyword c"==t.lastType||"sof"==t.lastType||/^[\[{}\(,;:]$/.test(t.lastType)){n(e);e.eatWhile(/[gimy]/);return o("regexp","string-2")}e.eatWhile(jt);return o("operator","operator",e.current())}if("`"==r){t.tokenize=l;return l(e,t)}if("#"==r){e.skipToEnd();return o("error","error")
 }if(jt.test(r)){e.eatWhile(jt);return o("operator","operator",e.current())}if(xt.test(r)){e.eatWhile(xt);var i=e.current(),u=kt.propertyIsEnumerable(i)&&kt[i];return u&&"."!=t.lastType?o(u.type,u.style,i):o("variable","variable",i)}}function a(e){return function(t,r){var n,a=!1;if(wt&&"@"==t.peek()&&t.match(Ct)){r.tokenize=i;return o("jsonld-keyword","meta")}for(;null!=(n=t.next())&&(n!=e||a);)a=!a&&"\\"==n;a||(r.tokenize=i);return o("string","string")}}function s(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=i;break}n="*"==r}return o("comment","comment")}function l(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=i;break}n=!n&&"\\"==r}return o("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,o=!1,i=r-1;i>=0;--i){var a=e.string.charAt(i),s=Lt.indexOf(a);if(s>=0&&3>s){if(!n){++i;break}if(0==--n)break}else if(s>=3&&6>s)++n;else if(xt.test(a))
 o=!0;else if(o&&!n){++i;break}}o&&!n&&(t.fatArrowAt=i)}}function c(e,t,r,n,o,i){this.indented=e;this.column=t;this.type=r;this.prev=o;this.info=i;null!=n&&(this.align=n)}function f(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 d(e,t,r,n,o){var i=e.cc;St.state=e;St.stream=o;St.marked=null,St.cc=i;St.style=t;e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);for(;;){var a=i.length?i.pop():yt?k:x;if(a(r,n)){for(;i.length&&i[i.length-1].lex;)i.pop()();return St.marked?St.marked:"variable"==r&&f(e,n)?"variable-2":t}}}function p(){for(var e=arguments.length-1;e>=0;e--)St.cc.push(arguments[e])}function g(){p.apply(null,arguments);return!0}function h(e){function t(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var n=St.state;if(n.context){St.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(){St.state.context={prev:St.state.context,vars:St.state.localVars};
-St.state.localVars=Mt}function m(){St.state.localVars=St.state.context.vars;St.state.context=St.state.context.prev}function w(e,t){var r=function(){var r=St.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new c(n,St.stream.column(),e,null,r.lexical,t)};r.lex=!0;return r}function y(){var e=St.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),G,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"==St.state.lexical.info&&St.state.cc[St.state.cc.length-1]==y&&St.state.cc.pop()();return g(w("form"),k,x,y,B)}return"function"==e?g(et):"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("("),tt,b(")"),x,y,m):"module"==e?g(w("form"),v,at,m,y):"class"==e?g(w("form"),rt,y):"export"==e?g(w("form"),st,y):"import"==e?g(w("form"),lt,y):p(w("stat"),k,b(";"),y)}function k(e){return C(e,!1)}function j(e){return C(e,!0)}function C(e,t){if(St.state.fatArrowAt==St.stream.start){var r=t?R:A;if("("==e)return g(v,w(")"),O(H,")"),y,b("=>"),r,m);if("variable"==e)return p(v,H,b("=>"),r,m)}var n=t?M:S;return Tt.hasOwnProperty(e)?g(n):"function"==e?g(et,n):"keyword c"==e?g(t?T:L):"("==e?g(w(")"),L,pt,b(")"),y,n):"operator"==e||"spread"==e?g(t?j:k):"["==e?g(w("]"),ft,y,n):"{"==e?q(z,"}",null,n):"quasi"==e?p(E,n):g()}function L(e){return e.match(/[;\}\)\],]/)?p():p(k)}function T(e){return e.match(/[;\}\)\],]/)?p():p(j)}function S(e,t){return","==e?g(k):M(e,t,!1)}function M(e,t,r){var n=0==r?S:M,o=0==r?k:j;return"=>"==e?g(v,r?R:A,m):"operator"==e?/\+\+|--/.test(t)?g(n):"?"==
 t?g(k,b(":"),o):g(o):"quasi"==e?p(E,n):";"!=e?"("==e?q(j,")","call",n):"."==e?g(D,n):"["==e?g(w("]"),L,b("]"),y,n):void 0:void 0}function E(e,t){return"quasi"!=e?p():"${"!=t.slice(t.length-2)?g(E):g(k,_)}function _(e){if("}"==e){St.marked="string-2";St.state.tokenize=l;return g(E)}}function A(e){u(St.stream,St.state);return p("{"==e?x:k)}function R(e){u(St.stream,St.state);return p("{"==e?x:j)}function N(e){return":"==e?g(y,x):p(S,b(";"),y)}function D(e){if("variable"==e){St.marked="property";return g()}}function z(e,t){if("variable"==e||"keyword"==St.style){St.marked="property";return g("get"==t||"set"==t?P:I)}if("number"==e||"string"==e){St.marked=wt?"property":St.style+" property";return g(I)}return"jsonld-keyword"==e?g(I):"["==e?g(k,b("]"),I):void 0}function P(e){if("variable"!=e)return p(I);St.marked="property";return g(et)}function I(e){return":"==e?g(j):"("==e?p(et):void 0}function O(e,t){function r(n){if(","==n){var o=St.state.lexical;"call"==o.info&&(o.pos=(o.pos||0)+1);ret
 urn g(e,r)}return n==t?g():g(b(t))}return function(n){return n==t?g():p(e,r)}}function q(e,t,r){for(var n=3;n<arguments.length;n++)St.cc.push(arguments[n]);return g(w(t,r),O(e,t),y)}function U(e){return"}"==e?g():p(x,U)}function V(e){return bt&&":"==e?g(F):void 0}function F(e){if("variable"==e){St.marked="variable-3";return g()}}function G(){return p(H,V,X,Q)}function H(e,t){if("variable"==e){h(t);return g()}return"["==e?q(H,"]"):"{"==e?q(W,"}"):void 0}function W(e,t){if("variable"==e&&!St.stream.match(/^\s*:/,!1)){h(t);return g(X)}"variable"==e&&(St.marked="property");return g(b(":"),H,X)}function X(e,t){return"="==t?g(j):void 0}function Q(e){return","==e?g(G):void 0}function B(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(G,b(";"),K):";"==e?g(K):"variable"==e?g($):p(k,b(";"),K)}function $(e,t){if("in"==t||"of"==t){St.marked="keyword";return g(k)}return g(S,K)}function K(e,t)
 {if(";"==e)return g(Z);if("in"==t||"of"==t){St.marked="keyword";return g(k)}return p(k,b(";"),Z)}function Z(e){")"!=e&&g(k)}function et(e,t){if("*"==t){St.marked="keyword";return g(et)}if("variable"==e){h(t);return g(et)}return"("==e?g(v,w(")"),O(tt,")"),y,x,m):void 0}function tt(e){return"spread"==e?g(tt):p(H,V)}function rt(e,t){if("variable"==e){h(t);return g(nt)}}function nt(e,t){return"extends"==t?g(k,nt):"{"==e?g(w("}"),ot,y):void 0}function ot(e,t){if("variable"==e||"keyword"==St.style){St.marked="property";return"get"==t||"set"==t?g(it,et,ot):g(et,ot)}if("*"==t){St.marked="keyword";return g(ot)}return";"==e?g(ot):"}"==e?g():void 0}function it(e){if("variable"!=e)return p();St.marked="property";return g()}function at(e,t){if("string"==e)return g(x);if("variable"==e){h(t);return g(ct)}}function st(e,t){if("*"==t){St.marked="keyword";return g(ct,b(";"))}if("default"==t){St.marked="keyword";return g(k,b(";"))}return p(x)}function lt(e){return"string"==e?g():p(ut,ct)}function ut(e
 ,t){if("{"==e)return q(ut,"}");"variable"==e&&h(t);return g()}function ct(e,t){if("from"==t){St.marked="keyword";return g(k)}}function ft(e){return"]"==e?g():p(j,dt)}function dt(e){return"for"==e?p(pt,b("]")):","==e?g(O(T,"]")):p(O(j,"]"))}function pt(e){return"for"==e?g(J,pt):"if"==e?g(k,pt):void 0}var gt,ht,vt=t.indentUnit,mt=r.statementIndent,wt=r.jsonld,yt=r.json||wt,bt=r.typescript,xt=r.wordCharacters||/[\w$\xa1-\uffff]/,kt=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),o=e("operator"),i={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":o,"typeof":o,"instanceof":o,"true":i,"false":i,"null":i,undefined:i,NaN:i,Infinity:i,"this"
 :e("this"),module:e("module"),"class":e("class"),"super":e("atom"),"yield":n,"export":e("export"),"import":e("import"),"extends":n};if(bt){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}(),jt=/[+\-*&%=<>!?|~^]/,Ct=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,Lt="([{}])",Tt={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"jsonld-keyword":!0},St={state:null,column:null,marked:null,cc:null},Mt={name:"this",next:{name:"arguments"}};y.lex=!0;return{startState:function(e){var t={tokenize:i,lastType:"sof",cc:[],lexical:new c((e||0)-vt,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"==gt)return r;t.lastType="operator"!=gt||"++"!=ht&&"--"!=ht?gt:"incdec";return d(t,r,gt,ht,e)},indent:function(t,n){if(t.tokenize==s)return e.Pass;if(t.tokenize!=i)return 0;var o=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!=B)break}"stat"==a.type&&"}"==o&&(a=a.prev);mt&&")"==a.type&&"stat"==a.prev.type&&(a=a.prev);var c=a.type,f=o==c;return"vardef"==c?a.indented+("operator"==t.lastType||","==t.lastType?a.info+1:0):"form"==c&&"{"==o?a.indented:"form"==c?a.indented+vt:"stat"==c?a.indented+("operator"==t.lastType||","==t.lastType?mt||vt:0):"switch"!=a.info||f||0==r.doubleIndentSwitch?a.align?a.column+(f?0:1):a.indented+(f?0:vt):a.indented+(/^(?:case|default)\b/.test(n)?vt:2*vt)},electricInput:/^\s*(?:case .*?
 :|default:|\{|\})$/,blockCommentStart:yt?null:"/*",blockCommentEnd:yt?null:"*/",lineComment:yt?null:"//",fold:"brace",helperType:yt?"json":"javascript",jsonldMode:wt,jsonMode:yt}});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(o){"object"==typeof n&&"object"==typeof r?o(function(){try{return t("codemirror")}catch(e){return window.CodeMirror}}()):"function"==t
 ypeof e&&e.amd?e(["../../lib/codemirror"],o):o(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"}j=e.eat("/")?"closeTag":"openTag";t.tokenize=o;return"tag bracket"}if("&"==n){var i;i=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";");return i?"atom":"error"}e.eatWhile(/[^&<]/);return null}function o(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">")){t.tokenize=n;j=">"==r?"endTag":"selfcloseTag";return"tag bracket"}if("="==r){j="equals";return null}if("<"==r){t.tokenize=n;t.state=f;t.tagName=t.tagStart=null;var o=t.tokenize(e,t);r
 eturn o?o+" tag error":"tag error"}if(/[\'\"]/.test(r)){t.tokenize=i(r);t.stringStartCol=e.column();return t.tokenize(e,t)}e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/);return"word"}function i(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=o;break}return"string"};t.isInAttribute=!0;return t}function a(e,t){return function(r,o){for(;!r.eol();){if(r.match(t)){o.tokenize=n;break}r.next()}return e}}function s(e){return function(t,r){for(var o;null!=(o=t.next());){if("<"==o){r.tokenize=s(e+1);return r.tokenize(t,r)}if(">"==o){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;this.indent=e.indented;this.startOfLine=r;(L.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(!L.contextGrabbers.hasOwnProperty(r)||!L.contextGrabbers[
 r].hasOwnProperty(t))return;u(e)}}function f(e,t,r){if("openTag"==e){r.tagStart=t.column();return d}return"closeTag"==e?p:f}function d(e,t,r){if("word"==e){r.tagName=t.current();C="tag";return v}C="error";return d}function p(e,t,r){if("word"==e){var n=t.current();r.context&&r.context.tagName!=n&&L.implicitlyClosed.hasOwnProperty(r.context.tagName)&&u(r);if(r.context&&r.context.tagName==n){C="tag";return g}C="tag error";return h}C="error";return h}function g(e,t,r){if("endTag"!=e){C="error";return g}u(r);return f}function h(e,t,r){C="error";return g(e,t,r)}function v(e,t,r){if("word"==e){C="attribute";return m}if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;r.tagName=r.tagStart=null;if("selfcloseTag"==e||L.autoSelfClosers.hasOwnProperty(n))c(r,n);else{c(r,n);r.context=new l(r,n,o==r.indented)}return f}C="error";return v}function m(e,t,r){if("equals"==e)return w;L.allowMissing||(C="error");return v(e,t,r)}function w(e,t,r){if("string"==e)return y;if("word"==e&&L.allowU
 nquoted){C="string";return v}C="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 j,C,L=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,fieldset:!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:{p
 re:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0}:{autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1},T=r.alignCDATA;return{startState:function(){return{tokenize:n,state:f,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;j=null;var r=t.tokenize(e,t);if((r||j)&&"comment"!=r){C=null;t.state=t.state(j||r,e,t);C&&(r="error"==C?r+" error":C)}return r},indent:function(t,r,i){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.tokenize!=o&&t.tokenize!=n)return i?i.match(/^(\s*)/)[0].length:0;if(t.tagName)return k?t.tagStart+t.tagName.length+2:t.tagStart+b*x;if(T&&/<!\[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(!L.implicitlyClosed.hasOwnProperty(a.tagNam
 e))break;a=a.prev}else if(s)for(;a;){var l=L.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(){(function(o){if("object"==typeof n&&"object"==typeof r)return o(function(){try{return t("jquery")}catch(e){return window.jQuery}}());if("function"==typeof e&&e.amd)return e(["jquery"],o);o(jQuery);return void 0})(function(e){var t;t=e;return t.pivotUtilities.d3_renderers={Treemap:function(e,r){var n,o,i,a,s,l,u,c,f,d,p,g,h,v;i={localeStrings:{}};r=t.extend(i,r);l=t("<div style='width: 100%; height: 100%;'>");c={name:"All",children:[]};n=function(e,t
 ,r){var o,i,a,s,l,u,c;if(0!==t.length){null==(u=e.children)&&(e.children=[]);a=t.shift();c=e.children;for(s=0,l=c.length;l>s;s++){o=c[s];if(o.name===a){n(o,t,r);return}}i={name:a};n(i,t,r);return e.children.push(i)}e.value=r};v=e.getRowKeys();for(g=0,h=v.length;h>g;g++){u=v[g];d=e.getAggregator(u,[]).value();null!=d&&n(c,u,d)}o=d3.scale.category10();p=t(window).width()/1.4;a=t(window).height()/1.4;s=10;f=d3.layout.treemap().size([p,a]).sticky(!0).value(function(e){return e.size});d3.select(l[0]).append("div").style("position","relative").style("width",p+2*s+"px").style("height",a+2*s+"px").style("left",s+"px").style("top",s+"px").datum(c).selectAll(".node").data(f.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":o(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"}).s
 tyle("width",function(e){return Math.max(0,e.dx-1)+"px"}).style("height",function(e){return Math.max(0,e.dy-1)+"px"})});return l}}})}).call(this)},{jquery:void 0}],13:[function(t,r,n){(function(){(function(o){if("object"==typeof n&&"object"==typeof r)return o(function(){try{return t("jquery")}catch(e){return window.jQuery}}());if("function"==typeof e&&e.amd)return e(["jquery"],o);o(jQuery);return void 0})(function(e){var t,r;t=e;r=function(e,r){return function(n,o){var i,a,s,l,u,c,f,d,p,g,h,v,m,w,y,b,x,k,j,C,L,T,S,M,E;c={localeStrings:{vs:"vs",by:"by"}};o=t.extend(c,o);x=n.getRowKeys();0===x.length&&x.push([]);s=n.getColKeys();0===s.length&&s.push([]);g=function(){var e,t,r;r=[];for(e=0,t=x.length;t>e;e++){d=x[e];r.push(d.join("-"))}return r}();g.unshift("");v=0;l=[g];for(T=0,M=s.length;M>T;T++){a=s[T];y=[a.join("-")];v+=y[0].length;for(S=0,E=x.length;E>S;S++){b=x[S];i=n.getAggregator(b,a);y.push(null!=i.value()?i.value():null)}l.push(y)}k=C=n.aggregatorName+(n.valAttrs.length?"("+n
 .valAttrs.join(", ")+")":"");p=n.colAttrs.join("-");""!==p&&(k+=" "+o.localeStrings.vs+" "+p);f=n.rowAttrs.join("-");""!==f&&(k+=" "+o.localeStrings.by+" "+f);m={width:t(window).width()/1.4,height:t(window).height()/1.4,title:k,hAxis:{title:p,slantedText:v>50},vAxis:{title:C}};2===l[0].length&&""===l[0][1]&&(m.legend={position:"none"});for(h in r){j=r[h];m[h]=j}u=google.visualization.arrayToDataTable(l);w=t("<div style='width: 100%; height: 100%;'>");L=new google.visualization.ChartWrapper({dataTable:u,chartType:e,options:m});L.draw(w[0]);w.bind("dblclick",function(){var e;e=new google.visualization.ChartEditor;google.visualization.events.addListener(e,"ok",function(){return e.getChartWrapper().draw(w[0])});return e.openDialog(L)});return w}};return t.pivotUtilities.gchart_renderers={"Line Chart":r("LineChart"),"Bar Chart":r("ColumnChart"),"Stacked Bar Chart":r("ColumnChart",{isStacked:!0}),"Area Chart":r("AreaChart",{isStacked:!0})}})}).call(this)},{jquery:void 0}],14:[function(t,r
 ){(function(t){function n(){try{return l in t&&t[l]}catch(e){return!1}}function o(e){return e.replace(/^d/,"___$&").replace(g,"___")}var i,a={},s=t.document,l="localStorage",u="script";a.disabled=!1;a.version="1.3.17";a.set=function(){};a.get=function(){};a.has=function(e){return void 0!==a.get(e)};a.remove=function(){};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()){i=t[l];a.set=function(e,t){if(void 0===t)return a.remove(e);i.setItem(e,a.serialize(t));return t};a.get=function(e,t){var r=a.deserialize(i.getItem(e));return void 0===r?t:r};a.remove=function(e){i.removeItem(e)};a.clear=function(){i.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<i.length;t++){var r=i.key(t);e(r,a.get(r))}}}else if(s.documentElement.addBehavior){var c,f;try{f=new ActiveXObject("htmlfile");f.open();f.write("<"+u+">document.w=window</"+u+'><iframe src="/favicon.ico"></iframe>');f.close();c=f.w.frames[0].document;i=c.createElement("div")}catch(d){i=s.createElement("div");c=s.body}var p=function(e){return function(){var t=Array.prototype.slice.call(arguments,0);t.unshift(i);c.appendChild(i);i.addBehavior("#default#userData");i.load(l);var r=e.apply(a,t);c.removeChild(i);return r}},g=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");a.set=p(function(e,t,r){t=o(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=o(t);var n=a.deserialize(e.getAttribute(t));return void 0===n?r:n});a.remove=p(function(e,t){t=o(t);e.removeAttribute(t);e.save(l)});a.clear=p(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(l);for(var r,n=0;r=t[n];n++)e.removeAttribute(r
 .name);e.save(l)});a.getAll=function(){var e={};a.forEach(function(t,r){e[t]=r});return e};a.forEach=p(function(e,t){for(var r,n=e.XMLDocument.documentElement.attributes,o=0;r=n[o];++o)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(d){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){t.exports={name:"yasgui-utils",version:"1.5.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:"Laurens Rietveld",maintainers:[{name:"Laurens Rietveld",email:"laurens.rietveld@gmail.com",web:"http://laurensrietveld.nl"}],bugs:{url:"https://github.com/YASGUI/Utils/issues"},homepage:"https://github.com/YASGUI/Utils",dependencies:{store:"^1.
 3.14"}}},{}],16:[function(e,t){window.console=window.console||{log:function(){}};t.exports={storage:e("./storage.js"),svg:e("./svg.js"),version:{"yasgui-utils":e("../package.json").version}}},{"../package.json":15,"./storage.js":17,"./svg.js":18}],17:[function(e,t){{var r=e("store"),n={day:function(){return 864e5},month:function(){30*n.day()},year:function(){12*n.month()}};t.exports={set:function(e,t,o){if(e&&t){"string"==typeof o&&(o=n[o]());t.documentElement&&(t=(new XMLSerializer).serializeToString(t.documentElement));r.set(e,{val:t,exp:o,time:(new Date).getTime()})}},remove:function(e){e&&r.remove(e)},get:function(e){if(e){var t=r.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){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
 ,o=document.createElement("div");o.className="svgImg";o.appendChild(n);return o}return!1}}},{}],19:[function(e,t){t.exports={name:"yasgui-yasr",description:"Yet Another SPARQL Resultset GUI",version:"2.4.0",main:"src/main.js",licenses:[{type:"MIT",url:"http://yasr.yasgui.org/license.txt"}],author:"Laurens Rietveld",homepage:"http://yasr.yasgui.org",devDependencies:{browserify:"^6.1.0",gulp:"~3.6.0","gulp-bump":"^0.1.11","gulp-concat":"^2.4.1","gulp-connect":"^2.0.5","gulp-embedlr":"^0.5.2","gulp-filter":"^1.0.2","gulp-git":"^0.5.2","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-streamify":"0.0.5","gulp-tag-version":"^1.1.0","gulp-uglify":"^1.0.1","require-dir":"^0.1.0","run-sequence":"^1.0.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"~0.1.1",watchify:"^0.6.4","gulp-sourcemaps":"^1.2.8",exorcist:"^0.1.6","vinyl-transform":"0.0.1","gulp-sass":"^1.2.2","bootstrap-sass":"^3.3.1","browserify-trans
 form-tools":"^1.2.1","gulp-cssimport":"^1.3.1","gulp-html-replace":"^1.4.1","browserify-shim":"^3.8.1"},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.0",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"},"../lib/DataTables/media/js/jquery.dataTables.js":{require:"datatables",global:"jQuery"},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){"use strict";t.exports=function(e){var t='"',r=",",n="\n",o=e.head.vars,i=e.results.bindings,a=function(){for(var e=0;e<o.length;e++)u(o[e]);f+=n},s=function(){for(var e=0;e<i.length;e++){l(i[e]);f+=n}},l=function(e){for(var t=0;t<o.length;t++){var r=o[t];u(e.hasOwnProperty(r)?e[r].value:"")}},u=function(e){e.replace(t,t+t);c(e)&&(e=t+e+t);f+=" "+e+" "+r},c=function(e){var n=!1;e.match("[\\w|"+r+"|"+t+"]")&&(n=!0);return n},f="";a();s();return f}},{}],21:[function(e,t){"use strict";var r=function(){try{return e("jquery")}catch(t){return window.jQuery}}(),n=t.exports=function(t){var n=r("<div class='booleanResult'></div>"),o=function(){n.empty().appendTo(t.resultsContainer);var o=t.results.getBoolean(),i=null,a=null;if(o===!0){i="check";a="True"}else if(o===!1){i="cross";a="False"}else{n.width("140");a="Could not find boolean value in response"}i&&e("yasgui-utils").svg.draw(n,e("./im
 gs.js")[i]);r("<span></span>").text(a).appendTo(n)},i=function(){return t.results.getBoolean&&(t.results.getBoolean()===!0||0==t.results.getBoolean())};return{name:null,draw:o,hideFromSelection:!0,getPriority:10,canHandleResults:i}};n.version={"YASR-boolean":e("../package.json").version,jquery:r.fn.jquery}},{"../package.json":19,"./imgs.js":26,jquery:void 0,"yasgui-utils":16}],22:[function(e,t){"use strict";var r=function(){try{return e("jquery")}catch(t){return window.jQuery}}();t.exports={output:"table",useGoogleCharts:!0,outputPlugins:["table","error","boolean","rawResponse"],drawOutputSelector:!0,drawDownloadIcon:!0,getUsedPrefixes:null,persistency:{prefix:function(e){return"yasr_"+r(e.container).closest("[id]").attr("id")+"_"},outputSelector:function(){return"selector"},results:{id:function(e){return"results_"+r(e.container).closest("[id]").attr("id")},key:"results",maxSize:1e5}}}},{jquery:void 0}],23:[function(e,t){"use strict";var r=function(){try{return e("jquery")}catch(t){
 return window.jQuery}}(),n=t.exports=function(e){var t=r("<div class='errorResult'></div>"),o=(r.extend(!0,{},n.defaults),function(){var n=e.results.getException();t.empty().appendTo(e.resultsContainer);var o="Error";n.statusText&&n.statusText.length<100&&(o=n.statusText);void 0!=n.status&&(o+=" (#"+n.status+")");t.append(r("<span>",{"class":"exception"}).text(o));var i=null;n.responseText?i=n.responseText:"string"==typeof n&&(i=n);i&&t.append(r("<pre>").text(i))}),i=function(e){return e.results.getException()||!1};return{name:null,draw:o,getPriority:20,hideFromSelection:!0,canHandleResults:i}};n.defaults={}},{jquery:void 0}],24:[function(e,t){(function(r){var n=e("events").EventEmitter,o=(function(){try{return e("jquery")}catch(t){return window.jQuery}}(),!1),i=!1,a=function(){n.call(this);var e=this;this.init=function(){if(i||("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null)||o)("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:nu
 ll)?e.emit("initError"):i&&e.emit("initError");else{o=!0;s("//google.com/jsapi",function(){o=!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){i=!0;o=!1;e.emit("initError")}else setTimeout(l,t)};l()}};this.googleLoad=function(){var t=function(){("undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null).load("visualization","1",{packages:["corechart","charteditor"],callback:function(){e.emit("done")}})};if(o){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(i)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}],25:[function(e,t){(function(r){"use strict";function n(e,t,r){function n(e,t,i){var l,u,c,f,d,p,g,h;if(null==e||null==t)return e===t;if(e.__placeholder__||t.__placeholder__)return!0;if(e===t)return 0!==e||1/e==1/t;l=o.call(e);if(o.call(t)!=l)return!1;switch(l){case"[object String]":return e==String(t);case"[object Number]":return e!=+e?t!=+t:0==e?1/e==1/t:e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}if("object"!=typeof e||"object"!=typeof t)return!1;u=i.length;for(;u--;)if(i[u]==e)return!0;i.push(e);
 c=0;f=!0;if("[object Array]"==l){d=e.length;p=t.length;if(s){switch(r){case"===":f=d===p;break;case"<==":f=p>=d;break;case"<<=":f=p>d}c=d;s=!1}else{f=d===p;c=d}if(f)for(;c--&&(f=c in e==c in t&&n(e[c],t[c],i)););}else{if("constructor"in e!="constructor"in t||e.constructor!=t.constructor)return!1;for(g in e)if(a(e,g)){c++;if(!(f=a(t,g)&&n(e[g],t[g],i)))break}if(f){h=0;for(g in t)a(t,g)&&++h;if(s)f="<<="===r?h>c:"<=="===r?h>=c:c===h;else{s=!1;f=c===h}}}i.pop();return f}var o={}.toString,i={}.hasOwnProperty,a=function(e,t){return i.call(e,t)},s=!0;return n(e,t,[])}var o=function(){try{return e("jquery")}catch(t){return window.jQuery}}(),i=e("./utils.js"),a=e("yasgui-utils"),s=t.exports=function(t){var l=o.extend(!0,{},s.defaults),u=t.container.closest("[id]").attr("id");null==t.options.gchart&&(t.options.gchart={});var c=t.getPersistencyId("motionchart"),f=t.getPersistencyId("chartConfig");null==t.options.gchart.motionChartState&&(t.options.gchart.motionChartState=a.storage.get(c));nul
 l==t.options.gchart.chartConfig&&(t.options.gchart.chartConfig=a.storage.get(f));var d=null,p=function(e){var o="undefined"!=typeof window?window.google:"undefined"!=typeof r?r.google:null;d=new o.visualization.ChartEditor;o.visualization.events.addListener(d,"ok",function(){var e,r;e=d.getChartWrapper();if(!n(e.getChartType,"MotionChart","===")){t.options.gchart.motionChartState=e.n;a.storage.set(c,t.options.gchart.motionChartState);e.setOption("state",t.options.gchart.motionChartState);o.visualization.events.addListener(e,"ready",function(){var r;r=e.getChart();o.visualization.events.addListener(r,"statechange",function(){t.options.gchart.motionChartState=r.getState();a.storage.set(c,t.options.gchart.motionChartState)})})}r=e.getDataTable();e.setDataTable(null);t.options.gchart.chartConfig=e.toJSON();a.storage.set(f,t.options.gchart.chartConfig);e.setDataTable(r);e.draw()});e&&e()};return{name:"Google Chart",hideFromSelection:!1,priority:7,canHandleResults:function(e){var t,r;retu
 rn null!=(t=e.results)&&(r=t.getVariables())&&r.length>0},getDownloadInfo:function(){if(!t.results)return null;var e=t.resultsContainer.find("svg");return 0==e.length?null:{getContent:function(){return e[0].outerHTML},filename:"queryResults.svg",contentType:"image/svg+xml",buttonTitle:"Download SVG Image"}},draw:function(){var n=function(){t.resultsContainer.empty();var e=u+"_gchartWrapper",r=null;t.resultsContainer.append(o("<button>",{"class":"openGchartBtn yasr_btn"}).text("Chart Config").click(function(){d.openDialog(r)})).append(o("<div>",{id:e,"class":"gchartWrapper"}));var n=new google.visualization.DataTable,s=t.results.getAsJson();s.head.vars.forEach(function(e){var t=i.getGoogleType(s.results.bindings[0][e]);n.addColumn(t,e)});var f=null;t.options.getUsedPrefixes&&(f="function"==typeof t.options.getUsedPrefixes?t.options.getUsedPrefixes(t):t.options.getUsedPrefixes);s.results.bindings.forEach(function(e){var t=[];s.head.vars.forEach(function(r){t.push(i.castGoogleType(e[r]
 ,f))});n.addRow(t)});if(t.options.gchart.chartConfig){r=new google.visualization.ChartWrapper(t.options.gchart.chartConfig);
-if("MotionChart"===r.getChartType()&&null!=t.options.gchart.motionChartState){r.setOption("state",t.options.gchart.motionChartState);google.visualization.events.addListener(r,"ready",function(){var e;e=r.getChart();google.visualization.events.addListener(e,"statechange",function(){t.options.gchart.motionChartState=e.getState();a.storage.set(c,t.options.gchart.motionChartState)})})}r.setDataTable(n)}else r=new google.visualization.ChartWrapper({chartType:"Table",dataTable:n,containerId:e});r.setOption("width",l.width);r.setOption("height",l.height);r.draw();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&&d?n():e("./gChartLoader.js").on("done",function(){p();n()}).on("error",function(){console.log("errorrr")}).googleLoad()}}};s.defaults={height:"600px",width:"100%",persistencyId:"gchart"}}).call(this,"undefined"!=typeof global?global:"undefine
 d"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./gChartLoader.js":24,"./utils.js":37,jquery:void 0,"yasgui-utils":16}],26:[function(e,t){"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" enable-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.2
 5,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="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.4142
 01 -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.639484,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/200
 0/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.1
 97,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.833957 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/20
 00/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.550
 309,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.219324,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-rul
 e="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-34H64V18C64,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"     gridtolerance="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.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: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.037
 037,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>',smallscreen:'<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:pageopacity="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>'}},{}],27:[function(e,t){"use strict";var r=function(){try{return e("jquery")}catch(t){return window.jQuery}}(),n=e("yasgui-utils");console=console||{log:function(){}};var o=t.exports=function(t,a,s){var l={};l.options=r.extend(!0,{},o.defaults,a);l.container=r("<div class='yasr'></div>").appendTo(t);l.header=r("<div class='yasr_header'></div>").appendTo(l.container);l.resultsContainer=r("<div class='yasr_results'></div>").appendTo(l.container);l.storage=n.storage;var u=null;l.getPersistencyId=function(e){null===u&&(u=l.options.persistency&&l.options.persistency.prefix?"st
 ring"==typeof l.options.persistency.prefix?l.options.persistency.prefix:l.options.persistency.prefix(l):!1);return u&&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 o.plugins)(l.options.useGoogleCharts||"gchart"!=c)&&(l.plugins[c]=new o.plugins[c](l));l.updateHeader=function(){var e=l.header.find(".yasr_downloadIcon").removeAttr("title"),t=l.plugins[l.options.output];if(t){var r=t.getDownloadInfo?t.getDownloadInfo():null;if(r){r.buttonTitle&&e.attr("title",r.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"})}}};l.draw=function(e){if(!l.results)return!1;e||(e=l.options.output);var t=null,n=-1,o=[];for(var i in l.plugins)if(l.plugins[i].canHandleResults(l)){var a=
 l.plugins[i].getPriority;"function"==typeof a&&(a=a(l));if(null!=a&&void 0!=a&&a>n){n=a;t=i}}else o.push(i);f(o);if(e in l.plugins&&l.plugins[e].canHandleResults(l)){r(l.resultsContainer).empty();l.plugins[e].draw();return!0}if(t){r(l.resultsContainer).empty();l.plugins[t].draw();return!0}return!1};var f=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,o){try{l.results=e("./parsers/wrapper.js")(t,r,o)}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?n.storage.set(a,l.results.getAsStoreObject(),"month"):n.storage.remove(a))};var d=l.getPersistencyId(l.options.persistency.outp
 utSelector);if(d){var p=n.storage.get(d);p&&(l.options.output=p)}i(l);if(!s&&l.options.persistency&&l.options.persistency.results){var g,h=l.getPersistencyId(l.options.persistency.results.key);h&&(g=n.storage.get(h));if(!g&&l.options.persistency.results.id){var v="string"==typeof l.options.persistency.results.id?l.options.persistency.results.id:l.options.persistency.results.id(l);if(v){g=n.storage.get(v);g&&n.storage.remove(v)}}g&&(r.isArray(g)?l.setResponse.apply(this,g):l.setResponse(g))}s&&l.setResponse(s);l.updateHeader();return l},i=function(t){var o=function(){var e=r('<div class="yasr_btnGroup"></div>');r.each(t.plugins,function(o,i){if(!i.hideFromSelection){var a=i.name||o,s=r("<button class='yasr_btn'></button>").text(a).addClass("select_"+o).click(function(){e.find("button.selected").removeClass("selected");r(this).addClass("selected");t.options.output=o;var i=t.getPersistencyId(t.options.persistency.outputSelector);i&&n.storage.set(i,t.options.output,"month");t.draw();t.u
 pdateHeader()}).appendTo(e);t.options.output==o&&s.addClass("selected")}});e.children().length>1&&t.header.append(e)},i=function(){var n=function(e,t){var r=null,n=window.URL||window.webkitURL||window.mozURL||window.msURL;if(n&&Blob){var o=new Blob([e],{type:t});r=n.createObjectURL(o)}return r},o=r("<button class='yasr_btn yasr_downloadIcon btn_icon'></button>").append(e("yasgui-utils").svg.getElement(e("./imgs.js").download)).click(function(){var e=t.plugins[t.options.output];if(e&&e.getDownloadInfo){var o=e.getDownloadInfo(),i=n(o.getContent(),o.contentType?o.contentType:"text/plain"),a=r("<a></a>");a.attr("href",i);a.attr("download",o.filename);a.get(0).click()}});t.header.append(o)},a=function(){var n=r("<button class='yasr_btn btn_fullscreen btn_icon'></button>").append(e("yasgui-utils").svg.getElement(e("./imgs.js").fullscreen)).click(function(){t.container.addClass("yasr_fullscreen")});t.header.append(n)},s=function(){var n=r("<button class='yasr_btn btn_smallscreen btn_icon'
 ></button>").append(e("yasgui-utils").svg.getElement(e("./imgs.js").smallscreen)).click(function(){t.container.removeClass("yasr_fullscreen")});t.header.append(n)};a();s();t.options.drawOutputSelector&&o();t.options.drawDownloadIcon&&i()};o.plugins={};o.registerOutput=function(e,t){o.plugins[e]=t};o.defaults=e("./defaults.js");o.version={YASR:e("../package.json").version,jquery:r.fn.jquery,"yasgui-utils":e("yasgui-utils").version};o.$=r;try{o.registerOutput("boolean",e("./boolean.js"))}catch(a){}try{o.registerOutput("rawResponse",e("./rawResponse.js"))}catch(a){}try{o.registerOutput("table",e("./table.js"))}catch(a){}try{o.registerOutput("error",e("./error.js"))}catch(a){}try{o.registerOutput("pivot",e("./pivot.js"))}catch(a){}try{o.registerOutput("gchart",e("./gchart.js"))}catch(a){}},{"../package.json":19,"./boolean.js":21,"./defaults.js":22,"./error.js":23,"./gChartLoader.js":24,"./gchart.js":25,"./imgs.js":26,"./parsers/wrapper.js":32,"./pivot.js":34,"./rawResponse.js":35,"./tab
 le.js":36,jquery:void 0,"yasgui-utils":16}],28:[function(e,t){"use strict";(function(){try{return e("jquery")}catch(t){return window.jQuery}})(),t.exports=function(t){return e("./dlv.js")(t,",")}},{"./dlv.js":29,jquery:void 0}],29:[function(e,t){"use strict";var r=jQuery=function(){try{return e("jquery")}catch(t){return window.jQuery}}();e("../../lib/jquery.csv-0.71.js");t.exports=function(e,t){var n={},o=r.csv.toArrays(e,{separator:t}),i=function(e){return 0==e.indexOf("http")?"uri":null},a=function(){if(2==o.length&&1==o[0].length&&1==o[1].length&&"boolean"==o[0][0]&&("1"==o[1][0]||"0"==o[1][0])){n.boolean="1"==o[1][0]?!0:!1;return!0}return!1},s=function(){if(o.length>0&&o[0].length>0){n.head={vars:o[0]};return!0}return!1},l=function(){if(o.length>1){n.results={bindings:[]};for(var e=1;e<o.length;e++){for(var t={},r=0;r<o[e].length;r++){var a=n.head.vars[r];if(a){var s=o[e][r],l=i(s);t[a]={value:s};l&&(t[a].type=l)}}n.results.bindings.push(t)}n.head={vars:o[0]};return!0}ret

<TRUNCATED>

Mime
View raw message