!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define(t):"object"==typeofexports?exports.JSONEditor=t():e.JSONEditor=t()}(this,function(){returnfunction(e){functiont(n){if(i[n])returni[n].exports;varo=i[n]={exports:{},id:n,loaded:!1};returne[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}vari={};returnt.m=e,t.c=i,t.p="",t(0)}([function(e,t,i){functionn(e,t,i){if(!(thisinstanceofn))thrownewError('JSONEditor constructor called without "new".');varo=s.getInternetExplorerVersion();if(-1!=o&&9>o)thrownewError("Unsupported browser, IE9 or newer required. Please install the newest version of your browser.");arguments.length&&this._create(e,t,i)}varo=i(1),r=i(2),s=i(3);n.modes={},n.prototype._create=function(e,t,i){this.container=e,this.options=t||{},this.json=i||{};varn=this.options.mode||"tree";this.setMode(n)},n.prototype._delete=function(){},n.prototype.set=function(e){this.json=e},n.prototype.get=function(){returnthis.json},n.prototype.setText=function(e){this.json=s.parse(e)},n.prototype.getText=function(){returnJSON.stringify(this.json)},n.prototype.setName=function(e){this.options||(this.options={}),this.options.name=e},n.prototype.getName=function(){returnthis.options&&this.options.name},n.prototype.setMode=function(e){vart,i,o=this.container,r=s.extend({},this.options);r.mode=e;vara=n.modes[e];if(!a)thrownewError('Unknown mode "'+r.mode+'"');try{varl="text"==a.data;if(i=this.getName(),t=this[l?"getText":"get"](),this._delete(),s.clear(this),s.extend(this,a.mixin),this.create(o,r),this.setName(i),this[l?"setText":"set"](t),"function"==typeofa.load)try{a.load.call(this)}catch(c){}}catch(c){this._onError(c)}},n.prototype._onError=function(e){if("function"==typeofthis.onError&&(s.log("WARNING: JSONEditor.onError is deprecated. Use options.error instead."),this.onError(e)),!this.options||"function"!=typeofthis.options.error)throwe;this.options.error(e)},n.registerMode=function(e){vart,i;if(s.isArray(e))for(t=0;t<e.length;t++)n.registerMode(e[t]);else{if(!("mode"ine))thrownewError('Property "mode" missing');if(!("mixin"ine))thrownewError('Property "mixin" missing');if(!("data"ine))thrownewError('Property "data" missing');varo=e.mode;if(oinn.modes)thrownewError('Mode "'+o+'" already registered');if("function"!=typeofe.mixin.create)thrownewError('Required function "create" missing on mixin');varr=["setMode","registerMode","modes"];for(t=0;t<r.length;t++)if(i=r[t],iine.mixin)thrownewError('Reserved property "'+i+'" not allowed in mixin');n.modes[o]=e}},n.registerMode(o),n.registerMode(r),e.exports=n},function(e,t,i){varn=i(4),o=i(5),r=i(6),s=i(7),a=i(8),l=i(3),c={};c.create=function(e,t){if(!e)thrownewError("No container element provided.");this.container=e,this.dom={},this.highlighter=newn,this.selection=void0,this._setOptions(t),this.options.history&&"view"!==this.options.mode&&(this.history=newo(this)),this._createFrame(),this._createTable()},c._delete=function(){this.frame&&this.container&&this.frame.parentNode==this.container&&this.container.removeChild(this.frame)},c._setOptions=function(e){if(this.options={search:!0,history:!0,mode:"tree",name:void0},e)for(vartine)e.hasOwnProperty(t)&&(this.options[t]=e[t])};varh=void0,u=null;c.set=function(e,t){if(t&&(l.log('Warning: second parameter "name" is deprecated. Use setName(name) instead.'),this.options.name=t),einstanceofFunction||void0===e)this.clear();else{this.content.removeChild(this.table);vari={field:this.options.name,value:e},n=news(this,i);this._setRoot(n);varo=!1;this.node.expand(o),this.content.appendChild(this.table)}this.history&&this.history.clear()},c.get=function(){returnh&&h.blur(),this.node?this.node.getValue():void0},c.getText=function(){returnJSON.stringify(this.get())},c.setText=function(e){this.set(l.parse(e))},c.setName=function(e){this.options.name=e,this.node&&this.node.updateField(this.options.name)},c.getName=function(){returnthis.options.name},c.focus=function(){vare=this.content.querySelecto
s.selectContentEditable(t.value)):this._hasChilds()?t.expand.focus():t.menu.focus();break;case"value":default:t.value&&!this._hasChilds()?(t.value.focus(),s.selectContentEditable(t.value)):t.field&&this.fieldEditable?(t.field.focus(),s.selectContentEditable(t.field)):this._hasChilds()?t.expand.focus():t.menu.focus()}}},n.select=function(e){setTimeout(function(){s.selectContentEditable(e)},0)},n.prototype.blur=function(){this._getDomValue(!1),this._getDomField(!1)},n.prototype._duplicate=function(e){vart=e.clone();returnthis.insertAfter(t,e),t},n.prototype.containsNode=function(e){if(this==e)return!0;vart=this.childs;if(t)for(vari=0,n=t.length;n>i;i++)if(t[i].containsNode(e))return!0;return!1},n.prototype._move=function(e,t){if(e!=t){if(e.containsNode(this))thrownewError("Cannot move a field into a child of itself");e.parent&&e.parent.removeChild(e);vari=e.clone();e.clearDom(),t?this.insertBefore(i,t):this.appendChild(i)}},n.prototype.removeChild=function(e){if(this.childs){vart=this.childs.indexOf(e);if(-1!=t){e.hide(),deletee.searchField,deletee.searchValue;vari=this.childs.splice(t,1)[0];returnthis.updateDom({updateIndexes:!0}),i}}returnvoid0},n.prototype._remove=function(e){this.removeChild(e)},n.prototype.changeType=function(e){vart=this.type;if(t!=e){if("string"!=e&&"auto"!=e||"string"!=t&&"auto"!=t){vari,n=this.dom.tr?this.dom.tr.parentNode:void0;i=this.expanded?this.getAppend():this.getDom();varo=i&&i.parentNode?i.nextSibling:void0;this.hide(),this.clearDom(),this.type=e,"object"==e?(this.childs||(this.childs=[]),this.childs.forEach(function(e){e.clearDom(),deletee.index,e.fieldEditable=!0,void0==e.field&&(e.field="")}),("string"==t||"auto"==t)&&(this.expanded=!0)):"array"==e?(this.childs||(this.childs=[]),this.childs.forEach(function(e,t){e.clearDom(),e.fieldEditable=!1,e.index=t}),("string"==t||"auto"==t)&&(this.expanded=!0)):this.expanded=!1,n&&(o?n.insertBefore(this.getDom(),o):n.appendChild(this.getDom())),this.showChilds()}elsethis.type=e;("auto"==e||"string"==e)&&(this.value="string"==e?String(this.value):this._stringCast(String(this.value)),this.focus()),this.updateDom({updateIndexes:!0})}},n.prototype._getDomValue=function(e){if(this.dom.value&&"array"!=this.type&&"object"!=this.type&&(this.valueInnerText=s.getInnerText(this.dom.value)),void0!=this.valueInnerText)try{vart;if("string"==this.type)t=this._unescapeHTML(this.valueInnerText);else{vari=this._unescapeHTML(this.valueInnerText);t=this._stringCast(i)}if(t!==this.value){varn=this.value;this.value=t,this.editor._onAction("editValue",{node:this,oldValue:n,newValue:t,oldSelection:this.editor.selection,newSelection:this.editor.getSelection()})}}catch(o){if(this.value=void0,e!==!0)throwo}},n.prototype._updateDomValue=function(){vare=this.dom.value;if(e){vart=this.value,i="auto"==this.type?s.type(t):this.type,n="string"==i&&s.isUrl(t),o="";o=n&&!this.editable.value?"":"string"==i?"green":"number"==i?"red":"boolean"==i?"darkorange":this._hasChilds()?"":null===t?"#004ED0":"black",e.style.color=o;varr=""==String(this.value)&&"array"!=this.type&&"object"!=this.type;if(r?s.addClassName(e,"empty"):s.removeClassName(e,"empty"),n?s.addClassName(e,"url"):s.removeClassName(e,"url"),"array"==i||"object"==i){vara=this.childs?this.childs.length:0;e.title=this.type+" containing "+a+" items"}else"string"==i&&s.isUrl(t)?this.editable.value&&(e.title="Ctrl+Click or Ctrl+Enter to open url in new window"):e.title="";this.searchValueActive?s.addClassName(e,"highlight-active"):s.removeClassName(e,"highlight-active"),this.searchValue?s.addClassName(e,"highlight"):s.removeClassName(e,"highlight"),s.stripFormatting(e)}},n.prototype._updateDomField=function(){vare=this.dom.field;if(e){vart=""==String(this.field)&&"array"!=this.parent.type;t?s.addClassName(e,"empty"):s.removeClassName(e,"empty"),this.searchFieldActive?s.addClassName(e,"highlight-active"):s.removeClassName(e,"highlight-active"),this.searchField?s.addClassName(e,"highlight"):s.removeClassName(e,"highlight"),s.stripFormatting(e)}},n.prototype._getDomField=function(e){if(this.dom.fiel
if(e===i)r&&this.push.apply(this,o);else{vars=Math.min(t,i-e),a=e+s,l=a+r-s,c=i-a,h=i-s;if(a>l)for(vard=0;c>d;++d)this[l+d]=this[a+d];elseif(l>a)for(d=c;d--;)this[l+d]=this[a+d];if(r&&e===h)this.length=h,this.push.apply(this,o);elsefor(this.length=h+r,d=0;r>d;++d)this[e+d]=o[d]}returnn};Array.isArray||(Array.isArray=function(e){return"[object Array]"==d(e)});varp=Object("a"),m="a"!=p[0]||!(0inp);if(Array.prototype.forEach||(Array.prototype.forEach=function(e){vart=R(this),i=m&&"[object String]"==d(this)?this.split(""):t,n=arguments[1],o=-1,r=i.length>>>0;if("[object Function]"!=d(e))thrownewTypeError;for(;++o<r;)oini&&e.call(n,i[o],o,t)}),Array.prototype.map||(Array.prototype.map=function(e){vart=R(this),i=m&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,o=Array(n),r=arguments[1];if("[object Function]"!=d(e))thrownewTypeError(e+" is not a function");for(vars=0;n>s;s++)sini&&(o[s]=e.call(r,i[s],s,t));returno}),Array.prototype.filter||(Array.prototype.filter=function(e){vart,i=R(this),n=m&&"[object String]"==d(this)?this.split(""):i,o=n.length>>>0,r=[],s=arguments[1];if("[object Function]"!=d(e))thrownewTypeError(e+" is not a function");for(vara=0;o>a;a++)ainn&&(t=n[a],e.call(s,t,a,i)&&r.push(t));returnr}),Array.prototype.every||(Array.prototype.every=function(e){vart=R(this),i=m&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,o=arguments[1];if("[object Function]"!=d(e))thrownewTypeError(e+" is not a function");for(varr=0;n>r;r++)if(rini&&!e.call(o,i[r],r,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){vart=R(this),i=m&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,o=arguments[1];if("[object Function]"!=d(e))thrownewTypeError(e+" is not a function");for(varr=0;n>r;r++)if(rini&&e.call(o,i[r],r,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){vart=R(this),i=m&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))thrownewTypeError(e+" is not a function");if(!n&&1==arguments.length)thrownewTypeError("reduce of empty array with no initial value");varo,r=0;if(arguments.length>=2)o=arguments[1];elsefor(;;){if(rini){o=i[r++];break}if(++r>=n)thrownewTypeError("reduce of empty array with no initial value")}for(;n>r;r++)rini&&(o=e.call(void0,o,i[r],r,t));returno}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){vart=R(this),i=m&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))thrownewTypeError(e+" is not a function");if(!n&&1==arguments.length)thrownewTypeError("reduceRight of empty array with no initial value");varo,r=n-1;if(arguments.length>=2)o=arguments[1];elsefor(;;){if(rini){o=i[r--];break}if(--r<0)thrownewTypeError("reduceRight of empty array with no initial value")}dorinthis&&(o=e.call(void0,o,i[r],r,t));while(r--);returno}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){vart=m&&"[object String]"==d(this)?this.split(""):R(this),n=t.length>>>0;if(!n)return-1;varo=0;for(arguments.length>1&&(o=i(arguments[1])),o=o>=0?o:Math.max(0,n+o);n>o;o++)if(oint&&t[o]===e)returno;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){vart=m&&"[object String]"==d(this)?this.split(""):R(this),n=t.length>>>0;if(!n)return-1;varo=n-1;for(arguments.length>1&&(o=Math.min(o,i(arguments[1]))),o=o>=0?o:n-Math.abs(o);o>=0;o--)if(oint&&e===t[o])returno;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){returne.__proto__||(e.constructor?e.constructor.prototype:h)}),!Object.getOwnPropertyDescriptor){varv="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeofe&&"function"!=typeofe||null===e)thrownewTypeError(v+e);if(g(e,t)){vari,n,o;if(i={enumerable:!0,configurable:!0},a){varl=e.__proto__;e.__proto__=h;varn=r(e,t),o=s(e,t);if(e.__proto__=l,n||o)returnn&&(i.get=n),o&&(i.set=o),i}returni.valu
{this.subFolds.splice(o,a-o,e)}returne.setFoldLine(this.foldLine),e}},this.restoreRange=function(e){returnr(e,this.start)}}.call(l.prototype)}),ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator"],function(e,t){"use strict";functioni(){this.getFoldAt=function(e,t,i){varn=this.getFoldLine(e);if(!n)returnnull;for(varo=n.folds,r=0;r<o.length;r++){vars=o[r];if(s.range.contains(e,t)){if(1==i&&s.range.isEnd(e,t))continue;if(-1==i&&s.range.isStart(e,t))continue;returns}}},this.getFoldsInRange=function(e){vart=e.start,i=e.end,n=this.$foldData,o=[];t.column+=1,i.column-=1;for(varr=0;r<n.length;r++){vars=n[r].range.compareRange(e);if(2!=s){if(-2==s)break;for(vara=n[r].folds,l=0;l<a.length;l++){varc=a[l];if(s=c.range.compareRange(e),-2==s)break;if(2!=s){if(42==s)break;o.push(c)}}}}returnt.column-=1,i.column+=1,o},this.getFoldsInRangeList=function(e){if(Array.isArray(e)){vart=[];e.forEach(function(e){t=t.concat(this.getFoldsInRange(e))},this)}elsevart=this.getFoldsInRange(e);returnt},this.getAllFolds=function(){for(vare=[],t=this.$foldData,i=0;i<t.length;i++)for(varn=0;n<t[i].folds.length;n++)e.push(t[i].folds[n]);returne},this.getFoldStringAt=function(e,t,i,n){if(n=n||this.getFoldLine(e),!n)returnnull;for(varo,r,s={end:{column:0}},a=0;a<n.folds.length;a++){r=n.folds[a];varl=r.range.compareEnd(e,t);if(-1==l){o=this.getLine(r.start.row).substring(s.end.column,r.start.column);break}if(0===l)returnnull;s=r}returno||(o=this.getLine(r.start.row).substring(s.end.column)),-1==i?o.substring(0,t-s.end.column):1==i?o.substring(t-s.end.column):o},this.getFoldLine=function(e,t){vari=this.$foldData,n=0;for(t&&(n=i.indexOf(t)),-1==n&&(n=0),n;n<i.length;n++){varo=i[n];if(o.start.row<=e&&o.end.row>=e)returno;if(o.end.row>e)returnnull}returnnull},this.getNextFoldLine=function(e,t){vari=this.$foldData,n=0;for(t&&(n=i.indexOf(t)),-1==n&&(n=0),n;n<i.length;n++){varo=i[n];if(o.end.row>=e)returno}returnnull},this.getFoldedRowCount=function(e,t){for(vari=this.$foldData,n=t-e+1,o=0;o<i.length;o++){varr=i[o],s=r.end.row,a=r.start.row;if(s>=t){t>a&&(a>=e?n-=t-a:n=0);break}s>=e&&(n-=a>=e?s-a:s-e+1)}returnn},this.$addFoldLine=function(e){returnthis.$foldData.push(e),this.$foldData.sort(function(e,t){returne.start.row-t.start.row}),e},this.addFold=function(e,t){vari,n=this.$foldData,s=!1;einstanceofr?i=e:(i=newr(t,e),i.collapseChildren=t.collapseChildren),this.$clipRangeToDocument(i.range);vara=i.start.row,l=i.start.column,c=i.end.row,h=i.end.column;if(!(c>a||a==c&&h-2>=l))thrownewError("The range has to be at least 2 characters width");varu=this.getFoldAt(a,l,1),d=this.getFoldAt(c,h,-1);if(u&&d==u)returnu.addSubFold(i);u&&!u.range.isStart(a,l)&&this.removeFold(u),d&&!d.range.isEnd(c,h)&&this.removeFold(d);varg=this.getFoldsInRange(i.range);g.length>0&&(this.removeFolds(g),g.forEach(function(e){i.addSubFold(e)}));for(varf=0;f<n.length;f++){varp=n[f];if(c==p.start.row){p.addFold(i),s=!0;break}if(a==p.end.row){if(p.addFold(i),s=!0,!i.sameRow){varm=n[f+1];if(m&&m.start.row==c){p.merge(m);break}}break}if(c<=p.start.row)break}returns||(p=this.$addFoldLine(newo(this.$foldData,i))),this.$useWrapMode?this.$updateWrapData(p.start.row,p.start.row):this.$updateRowLengthCache(p.start.row,p.start.row),this.$modified=!0,this._emit("changeFold",{data:i,action:"add"}),i},this.addFolds=function(e){e.forEach(function(e){this.addFold(e)},this)},this.removeFold=function(e){vart=e.foldLine,i=t.start.row,n=t.end.row,o=this.$foldData,r=t.folds;if(1==r.length)o.splice(o.indexOf(t),1);elseif(t.range.isEnd(e.end.row,e.end.column))r.pop(),t.end.row=r[r.length-1].end.row,t.end.column=r[r.length-1].end.column;elseif(t.range.isStart(e.start.row,e.start.column))r.shift(),t.start.row=r[0].start.row,t.start.column=r[0].start.column;elseif(e.sameRow)r.splice(r.indexOf(e),1);else{vars=t.split(e.start.row,e.start.column);r=s.folds,r.shift(),s.start.row=r[0].start.row,s.start.column=r[0].start.column}this.$updating||(this.$useWrapMode?th
}},this.onUpdate=function(e){vart=e.data,n=t.range;if(n.start.row===n.end.row&&n.start.row===this.pos.row&&!this.$updating){this.$updating=!0;varo="insertText"===t.action?n.end.column-n.start.column:n.start.column-n.end.column;if(n.start.column>=this.pos.column&&n.start.column<=this.pos.column+this.length+1){varr=n.start.column-this.pos.column;if(this.length+=o,!this.session.$fromUndo){if("insertText"===t.action)for(vars=this.others.length-1;s>=0;s--){vara=this.others[s],l={row:a.row,column:a.column+r};a.row===n.start.row&&n.start.column<a.column&&(l.column+=o),this.doc.insert(l,t.text)}elseif("removeText"===t.action)for(vars=this.others.length-1;s>=0;s--){vara=this.others[s],l={row:a.row,column:a.column+r};a.row===n.start.row&&n.start.column<a.column&&(l.column+=o),this.doc.remove(newi(l.row,l.column,l.row,l.column-o))}n.start.column===this.pos.column&&"insertText"===t.action?setTimeout(function(){this.pos.setPosition(this.pos.row,this.pos.column-o);for(vare=0;e<this.others.length;e++){vart=this.others[e],i={row:t.row,column:t.column-o};t.row===n.start.row&&n.start.column<t.column&&(i.column+=o),t.setPosition(i.row,i.column)}}.bind(this),0):n.start.column===this.pos.column&&"removeText"===t.action&&setTimeout(function(){for(vare=0;e<this.others.length;e++){vart=this.others[e];t.row===n.start.row&&n.start.column<t.column&&t.setPosition(t.row,t.column-o)}}.bind(this),0)}this.pos._emit("change",{value:this.pos});for(vars=0;s<this.others.length;s++)this.others[s]._emit("change",{value:this.others[s]})}this.$updating=!1}},this.onCursorChange=function(e){if(!this.$updating&&this.session){vart=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.pos.detach();for(vare=0;e<this.others.length;e++)this.others[e].detach();this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1===this.$undoStackDepth)throwError("Canceling placeholders only supported with undo manager attached to session.");for(vare=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,i=0;t>i;i++)e.undo(!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}}).call(r.prototype),t.PlaceHolder=r}),ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t){functioni(e,t){returne.row==t.row&&e.column==t.column}functionn(e){vart=e.domEvent,n=t.altKey,s=t.shiftKey,a=t.ctrlKey,l=e.getAccelKey(),c=e.getButton();if(a&&r.isMac&&(c=t.button),e.editor.inMultiSelectMode&&2==c)returnvoide.editor.textInput.onContextMenu(e.domEvent);if(!a&&!n&&!l)returnvoid(0===c&&e.editor.inMultiSelectMode&&e.editor.exitMultiSelectMode());if(0===c){varh,u=e.editor,d=u.selection,g=u.inMultiSelectMode,f=e.getDocumentPosition(),p=d.getCursor(),m=e.inSelection()||d.isEmpty()&&i(f,p),v=e.x,A=e.y,w=function(e){v=e.clientX,A=e.clientY},C=u.session,E=u.renderer.pixelToScreenCoordinates(v,A),F=E;if(u.$mouseHandler.$enableJumpToDef)a&&n||l&&n?h="add":n&&(h="block");elseif(l&&!n){if(h="add",!g&&s)return}elsen&&(h="block");if(h&&r.isMac&&t.ctrlKey&&u.$mouseHandler.cancelContextMenu(),"add"==h){if(!g&&m)return;if(!g){vary=d.toOrientedRange();u.addSelectionMarker(y)}varb=d.rangeList.rangeAtPoint(f);u.$blockScrolling++,u.inVirtualSelectionMode=!0,s&&(b=null,y=d.ranges[0],u.removeSelectionMarker(y)),u.once("mouseup",function(){vare=d.toOrientedRange();b&&e.isEmpty()&&i(b.cursor,e.cursor)?d.substractPoint(e.cursor):(s?d.substractPoint(y.cursor):y&&(u.removeSelectionMarker(y),d.addRange(y)),d.addRange(e)),u.$blockScrolling--,u.inVirtualSelectionMode=!1})}elseif("block"==h){e.stop(),u.inVirtualSelectionMode=!0;varx,S=[],$=function(){vare
JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(e,t,i,n,o,r){vars=r.length-1;switch(o){case1:this.$=e.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\v/g,"").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case2:this.$=Number(e);break;case3:this.$=null;break;case4:this.$=!0;break;case5:this.$=!1;break;case6:returnthis.$=r[s-1];case13:this.$={};break;case14:this.$=r[s-1];break;case15:this.$=[r[s-2],r[s]];break;case16:this.$={},this.$[r[s][0]]=r[s][1];break;case17:this.$=r[s-2],r[s-2][r[s][0]]=r[s][1];break;case18:this.$=[];break;case19:this.$=r[s-1];break;case20:this.$=[r[s]];break;case21:this.$=r[s-2],r[s-2].push(r[s])}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(e){thrownewError(e)},parse:function(e){functiont(e){o.length=o.length-2*e,r.length=r.length-e,s.length=s.length-e}functioni(){vare;returne=n.lexer.lex()||1,"number"!=typeofe&&(e=n.symbols_[e]||e),e}varn=this,o=[0],r=[null],s=[],a=this.table,l="",c=0,h=0,u=0,d=2,g=1;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,"undefined"==typeofthis.lexer.yylloc&&(this.lexer.yylloc={});varf=this.lexer.yylloc;s.push(f),"function"==typeofthis.yy.parseError&&(this.parseError=this.yy.parseError);for(varp,m,v,A,w,C,E,F,y,b={};;){if(v=o[o.length-1],this.defaultActions[v]?A=this.defaultActions[v]:(null==p&&(p=i()),A=a[v]&&a[v][p]),"undefined"==typeofA||!A.length||!A[0]){if(!u){y=[];for(Cina[v])this.terminals_[C]&&C>2&&y.push("'"+this.terminals_[C]+"'");varx="";x=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+y.join(", ")+", got '"+this.terminals_[p]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:f,expected:y})}if(3==u){if(p==g)thrownewError(x||"Parsing halted.");h=this.lexer.yyleng,l=this.lexer.yytext,c=this.lexer.yylineno,f=this.lexer.yylloc,p=i()}for(;;){if(d.toString()ina[v])break;if(0==v)thrownewError(x||"Parsing halted.");t(1),v=o[o.length-1]}m=p,p=d,v=o[o.length-1],A=a[v]&&a[v][d],u=3}if(A[0]instanceofArray&&A.length>1)thrownewError("Parse Error: multiple actions possible at state: "+v+", token: "+p);switch(A[0]){case1:o.push(p),r.push(this.lexer.yytext),s.push(this.lexer.yylloc),o.push(A[1]),p=null,m?(p=m,m=null):(h=this.lexer.yyleng,l=this.lexer.yytext,c=t
},function(e){e.exports=function(){thrownewError("define cannot be used indirect")}},function(e){e.exports=function(e){returne.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,i){(function(e){functioni(e,t){for(vari=0,n=e.length-1;n>=0;n--){varo=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),i++):i&&(e.splice(n,1),i--)}if(t)for(;i--;i)e.unshift("..");returne}functionn(e,t){if(e.filter)returne.filter(t);for(vari=[],n=0;n<e.length;n++)t(e[n],n,e)&&i.push(e[n]);returni}varo=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,r=function(e){returno.exec(e).slice(1)};t.resolve=function(){for(vart="",o=!1,r=arguments.length-1;r>=-1&&!o;r--){vars=r>=0?arguments[r]:e.cwd();if("string"!=typeofs)thrownewTypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,o="/"===s.charAt(0))}returnt=i(n(t.split("/"),function(e){return!!e}),!o).join("/"),(o?"/":"")+t||"."},t.normalize=function(e){varo=t.isAbsolute(e),r="/"===s(e,-1);returne=i(n(e.split("/"),function(e){return!!e}),!o).join("/"),e||o||(e="."),e&&r&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){vare=Array.prototype.slice.call(arguments,0);returnt.normalize(n(e,function(e){if("string"!=typeofe)thrownewTypeError("Arguments to path.join must be strings");returne}).join("/"))},t.relative=function(e,i){functionn(e){for(vart=0;t<e.length&&""===e[t];t++);for(vari=e.length-1;i>=0&&""===e[i];i--);returnt>i?[]:e.slice(t,i-t+1)}e=t.resolve(e).substr(1),i=t.resolve(i).substr(1);for(varo=n(e.split("/")),r=n(i.split("/")),s=Math.min(o.length,r.length),a=s,l=0;s>l;l++)if(o[l]!==r[l]){a=l;break}for(varc=[],l=a;l<o.length;l++)c.push("..");returnc=c.concat(r.slice(a)),c.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){vart=r(e),i=t[0],n=t[1];returni||n?(n&&(n=n.substr(0,n.length-1)),i+n):"."},t.basename=function(e,t){vari=r(e)[2];returnt&&i.substr(-1*t.length)===t&&(i=i.substr(0,i.length-t.length)),i},t.extname=function(e){returnr(e)[3]};vars="b"==="ab".substr(-1)?function(e,t,i){returne.substr(t,i)}:function(e,t,i){return0>t&&(t=e.length+t),e.substr(t,i)}}).call(t,i(20))},function(e){functiont(){if(!r){r=!0;for(vare,t=o.length;t;){e=o,o=[];for(vari=-1;++i<t;)e[i]();t=o.length}r=!1}}functioni(){}varn=e.exports={},o=[],r=!1;n.nextTick=function(e){o.push(e),r||setTimeout(t,0)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=i,n.addListener=i,n.once=i,n.off=i,n.removeListener=i,n.removeAllListeners=i,n.emit=i,n.binding=function(){thrownewError("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){thrownewError("process.chdir is not supported")},n.umask=function(){return0}},function(e,t){(function(t){functioni(){if(t.Blob)try{returnnewBlob(["asdf"],{type:"text/plain"}),Blob}catch(e){}vari=t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder;returnfunction(e,t){varn=newi,o=t.endings,r=t.type;if(o)for(vars=0,a=e.length;a>s;++s)n.append(e[s],o);elsefor(vars=0,a=e.length;a>s;++s)n.append(e[s]);returnr?n.getBlob(r):n.getBlob()}}e.exports=i()}).call(t,function(){returnthis}())}])});