{"version":3,"file":"discourse-data-explorer.js","names":["define","_exports","_buildPlugin","Object","defineProperty","value","default","extend","_component","_templateOnly","_templateFactory","__COLOCATED_TEMPLATE__","createTemplateFactory","id","block","moduleName","isStrictMode","setComponentTemplate","undefined","_component2","_object","_loadScript","_decorators","_themeColor","DataExplorerBarChart","chart","barsColor","barsHoverColor","gridColor","labelsColor","config","type","data","this","options","labels","args","datasets","label","datasetName","values","backgroundColor","hoverBackgroundColor","scales","legend","fontColor","xAxes","gridLines","color","zeroLineColor","ticks","yAxes","beginAtZero","initChart","canvas","context","getContext","Chart","static","dt7948","n","prototype","bind","updateChartData","update","action","willDestroy","super","arguments","destroy","_tracking","_utils","ExplorerSchema","g","tracked","filter","i","loading","hideSchema","transformedSchema","schema","key","hasOwnProperty","forEach","col","notes_components","primary","push","is_nullable","column_default","fkey_info","denormal","notes","join","enum","column_desc","havepopup","havetypeinfo","filteredTables","tables","isBlank","RegExp","haveFilter","source","unshift","name","columns","open","test","filterCols","column_name","isEmpty","updateFilter","debounce","filterChanged","collapseSchema","updateHideSchema","expandSchema","EnumInfo","enuminfo","entries","map","_ref","OneTable","table","styles","toggleOpen","_template","_dModal","_i18n","QueryHelp","scope","htmlSafe","_service","_string","_category","_I18n","layoutMap","int","bigint","boolean","string","time","date","datetime","double","user_id","post_id","topic_id","category_id","group_id","badge_id","int_list","string_list","user_list","group_list","ParamInput","inject","site","boolValue","nullableBoolValue","boolTypes","t","constructor","identifier","info","initialValues","initialValue","nullable","updateParams","dasherizeCategoryId","defaultValue","input","document","createElement","attributes","e","allowsInputTypeTime","valid","intVal","parseInt","intValid","isNaN","isPositiveInt","parseFloat","split","every","trim","categories","find","c","match","exec","findBySlug","dasherize","groups","get","allGroups","updateValue","target","length","toString","updateBoolValue","checked","updateNullableBoolValue","updateGroupValue","_runloop","_ajax","_badge","_getUrl","_badge2","_category2","_group","_html","_json","_post","_reltime","_text","_topic","_url","_user","VIEW_COMPONENTS","topic","text","post","reltime","badge","url","user","group","html","json","category","QueryResult","chartDisplayed","colRender","content","colrender","rows","params","explainText","explain","chartDatasetName","columnNames","colName","endsWith","slice","dIdx","indexOf","substring","columnComponents","_","idx","component","chartValues","mapBy","colCount","resultCount","count","result_count","default_limit","duration","toNumber","precision","parameterAry","arr","transformedUserTable","transformedRelTable","relations","transformedBadgeTable","transformedPostTable","transformedTopicTable","transformedGroupTable","canShowChart","hasTwoColumns","secondColumnContainsNumber","secondColumnContainsId","chartLabels","labelSelectors","username","title","relationName","lookupFunc","capitalize","labelSelector","r","relation","call","_cutChartLabel","lookupUser","lookupBadge","lookupPost","lookupTopic","lookupGroup","lookupCategory","findById","labelString","downloadResultJson","_downloadResult","downloadResultCsv","showChart","hideChart","_download_url","format","windowName","replace","Math","random","window","btoa","form","addInput","field","setAttribute","appendChild","query","JSON","stringify","ajax","then","csrf","body","submit","schedule","removeChild","modelClass","result","item","create","_utilities","QueryRowContent","results","row","ctx","baseuri","textValue","escapeExpression","dest","guessUrl","cached","_iconLibrary","Badge","iconOrImageReplacement","icon","iconHTML","convertIconClass","_categoryLink","Category","categoryBadgeReplacement","categoryLinkHTML","allowUncategorized","_fullscreenCode","Json","dialog","modal","parsedJson","parse","viewJson","show","model","code","codeClasses","_formatter","Reltime","boundDateReplacement","autoUpdatingRelativeAge","Date","ShareReport","visible","element","link","mouseDownHandler","contains","close","keyDownHandler","keyCode","registerListeners","isDestroying","isDestroyed","addEventListener","unregisterListeners","removeEventListener","focusInput","select","focus","preventDefault","shouldRender","has_visible_data_explorer_queries","_controller","_rsvp","_ajaxError","_queryHelp","_query","NoQuery","fake","group_ids","PluginsExplorerController","appEvents","router","sortByProperty","sortDescending","search","newQueryName","showCreate","editingName","editingQuery","selectedQueryId","showResults","selectedItem","dirty","queryParams","acceptedImportFileTypes","order","validQueryPresent","saveDisabled","runDisabled","sortedQueries","sortBy","reverse","parsedParams","filteredContent","regexp","description","createDisabled","findBy","editDisabled","groupOptions","othersDirty","q","addCreatedRecord","record","pushObject","setProperties","save","error","popupAjaxError","saveAndRun","run","_importQuery","file","_readFileAsTextAsync","_parseQuery","store","createRecord","sql","TypeError","Promise","resolve","reject","reader","FileReader","onload","onerror","readAsText","dragMove","movementY","movementX","editPane","querySelector","grippie","initialPaneWidth","originalPaneHeight","originalPaneWidth","clientWidth","clientHeight","newHeight","max","newWidth","style","height","width","trigger","didStartDrag","didEndDrag","scrollTop","scrollTo","updateGroupIds","set","import","files","jqXHR","SyntaxError","alert","console","displayCreate","editName","editQuery","download","downloadUrl","goHome","transitionTo","showHelpModal","resetParams","updateSortProperty","property","discard","getProperties","updatePropertyNames","Array","isArray","destroyQuery","destroyRecord","recover","updateSearch","updateNewQueryName","setDirty","exitEdit","success","catch","err","status","responseJSON","finally","GroupReportsIndexController","_bookmark","_bookmarkFormData","_bookmark2","GroupReportsShowController","currentUser","queryGroup","bookmark","queryGroupBookmark","hasParams","param_info","bookmarkLabel","bookmarkIcon","reminder_at","WITH_REMINDER_ICON","NO_REMINDER_ICON","bookmarkClassName","stringifiedParams","response","toggleBookmark","modalBookmark","bookmarkable_type","bookmarkable_id","BookmarkFormData","afterSave","bookmarkFormData","saveData","attachedTo","afterDelete","resource","path","route","initialize","container","lookup","addPluralization","getComputedStyle","getPropertyValue","_rest","Query","newParams","oldParams","pinfo","updateProperties","props","destroyed","createProperties","_discourse","AdminPluginsExplorer","admin","disallow","groupPromise","schemaPromise","cache","queryPromise","findAll","groupNames","setupController","controller","GroupReportsIndexRoute","modelFor","queries","afterModel","GroupReportsShowRoute","query_id","query_group","reduce","acc","param","assign","_deprecationsHelper"],"sources":["discourse/plugins/discourse-data-explorer/admin/adapters/query.js","discourse/plugins/discourse-data-explorer/discourse/components/code-view.js","discourse/plugins/discourse-data-explorer/discourse/components/data-explorer-bar-chart.js","discourse/plugins/discourse-data-explorer/discourse/components/explorer-schema.js","discourse/plugins/discourse-data-explorer/discourse/components/explorer-schema/enum-info.js","discourse/plugins/discourse-data-explorer/discourse/components/explorer-schema/one-table.js","discourse/plugins/discourse-data-explorer/discourse/components/modal/query-help.js","discourse/plugins/discourse-data-explorer/discourse/components/param-input.js","discourse/plugins/discourse-data-explorer/discourse/components/param-inputs-wrapper.js","discourse/plugins/discourse-data-explorer/discourse/components/query-result.js","discourse/plugins/discourse-data-explorer/discourse/components/query-results-wrapper.js","discourse/plugins/discourse-data-explorer/discourse/components/query-row-content.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/badge.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/category.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/group.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/html.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/json.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/post.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/reltime.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/text.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/topic.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/url.js","discourse/plugins/discourse-data-explorer/discourse/components/result-types/user.js","discourse/plugins/discourse-data-explorer/discourse/components/share-report.js","discourse/plugins/discourse-data-explorer/discourse/connectors/group-reports-nav-item/nav-item.js","discourse/plugins/discourse-data-explorer/discourse/controllers/admin-plugins-explorer.js","discourse/plugins/discourse-data-explorer/discourse/controllers/group-reports-index.js","discourse/plugins/discourse-data-explorer/discourse/controllers/group-reports-show.js","discourse/plugins/discourse-data-explorer/discourse/explorer-route-map.js","discourse/plugins/discourse-data-explorer/discourse/group-reports-route-map.js","discourse/plugins/discourse-data-explorer/discourse/initializers/initialize-data-explorer.js","discourse/plugins/discourse-data-explorer/discourse/lib/themeColor.js","discourse/plugins/discourse-data-explorer/discourse/models/query.js","discourse/plugins/discourse-data-explorer/discourse/routes/admin-plugins-explorer.js","discourse/plugins/discourse-data-explorer/discourse/routes/group-reports-index.js","discourse/plugins/discourse-data-explorer/discourse/routes/group-reports-show.js","discourse/plugins/discourse-data-explorer/discourse/templates/admin/plugins-explorer.js","discourse/plugins/discourse-data-explorer/discourse/templates/connectors/group-reports-nav-item/nav-item.js","discourse/plugins/discourse-data-explorer/discourse/templates/group-reports-index.js","discourse/plugins/discourse-data-explorer/discourse/templates/group-reports-show.js"],"sourcesContent":["define(\"discourse/plugins/discourse-data-explorer/admin/adapters/query\", [\"exports\", \"admin/adapters/build-plugin\"], function (_exports, _buildPlugin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _buildPlugin.default)(\"explorer\").extend({});\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/code-view\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <pre><code class={{@codeClass}}>{{@value}}</code></pre>\n  */\n  {\n    \"id\": \"hJGo4SJm\",\n    \"block\": \"[[[10,\\\"pre\\\"],[12],[10,\\\"code\\\"],[15,0,[30,1]],[12],[1,[30,2]],[13],[13]],[\\\"@codeClass\\\",\\\"@value\\\"],false,[\\\"pre\\\",\\\"code\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/code-view.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"code-view\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/data-explorer-bar-chart\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"discourse/lib/load-script\", \"discourse-common/utils/decorators\", \"discourse/plugins/discourse-data-explorer/discourse/lib/themeColor\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _loadScript, _decorators, _themeColor, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <canvas\n    {{did-insert this.initChart}}\n    {{on \"change\" this.updateChartData}}\n  ></canvas>\n  */\n  {\n    \"id\": \"Qxy000nV\",\n    \"block\": \"[[[11,\\\"canvas\\\"],[4,[38,1],[[30,0,[\\\"initChart\\\"]]],null],[4,[38,2],[\\\"change\\\",[30,0,[\\\"updateChartData\\\"]]],null],[12],[13]],[],false,[\\\"canvas\\\",\\\"did-insert\\\",\\\"on\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/data-explorer-bar-chart.hbs\",\n    \"isStrictMode\": false\n  });\n  class DataExplorerBarChart extends _component2.default {\n    chart;\n    barsColor = (() => (0, _themeColor.default)(\"--tertiary\"))();\n    barsHoverColor = (() => (0, _themeColor.default)(\"--tertiary-high\"))();\n    gridColor = (() => (0, _themeColor.default)(\"--primary-low\"))();\n    labelsColor = (() => (0, _themeColor.default)(\"--primary-medium\"))();\n    get config() {\n      const data = this.data;\n      const options = this.options;\n      return {\n        type: \"bar\",\n        data,\n        options\n      };\n    }\n    get data() {\n      const labels = this.args.labels;\n      return {\n        labels,\n        datasets: [{\n          label: this.args.datasetName,\n          data: this.args.values,\n          backgroundColor: this.barsColor,\n          hoverBackgroundColor: this.barsHoverColor\n        }]\n      };\n    }\n    get options() {\n      return {\n        scales: {\n          legend: {\n            labels: {\n              fontColor: this.labelsColor\n            }\n          },\n          xAxes: [{\n            gridLines: {\n              color: this.gridColor,\n              zeroLineColor: this.gridColor\n            },\n            ticks: {\n              fontColor: this.labelsColor\n            }\n          }],\n          yAxes: [{\n            gridLines: {\n              color: this.gridColor,\n              zeroLineColor: this.gridColor\n            },\n            ticks: {\n              beginAtZero: true,\n              fontColor: this.labelsColor\n            }\n          }]\n        }\n      };\n    }\n    async initChart(canvas) {\n      await (0, _loadScript.default)(\"/javascripts/Chart.min.js\");\n      const context = canvas.getContext(\"2d\");\n      // eslint-disable-next-line\n      this.chart = new Chart(context, this.config);\n    }\n    static #_ = (() => dt7948.n(this.prototype, \"initChart\", [_decorators.bind]))();\n    updateChartData() {\n      this.chart.data = this.data;\n      this.chart.update();\n    }\n    static #_2 = (() => dt7948.n(this.prototype, \"updateChartData\", [_object.action]))();\n    willDestroy() {\n      super.willDestroy(...arguments);\n      this.chart.destroy();\n    }\n  }\n  _exports.default = DataExplorerBarChart;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DataExplorerBarChart);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/explorer-schema\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/utils\", \"discourse-common/utils/decorators\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _utils, _decorators, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.hideSchema}}\n    <DButton\n      @action={{this.expandSchema}}\n      @icon=\"chevron-left\"\n      class=\"no-text unhide\"\n    />\n  {{else}}\n    <div class=\"schema\">\n      <div class=\"schema-search inline-form full-width\">\n        <input\n          type=\"text\"\n          {{on \"input\" (action \"filterChanged\" value=\"target.value\")}}\n        />\n        <DButton\n          @action={{this.collapseSchema}}\n          @icon=\"chevron-right\"\n          class=\"no-text\"\n        />\n      </div>\n  \n      <div class=\"schema-container\">\n        <ConditionalLoadingSpinner @condition={{this.loading}}>\n          <ul>\n            {{#each this.filteredTables as |table|}}\n              <ExplorerSchema::OneTable @table={{table}} />\n            {{/each}}\n          </ul>\n        </ConditionalLoadingSpinner>\n      </div>\n    </div>\n  {{/if}}\n  */\n  {\n    \"id\": \"pxgFj/Wg\",\n    \"block\": \"[[[41,[30,0,[\\\"hideSchema\\\"]],[[[1,\\\"  \\\"],[8,[39,1],[[24,0,\\\"no-text unhide\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[30,0,[\\\"expandSchema\\\"]],\\\"chevron-left\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"schema\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"schema-search inline-form full-width\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"input\\\"],[24,4,\\\"text\\\"],[4,[38,4],[\\\"input\\\",[28,[37,5],[[30,0],\\\"filterChanged\\\"],[[\\\"value\\\"],[\\\"target.value\\\"]]]],null],[12],[13],[1,\\\"\\\\n      \\\"],[8,[39,1],[[24,0,\\\"no-text\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[30,0,[\\\"collapseSchema\\\"]],\\\"chevron-right\\\"]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,0],[14,0,\\\"schema-container\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,6],null,[[\\\"@condition\\\"],[[30,0,[\\\"loading\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,9],[[28,[37,9],[[30,0,[\\\"filteredTables\\\"]]],null]],null],null,[[[1,\\\"            \\\"],[8,[39,10],null,[[\\\"@table\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"table\\\"],false,[\\\"if\\\",\\\"d-button\\\",\\\"div\\\",\\\"input\\\",\\\"on\\\",\\\"action\\\",\\\"conditional-loading-spinner\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"explorer-schema/one-table\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/explorer-schema.hbs\",\n    \"isStrictMode\": false\n  });\n  class ExplorerSchema extends _component2.default {\n    static #_ = (() => dt7948.g(this.prototype, \"filter\", [_tracking.tracked]))();\n    #filter = (() => (dt7948.i(this, \"filter\"), void 0))();\n    static #_2 = (() => dt7948.g(this.prototype, \"loading\", [_tracking.tracked]))();\n    #loading = (() => (dt7948.i(this, \"loading\"), void 0))();\n    static #_3 = (() => dt7948.g(this.prototype, \"hideSchema\", [_tracking.tracked], function () {\n      return this.args.hideSchema;\n    }))();\n    #hideSchema = (() => (dt7948.i(this, \"hideSchema\"), void 0))();\n    get transformedSchema() {\n      const schema = this.args.schema;\n      for (const key in schema) {\n        if (!schema.hasOwnProperty(key)) {\n          continue;\n        }\n        schema[key].forEach(col => {\n          const notes_components = [];\n          if (col.primary) {\n            notes_components.push(\"primary key\");\n          }\n          if (col.is_nullable) {\n            notes_components.push(\"null\");\n          }\n          if (col.column_default) {\n            notes_components.push(\"default \" + col.column_default);\n          }\n          if (col.fkey_info) {\n            notes_components.push(\"fkey \" + col.fkey_info);\n          }\n          if (col.denormal) {\n            notes_components.push(\"denormal \" + col.denormal);\n          }\n          const notes = notes_components.join(\", \");\n          if (notes) {\n            col.notes = notes;\n          }\n          if (col.enum || col.column_desc) {\n            col.havepopup = true;\n          }\n          col.havetypeinfo = !!(col.notes || col.enum || col.column_desc);\n        });\n      }\n      return schema;\n    }\n    get filteredTables() {\n      let tables = [];\n      let filter = this.filter;\n      try {\n        if (!(0, _utils.isBlank)(this.filter)) {\n          filter = new RegExp(this.filter);\n        }\n      } catch {\n        filter = null;\n      }\n      const haveFilter = !!filter;\n      for (const key in this.transformedSchema) {\n        if (!this.transformedSchema.hasOwnProperty(key)) {\n          continue;\n        }\n        if (!haveFilter) {\n          tables.push({\n            name: key,\n            columns: this.transformedSchema[key],\n            open: false\n          });\n          continue;\n        }\n\n        // Check the table name vs the filter\n        if (filter.source === key || filter.source + \"s\" === key) {\n          tables.unshift({\n            name: key,\n            columns: this.transformedSchema[key],\n            open: haveFilter\n          });\n        } else if (filter.test(key)) {\n          // whole table matches\n          tables.push({\n            name: key,\n            columns: this.transformedSchema[key],\n            open: haveFilter\n          });\n        } else {\n          // filter the columns\n          let filterCols = [];\n          this.transformedSchema[key].forEach(col => {\n            if (filter.source === col.column_name) {\n              filterCols.unshift(col);\n            } else if (filter.test(col.column_name)) {\n              filterCols.push(col);\n            }\n          });\n          if (!(0, _utils.isEmpty)(filterCols)) {\n            tables.push({\n              name: key,\n              columns: filterCols,\n              open: haveFilter\n            });\n          }\n        }\n      }\n      return tables;\n    }\n    updateFilter(value) {\n      this.filter = value;\n      this.loading = false;\n    }\n    static #_4 = (() => dt7948.n(this.prototype, \"updateFilter\", [(0, _decorators.debounce)(500)]))();\n    filterChanged(value) {\n      this.loading = true;\n      this.updateFilter(value);\n    }\n    static #_5 = (() => dt7948.n(this.prototype, \"filterChanged\", [_object.action]))();\n    collapseSchema() {\n      this.hideSchema = true;\n      this.args.updateHideSchema(true);\n    }\n    static #_6 = (() => dt7948.n(this.prototype, \"collapseSchema\", [_object.action]))();\n    expandSchema() {\n      this.hideSchema = false;\n      this.args.updateHideSchema(false);\n    }\n    static #_7 = (() => dt7948.n(this.prototype, \"expandSchema\", [_object.action]))();\n  }\n  _exports.default = ExplorerSchema;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ExplorerSchema);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/explorer-schema/enum-info\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <ol>\n    {{#each this.enuminfo as |enum|}}\n      <li value={{enum.value}}>\n        {{enum.name}}\n      </li>\n    {{/each}}\n  </ol>\n  */\n  {\n    \"id\": \"OSNqp6n+\",\n    \"block\": \"[[[10,\\\"ol\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"enuminfo\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[10,\\\"li\\\"],[15,2,[30,1,[\\\"value\\\"]]],[12],[1,\\\"\\\\n      \\\"],[1,[30,1,[\\\"name\\\"]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[13]],[\\\"enum\\\"],false,[\\\"ol\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/explorer-schema/enum-info.hbs\",\n    \"isStrictMode\": false\n  });\n  class EnumInfo extends _component2.default {\n    get enuminfo() {\n      return Object.entries(this.args.col.enum).map(_ref => {\n        let [value, name] = _ref;\n        return {\n          value,\n          name\n        };\n      });\n    }\n  }\n  _exports.default = EnumInfo;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, EnumInfo);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/explorer-schema/one-table\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"discourse-common/utils/decorators\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _decorators, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <li class=\"schema-table {{this.styles}}\">\n    {{! template-lint-enable no-invalid-interactive }}\n    <div class=\"schema-table-name\" role=\"button\" {{on \"click\" this.toggleOpen}}>\n      {{#if this.open}}\n        {{d-icon \"caret-down\"}}\n      {{else}}\n        {{d-icon \"caret-right\"}}\n      {{/if}}\n      {{@table.name}}\n    </div>\n  \n    <div class=\"schema-table-cols\">\n      {{#if this.open}}\n        <dl>\n          {{#each @table.columns as |col|}}\n            <div>\n              <dt\n                class={{if col.sensitive \"sensitive\"}}\n                title={{if col.sensitive (i18n \"explorer.schema.sensitive\")}}\n              >\n                {{#if col.sensitive}}\n                  {{d-icon \"exclamation-triangle\"}}\n                {{/if}}\n                {{col.column_name}}\n              </dt>\n              <dd>\n                {{col.data_type}}\n                {{#if col.havetypeinfo}}\n                  <br />\n                  {{#if col.havepopup}}\n                    <div class=\"popup-info\">\n                      {{d-icon \"info\"}}\n                      <div class=\"popup\">\n                        {{col.column_desc}}\n                        {{#if col.enum}}\n                          <ExplorerSchema::EnumInfo @col={{col}} />\n                        {{/if}}\n                      </div>\n                    </div>\n                  {{/if}}\n                  <span class=\"schema-typenotes\">\n                    {{col.notes}}\n                  </span>\n                {{/if}}\n              </dd>\n            </div>\n          {{/each}}\n        </dl>\n      {{/if}}\n    </div>\n  </li>\n  */\n  {\n    \"id\": \"SNxGoApb\",\n    \"block\": \"[[[10,\\\"li\\\"],[15,0,[29,[\\\"schema-table \\\",[30,0,[\\\"styles\\\"]]]]],[12],[1,\\\"\\\\n\\\"],[1,\\\"  \\\"],[11,0],[24,0,\\\"schema-table-name\\\"],[24,\\\"role\\\",\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"toggleOpen\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"open\\\"]],[[[1,\\\"      \\\"],[1,[28,[35,4],[\\\"caret-down\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[1,[28,[35,4],[\\\"caret-right\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"],[1,[30,1,[\\\"name\\\"]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"schema-table-cols\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"open\\\"]],[[[1,\\\"      \\\"],[10,\\\"dl\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,1,[\\\"columns\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[10,0],[12],[1,\\\"\\\\n            \\\"],[10,\\\"dt\\\"],[15,0,[52,[30,2,[\\\"sensitive\\\"]],\\\"sensitive\\\"]],[15,\\\"title\\\",[52,[30,2,[\\\"sensitive\\\"]],[28,[37,9],[\\\"explorer.schema.sensitive\\\"],null]]],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"sensitive\\\"]],[[[1,\\\"                \\\"],[1,[28,[35,4],[\\\"exclamation-triangle\\\"],null]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"              \\\"],[1,[30,2,[\\\"column_name\\\"]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,\\\"dd\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[30,2,[\\\"data_type\\\"]]],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"havetypeinfo\\\"]],[[[1,\\\"                \\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"havepopup\\\"]],[[[1,\\\"                  \\\"],[10,0],[14,0,\\\"popup-info\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,4],[\\\"info\\\"],null]],[1,\\\"\\\\n                    \\\"],[10,0],[14,0,\\\"popup\\\"],[12],[1,\\\"\\\\n                      \\\"],[1,[30,2,[\\\"column_desc\\\"]]],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"enum\\\"]],[[[1,\\\"                        \\\"],[8,[39,12],null,[[\\\"@col\\\"],[[30,2]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"                    \\\"],[13],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"                \\\"],[10,1],[14,0,\\\"schema-typenotes\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[30,2,[\\\"notes\\\"]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@table\\\",\\\"col\\\"],false,[\\\"li\\\",\\\"div\\\",\\\"on\\\",\\\"if\\\",\\\"d-icon\\\",\\\"dl\\\",\\\"each\\\",\\\"-track-array\\\",\\\"dt\\\",\\\"i18n\\\",\\\"dd\\\",\\\"br\\\",\\\"explorer-schema/enum-info\\\",\\\"span\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/explorer-schema/one-table.hbs\",\n    \"isStrictMode\": false\n  });\n  class OneTable extends _component2.default {\n    static #_ = (() => dt7948.g(this.prototype, \"open\", [_tracking.tracked], function () {\n      return this.args.table.open;\n    }))();\n    #open = (() => (dt7948.i(this, \"open\"), void 0))();\n    get styles() {\n      return this.open ? \"open\" : \"\";\n    }\n    toggleOpen() {\n      this.open = !this.open;\n    }\n    static #_2 = (() => dt7948.n(this.prototype, \"toggleOpen\", [_decorators.bind]))();\n  }\n  _exports.default = OneTable;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, OneTable);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/modal/query-help\", [\"exports\", \"@ember/template\", \"discourse/components/d-modal\", \"discourse-common/helpers/i18n\", \"@ember/component\", \"@ember/template-factory\", \"@ember/component/template-only\"], function (_exports, _template, _dModal, _i18n, _component, _templateFactory, _templateOnly) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const QueryHelp = (0, _component.setComponentTemplate)((0, _templateFactory.createTemplateFactory)(\n  /*\n    \n    <DModal\n      @title={{i18n \"explorer.help.modal_title\"}}\n      @closeModal={{@closeModal}}\n    >\n      <:body>\n        {{htmlSafe (i18n \"explorer.help.auto_resolution\")}}\n        {{htmlSafe (i18n \"explorer.help.custom_params\")}}\n        {{htmlSafe (i18n \"explorer.help.default_values\")}}\n        {{htmlSafe (i18n \"explorer.help.data_types\")}}\n      </:body>\n    </DModal>\n  \n  */\n  {\n    \"id\": \"fcx+yZBN\",\n    \"block\": \"[[[1,\\\"\\\\n  \\\"],[8,[32,0],null,[[\\\"@title\\\",\\\"@closeModal\\\"],[[28,[32,1],[\\\"explorer.help.modal_title\\\"],null],[30,1]]],[[\\\"body\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[28,[32,2],[[28,[32,1],[\\\"explorer.help.auto_resolution\\\"],null]],null]],[1,\\\"\\\\n      \\\"],[1,[28,[32,2],[[28,[32,1],[\\\"explorer.help.custom_params\\\"],null]],null]],[1,\\\"\\\\n      \\\"],[1,[28,[32,2],[[28,[32,1],[\\\"explorer.help.default_values\\\"],null]],null]],[1,\\\"\\\\n      \\\"],[1,[28,[32,2],[[28,[32,1],[\\\"explorer.help.data_types\\\"],null]],null]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[\\\"@closeModal\\\"],false,[]]\",\n    \"moduleName\": \"/root/prime/srv/discourse/app/app/assets/javascripts/discourse/discourse/plugins/discourse-data-explorer/discourse/components/modal/query-help.js\",\n    \"scope\": () => [_dModal.default, _i18n.default, _template.htmlSafe],\n    \"isStrictMode\": true\n  }), (0, _templateOnly.default)(undefined, \"query-help:QueryHelp\"));\n  var _default = _exports.default = QueryHelp;\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/param-input\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"@ember/string\", \"@ember/utils\", \"discourse/models/category\", \"I18n\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _service, _string, _utils, _category, _I18n, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"param {{if this.valid 'valid' 'invalid'}}\">\n    {{#if (eq this.type \"boolean\")}}\n      {{#if @info.nullable}}\n        <ComboBox\n          @valueAttribute=\"id\"\n          @value={{this.nullableBoolValue}}\n          @nameProperty=\"name\"\n          @content={{this.boolTypes}}\n          @onChange={{this.updateNullableBoolValue}}\n          name={{@info.identifier}}\n        />\n      {{else}}\n        <Input\n          @type=\"checkbox\"\n          @checked={{this.boolvalue}}\n          {{on \"change\" this.updateBoolValue}}\n          name={{@info.identifier}}\n        />\n      {{/if}}\n      <span class=\"param-name\">{{@info.identifier}}</span>\n  \n    {{else if (eq this.type \"int\")}}\n      <Input\n        @type=\"number\"\n        @value={{this.value}}\n        {{on \"change\" this.updateValue}}\n        name={{@info.identifier}}\n      />\n      <span class=\"param-name\">{{@info.identifier}}</span>\n  \n    {{else if (eq this.type \"string\")}}\n      <TextField\n        @value={{this.value}}\n        @type=\"text\"\n        @onChange={{this.updateValue}}\n        name={{@info.identifier}}\n      />\n      <span class=\"param-name\">{{@info.identifier}}</span>\n  \n    {{else if (eq this.type \"user_id\")}}\n      <EmailGroupUserChooser\n        @value={{this.value}}\n        @options={{hash maximum=1}}\n        @onChange={{this.updateValue}}\n        name={{@info.identifier}}\n      />\n      <span class=\"param-name\">{{@info.identifier}}</span>\n  \n    {{else if (eq this.type \"group_list\")}}\n      <GroupChooser\n        @content={{this.allGroups}}\n        @value={{this.value}}\n        @labelProperty=\"name\"\n        @valueProperty=\"name\"\n        @onChange={{this.updateGroupValue}}\n      />\n      <span class=\"param-name\">{{@info.identifier}}</span>\n  \n    {{else if (eq this.type \"user_list\")}}\n      <EmailGroupUserChooser\n        @value={{this.value}}\n        @onChange={{this.updateValue}}\n        name={{@info.identifier}}\n      />\n      <span class=\"param-name\">{{@info.identifier}}</span>\n  \n    {{else}}\n      <TextField\n        @value={{this.value}}\n        @onChange={{this.updateValue}}\n        name={{@info.identifier}}\n      />\n      <span class=\"param-name\">{{@info.identifier}}</span>\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"O3rCJsK/\",\n    \"block\": \"[[[10,0],[15,0,[29,[\\\"param \\\",[52,[30,0,[\\\"valid\\\"]],\\\"valid\\\",\\\"invalid\\\"]]]],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,2],[[30,0,[\\\"type\\\"]],\\\"boolean\\\"],null],[[[41,[30,1,[\\\"nullable\\\"]],[[[1,\\\"      \\\"],[8,[39,3],[[16,3,[30,1,[\\\"identifier\\\"]]]],[[\\\"@valueAttribute\\\",\\\"@value\\\",\\\"@nameProperty\\\",\\\"@content\\\",\\\"@onChange\\\"],[\\\"id\\\",[30,0,[\\\"nullableBoolValue\\\"]],\\\"name\\\",[30,0,[\\\"boolTypes\\\"]],[30,0,[\\\"updateNullableBoolValue\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[8,[39,4],[[16,3,[30,1,[\\\"identifier\\\"]]],[4,[38,5],[\\\"change\\\",[30,0,[\\\"updateBoolValue\\\"]]],null]],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[30,0,[\\\"boolvalue\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"],[10,1],[14,0,\\\"param-name\\\"],[12],[1,[30,1,[\\\"identifier\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,2],[[30,0,[\\\"type\\\"]],\\\"int\\\"],null],[[[1,\\\"    \\\"],[8,[39,4],[[16,3,[30,1,[\\\"identifier\\\"]]],[4,[38,5],[\\\"change\\\",[30,0,[\\\"updateValue\\\"]]],null]],[[\\\"@type\\\",\\\"@value\\\"],[\\\"number\\\",[30,0,[\\\"value\\\"]]]],null],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"param-name\\\"],[12],[1,[30,1,[\\\"identifier\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,2],[[30,0,[\\\"type\\\"]],\\\"string\\\"],null],[[[1,\\\"    \\\"],[8,[39,7],[[16,3,[30,1,[\\\"identifier\\\"]]]],[[\\\"@value\\\",\\\"@type\\\",\\\"@onChange\\\"],[[30,0,[\\\"value\\\"]],\\\"text\\\",[30,0,[\\\"updateValue\\\"]]]],null],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"param-name\\\"],[12],[1,[30,1,[\\\"identifier\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,2],[[30,0,[\\\"type\\\"]],\\\"user_id\\\"],null],[[[1,\\\"    \\\"],[8,[39,8],[[16,3,[30,1,[\\\"identifier\\\"]]]],[[\\\"@value\\\",\\\"@options\\\",\\\"@onChange\\\"],[[30,0,[\\\"value\\\"]],[28,[37,9],null,[[\\\"maximum\\\"],[1]]],[30,0,[\\\"updateValue\\\"]]]],null],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"param-name\\\"],[12],[1,[30,1,[\\\"identifier\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,2],[[30,0,[\\\"type\\\"]],\\\"group_list\\\"],null],[[[1,\\\"    \\\"],[8,[39,10],null,[[\\\"@content\\\",\\\"@value\\\",\\\"@labelProperty\\\",\\\"@valueProperty\\\",\\\"@onChange\\\"],[[30,0,[\\\"allGroups\\\"]],[30,0,[\\\"value\\\"]],\\\"name\\\",\\\"name\\\",[30,0,[\\\"updateGroupValue\\\"]]]],null],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"param-name\\\"],[12],[1,[30,1,[\\\"identifier\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[41,[28,[37,2],[[30,0,[\\\"type\\\"]],\\\"user_list\\\"],null],[[[1,\\\"    \\\"],[8,[39,8],[[16,3,[30,1,[\\\"identifier\\\"]]]],[[\\\"@value\\\",\\\"@onChange\\\"],[[30,0,[\\\"value\\\"]],[30,0,[\\\"updateValue\\\"]]]],null],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"param-name\\\"],[12],[1,[30,1,[\\\"identifier\\\"]]],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[8,[39,7],[[16,3,[30,1,[\\\"identifier\\\"]]]],[[\\\"@value\\\",\\\"@onChange\\\"],[[30,0,[\\\"value\\\"]],[30,0,[\\\"updateValue\\\"]]]],null],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"param-name\\\"],[12],[1,[30,1,[\\\"identifier\\\"]]],[13],[1,\\\"\\\\n  \\\"]],[]]]],[]]]],[]]]],[]]]],[]]]],[]]],[13]],[\\\"@info\\\"],false,[\\\"div\\\",\\\"if\\\",\\\"eq\\\",\\\"combo-box\\\",\\\"input\\\",\\\"on\\\",\\\"span\\\",\\\"text-field\\\",\\\"email-group-user-chooser\\\",\\\"hash\\\",\\\"group-chooser\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/param-input.hbs\",\n    \"isStrictMode\": false\n  });\n  const layoutMap = {\n    int: \"int\",\n    bigint: \"int\",\n    boolean: \"boolean\",\n    string: \"generic\",\n    time: \"generic\",\n    date: \"generic\",\n    datetime: \"generic\",\n    double: \"string\",\n    user_id: \"user_id\",\n    post_id: \"string\",\n    topic_id: \"generic\",\n    category_id: \"generic\",\n    group_id: \"generic\",\n    badge_id: \"generic\",\n    int_list: \"generic\",\n    string_list: \"generic\",\n    user_list: \"user_list\",\n    group_list: \"group_list\"\n  };\n  class ParamInput extends _component2.default {\n    static #_ = (() => dt7948.g(this.prototype, \"site\", [_service.inject]))();\n    #site = (() => (dt7948.i(this, \"site\"), void 0))();\n    static #_2 = (() => dt7948.g(this.prototype, \"value\", [_tracking.tracked]))();\n    #value = (() => (dt7948.i(this, \"value\"), void 0))();\n    static #_3 = (() => dt7948.g(this.prototype, \"boolValue\", [_tracking.tracked]))();\n    #boolValue = (() => (dt7948.i(this, \"boolValue\"), void 0))();\n    static #_4 = (() => dt7948.g(this.prototype, \"nullableBoolValue\", [_tracking.tracked]))();\n    #nullableBoolValue = (() => (dt7948.i(this, \"nullableBoolValue\"), void 0))();\n    boolTypes = (() => [{\n      name: _I18n.default.t(\"explorer.types.bool.true\"),\n      id: \"Y\"\n    }, {\n      name: _I18n.default.t(\"explorer.types.bool.false\"),\n      id: \"N\"\n    }, {\n      name: _I18n.default.t(\"explorer.types.bool.null_\"),\n      id: \"#null\"\n    }])();\n    constructor() {\n      super(...arguments);\n      const identifier = this.args.info.identifier;\n      const initialValues = this.args.initialValues;\n\n      // access parsed params if present to update values to previously ran values\n      if (initialValues && identifier in initialValues) {\n        const initialValue = initialValues[identifier];\n        if (this.type === \"boolean\") {\n          if (this.args.info.nullable) {\n            this.nullableBoolValue = initialValue;\n            this.args.updateParams(this.args.info.identifier, this.nullableBoolValue);\n          } else {\n            this.boolValue = initialValue !== \"false\";\n            this.args.updateParams(this.args.info.identifier, this.boolValue);\n          }\n        } else {\n          this.value = this.args.info.type === \"category_id\" ? this.dasherizeCategoryId(initialValue) : initialValue;\n          this.args.updateParams(this.args.info.identifier, this.value);\n        }\n      } else {\n        // if no parsed params then get and set default values\n        const defaultValue = this.args.info.default;\n        this.value = this.args.info.type === \"category_id\" ? this.dasherizeCategoryId(defaultValue) : defaultValue;\n        this.boolValue = defaultValue !== \"false\";\n        this.nullableBoolValue = defaultValue;\n      }\n    }\n    get type() {\n      const type = this.args.info.type;\n      if ((type === \"time\" || type === \"date\") && !allowsInputTypeTime()) {\n        return \"string\";\n      }\n      return layoutMap[type] || \"generic\";\n    }\n    get valid() {\n      const nullable = this.args.info.nullable;\n      // intentionally use 'this.args' here instead of 'this.type'\n      // to get the original key instead of the translated value from the layoutMap\n      const type = this.args.info.type;\n      let value;\n      if (type === \"boolean\") {\n        value = nullable ? this.nullableBoolValue : this.boolValue;\n      } else {\n        value = this.value;\n      }\n      if ((0, _utils.isEmpty)(value)) {\n        return nullable;\n      }\n      const intVal = parseInt(value, 10);\n      const intValid = !isNaN(intVal) && intVal < 2147483648 && intVal > -2147483649;\n      const isPositiveInt = /^\\d+$/.test(value);\n      switch (type) {\n        case \"int\":\n          return /^-?\\d+$/.test(value) && intValid;\n        case \"bigint\":\n          return /^-?\\d+$/.test(value) && !isNaN(intVal);\n        case \"boolean\":\n          return /^Y|N|#null|true|false/.test(value);\n        case \"double\":\n          return !isNaN(parseFloat(value)) || /^(-?)Inf(inity)?$/i.test(value) || /^(-?)NaN$/i.test(value);\n        case \"int_list\":\n          return value.split(\",\").every(i => /^(-?\\d+|null)$/.test(i.trim()));\n        case \"post_id\":\n          return isPositiveInt || /\\d+\\/\\d+(\\?u=.*)?$/.test(value) || /\\/t\\/[^/]+\\/(\\d+)(\\?u=.*)?/.test(value);\n        case \"topic_id\":\n          return isPositiveInt || /\\/t\\/[^/]+\\/(\\d+)/.test(value);\n        case \"category_id\":\n          if (isPositiveInt) {\n            return !!this.site.categories.find(c => c.id === intVal);\n          } else if (/\\//.test(value)) {\n            const match = /(.*)\\/(.*)/.exec(value);\n            if (!match) {\n              return false;\n            }\n            const result = _category.default.findBySlug((0, _string.dasherize)(match[2]), (0, _string.dasherize)(match[1]));\n            return !!result;\n          } else {\n            return !!_category.default.findBySlug((0, _string.dasherize)(value));\n          }\n        case \"group_id\":\n          const groups = this.site.get(\"groups\");\n          if (isPositiveInt) {\n            return !!groups.find(g => g.id === intVal);\n          } else {\n            return !!groups.find(g => g.name === value);\n          }\n      }\n      return true;\n    }\n    get allGroups() {\n      return this.site.get(\"groups\");\n    }\n    dasherizeCategoryId(value) {\n      const isPositiveInt = /^\\d+$/.test(value);\n      if (!isPositiveInt && value !== (0, _string.dasherize)(value)) {\n        return (0, _string.dasherize)(value);\n      }\n      return value;\n    }\n    updateValue(input) {\n      // handle selectKit inputs as well as traditional inputs\n      const value = input.target ? input.target.value : input;\n      if (value.length) {\n        this.value = this.args.info.type === \"category_id\" ? this.dasherizeCategoryId(value.toString()) : value.toString();\n      } else {\n        this.value = value;\n      }\n      this.args.updateParams(this.args.info.identifier, this.value);\n    }\n    static #_5 = (() => dt7948.n(this.prototype, \"updateValue\", [_object.action]))();\n    updateBoolValue(input) {\n      this.boolValue = input.target.checked;\n      this.args.updateParams(this.args.info.identifier, this.boolValue.toString());\n    }\n    static #_6 = (() => dt7948.n(this.prototype, \"updateBoolValue\", [_object.action]))();\n    updateNullableBoolValue(input) {\n      this.nullableBoolValue = input;\n      this.args.updateParams(this.args.info.identifier, this.nullableBoolValue);\n    }\n    static #_7 = (() => dt7948.n(this.prototype, \"updateNullableBoolValue\", [_object.action]))();\n    updateGroupValue(input) {\n      this.value = input;\n      this.args.updateParams(this.args.info.identifier, this.value.join(\",\"));\n    }\n    static #_8 = (() => dt7948.n(this.prototype, \"updateGroupValue\", [_object.action]))();\n  }\n  _exports.default = ParamInput;\n  function allowsInputTypeTime() {\n    try {\n      const input = document.createElement(\"input\");\n      input.attributes.type = \"time\";\n      input.attributes.type = \"date\";\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ParamInput);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/param-inputs-wrapper\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @hasParams}}\n    <div class=\"query-params\">\n      {{#each @paramInfo as |pinfo|}}\n        <ParamInput\n          @params={{@params}}\n          @initialValues={{@initialValues}}\n          @info={{pinfo}}\n          @updateParams={{@updateParams}}\n        />\n      {{/each}}\n    </div>\n  {{/if}}\n  */\n  {\n    \"id\": \"agQ4BrtG\",\n    \"block\": \"[[[41,[30,1],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"query-params\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[30,2]],null]],null],null,[[[1,\\\"      \\\"],[8,[39,4],null,[[\\\"@params\\\",\\\"@initialValues\\\",\\\"@info\\\",\\\"@updateParams\\\"],[[30,4],[30,5],[30,3],[30,6]]],null],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@hasParams\\\",\\\"@paramInfo\\\",\\\"pinfo\\\",\\\"@params\\\",\\\"@initialValues\\\",\\\"@updateParams\\\"],false,[\\\"if\\\",\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"param-input\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/param-inputs-wrapper.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"param-inputs-wrapper\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/query-result\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/runloop\", \"@ember/service\", \"@ember/string\", \"discourse/lib/ajax\", \"discourse/models/badge\", \"discourse/models/category\", \"discourse-common/lib/get-url\", \"I18n\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/badge\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/category\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/group\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/html\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/json\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/post\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/reltime\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/text\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/topic\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/url\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/user\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _runloop, _service, _string, _ajax, _badge, _category, _getUrl, _I18n, _badge2, _category2, _group, _html, _json, _post, _reltime, _text, _topic, _url, _user, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <article>\n    <header class=\"result-header\">\n      <div class=\"result-info\">\n        <DButton\n          @action={{this.downloadResultJson}}\n          @icon=\"download\"\n          @label=\"explorer.download_json\"\n        />\n  \n        <DButton\n          @action={{this.downloadResultCsv}}\n          @icon=\"download\"\n          @label=\"explorer.download_csv\"\n        />\n  \n        {{#if this.canShowChart}}\n          {{#if this.chartDisplayed}}\n            <DButton\n              @action={{this.hideChart}}\n              @icon=\"table\"\n              @label=\"explorer.show_table\"\n            />\n          {{else}}\n            <DButton\n              @action={{this.showChart}}\n              @icon=\"chart-bar\"\n              @label=\"explorer.show_graph\"\n            />\n          {{/if}}\n        {{/if}}\n      </div>\n  \n      <div class=\"result-about\">\n        {{this.resultCount}}\n        {{this.duration}}\n      </div>\n  \n      <br />\n  \n      {{~#if this.explainText}}\n        <pre class=\"result-explain\">\n          <code>\n            {{~this.explainText}}\n          </code>\n        </pre>\n      {{~/if}}\n  \n      <br />\n    </header>\n  \n    <section>\n      {{#if this.chartDisplayed}}\n        <DataExplorerBarChart\n          @labels={{this.chartLabels}}\n          @values={{this.chartValues}}\n          @datasetName={{this.chartDatasetName}}\n        />\n      {{else}}\n        <table>\n          <thead>\n            <tr class=\"headers\">\n              {{#each this.columnNames as |col|}}\n                <th>{{col}}</th>\n              {{/each}}\n            </tr>\n          </thead>\n          <tbody>\n            {{#each this.rows as |row|}}\n              <QueryRowContent\n                @row={{row}}\n                @columnComponents={{this.columnComponents}}\n                @lookupUser={{this.lookupUser}}\n                @lookupBadge={{this.lookupBadge}}\n                @lookupPost={{this.lookupPost}}\n                @lookupTopic={{this.lookupTopic}}\n                @lookupGroup={{this.lookupGroup}}\n                @lookupCategory={{this.lookupCategory}}\n                @transformedPostTable={{this.transformedPostTable}}\n                @transformedBadgeTable={{this.transformedBadgeTable}}\n                @transformedUserTable={{this.transformedUserTable}}\n                @transformedGroupTable={{this.transformedGroupTable}}\n                @transformedTopicTable={{this.transformedTopicTable}}\n                @site={{this.site}}\n              />\n            {{/each}}\n          </tbody>\n        </table>\n      {{/if}}\n    </section>\n  </article>\n  */\n  {\n    \"id\": \"meifyjJn\",\n    \"block\": \"[[[10,\\\"article\\\"],[12],[1,\\\"\\\\n  \\\"],[10,\\\"header\\\"],[14,0,\\\"result-header\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"result-info\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,3],null,[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\"],[[30,0,[\\\"downloadResultJson\\\"]],\\\"download\\\",\\\"explorer.download_json\\\"]],null],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,3],null,[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\"],[[30,0,[\\\"downloadResultCsv\\\"]],\\\"download\\\",\\\"explorer.download_csv\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"canShowChart\\\"]],[[[41,[30,0,[\\\"chartDisplayed\\\"]],[[[1,\\\"          \\\"],[8,[39,3],null,[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\"],[[30,0,[\\\"hideChart\\\"]],\\\"table\\\",\\\"explorer.show_table\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[8,[39,3],null,[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\"],[[30,0,[\\\"showChart\\\"]],\\\"chart-bar\\\",\\\"explorer.show_graph\\\"]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,0],[14,0,\\\"result-about\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[30,0,[\\\"resultCount\\\"]]],[1,\\\"\\\\n      \\\"],[1,[30,0,[\\\"duration\\\"]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"br\\\"],[12],[13],[41,[30,0,[\\\"explainText\\\"]],[[[1,\\\"      \\\"],[10,\\\"pre\\\"],[14,0,\\\"result-explain\\\"],[12],[1,\\\"        \\\"],[10,\\\"code\\\"],[12],[1,[30,0,[\\\"explainText\\\"]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13]],[]],null],[1,\\\"\\\\n    \\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,\\\"section\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"chartDisplayed\\\"]],[[[1,\\\"      \\\"],[8,[39,9],null,[[\\\"@labels\\\",\\\"@values\\\",\\\"@datasetName\\\"],[[30,0,[\\\"chartLabels\\\"]],[30,0,[\\\"chartValues\\\"]],[30,0,[\\\"chartDatasetName\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[10,\\\"table\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"tr\\\"],[14,0,\\\"headers\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,14],[[28,[37,14],[[30,0,[\\\"columnNames\\\"]]],null]],null],null,[[[1,\\\"              \\\"],[10,\\\"th\\\"],[12],[1,[30,1]],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,14],[[28,[37,14],[[30,0,[\\\"rows\\\"]]],null]],null],null,[[[1,\\\"            \\\"],[8,[39,17],null,[[\\\"@row\\\",\\\"@columnComponents\\\",\\\"@lookupUser\\\",\\\"@lookupBadge\\\",\\\"@lookupPost\\\",\\\"@lookupTopic\\\",\\\"@lookupGroup\\\",\\\"@lookupCategory\\\",\\\"@transformedPostTable\\\",\\\"@transformedBadgeTable\\\",\\\"@transformedUserTable\\\",\\\"@transformedGroupTable\\\",\\\"@transformedTopicTable\\\",\\\"@site\\\"],[[30,2],[30,0,[\\\"columnComponents\\\"]],[30,0,[\\\"lookupUser\\\"]],[30,0,[\\\"lookupBadge\\\"]],[30,0,[\\\"lookupPost\\\"]],[30,0,[\\\"lookupTopic\\\"]],[30,0,[\\\"lookupGroup\\\"]],[30,0,[\\\"lookupCategory\\\"]],[30,0,[\\\"transformedPostTable\\\"]],[30,0,[\\\"transformedBadgeTable\\\"]],[30,0,[\\\"transformedUserTable\\\"]],[30,0,[\\\"transformedGroupTable\\\"]],[30,0,[\\\"transformedTopicTable\\\"]],[30,0,[\\\"site\\\"]]]],null],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\"        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"col\\\",\\\"row\\\"],false,[\\\"article\\\",\\\"header\\\",\\\"div\\\",\\\"d-button\\\",\\\"if\\\",\\\"br\\\",\\\"pre\\\",\\\"code\\\",\\\"section\\\",\\\"data-explorer-bar-chart\\\",\\\"table\\\",\\\"thead\\\",\\\"tr\\\",\\\"each\\\",\\\"-track-array\\\",\\\"th\\\",\\\"tbody\\\",\\\"query-row-content\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/query-result.hbs\",\n    \"isStrictMode\": false\n  });\n  const VIEW_COMPONENTS = {\n    topic: _topic.default,\n    text: _text.default,\n    post: _post.default,\n    reltime: _reltime.default,\n    badge: _badge2.default,\n    url: _url.default,\n    user: _user.default,\n    group: _group.default,\n    html: _html.default,\n    json: _json.default,\n    category: _category2.default\n  };\n  class QueryResult extends _component2.default {\n    static #_ = (() => dt7948.g(this.prototype, \"site\", [_service.inject]))();\n    #site = (() => (dt7948.i(this, \"site\"), void 0))();\n    static #_2 = (() => dt7948.g(this.prototype, \"chartDisplayed\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #chartDisplayed = (() => (dt7948.i(this, \"chartDisplayed\"), void 0))();\n    get colRender() {\n      return this.args.content.colrender || {};\n    }\n    get rows() {\n      return this.args.content.rows;\n    }\n    get columns() {\n      return this.args.content.columns;\n    }\n    get params() {\n      return this.args.content.params;\n    }\n    get explainText() {\n      return this.args.content.explain;\n    }\n    get chartDatasetName() {\n      return this.columnNames[1];\n    }\n    get columnNames() {\n      if (!this.columns) {\n        return [];\n      }\n      return this.columns.map(colName => {\n        if (colName.endsWith(\"_id\")) {\n          return colName.slice(0, -3);\n        }\n        const dIdx = colName.indexOf(\"$\");\n        if (dIdx >= 0) {\n          return colName.substring(dIdx + 1);\n        }\n        return colName;\n      });\n    }\n    get columnComponents() {\n      if (!this.columns) {\n        return [];\n      }\n      return this.columns.map((_, idx) => {\n        let type = \"text\";\n        if (this.colRender[idx]) {\n          type = this.colRender[idx];\n        }\n        return {\n          name: type,\n          component: VIEW_COMPONENTS[type]\n        };\n      });\n    }\n    get chartValues() {\n      // return an array with the second value of this.row\n      return this.rows.mapBy(1);\n    }\n    get colCount() {\n      return this.columns.length;\n    }\n    get resultCount() {\n      const count = this.args.content.result_count;\n      if (count === this.args.content.default_limit) {\n        return _I18n.default.t(\"explorer.max_result_count\", {\n          count\n        });\n      } else {\n        return _I18n.default.t(\"explorer.result_count\", {\n          count\n        });\n      }\n    }\n    get duration() {\n      return _I18n.default.t(\"explorer.run_time\", {\n        value: _I18n.default.toNumber(this.args.content.duration, {\n          precision: 1\n        })\n      });\n    }\n    get parameterAry() {\n      let arr = [];\n      for (let key in this.params) {\n        if (this.params.hasOwnProperty(key)) {\n          arr.push({\n            key,\n            value: this.params[key]\n          });\n        }\n      }\n      return arr;\n    }\n    get transformedUserTable() {\n      return transformedRelTable(this.args.content.relations.user);\n    }\n    get transformedBadgeTable() {\n      return transformedRelTable(this.args.content.relations.badge, _badge.default);\n    }\n    get transformedPostTable() {\n      return transformedRelTable(this.args.content.relations.post);\n    }\n    get transformedTopicTable() {\n      return transformedRelTable(this.args.content.relations.topic);\n    }\n    get transformedGroupTable() {\n      return transformedRelTable(this.site.groups);\n    }\n    get canShowChart() {\n      const hasTwoColumns = this.colCount === 2;\n      const secondColumnContainsNumber = this.resultCount[0] > 0 && typeof this.rows[0][1] === \"number\";\n      const secondColumnContainsId = this.colRender[1];\n      return hasTwoColumns && secondColumnContainsNumber && !secondColumnContainsId;\n    }\n    get chartLabels() {\n      const labelSelectors = {\n        user: user => user.username,\n        badge: badge => badge.name,\n        topic: topic => topic.title,\n        group: group => group.name,\n        category: category => category.name\n      };\n      const relationName = this.colRender[0];\n      if (relationName) {\n        const lookupFunc = this[`lookup${(0, _string.capitalize)(relationName)}`];\n        const labelSelector = labelSelectors[relationName];\n        if (lookupFunc && labelSelector) {\n          return this.rows.map(r => {\n            const relation = lookupFunc.call(this, r[0]);\n            const label = labelSelector(relation);\n            return this._cutChartLabel(label);\n          });\n        }\n      }\n      return this.rows.map(r => this._cutChartLabel(r[0]));\n    }\n    lookupUser(id) {\n      return this.transformedUserTable[id];\n    }\n    lookupBadge(id) {\n      return this.transformedBadgeTable[id];\n    }\n    lookupPost(id) {\n      return this.transformedPostTable[id];\n    }\n    lookupTopic(id) {\n      return this.transformedTopicTable[id];\n    }\n    lookupGroup(id) {\n      return this.transformedGroupTable[id];\n    }\n    lookupCategory(id) {\n      return _category.default.findById(id);\n    }\n    _cutChartLabel(label) {\n      const labelString = label.toString();\n      if (labelString.length > 25) {\n        return `${labelString.substring(0, 25)}...`;\n      } else {\n        return labelString;\n      }\n    }\n    downloadResultJson() {\n      this._downloadResult(\"json\");\n    }\n    static #_3 = (() => dt7948.n(this.prototype, \"downloadResultJson\", [_object.action]))();\n    downloadResultCsv() {\n      this._downloadResult(\"csv\");\n    }\n    static #_4 = (() => dt7948.n(this.prototype, \"downloadResultCsv\", [_object.action]))();\n    showChart() {\n      this.chartDisplayed = true;\n    }\n    static #_5 = (() => dt7948.n(this.prototype, \"showChart\", [_object.action]))();\n    hideChart() {\n      this.chartDisplayed = false;\n    }\n    static #_6 = (() => dt7948.n(this.prototype, \"hideChart\", [_object.action]))();\n    _download_url() {\n      return this.args.group ? `/g/${this.args.group.name}/reports/` : \"/admin/plugins/explorer/queries/\";\n    }\n    _downloadResult(format) {\n      // Create a frame to submit the form in (?)\n      // to avoid leaving an about:blank behind\n      let windowName = randomIdShort();\n      const newWindowContents = \"<style>body{font-size:36px;display:flex;justify-content:center;align-items:center;}</style><body>Click anywhere to close this window once the download finishes.<script>window.onclick=function(){window.close()};</script>\";\n      window.open(\"data:text/html;base64,\" + btoa(newWindowContents), windowName);\n      let form = document.createElement(\"form\");\n      form.setAttribute(\"id\", \"query-download-result\");\n      form.setAttribute(\"method\", \"post\");\n      form.setAttribute(\"action\", (0, _getUrl.default)(this._download_url() + this.args.query.id + \"/run.\" + format + \"?download=1\"));\n      form.setAttribute(\"target\", windowName);\n      form.setAttribute(\"style\", \"display:none;\");\n      function addInput(name, value) {\n        let field;\n        field = document.createElement(\"input\");\n        field.setAttribute(\"name\", name);\n        field.setAttribute(\"value\", value);\n        form.appendChild(field);\n      }\n      addInput(\"params\", JSON.stringify(this.params));\n      addInput(\"explain\", this.explainText);\n      addInput(\"limit\", \"1000000\");\n      (0, _ajax.ajax)(\"/session/csrf.json\").then(csrf => {\n        addInput(\"authenticity_token\", csrf.csrf);\n        document.body.appendChild(form);\n        form.submit();\n        (0, _runloop.schedule)(\"afterRender\", () => document.body.removeChild(form));\n      });\n    }\n  }\n  _exports.default = QueryResult;\n  function randomIdShort() {\n    return \"xxxxxxxx\".replace(/[xy]/g, () => {\n      /*eslint-disable*/\n      return (Math.random() * 16 | 0).toString(16);\n      /*eslint-enable*/\n    });\n  }\n  function transformedRelTable(table, modelClass) {\n    const result = {};\n    table.forEach(item => {\n      if (modelClass) {\n        result[item.id] = modelClass.create(item);\n      } else {\n        result[item.id] = item;\n      }\n    });\n    return result;\n  }\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QueryResult);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/query-results-wrapper\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @results}}\n    <div class=\"query-results\">\n      {{#if @showResults}}\n        <QueryResult @query={{@query}} @content={{@results}} />\n      {{else}}\n        {{#each @results.errors as |err|}}\n          <pre class=\"query-error\"><code>{{~err}}</code></pre>\n        {{/each}}\n      {{/if}}\n    </div>\n  {{/if}}\n  */\n  {\n    \"id\": \"KH/8vEG1\",\n    \"block\": \"[[[41,[30,1],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"query-results\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\"      \\\"],[8,[39,2],null,[[\\\"@query\\\",\\\"@content\\\"],[[30,3],[30,1]]],null],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,4],[[28,[37,4],[[30,1,[\\\"errors\\\"]]],null]],null],null,[[[1,\\\"        \\\"],[10,\\\"pre\\\"],[14,0,\\\"query-error\\\"],[12],[10,\\\"code\\\"],[12],[1,[30,4]],[13],[13],[1,\\\"\\\\n\\\"]],[4]],null]],[]]],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@results\\\",\\\"@showResults\\\",\\\"@query\\\",\\\"err\\\"],false,[\\\"if\\\",\\\"div\\\",\\\"query-result\\\",\\\"each\\\",\\\"-track-array\\\",\\\"pre\\\",\\\"code\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/query-results-wrapper.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"query-results-wrapper\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/query-row-content\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/string\", \"discourse/lib/utilities\", \"discourse-common/lib/get-url\", \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/text\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _string, _utilities, _getUrl, _text, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <tr>\n    {{#each this.results as |result|}}\n      <td>\n        <result.component\n          @ctx={{result.ctx}}\n          @params={{result.params}}\n          @textValue={{result.textValue}}\n        />\n      </td>\n    {{/each}}\n  </tr>\n  */\n  {\n    \"id\": \"Rlie1S6r\",\n    \"block\": \"[[[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"results\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[30,1,[\\\"component\\\"]],null,[[\\\"@ctx\\\",\\\"@params\\\",\\\"@textValue\\\"],[[30,1,[\\\"ctx\\\"]],[30,1,[\\\"params\\\"]],[30,1,[\\\"textValue\\\"]]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[13]],[\\\"result\\\"],false,[\\\"tr\\\",\\\"each\\\",\\\"-track-array\\\",\\\"td\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/query-row-content.hbs\",\n    \"isStrictMode\": false\n  });\n  class QueryRowContent extends _component2.default {\n    get results() {\n      return this.args.columnComponents.map((t, idx) => {\n        const value = this.args.row[idx],\n          id = parseInt(value, 10);\n        const ctx = {\n          value,\n          id,\n          baseuri: (0, _getUrl.default)(\"\")\n        };\n        if (this.args.row[idx] === null) {\n          return {\n            component: _text.default,\n            textValue: \"NULL\"\n          };\n        } else if (t.name === \"text\") {\n          return {\n            component: _text.default,\n            textValue: (0, _utilities.escapeExpression)(this.args.row[idx].toString())\n          };\n        }\n        const lookupFunc = this.args[`lookup${(0, _string.capitalize)(t.name)}`];\n        if (lookupFunc) {\n          ctx[t.name] = lookupFunc.call(this.args, id);\n        }\n        if (t.name === \"url\") {\n          let [url, name] = guessUrl(value);\n          ctx[\"href\"] = url;\n          ctx[\"target\"] = name;\n        }\n        try {\n          return {\n            component: t.component || _text.default,\n            ctx\n          };\n        } catch (e) {\n          return \"error\";\n        }\n      });\n    }\n    static #_ = (() => dt7948.n(this.prototype, \"results\", [_tracking.cached]))();\n  }\n  _exports.default = QueryRowContent;\n  function guessUrl(t) {\n    let [dest, name] = [t, t];\n    const split = t.split(/,(.+)/);\n    if (split.length > 1) {\n      name = split[0];\n      dest = split[1];\n    }\n    return [dest, name];\n  }\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, QueryRowContent);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/badge\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template\", \"@ember/utils\", \"discourse-common/lib/icon-library\", \"@ember/template-factory\"], function (_exports, _component, _component2, _template, _utils, _iconLibrary, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <a\n    href=\"{{@ctx.baseuri}}/badges/{{@ctx.badge.id}}/{{@ctx.badge.name}}\"\n    class=\"user-badge {{@ctx.badge.badgeTypeClassName}}\"\n    title={{@ctx.badge.display_name}}\n    data-badge-name={{@ctx.badge.name}}\n  >\n    {{this.iconOrImageReplacement}}\n    <span class=\"badge-display-name\">{{@ctx.badge.display_name}}</span>\n  </a>\n  */\n  {\n    \"id\": \"dHVEUMu4\",\n    \"block\": \"[[[10,3],[15,6,[29,[[30,1,[\\\"baseuri\\\"]],\\\"/badges/\\\",[30,1,[\\\"badge\\\",\\\"id\\\"]],\\\"/\\\",[30,1,[\\\"badge\\\",\\\"name\\\"]]]]],[15,0,[29,[\\\"user-badge \\\",[30,1,[\\\"badge\\\",\\\"badgeTypeClassName\\\"]]]]],[15,\\\"title\\\",[30,1,[\\\"badge\\\",\\\"display_name\\\"]]],[15,\\\"data-badge-name\\\",[30,1,[\\\"badge\\\",\\\"name\\\"]]],[12],[1,\\\"\\\\n  \\\"],[1,[30,0,[\\\"iconOrImageReplacement\\\"]]],[1,\\\"\\\\n  \\\"],[10,1],[14,0,\\\"badge-display-name\\\"],[12],[1,[30,1,[\\\"badge\\\",\\\"display_name\\\"]]],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@ctx\\\"],false,[\\\"a\\\",\\\"span\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/badge.hbs\",\n    \"isStrictMode\": false\n  });\n  class Badge extends _component2.default {\n    get iconOrImageReplacement() {\n      if ((0, _utils.isEmpty)(this.args.ctx.badge.icon)) {\n        return \"\";\n      }\n      if (this.args.ctx.badge.icon.indexOf(\"fa-\") > -1) {\n        const icon = (0, _iconLibrary.iconHTML)((0, _iconLibrary.convertIconClass)(this.args.ctx.badge.icon));\n        return (0, _template.htmlSafe)(icon);\n      } else {\n        return (0, _template.htmlSafe)(\"<img src='\" + this.args.ctx.badge.icon + \"'>\");\n      }\n    }\n  }\n  _exports.default = Badge;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, Badge);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/category\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"discourse/helpers/category-link\", \"@ember/template-factory\"], function (_exports, _component, _component2, _categoryLink, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @ctx.category}}\n    {{this.categoryBadgeReplacement}}\n  {{else}}\n    <a href=\"{{@ctx.baseuri}}/t/{{@ctx.id}}\">{{@ctx.id}}</a>\n  {{/if}}\n  */\n  {\n    \"id\": \"ymkquNEo\",\n    \"block\": \"[[[41,[30,1,[\\\"category\\\"]],[[[1,\\\"  \\\"],[1,[30,0,[\\\"categoryBadgeReplacement\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[10,3],[15,6,[29,[[30,1,[\\\"baseuri\\\"]],\\\"/t/\\\",[30,1,[\\\"id\\\"]]]]],[12],[1,[30,1,[\\\"id\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@ctx\\\"],false,[\\\"if\\\",\\\"a\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/category.hbs\",\n    \"isStrictMode\": false\n  });\n  class Category extends _component2.default {\n    get categoryBadgeReplacement() {\n      return (0, _categoryLink.categoryLinkHTML)(this.args.ctx.category, {\n        allowUncategorized: true\n      });\n    }\n  }\n  _exports.default = Category;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, Category);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/group\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @ctx.group}}\n    <a href=\"{{@ctx.baseuri}}/groups/{{@ctx.group.name}}\">{{@ctx.group.name}}</a>\n  {{else}}\n    {{@ctx.id}}\n  {{/if}}\n  */\n  {\n    \"id\": \"T6BTDq6h\",\n    \"block\": \"[[[41,[30,1,[\\\"group\\\"]],[[[1,\\\"  \\\"],[10,3],[15,6,[29,[[30,1,[\\\"baseuri\\\"]],\\\"/groups/\\\",[30,1,[\\\"group\\\",\\\"name\\\"]]]]],[12],[1,[30,1,[\\\"group\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[1,[30,1,[\\\"id\\\"]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@ctx\\\"],false,[\\\"if\\\",\\\"a\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/group.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"group\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/html\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{html-safe @ctx.value}}\n  */\n  {\n    \"id\": \"i0ad8qW6\",\n    \"block\": \"[[[1,[28,[35,0],[[30,1,[\\\"value\\\"]]],null]]],[\\\"@ctx\\\"],false,[\\\"html-safe\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/html.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"html\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/json\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"discourse/components/modal/fullscreen-code\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _service, _fullscreenCode, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"result-json\">\n    <div class=\"result-json-value\">{{@ctx.value}}</div>\n    <DButton\n      class=\"result-json-button\"\n      @action={{action \"viewJson\"}}\n      @icon=\"ellipsis-h\"\n      @title=\"explorer.view_json\"\n    />\n  </div>\n  */\n  {\n    \"id\": \"R07LEyIp\",\n    \"block\": \"[[[10,0],[14,0,\\\"result-json\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"result-json-value\\\"],[12],[1,[30,1,[\\\"value\\\"]]],[13],[1,\\\"\\\\n  \\\"],[8,[39,1],[[24,0,\\\"result-json-button\\\"]],[[\\\"@action\\\",\\\"@icon\\\",\\\"@title\\\"],[[28,[37,2],[[30,0],\\\"viewJson\\\"],null],\\\"ellipsis-h\\\",\\\"explorer.view_json\\\"]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@ctx\\\"],false,[\\\"div\\\",\\\"d-button\\\",\\\"action\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/json.hbs\",\n    \"isStrictMode\": false\n  });\n  class Json extends _component2.default {\n    static #_ = (() => dt7948.g(this.prototype, \"dialog\", [_service.inject]))();\n    #dialog = (() => (dt7948.i(this, \"dialog\"), void 0))();\n    static #_2 = (() => dt7948.g(this.prototype, \"modal\", [_service.inject]))();\n    #modal = (() => (dt7948.i(this, \"modal\"), void 0))();\n    get parsedJson() {\n      try {\n        return JSON.parse(this.args.ctx.value);\n      } catch {\n        return null;\n      }\n    }\n    static #_3 = (() => dt7948.n(this.prototype, \"parsedJson\", [_tracking.cached]))();\n    viewJson() {\n      this.modal.show(_fullscreenCode.default, {\n        model: {\n          code: this.parsedJson ? JSON.stringify(this.parsedJson, null, 2) : this.args.ctx.value,\n          codeClasses: \"\"\n        }\n      });\n    }\n    static #_4 = (() => dt7948.n(this.prototype, \"viewJson\", [_object.action]))();\n  }\n  _exports.default = Json;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, Json);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/post\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @ctx.post}}\n    <aside\n      class=\"quote\"\n      data-post={{@ctx.post.post_number}}\n      data-topic={{@ctx.post.topic_id}}\n    >\n      <div class=\"title\">\n        <div class=\"quote-controls\">\n          {{! template-lint-disable no-invalid-link-text }}\n          <a\n            href=\"/t/via-quote/{{@ctx.post.topic_id}}/{{@ctx.post.post_number}}\"\n            title=\"go to the quoted post\"\n            class=\"quote-other-topic\"\n          >\n          </a>\n        </div>\n  \n        <a\n          class=\"result-post-link\"\n          href=\"/t/{{@ctx.post.topic_id}}/{{@ctx.post.post_number}}\"\n        >\n          {{avatar @ctx.post imageSize=\"tiny\"}}{{@ctx.post.username}}:\n        </a>\n      </div>\n  \n      <blockquote>\n        <p>\n          {{html-safe @ctx.post.excerpt}}\n        </p>\n      </blockquote>\n    </aside>\n  {{else}}\n    {{@ctx.id}}\n  {{/if}}\n  */\n  {\n    \"id\": \"NSV9JAcl\",\n    \"block\": \"[[[41,[30,1,[\\\"post\\\"]],[[[1,\\\"  \\\"],[10,\\\"aside\\\"],[14,0,\\\"quote\\\"],[15,\\\"data-post\\\",[30,1,[\\\"post\\\",\\\"post_number\\\"]]],[15,\\\"data-topic\\\",[30,1,[\\\"post\\\",\\\"topic_id\\\"]]],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"title\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"quote-controls\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\"        \\\"],[10,3],[15,6,[29,[\\\"/t/via-quote/\\\",[30,1,[\\\"post\\\",\\\"topic_id\\\"]],\\\"/\\\",[30,1,[\\\"post\\\",\\\"post_number\\\"]]]]],[14,\\\"title\\\",\\\"go to the quoted post\\\"],[14,0,\\\"quote-other-topic\\\"],[12],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,3],[14,0,\\\"result-post-link\\\"],[15,6,[29,[\\\"/t/\\\",[30,1,[\\\"post\\\",\\\"topic_id\\\"]],\\\"/\\\",[30,1,[\\\"post\\\",\\\"post_number\\\"]]]]],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[[30,1,[\\\"post\\\"]]],[[\\\"imageSize\\\"],[\\\"tiny\\\"]]]],[1,[30,1,[\\\"post\\\",\\\"username\\\"]]],[1,\\\":\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"blockquote\\\"],[12],[1,\\\"\\\\n      \\\"],[10,2],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,7],[[30,1,[\\\"post\\\",\\\"excerpt\\\"]]],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[1,[30,1,[\\\"id\\\"]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@ctx\\\"],false,[\\\"if\\\",\\\"aside\\\",\\\"div\\\",\\\"a\\\",\\\"avatar\\\",\\\"blockquote\\\",\\\"p\\\",\\\"html-safe\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/post.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"post\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/reltime\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template\", \"discourse/lib/formatter\", \"@ember/template-factory\"], function (_exports, _component, _component2, _template, _formatter, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{this.boundDateReplacement}}\n  */\n  {\n    \"id\": \"Qf3v0/KO\",\n    \"block\": \"[[[1,[30,0,[\\\"boundDateReplacement\\\"]]]],[],false,[]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/reltime.hbs\",\n    \"isStrictMode\": false\n  });\n  class Reltime extends _component2.default {\n    get boundDateReplacement() {\n      return (0, _template.htmlSafe)((0, _formatter.autoUpdatingRelativeAge)(new Date(this.args.ctx.value), {\n        title: true\n      }));\n    }\n  }\n  _exports.default = Reltime;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, Reltime);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/text\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{@textValue}}\n  */\n  {\n    \"id\": \"nlXzG5uv\",\n    \"block\": \"[[[1,[30,1]]],[\\\"@textValue\\\"],false,[]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/text.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"text\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/topic\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @ctx.topic}}\n    <a href=\"{{@ctx.baseuri}}/t/{{@ctx.topic.slug}}/{{@ctx.topic.id}}\">\n      {{html-safe @ctx.topic.fancy_title}}\n    </a>\n    ({{@ctx.topic.posts_count}})\n  {{else}}\n    <a href=\"{{@ctx.baseuri}}/t/{{@ctx.id}}\">{{@ctx.id}}</a>\n  {{/if}}\n  */\n  {\n    \"id\": \"qH65FsyS\",\n    \"block\": \"[[[41,[30,1,[\\\"topic\\\"]],[[[1,\\\"  \\\"],[10,3],[15,6,[29,[[30,1,[\\\"baseuri\\\"]],\\\"/t/\\\",[30,1,[\\\"topic\\\",\\\"slug\\\"]],\\\"/\\\",[30,1,[\\\"topic\\\",\\\"id\\\"]]]]],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,2],[[30,1,[\\\"topic\\\",\\\"fancy_title\\\"]]],null]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  (\\\"],[1,[30,1,[\\\"topic\\\",\\\"posts_count\\\"]]],[1,\\\")\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[10,3],[15,6,[29,[[30,1,[\\\"baseuri\\\"]],\\\"/t/\\\",[30,1,[\\\"id\\\"]]]]],[12],[1,[30,1,[\\\"id\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@ctx\\\"],false,[\\\"if\\\",\\\"a\\\",\\\"html-safe\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/topic.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"topic\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/url\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <a href={{@ctx.href}}>{{@ctx.target}}</a>\n  */\n  {\n    \"id\": \"hXN19bWH\",\n    \"block\": \"[[[10,3],[15,6,[30,1,[\\\"href\\\"]]],[12],[1,[30,1,[\\\"target\\\"]]],[13]],[\\\"@ctx\\\"],false,[\\\"a\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/url.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"url\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/result-types/user\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @ctx.user}}\n    <a\n      href=\"{{@ctx.baseuri}}/u/{{@ctx.user.username}}/activity\"\n      data-user-card={{@ctx.user.username}}\n    >\n      {{avatar @ctx.user imageSize=\"tiny\"}}\n      {{@ctx.user.username}}\n    </a>\n  {{else}}\n    {{@ctx.id}}\n  {{/if}}\n  */\n  {\n    \"id\": \"NUfLDSc5\",\n    \"block\": \"[[[41,[30,1,[\\\"user\\\"]],[[[1,\\\"  \\\"],[10,3],[15,6,[29,[[30,1,[\\\"baseuri\\\"]],\\\"/u/\\\",[30,1,[\\\"user\\\",\\\"username\\\"]],\\\"/activity\\\"]]],[15,\\\"data-user-card\\\",[30,1,[\\\"user\\\",\\\"username\\\"]]],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,2],[[30,1,[\\\"user\\\"]]],[[\\\"imageSize\\\"],[\\\"tiny\\\"]]]],[1,\\\"\\\\n    \\\"],[1,[30,1,[\\\"user\\\",\\\"username\\\"]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[1,[30,1,[\\\"id\\\"]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@ctx\\\"],false,[\\\"if\\\",\\\"a\\\",\\\"avatar\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/result-types/user.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)(undefined, \"user\"));\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/components/share-report\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"discourse-common/lib/get-url\", \"discourse-common/utils/decorators\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _getUrl, _decorators, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"share-report\">\n    <a href=\"#\" {{on \"click\" this.open}} class=\"share-report-button\">\n      {{d-icon \"link\"}}\n      {{@group}}\n    </a>\n  \n    {{#if this.visible}}\n      <div\n        class=\"popup\"\n        {{did-insert this.registerListeners}}\n        {{will-destroy this.unregisterListeners}}\n      >\n        <label>{{i18n \"explorer.link\"}} {{@group}}</label>\n        <input type=\"text\" value={{this.link}} {{did-insert this.focusInput}} />\n  \n        <DButton\n          @action={{this.close}}\n          @icon=\"times\"\n          @aria-label=\"share.close\"\n          @title=\"share.close\"\n          class=\"btn-flat close\"\n        />\n      </div>\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"ANpTSRTb\",\n    \"block\": \"[[[10,0],[14,0,\\\"share-report\\\"],[12],[1,\\\"\\\\n  \\\"],[11,3],[24,6,\\\"#\\\"],[24,0,\\\"share-report-button\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"open\\\"]]],null],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,3],[\\\"link\\\"],null]],[1,\\\"\\\\n    \\\"],[1,[30,1]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"visible\\\"]],[[[1,\\\"    \\\"],[11,0],[24,0,\\\"popup\\\"],[4,[38,5],[[30,0,[\\\"registerListeners\\\"]]],null],[4,[38,6],[[30,0,[\\\"unregisterListeners\\\"]]],null],[12],[1,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[12],[1,[28,[35,8],[\\\"explorer.link\\\"],null]],[1,\\\" \\\"],[1,[30,1]],[13],[1,\\\"\\\\n      \\\"],[11,\\\"input\\\"],[16,2,[30,0,[\\\"link\\\"]]],[24,4,\\\"text\\\"],[4,[38,5],[[30,0,[\\\"focusInput\\\"]]],null],[12],[13],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,10],[[24,0,\\\"btn-flat close\\\"]],[[\\\"@action\\\",\\\"@icon\\\",\\\"@aria-label\\\",\\\"@title\\\"],[[30,0,[\\\"close\\\"]],\\\"times\\\",\\\"share.close\\\",\\\"share.close\\\"]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@group\\\"],false,[\\\"div\\\",\\\"a\\\",\\\"on\\\",\\\"d-icon\\\",\\\"if\\\",\\\"did-insert\\\",\\\"will-destroy\\\",\\\"label\\\",\\\"i18n\\\",\\\"input\\\",\\\"d-button\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/components/share-report.hbs\",\n    \"isStrictMode\": false\n  });\n  class ShareReport extends _component2.default {\n    static #_ = (() => dt7948.g(this.prototype, \"visible\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #visible = (() => (dt7948.i(this, \"visible\"), void 0))();\n    element;\n    get link() {\n      return (0, _getUrl.default)(`/g/${this.args.group}/reports/${this.args.query.id}`);\n    }\n    mouseDownHandler(e) {\n      if (!this.element.contains(e.target)) {\n        this.close();\n      }\n    }\n    static #_2 = (() => dt7948.n(this.prototype, \"mouseDownHandler\", [_decorators.bind]))();\n    keyDownHandler(e) {\n      if (e.keyCode === 27) {\n        this.close();\n      }\n    }\n    static #_3 = (() => dt7948.n(this.prototype, \"keyDownHandler\", [_decorators.bind]))();\n    registerListeners(element) {\n      if (!element || this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      this.element = element;\n      document.addEventListener(\"mousedown\", this.mouseDownHandler);\n      element.addEventListener(\"keydown\", this.keyDownHandler);\n    }\n    static #_4 = (() => dt7948.n(this.prototype, \"registerListeners\", [_object.action]))();\n    unregisterListeners(element) {\n      this.element = element;\n      document.removeEventListener(\"mousedown\", this.mouseDownHandler);\n      element.removeEventListener(\"keydown\", this.keyDownHandler);\n    }\n    static #_5 = (() => dt7948.n(this.prototype, \"unregisterListeners\", [_object.action]))();\n    focusInput(e) {\n      e.select();\n      e.focus();\n    }\n    static #_6 = (() => dt7948.n(this.prototype, \"focusInput\", [_object.action]))();\n    open(e) {\n      e.preventDefault();\n      this.visible = true;\n    }\n    static #_7 = (() => dt7948.n(this.prototype, \"open\", [_object.action]))();\n    close() {\n      this.visible = false;\n    }\n    static #_8 = (() => dt7948.n(this.prototype, \"close\", [_object.action]))();\n  }\n  _exports.default = ShareReport;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ShareReport);\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/connectors/group-reports-nav-item/nav-item\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    shouldRender(args) {\n      return args.group.has_visible_data_explorer_queries;\n    }\n  };\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/controllers/admin-plugins-explorer\", [\"exports\", \"@glimmer/tracking\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"rsvp\", \"discourse/lib/ajax\", \"discourse/lib/ajax-error\", \"discourse-common/utils/decorators\", \"I18n\", \"discourse/plugins/discourse-data-explorer/discourse/components/modal/query-help\", \"discourse/plugins/discourse-data-explorer/discourse/models/query\"], function (_exports, _tracking, _controller, _object, _service, _rsvp, _ajax, _ajaxError, _decorators, _I18n, _queryHelp, _query) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const NoQuery = _query.default.create({\n    name: \"No queries\",\n    fake: true,\n    group_ids: []\n  });\n  class PluginsExplorerController extends _controller.default {\n    static #_ = (() => dt7948.g(this.prototype, \"modal\", [_service.inject]))();\n    #modal = (() => (dt7948.i(this, \"modal\"), void 0))();\n    static #_2 = (() => dt7948.g(this.prototype, \"dialog\", [_service.inject]))();\n    #dialog = (() => (dt7948.i(this, \"dialog\"), void 0))();\n    static #_3 = (() => dt7948.g(this.prototype, \"appEvents\", [_service.inject]))();\n    #appEvents = (() => (dt7948.i(this, \"appEvents\"), void 0))();\n    static #_4 = (() => dt7948.g(this.prototype, \"router\", [_service.inject]))();\n    #router = (() => (dt7948.i(this, \"router\"), void 0))();\n    static #_5 = (() => dt7948.g(this.prototype, \"sortByProperty\", [_tracking.tracked], function () {\n      return \"last_run_at\";\n    }))();\n    #sortByProperty = (() => (dt7948.i(this, \"sortByProperty\"), void 0))();\n    static #_6 = (() => dt7948.g(this.prototype, \"sortDescending\", [_tracking.tracked], function () {\n      return true;\n    }))();\n    #sortDescending = (() => (dt7948.i(this, \"sortDescending\"), void 0))();\n    static #_7 = (() => dt7948.g(this.prototype, \"params\", [_tracking.tracked]))();\n    #params = (() => (dt7948.i(this, \"params\"), void 0))();\n    static #_8 = (() => dt7948.g(this.prototype, \"search\", [_tracking.tracked]))();\n    #search = (() => (dt7948.i(this, \"search\"), void 0))();\n    static #_9 = (() => dt7948.g(this.prototype, \"newQueryName\", [_tracking.tracked]))();\n    #newQueryName = (() => (dt7948.i(this, \"newQueryName\"), void 0))();\n    static #_10 = (() => dt7948.g(this.prototype, \"showCreate\", [_tracking.tracked]))();\n    #showCreate = (() => (dt7948.i(this, \"showCreate\"), void 0))();\n    static #_11 = (() => dt7948.g(this.prototype, \"editingName\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #editingName = (() => (dt7948.i(this, \"editingName\"), void 0))();\n    static #_12 = (() => dt7948.g(this.prototype, \"editingQuery\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #editingQuery = (() => (dt7948.i(this, \"editingQuery\"), void 0))();\n    static #_13 = (() => dt7948.g(this.prototype, \"selectedQueryId\", [_tracking.tracked]))();\n    #selectedQueryId = (() => (dt7948.i(this, \"selectedQueryId\"), void 0))();\n    static #_14 = (() => dt7948.g(this.prototype, \"loading\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #loading = (() => (dt7948.i(this, \"loading\"), void 0))();\n    static #_15 = (() => dt7948.g(this.prototype, \"showResults\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #showResults = (() => (dt7948.i(this, \"showResults\"), void 0))();\n    static #_16 = (() => dt7948.g(this.prototype, \"hideSchema\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #hideSchema = (() => (dt7948.i(this, \"hideSchema\"), void 0))();\n    static #_17 = (() => dt7948.g(this.prototype, \"results\", [_tracking.tracked], function () {\n      return this.selectedItem.results;\n    }))();\n    #results = (() => (dt7948.i(this, \"results\"), void 0))();\n    static #_18 = (() => dt7948.g(this.prototype, \"dirty\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #dirty = (() => (dt7948.i(this, \"dirty\"), void 0))();\n    queryParams = [\"params\", {\n      selectedQueryId: \"id\"\n    }];\n    explain = false;\n    acceptedImportFileTypes = [\"application/json\"];\n    order = null;\n    get validQueryPresent() {\n      return !!this.selectedItem.id;\n    }\n    get saveDisabled() {\n      return !this.dirty;\n    }\n    get runDisabled() {\n      return this.dirty;\n    }\n    get sortedQueries() {\n      const sortedQueries = this.model.sortBy(this.sortByProperty);\n      return this.sortDescending ? sortedQueries.reverse() : sortedQueries;\n    }\n    get parsedParams() {\n      return this.params ? JSON.parse(this.params) : null;\n    }\n    get filteredContent() {\n      const regexp = new RegExp(this.search, \"i\");\n      return this.sortedQueries.filter(result => regexp.test(result.name) || regexp.test(result.description));\n    }\n    get createDisabled() {\n      return (this.newQueryName || \"\").trim().length === 0;\n    }\n    get selectedItem() {\n      const query = this.model.findBy(\"id\", parseInt(this.selectedQueryId, 10));\n      return query || NoQuery;\n    }\n    get editDisabled() {\n      return parseInt(this.selectedQueryId, 10) < 0 ? true : false;\n    }\n    get groupOptions() {\n      return this.groups.filter(g => g.id !== 0).map(g => {\n        return {\n          id: g.id,\n          name: g.name\n        };\n      });\n    }\n    get othersDirty() {\n      return !!this.model.find(q => q !== this.selectedItem && this.dirty);\n    }\n    addCreatedRecord(record) {\n      this.model.pushObject(record);\n      this.selectedQueryId = record.id;\n      this.dirty = false;\n      this.setProperties({\n        showResults: false,\n        results: null,\n        editingName: true,\n        editingQuery: true\n      });\n    }\n    async save() {\n      try {\n        this.loading = true;\n        await this.selectedItem.save();\n        this.dirty = false;\n        this.editingName = false;\n      } catch (error) {\n        (0, _ajaxError.popupAjaxError)(error);\n        throw error;\n      } finally {\n        this.loading = false;\n      }\n    }\n    static #_19 = (() => dt7948.n(this.prototype, \"save\", [_object.action]))();\n    saveAndRun() {\n      this.save().then(() => this.run());\n    }\n    static #_20 = (() => dt7948.n(this.prototype, \"saveAndRun\", [_object.action]))();\n    async _importQuery(file) {\n      const json = await this._readFileAsTextAsync(file);\n      const query = this._parseQuery(json);\n      const record = this.store.createRecord(\"query\", query);\n      const response = await record.save();\n      return response.target;\n    }\n    _parseQuery(json) {\n      const parsed = JSON.parse(json);\n      const query = parsed.query;\n      if (!query || !query.sql) {\n        throw new TypeError();\n      }\n      query.id = 0; // 0 means no Id yet\n      return query;\n    }\n    _readFileAsTextAsync(file) {\n      return new _rsvp.Promise((resolve, reject) => {\n        const reader = new FileReader();\n        reader.onload = () => {\n          resolve(reader.result);\n        };\n        reader.onerror = reject;\n        reader.readAsText(file);\n      });\n    }\n    dragMove(e) {\n      if (!e.movementY && !e.movementX) {\n        return;\n      }\n      const editPane = document.querySelector(\".query-editor\");\n      const target = editPane.querySelector(\".panels-flex\");\n      const grippie = editPane.querySelector(\".grippie\");\n\n      // we need to get the initial height / width of edit pane\n      // before we manipulate the size\n      if (!this.initialPaneWidth && !this.originalPaneHeight) {\n        this.originalPaneWidth = target.clientWidth;\n        this.originalPaneHeight = target.clientHeight;\n      }\n      const newHeight = Math.max(this.originalPaneHeight, target.clientHeight + e.movementY);\n      const newWidth = Math.max(this.originalPaneWidth, target.clientWidth + e.movementX);\n      target.style.height = newHeight + \"px\";\n      target.style.width = newWidth + \"px\";\n      grippie.style.width = newWidth + \"px\";\n      this.appEvents.trigger(\"ace:resize\");\n    }\n    static #_21 = (() => dt7948.n(this.prototype, \"dragMove\", [_decorators.bind]))();\n    didStartDrag() {}\n    static #_22 = (() => dt7948.n(this.prototype, \"didStartDrag\", [_decorators.bind]))();\n    didEndDrag() {}\n    static #_23 = (() => dt7948.n(this.prototype, \"didEndDrag\", [_decorators.bind]))();\n    scrollTop() {\n      window.scrollTo(0, 0);\n      this.editingName = false;\n      this.editingQuery = false;\n    }\n    static #_24 = (() => dt7948.n(this.prototype, \"scrollTop\", [_decorators.bind]))();\n    updateGroupIds(value) {\n      this.dirty = true;\n      this.selectedItem.set(\"group_ids\", value);\n    }\n    static #_25 = (() => dt7948.n(this.prototype, \"updateGroupIds\", [_object.action]))();\n    updateHideSchema(value) {\n      this.hideSchema = value;\n    }\n    static #_26 = (() => dt7948.n(this.prototype, \"updateHideSchema\", [_object.action]))();\n    async import(files) {\n      try {\n        this.loading = true;\n        const file = files[0];\n        const record = await this._importQuery(file);\n        this.addCreatedRecord(record);\n      } catch (e) {\n        if (e.jqXHR) {\n          (0, _ajaxError.popupAjaxError)(e);\n        } else if (e instanceof SyntaxError) {\n          this.dialog.alert(_I18n.default.t(\"explorer.import.unparseable_json\"));\n        } else if (e instanceof TypeError) {\n          this.dialog.alert(_I18n.default.t(\"explorer.import.wrong_json\"));\n        } else {\n          this.dialog.alert(_I18n.default.t(\"errors.desc.unknown\"));\n          // eslint-disable-next-line no-console\n          console.error(e);\n        }\n      } finally {\n        this.loading = false;\n        this.dirty = true;\n      }\n    }\n    static #_27 = (() => dt7948.n(this.prototype, \"import\", [_object.action]))();\n    displayCreate() {\n      this.showCreate = true;\n    }\n    static #_28 = (() => dt7948.n(this.prototype, \"displayCreate\", [_object.action]))();\n    editName() {\n      this.editingName = true;\n    }\n    static #_29 = (() => dt7948.n(this.prototype, \"editName\", [_object.action]))();\n    editQuery() {\n      this.editingQuery = true;\n    }\n    static #_30 = (() => dt7948.n(this.prototype, \"editQuery\", [_object.action]))();\n    download() {\n      window.open(this.selectedItem.downloadUrl, \"_blank\");\n    }\n    static #_31 = (() => dt7948.n(this.prototype, \"download\", [_object.action]))();\n    goHome() {\n      this.order = null;\n      this.showResults = false;\n      this.selectedQueryId = null;\n      this.params = null;\n      this.sortByProperty = \"last_run_at\";\n      this.sortDescending = true;\n      this.router.transitionTo({\n        queryParams: {\n          id: null,\n          params: null\n        }\n      });\n    }\n    static #_32 = (() => dt7948.n(this.prototype, \"goHome\", [_object.action]))();\n    showHelpModal() {\n      this.modal.show(_queryHelp.default);\n    }\n    static #_33 = (() => dt7948.n(this.prototype, \"showHelpModal\", [_object.action]))();\n    resetParams() {\n      this.selectedItem.resetParams();\n    }\n    static #_34 = (() => dt7948.n(this.prototype, \"resetParams\", [_object.action]))();\n    updateSortProperty(property) {\n      if (this.sortByProperty === property) {\n        this.sortDescending = !this.sortDescending;\n      } else {\n        this.sortByProperty = property;\n        this.sortDescending = true;\n      }\n    }\n    static #_35 = (() => dt7948.n(this.prototype, \"updateSortProperty\", [_object.action]))();\n    async create() {\n      try {\n        const name = this.newQueryName.trim();\n        this.loading = true;\n        this.showCreate = false;\n        const result = await this.store.createRecord(\"query\", {\n          name\n        }).save();\n        this.addCreatedRecord(result.target);\n      } catch (error) {\n        (0, _ajaxError.popupAjaxError)(error);\n      } finally {\n        this.loading = false;\n        this.dirty = true;\n      }\n    }\n    static #_36 = (() => dt7948.n(this.prototype, \"create\", [_object.action]))();\n    async discard() {\n      try {\n        this.loading = true;\n        const result = await this.store.find(\"query\", this.selectedItem.id);\n        this.selectedItem.setProperties(result.getProperties(_query.default.updatePropertyNames));\n        if (!this.selectedItem.group_ids || !Array.isArray(this.selectedItem.group_ids)) {\n          this.selectedItem.set(\"group_ids\", []);\n        }\n        this.dirty = false;\n      } catch (error) {\n        (0, _ajaxError.popupAjaxError)(error);\n      } finally {\n        this.loading = false;\n      }\n    }\n    static #_37 = (() => dt7948.n(this.prototype, \"discard\", [_object.action]))();\n    async destroyQuery() {\n      try {\n        this.loading = true;\n        this.showResults = false;\n        await this.store.destroyRecord(\"query\", this.selectedItem);\n        this.selectedItem.set(\"destroyed\", true);\n      } catch (error) {\n        (0, _ajaxError.popupAjaxError)(error);\n      } finally {\n        this.loading = false;\n      }\n    }\n    static #_38 = (() => dt7948.n(this.prototype, \"destroyQuery\", [_object.action]))();\n    async recover() {\n      try {\n        this.loading = true;\n        this.showResults = true;\n        await this.selectedItem.save();\n        this.selectedItem.set(\"destroyed\", false);\n      } catch (error) {\n        (0, _ajaxError.popupAjaxError)(error);\n      } finally {\n        this.loading = false;\n      }\n    }\n    static #_39 = (() => dt7948.n(this.prototype, \"recover\", [_object.action]))();\n    updateParams(identifier, value) {\n      this.selectedItem.set(`params.${identifier}`, value);\n    }\n    static #_40 = (() => dt7948.n(this.prototype, \"updateParams\", [_object.action]))();\n    updateSearch(value) {\n      this.search = value;\n    }\n    static #_41 = (() => dt7948.n(this.prototype, \"updateSearch\", [_object.action]))();\n    updateNewQueryName(value) {\n      this.newQueryName = value;\n    }\n    static #_42 = (() => dt7948.n(this.prototype, \"updateNewQueryName\", [_object.action]))();\n    setDirty() {\n      this.dirty = true;\n    }\n    static #_43 = (() => dt7948.n(this.prototype, \"setDirty\", [_object.action]))();\n    exitEdit() {\n      this.editingName = false;\n    }\n    static #_44 = (() => dt7948.n(this.prototype, \"exitEdit\", [_object.action]))();\n    run() {\n      this.setProperties({\n        loading: true,\n        showResults: false,\n        params: JSON.stringify(this.selectedItem.params)\n      });\n      (0, _ajax.ajax)(\"/admin/plugins/explorer/queries/\" + this.selectedItem.id + \"/run\", {\n        type: \"POST\",\n        data: {\n          params: JSON.stringify(this.selectedItem.params),\n          explain: this.explain\n        }\n      }).then(result => {\n        this.results = result;\n        if (!result.success) {\n          this.showResults = false;\n          return;\n        }\n        this.showResults = true;\n      }).catch(err => {\n        this.showResults = false;\n        if (err.jqXHR && err.jqXHR.status === 422 && err.jqXHR.responseJSON) {\n          this.results = err.jqXHR.responseJSON;\n        } else {\n          (0, _ajaxError.popupAjaxError)(err);\n        }\n      }).finally(() => this.loading = false);\n    }\n    static #_45 = (() => dt7948.n(this.prototype, \"run\", [_object.action]))();\n  }\n  _exports.default = PluginsExplorerController;\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/controllers/group-reports-index\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class GroupReportsIndexController extends _controller.default {}\n  _exports.default = GroupReportsIndexController;\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/controllers/group-reports-show\", [\"exports\", \"@glimmer/tracking\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"discourse/components/modal/bookmark\", \"discourse/lib/ajax\", \"discourse/lib/ajax-error\", \"discourse/lib/bookmark-form-data\", \"discourse/models/bookmark\", \"discourse-common/utils/decorators\"], function (_exports, _tracking, _controller, _object, _service, _bookmark, _ajax, _ajaxError, _bookmarkFormData, _bookmark2, _decorators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class GroupReportsShowController extends _controller.default {\n    static #_ = (() => dt7948.g(this.prototype, \"currentUser\", [_service.inject]))();\n    #currentUser = (() => (dt7948.i(this, \"currentUser\"), void 0))();\n    static #_2 = (() => dt7948.g(this.prototype, \"modal\", [_service.inject]))();\n    #modal = (() => (dt7948.i(this, \"modal\"), void 0))();\n    static #_3 = (() => dt7948.g(this.prototype, \"router\", [_service.inject]))();\n    #router = (() => (dt7948.i(this, \"router\"), void 0))();\n    static #_4 = (() => dt7948.g(this.prototype, \"showResults\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #showResults = (() => (dt7948.i(this, \"showResults\"), void 0))();\n    static #_5 = (() => dt7948.g(this.prototype, \"loading\", [_tracking.tracked], function () {\n      return false;\n    }))();\n    #loading = (() => (dt7948.i(this, \"loading\"), void 0))();\n    static #_6 = (() => dt7948.g(this.prototype, \"results\", [_tracking.tracked], function () {\n      return this.model.results;\n    }))();\n    #results = (() => (dt7948.i(this, \"results\"), void 0))();\n    static #_7 = (() => dt7948.g(this.prototype, \"queryGroupBookmark\", [_tracking.tracked], function () {\n      return this.queryGroup?.bookmark;\n    }))();\n    #queryGroupBookmark = (() => (dt7948.i(this, \"queryGroupBookmark\"), void 0))();\n    queryParams = [\"params\"];\n    explain = false;\n    get parsedParams() {\n      return this.params ? JSON.parse(this.params) : null;\n    }\n    get hasParams() {\n      return this.model.param_info.length > 0;\n    }\n    get bookmarkLabel() {\n      return this.queryGroupBookmark ? \"bookmarked.edit_bookmark\" : \"bookmarked.title\";\n    }\n    get bookmarkIcon() {\n      if (this.queryGroupBookmark && this.queryGroupBookmark.reminder_at) {\n        return _bookmark2.WITH_REMINDER_ICON;\n      }\n      return _bookmark2.NO_REMINDER_ICON;\n    }\n    get bookmarkClassName() {\n      return this.queryGroupBookmark ? [\"query-group-bookmark\", \"bookmarked\"].join(\" \") : \"query-group-bookmark\";\n    }\n    async run() {\n      this.loading = true;\n      this.showResults = false;\n      try {\n        const stringifiedParams = JSON.stringify(this.model.params);\n        this.router.transitionTo({\n          queryParams: {\n            params: this.model.params ? stringifiedParams : null\n          }\n        });\n        const response = await (0, _ajax.ajax)(`/g/${this.get(\"group.name\")}/reports/${this.model.id}/run`, {\n          type: \"POST\",\n          data: {\n            params: stringifiedParams,\n            explain: this.explain\n          }\n        });\n        this.results = response;\n        if (!response.success) {\n          return;\n        }\n        this.showResults = true;\n      } catch (error) {\n        if (error.jqXHR?.status === 422 && error.jqXHR.responseJSON) {\n          this.results = error.jqXHR.responseJSON;\n        } else {\n          (0, _ajaxError.popupAjaxError)(error);\n        }\n      } finally {\n        this.loading = false;\n      }\n    }\n    static #_8 = (() => dt7948.n(this.prototype, \"run\", [_decorators.bind]))();\n    toggleBookmark() {\n      const modalBookmark = this.queryGroupBookmark || this.store.createRecord(\"bookmark\", {\n        bookmarkable_type: \"DiscourseDataExplorer::QueryGroup\",\n        bookmarkable_id: this.queryGroup.id,\n        user_id: this.currentUser.id\n      });\n      return this.modal.show(_bookmark.default, {\n        model: {\n          bookmark: new _bookmarkFormData.BookmarkFormData(modalBookmark),\n          afterSave: bookmarkFormData => {\n            const bookmark = this.store.createRecord(\"bookmark\", bookmarkFormData.saveData);\n            this.queryGroupBookmark = bookmark;\n            this.appEvents.trigger(\"bookmarks:changed\", bookmarkFormData.saveData, bookmark.attachedTo());\n          },\n          afterDelete: () => {\n            this.queryGroupBookmark = null;\n          }\n        }\n      });\n    }\n\n    // This is necessary with glimmer's one way data stream to get the child's\n    // changes of 'params' to bubble up.\n    static #_9 = (() => dt7948.n(this.prototype, \"toggleBookmark\", [_object.action]))();\n    updateParams(identifier, value) {\n      this.set(`model.params.${identifier}`, value);\n    }\n    static #_10 = (() => dt7948.n(this.prototype, \"updateParams\", [_object.action]))();\n  }\n  _exports.default = GroupReportsShowController;\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/explorer-route-map\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    resource: \"admin.adminPlugins\",\n    path: \"/plugins\",\n    map() {\n      this.route(\"explorer\");\n    }\n  };\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/group-reports-route-map\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    resource: \"group\",\n    map() {\n      this.route(\"reports\", function () {\n        this.route(\"show\", {\n          path: \"/:query_id\"\n        });\n      });\n    }\n  };\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/initializers/initialize-data-explorer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    name: \"initialize-data-explorer\",\n    initialize(container) {\n      container.lookup(\"service:store\").addPluralization(\"query\", \"queries\");\n    }\n  };\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/lib/themeColor\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = themeColor;\n  function themeColor(name) {\n    const style = getComputedStyle(document.body);\n    return style.getPropertyValue(name);\n  }\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/models/query\", [\"exports\", \"discourse/models/rest\", \"discourse-common/lib/get-url\"], function (_exports, _rest, _getUrl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Query extends _rest.default {\n    static updatePropertyNames = [\"name\", \"description\", \"sql\", \"user_id\", \"created_at\", \"group_ids\", \"last_run_at\"];\n    params = {};\n    constructor() {\n      super(...arguments);\n      this.param_info?.resetParams();\n    }\n    get downloadUrl() {\n      return (0, _getUrl.default)(`/admin/plugins/explorer/queries/${this.id}.json?export=1`);\n    }\n    get hasParams() {\n      return this.param_info.length;\n    }\n    resetParams() {\n      const newParams = {};\n      const oldParams = this.params;\n      this.param_info.forEach(pinfo => {\n        const name = pinfo.identifier;\n        if (oldParams[pinfo.identifier]) {\n          newParams[name] = oldParams[name];\n        } else if (pinfo[\"default\"] !== null) {\n          newParams[name] = pinfo[\"default\"];\n        } else if (pinfo[\"type\"] === \"boolean\") {\n          newParams[name] = \"false\";\n        } else if (pinfo[\"type\"] === \"user_id\") {\n          newParams[name] = null;\n        } else if (pinfo[\"type\"] === \"user_list\") {\n          newParams[name] = null;\n        } else if (pinfo[\"type\"] === \"group_list\") {\n          newParams[name] = null;\n        } else {\n          newParams[name] = \"\";\n        }\n      });\n      this.params = newParams;\n    }\n    updateProperties() {\n      const props = this.getProperties(Query.updatePropertyNames);\n      if (this.destroyed) {\n        props.id = this.id;\n      }\n      return props;\n    }\n    createProperties() {\n      if (this.sql) {\n        // Importing\n        return this.updateProperties();\n      }\n      return this.getProperties(\"name\");\n    }\n  }\n  _exports.default = Query;\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/routes/admin-plugins-explorer\", [\"exports\", \"discourse/lib/ajax\", \"discourse/routes/discourse\"], function (_exports, _ajax, _discourse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class AdminPluginsExplorer extends _discourse.default {\n    model() {\n      if (!this.currentUser.admin) {\n        // display \"Only available to admins\" message\n        return {\n          model: null,\n          schema: null,\n          disallow: true,\n          groups: null\n        };\n      }\n      const groupPromise = (0, _ajax.ajax)(\"/admin/plugins/explorer/groups.json\");\n      const schemaPromise = (0, _ajax.ajax)(\"/admin/plugins/explorer/schema.json\", {\n        cache: true\n      });\n      const queryPromise = this.store.findAll(\"query\");\n      return groupPromise.then(groups => {\n        let groupNames = {};\n        groups.forEach(g => {\n          groupNames[g.id] = g.name;\n        });\n        return schemaPromise.then(schema => {\n          return queryPromise.then(model => {\n            model.forEach(query => {\n              query.set(\"group_names\", (query.group_ids || []).map(id => groupNames[id]));\n            });\n            return {\n              model,\n              schema,\n              groups\n            };\n          });\n        });\n      });\n    }\n    setupController(controller, model) {\n      controller.setProperties(model);\n    }\n  }\n  _exports.default = AdminPluginsExplorer;\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/routes/group-reports-index\", [\"exports\", \"@ember/service\", \"discourse/lib/ajax\", \"discourse/routes/discourse\"], function (_exports, _service, _ajax, _discourse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class GroupReportsIndexRoute extends _discourse.default {\n    static #_ = (() => dt7948.g(this.prototype, \"router\", [_service.inject]))();\n    #router = (() => (dt7948.i(this, \"router\"), void 0))();\n    model() {\n      const group = this.modelFor(\"group\");\n      return (0, _ajax.ajax)(`/g/${group.name}/reports`).then(queries => {\n        return {\n          model: queries,\n          group\n        };\n      }).catch(() => this.router.transitionTo(\"group.members\", group));\n    }\n    afterModel(model) {\n      if (!model.group.get(\"is_group_user\") && !(this.currentUser && this.currentUser.admin)) {\n        this.router.transitionTo(\"group.members\", model.group);\n      }\n    }\n    setupController(controller, model) {\n      controller.setProperties(model);\n    }\n  }\n  _exports.default = GroupReportsIndexRoute;\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/routes/group-reports-show\", [\"exports\", \"@ember/service\", \"discourse/lib/ajax\", \"discourse/routes/discourse\"], function (_exports, _service, _ajax, _discourse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class GroupReportsShowRoute extends _discourse.default {\n    static #_ = (() => dt7948.g(this.prototype, \"router\", [_service.inject]))();\n    #router = (() => (dt7948.i(this, \"router\"), void 0))();\n    model(params) {\n      const group = this.modelFor(\"group\");\n      return (0, _ajax.ajax)(`/g/${group.name}/reports/${params.query_id}`).then(response => {\n        const query = response.query;\n        const queryGroup = response.query_group;\n        const queryParamInfo = query.param_info;\n        const queryParams = queryParamInfo.reduce((acc, param) => {\n          acc[param.identifier] = param.default;\n          return acc;\n        }, {});\n        return {\n          model: Object.assign({\n            params: queryParams\n          }, query),\n          group,\n          queryGroup,\n          results: null,\n          showResults: false\n        };\n      }).catch(() => {\n        this.router.transitionTo(\"group.members\", group);\n      });\n    }\n    setupController(controller, model) {\n      controller.setProperties(model);\n    }\n  }\n  _exports.default = GroupReportsShowRoute;\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/templates/admin/plugins-explorer\", [\"exports\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.disallow}}\n    <h1>{{i18n \"explorer.admins_only\"}}</h1>\n  {{else}}\n    {{#unless this.validQueryPresent}}\n      <div class=\"query-list\">\n        <TextField\n          @value={{this.search}}\n          @placeholderKey=\"explorer.search_placeholder\"\n          @onChange={{this.updateSearch}}\n        />\n        <DButton\n          @action={{this.displayCreate}}\n          @icon=\"plus\"\n          class=\"no-text btn-right\"\n        />\n        <PickFilesButton\n          @label=\"explorer.import.label\"\n          @icon=\"upload\"\n          @acceptedFormatsOverride={{this.acceptedImportFileTypes}}\n          @showButton=\"true\"\n          @onFilesPicked={{this.import}}\n          class=\"import-btn\"\n        />\n      </div>\n  \n      {{#if this.showCreate}}\n        <div class=\"query-create\">\n          <TextField\n            @value={{this.newQueryName}}\n            @placeholderKey=\"explorer.create_placeholder\"\n            @onChange={{this.updateNewQueryName}}\n          />\n          <DButton\n            @action={{this.create}}\n            @disabled={{this.createDisabled}}\n            @label=\"explorer.create\"\n            @icon=\"plus\"\n          />\n        </div>\n      {{/if}}\n  \n      {{#if this.othersDirty}}\n        <div class=\"warning\">\n          {{d-icon \"exclamation-triangle\"}}\n          {{i18n \"explorer.others_dirty\"}}\n        </div>\n      {{/if}}\n    {{/unless}}\n  \n    {{#if this.model.length}}\n      {{#unless this.selectedItem.fake}}\n        <div class=\"query-edit {{if this.editName 'editing'}}\">\n          {{#if this.selectedItem}}\n            {{#if this.editingName}}\n              <div class=\"name\">\n                <DButton\n                  @action={{this.goHome}}\n                  @icon=\"chevron-left\"\n                  class=\"previous\"\n                />\n                <DButton\n                  @action={{this.exitEdit}}\n                  @icon=\"times\"\n                  class=\"previous\"\n                />\n                <div class=\"name-text-field\">\n                  <TextField\n                    @value={{this.selectedItem.name}}\n                    @onChange={{this.setDirty}}\n                  />\n                </div>\n              </div>\n  \n              <div class=\"desc\">\n                <DTextarea\n                  @value={{this.selectedItem.description}}\n                  @placeholder={{i18n \"explorer.description_placeholder\"}}\n                  @input={{this.setDirty}}\n                />\n              </div>\n            {{else}}\n              <div class=\"name\">\n                <DButton\n                  @action={{this.goHome}}\n                  @icon=\"chevron-left\"\n                  class=\"previous\"\n                />\n  \n                <h1>\n                  {{this.selectedItem.name}}\n                  {{#unless this.editDisabled}}\n                    <a href {{action \"editName\"}} class=\"edit-query-name\">\n                      {{d-icon \"pencil-alt\"}}\n                    </a>\n                  {{/unless}}\n                </h1>\n              </div>\n  \n              <div class=\"desc\">\n                {{this.selectedItem.description}}\n              </div>\n            {{/if}}\n  \n            {{#unless this.selectedItem.destroyed}}\n              <div class=\"pull-left\">\n                <div class=\"groups\">\n                  <span class=\"label\">{{i18n \"explorer.allow_groups\"}}</span>\n                  <span>\n                    <MultiSelect\n                      @value={{this.selectedItem.group_ids}}\n                      @content={{this.groupOptions}}\n                      @options={{hash allowAny=false}}\n                      @onChange={{this.updateGroupIds}}\n                    />\n                  </span>\n                </div>\n              </div>\n            {{/unless}}\n  \n            <div class=\"clear\"></div>\n  \n            {{#if this.editingQuery}}\n              <div class=\"query-editor {{if this.hideSchema 'no-schema'}}\">\n                <div class=\"panels-flex\">\n                  <div class=\"editor-panel\">\n                    <AceEditor\n                      @content={{this.selectedItem.sql}}\n                      @mode=\"sql\"\n                      @disabled={{this.selectedItem.destroyed}}\n                      {{on \"click\" this.setDirty}}\n                      @save={{this.save}}\n                      @submit={{this.saveAndRun}}\n                    />\n                  </div>\n  \n                  <div class=\"right-panel\">\n                    <ExplorerSchema\n                      @schema={{this.schema}}\n                      @hideSchema={{this.hideSchema}}\n                      @updateHideSchema={{this.updateHideSchema}}\n                    />\n                  </div>\n                </div>\n  \n                <div\n                  class=\"grippie\"\n                  {{draggable\n                    didStartDrag=this.didStartDrag\n                    didEndDrag=this.didEndDrag\n                    dragMove=this.dragMove\n                  }}\n                >\n                  {{d-icon \"discourse-expand\"}}\n                </div>\n  \n                <div class=\"clear\"></div>\n              </div>\n            {{else}}\n              <div class=\"sql\">\n                <CodeView\n                  @value={{selectedItem.sql}}\n                  @codeClass=\"sql\"\n                  @setDirty={{this.setDirty}}\n                />\n              </div>\n            {{/if}}\n  \n            <div class=\"clear\"></div>\n  \n            <div class=\"pull-left left-buttons\">\n              {{#if this.editingQuery}}\n                <DButton\n                  @action={{this.save}}\n                  @label=\"explorer.save\"\n                  @disabled={{this.saveDisabled}}\n                />\n              {{else}}\n                {{#unless this.editDisabled}}\n                  <DButton\n                    @action={{this.editQuery}}\n                    @label=\"explorer.edit\"\n                    @icon=\"pencil-alt\"\n                  />\n                {{/unless}}\n              {{/if}}\n  \n              <DButton\n                @action={{this.download}}\n                @label=\"explorer.export\"\n                @disabled={{this.runDisabled}}\n                @icon=\"download\"\n              />\n  \n              {{#if this.editingQuery}}\n                <DButton\n                  @action={{this.showHelpModal}}\n                  @label=\"explorer.help.label\"\n                  @icon=\"question-circle\"\n                />\n              {{/if}}\n            </div>\n  \n            <div class=\"pull-right right-buttons\">\n              {{#if this.selectedItem.destroyed}}\n                <DButton\n                  @action={{this.recover}}\n                  @icon=\"undo\"\n                  @label=\"explorer.recover\"\n                />\n              {{else}}\n                {{#if this.editingQuery}}\n                  <DButton\n                    @action={{this.discard}}\n                    @icon=\"undo\"\n                    @label=\"explorer.undo\"\n                    @disabled={{this.saveDisabled}}\n                  />\n                {{/if}}\n  \n                <DButton\n                  @action={{this.destroyQuery}}\n                  @icon=\"trash-alt\"\n                  @label=\"explorer.delete\"\n                  class=\"btn-danger\"\n                />\n              {{/if}}\n            </div>\n  \n            <div class=\"clear\"></div>\n          {{/if}}\n        </div>\n  \n        <form class=\"query-run\" {{on \"submit\" this.run}}>\n          <ParamInputsWrapper\n            @hasParams={{this.selectedItem.hasParams}}\n            @params={{this.selectedItem.params}}\n            @initialValues={{this.parsedParams}}\n            @paramInfo={{this.selectedItem.param_info}}\n            @updateParams={{this.updateParams}}\n          />\n  \n          {{#if this.runDisabled}}\n            {{#if this.saveDisabled}}\n              <DButton\n                @label=\"explorer.run\"\n                @disabled=\"true\"\n                class=\"btn-primary\"\n              />\n            {{else}}\n              <DButton\n                @action={{this.saveAndRun}}\n                @icon=\"play\"\n                @label=\"explorer.saverun\"\n                class=\"btn-primary\"\n              />\n            {{/if}}\n          {{else}}\n            <DButton\n              @action={{this.run}}\n              @icon=\"play\"\n              @label=\"explorer.run\"\n              @disabled={{this.runDisabled}}\n              @type=\"submit\"\n              class=\"btn-primary\"\n            />\n          {{/if}}\n  \n          <label class=\"query-plan\">\n            <Input @type=\"checkbox\" @checked={{this.explain}} name=\"explain\" />\n            {{i18n \"explorer.explain_label\"}}\n          </label>\n        </form>\n        <hr />\n      {{/unless}}\n  \n      <ConditionalLoadingSpinner @condition={{this.loading}} />\n  \n      {{#unless this.selectedItem.fake}}\n        <QueryResultsWrapper\n          @results={{this.results}}\n          @showResults={{this.showResults}}\n          @query={{this.selectedItem}}\n          @content={{this.results}}\n        />\n      {{/unless}}\n  \n      {{#unless this.validQueryPresent}}\n        <div class=\"container\">\n          <table class=\"recent-queries\">\n            <thead class=\"heading-container\">\n              <th class=\"col heading name\">\n                <div\n                  role=\"button\"\n                  class=\"heading-toggle\"\n                  {{on \"click\" (fn this.updateSortProperty \"name\")}}\n                >\n                  <TableHeaderToggle\n                    @field=\"name\"\n                    @labelKey=\"explorer.query_name\"\n                    @order={{this.order}}\n                    @asc={{not this.sortDescending}}\n                    @automatic=\"true\"\n                  />\n                </div>\n              </th>\n              <th class=\"col heading created-by\">\n                <div\n                  role=\"button\"\n                  class=\"heading-toggle\"\n                  {{on \"click\" (fn this.updateSortProperty \"username\")}}\n                >\n                  <TableHeaderToggle\n                    @field=\"username\"\n                    @labelKey=\"explorer.query_user\"\n                    @order={{this.order}}\n                    @asc={{not this.sortDescending}}\n                    @automatic=\"true\"\n                  />\n                </div>\n              </th>\n              <th class=\"col heading group-names\">\n                <div class=\"group-names-header\">\n                  {{i18n \"explorer.query_groups\"}}\n                </div>\n              </th>\n              <th class=\"col heading created-at\">\n                <div\n                  role=\"button\"\n                  class=\"heading-toggle\"\n                  {{on \"click\" (fn this.updateSortProperty \"last_run_at\")}}\n                >\n                  <TableHeaderToggle\n                    @field=\"last_run_at\"\n                    @labelKey=\"explorer.query_time\"\n                    @order={{this.order}}\n                    @asc={{not this.sortDescending}}\n                    @automatic=\"true\"\n                  />\n                </div>\n              </th>\n            </thead>\n            <tbody>\n              {{#each this.filteredContent as |query|}}\n                <tr class=\"query-row\">\n                  <td>\n                    <a\n                      {{on \"click\" this.scrollTop}}\n                      href=\"/admin/plugins/explorer/?id={{query.id}}\"\n                    >\n                      <b class=\"query-name\">{{query.name}}</b>\n                      <medium class=\"query-desc\">{{query.description}}</medium>\n                    </a>\n                  </td>\n                  <td class=\"query-created-by\">\n                    {{#if query.username}}\n                      <a href=\"/u/{{query.username}}/activity\">\n                        <medium>{{query.username}}</medium>\n                      </a>\n                    {{/if}}\n                  </td>\n                  <td class=\"query-group-names\">\n                    {{#each query.group_names as |group|}}\n                      <ShareReport @group={{group}} @query={{query}} />\n                    {{/each}}\n                  </td>\n                  <td class=\"query-created-at\">\n                    {{#if query.last_run_at}}\n                      <medium>\n                        {{bound-date query.last_run_at}}\n                      </medium>\n                    {{else if query.created_at}}\n                      <medium>\n                        {{bound-date query.created_at}}\n                      </medium>\n                    {{/if}}\n                  </td>\n                </tr>\n              {{else}}\n                <br />\n                <em class=\"no-search-results\">\n                  {{i18n \"explorer.no_search_results\"}}\n                </em>\n              {{/each}}\n            </tbody>\n          </table>\n        </div>\n      {{/unless}}\n  \n      <div class=\"explorer-pad-bottom\"></div>\n    {{/if}}\n  {{/if}}\n  */\n  {\n    \"id\": \"o49+nM9x\",\n    \"block\": \"[[[41,[30,0,[\\\"disallow\\\"]],[[[1,\\\"  \\\"],[10,\\\"h1\\\"],[12],[1,[28,[35,2],[\\\"explorer.admins_only\\\"],null]],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[51,[30,0,[\\\"validQueryPresent\\\"]]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"query-list\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,5],null,[[\\\"@value\\\",\\\"@placeholderKey\\\",\\\"@onChange\\\"],[[30,0,[\\\"search\\\"]],\\\"explorer.search_placeholder\\\",[30,0,[\\\"updateSearch\\\"]]]],null],[1,\\\"\\\\n      \\\"],[8,[39,6],[[24,0,\\\"no-text btn-right\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[30,0,[\\\"displayCreate\\\"]],\\\"plus\\\"]],null],[1,\\\"\\\\n      \\\"],[8,[39,7],[[24,0,\\\"import-btn\\\"]],[[\\\"@label\\\",\\\"@icon\\\",\\\"@acceptedFormatsOverride\\\",\\\"@showButton\\\",\\\"@onFilesPicked\\\"],[\\\"explorer.import.label\\\",\\\"upload\\\",[30,0,[\\\"acceptedImportFileTypes\\\"]],\\\"true\\\",[30,0,[\\\"import\\\"]]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showCreate\\\"]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"query-create\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,5],null,[[\\\"@value\\\",\\\"@placeholderKey\\\",\\\"@onChange\\\"],[[30,0,[\\\"newQueryName\\\"]],\\\"explorer.create_placeholder\\\",[30,0,[\\\"updateNewQueryName\\\"]]]],null],[1,\\\"\\\\n        \\\"],[8,[39,6],null,[[\\\"@action\\\",\\\"@disabled\\\",\\\"@label\\\",\\\"@icon\\\"],[[30,0,[\\\"create\\\"]],[30,0,[\\\"createDisabled\\\"]],\\\"explorer.create\\\",\\\"plus\\\"]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"othersDirty\\\"]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"warning\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,8],[\\\"exclamation-triangle\\\"],null]],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"explorer.others_dirty\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"model\\\",\\\"length\\\"]],[[[41,[51,[30,0,[\\\"selectedItem\\\",\\\"fake\\\"]]],[[[1,\\\"      \\\"],[10,0],[15,0,[29,[\\\"query-edit \\\",[52,[30,0,[\\\"editName\\\"]],\\\"editing\\\"]]]],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedItem\\\"]],[[[41,[30,0,[\\\"editingName\\\"]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"name\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,6],[[24,0,\\\"previous\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[30,0,[\\\"goHome\\\"]],\\\"chevron-left\\\"]],null],[1,\\\"\\\\n              \\\"],[8,[39,6],[[24,0,\\\"previous\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[30,0,[\\\"exitEdit\\\"]],\\\"times\\\"]],null],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"name-text-field\\\"],[12],[1,\\\"\\\\n                \\\"],[8,[39,5],null,[[\\\"@value\\\",\\\"@onChange\\\"],[[30,0,[\\\"selectedItem\\\",\\\"name\\\"]],[30,0,[\\\"setDirty\\\"]]]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[10,0],[14,0,\\\"desc\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,9],null,[[\\\"@value\\\",\\\"@placeholder\\\",\\\"@input\\\"],[[30,0,[\\\"selectedItem\\\",\\\"description\\\"]],[28,[37,2],[\\\"explorer.description_placeholder\\\"],null],[30,0,[\\\"setDirty\\\"]]]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"name\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,6],[[24,0,\\\"previous\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[30,0,[\\\"goHome\\\"]],\\\"chevron-left\\\"]],null],[1,\\\"\\\\n\\\\n              \\\"],[10,\\\"h1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"selectedItem\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"editDisabled\\\"]]],[[[1,\\\"                  \\\"],[11,3],[24,6,\\\"\\\"],[24,0,\\\"edit-query-name\\\"],[4,[38,11],[[30,0],\\\"editName\\\"],null],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,8],[\\\"pencil-alt\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[10,0],[14,0,\\\"desc\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[30,0,[\\\"selectedItem\\\",\\\"description\\\"]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"selectedItem\\\",\\\"destroyed\\\"]]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"pull-left\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"groups\\\"],[12],[1,\\\"\\\\n                \\\"],[10,1],[14,0,\\\"label\\\"],[12],[1,[28,[35,2],[\\\"explorer.allow_groups\\\"],null]],[13],[1,\\\"\\\\n                \\\"],[10,1],[12],[1,\\\"\\\\n                  \\\"],[8,[39,13],null,[[\\\"@value\\\",\\\"@content\\\",\\\"@options\\\",\\\"@onChange\\\"],[[30,0,[\\\"selectedItem\\\",\\\"group_ids\\\"]],[30,0,[\\\"groupOptions\\\"]],[28,[37,14],null,[[\\\"allowAny\\\"],[false]]],[30,0,[\\\"updateGroupIds\\\"]]]],null],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"clear\\\"],[12],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"editingQuery\\\"]],[[[1,\\\"            \\\"],[10,0],[15,0,[29,[\\\"query-editor \\\",[52,[30,0,[\\\"hideSchema\\\"]],\\\"no-schema\\\"]]]],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"panels-flex\\\"],[12],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"editor-panel\\\"],[12],[1,\\\"\\\\n                  \\\"],[8,[39,15],[[4,[38,16],[\\\"click\\\",[30,0,[\\\"setDirty\\\"]]],null]],[[\\\"@content\\\",\\\"@mode\\\",\\\"@disabled\\\",\\\"@save\\\",\\\"@submit\\\"],[[30,0,[\\\"selectedItem\\\",\\\"sql\\\"]],\\\"sql\\\",[30,0,[\\\"selectedItem\\\",\\\"destroyed\\\"]],[30,0,[\\\"save\\\"]],[30,0,[\\\"saveAndRun\\\"]]]],null],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\\n                \\\"],[10,0],[14,0,\\\"right-panel\\\"],[12],[1,\\\"\\\\n                  \\\"],[8,[39,17],null,[[\\\"@schema\\\",\\\"@hideSchema\\\",\\\"@updateHideSchema\\\"],[[30,0,[\\\"schema\\\"]],[30,0,[\\\"hideSchema\\\"]],[30,0,[\\\"updateHideSchema\\\"]]]],null],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[11,0],[24,0,\\\"grippie\\\"],[4,[38,18],null,[[\\\"didStartDrag\\\",\\\"didEndDrag\\\",\\\"dragMove\\\"],[[30,0,[\\\"didStartDrag\\\"]],[30,0,[\\\"didEndDrag\\\"]],[30,0,[\\\"dragMove\\\"]]]]],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,8],[\\\"discourse-expand\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[14,0,\\\"clear\\\"],[12],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"sql\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,19],null,[[\\\"@value\\\",\\\"@codeClass\\\",\\\"@setDirty\\\"],[[30,0,[\\\"selectedItem\\\",\\\"sql\\\"]],\\\"sql\\\",[30,0,[\\\"setDirty\\\"]]]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"clear\\\"],[12],[13],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"pull-left left-buttons\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"editingQuery\\\"]],[[[1,\\\"              \\\"],[8,[39,6],null,[[\\\"@action\\\",\\\"@label\\\",\\\"@disabled\\\"],[[30,0,[\\\"save\\\"]],\\\"explorer.save\\\",[30,0,[\\\"saveDisabled\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[51,[30,0,[\\\"editDisabled\\\"]]],[[[1,\\\"                \\\"],[8,[39,6],null,[[\\\"@action\\\",\\\"@label\\\",\\\"@icon\\\"],[[30,0,[\\\"editQuery\\\"]],\\\"explorer.edit\\\",\\\"pencil-alt\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"\\\\n            \\\"],[8,[39,6],null,[[\\\"@action\\\",\\\"@label\\\",\\\"@disabled\\\",\\\"@icon\\\"],[[30,0,[\\\"download\\\"]],\\\"explorer.export\\\",[30,0,[\\\"runDisabled\\\"]],\\\"download\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"editingQuery\\\"]],[[[1,\\\"              \\\"],[8,[39,6],null,[[\\\"@action\\\",\\\"@label\\\",\\\"@icon\\\"],[[30,0,[\\\"showHelpModal\\\"]],\\\"explorer.help.label\\\",\\\"question-circle\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"          \\\"],[13],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"pull-right right-buttons\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"selectedItem\\\",\\\"destroyed\\\"]],[[[1,\\\"              \\\"],[8,[39,6],null,[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\"],[[30,0,[\\\"recover\\\"]],\\\"undo\\\",\\\"explorer.recover\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"editingQuery\\\"]],[[[1,\\\"                \\\"],[8,[39,6],null,[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@disabled\\\"],[[30,0,[\\\"discard\\\"]],\\\"undo\\\",\\\"explorer.undo\\\",[30,0,[\\\"saveDisabled\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n              \\\"],[8,[39,6],[[24,0,\\\"btn-danger\\\"]],[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\"],[[30,0,[\\\"destroyQuery\\\"]],\\\"trash-alt\\\",\\\"explorer.delete\\\"]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"          \\\"],[13],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"clear\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[11,\\\"form\\\"],[24,0,\\\"query-run\\\"],[4,[38,16],[\\\"submit\\\",[30,0,[\\\"run\\\"]]],null],[12],[1,\\\"\\\\n        \\\"],[8,[39,21],null,[[\\\"@hasParams\\\",\\\"@params\\\",\\\"@initialValues\\\",\\\"@paramInfo\\\",\\\"@updateParams\\\"],[[30,0,[\\\"selectedItem\\\",\\\"hasParams\\\"]],[30,0,[\\\"selectedItem\\\",\\\"params\\\"]],[30,0,[\\\"parsedParams\\\"]],[30,0,[\\\"selectedItem\\\",\\\"param_info\\\"]],[30,0,[\\\"updateParams\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"runDisabled\\\"]],[[[41,[30,0,[\\\"saveDisabled\\\"]],[[[1,\\\"            \\\"],[8,[39,6],[[24,0,\\\"btn-primary\\\"]],[[\\\"@label\\\",\\\"@disabled\\\"],[\\\"explorer.run\\\",\\\"true\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[8,[39,6],[[24,0,\\\"btn-primary\\\"]],[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\"],[[30,0,[\\\"saveAndRun\\\"]],\\\"play\\\",\\\"explorer.saverun\\\"]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\"          \\\"],[8,[39,6],[[24,0,\\\"btn-primary\\\"]],[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@disabled\\\",\\\"@type\\\"],[[30,0,[\\\"run\\\"]],\\\"play\\\",\\\"explorer.run\\\",[30,0,[\\\"runDisabled\\\"]],\\\"submit\\\"]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"query-plan\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,23],[[24,3,\\\"explain\\\"]],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[30,0,[\\\"explain\\\"]]]],null],[1,\\\"\\\\n          \\\"],[1,[28,[35,2],[\\\"explorer.explain_label\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"hr\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n    \\\"],[8,[39,25],null,[[\\\"@condition\\\"],[[30,0,[\\\"loading\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,0,[\\\"selectedItem\\\",\\\"fake\\\"]]],[[[1,\\\"      \\\"],[8,[39,26],null,[[\\\"@results\\\",\\\"@showResults\\\",\\\"@query\\\",\\\"@content\\\"],[[30,0,[\\\"results\\\"]],[30,0,[\\\"showResults\\\"]],[30,0,[\\\"selectedItem\\\"]],[30,0,[\\\"results\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"validQueryPresent\\\"]]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"container\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"table\\\"],[14,0,\\\"recent-queries\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"thead\\\"],[14,0,\\\"heading-container\\\"],[12],[1,\\\"\\\\n            \\\"],[10,\\\"th\\\"],[14,0,\\\"col heading name\\\"],[12],[1,\\\"\\\\n              \\\"],[11,0],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"heading-toggle\\\"],[4,[38,16],[\\\"click\\\",[28,[37,30],[[30,0,[\\\"updateSortProperty\\\"]],\\\"name\\\"],null]],null],[12],[1,\\\"\\\\n                \\\"],[8,[39,31],null,[[\\\"@field\\\",\\\"@labelKey\\\",\\\"@order\\\",\\\"@asc\\\",\\\"@automatic\\\"],[\\\"name\\\",\\\"explorer.query_name\\\",[30,0,[\\\"order\\\"]],[28,[37,32],[[30,0,[\\\"sortDescending\\\"]]],null],\\\"true\\\"]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,\\\"th\\\"],[14,0,\\\"col heading created-by\\\"],[12],[1,\\\"\\\\n              \\\"],[11,0],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"heading-toggle\\\"],[4,[38,16],[\\\"click\\\",[28,[37,30],[[30,0,[\\\"updateSortProperty\\\"]],\\\"username\\\"],null]],null],[12],[1,\\\"\\\\n                \\\"],[8,[39,31],null,[[\\\"@field\\\",\\\"@labelKey\\\",\\\"@order\\\",\\\"@asc\\\",\\\"@automatic\\\"],[\\\"username\\\",\\\"explorer.query_user\\\",[30,0,[\\\"order\\\"]],[28,[37,32],[[30,0,[\\\"sortDescending\\\"]]],null],\\\"true\\\"]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,\\\"th\\\"],[14,0,\\\"col heading group-names\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"group-names-header\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,2],[\\\"explorer.query_groups\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,\\\"th\\\"],[14,0,\\\"col heading created-at\\\"],[12],[1,\\\"\\\\n              \\\"],[11,0],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"heading-toggle\\\"],[4,[38,16],[\\\"click\\\",[28,[37,30],[[30,0,[\\\"updateSortProperty\\\"]],\\\"last_run_at\\\"],null]],null],[12],[1,\\\"\\\\n                \\\"],[8,[39,31],null,[[\\\"@field\\\",\\\"@labelKey\\\",\\\"@order\\\",\\\"@asc\\\",\\\"@automatic\\\"],[\\\"last_run_at\\\",\\\"explorer.query_time\\\",[30,0,[\\\"order\\\"]],[28,[37,32],[[30,0,[\\\"sortDescending\\\"]]],null],\\\"true\\\"]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,35],[[28,[37,35],[[30,0,[\\\"filteredContent\\\"]]],null]],null],null,[[[1,\\\"              \\\"],[10,\\\"tr\\\"],[14,0,\\\"query-row\\\"],[12],[1,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n                  \\\"],[11,3],[16,6,[29,[\\\"/admin/plugins/explorer/?id=\\\",[30,1,[\\\"id\\\"]]]]],[4,[38,16],[\\\"click\\\",[30,0,[\\\"scrollTop\\\"]]],null],[12],[1,\\\"\\\\n                    \\\"],[10,\\\"b\\\"],[14,0,\\\"query-name\\\"],[12],[1,[30,1,[\\\"name\\\"]]],[13],[1,\\\"\\\\n                    \\\"],[10,\\\"medium\\\"],[14,0,\\\"query-desc\\\"],[12],[1,[30,1,[\\\"description\\\"]]],[13],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"query-created-by\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"username\\\"]],[[[1,\\\"                    \\\"],[10,3],[15,6,[29,[\\\"/u/\\\",[30,1,[\\\"username\\\"]],\\\"/activity\\\"]]],[12],[1,\\\"\\\\n                      \\\"],[10,\\\"medium\\\"],[12],[1,[30,1,[\\\"username\\\"]]],[13],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"query-group-names\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,35],[[28,[37,35],[[30,1,[\\\"group_names\\\"]]],null]],null],null,[[[1,\\\"                    \\\"],[8,[39,40],null,[[\\\"@group\\\",\\\"@query\\\"],[[30,2],[30,1]]],null],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\"                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"query-created-at\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"last_run_at\\\"]],[[[1,\\\"                    \\\"],[10,\\\"medium\\\"],[12],[1,\\\"\\\\n                      \\\"],[1,[28,[35,41],[[30,1,[\\\"last_run_at\\\"]]],null]],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,1,[\\\"created_at\\\"]],[[[1,\\\"                    \\\"],[10,\\\"medium\\\"],[12],[1,\\\"\\\\n                      \\\"],[1,[28,[35,41],[[30,1,[\\\"created_at\\\"]]],null]],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n                  \\\"]],[]],null]],[]]],[1,\\\"                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],[[[1,\\\"              \\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"\\\\n              \\\"],[10,\\\"em\\\"],[14,0,\\\"no-search-results\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,2],[\\\"explorer.no_search_results\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"explorer-pad-bottom\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,[28,[32,0],[\\\"[[\\\\\\\"The `selectedItem` property path was used in the `discourse/plugins/discourse-data-explorer/discourse/templates/admin/plugins-explorer.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.selectedItem}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[\\\"query\\\",\\\"group\\\"],false,[\\\"if\\\",\\\"h1\\\",\\\"i18n\\\",\\\"unless\\\",\\\"div\\\",\\\"text-field\\\",\\\"d-button\\\",\\\"pick-files-button\\\",\\\"d-icon\\\",\\\"d-textarea\\\",\\\"a\\\",\\\"action\\\",\\\"span\\\",\\\"multi-select\\\",\\\"hash\\\",\\\"ace-editor\\\",\\\"on\\\",\\\"explorer-schema\\\",\\\"draggable\\\",\\\"code-view\\\",\\\"form\\\",\\\"param-inputs-wrapper\\\",\\\"label\\\",\\\"input\\\",\\\"hr\\\",\\\"conditional-loading-spinner\\\",\\\"query-results-wrapper\\\",\\\"table\\\",\\\"thead\\\",\\\"th\\\",\\\"fn\\\",\\\"table-header-toggle\\\",\\\"not\\\",\\\"tbody\\\",\\\"each\\\",\\\"-track-array\\\",\\\"tr\\\",\\\"td\\\",\\\"b\\\",\\\"medium\\\",\\\"share-report\\\",\\\"bound-date\\\",\\\"br\\\",\\\"em\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/templates/admin/plugins-explorer.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/templates/connectors/group-reports-nav-item/nav-item\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <LinkTo @route=\"group.reports\">\n    {{d-icon \"chart-bar\"}}{{i18n \"group.reports\"}}\n  </LinkTo>\n  */\n  {\n    \"id\": \"C6vpZXij\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@route\\\"],[\\\"group.reports\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[1,[28,[35,1],[\\\"chart-bar\\\"],null]],[1,[28,[35,2],[\\\"group.reports\\\"],null]],[1,\\\"\\\\n\\\"]],[]]]]]],[],false,[\\\"link-to\\\",\\\"d-icon\\\",\\\"i18n\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/templates/connectors/group-reports-nav-item/nav-item.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/templates/group-reports-index\", [\"exports\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _deprecationsHelper, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <section class=\"user-content\">\n    <table class=\"group-reports\">\n      <thead>\n        <th>\n          {{i18n \"explorer.report_name\"}}\n        </th>\n        <th>\n          {{i18n \"explorer.query_description\"}}\n        </th>\n        <th>\n          {{i18n \"explorer.query_time\"}}\n        </th>\n      </thead>\n      <tbody>\n        {{#each this.model.queries as |query|}}\n          <tr>\n            <td>\n              <LinkTo\n                @route=\"group.reports.show\"\n                @models={{array group.name query.id}}\n              >\n                {{query.name}}\n              </LinkTo>\n            </td>\n            <td>{{query.description}}</td>\n            <td>\n              {{#if query.last_run_at}}\n                {{bound-date query.last_run_at}}\n              {{/if}}\n            </td>\n          </tr>\n        {{/each}}\n      </tbody>\n    </table>\n  </section>\n  */\n  {\n    \"id\": \"6daf8TcJ\",\n    \"block\": \"[[[10,\\\"section\\\"],[14,0,\\\"user-content\\\"],[12],[1,\\\"\\\\n  \\\"],[10,\\\"table\\\"],[14,0,\\\"group-reports\\\"],[12],[1,\\\"\\\\n    \\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"th\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"explorer.report_name\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"th\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"explorer.query_description\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"th\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"explorer.query_time\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"model\\\",\\\"queries\\\"]]],null]],null],null,[[[1,\\\"        \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,10],null,[[\\\"@route\\\",\\\"@models\\\"],[\\\"group.reports.show\\\",[28,[37,11],[[30,0,[\\\"group\\\",\\\"name\\\"]],[30,1,[\\\"id\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[1,[30,1,[\\\"name\\\"]]],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[12],[1,[30,1,[\\\"description\\\"]]],[13],[1,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"last_run_at\\\"]],[[[1,\\\"              \\\"],[1,[28,[35,13],[[30,1,[\\\"last_run_at\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,[28,[32,0],[\\\"[[\\\\\\\"The `group` property path was used in the `discourse/plugins/discourse-data-explorer/discourse/templates/group-reports-index.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.group}}\\\\\\\",false,{\\\\\\\"id\\\\\\\":\\\\\\\"ember-this-fallback.this-property-fallback\\\\\\\",\\\\\\\"until\\\\\\\":\\\\\\\"n/a\\\\\\\",\\\\\\\"for\\\\\\\":\\\\\\\"ember-this-fallback\\\\\\\",\\\\\\\"url\\\\\\\":\\\\\\\"https://deprecations.emberjs.com/v3.x#toc_this-property-fallback\\\\\\\",\\\\\\\"since\\\\\\\":{\\\\\\\"available\\\\\\\":\\\\\\\"0.2.0\\\\\\\"}}]]\\\"],null]]],[\\\"query\\\"],false,[\\\"section\\\",\\\"table\\\",\\\"thead\\\",\\\"th\\\",\\\"i18n\\\",\\\"tbody\\\",\\\"each\\\",\\\"-track-array\\\",\\\"tr\\\",\\\"td\\\",\\\"link-to\\\",\\\"array\\\",\\\"if\\\",\\\"bound-date\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/templates/group-reports-index.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/discourse-data-explorer/discourse/templates/group-reports-show\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <section class=\"user-content\">\n    <h1>{{this.model.name}}</h1>\n    <p>{{this.model.description}}</p>\n  \n    <form class=\"query-run\" {{on \"submit\" this.run}}>\n      <ParamInputsWrapper\n        @hasParams={{this.hasParams}}\n        @params={{this.model.params}}\n        @initialValues={{this.parsedParams}}\n        @paramInfo={{this.model.param_info}}\n        @updateParams={{this.updateParams}}\n      />\n  \n      <DButton\n        @action={{this.run}}\n        @icon=\"play\"\n        @label=\"explorer.run\"\n        @type=\"submit\"\n        class=\"btn-primary\"\n      />\n  \n      <DButton\n        @action={{this.toggleBookmark}}\n        @label={{this.bookmarkLabel}}\n        @icon={{this.bookmarkIcon}}\n        class={{this.bookmarkClassName}}\n      />\n    </form>\n  \n    <ConditionalLoadingSpinner @condition={{this.loading}} />\n  \n    {{#if this.results}}\n      <div class=\"query-results\">\n        {{#if this.showResults}}\n          <QueryResult\n            @query={{this.model}}\n            @content={{this.results}}\n            @group={{this.group}}\n          />\n        {{else}}\n          {{#each this.results.errors as |err|}}\n            <pre class=\"query-error\"><code>{{~err}}</code></pre>\n          {{/each}}\n        {{/if}}\n      </div>\n    {{/if}}\n  </section>\n  */\n  {\n    \"id\": \"YfooNl+T\",\n    \"block\": \"[[[10,\\\"section\\\"],[14,0,\\\"user-content\\\"],[12],[1,\\\"\\\\n  \\\"],[10,\\\"h1\\\"],[12],[1,[30,0,[\\\"model\\\",\\\"name\\\"]]],[13],[1,\\\"\\\\n  \\\"],[10,2],[12],[1,[30,0,[\\\"model\\\",\\\"description\\\"]]],[13],[1,\\\"\\\\n\\\\n  \\\"],[11,\\\"form\\\"],[24,0,\\\"query-run\\\"],[4,[38,4],[\\\"submit\\\",[30,0,[\\\"run\\\"]]],null],[12],[1,\\\"\\\\n    \\\"],[8,[39,5],null,[[\\\"@hasParams\\\",\\\"@params\\\",\\\"@initialValues\\\",\\\"@paramInfo\\\",\\\"@updateParams\\\"],[[30,0,[\\\"hasParams\\\"]],[30,0,[\\\"model\\\",\\\"params\\\"]],[30,0,[\\\"parsedParams\\\"]],[30,0,[\\\"model\\\",\\\"param_info\\\"]],[30,0,[\\\"updateParams\\\"]]]],null],[1,\\\"\\\\n\\\\n    \\\"],[8,[39,6],[[24,0,\\\"btn-primary\\\"]],[[\\\"@action\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@type\\\"],[[30,0,[\\\"run\\\"]],\\\"play\\\",\\\"explorer.run\\\",\\\"submit\\\"]],null],[1,\\\"\\\\n\\\\n    \\\"],[8,[39,6],[[16,0,[30,0,[\\\"bookmarkClassName\\\"]]]],[[\\\"@action\\\",\\\"@label\\\",\\\"@icon\\\"],[[30,0,[\\\"toggleBookmark\\\"]],[30,0,[\\\"bookmarkLabel\\\"]],[30,0,[\\\"bookmarkIcon\\\"]]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,7],null,[[\\\"@condition\\\"],[[30,0,[\\\"loading\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"results\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"query-results\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showResults\\\"]],[[[1,\\\"        \\\"],[8,[39,10],null,[[\\\"@query\\\",\\\"@content\\\",\\\"@group\\\"],[[30,0,[\\\"model\\\"]],[30,0,[\\\"results\\\"]],[30,0,[\\\"group\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,12],[[28,[37,12],[[30,0,[\\\"results\\\",\\\"errors\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[10,\\\"pre\\\"],[14,0,\\\"query-error\\\"],[12],[10,\\\"code\\\"],[12],[1,[30,1]],[13],[13],[1,\\\"\\\\n\\\"]],[1]],null]],[]]],[1,\\\"    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"err\\\"],false,[\\\"section\\\",\\\"h1\\\",\\\"p\\\",\\\"form\\\",\\\"on\\\",\\\"param-inputs-wrapper\\\",\\\"d-button\\\",\\\"conditional-loading-spinner\\\",\\\"if\\\",\\\"div\\\",\\\"query-result\\\",\\\"each\\\",\\\"-track-array\\\",\\\"pre\\\",\\\"code\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-data-explorer/discourse/templates/group-reports-show.hbs\",\n    \"isStrictMode\": false\n  });\n});"],"mappings":"AAAAA,OAAA,qHAAAC,EAAAC,GACA;AAEAC,OAAAC,eAAAH,EAAA,cACAI,OAAA,IAEAJ,EAAAK,aAAA;AACAL,EAAAK,SAAA,EAAAJ,EAAAI,SAAA,YAAAC,OAAA,G,ICPAP,OAAA,+KAAAC,EAAAO,EAAAC,EAAAC,GACA;AAEAP,OAAAC,eAAAH,EAAA,cACAI,OAAA,IAEAJ,EAAAK,aAAA;AACA,MAAAK,GAAA,EAAAD,EAAAE,uBAIA,CACAC,GAAA,WACAC,MAAA,uHACAC,WAAA,+EACAC,cAAA;AAEAf,EAAAK,SAAA,EAAAE,EAAAS,sBAAAN,GAAA,EAAAF,EAAAH,cAAAY,EAAA,a,ICjBAlB,OAAA,sUAAAC,EAAAO,EAAAW,EAAAC,EAAAC,EAAAC,EAAAC,EA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