{"version":3,"sources":["webpack:///json-formatter.js","webpack:///webpack/bootstrap 5cd48c5d76c78fda6e29","webpack:///./src/index.ts","webpack:///./src/style.less","webpack:///./~/css-loader/lib/css-base.js","webpack:///./~/style-loader/addStyles.js","webpack:///./src/style.less?a065","webpack:///./src/helpers.ts"],"names":["module","exports","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","__WEBPACK_IMPORTED_MODULE_0__helpers__","__WEBPACK_IMPORTED_MODULE_1__style_less__","DATE_STRING_REGEX","PARTIAL_DATE_REGEX","JSON_DATE_REGEX","requestAnimationFrame","window","cb","_defaultConfig","hoverPreviewEnabled","hoverPreviewArrayCount","hoverPreviewFieldCount","animateOpen","animateClose","theme","useToJSON","sortPropertiesBy","JSONFormatter","json","open","config","key","this","_isOpen","undefined","set","Date","type","test","indexOf","Array","isArray","keys","length","isEmptyObject","isObject","map","sort","toggleOpen","isOpen","element","appendChildren","removeChildren","classList","toggle","openAtDepth","depth","remove","add","getInlinepreview","_this","join","narrowKeys","slice","kvs","ellipsis","render","togglerLink","appendChild","hasKey","objectWrapperSpan","constructorName","arrayWrapperSpan","isUrl","isDate","setAttribute","valuePreview","toJSON","document","createTextNode","preview","children","isEmpty","addEventListener","bind","animated","querySelector","index_1","addAChild_1","formatter","forEach","childrenElement","childrenRemoved_1","removeAChild_1","removeChild","innerHTML","push","list","toString","result","item","mediaQuery","alreadyImportedModules","id","addStylesToDom","styles","options","domStyle","stylesInDom","refs","j","parts","addStyle","listToStyles","newStyles","css","media","sourceMap","part","insertStyleElement","styleElement","head","getHeadElement","lastStyleElementInsertedAtTop","styleElementsInsertedAtTop","insertAt","nextSibling","insertBefore","firstChild","Error","removeStyleElement","parentNode","idx","splice","createStyleElement","createElement","createLinkElement","linkElement","rel","obj","update","singleton","styleIndex","singletonCounter","singletonElement","applyToSingletonTag","URL","createObjectURL","revokeObjectURL","Blob","btoa","updateLink","href","applyToTag","newObj","index","styleSheet","cssText","replaceText","cssNode","childNodes","unescape","encodeURIComponent","JSON","stringify","blob","oldSrc","memoize","fn","memo","apply","arguments","isOldIE","self","navigator","userAgent","toLowerCase","getElementsByTagName","DEBUG","newList","mayRemove","textStore","replacement","filter","Boolean","content","locals","escapeString","str","replace","getObjectName","constructor","funcNameRegex","results","exec","getValuePreview","getPreview","cssClass","className","el","Node","String"],"mappings":"AAAAA,OAAOC,UACE,SAAUC;ICGnB,SAAAC,oBAAAC;QAGA,IAAAC,iBAAAD,WACA,OAAAC,iBAAAD,UAAAH;QAGA,IAAAD,SAAAK,iBAAAD;YACAE,GAAAF;YACAG,IAAA;YACAN;;QAUA,OANAC,QAAAE,UAAAI,KAAAR,OAAAC,SAAAD,eAAAC,SAAAE;QAGAH,OAAAO,KAAA,GAGAP,OAAAC;;IAvBA,IAAAI;IA+DA,OAnCAF,oBAAAM,IAAAP,SAGAC,oBAAAO,IAAAL;IAGAF,oBAAAG,IAAA,SAAAK;QAA2C,OAAAA;OAG3CR,oBAAAS,IAAA,SAAAX,SAAAY,MAAAC;QACAX,oBAAAY,EAAAd,SAAAY,SACAG,OAAAC,eAAAhB,SAAAY;YACAK,eAAA;YACAC,aAAA;YACAC,KAAAN;;OAMAX,oBAAAkB,IAAA,SAAArB;QACA,IAAAc,SAAAd,iBAAAsB,aACA;YAA2B,OAAAtB,OAAA;YAC3B;YAAiC,OAAAA;;QAEjC,OADAG,oBAAAS,EAAAE,QAAA,KAAAA,SACAA;OAIAX,oBAAAY,IAAA,SAAAQ,QAAAC;QAAsD,OAAAR,OAAAS,UAAAC,eAAAlB,KAAAe,QAAAC;OAGtDrB,oBAAAwB,IAAA,QAGAxB,wCAAAyB,IAAA;IDOM,SAAU5B,QAAQ6B,qBAAqB1B;IAE7C;IACAa,OAAOC,eAAeY,qBAAqB;QAAgBlB,QAAO;;IAC7C,IAAImB,yCAAyC3B,oBAAoB,IAC7D4B,4CAA4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AAgB,oBAChBC,UAAU,cAAgBC,KAAK,OAASH,YAAY7F;QAC1D,OAAI+F,WAAWA,QAAQtJ,SAAS,IACvBsJ,QAAQ,KAER;;IAOL,SAAAE,gBAA2B9J,MAAclC,QAAgBZ;QAC7D,OAAa,WAAT8C,QAA4B,gBAATA,OAA+BA,QAEzC,aAATA,QAA8B,oBAATA,SACvB9C,QAAQ,MAAMoM,aAAapM,SAAS;QAEzB,eAAT8C,OAGKlC,OAAO+F,WACT2F,QAAQ,WAAW,IACnBA,QAAQ,UAAU,MAAM,QAExBtM;;IAMH,SAAA6M,WAAqB/J,MAAclC;QACvC,IAAIZ,QAAQ;QAQZ,OAPIsD,SAAS1C,WACXZ,QAAQuM,cAAc3L,SAClBqC,MAAMC,QAAQtC,YAChBZ,SAAS,MAAMY,OAAOwC,SAAS,QAEjCpD,QAAQ4M,gBAAgB9J,MAAMlC,QAAQA;QAEjCZ;;IAMH,SAAA8M,SAAmBC;QACvB,OAAO,oBAAkBA;;IAOrB,SAAA/D,cAAwBlG,MAAciK,WAAoBb;QAC9D,IAAMc,KAAKzH,SAASyD,cAAclG;QAWlC,OAVIiK,aACFC,GAAGlJ,UAAUK,IAAI2I,SAASC,kBAEZpK,MAAZuJ,YACEA,mBAAmBe,OACrBD,GAAGnI,YAAYqH,WAEfc,GAAGnI,YAAYU,SAASC,eAAe0H,OAAOhB;QAG3Cc;;IP6xBwB9L,oBAAuB,IAAIoC,UAC3BpC,oBAAuB,IAAIqL,eAC3BrL,oBAAuB,IAAI0L;IAC3B1L,oBAAuB,IAAI2L,YAC3B3L,oBAAuB,IAAI4L,UOl4B5D5L,oBAAA,IAAA8H;GPu+BM,SAAU3J,QAAQC,SAASE;IAEjCH,OAAOC,UAAUE,oBAAoB","file":"json-formatter.js","sourcesContent":["module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"dist\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 6);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__helpers__ = __webpack_require__(5);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_less__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_less___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_less__);\n\n\nvar DATE_STRING_REGEX = /(^\\d{1,4}[\\.|\\\\/|-]\\d{1,2}[\\.|\\\\/|-]\\d{1,4})(\\s*(?:0?[1-9]:[0-5]|1(?=[012])\\d:[0-5])\\d\\s*[ap]m)?$/;\nvar PARTIAL_DATE_REGEX = /\\d{2}:\\d{2}:\\d{2} GMT-\\d{4}/;\nvar JSON_DATE_REGEX = /\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{3}Z/;\n// When toggleing, don't animated removal or addition of more than a few items\nvar MAX_ANIMATED_TOGGLE_ITEMS = 10;\nvar requestAnimationFrame = window.requestAnimationFrame || function (cb) { cb(); return 0; };\n;\nvar _defaultConfig = {\n hoverPreviewEnabled: false,\n hoverPreviewArrayCount: 100,\n hoverPreviewFieldCount: 5,\n animateOpen: true,\n animateClose: true,\n theme: null,\n useToJSON: true,\n sortPropertiesBy: null\n};\n/**\n * @class JSONFormatter\n *\n * JSONFormatter allows you to render JSON objects in HTML with a\n * **collapsible** navigation.\n*/\nvar JSONFormatter = /** @class */ (function () {\n /**\n * @param {object} json The JSON object you want to render. It has to be an\n * object or array. Do NOT pass raw JSON string.\n *\n * @param {number} [open=1] his number indicates up to how many levels the\n * rendered tree should expand. Set it to `0` to make the whole tree collapsed\n * or set it to `Infinity` to expand the tree deeply\n *\n * @param {object} [config=defaultConfig] -\n * defaultConfig = {\n * hoverPreviewEnabled: false,\n * hoverPreviewArrayCount: 100,\n * hoverPreviewFieldCount: 5\n * }\n *\n * Available configurations:\n * #####Hover Preview\n * * `hoverPreviewEnabled`: enable preview on hover\n * * `hoverPreviewArrayCount`: number of array items to show in preview Any\n * array larger than this number will be shown as `Array[XXX]` where `XXX`\n * is length of the array.\n * * `hoverPreviewFieldCount`: number of object properties to show for object\n * preview. Any object with more properties that thin number will be\n * truncated.\n *\n * @param {string} [key=undefined] The key that this object in it's parent\n * context\n */\n function JSONFormatter(json, open, config, key) {\n if (open === void 0) { open = 1; }\n if (config === void 0) { config = _defaultConfig; }\n this.json = json;\n this.open = open;\n this.config = config;\n this.key = key;\n // Hold the open state after the toggler is used\n this._isOpen = null;\n // Setting default values for config object\n if (this.config.hoverPreviewEnabled === undefined) {\n this.config.hoverPreviewEnabled = _defaultConfig.hoverPreviewEnabled;\n }\n if (this.config.hoverPreviewArrayCount === undefined) {\n this.config.hoverPreviewArrayCount = _defaultConfig.hoverPreviewArrayCount;\n }\n if (this.config.hoverPreviewFieldCount === undefined) {\n this.config.hoverPreviewFieldCount = _defaultConfig.hoverPreviewFieldCount;\n }\n if (this.config.useToJSON === undefined) {\n this.config.useToJSON = _defaultConfig.useToJSON;\n }\n }\n Object.defineProperty(JSONFormatter.prototype, \"isOpen\", {\n /*\n * is formatter open?\n */\n get: function () {\n if (this._isOpen !== null) {\n return this._isOpen;\n }\n else {\n return this.open > 0;\n }\n },\n /*\n * set open state (from toggler)\n */\n set: function (value) {\n this._isOpen = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"isDate\", {\n /*\n * is this a date string?\n */\n get: function () {\n return ((this.json instanceof Date) ||\n ((this.type === 'string') &&\n (DATE_STRING_REGEX.test(this.json) ||\n JSON_DATE_REGEX.test(this.json) ||\n PARTIAL_DATE_REGEX.test(this.json))));\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"isUrl\", {\n /*\n * is this a URL string?\n */\n get: function () {\n return this.type === 'string' && (this.json.indexOf('http') === 0);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"isArray\", {\n /*\n * is this an array?\n */\n get: function () {\n return Array.isArray(this.json);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"isObject\", {\n /*\n * is this an object?\n * Note: In this context arrays are object as well\n */\n get: function () {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"a\" /* isObject */])(this.json);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"isEmptyObject\", {\n /*\n * is this an empty object with no properties?\n */\n get: function () {\n return !this.keys.length && !this.isArray;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"isEmpty\", {\n /*\n * is this an empty object or array?\n */\n get: function () {\n return this.isEmptyObject || (this.keys && !this.keys.length && this.isArray);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"useToJSON\", {\n /*\n * does this has a `toJSON` method and is it configured to be used?\n * This means that it has it's own renderer for JSON.stringify (Date, Mongo's ObjectID, etc.)\n */\n get: function () {\n return this.config.useToJSON && this.type === 'stringifiable';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"hasKey\", {\n /*\n * did we recieve a key argument?\n * This means that the formatter was called as a sub formatter of a parent formatter\n */\n get: function () {\n return typeof this.key !== 'undefined';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"constructorName\", {\n /*\n * if this is an object, get constructor function name\n */\n get: function () {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"b\" /* getObjectName */])(this.json);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"type\", {\n /*\n * get type of this value. Returns \"null\" for null objects\n * Possible values: all JavaScript primitive types plus \"array\" and \"null\"\n */\n get: function () {\n if (this.json === null) {\n return 'null';\n }\n if (this.config.useToJSON && this.json && this.json['toJSON']) {\n return 'stringifiable';\n }\n return typeof this.json;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(JSONFormatter.prototype, \"keys\", {\n /*\n * get object keys\n * If there is an empty key we pad it wit quotes to make it visible\n */\n get: function () {\n if (this.isObject) {\n var keys = Object.keys(this.json).map(function (key) { return key ? key : '\"\"'; });\n return (!this.isArray && this.config.sortPropertiesBy)\n ? keys.sort(this.config.sortPropertiesBy)\n : keys;\n }\n else {\n return [];\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Toggles `isOpen` state\n *\n */\n JSONFormatter.prototype.toggleOpen = function () {\n this.isOpen = !this.isOpen;\n if (this.element) {\n if (this.isOpen) {\n this.appendChildren(this.config.animateOpen);\n }\n else {\n this.removeChildren(this.config.animateClose);\n }\n this.element.classList.toggle(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('open'));\n }\n };\n /**\n * Open all children up to a certain depth.\n * Allows actions such as expand all/collapse all\n *\n */\n JSONFormatter.prototype.openAtDepth = function (depth) {\n if (depth === void 0) { depth = 1; }\n if (depth < 0) {\n return;\n }\n this.open = depth;\n this.isOpen = (depth !== 0);\n if (this.element) {\n this.removeChildren(false);\n if (depth === 0) {\n this.element.classList.remove(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('open'));\n }\n else {\n this.appendChildren(this.config.animateOpen);\n this.element.classList.add(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('open'));\n }\n }\n };\n /**\n * Generates inline preview\n *\n * @returns {string}\n */\n JSONFormatter.prototype.getInlinepreview = function () {\n var _this = this;\n if (this.isArray) {\n // if array length is greater then 100 it shows \"Array[101]\"\n if (this.json.length > this.config.hoverPreviewArrayCount) {\n return \"Array[\" + this.json.length + \"]\";\n }\n else {\n return \"[\" + this.json.map(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"d\" /* getPreview */]).join(', ') + \"]\";\n }\n }\n else {\n var keys = this.keys;\n // the first five keys (like Chrome Developer Tool)\n var narrowKeys = keys.slice(0, this.config.hoverPreviewFieldCount);\n // json value schematic information\n var kvs = narrowKeys.map(function (key) { return key + \":\" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"d\" /* getPreview */])(_this.type, _this.json[key]); });\n // if keys count greater then 5 then show ellipsis\n var ellipsis = keys.length >= this.config.hoverPreviewFieldCount ? '…' : '';\n return \"{\" + kvs.join(', ') + ellipsis + \"}\";\n }\n };\n /**\n * Renders an HTML element and installs event listeners\n *\n * @returns {HTMLDivElement}\n */\n JSONFormatter.prototype.render = function () {\n // construct the root element and assign it to this.element\n this.element = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('div', 'row');\n // construct the toggler link\n var togglerLink = this.isObject ? __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('a', 'toggler-link') : __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span');\n // if this is an object we need a wrapper span (toggler)\n if (this.isObject && !this.useToJSON) {\n togglerLink.appendChild(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span', 'toggler'));\n }\n // if this is child of a parent formatter we need to append the key\n if (this.hasKey) {\n togglerLink.appendChild(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span', 'key', this.key + \":\"));\n }\n // Value for objects and arrays\n if (this.isObject && !this.useToJSON) {\n // construct the value holder element\n var value = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span', 'value');\n // we need a wrapper span for objects\n var objectWrapperSpan = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span');\n // get constructor name and append it to wrapper span\n var constructorName = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span', 'constructor-name', this.constructorName);\n objectWrapperSpan.appendChild(constructorName);\n // if it's an array append the array specific elements like brackets and length\n if (this.isArray) {\n var arrayWrapperSpan = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span');\n arrayWrapperSpan.appendChild(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span', 'bracket', '['));\n arrayWrapperSpan.appendChild(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span', 'number', (this.json.length)));\n arrayWrapperSpan.appendChild(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span', 'bracket', ']'));\n objectWrapperSpan.appendChild(arrayWrapperSpan);\n }\n // append object wrapper span to toggler link\n value.appendChild(objectWrapperSpan);\n togglerLink.appendChild(value);\n // Primitive values\n }\n else {\n // make a value holder element\n var value = this.isUrl ? __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('a') : __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span');\n // add type and other type related CSS classes\n value.classList.add(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])(this.type));\n if (this.isDate) {\n value.classList.add(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('date'));\n }\n if (this.isUrl) {\n value.classList.add(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('url'));\n value.setAttribute('href', this.json);\n }\n // Append value content to value element\n var valuePreview = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"f\" /* getValuePreview */])(this.type, this.json, this.useToJSON ? this.json.toJSON() : this.json);\n value.appendChild(document.createTextNode(valuePreview));\n // append the value element to toggler link\n togglerLink.appendChild(value);\n }\n // if hover preview is enabled, append the inline preview element\n if (this.isObject && this.config.hoverPreviewEnabled) {\n var preview = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('span', 'preview-text');\n preview.appendChild(document.createTextNode(this.getInlinepreview()));\n togglerLink.appendChild(preview);\n }\n // construct a children element\n var children = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"e\" /* createElement */])('div', 'children');\n // set CSS classes for children\n if (this.isObject) {\n children.classList.add(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('object'));\n }\n if (this.isArray) {\n children.classList.add(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('array'));\n }\n if (this.isEmpty) {\n children.classList.add(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('empty'));\n }\n // set CSS classes for root element\n if (this.config && this.config.theme) {\n this.element.classList.add(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])(this.config.theme));\n }\n if (this.isOpen) {\n this.element.classList.add(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('open'));\n }\n // append toggler and children elements to root element\n this.element.appendChild(togglerLink);\n this.element.appendChild(children);\n // if formatter is set to be open call appendChildren\n if (this.isObject && this.isOpen) {\n this.appendChildren();\n }\n // add event listener for toggling\n if (this.isObject && !this.useToJSON) {\n togglerLink.addEventListener('click', this.toggleOpen.bind(this));\n }\n return this.element;\n };\n /**\n * Appends all the children to children element\n * Animated option is used when user triggers this via a click\n */\n JSONFormatter.prototype.appendChildren = function (animated) {\n var _this = this;\n if (animated === void 0) { animated = false; }\n var children = this.element.querySelector(\"div.\" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('children'));\n if (!children || this.isEmpty) {\n return;\n }\n if (animated) {\n var index_1 = 0;\n var addAChild_1 = function () {\n var key = _this.keys[index_1];\n var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key);\n children.appendChild(formatter.render());\n index_1 += 1;\n if (index_1 < _this.keys.length) {\n if (index_1 > MAX_ANIMATED_TOGGLE_ITEMS) {\n addAChild_1();\n }\n else {\n requestAnimationFrame(addAChild_1);\n }\n }\n };\n requestAnimationFrame(addAChild_1);\n }\n else {\n this.keys.forEach(function (key) {\n var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key);\n children.appendChild(formatter.render());\n });\n }\n };\n /**\n * Removes all the children from children element\n * Animated option is used when user triggers this via a click\n */\n JSONFormatter.prototype.removeChildren = function (animated) {\n if (animated === void 0) { animated = false; }\n var childrenElement = this.element.querySelector(\"div.\" + __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__helpers__[\"c\" /* cssClass */])('children'));\n if (animated) {\n var childrenRemoved_1 = 0;\n var removeAChild_1 = function () {\n if (childrenElement && childrenElement.children.length) {\n childrenElement.removeChild(childrenElement.children[0]);\n childrenRemoved_1 += 1;\n if (childrenRemoved_1 > MAX_ANIMATED_TOGGLE_ITEMS) {\n removeAChild_1();\n }\n else {\n requestAnimationFrame(removeAChild_1);\n }\n }\n };\n requestAnimationFrame(removeAChild_1);\n }\n else {\n if (childrenElement) {\n childrenElement.innerHTML = '';\n }\n }\n };\n return JSONFormatter;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (JSONFormatter);\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(2)();\n// imports\n\n\n// module\nexports.push([module.i, \".json-formatter-row {\\n font-family: monospace;\\n}\\n.json-formatter-row,\\n.json-formatter-row a,\\n.json-formatter-row a:hover {\\n color: black;\\n text-decoration: none;\\n}\\n.json-formatter-row .json-formatter-row {\\n margin-left: 1rem;\\n}\\n.json-formatter-row .json-formatter-children.json-formatter-empty {\\n opacity: 0.5;\\n margin-left: 1rem;\\n}\\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\\n display: none;\\n}\\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\\n content: \\\"No properties\\\";\\n}\\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\\n content: \\\"[]\\\";\\n}\\n.json-formatter-row .json-formatter-string,\\n.json-formatter-row .json-formatter-stringifiable {\\n color: green;\\n white-space: pre;\\n word-wrap: break-word;\\n}\\n.json-formatter-row .json-formatter-number {\\n color: blue;\\n}\\n.json-formatter-row .json-formatter-boolean {\\n color: red;\\n}\\n.json-formatter-row .json-formatter-null {\\n color: #855A00;\\n}\\n.json-formatter-row .json-formatter-undefined {\\n color: #ca0b69;\\n}\\n.json-formatter-row .json-formatter-function {\\n color: #FF20ED;\\n}\\n.json-formatter-row .json-formatter-date {\\n background-color: rgba(0, 0, 0, 0.05);\\n}\\n.json-formatter-row .json-formatter-url {\\n text-decoration: underline;\\n color: blue;\\n cursor: pointer;\\n}\\n.json-formatter-row .json-formatter-bracket {\\n color: blue;\\n}\\n.json-formatter-row .json-formatter-key {\\n color: #00008B;\\n padding-right: 0.2rem;\\n}\\n.json-formatter-row .json-formatter-toggler-link {\\n cursor: pointer;\\n}\\n.json-formatter-row .json-formatter-toggler {\\n line-height: 1.2rem;\\n font-size: 0.7rem;\\n vertical-align: middle;\\n opacity: 0.6;\\n cursor: pointer;\\n padding-right: 0.2rem;\\n}\\n.json-formatter-row .json-formatter-toggler:after {\\n display: inline-block;\\n transition: transform 100ms ease-in;\\n content: \\\"\\\\25BA\\\";\\n}\\n.json-formatter-row > a > .json-formatter-preview-text {\\n opacity: 0;\\n transition: opacity 0.15s ease-in;\\n font-style: italic;\\n}\\n.json-formatter-row:hover > a > .json-formatter-preview-text {\\n opacity: 0.6;\\n}\\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\\n transform: rotate(90deg);\\n}\\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\\n display: inline-block;\\n}\\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\\n display: none;\\n}\\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\\n display: block;\\n}\\n.json-formatter-dark.json-formatter-row {\\n font-family: monospace;\\n}\\n.json-formatter-dark.json-formatter-row,\\n.json-formatter-dark.json-formatter-row a,\\n.json-formatter-dark.json-formatter-row a:hover {\\n color: white;\\n text-decoration: none;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-row {\\n margin-left: 1rem;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\\n opacity: 0.5;\\n margin-left: 1rem;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\\n display: none;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\\n content: \\\"No properties\\\";\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\\n content: \\\"[]\\\";\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-string,\\n.json-formatter-dark.json-formatter-row .json-formatter-stringifiable {\\n color: #31F031;\\n white-space: pre;\\n word-wrap: break-word;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-number {\\n color: #66C2FF;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\\n color: #EC4242;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-null {\\n color: #EEC97D;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\\n color: #ef8fbe;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-function {\\n color: #FD48CB;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-date {\\n background-color: rgba(255, 255, 255, 0.05);\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-url {\\n text-decoration: underline;\\n color: #027BFF;\\n cursor: pointer;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\\n color: #9494FF;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-key {\\n color: #23A0DB;\\n padding-right: 0.2rem;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-toggler-link {\\n cursor: pointer;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\\n line-height: 1.2rem;\\n font-size: 0.7rem;\\n vertical-align: middle;\\n opacity: 0.6;\\n cursor: pointer;\\n padding-right: 0.2rem;\\n}\\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\\n display: inline-block;\\n transition: transform 100ms ease-in;\\n content: \\\"\\\\25BA\\\";\\n}\\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\\n opacity: 0;\\n transition: opacity 0.15s ease-in;\\n font-style: italic;\\n}\\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\\n opacity: 0.6;\\n}\\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\\n transform: rotate(90deg);\\n}\\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\\n display: inline-block;\\n}\\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\\n display: none;\\n}\\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\\n display: block;\\n}\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function() {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\tvar result = [];\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar item = this[i];\n\t\t\tif(item[2]) {\n\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\n\t\t\t} else {\n\t\t\t\tresult.push(item[1]);\n\t\t\t}\n\t\t}\n\t\treturn result.join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\nvar stylesInDom = {},\n\tmemoize = function(fn) {\n\t\tvar memo;\n\t\treturn function () {\n\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\n\t\t\treturn memo;\n\t\t};\n\t},\n\tisOldIE = memoize(function() {\n\t\treturn /msie [6-9]\\b/.test(self.navigator.userAgent.toLowerCase());\n\t}),\n\tgetHeadElement = memoize(function () {\n\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\n\t}),\n\tsingletonElement = null,\n\tsingletonCounter = 0,\n\tstyleElementsInsertedAtTop = [];\n\nmodule.exports = function(list, options) {\n\tif(typeof DEBUG !== \"undefined\" && DEBUG) {\n\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\n\t}\n\n\toptions = options || {};\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of