{"version":3,"file":"discourse-adplugin_admin.js","names":["define","_exports","Object","defineProperty","value","default","resource","path","map","this","route","_categorySelector","HouseAdsCategorySelector","selectedCategories","c","id","_object","_helpers","_multiSelect","extend","classNames","filterable","filterPlaceholder","tokenSeparator","allowCreate","allowAny","settingValue","valueAttribute","nameProperty","computed","toString","split","filter","Boolean","mutateValues","values","set","join","computeValues","content","makeArray","choices","actions","onChange","_component","_computed","_houseAdsSetting","_thisFallbackHelper","_tryLookupHelper","_isComponent","_deprecationsHelper","_templateFactory","__COLOCATED_TEMPLATE__","createTemplateFactory","block","moduleName","scope","isStrictMode","setComponentTemplate","adNames","mapBy","_ajax","_ajaxError","_I18n","adValue","saving","savingStatus","title","i18n","help","changed","propertyNotEqual","init","_super","arguments","get","save","setProperties","t","ajax","type","data","then","catch","popupAjaxError","finally","cancel","_template","_dModal","_i18n","_templateOnly","Preview","htmlSafe","_controller","adminPluginsHouseAds","inject","houseAds","alias","adSettings","_tracking","_service","_trackedBuiltIns","_object2","_category","_preview","_dec","_dec2","_class","_descriptor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","_descriptor7","_descriptor8","_initializerDefineProperty","target","property","descriptor","context","enumerable","configurable","writable","initializer","call","_applyDecoratedDescriptor","decorators","desc","keys","forEach","key","slice","reverse","reduce","decorator","undefined","observes","constructor","super","modelChanged","buffered","TrackedObject","model","categories","selectedGroups","group_ids","disabledSave","newRecord","name","html","visible_to_logged_in_users","visible_to_anons","category_ids","ajaxData","houseAdsController","house_ad","includes","pushObject","create","router","transitionTo","find","ad","error","setCategoryIds","categoryArray","setCategoriesForBuffered","setGroupIds","groupIds","destroy","removeObject","findBy","openPreview","modal","show","categoryId","findById","prototype","service","tracked","getOwnPropertyDescriptor","action","loadingAds","_discourse","_obj","moreSettings","params","ad_id","modelFor","parseInt","settings","house_ads","setupController","controller","houseAdsSettings"],"sources":["discourse/plugins/discourse-adplugin/discourse/adplugin-route-map.js","discourse/plugins/discourse-adplugin/discourse/components/house-ads-category-selector.js","discourse/plugins/discourse-adplugin/discourse/components/house-ads-chooser.js","discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting.js","discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting.js","discourse/plugins/discourse-adplugin/discourse/components/modal/preview.js","discourse/plugins/discourse-adplugin/discourse/controllers/admin-plugins-house-ads-index.js","discourse/plugins/discourse-adplugin/discourse/controllers/admin-plugins-house-ads-show.js","discourse/plugins/discourse-adplugin/discourse/controllers/admin-plugins-house-ads.js","discourse/plugins/discourse-adplugin/discourse/routes/admin-plugins-house-ads-index.js","discourse/plugins/discourse-adplugin/discourse/routes/admin-plugins-house-ads-show.js","discourse/plugins/discourse-adplugin/discourse/routes/admin-plugins-house-ads.js","discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-index.js","discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-show.js","discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads.js"],"sourcesContent":["define(\"discourse/plugins/discourse-adplugin/discourse/adplugin-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(\"houseAds\", {\n        path: \"/pluginad/house_creatives\"\n      }, function () {\n        this.route(\"index\", {\n          path: \"/\"\n        });\n        this.route(\"show\", {\n          path: \"/:ad_id\"\n        });\n      });\n    }\n  };\n});","define(\"discourse/plugins/discourse-adplugin/discourse/components/house-ads-category-selector\", [\"exports\", \"select-kit/components/category-selector\"], function (_exports, _categorySelector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class HouseAdsCategorySelector extends _categorySelector.default {\n    get value() {\n      return this.selectedCategories.map(c => c.id);\n    }\n  }\n  _exports.default = HouseAdsCategorySelector;\n});","define(\"discourse/plugins/discourse-adplugin/discourse/components/house-ads-chooser\", [\"exports\", \"@ember/object\", \"discourse-common/lib/helpers\", \"select-kit/components/multi-select\"], function (_exports, _object, _helpers, _multiSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _multiSelect.default.extend({\n    classNames: [\"house-ads-chooser\"],\n    filterable: true,\n    filterPlaceholder: \"admin.adplugin.house_ads.filter_placeholder\",\n    tokenSeparator: \"|\",\n    allowCreate: false,\n    allowAny: false,\n    settingValue: \"\",\n    valueAttribute: null,\n    nameProperty: null,\n    value: (0, _object.computed)(\"settingValue\", function () {\n      return this.settingValue.toString().split(this.tokenSeparator).filter(Boolean);\n    }),\n    // TODO: kept for legacy, remove when Discourse is 2.5\n    mutateValues(values) {\n      this.set(\"settingValue\", values.join(this.tokenSeparator));\n    },\n    computeValues() {\n      return this.settingValue.split(this.tokenSeparator).filter(Boolean);\n    },\n    content: (0, _object.computed)(\"choices\", function () {\n      return (0, _helpers.makeArray)(this.choices);\n    }),\n    actions: {\n      onChange(value) {\n        const settingValue = (0, _helpers.makeArray)(value).join(this.tokenSeparator);\n        this.onChange?.(settingValue);\n      }\n    }\n  });\n});","define(\"discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting\", [\"exports\", \"@ember/component\", \"@ember/object/computed\", \"discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting\", \"ember-this-fallback/this-fallback-helper\", \"ember-this-fallback/try-lookup-helper\", \"ember-this-fallback/is-component\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _component, _computed, _houseAdsSetting, _thisFallbackHelper, _tryLookupHelper, _isComponent, _deprecationsHelper, _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    <label for={{name}}>{{title}}</label>\n  {{house-ads-chooser\n    settingValue=adValue\n    choices=adNames\n    onChange=(action (mut adValue))\n  }}\n  <div class=\"setting-controls\">\n    {{#if changed}}\n      <DButton class=\"ok\" @action={{action \"save\"}} @icon=\"check\" />\n      <DButton class=\"cancel\" @action={{action \"cancel\"}} @icon=\"times\" />\n    {{/if}}\n  </div>\n  <p class=\"help\">{{help}}</p>\n  */\n  {\n    \"id\": \"3cPEy714\",\n    \"block\": \"[[[44,[[28,[37,1],null,[[\\\"name\\\"],[[28,[32,0],[\\\"name\\\"],null]]]]],[[[10,\\\"label\\\"],[15,\\\"for\\\",[52,[30,1,[\\\"name\\\"]],[28,[30,1,[\\\"name\\\"]],null,null],[28,[32,1],[[30,0],\\\"name\\\",\\\"[\\\\\\\"The `name` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting.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.name}}\\\\\\\",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]]],[12],[41,[28,[32,2],[\\\"title\\\"],null],[[[8,[39,3],null,null,null]],[]],[[[44,[[28,[37,1],null,[[\\\"title\\\"],[[28,[32,0],[\\\"title\\\"],null]]]]],[[[1,[52,[30,2,[\\\"title\\\"]],[28,[30,2,[\\\"title\\\"]],null,null],[28,[32,1],[[30,0],\\\"title\\\",\\\"[\\\\\\\"The `title` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting.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.title}}\\\\\\\",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]]]],[2]]]],[]]],[13]],[1]]],[1,\\\"\\\\n\\\"],[1,[28,[35,4],null,[[\\\"settingValue\\\",\\\"choices\\\",\\\"onChange\\\"],[[30,0,[\\\"adValue\\\"]],[30,0,[\\\"adNames\\\"]],[28,[37,5],[[30,0],[28,[37,6],[[30,0,[\\\"adValue\\\"]]],null]],null]]]]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"setting-controls\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"changed\\\"]],[[[1,\\\"    \\\"],[8,[39,7],[[24,0,\\\"ok\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[28,[37,5],[[30,0],\\\"save\\\"],null],\\\"check\\\"]],null],[1,\\\"\\\\n    \\\"],[8,[39,7],[[24,0,\\\"cancel\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[28,[37,5],[[30,0],\\\"cancel\\\"],null],\\\"times\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\"],[10,2],[14,0,\\\"help\\\"],[12],[41,[28,[32,2],[\\\"help\\\"],null],[[[8,[39,8],null,null,null]],[]],[[[44,[[28,[37,1],null,[[\\\"help\\\"],[[28,[32,0],[\\\"help\\\"],null]]]]],[[[1,[52,[30,3,[\\\"help\\\"]],[28,[30,3,[\\\"help\\\"]],null,null],[28,[32,1],[[30,0],\\\"help\\\",\\\"[\\\\\\\"The `help` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting.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.help}}\\\\\\\",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]]]],[3]]]],[]]],[13],[1,[28,[32,3],[\\\"[[\\\\\\\"The `adValue` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting.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.adValue}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adNames` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting.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.adNames}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adValue` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting.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.adValue}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `changed` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting.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.changed}}\\\\\\\",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]]],[\\\"maybeHelpers\\\",\\\"maybeHelpers0\\\",\\\"maybeHelpers\\\"],false,[\\\"let\\\",\\\"hash\\\",\\\"if\\\",\\\"title\\\",\\\"house-ads-chooser\\\",\\\"action\\\",\\\"mut\\\",\\\"d-button\\\",\\\"help\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-adplugin/discourse/components/house-ads-list-setting.hbs\",\n    \"scope\": () => [_tryLookupHelper.default, _thisFallbackHelper.default, _isComponent.default, _deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, _houseAdsSetting.default.extend({\n    classNames: \"house-ads-setting house-ads-list-setting\",\n    adNames: (0, _computed.mapBy)(\"allAds\", \"name\")\n  }));\n});","define(\"discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting\", [\"exports\", \"@ember/component\", \"discourse/lib/ajax\", \"discourse/lib/ajax-error\", \"discourse/lib/computed\", \"I18n\", \"ember-this-fallback/this-fallback-helper\", \"ember-this-fallback/try-lookup-helper\", \"ember-this-fallback/is-component\", \"ember-this-fallback/deprecations-helper\", \"@ember/template-factory\"], function (_exports, _component, _ajax, _ajaxError, _computed, _I18n, _thisFallbackHelper, _tryLookupHelper, _isComponent, _deprecationsHelper, _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    <label for={{name}}>{{title}}</label>\n  <TextField @value={{adValue}} @classNames=\"house-ads-text-input\" />\n  <div class=\"setting-controls\">\n    {{#if changed}}\n      <DButton class=\"ok\" @action={{action \"save\"}} @icon=\"check\" />\n      <DButton class=\"cancel\" @action={{action \"cancel\"}} @icon=\"times\" />\n    {{/if}}\n  </div>\n  <p class=\"help\">{{help}}</p>\n  */\n  {\n    \"id\": \"OwUU7dQG\",\n    \"block\": \"[[[44,[[28,[37,1],null,[[\\\"name\\\"],[[28,[32,0],[\\\"name\\\"],null]]]]],[[[10,\\\"label\\\"],[15,\\\"for\\\",[52,[30,1,[\\\"name\\\"]],[28,[30,1,[\\\"name\\\"]],null,null],[28,[32,1],[[30,0],\\\"name\\\",\\\"[\\\\\\\"The `name` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting.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.name}}\\\\\\\",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]]],[12],[41,[28,[32,2],[\\\"title\\\"],null],[[[8,[39,3],null,null,null]],[]],[[[44,[[28,[37,1],null,[[\\\"title\\\"],[[28,[32,0],[\\\"title\\\"],null]]]]],[[[1,[52,[30,2,[\\\"title\\\"]],[28,[30,2,[\\\"title\\\"]],null,null],[28,[32,1],[[30,0],\\\"title\\\",\\\"[\\\\\\\"The `title` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting.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.title}}\\\\\\\",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]]]],[2]]]],[]]],[13]],[1]]],[1,\\\"\\\\n\\\"],[8,[39,4],null,[[\\\"@value\\\",\\\"@classNames\\\"],[[30,0,[\\\"adValue\\\"]],\\\"house-ads-text-input\\\"]],null],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"setting-controls\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"changed\\\"]],[[[1,\\\"    \\\"],[8,[39,5],[[24,0,\\\"ok\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[28,[37,6],[[30,0],\\\"save\\\"],null],\\\"check\\\"]],null],[1,\\\"\\\\n    \\\"],[8,[39,5],[[24,0,\\\"cancel\\\"]],[[\\\"@action\\\",\\\"@icon\\\"],[[28,[37,6],[[30,0],\\\"cancel\\\"],null],\\\"times\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\"],[10,2],[14,0,\\\"help\\\"],[12],[41,[28,[32,2],[\\\"help\\\"],null],[[[8,[39,7],null,null,null]],[]],[[[44,[[28,[37,1],null,[[\\\"help\\\"],[[28,[32,0],[\\\"help\\\"],null]]]]],[[[1,[52,[30,3,[\\\"help\\\"]],[28,[30,3,[\\\"help\\\"]],null,null],[28,[32,1],[[30,0],\\\"help\\\",\\\"[\\\\\\\"The `help` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting.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.help}}\\\\\\\",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]]]],[3]]]],[]]],[13],[1,[28,[32,3],[\\\"[[\\\\\\\"The `adValue` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting.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.adValue}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `changed` property path was used in the `discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting.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.changed}}\\\\\\\",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]]],[\\\"maybeHelpers\\\",\\\"maybeHelpers0\\\",\\\"maybeHelpers\\\"],false,[\\\"let\\\",\\\"hash\\\",\\\"if\\\",\\\"title\\\",\\\"text-field\\\",\\\"d-button\\\",\\\"action\\\",\\\"help\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting.hbs\",\n    \"scope\": () => [_tryLookupHelper.default, _thisFallbackHelper.default, _isComponent.default, _deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, _component.default.extend({\n    classNames: \"house-ads-setting\",\n    adValue: \"\",\n    saving: false,\n    savingStatus: \"\",\n    title: (0, _computed.i18n)(\"name\", \"admin.adplugin.house_ads.%@.title\"),\n    help: (0, _computed.i18n)(\"name\", \"admin.adplugin.house_ads.%@.description\"),\n    changed: (0, _computed.propertyNotEqual)(\"adValue\", \"value\"),\n    init() {\n      this._super(...arguments);\n      this.set(\"adValue\", this.get(\"value\"));\n    },\n    actions: {\n      save() {\n        if (!this.get(\"saving\")) {\n          this.setProperties({\n            saving: true,\n            savingStatus: _I18n.default.t(\"saving\")\n          });\n          (0, _ajax.ajax)(`/admin/plugins/pluginad/house_settings/${this.get(\"name\")}.json`, {\n            type: \"PUT\",\n            data: {\n              value: this.get(\"adValue\")\n            }\n          }).then(() => {\n            const adSettings = this.get(\"adSettings\");\n            adSettings.set(this.get(\"name\"), this.get(\"adValue\"));\n            this.setProperties({\n              value: this.get(\"adValue\"),\n              savingStatus: _I18n.default.t(\"saved\")\n            });\n          }).catch(_ajaxError.popupAjaxError).finally(() => {\n            this.setProperties({\n              saving: false,\n              savingStatus: \"\"\n            });\n          });\n        }\n      },\n      cancel() {\n        this.set(\"adValue\", this.get(\"value\"));\n      }\n    }\n  }));\n});","define(\"discourse/plugins/discourse-adplugin/discourse/components/modal/preview\", [\"exports\", \"@ember/template\", \"discourse/components/d-modal\", \"discourse-common/helpers/i18n\", \"@ember/template-factory\", \"@ember/component\", \"@ember/component/template-only\"], function (_exports, _template, _dModal, _i18n, _templateFactory, _component, _templateOnly) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const Preview = (0, _component.setComponentTemplate)((0, _templateFactory.createTemplateFactory)(\n  /*\n    \n    <DModal\n      @closeModal={{@closeModal}}\n      @title={{i18n \"admin.adplugin.house_ads.preview\"}}\n    >\n      <:body>\n        <div class=\"house-ad-preview\">\n          {{htmlSafe @model.html}}\n        </div>\n      </:body>\n    </DModal>\n  \n  */\n  {\n    \"id\": \"rprbfKE8\",\n    \"block\": \"[[[1,\\\"\\\\n  \\\"],[8,[32,0],null,[[\\\"@closeModal\\\",\\\"@title\\\"],[[30,1],[28,[32,1],[\\\"admin.adplugin.house_ads.preview\\\"],null]]],[[\\\"body\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"house-ad-preview\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[32,2],[[30,2,[\\\"html\\\"]]],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[\\\"@closeModal\\\",\\\"@model\\\"],false,[]]\",\n    \"moduleName\": \"/var/www/discourse/app/assets/javascripts/discourse/discourse/plugins/discourse-adplugin/discourse/components/modal/preview.js\",\n    \"scope\": () => [_dModal.default, _i18n.default, _template.htmlSafe],\n    \"isStrictMode\": true\n  }), (0, _templateOnly.default)());\n  var _default = _exports.default = Preview;\n});","define(\"discourse/plugins/discourse-adplugin/discourse/controllers/admin-plugins-house-ads-index\", [\"exports\", \"@ember/controller\", \"@ember/object/computed\"], function (_exports, _controller, _computed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    adminPluginsHouseAds: (0, _controller.inject)(\"adminPlugins.houseAds\"),\n    houseAds: (0, _computed.alias)(\"adminPluginsHouseAds.model\"),\n    adSettings: (0, _computed.alias)(\"adminPluginsHouseAds.houseAdsSettings\")\n  });\n});","define(\"discourse/plugins/discourse-adplugin/discourse/controllers/admin-plugins-house-ads-show\", [\"exports\", \"@glimmer/tracking\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@ember-compat/tracked-built-ins\", \"@ember-decorators/object\", \"discourse/lib/ajax\", \"discourse/lib/ajax-error\", \"discourse/models/category\", \"I18n\", \"discourse/plugins/discourse-adplugin/discourse/components/modal/preview\"], function (_exports, _tracking, _controller, _object, _service, _trackedBuiltIns, _object2, _ajax, _ajaxError, _category, _I18n, _preview) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n  function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }\n  let adminPluginsHouseAdsShow = _exports.default = (_dec = (0, _controller.inject)(\"adminPlugins.houseAds\"), _dec2 = (0, _object2.observes)(\"model\"), (_class = class adminPluginsHouseAdsShow extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n      _initializerDefineProperty(this, \"modal\", _descriptor2, this);\n      _initializerDefineProperty(this, \"houseAdsController\", _descriptor3, this);\n      _initializerDefineProperty(this, \"selectedCategories\", _descriptor4, this);\n      _initializerDefineProperty(this, \"selectedGroups\", _descriptor5, this);\n      _initializerDefineProperty(this, \"saving\", _descriptor6, this);\n      _initializerDefineProperty(this, \"savingStatus\", _descriptor7, this);\n      _initializerDefineProperty(this, \"buffered\", _descriptor8, this);\n    }\n    modelChanged() {\n      this.buffered = new _trackedBuiltIns.TrackedObject({\n        ...this.model\n      });\n      this.selectedCategories = this.model.categories || [];\n      this.selectedGroups = this.model.group_ids || [];\n    }\n    get disabledSave() {\n      for (const key in this.buffered) {\n        // we don't want to compare the categories array\n        if (key !== \"categories\" && this.buffered[key] !== this.model[key]) {\n          return false;\n        }\n      }\n      return true;\n    }\n    async save() {\n      if (!this.saving) {\n        this.saving = true;\n        this.savingStatus = _I18n.default.t(\"saving\");\n        const data = {};\n        const newRecord = !this.buffered.id;\n        if (!newRecord) {\n          data.id = this.buffered.id;\n        }\n        data.name = this.buffered.name;\n        data.html = this.buffered.html;\n        data.visible_to_logged_in_users = this.buffered.visible_to_logged_in_users;\n        data.visible_to_anons = this.buffered.visible_to_anons;\n        data.category_ids = this.buffered.category_ids;\n        data.group_ids = this.buffered.group_ids;\n        try {\n          const ajaxData = await (0, _ajax.ajax)(newRecord ? `/admin/plugins/pluginad/house_creatives` : `/admin/plugins/pluginad/house_creatives/${this.buffered.id}`, {\n            type: newRecord ? \"POST\" : \"PUT\",\n            data\n          });\n          this.savingStatus = _I18n.default.t(\"saved\");\n          const houseAds = this.houseAdsController.model;\n          if (newRecord) {\n            this.buffered.id = ajaxData.house_ad.id;\n            if (!houseAds.includes(this.buffered)) {\n              houseAds.pushObject(_object.default.create(this.buffered));\n            }\n            this.router.transitionTo(\"adminPlugins.houseAds.show\", this.buffered.id);\n          } else {\n            houseAds.find(ad => ad.id === this.buffered.id).setProperties(this.buffered);\n          }\n        } catch (error) {\n          (0, _ajaxError.popupAjaxError)(error);\n        } finally {\n          this.set(\"model\", this.buffered);\n          this.saving = false;\n          this.savingStatus = \"\";\n        }\n      }\n    }\n    setCategoryIds(categoryArray) {\n      this.selectedCategories = categoryArray;\n      this.buffered.category_ids = categoryArray.map(c => c.id);\n      this.setCategoriesForBuffered();\n    }\n    setGroupIds(groupIds) {\n      this.selectedGroups = groupIds;\n      this.buffered.group_ids = groupIds.map(id => id);\n    }\n    cancel() {\n      this.buffered = new _trackedBuiltIns.TrackedObject({\n        ...this.model\n      });\n      this.selectedCategories = this.model.categories || [];\n      this.selectedGroups = this.model.group_ids || [];\n      this.setCategoriesForBuffered();\n    }\n    async destroy() {\n      if (!this.buffered.id) {\n        this.router.transitionTo(\"adminPlugins.houseAds.index\");\n        return;\n      }\n      try {\n        await (0, _ajax.ajax)(`/admin/plugins/pluginad/house_creatives/${this.buffered.id}`, {\n          type: \"DELETE\"\n        });\n        this.houseAdsController.model.removeObject(this.houseAdsController.model.findBy(\"id\", this.buffered.id));\n        this.router.transitionTo(\"adminPlugins.houseAds.index\");\n      } catch (error) {\n        (0, _ajaxError.popupAjaxError)(error);\n      }\n    }\n    openPreview() {\n      this.modal.show(_preview.default, {\n        model: {\n          html: this.buffered.html\n        }\n      });\n    }\n    setCategoriesForBuffered() {\n      // we need to fetch the categories because the serializer is not being used\n      // to attach the category object to the house ads\n      this.buffered.categories = this.buffered.category_ids ? this.buffered.category_ids.map(categoryId => _category.default.findById(categoryId)) : [];\n    }\n  }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"modal\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"houseAdsController\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"selectedCategories\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"selectedGroups\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"saving\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"savingStatus\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return \"\";\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"buffered\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"modelChanged\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"modelChanged\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"save\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"save\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setCategoryIds\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setCategoryIds\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setGroupIds\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setGroupIds\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancel\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancel\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"destroy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"destroy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openPreview\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openPreview\"), _class.prototype)), _class));\n});","define(\"discourse/plugins/discourse-adplugin/discourse/controllers/admin-plugins-house-ads\", [\"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  var _default = _exports.default = _controller.default.extend({\n    loadingAds: true\n  });\n});","define(\"discourse/plugins/discourse-adplugin/discourse/routes/admin-plugins-house-ads-index\", [\"exports\", \"@ember/object\", \"@ember/service\", \"discourse/routes/discourse\"], function (_exports, _object, _service, _discourse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _obj;\n  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n  var _default = _exports.default = _discourse.default.extend((_obj = {\n    router: (0, _service.inject)(),\n    moreSettings() {\n      this.router.transitionTo(\"adminSiteSettingsCategory\", \"ad_plugin\");\n    }\n  }, (_applyDecoratedDescriptor(_obj, \"moreSettings\", [_object.action], Object.getOwnPropertyDescriptor(_obj, \"moreSettings\"), _obj)), _obj));\n});","define(\"discourse/plugins/discourse-adplugin/discourse/routes/admin-plugins-house-ads-show\", [\"exports\", \"@ember-compat/tracked-built-ins\", \"discourse/routes/discourse\", \"I18n\"], function (_exports, _trackedBuiltIns, _discourse, _I18n) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _discourse.default.extend({\n    model(params) {\n      if (params.ad_id === \"new\") {\n        return new _trackedBuiltIns.TrackedObject({\n          name: _I18n.default.t(\"admin.adplugin.house_ads.new_name\"),\n          html: \"\",\n          visible_to_logged_in_users: true,\n          visible_to_anons: true\n        });\n      } else {\n        return new _trackedBuiltIns.TrackedObject(this.modelFor(\"adminPlugins.houseAds\").findBy(\"id\", parseInt(params.ad_id, 10)));\n      }\n    }\n  });\n});","define(\"discourse/plugins/discourse-adplugin/discourse/routes/admin-plugins-house-ads\", [\"exports\", \"@ember/object\", \"discourse/lib/ajax\", \"discourse/routes/discourse\"], function (_exports, _object, _ajax, _discourse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _discourse.default.extend({\n    settings: null,\n    model() {\n      return (0, _ajax.ajax)(\"/admin/plugins/pluginad/house_creatives.json\").then(data => {\n        this.set(\"settings\", _object.default.create(data.settings));\n        return data.house_ads.map(ad => _object.default.create(ad));\n      });\n    },\n    setupController(controller, model) {\n      controller.setProperties({\n        model,\n        houseAdsSettings: this.get(\"settings\"),\n        loadingAds: false\n      });\n    }\n  });\n});","define(\"discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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=\"house-ads-settings content-body\">\n    <div>{{i18n \"admin.adplugin.house_ads.description\"}}</div>\n  \n    {{#if houseAds.length}}\n      <form class=\"form-horizontal\">\n        {{house-ads-list-setting\n          name=\"topic_list_top\"\n          value=adSettings.topic_list_top\n          allAds=houseAds\n          adSettings=adSettings\n        }}\n        {{house-ads-list-setting\n          name=\"topic_above_post_stream\"\n          value=adSettings.topic_above_post_stream\n          allAds=houseAds\n          adSettings=adSettings\n        }}\n        {{house-ads-list-setting\n          name=\"topic_above_suggested\"\n          value=adSettings.topic_above_suggested\n          allAds=houseAds\n          adSettings=adSettings\n        }}\n        {{house-ads-list-setting\n          name=\"post_bottom\"\n          value=adSettings.post_bottom\n          allAds=houseAds\n          adSettings=adSettings\n        }}\n        {{house-ads-list-setting\n          name=\"topic_list_between\"\n          value=adSettings.topic_list_between\n          allAds=houseAds\n          adSettings=adSettings\n        }}\n  \n        <DButton\n          @label=\"admin.adplugin.house_ads.more_settings\"\n          @icon=\"cog\"\n          @action={{route-action \"moreSettings\"}}\n          class=\"btn-default\"\n        />\n      </form>\n    {{else}}\n      <p>\n        {{#link-to route=\"adminPlugins.houseAds.show\" model=\"new\"}}\n          {{i18n \"admin.adplugin.house_ads.get_started\"}}\n        {{/link-to}}\n      </p>\n    {{/if}}\n  </section>\n  */\n  {\n    \"id\": \"hUctnxvD\",\n    \"block\": \"[[[10,\\\"section\\\"],[14,0,\\\"house-ads-settings content-body\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[12],[1,[28,[35,0],[\\\"admin.adplugin.house_ads.description\\\"],null]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"houseAds\\\",\\\"length\\\"]],[[[1,\\\"    \\\"],[10,\\\"form\\\"],[14,0,\\\"form-horizontal\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,2],null,[[\\\"name\\\",\\\"value\\\",\\\"allAds\\\",\\\"adSettings\\\"],[\\\"topic_list_top\\\",[30,0,[\\\"adSettings\\\",\\\"topic_list_top\\\"]],[30,0,[\\\"houseAds\\\"]],[30,0,[\\\"adSettings\\\"]]]]]],[1,\\\"\\\\n      \\\"],[1,[28,[35,2],null,[[\\\"name\\\",\\\"value\\\",\\\"allAds\\\",\\\"adSettings\\\"],[\\\"topic_above_post_stream\\\",[30,0,[\\\"adSettings\\\",\\\"topic_above_post_stream\\\"]],[30,0,[\\\"houseAds\\\"]],[30,0,[\\\"adSettings\\\"]]]]]],[1,\\\"\\\\n      \\\"],[1,[28,[35,2],null,[[\\\"name\\\",\\\"value\\\",\\\"allAds\\\",\\\"adSettings\\\"],[\\\"topic_above_suggested\\\",[30,0,[\\\"adSettings\\\",\\\"topic_above_suggested\\\"]],[30,0,[\\\"houseAds\\\"]],[30,0,[\\\"adSettings\\\"]]]]]],[1,\\\"\\\\n      \\\"],[1,[28,[35,2],null,[[\\\"name\\\",\\\"value\\\",\\\"allAds\\\",\\\"adSettings\\\"],[\\\"post_bottom\\\",[30,0,[\\\"adSettings\\\",\\\"post_bottom\\\"]],[30,0,[\\\"houseAds\\\"]],[30,0,[\\\"adSettings\\\"]]]]]],[1,\\\"\\\\n      \\\"],[1,[28,[35,2],null,[[\\\"name\\\",\\\"value\\\",\\\"allAds\\\",\\\"adSettings\\\"],[\\\"topic_list_between\\\",[30,0,[\\\"adSettings\\\",\\\"topic_list_between\\\"]],[30,0,[\\\"houseAds\\\"]],[30,0,[\\\"adSettings\\\"]]]]]],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,3],[[24,0,\\\"btn-default\\\"]],[[\\\"@label\\\",\\\"@icon\\\",\\\"@action\\\"],[\\\"admin.adplugin.house_ads.more_settings\\\",\\\"cog\\\",[28,[37,4],[\\\"moreSettings\\\"],null]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[10,2],[12],[1,\\\"\\\\n\\\"],[6,[39,5],null,[[\\\"route\\\",\\\"model\\\"],[\\\"adminPlugins.houseAds.show\\\",\\\"new\\\"]],[[\\\"default\\\"],[[[[1,\\\"        \\\"],[1,[28,[35,0],[\\\"admin.adplugin.house_ads.get_started\\\"],null]],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"    \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[13],[1,[28,[32,0],[\\\"[[\\\\\\\"The `houseAds` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.houseAds}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `houseAds` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.houseAds}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `houseAds` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.houseAds}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `houseAds` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.houseAds}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `houseAds` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.houseAds}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `houseAds` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.houseAds}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `adSettings` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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.adSettings}}\\\\\\\",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]]],[],false,[\\\"i18n\\\",\\\"if\\\",\\\"house-ads-list-setting\\\",\\\"d-button\\\",\\\"route-action\\\",\\\"link-to\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-index.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-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=\"edit-house-ad content-body\">\n    <h1><TextField @value={{this.buffered.name}} class=\"house-ad-name\" /></h1>\n    <div class=\"controls\">\n      <AceEditor @content={{this.buffered.html}} @mode=\"html\" />\n    </div>\n    <div class=\"controls\">\n      <div class=\"visibility-settings\">\n        <div>\n          <Input\n            @type=\"checkbox\"\n            @checked={{this.buffered.visible_to_logged_in_users}}\n            class=\"visible-to-logged-in-checkbox\"\n          />\n          <span>{{i18n \"admin.adplugin.house_ads.show_to_logged_in_users\"}}</span>\n        </div>\n  \n        <div>\n          <Input\n            class=\"visible-to-anonymous-checkbox\"\n            @type=\"checkbox\"\n            @checked={{this.buffered.visible_to_anons}}\n          />\n          <span>{{i18n \"admin.adplugin.house_ads.show_to_anons\"}}</span>\n        </div>\n  \n        <HouseAdsCategorySelector\n          @categories={{this.site.categories}}\n          @selectedCategories={{this.selectedCategories}}\n          @onChange={{this.setCategoryIds}}\n          @options={{hash allowAny=true}}\n          class=\"house-ads-categories\"\n        />\n        <div class=\"description\">\n          {{i18n \"admin.adplugin.house_ads.category_chooser_description\"}}\n        </div>\n  \n        <GroupChooser\n          @content={{this.site.groups}}\n          @onChange={{this.setGroupIds}}\n          @value={{this.selectedGroups}}\n          class=\"banner-groups\"\n        />\n        <div class=\"description\">\n          {{i18n \"admin.adplugin.house_ads.group_chooser_description\"}}\n        </div>\n      </div>\n  \n      <DButton\n        @action={{this.save}}\n        @disabled={{this.disabledSave}}\n        @label=\"admin.adplugin.house_ads.save\"\n        class=\"btn-primary save-button\"\n      />\n  \n      {{#if this.saving}}\n        {{this.savingStatus}}\n      {{else}}\n        {{#unless this.disabledSave}}\n          <DButton @action={{this.cancel}} @label=\"cancel\" />\n        {{/unless}}\n      {{/if}}\n  \n      <DButton\n        @action={{this.openPreview}}\n        @label=\"admin.adplugin.house_ads.preview\"\n      />\n  \n      <DButton\n        @action={{this.destroy}}\n        @label=\"admin.adplugin.house_ads.delete\"\n        class=\"btn-danger delete-button\"\n      />\n    </div>\n  </section>\n  */\n  {\n    \"id\": \"VRrchGuX\",\n    \"block\": \"[[[10,\\\"section\\\"],[14,0,\\\"edit-house-ad content-body\\\"],[12],[1,\\\"\\\\n  \\\"],[10,\\\"h1\\\"],[12],[8,[39,0],[[24,0,\\\"house-ad-name\\\"]],[[\\\"@value\\\"],[[30,0,[\\\"buffered\\\",\\\"name\\\"]]]],null],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"controls\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,1],null,[[\\\"@content\\\",\\\"@mode\\\"],[[30,0,[\\\"buffered\\\",\\\"html\\\"]],\\\"html\\\"]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"controls\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"visibility-settings\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[12],[1,\\\"\\\\n        \\\"],[8,[39,2],[[24,0,\\\"visible-to-logged-in-checkbox\\\"]],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[30,0,[\\\"buffered\\\",\\\"visible_to_logged_in_users\\\"]]]],null],[1,\\\"\\\\n        \\\"],[10,1],[12],[1,[28,[35,3],[\\\"admin.adplugin.house_ads.show_to_logged_in_users\\\"],null]],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[12],[1,\\\"\\\\n        \\\"],[8,[39,2],[[24,0,\\\"visible-to-anonymous-checkbox\\\"]],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[30,0,[\\\"buffered\\\",\\\"visible_to_anons\\\"]]]],null],[1,\\\"\\\\n        \\\"],[10,1],[12],[1,[28,[35,3],[\\\"admin.adplugin.house_ads.show_to_anons\\\"],null]],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,4],[[24,0,\\\"house-ads-categories\\\"]],[[\\\"@categories\\\",\\\"@selectedCategories\\\",\\\"@onChange\\\",\\\"@options\\\"],[[30,0,[\\\"site\\\",\\\"categories\\\"]],[30,0,[\\\"selectedCategories\\\"]],[30,0,[\\\"setCategoryIds\\\"]],[28,[37,5],null,[[\\\"allowAny\\\"],[true]]]]],null],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"description\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,3],[\\\"admin.adplugin.house_ads.category_chooser_description\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,6],[[24,0,\\\"banner-groups\\\"]],[[\\\"@content\\\",\\\"@onChange\\\",\\\"@value\\\"],[[30,0,[\\\"site\\\",\\\"groups\\\"]],[30,0,[\\\"setGroupIds\\\"]],[30,0,[\\\"selectedGroups\\\"]]]],null],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"description\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,3],[\\\"admin.adplugin.house_ads.group_chooser_description\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[8,[39,7],[[24,0,\\\"btn-primary save-button\\\"]],[[\\\"@action\\\",\\\"@disabled\\\",\\\"@label\\\"],[[30,0,[\\\"save\\\"]],[30,0,[\\\"disabledSave\\\"]],\\\"admin.adplugin.house_ads.save\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"saving\\\"]],[[[1,\\\"      \\\"],[1,[30,0,[\\\"savingStatus\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[51,[30,0,[\\\"disabledSave\\\"]]],[[[1,\\\"        \\\"],[8,[39,7],null,[[\\\"@action\\\",\\\"@label\\\"],[[30,0,[\\\"cancel\\\"]],\\\"cancel\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"\\\\n    \\\"],[8,[39,7],null,[[\\\"@action\\\",\\\"@label\\\"],[[30,0,[\\\"openPreview\\\"]],\\\"admin.adplugin.house_ads.preview\\\"]],null],[1,\\\"\\\\n\\\\n    \\\"],[8,[39,7],[[24,0,\\\"btn-danger delete-button\\\"]],[[\\\"@action\\\",\\\"@label\\\"],[[30,0,[\\\"destroy\\\"]],\\\"admin.adplugin.house_ads.delete\\\"]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"text-field\\\",\\\"ace-editor\\\",\\\"input\\\",\\\"i18n\\\",\\\"house-ads-category-selector\\\",\\\"hash\\\",\\\"group-chooser\\\",\\\"d-button\\\",\\\"if\\\",\\\"unless\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads-show.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads\", [\"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    <div class=\"adplugin-mgmt\">\n    <h1>{{i18n \"admin.adplugin.house_ads.title\"}}</h1>\n    {{#if model.length}}\n      <div class=\"content-list\">\n        <div class=\"house-ads-actions\">\n          <LinkTo\n            @route=\"adminPlugins.houseAds.show\"\n            @model=\"new\"\n            class=\"btn btn-primary\"\n          >\n            {{d-icon \"plus\"}}\n            <span>{{i18n \"admin.adplugin.house_ads.new\"}}</span>\n          </LinkTo>\n          <LinkTo @route=\"adminPlugins.houseAds.index\" class=\"btn btn-default\">\n            {{d-icon \"cog\"}}\n            <span>{{i18n \"admin.adplugin.house_ads.settings\"}}</span>\n          </LinkTo>\n        </div>\n        <ul class=\"house-ads-list\">\n          {{#each model as |ad|}}\n            <li class=\"house-ads-list-item\">\n              {{#link-to route=\"adminPlugins.houseAds.show\" model=ad.id}}\n                {{ad.name}}\n              {{/link-to}}\n            </li>\n          {{/each}}\n        </ul>\n      </div>\n    {{/if}}\n    {{outlet}}\n  </div>\n  */\n  {\n    \"id\": \"+vQOSVMD\",\n    \"block\": \"[[[10,0],[14,0,\\\"adplugin-mgmt\\\"],[12],[1,\\\"\\\\n  \\\"],[10,\\\"h1\\\"],[12],[1,[28,[35,0],[\\\"admin.adplugin.house_ads.title\\\"],null]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"model\\\",\\\"length\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"content-list\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"house-ads-actions\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,2],[[24,0,\\\"btn btn-primary\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"adminPlugins.houseAds.show\\\",\\\"new\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[1,[28,[35,3],[\\\"plus\\\"],null]],[1,\\\"\\\\n          \\\"],[10,1],[12],[1,[28,[35,0],[\\\"admin.adplugin.house_ads.new\\\"],null]],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[8,[39,2],[[24,0,\\\"btn btn-default\\\"]],[[\\\"@route\\\"],[\\\"adminPlugins.houseAds.index\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[1,[28,[35,3],[\\\"cog\\\"],null]],[1,\\\"\\\\n          \\\"],[10,1],[12],[1,[28,[35,0],[\\\"admin.adplugin.house_ads.settings\\\"],null]],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"ul\\\"],[14,0,\\\"house-ads-list\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,5],[[28,[37,5],[[30,0,[\\\"model\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[10,\\\"li\\\"],[14,0,\\\"house-ads-list-item\\\"],[12],[1,\\\"\\\\n\\\"],[6,[39,2],null,[[\\\"route\\\",\\\"model\\\"],[\\\"adminPlugins.houseAds.show\\\",[30,1,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"              \\\"],[1,[30,1,[\\\"name\\\"]]],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"          \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[46,[28,[37,7],null,null],null,null,null],[1,\\\"\\\\n\\\"],[13],[1,[28,[32,0],[\\\"[[\\\\\\\"The `model` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads.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.model}}\\\\\\\",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\\\\\\\"}}],[\\\\\\\"The `model` property path was used in the `discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads.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.model}}\\\\\\\",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]]],[\\\"ad\\\"],false,[\\\"i18n\\\",\\\"if\\\",\\\"link-to\\\",\\\"d-icon\\\",\\\"each\\\",\\\"-track-array\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"discourse/plugins/discourse-adplugin/discourse/templates/admin/plugins-house-ads.hbs\",\n    \"scope\": () => [_deprecationsHelper.default],\n    \"isStrictMode\": false\n  });\n});"],"mappings":"AAAAA,OAAA,0FAAAC,GACA;AAEAC,OAAAC,eAAAF,EAAA,cACAG,OAAA,IAEAH,EAAAI,aAAA;AACAJ,EAAAI,QAAA,CACAC,SAAA,qBACAC,KAAA,WACA,GAAAC,GACAC,KAAAC,MAAA,YACAH,KAAA,8BACA,WACAE,KAAAC,MAAA,SACAH,KAAA,MAEAE,KAAAC,MAAA,QACAH,KAAA,WAEA,GACA,E,ICrBAP,OAAA,wJAAAC,EAAAU,GACA;AAEAT,OAAAC,eAAAF,EAAA,cACAG,OAAA,IAEAH,EAAAI,aAAA;AACA,MAAAO,UAAAD,EAAAN,QACA,SAAAD,GACA,OAAAK,KAAAI,mBAAAL,KAAAM,KAAAC,IACA,EAEAd,EAAAI,QAAAO,C,ICZAZ,OAAA,wLAAAC,EAAAe,EAAAC,EAAAC,GACA;AAEAhB,OAAAC,eAAAF,EAAA,cACAG,OAAA,IAEAH,EAAAI,aAAA;AACAJ,EAAAI,QAAAa,EAAAb,QAAAc,OAAA,CACAC,WAAA,sBACAC,YAAA,EACAC,kBAAA,8CACAC,eAAA,IACAC,aAAA,EACAC,UAAA,EACAC,aAAA,GACAC,eAAA,KACAC,aAAA,KACAxB,OAAA,EAAAY,EAAAa,UAAA,2BACA,OAAApB,KAAAiB,aAAAI,WAAAC,MAAAtB,KAAA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