forked from bombastictranz/token-lists
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosted-site_admin-018aa9b06b7e57796f22192a82e0f6214b9fc349a193ea01a8bc2a43a80c7f73.br.js.download
214 lines (212 loc) Β· 235 KB
/
hosted-site_admin-018aa9b06b7e57796f22192a82e0f6214b9fc349a193ea01a8bc2a43a80c7f73.br.js.download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
define("discourse/plugins/hosted-site/discourse/components/hosted-dashboard",["exports","@ember/component","@ember/object","@ember/object/computed","@ember/service","@ember/template","@ember-decorators/component","discourse/lib/ajax","discourse/lib/text","discourse-common/config/environment","discourse-common/utils/decorators","I18n","discourse/plugins/hosted-site/discourse/components/modal/admin-billing-email","discourse/plugins/hosted-site/discourse/components/modal/admin-cancel-service","discourse/plugins/hosted-site/discourse/components/modal/admin-change-domain","discourse/plugins/hosted-site/discourse/components/modal/admin-change-user-limit","discourse/plugins/hosted-site/discourse/components/modal/admin-contact-email","discourse/plugins/hosted-site/discourse/components/modal/admin-invoices","discourse/plugins/hosted-site/discourse/components/modal/admin-po-number","discourse/plugins/hosted-site/discourse/components/modal/admin-referral-link","discourse/plugins/hosted-site/discourse/components/modal/admin-send-receipt","discourse/plugins/hosted-site/discourse/components/modal/admin-support-options","discourse/plugins/hosted-site/discourse/components/modal/admin-upgrade-freesite","ember-this-fallback/is-component","ember-this-fallback/this-fallback-helper","ember-this-fallback/try-lookup-helper","ember-this-fallback/deprecations-helper","@ember/template-factory"],(function(e,t,s,i,a,r,l,o,n,c,p,u,d,h,b,m,f,g,y,k,v,w,T,_,j,S,P,x){"use strict"
var C,D,O,L,E,A,M,U,z,N,R,H,I,F,Y,B,q,$,G,V,W,K,Q,X,J,Z,ee,te,se,ie,ae,re,le,oe,ne,ce,pe,ue,de,he,be,me
function fe(e,t,s,i){s&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0})}function ge(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
var s=e[Symbol.toPrimitive]
if(void 0!==s){var i=s.call(e,t||"default")
if("object"!=typeof i)return i
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function ye(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const ke=(0,x.createTemplateFactory)({id:"v3YCd+v7",block:'[[[6,[39,0],null,[["isLoading"],[[30,0,["loading"]]]],[["default"],[[[[1," "],[10,0],[14,0,"section"],[12],[1,"\\n "],[10,0],[14,0,"section-title"],[12],[1,"\\n "],[10,"h2"],[12],[1,"Account Management"],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isDev"]],[[[1," "],[8,[39,2],null,[["@setHostedProperties","@toggleHostedProperty"],[[28,[37,3],[[30,0],"setHostedProperties"],null],[28,[37,3],[[30,0],"toggleHostedProperty"],null]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isLimitedMode"]],[[[1," "],[10,0],[14,0,"hosted-sections"],[12],[1,"\\n "],[10,0],[14,0,"left-section"],[12],[1,"\\n"],[41,[30,0,["datacenter"]],[[[1," "],[10,2],[14,0,"datacenter-notice"],[12],[1,"\\n "],[1,[28,[35,4],[[28,[37,5],["hosted_site.datacenter_notice"],[["datacenter"],[[30,0,["datacenter"]]]]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"ul"],[14,0,"support-instructions"],[12],[1,"\\n"],[41,[30,0,["accountErrorMessage"]],[[[1," "],[10,"li"],[14,0,"instruction"],[12],[1,"\\n "],[41,[28,[32,0],["accountErrorMessage"],null],[[[8,[39,6],null,null,null]],[]],[[[44,[[28,[37,8],null,[["accountErrorMessage"],[[28,[32,1],["accountErrorMessage"],null]]]]],[[[1,[52,[30,1,["accountErrorMessage"]],[28,[30,1,["accountErrorMessage"]],null,null],[28,[32,2],[[30,0],"accountErrorMessage","[\\"The `accountErrorMessage` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.accountErrorMessage}}\\",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]]]],[1]]]],[]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["freeSite"]]],[[[1," "],[10,"li"],[14,0,"instruction hosted-contact"],[12],[1,"\\n "],[1,[28,[35,10],["heart"],null]],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,"Have questions?"],[13],[1,"\\n "],[44,[[28,[37,8],null,[["supportHref"],[[28,[32,1],["supportHref"],null]]]]],[[[10,3],[15,6,[52,[30,2,["supportHref"]],[28,[30,2,["supportHref"]],null,null],[28,[32,2],[[30,0],"supportHref","[\\"The `supportHref` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.supportHref}}\\",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]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[41,[28,[32,0],["supportLink"],null],[[[8,[39,11],null,null,null]],[]],[[[44,[[28,[37,8],null,[["supportLink"],[[28,[32,1],["supportLink"],null]]]]],[[[1,[52,[30,3,["supportLink"]],[28,[30,3,["supportLink"]],null,null],[28,[32,2],[[30,0],"supportLink","[\\"The `supportLink` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.supportLink}}\\",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]],[2]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isEnterprisePlan"]],[[[1," "],[10,"li"],[14,0,"instruction urgent-contact"],[12],[1,"\\n "],[1,[28,[35,10],["ambulance"],null]],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,"Is it an emergency?"],[13],[1,"\\n "],[10,3],[14,6,"mailto:urgent@discourse.org"],[12],[1,"urgent@discourse.org"],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["showCancelToFreeSite"]],[[[1," "],[10,0],[14,0,"cancellation"],[12],[1,"\\n "],[1,[28,[35,10],["heart"],null]],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,"\\n Need to\\n "],[11,3],[24,6,""],[4,[38,3],[[30,0],"cancelService"],null],[12],[1,"cancel"],[13],[1,"\\n service?\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["isCloudflared"]],[[[1," "],[10,0],[14,0,"alert alert-error cloudflared"],[12],[1,"\\n It looks like your site is configured to be served behind a Cloudflare\\n proxy. Disable Cloudflare CDN on the CNAME record.\\n "],[44,[[28,[37,8],null,[["dnsCheckUrl"],[[28,[32,1],["dnsCheckUrl"],null]]]]],[[[10,3],[15,6,[52,[30,4,["dnsCheckUrl"]],[28,[30,4,["dnsCheckUrl"]],null,null],[28,[32,2],[[30,0],"dnsCheckUrl","[\\"The `dnsCheckUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.dnsCheckUrl}}\\",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]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"Visit this page for details"],[13]],[4]]],[1,".\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["askForBillingLocation"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,"\\n "],[10,"b"],[12],[1,"We are missing important billing address information."],[13],[1,"\\n "],[10,2],[12],[1,"To fix this, please provide your billing address."],[13],[1,"\\n "],[8,[39,12],[[24,0,"btn btn-primary"]],[["@translatedLabel","@action"],["Update Billing Address",[28,[37,13],[[28,[37,14],[[30,0,["billingAddressModalIsVisible"]]],null],true],null]]],null],[1,"\\n"],[41,[30,0,["billingAddressModalIsVisible"]],[[[1," "],[8,[39,15],null,[["@model","@closeModal"],[[28,[37,8],null,[["onComplete"],[[28,[37,13],[[28,[37,14],[[30,0,["askForBillingLocation"]]],null],false],null]]]],[28,[37,13],[[28,[37,14],[[30,0,["billingAddressModalIsVisible"]]],null],false],null]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["askToAcceptNewTerms"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,"\\n "],[10,"b"],[12],[1,"Hosting Terms Update"],[13],[1,"\\n "],[10,2],[12],[1,"\\n Your current hosting agreement is based on our\\n "],[10,3],[14,6,"https://www.discourse.org/standard-hosting-terms"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"previous"],[13],[1,"\\n Terms and Conditions. It is important for you to be covered by the\\n latest Terms and Conditions, which are available for you to review\\n "],[10,3],[14,6,"https://discourse.org/self-serve-terms"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"here"],[13],[1,".\\n "],[13],[1,"\\n "],[8,[39,12],[[24,0,"btn btn-primary"]],[["@translatedLabel","@action"],["Accept New Terms",[30,0,["acceptNewTerms"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["paymentDue"]],[[[1," "],[10,0],[14,0,"alert alert-error hosted-payment_due"],[12],[1,"\\n "],[10,"b"],[12],[1,"You have an overdue subscription payment."],[13],[1,"\\n"],[41,[30,0,["paymentDueDate"]],[[[1," The due date was\\n "],[10,"b"],[12],[41,[28,[32,0],["paymentDueDate"],null],[[[8,[39,16],null,null,null]],[]],[[[44,[[28,[37,8],null,[["paymentDueDate"],[[28,[32,1],["paymentDueDate"],null]]]]],[[[1,[52,[30,5,["paymentDueDate"]],[28,[30,5,["paymentDueDate"]],null,null],[28,[32,2],[[30,0],"paymentDueDate","[\\"The `paymentDueDate` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.paymentDueDate}}\\",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]]]],[5]]]],[]]],[13],[1,".\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showChangeCreditCard"]],[[[1," If you need to change your payment method, please use the button\\n below. We will attempt to collect payment again in the next few\\n days.\\n"]],[]],[[[1," Please contact us to arrange payment.\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["restrictedPlan"]],[[[1," "],[10,0],[14,0,"alert restricted-plan-alert"],[12],[1,"\\n "],[10,"b"],[12],[1,"You are on a restricted plan. Restore full functionality by\\n contacting us at\\n "],[10,3],[14,6,"mailto:team@discourse.org"],[12],[1,"team@discourse.org"],[13],[1,"."],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showReactivate"]],[[[1," "],[10,0],[14,0,"alert alert-error hosted-cancelled"],[12],[1,"\\n "],[10,2],[12],[1,"\\n Your service has been cancelled and will be shut down on\\n "],[10,"b"],[12],[41,[28,[32,0],["decommissionDate"],null],[[[8,[39,17],null,null,null]],[]],[[[44,[[28,[37,8],null,[["decommissionDate"],[[28,[32,1],["decommissionDate"],null]]]]],[[[1,[52,[30,6,["decommissionDate"]],[28,[30,6,["decommissionDate"]],null,null],[28,[32,2],[[30,0],"decommissionDate","[\\"The `decommissionDate` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.decommissionDate}}\\",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]]]],[6]]]],[]]],[13],[1,".\\n "],[13],[1,"\\n "],[1,[28,[35,12],null,[["translatedLabel","action","class","icon"],["Reactivate Service",[28,[37,3],[[30,0],"undoCancel"],null],"btn btn-primary","check"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["trialExpired"]],[[[1," "],[10,0],[14,0,"alert alert-error hosted-trial-expired"],[12],[1,"\\n "],[10,2],[14,0,"hosted-trial-expired-description"],[12],[1,"\\n "],[10,"b"],[12],[1,"Your free trial has expired and your subscription has not been\\n started."],[13],[1,"\\n Use the button below to start your subscription. We\\n "],[10,"b"],[12],[1,"do not"],[13],[1,"\\n automatically start your subscription when your trial expires. This\\n site may be shut down at any time.\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isTrydiscourse"]],[[[1," "],[11,3],[24,6,""],[24,0,"btn btn-primary start-subscription-btn"],[4,[38,3],[[30,0],"changeDomain"],null],[12],[1,"\\n "],[1,[28,[35,18],[":sparkles:"],null]],[1,"\\n Start Subscription\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["startSubscriptionUrl"]],[[[1," "],[44,[[28,[37,8],null,[["startSubscriptionUrl"],[[28,[32,1],["startSubscriptionUrl"],null]]]]],[[[10,3],[15,6,[52,[30,7,["startSubscriptionUrl"]],[28,[30,7,["startSubscriptionUrl"]],null,null],[28,[32,2],[[30,0],"startSubscriptionUrl","[\\"The `startSubscriptionUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.startSubscriptionUrl}}\\",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]]],[14,0,"btn btn-primary start-subscription-btn"],[12],[1,"\\n "],[1,[28,[35,18],[":sparkles:"],null]],[1,"\\n Start Subscription\\n "],[13]],[7]]],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"hosted-sections"],[12],[1,"\\n "],[10,0],[14,0,"left-section"],[12],[1,"\\n"],[41,[30,0,["freeSite"]],[[[1," "],[10,2],[12],[1,"\\n This is your\\n "],[10,"em"],[12],[1,"free"],[13],[1,"\\n Discourse community, hosted by the people who make Discourse! For\\n more information about the free hosting plan,\\n "],[10,3],[14,6,"https://free.discourse.group/"],[12],[1,"see here"],[13],[1,".\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n "],[1,[28,[35,12],null,[["translatedLabel","icon","action"],["Change Domain Name","globe",[28,[37,3],[[30,0],"changeDomainFreeSite"],null]]]]],[1,"\\n "],[1,[28,[35,12],null,[["translatedLabel","icon","action"],["Support","question-circle",[28,[37,3],[[30,0],"showSupportOptions"],null]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,19],[[30,0,["trialActive"]],[28,[37,20],[[30,0,["isEnterprisePlan"]]],null]],null],[[[1," "],[10,0],[14,0,"hosted-trial-welcome"],[12],[1,"\\n"],[41,[30,0,["plan"]],[[[1," "],[10,"b"],[12],[1,"Welcome to your free trial of Discourse on the\\n "],[41,[28,[32,0],["plan"],null],[[[8,[39,21],null,null,null]],[]],[[[44,[[28,[37,8],null,[["plan"],[[28,[32,1],["plan"],null]]]]],[[[1,[52,[30,8,["plan"]],[28,[30,8,["plan"]],null,null],[28,[32,2],[[30,0],"plan","[\\"The `plan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.plan}}\\",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]]]],[8]]]],[]]],[1,"\\n "],[44,[[28,[37,8],null,[["planUrl"],[[28,[32,1],["planUrl"],null]]]]],[[[10,3],[15,6,[52,[30,9,["planUrl"]],[28,[30,9,["planUrl"]],null,null],[28,[32,2],[[30,0],"planUrl","[\\"The `planUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.planUrl}}\\",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]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"plan"],[13]],[9]]],[1,"!"],[13],[1,"\\n"]],[]],[[[1," "],[10,"b"],[12],[1,"Welcome to your free trial of Discourse!"],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["isTrydiscourse"]],[[[1," "],[11,3],[24,6,""],[24,0,"btn btn-primary start-subscription-btn"],[4,[38,3],[[30,0],"changeDomain"],null],[12],[1,"\\n "],[1,[28,[35,18],[":sparkles:"],null]],[1,"\\n Start Subscription\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["startSubscriptionUrl"]],[[[1," "],[44,[[28,[37,8],null,[["startSubscriptionUrl"],[[28,[32,1],["startSubscriptionUrl"],null]]]]],[[[10,3],[15,6,[52,[30,10,["startSubscriptionUrl"]],[28,[30,10,["startSubscriptionUrl"]],null,null],[28,[32,2],[[30,0],"startSubscriptionUrl","[\\"The `startSubscriptionUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.startSubscriptionUrl}}\\",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]]],[14,0,"btn btn-primary start-subscription-btn"],[12],[1,"\\n "],[1,[28,[35,18],[":sparkles:"],null]],[1,"\\n Start Subscription\\n "],[13]],[10]]],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["paid"]],[[[1," "],[10,0],[14,0,"subscriptions"],[12],[1,"\\n "],[10,"h3"],[14,0,"subtitle"],[12],[1,"Active subscription"],[13],[1,"\\n"],[41,[30,0,["plan"]],[[[41,[30,0,["pageviewsLimitString"]],[[[1," "],[10,2],[14,0,"hosted-active-subscription"],[12],[1,"\\n You have an active subscription on the\\n "],[10,"b"],[12],[41,[28,[32,0],["planPeriod"],null],[[[8,[39,22],null,null,null]],[]],[[[44,[[28,[37,8],null,[["planPeriod"],[[28,[32,1],["planPeriod"],null]]]]],[[[1,[52,[30,11,["planPeriod"]],[28,[30,11,["planPeriod"]],null,null],[28,[32,2],[[30,0],"planPeriod","[\\"The `planPeriod` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.planPeriod}}\\",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]]]],[11]]]],[]]],[1," "],[41,[28,[32,0],["plan"],null],[[[8,[39,21],null,null,null]],[]],[[[44,[[28,[37,8],null,[["plan"],[[28,[32,1],["plan"],null]]]]],[[[1,[52,[30,12,["plan"]],[28,[30,12,["plan"]],null,null],[28,[32,2],[[30,0],"plan","[\\"The `plan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.plan}}\\",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]]]],[]]],[13],[1,"\\n "],[44,[[28,[37,8],null,[["planUrl"],[[28,[32,1],["planUrl"],null]]]]],[[[10,3],[15,6,[52,[30,13,["planUrl"]],[28,[30,13,["planUrl"]],null,null],[28,[32,2],[[30,0],"planUrl","[\\"The `planUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.planUrl}}\\",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]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"plan"],[13]],[13]]],[1,"\\n which covers\\n "],[41,[30,0,["userLimit"]],[[[10,"b"],[12],[41,[28,[32,0],["userLimit"],null],[[[8,[39,23],null,null,null]],[]],[[[44,[[28,[37,8],null,[["userLimit"],[[28,[32,1],["userLimit"],null]]]]],[[[1,[52,[30,14,["userLimit"]],[28,[30,14,["userLimit"]],null,null],[28,[32,2],[[30,0],"userLimit","[\\"The `userLimit` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.userLimit}}\\",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]]]],[14]]]],[]]],[13],[1," users,"]],[]],null],[1,"\\n "],[41,[30,0,["storageLimitString"]],[[[10,"b"],[12],[41,[28,[32,0],["storageLimitStringRounded"],null],[[[8,[39,24],null,null,null]],[]],[[[44,[[28,[37,8],null,[["storageLimitStringRounded"],[[28,[32,1],["storageLimitStringRounded"],null]]]]],[[[1,[52,[30,15,["storageLimitStringRounded"]],[28,[30,15,["storageLimitStringRounded"]],null,null],[28,[32,2],[[30,0],"storageLimitStringRounded","[\\"The `storageLimitStringRounded` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.storageLimitStringRounded}}\\",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]]]],[15]]]],[]]],[1,"\\n GB"],[13],[1,"\\n of storage,"]],[]],null],[1,"\\n "],[41,[30,0,["emailsLimitString"]],[[[10,"b"],[12],[41,[28,[32,0],["emailsLimitString"],null],[[[8,[39,25],null,null,null]],[]],[[[44,[[28,[37,8],null,[["emailsLimitString"],[[28,[32,1],["emailsLimitString"],null]]]]],[[[1,[52,[30,16,["emailsLimitString"]],[28,[30,16,["emailsLimitString"]],null,null],[28,[32,2],[[30,0],"emailsLimitString","[\\"The `emailsLimitString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.emailsLimitString}}\\",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]]]],[16]]]],[]]],[13],[1,"\\n emails,"]],[]],null],[1,"\\n and\\n "],[10,"b"],[12],[41,[28,[32,0],["pageviewsLimitString"],null],[[[8,[39,26],null,null,null]],[]],[[[44,[[28,[37,8],null,[["pageviewsLimitString"],[[28,[32,1],["pageviewsLimitString"],null]]]]],[[[1,[52,[30,17,["pageviewsLimitString"]],[28,[30,17,["pageviewsLimitString"]],null,null],[28,[32,2],[[30,0],"pageviewsLimitString","[\\"The `pageviewsLimitString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.pageviewsLimitString}}\\",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]]]],[17]]]],[]]],[13],[1,"\\n pageviews per month.\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[14,0,"hosted-active-subscription"],[12],[1,"You have an active\\n subscription on the\\n "],[10,"b"],[12],[41,[28,[32,0],["planPeriod"],null],[[[8,[39,22],null,null,null]],[]],[[[44,[[28,[37,8],null,[["planPeriod"],[[28,[32,1],["planPeriod"],null]]]]],[[[1,[52,[30,18,["planPeriod"]],[28,[30,18,["planPeriod"]],null,null],[28,[32,2],[[30,0],"planPeriod","[\\"The `planPeriod` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.planPeriod}}\\",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]]]],[18]]]],[]]],[1," "],[41,[28,[32,0],["plan"],null],[[[8,[39,21],null,null,null]],[]],[[[44,[[28,[37,8],null,[["plan"],[[28,[32,1],["plan"],null]]]]],[[[1,[52,[30,19,["plan"]],[28,[30,19,["plan"]],null,null],[28,[32,2],[[30,0],"plan","[\\"The `plan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.plan}}\\",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]]]],[19]]]],[]]],[13],[1,"\\n "],[10,3],[14,6,"https://discourse.org/pricing"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"plan"],[13],[1,". Thank you!"],[13],[1,"\\n"]],[]]],[41,[30,0,["otherAddons"]],[[[1," "],[10,"h3"],[14,0,"subtitle"],[12],[1,"Add-ons"],[13],[1,"\\n "],[10,2],[12],[41,[28,[32,0],["otherAddons"],null],[[[8,[39,27],null,null,null]],[]],[[[44,[[28,[37,8],null,[["otherAddons"],[[28,[32,1],["otherAddons"],null]]]]],[[[1,[52,[30,20,["otherAddons"]],[28,[30,20,["otherAddons"]],null,null],[28,[32,2],[[30,0],"otherAddons","[\\"The `otherAddons` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.otherAddons}}\\",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]]]],[20]]]],[]]],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[10,2],[14,0,"hosted-active-subscription"],[12],[1,"You have an active\\n subscription. Thank you!"],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showUpgradeMessage"]],[[[1," "],[10,0],[15,0,[29,[[52,[30,0,["upgradeReason"]],"alert alert-error"],"\\n hosted-suggested-upgrade"]]],[12],[1,"\\n "],[41,[28,[32,0],["upgradeMessage"],null],[[[8,[39,28],null,null,null]],[]],[[[44,[[28,[37,8],null,[["upgradeMessage"],[[28,[32,1],["upgradeMessage"],null]]]]],[[[1,[52,[30,21,["upgradeMessage"]],[28,[30,21,["upgradeMessage"]],null,null],[28,[32,2],[[30,0],"upgradeMessage","[\\"The `upgradeMessage` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.upgradeMessage}}\\",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]]]],[21]]]],[]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["userLimit"]],[[[1," Using\\n "],[10,"b"],[12],[41,[28,[32,0],["customerUserCount"],null],[[[8,[39,29],null,null,null]],[]],[[[44,[[28,[37,8],null,[["customerUserCount"],[[28,[32,1],["customerUserCount"],null]]]]],[[[1,[52,[30,22,["customerUserCount"]],[28,[30,22,["customerUserCount"]],null,null],[28,[32,2],[[30,0],"customerUserCount","[\\"The `customerUserCount` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.customerUserCount}}\\",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]]]],[22]]]],[]]],[13],[1,"\\n out of\\n "],[10,"b"],[12],[41,[28,[32,0],["userLimit"],null],[[[8,[39,23],null,null,null]],[]],[[[44,[[28,[37,8],null,[["userLimit"],[[28,[32,1],["userLimit"],null]]]]],[[[1,[52,[30,23,["userLimit"]],[28,[30,23,["userLimit"]],null,null],[28,[32,2],[[30,0],"userLimit","[\\"The `userLimit` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.userLimit}}\\",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]]]],[23]]]],[]]],[13],[1,"\\n users.\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"actions"],[12],[1,"\\n"],[41,[51,[30,0,["freeSite"]]],[[[1," "],[1,[28,[35,12],null,[["translatedLabel","icon","action"],["Support","question-circle",[28,[37,3],[[30,0],"showSupportOptions"],null]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canManageUserLimit"]],[[[1," "],[1,[28,[35,12],null,[["translatedLabel","action","icon"],["Manage User Limit",[28,[37,3],[[30,0],"changeUserLimit"],null],"users"]]]],[1,"\\n\\n "],[10,3],[15,6,[28,[37,30],["/my/invited"],null]],[14,0,"btn"],[12],[1,"\\n "],[1,[28,[35,10],["user-plus"],null]],[1,"\\n Invite Users\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showUpgradeMessage"]],[[[1," "],[1,[28,[35,12],null,[["translatedLabel","action","icon","class"],["Upgrade",[28,[37,3],[[30,0],"upgrade"],null],"plus-square","btn btn-primary"]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canChangeDomain"]],[[[1," "],[1,[28,[35,12],null,[["translatedLabel","action","icon"],["Change Domain Name",[28,[37,3],[[30,0],"changeDomain"],null],"globe"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"usage-section"],[12],[1,"\\n"],[41,[30,0,["trialActive"]],[[[1," "],[10,0],[14,0,"usage trial"],[12],[1,"\\n"],[6,[39,31],null,[["title","progress"],[[30,0,["trialProgressTitle"]],[30,0,["trialProgress"]]]],[["default"],[[[[1," "],[10,1],[14,0,"remaining"],[12],[41,[28,[32,0],["trialDaysConsumed"],null],[[[8,[39,32],null,null,null]],[]],[[[44,[[28,[37,8],null,[["trialDaysConsumed"],[[28,[32,1],["trialDaysConsumed"],null]]]]],[[[1,[52,[30,24,["trialDaysConsumed"]],[28,[30,24,["trialDaysConsumed"]],null,null],[28,[32,2],[[30,0],"trialDaysConsumed","[\\"The `trialDaysConsumed` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.trialDaysConsumed}}\\",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]]]],[24]]]],[]]],[13],[1,"\\n of\\n "],[41,[28,[32,0],["trialDuration"],null],[[[8,[39,33],null,null,null]],[]],[[[44,[[28,[37,8],null,[["trialDuration"],[[28,[32,1],["trialDuration"],null]]]]],[[[1,[52,[30,25,["trialDuration"]],[28,[30,25,["trialDuration"]],null,null],[28,[32,2],[[30,0],"trialDuration","[\\"The `trialDuration` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.trialDuration}}\\",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]]]],[25]]]],[]]],[1,"\\n days\\n"]],[]]]]],[1,"\\n"],[41,[30,0,["trialDaysRemaining"]],[[[1," "],[10,2],[14,0,"hosted-trial-expiring"],[12],[1,"\\n When your trial expires we will ask you to start a\\n subscription. We\\n "],[10,"b"],[12],[1,"do not"],[13],[1,"\\n automatically start subscriptions.\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["pageviewLimit"]],[[[1," "],[10,0],[14,0,"usage pageviews"],[12],[1,"\\n"],[6,[39,31],null,[["title","progress"],["Pageviews last month",[30,0,["pageviewsProgress"]]]],[["default"],[[[[1," "],[10,1],[14,0,"remaining"],[12],[41,[28,[32,0],["pageviewsString"],null],[[[8,[39,34],null,null,null]],[]],[[[44,[[28,[37,8],null,[["pageviewsString"],[[28,[32,1],["pageviewsString"],null]]]]],[[[1,[52,[30,26,["pageviewsString"]],[28,[30,26,["pageviewsString"]],null,null],[28,[32,2],[[30,0],"pageviewsString","[\\"The `pageviewsString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.pageviewsString}}\\",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]]]],[26]]]],[]]],[13],[1,"\\n of\\n "],[41,[28,[32,0],["pageviewsLimitString"],null],[[[8,[39,26],null,null,null]],[]],[[[44,[[28,[37,8],null,[["pageviewsLimitString"],[[28,[32,1],["pageviewsLimitString"],null]]]]],[[[1,[52,[30,27,["pageviewsLimitString"]],[28,[30,27,["pageviewsLimitString"]],null,null],[28,[32,2],[[30,0],"pageviewsLimitString","[\\"The `pageviewsLimitString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.pageviewsLimitString}}\\",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]]]],[27]]]],[]]],[1,"\\n"]],[]]]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["emailsLimit"]],[[[1," "],[10,0],[14,0,"usage emails"],[12],[1,"\\n"],[6,[39,31],null,[["title","progress"],["Emails in last 30 days",[30,0,["emailsProgress"]]]],[["default"],[[[[1," "],[10,1],[14,0,"remaining"],[12],[41,[28,[32,0],["emailsUsageString"],null],[[[8,[39,35],null,null,null]],[]],[[[44,[[28,[37,8],null,[["emailsUsageString"],[[28,[32,1],["emailsUsageString"],null]]]]],[[[1,[52,[30,28,["emailsUsageString"]],[28,[30,28,["emailsUsageString"]],null,null],[28,[32,2],[[30,0],"emailsUsageString","[\\"The `emailsUsageString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.emailsUsageString}}\\",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]]]],[28]]]],[]]],[13],[1,"\\n of\\n "],[41,[28,[32,0],["emailsLimitString"],null],[[[8,[39,25],null,null,null]],[]],[[[44,[[28,[37,8],null,[["emailsLimitString"],[[28,[32,1],["emailsLimitString"],null]]]]],[[[1,[52,[30,29,["emailsLimitString"]],[28,[30,29,["emailsLimitString"]],null,null],[28,[32,2],[[30,0],"emailsLimitString","[\\"The `emailsLimitString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.emailsLimitString}}\\",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]]]],[29]]]],[]]],[1,"\\n"]],[]]]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["storageLimit"]],[[[1," "],[10,0],[14,0,"usage storage"],[12],[1,"\\n"],[6,[39,31],null,[["title","progress"],["Storage",[30,0,["storageProgress"]]]],[["default"],[[[[1," "],[10,1],[14,0,"remaining"],[12],[41,[28,[32,0],["storageUsageString"],null],[[[8,[39,36],null,null,null]],[]],[[[44,[[28,[37,8],null,[["storageUsageString"],[[28,[32,1],["storageUsageString"],null]]]]],[[[1,[52,[30,30,["storageUsageString"]],[28,[30,30,["storageUsageString"]],null,null],[28,[32,2],[[30,0],"storageUsageString","[\\"The `storageUsageString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.storageUsageString}}\\",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]]]],[30]]]],[]]],[13],[1,"\\n of\\n "],[41,[28,[32,0],["storageLimitString"],null],[[[8,[39,37],null,null,null]],[]],[[[44,[[28,[37,8],null,[["storageLimitString"],[[28,[32,1],["storageLimitString"],null]]]]],[[[1,[52,[30,31,["storageLimitString"]],[28,[30,31,["storageLimitString"]],null,null],[28,[32,2],[[30,0],"storageLimitString","[\\"The `storageLimitString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.storageLimitString}}\\",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]]]],[31]]]],[]]],[1,"\\n GB\\n"]],[]]]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n "],[1,[28,[35,10],["envelope"],null]],[1,"\\n Site emails are sent from\\n "],[10,"b"],[12],[1,[30,0,["site","notification_email"]]],[13],[1,".\\n"],[41,[30,0,["isEnterprisePlan"]],[[[1," Custom domains are an\\n "],[44,[[28,[37,8],null,[["enterprisePage"],[[28,[32,1],["enterprisePage"],null]]]]],[[[10,3],[15,6,[52,[30,32,["enterprisePage"]],[28,[30,32,["enterprisePage"]],null,null],[28,[32,2],[[30,0],"enterprisePage","[\\"The `enterprisePage` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.enterprisePage}}\\",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],[1,"Enterprise add-on"],[13]],[32]]],[1,".\\n"]],[]],[[[1," You can change\\n "],[10,"b"],[12],[41,[28,[32,0],["hostedSiteName"],null],[[[8,[39,38],null,null,null]],[]],[[[44,[[28,[37,8],null,[["hostedSiteName"],[[28,[32,1],["hostedSiteName"],null]]]]],[[[1,[52,[30,33,["hostedSiteName"]],[28,[30,33,["hostedSiteName"]],null,null],[28,[32,2],[[30,0],"hostedSiteName","[\\"The `hostedSiteName` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.hostedSiteName}}\\",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]]]],[33]]]],[]]],[13],[1,"\\n "],[44,[[28,[37,8],null,[["supportHref"],[[28,[32,1],["supportHref"],null]]]]],[[[10,3],[15,6,[52,[30,34,["supportHref"]],[28,[30,34,["supportHref"]],null,null],[28,[32,2],[[30,0],"supportHref","[\\"The `supportHref` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.supportHref}}\\",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],[1,"by request"],[13]],[34]]],[1,"; custom domains require an\\n "],[44,[[28,[37,8],null,[["enterprisePage"],[[28,[32,1],["enterprisePage"],null]]]]],[[[10,3],[15,6,[52,[30,35,["enterprisePage"]],[28,[30,35,["enterprisePage"]],null,null],[28,[32,2],[[30,0],"enterprisePage","[\\"The `enterprisePage` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.enterprisePage}}\\",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],[1,"Enterprise plan"],[13]],[35]]],[1,".\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"right-section"],[12],[1,"\\n"],[41,[30,0,["showPaymentSection"]],[[[1," "],[10,0],[14,0,"billing-section"],[12],[1,"\\n "],[10,0],[14,0,"payment-method"],[12],[1,"\\n"],[41,[30,0,["showChangeCreditCard"]],[[[1," "],[10,"h3"],[14,0,"subtitle"],[12],[1,"Payment method\\n "],[44,[[28,[37,8],null,[["changeCreditCardUrl"],[[28,[32,1],["changeCreditCardUrl"],null]]]]],[[[10,3],[15,6,[52,[30,36,["changeCreditCardUrl"]],[28,[30,36,["changeCreditCardUrl"]],null,null],[28,[32,2],[[30,0],"changeCreditCardUrl","[\\"The `changeCreditCardUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.changeCreditCardUrl}}\\",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]]],[14,0,"btn"],[12],[1,[28,[35,10],["pencil-alt"],null]],[13]],[36]]],[13],[1,"\\n"]],[]],[[[41,[28,[37,39],[[30,0,["otherPaymentMethod"]],[30,0,["showCreditCardInfo"]],[30,0,["stripeLink"]],[30,0,["askForPaymentMethod"]]],null],[[[1," "],[10,"h3"],[14,0,"subtitle"],[12],[1,"Payment method"],[13],[1,"\\n "]],[]],null]],[]]],[1,"\\n"],[41,[30,0,["otherPaymentMethod"]],[[[1," "],[10,2],[14,0,"hosted-other-payment-method"],[12],[1,"\\n"],[41,[30,0,["paymentDueDate"]],[[[1," You will be invoiced before your next due date:\\n "],[10,"b"],[12],[41,[28,[32,0],["paymentDueDate"],null],[[[8,[39,16],null,null,null]],[]],[[[44,[[28,[37,8],null,[["paymentDueDate"],[[28,[32,1],["paymentDueDate"],null]]]]],[[[1,[52,[30,37,["paymentDueDate"]],[28,[30,37,["paymentDueDate"]],null,null],[28,[32,2],[[30,0],"paymentDueDate","[\\"The `paymentDueDate` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.paymentDueDate}}\\",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]]]],[37]]]],[]]],[13],[1,".\\n"]],[]],null],[1," Please notify us in advance of any changes to your billing\\n contact info or payment method.\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["showCreditCardInfo"]],[[[1," "],[10,0],[14,0,"hosted-cc-brand"],[12],[41,[28,[32,0],["ccBrand"],null],[[[8,[39,40],null,null,null]],[]],[[[44,[[28,[37,8],null,[["ccBrand"],[[28,[32,1],["ccBrand"],null]]]]],[[[1,[52,[30,38,["ccBrand"]],[28,[30,38,["ccBrand"]],null,null],[28,[32,2],[[30,0],"ccBrand","[\\"The `ccBrand` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.ccBrand}}\\",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]]]],[38]]]],[]]],[13],[1,"\\n ****"],[41,[28,[32,0],["ccLast4"],null],[[[8,[39,41],null,null,null]],[]],[[[44,[[28,[37,8],null,[["ccLast4"],[[28,[32,1],["ccLast4"],null]]]]],[[[1,[52,[30,39,["ccLast4"]],[28,[30,39,["ccLast4"]],null,null],[28,[32,2],[[30,0],"ccLast4","[\\"The `ccLast4` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.ccLast4}}\\",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]]]],[39]]]],[]]],[1,", EXP\\n "],[41,[28,[32,0],["ccExpMonth"],null],[[[8,[39,42],null,null,null]],[]],[[[44,[[28,[37,8],null,[["ccExpMonth"],[[28,[32,1],["ccExpMonth"],null]]]]],[[[1,[52,[30,40,["ccExpMonth"]],[28,[30,40,["ccExpMonth"]],null,null],[28,[32,2],[[30,0],"ccExpMonth","[\\"The `ccExpMonth` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.ccExpMonth}}\\",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]]]],[40]]]],[]]],[1,"/"],[41,[28,[32,0],["ccExpYear"],null],[[[8,[39,43],null,null,null]],[]],[[[44,[[28,[37,8],null,[["ccExpYear"],[[28,[32,1],["ccExpYear"],null]]]]],[[[1,[52,[30,41,["ccExpYear"]],[28,[30,41,["ccExpYear"]],null,null],[28,[32,2],[[30,0],"ccExpYear","[\\"The `ccExpYear` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.ccExpYear}}\\",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]]]],[41]]]],[]]],[1,"\\n"]],[]],null],[41,[30,0,["stripeLink"]],[[[1," "],[10,3],[14,6,"https://link.com"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"Link"],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["askForPaymentMethod"]],[[[1," "],[44,[[28,[37,8],null,[["changeCreditCardUrl"],[[28,[32,1],["changeCreditCardUrl"],null]]]]],[[[10,3],[15,6,[52,[30,42,["changeCreditCardUrl"]],[28,[30,42,["changeCreditCardUrl"]],null,null],[28,[32,2],[[30,0],"changeCreditCardUrl","[\\"The `changeCreditCardUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.changeCreditCardUrl}}\\",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]]],[14,0,"btn"],[12],[1,"\\n "],[1,[28,[35,10],["credit-card"],null]],[1,"\\n Add payment method\\n "],[13]],[42]]],[1,"\\n"]],[]],null]],[]]],[1,"\\n "],[10,0],[14,0,"contact-email"],[12],[1,"\\n "],[10,"h3"],[14,0,"subtitle"],[12],[1,"Contact email\\n "],[1,[28,[35,12],null,[["icon","action"],["pencil-alt",[28,[37,3],[[30,0],"changeContactEmail"],null]]]]],[13],[1,"\\n"],[41,[30,0,["contactEmailAddress"]],[[[1," "],[10,2],[14,0,"hosted-current-contact-email"],[12],[1,"\\n "],[41,[28,[32,0],["contactEmailAddress"],null],[[[8,[39,44],null,null,null]],[]],[[[44,[[28,[37,8],null,[["contactEmailAddress"],[[28,[32,1],["contactEmailAddress"],null]]]]],[[[1,[52,[30,43,["contactEmailAddress"]],[28,[30,43,["contactEmailAddress"]],null,null],[28,[32,2],[[30,0],"contactEmailAddress","[\\"The `contactEmailAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.contactEmailAddress}}\\",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]]]],[43]]]],[]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["latestStripeInvoices"]],[[[1," "],[1,[28,[35,12],null,[["icon","translatedLabel","action"],["file-invoice","Invoices",[28,[37,3],[[30,0],"showInvoices"],null]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["showChangeCreditCard"]],[[[1," "],[10,0],[14,0,"billing-email"],[12],[1,"\\n "],[10,"h3"],[14,0,"subtitle"],[12],[1,"Billing email\\n "],[1,[28,[35,12],null,[["icon","action"],["pencil-alt",[28,[37,3],[[30,0],"changeBillingEmail"],null]]]]],[13],[1,"\\n\\n"],[41,[30,0,["billingEmailAddress"]],[[[1," "],[10,2],[14,0,"hosted-current-billing-email"],[12],[1,"\\n "],[41,[28,[32,0],["billingEmailAddress"],null],[[[8,[39,45],null,null,null]],[]],[[[44,[[28,[37,8],null,[["billingEmailAddress"],[[28,[32,1],["billingEmailAddress"],null]]]]],[[[1,[52,[30,44,["billingEmailAddress"]],[28,[30,44,["billingEmailAddress"]],null,null],[28,[32,2],[[30,0],"billingEmailAddress","[\\"The `billingEmailAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.billingEmailAddress}}\\",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]]]],[44]]]],[]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["paymentDueDate"]],[[[1," "],[10,2],[14,0,"hosted-payment-due-date"],[12],[1,"\\n Next payment on\\n "],[10,"b"],[12],[41,[28,[32,0],["paymentDueDate"],null],[[[8,[39,16],null,null,null]],[]],[[[44,[[28,[37,8],null,[["paymentDueDate"],[[28,[32,1],["paymentDueDate"],null]]]]],[[[1,[52,[30,45,["paymentDueDate"]],[28,[30,45,["paymentDueDate"]],null,null],[28,[32,2],[[30,0],"paymentDueDate","[\\"The `paymentDueDate` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.paymentDueDate}}\\",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]]]],[45]]]],[]]],[13],[1,".\\n"],[41,[30,0,["showYearlyPlan"]],[[[1," "],[10,"br"],[12],[13],[1,"\\n "],[11,3],[24,6,""],[4,[38,3],[[30,0],"switchYearly"],null],[12],[1,"Switch to yearly billing?"],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showReceiptsSection"]],[[[1," "],[10,0],[14,0,"receipts-section"],[12],[1,"\\n "],[10,"h3"],[14,0,"subtitle"],[12],[1,[28,[35,5],["hosted_site.billing"],null]],[13],[1,"\\n\\n"],[41,[30,0,["showSendReceipt"]],[[[1," "],[1,[28,[35,12],null,[["translatedLabel","action","icon"],["Send Receipt",[28,[37,3],[[30,0],"sendReceipt"],null],"far-file-alt"]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canChangeInvoiceDetails"]],[[[1," "],[44,[[28,[37,8],null,[["customerPortalUrl"],[[28,[32,1],["customerPortalUrl"],null]]]]],[[[10,3],[15,6,[52,[30,46,["customerPortalUrl"]],[28,[30,46,["customerPortalUrl"]],null,null],[28,[32,2],[[30,0],"customerPortalUrl","[\\"The `customerPortalUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.customerPortalUrl}}\\",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]]],[14,0,"btn"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"\\n "],[1,[28,[35,10],["pencil-alt"],null]],[1,"\\n Billing Details\\n "],[13]],[46]]],[1,"\\n "],[1,[28,[35,12],null,[["label","action","icon"],["hosted_site.change_po_number",[28,[37,3],[[30,0],"changePoNumber"],null],"pencil-alt"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["datacenter"]],[[[1," "],[10,2],[14,0,"datacenter-notice"],[12],[1,"\\n "],[1,[28,[35,4],[[28,[37,5],["hosted_site.datacenter_notice"],[["datacenter"],[[30,0,["datacenter"]]]]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"ul"],[14,0,"support-instructions"],[12],[1,"\\n"],[41,[30,0,["accountErrorMessage"]],[[[1," "],[10,"li"],[14,0,"instruction"],[12],[1,"\\n "],[41,[28,[32,0],["accountErrorMessage"],null],[[[8,[39,6],null,null,null]],[]],[[[44,[[28,[37,8],null,[["accountErrorMessage"],[[28,[32,1],["accountErrorMessage"],null]]]]],[[[1,[52,[30,47,["accountErrorMessage"]],[28,[30,47,["accountErrorMessage"]],null,null],[28,[32,2],[[30,0],"accountErrorMessage","[\\"The `accountErrorMessage` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.accountErrorMessage}}\\",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]]]],[47]]]],[]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["freeSite"]]],[[[1," "],[10,"li"],[14,0,"instruction hosted-contact"],[12],[1,"\\n "],[1,[28,[35,10],["heart"],null]],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,"Have questions?"],[13],[1,"\\n "],[44,[[28,[37,8],null,[["supportHref"],[[28,[32,1],["supportHref"],null]]]]],[[[10,3],[15,6,[52,[30,48,["supportHref"]],[28,[30,48,["supportHref"]],null,null],[28,[32,2],[[30,0],"supportHref","[\\"The `supportHref` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.supportHref}}\\",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]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[41,[28,[32,0],["supportLink"],null],[[[8,[39,11],null,null,null]],[]],[[[44,[[28,[37,8],null,[["supportLink"],[[28,[32,1],["supportLink"],null]]]]],[[[1,[52,[30,49,["supportLink"]],[28,[30,49,["supportLink"]],null,null],[28,[32,2],[[30,0],"supportLink","[\\"The `supportLink` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.supportLink}}\\",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]]]],[49]]]],[]]],[13]],[48]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isEnterprisePlan"]],[[[1," "],[10,"li"],[14,0,"instruction urgent-contact"],[12],[1,"\\n "],[1,[28,[35,10],["ambulance"],null]],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,"Is it an emergency?"],[13],[1,"\\n "],[10,3],[14,6,"mailto:urgent@discourse.org"],[12],[1,"urgent@discourse.org"],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["canCancel"]],[[[1," "],[10,0],[14,0,"cancellation"],[12],[1,"\\n "],[1,[28,[35,10],["times-circle"],null]],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,"\\n Need to\\n "],[11,3],[24,6,""],[4,[38,3],[[30,0],"cancelService"],null],[12],[1,"cancel service?"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["referralCode"]],[[[1," "],[10,0],[14,0,"referral-link"],[12],[1,"\\n "],[1,[28,[35,10],["ticket-alt"],null]],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,"\\n "],[11,3],[24,6,""],[4,[38,3],[[30,0],"getReferralLink"],null],[12],[1,"Refer"],[13],[1,"\\n a fellow community leader and earn rewards!\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]]]]],[1,[28,[32,3],["[[\\"The `loading` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.loading}}\\",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 `isDev` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.isDev}}\\",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 `isLimitedMode` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.isLimitedMode}}\\",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 `datacenter` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.datacenter}}\\",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 `datacenter` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.datacenter}}\\",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 `accountErrorMessage` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.accountErrorMessage}}\\",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 `freeSite` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.freeSite}}\\",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 `isEnterprisePlan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.isEnterprisePlan}}\\",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 `showCancelToFreeSite` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showCancelToFreeSite}}\\",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 `isCloudflared` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.isCloudflared}}\\",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 `askForBillingLocation` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.askForBillingLocation}}\\",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 `askToAcceptNewTerms` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.askToAcceptNewTerms}}\\",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 `paymentDue` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.paymentDue}}\\",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 `paymentDueDate` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.paymentDueDate}}\\",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 `showChangeCreditCard` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showChangeCreditCard}}\\",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 `restrictedPlan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.restrictedPlan}}\\",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 `showReactivate` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showReactivate}}\\",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 `trialExpired` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.trialExpired}}\\",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 `isTrydiscourse` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.isTrydiscourse}}\\",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 `startSubscriptionUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.startSubscriptionUrl}}\\",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 `freeSite` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.freeSite}}\\",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 `trialActive` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.trialActive}}\\",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 `isEnterprisePlan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.isEnterprisePlan}}\\",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 `plan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.plan}}\\",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 `isTrydiscourse` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.isTrydiscourse}}\\",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 `startSubscriptionUrl` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.startSubscriptionUrl}}\\",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 `paid` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.paid}}\\",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 `plan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.plan}}\\",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 `pageviewsLimitString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.pageviewsLimitString}}\\",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 `userLimit` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.userLimit}}\\",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 `storageLimitString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.storageLimitString}}\\",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 `emailsLimitString` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.emailsLimitString}}\\",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 `otherAddons` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.otherAddons}}\\",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 `showUpgradeMessage` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showUpgradeMessage}}\\",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 `upgradeReason` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.upgradeReason}}\\",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 `userLimit` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.userLimit}}\\",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 `freeSite` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.freeSite}}\\",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 `canManageUserLimit` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.canManageUserLimit}}\\",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 `showUpgradeMessage` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showUpgradeMessage}}\\",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 `canChangeDomain` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.canChangeDomain}}\\",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 `trialActive` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.trialActive}}\\",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 `trialProgressTitle` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.trialProgressTitle}}\\",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 `trialProgress` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.trialProgress}}\\",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 `trialDaysRemaining` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.trialDaysRemaining}}\\",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 `pageviewLimit` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.pageviewLimit}}\\",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 `pageviewsProgress` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.pageviewsProgress}}\\",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 `emailsLimit` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.emailsLimit}}\\",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 `emailsProgress` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.emailsProgress}}\\",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 `storageLimit` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.storageLimit}}\\",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 `storageProgress` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.storageProgress}}\\",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 `site` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.site}}\\",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 `isEnterprisePlan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.isEnterprisePlan}}\\",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 `showPaymentSection` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showPaymentSection}}\\",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 `showChangeCreditCard` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showChangeCreditCard}}\\",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 `otherPaymentMethod` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.otherPaymentMethod}}\\",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 `showCreditCardInfo` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showCreditCardInfo}}\\",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 `stripeLink` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.stripeLink}}\\",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 `askForPaymentMethod` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.askForPaymentMethod}}\\",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 `otherPaymentMethod` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.otherPaymentMethod}}\\",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 `paymentDueDate` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.paymentDueDate}}\\",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 `showCreditCardInfo` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showCreditCardInfo}}\\",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 `stripeLink` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.stripeLink}}\\",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 `askForPaymentMethod` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.askForPaymentMethod}}\\",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 `contactEmailAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.contactEmailAddress}}\\",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 `latestStripeInvoices` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.latestStripeInvoices}}\\",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 `showChangeCreditCard` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showChangeCreditCard}}\\",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 `billingEmailAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.billingEmailAddress}}\\",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 `paymentDueDate` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.paymentDueDate}}\\",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 `showYearlyPlan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showYearlyPlan}}\\",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 `showReceiptsSection` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showReceiptsSection}}\\",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 `showSendReceipt` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.showSendReceipt}}\\",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 `canChangeInvoiceDetails` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.canChangeInvoiceDetails}}\\",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 `datacenter` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.datacenter}}\\",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 `datacenter` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.datacenter}}\\",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 `accountErrorMessage` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.accountErrorMessage}}\\",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 `freeSite` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.freeSite}}\\",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 `isEnterprisePlan` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.isEnterprisePlan}}\\",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 `canCancel` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-dashboard.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.canCancel}}\\",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","maybeHelpers","maybeHelpers0","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers","maybeHelpers0"],false,["conditional-loading-section","if","hosted-site-debug-bar","action","html-safe","i18n","account-error-message","let","hash","unless","d-icon","support-link","d-button","fn","mut","modal/admin-billing-address","payment-due-date","decommission-date","replace-emoji","and","not","plan","plan-period","user-limit","storage-limit-string-rounded","emails-limit-string","pageviews-limit-string","other-addons","upgrade-message","customer-user-count","get-url","static-progress-bar","trial-days-consumed","trial-duration","pageviews-string","emails-usage-string","storage-usage-string","storage-limit-string","hosted-site-name","or","cc-brand","cc-last4","cc-exp-month","cc-exp-year","contact-email-address","billing-email-address"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/hosted-dashboard.hbs",scope:()=>[_.default,S.default,j.default,P.default],isStrictMode:!1})
let ve=e.default=(C=(0,l.classNameBindings)(":hosted-dashboard","shouldHide:hidden"),D=(0,i.or)("isNotAdmin","accountErrorMessage"),O=(0,i.or)("trialActive","trialExpired"),L=(0,i.alias)("showChangeCreditCard"),E=(0,i.or)("showSendReceipt","canChangeInvoiceDetails"),A=(0,i.and)("cancelled","decommissionDate"),M=(0,p.default)("freeSite","accountStatus"),U=(0,p.default)("upgradeMessage","upgradeSubmitted","paid","freeSite"),z=(0,p.default)("planChangeSubmitted","billingAlternatives"),N=(0,p.default)("isNotAdmin","freeSite","accountErrorMessage","canCancel"),R=(0,p.default)("storageLimit","storageUsed"),H=(0,p.default)("overStorageLimit"),I=(0,p.default)("storageLimit"),F=(0,p.default)("storageLimit"),Y=(0,p.default)("storageUsed"),B=(0,p.default)("emailsLimit"),q=(0,p.default)("emailsUsed"),$=(0,p.default)("pageviewLimit","pageviews","storageLimit","storageUsed","emailsLimit","emailsUsed"),G=(0,p.default)("storageUsed","storageLimit"),V=(0,p.default)("emailsUsed","emailsLimit"),W=(0,p.default)("trialDaysConsumed","trialDuration"),K=(0,p.default)("trialDaysRemaining","trialDuration"),Q=(0,p.default)("trialDuration","defaultTrialDays"),X=(0,p.default)("isTrialExtended"),J=(0,p.default)("pageviews"),Z=(0,p.default)("pageviews","pageviewLimit"),ee=(0,p.default)("plan"),te=(0,p.default)("site.hosting_tier","freeSite"),se=(0,p.default)("userLimit","decommissionDate"),ie=(0,p.default)("name"),ae=(0,p.default)(),re=(0,p.default)(),le=(0,p.default)(),C((ne=class extends t.default{constructor(){super(...arguments),fe(this,"dialog",ce,this),fe(this,"modal",pe,this),ge(this,"loading",!0),ge(this,"shouldHide",!0),ge(this,"accountStatus",null),ge(this,"askForPaymentMethod",!1),ge(this,"askForBillingLocation",!1),ge(this,"askToAcceptNewTerms",!1),ge(this,"showChangeCreditCard",!0),ge(this,"changeCreditCardUrl",null),ge(this,"stripeLink",!1),ge(this,"customerPortalUrl",null),ge(this,"startSubscriptionUrl",null),ge(this,"supportCategoryUrl",null),ge(this,"supportDocsUrl",null),ge(this,"supportImageUrl",null),ge(this,"showCreditCardInfo",!1),ge(this,"showSendReceipt",!1),ge(this,"freeSite",!1),ge(this,"trialActive",!1),ge(this,"trialExpired",!1),ge(this,"paid",!1),ge(this,"paymentDue",!1),ge(this,"planPeriod",null),ge(this,"subscriptionDaysRemaining",null),ge(this,"plan",null),ge(this,"discount",null),ge(this,"trialDaysRemaining",null),ge(this,"trialDuration",null)
ge(this,"defaultTrialDays",null),ge(this,"trialExtended",!1),ge(this,"latestStripeInvoices",[]),ge(this,"isNotAdmin",!1),ge(this,"accountErrorMessage",null),ge(this,"canCancel",!1),ge(this,"cancelled",!1),ge(this,"createdAt",null),ge(this,"upgradeMessage",null),ge(this,"upgradeSubmitted",!1),ge(this,"planChangeSubmitted",!1),ge(this,"upgradeReason",null),ge(this,"userLimit",null),ge(this,"cancellationAlternatives",{}),ge(this,"billingAlternatives",{}),ge(this,"yearlyAlternative",!1),ge(this,"restrictedPlan",!1),ge(this,"otherAddons",null),ge(this,"planUrl","https://discourse.org/pricing"),ge(this,"enterprisePage","https://www.discourse.org/enterprise"),ge(this,"supportLink","team@discourse.org"),fe(this,"isLimitedMode",ue,this),fe(this,"trial",de,this),fe(this,"canChangeInvoiceDetails",he,this),fe(this,"showReceiptsSection",be,this),fe(this,"showReactivate",me,this)}didInsertElement(){super.didInsertElement(...arguments),this.initHostedDashboard()}initHostedDashboard(){this.fetchAccountInfo()}showPaymentSection(e,t){return!e&&t}showUpgradeMessage(e,t,s,i){return(s||i)&&e&&!t}showYearlyPlan(e,t){return!this.otherPaymentMethod&&!(!t||!t.yearly)&&!e}showCancelToFreeSite(e,t,s,i){return!e&&t&&!s&&i}async fetchAccountInfo(){this.setProperties({loading:!0,isNotAdmin:!1,shouldHide:!1})
try{const e=await(0,o.ajax)("/admin/hosted_account.json")
if(e.failed)return void(e.message?this.set("accountErrorMessage",e.message):this.set("shouldHide",!0))
switch(e.account_status){case"free":this.setProperties({freeSite:!0,showChangeCreditCard:!1,showSendReceipt:!1,canChangeInvoiceDetails:!1})
break
case"trial":this.set("trialActive",!0)
break
case"trial_expired":this.set("trialExpired",!0)
break
case"subscriber":this.setProperties({paid:!0,showSendReceipt:!0})
break
case"payment_due":this.setProperties({paymentDue:!0,showSendReceipt:!0})
break
case"cancelled":this.setProperties({cancelled:!0})
break
default:this.setProperties({showChangeCreditCard:!1,showSendReceipt:!1,canChangeInvoiceDetails:!1})}if("needed"===e.payment_method?this.setProperties({askForPaymentMethod:!e.start_subscription_url,showChangeCreditCard:!1}):"none"===e.payment_method&&this.setProperties({otherPaymentMethod:!0,showChangeCreditCard:!1,showSendReceipt:!1}),this.setProperties({name:e.name,accountStatus:e.account_status,changeCreditCardUrl:e.change_credit_card_url,customerPortalUrl:e.customer_portal_url,startSubscriptionUrl:e.start_subscription_url,supportCategoryUrl:e.support_category_url,supportDocsUrl:e.support_docs_url,supportImageUrl:e.support_image_url,billingEmailAddress:e.billing_email_address,contactEmailAddress:e.contact_email_address,planPeriod:e.plan_period,subscriptionDaysRemaining:e.subscription_days_remaining,plan:e.plan,discount:e.discount,pageviewLimit:e.pageview_limit,pageviewsLimitString:this.numberString(e.pageview_limit,0),pageviews:e.pageviews,storageLimit:e.storage_limit,storageUsed:e.storage_used,emailsLimit:e.emails_limit,emailsUsed:e.emails_used,paymentDueDate:e.payment_due_date,trialDaysRemaining:e.trial_days_remaining,defaultTrialDays:e.default_trial_length,isCloudflared:e.is_cloudflared,trialDuration:e.trial_duration,latestStripeInvoices:e.latest_stripe_invoices,createdAt:moment(e.created_at)||moment(),canCancel:e.can_cancel,decommissionDate:e.decommission_date,suggestedUpgrade:e.suggested_upgrade,cancellationAlternatives:e.cancellation_alternatives,billingAlternatives:e.billing_alternatives,userLimit:e.user_limit,customerUserCount:e.customer_user_count,invoiceDetails:e.invoice_details,datacenter:e.datacenter,restrictedPlan:e.restricted_plan,askForBillingLocation:e.needs_billing_location_info,askToAcceptNewTerms:e.needs_to_accept_new_terms,customerToken:e.cutomer_token,otherAddons:e.other_addons,referralCode:e.referral_code}),e.billing_alternatives.yearly&&this.set("yearlyAlternative",e.billing_alternatives.yearly),!0===e.needs_to_accept_new_terms&&this.set("askForBillingLocation",!1),"link"===e.payment_method?this.setProperties({stripeLink:!0,showCreditCardInfo:!1}):e.cc_last4?this.setProperties({ccBrand:e.cc_brand,ccLast4:e.cc_last4,ccExpMonth:e.cc_exp_month,ccExpYear:e.cc_exp_year,showCreditCardInfo:!0}):this.set("showCreditCardInfo",!1),this.suggestedUpgrade){const e=await(0,n.cook)(this.suggestedUpgrade.message)
this.set("upgradeMessage",e),this.set("upgradeReason",this.suggestedUpgrade.reason)}else this.setProperties({upgradeMessage:null,upgradeReason:null})
this.set("shouldHide",!1)}catch(e){404===e.jqXHR?.status?this.set("isNotAdmin",!0):this.set("shouldHide",!0)}finally{this.set("loading",!1)}}overStorageLimit(e,t){return t>1.25*e}storageClass(e){return e?"over-storage-limit":""}storageLimitString(e){return this._bytesToGigaBytes(e,2)}storageLimitStringRounded(e){return this._bytesToGigaBytes(e,0)}storageUsageString(e){return this._bytesToGigaBytes(e,2)}emailsLimitString(e){return this.numberString(e,0)}emailsUsageString(e){return this.numberString(e,1)}overLimit(e,t,s,i,a,r){return t>e||i>s||r>a}storageProgress(e,t){return e/t*100}emailsProgress(e,t){return e/t*100}trialProgress(e,t){return e/t*100}trialDaysConsumed(e,t){return t-e}isTrialExtended(e,t){return e>t}trialProgressTitle(e){let t="Trial"
return e&&(t+=" [ extended :heart: ]"),t}_bytesToGigaBytes(e,t){return(e/Math.pow(1024,3)).toFixed(t)}pageviewsString(e){return this.numberString(e,1)}pageviewsProgress(e,t){return e/t*100}pageviewsClass(e,t){return e>1.25*t?"over-pageviews":""}isEnterprisePlan(e){return e&&"enterprise"===e.toLowerCase()}canChangeDomain(e,t){return!t&&("standard"===e||"business"===e)}canManageUserLimit(e,t){return e&&!t}isTrydiscourse(e){return e&&e.endsWith(".trydiscourse.com")}dnsCheckUrl(){return`https://payments.discourse.org/check_dns?fqdn=${window.location.hostname}`}hostedSiteName(){return this.site.hosted_site_name}supportHref(){return`mailto:${this.supportLink}`}get isDev(){return(0,c.isDevelopment)()}numberString(e,t){return e?e>999999?u.default.t("number.short.millions",{number:u.default.toNumber(e/1e6,{precision:t})}):e>999?u.default.t("number.short.thousands",{number:u.default.toNumber(e/1e3,{precision:t})}):e:e}setHostedProperties(e){this.setProperties(e)}toggleHostedProperty(e){this.toggleProperty(e)}showInvoices(){this.modal.show(g.default,{model:{invoices:this.latestStripeInvoices}})}changeBillingEmail(){this.modal.show(d.default,{model:{onComplete:this.fetchAccountInfo}})}changeContactEmail(){this.modal.show(f.default,{model:{onComplete:this.fetchAccountInfo}})}sendReceipt(){this.modal.show(v.default,{model:{billingEmailAddress:this.billingEmailAddress}})}changeDomain(){this.modal.show(b.default)}changeDomainFreeSite(){this.modal.show(T.default)}showSupportOptions(){this.modal.show(w.default,{model:{freeSite:this.freeSite,supportCategoryUrl:this.supportCategoryUrl,supportDocsUrl:this.supportDocsUrl,supportImageUrl:this.supportImageUrl}})}changeUserLimit(){this.otherPaymentMethod?this.dialog.alert({message:(0,r.htmlSafe)(u.default.t("hosted_site.manage_user_limit_invoiced"))}):this.modal.show(m.default,{model:{userLimit:this.userLimit,customerUserCount:this.customerUserCount,newUserLimit:this.userLimit,trial:this.trialActive||this.trialExpired,paymentDueDate:this.paymentDueDate,onComplete:this.fetchAccountInfo}})}async upgrade(){if(!this.suggestedUpgrade)return
let e="Are you sure you want to upgrade?"
this.suggestedUpgrade.plan_id||(e+=" Changes take effect immediately."),this.dialog.yesNoConfirm({message:e,didConfirm:async()=>{this.set("upgradeSubmitted",!0)
try{const e=await(0,o.ajax)("/admin/hosted_plan.json",{type:"PUT",data:{plan_id:this.suggestedUpgrade.plan_id,add_on_ids:this.suggestedUpgrade.add_on_ids}})
e.success?this.dialog.alert(e.message||"Your account has been successfully upgraded."):(this.dialog.alert(`Your upgrade could not be completed. ${e.message}`),this.set("upgradeSubmitted",!1)),this.initHostedDashboard()}catch{this.dialog.alert("There was an error submitting your upgrade request. Please send an email to team@discourse.org so we can look into it."),this.set("upgradeSubmitted",!1)}}})}switchYearly(){if(!this.yearlyAlternative)return
const e=`Are you sure you want to switch to yearly billing? You will be billed immediately for $${this.yearlyAlternative.amount_per_period} less your current month prorated.`
this.dialog.yesNoConfirm({message:e,didConfirm:async()=>{this.set("planChangeSubmitted",!0)
try{const e=await(0,o.ajax)("/admin/hosted_plan.json",{type:"PUT",data:{plan_id:this.yearlyAlternative.plan_id}})
e.success?this.dialog.alert(e.message||"Your plan has been successfully changed."):(this.dialog.alert(`Your plan change could not be completed. ${e.message}`),this.set("planChangeSubmitted",!1)),this.initHostedDashboard()}catch{this.dialog.alert("There was an error submitting your plan change request. Please send an email to team@discourse.org so we can look into it."),this.set("planChangeSubmitted",!1)}}})}cancelService(){this.modal.show(h.default,{model:{createdAt:this.createdAt,isTrial:this.trialActive||this.trialExpired,paid:this.paid,cancellationAlternatives:this.cancellationAlternatives,planPeriod:this.planPeriod,subscriptionDaysRemaining:this.subscriptionDaysRemaining,paymentDueDate:this.paymentDueDate,onComplete:this.fetchAccountInfo}})}getReferralLink(){this.modal.show(k.default,{model:{referralCode:this.referralCode}})}async undoCancel(){try{const e=await(0,o.ajax)("/admin/hosted_account/cancellation.json",{type:"DELETE"})
e.success?this.dialog.alert("Your service has been reactivated. Your site will not be shut down."):this.dialog.alert(e.message),this.initHostedDashboard()}catch{this.dialog.alert("There was an error submitting your cancellation request. Please send an email to team@discourse.org so we can look into it.")}}changePoNumber(){this.modal.show(y.default,{model:{invoiceDetails:this.invoiceDetails,onComplete:this.fetchAccountInfo}})}async acceptNewTerms(){try{const e=await(0,o.ajax)("/admin/hosted_account/accept_new_terms.json",{type:"PUT"})
e.success?(this.dialog.alert("Terms accepted."),this.set("askToAcceptNewTerms",!1)):this.dialog.alert(e.message)}catch{this.dialog.alert("There was an error accepting terms.")}}},ce=ye(ne.prototype,"dialog",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pe=ye(ne.prototype,"modal",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=ye(ne.prototype,"isLimitedMode",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),de=ye(ne.prototype,"trial",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),he=ye(ne.prototype,"canChangeInvoiceDetails",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),be=ye(ne.prototype,"showReceiptsSection",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),me=ye(ne.prototype,"showReactivate",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ye(ne.prototype,"showPaymentSection",[M],Object.getOwnPropertyDescriptor(ne.prototype,"showPaymentSection"),ne.prototype),ye(ne.prototype,"showUpgradeMessage",[U],Object.getOwnPropertyDescriptor(ne.prototype,"showUpgradeMessage"),ne.prototype),ye(ne.prototype,"showYearlyPlan",[z],Object.getOwnPropertyDescriptor(ne.prototype,"showYearlyPlan"),ne.prototype),ye(ne.prototype,"showCancelToFreeSite",[N],Object.getOwnPropertyDescriptor(ne.prototype,"showCancelToFreeSite"),ne.prototype),ye(ne.prototype,"fetchAccountInfo",[p.bind],Object.getOwnPropertyDescriptor(ne.prototype,"fetchAccountInfo"),ne.prototype),ye(ne.prototype,"overStorageLimit",[R],Object.getOwnPropertyDescriptor(ne.prototype,"overStorageLimit"),ne.prototype),ye(ne.prototype,"storageClass",[H],Object.getOwnPropertyDescriptor(ne.prototype,"storageClass"),ne.prototype),ye(ne.prototype,"storageLimitString",[I],Object.getOwnPropertyDescriptor(ne.prototype,"storageLimitString"),ne.prototype),ye(ne.prototype,"storageLimitStringRounded",[F],Object.getOwnPropertyDescriptor(ne.prototype,"storageLimitStringRounded"),ne.prototype),ye(ne.prototype,"storageUsageString",[Y],Object.getOwnPropertyDescriptor(ne.prototype,"storageUsageString"),ne.prototype),ye(ne.prototype,"emailsLimitString",[B],Object.getOwnPropertyDescriptor(ne.prototype,"emailsLimitString"),ne.prototype),ye(ne.prototype,"emailsUsageString",[q],Object.getOwnPropertyDescriptor(ne.prototype,"emailsUsageString"),ne.prototype),ye(ne.prototype,"overLimit",[$],Object.getOwnPropertyDescriptor(ne.prototype,"overLimit"),ne.prototype),ye(ne.prototype,"storageProgress",[G],Object.getOwnPropertyDescriptor(ne.prototype,"storageProgress"),ne.prototype),ye(ne.prototype,"emailsProgress",[V],Object.getOwnPropertyDescriptor(ne.prototype,"emailsProgress"),ne.prototype),ye(ne.prototype,"trialProgress",[W],Object.getOwnPropertyDescriptor(ne.prototype,"trialProgress"),ne.prototype),ye(ne.prototype,"trialDaysConsumed",[K],Object.getOwnPropertyDescriptor(ne.prototype,"trialDaysConsumed"),ne.prototype),ye(ne.prototype,"isTrialExtended",[Q],Object.getOwnPropertyDescriptor(ne.prototype,"isTrialExtended"),ne.prototype),ye(ne.prototype,"trialProgressTitle",[X],Object.getOwnPropertyDescriptor(ne.prototype,"trialProgressTitle"),ne.prototype),ye(ne.prototype,"pageviewsString",[J],Object.getOwnPropertyDescriptor(ne.prototype,"pageviewsString"),ne.prototype),ye(ne.prototype,"pageviewsProgress",[Z],Object.getOwnPropertyDescriptor(ne.prototype,"pageviewsProgress"),ne.prototype),ye(ne.prototype,"isEnterprisePlan",[ee],Object.getOwnPropertyDescriptor(ne.prototype,"isEnterprisePlan"),ne.prototype),ye(ne.prototype,"canChangeDomain",[te],Object.getOwnPropertyDescriptor(ne.prototype,"canChangeDomain"),ne.prototype),ye(ne.prototype,"canManageUserLimit",[se],Object.getOwnPropertyDescriptor(ne.prototype,"canManageUserLimit"),ne.prototype),ye(ne.prototype,"isTrydiscourse",[ie],Object.getOwnPropertyDescriptor(ne.prototype,"isTrydiscourse"),ne.prototype),ye(ne.prototype,"dnsCheckUrl",[ae],Object.getOwnPropertyDescriptor(ne.prototype,"dnsCheckUrl"),ne.prototype),ye(ne.prototype,"hostedSiteName",[re],Object.getOwnPropertyDescriptor(ne.prototype,"hostedSiteName"),ne.prototype),ye(ne.prototype,"supportHref",[le],Object.getOwnPropertyDescriptor(ne.prototype,"supportHref"),ne.prototype),ye(ne.prototype,"setHostedProperties",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"setHostedProperties"),ne.prototype),ye(ne.prototype,"toggleHostedProperty",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"toggleHostedProperty"),ne.prototype),ye(ne.prototype,"showInvoices",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"showInvoices"),ne.prototype),ye(ne.prototype,"changeBillingEmail",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"changeBillingEmail"),ne.prototype),ye(ne.prototype,"changeContactEmail",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"changeContactEmail"),ne.prototype),ye(ne.prototype,"sendReceipt",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"sendReceipt"),ne.prototype),ye(ne.prototype,"changeDomain",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"changeDomain"),ne.prototype),ye(ne.prototype,"changeDomainFreeSite",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"changeDomainFreeSite"),ne.prototype),ye(ne.prototype,"showSupportOptions",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"showSupportOptions"),ne.prototype),ye(ne.prototype,"changeUserLimit",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"changeUserLimit"),ne.prototype),ye(ne.prototype,"upgrade",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"upgrade"),ne.prototype),ye(ne.prototype,"switchYearly",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"switchYearly"),ne.prototype),ye(ne.prototype,"cancelService",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"cancelService"),ne.prototype),ye(ne.prototype,"getReferralLink",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"getReferralLink"),ne.prototype),ye(ne.prototype,"undoCancel",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"undoCancel"),ne.prototype),ye(ne.prototype,"changePoNumber",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"changePoNumber"),ne.prototype),ye(ne.prototype,"acceptNewTerms",[s.action],Object.getOwnPropertyDescriptor(ne.prototype,"acceptNewTerms"),ne.prototype),oe=ne))||oe);(0,t.setComponentTemplate)(ke,ve)})),define("discourse/plugins/hosted-site/discourse/components/hosted-plugins-info",["exports","@ember/component","@ember/object","@ember/object/computed","@ember/service","discourse/plugins/hosted-site/discourse/components/modal/show-business-plugins","ember-this-fallback/deprecations-helper","@ember/template-factory"],(function(e,t,s,i,a,r,l,o){"use strict"
var n,c,p,u
function d(e,t,s,i){s&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0})}function h(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const b=(0,o.createTemplateFactory)({id:"e1SK+l4c",block:'[[[41,[30,0,["standardTier"]],[[[1," "],[10,"br"],[12],[13],[1,"\\n "],[11,"button"],[24,0,"btn btn-primary"],[24,4,"button"],[4,[38,1],[[30,0],"showBusinessPlugins"],null],[12],[1,"\\n Need more plugins?\\n "],[13],[1,"\\n"]],[]],null],[1,[28,[32,0],["[[\\"The `standardTier` property path was used in the `discourse/plugins/hosted-site/discourse/components/hosted-plugins-info.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.standardTier}}\\",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,["if","action"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/hosted-plugins-info.hbs",scope:()=>[l.default],isStrictMode:!1})
let m=e.default=(n=(0,i.equal)("site.hosting_tier","standard"),c=class extends t.default{constructor(){super(...arguments),d(this,"modal",p,this),d(this,"standardTier",u,this)}showBusinessPlugins(){this.modal.show(r.default)}},p=h(c.prototype,"modal",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=h(c.prototype,"standardTier",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h(c.prototype,"showBusinessPlugins",[s.action],Object.getOwnPropertyDescriptor(c.prototype,"showBusinessPlugins"),c.prototype),c);(0,t.setComponentTemplate)(b,m)})),define("discourse/plugins/hosted-site/discourse/components/hosted-site-debug-bar",["exports","@glimmer/component","@ember/helper","@ember/object","@ember/service","discourse/components/d-button","@ember/component","@ember/template-factory"],(function(e,t,s,i,a,r,l,o){"use strict"
var n,c,p
function u(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=(p=class extends t.default{constructor(){var e,t,s,i
super(...arguments),e=this,t="site",i=this,(s=c)&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0})}get _activeTrial(){return{freeSite:!1,trialActive:!0,trialDaysRemaining:4,trialExpired:!1,paid:!1,startSubscriptionUrl:"https://payments.discourse.org/c/xxx/subscription",paymentDue:!1,trialDuration:14,accountErrorMessage:null,canCancel:!0,createdAt:moment().subtract(10,"d"),accountStatus:"trial"}}get _extendedTrial(){return{freeSite:!1,trialActive:!0,trialDaysRemaining:4,trialExpired:!1,paid:!1,startSubscriptionUrl:"https://payments.discourse.org/c/xxx/subscription",paymentDue:!1,trialDuration:25,accountErrorMessage:null,canCancel:!0,createdAt:moment().subtract(21,"d"),accountStatus:"trial"}}get _customPaymentMethod(){return{freeSite:!1,otherPaymentMethod:!0,trialActive:!1,trialDaysRemaining:0,trialExpired:!1,paid:!0,paymentDue:!1,accountErrorMessage:null}}get _creditCardPaymentMethod(){return{freeSite:!1,otherPaymentMethod:!1,trialActive:!1,trialDaysRemaining:0,trialExpired:!1,paid:!0,paymentDue:!1,accountErrorMessage:null}}get _expiredTrial(){return{freeSite:!1,trialActive:!1,trialDaysRemaining:0,trialExpired:!0,paid:!1,startSubscriptionUrl:"https://payments.discourse.org/c/xxx/subscription",paymentDue:!1,trialDuration:14,accountErrorMessage:null,canCancel:!0,createdAt:moment().subtract(15,"d"),accountStatus:"trial_expired"}}get _basic(){return{plan:"Basic",trialActive:!1,trialExpired:!1,paid:!0,freeSite:!1,paymentDue:!1,accountErrorMessage:null,canCancel:!0,createdAt:moment().subtract(120,"d"),accountStatus:"subscriber",billingEmailAddress:"billing@basic.com",contactEmailAddress:"contact@basic.com"}}get _standard(){return{plan:"Standard",trialActive:!1,trialExpired:!1,paid:!0,freeSite:!1,paymentDue:!1,accountErrorMessage:null,canCancel:!0,createdAt:moment().subtract(120,"d"),accountStatus:"subscriber",billingEmailAddress:"billing@standard.com",contactEmailAddress:"contact@standard.com"}}get _enterprise(){return{plan:"Enterprise",trialActive:!1,trialExpired:!1,paid:!0,freeSite:!1,paymentDue:!1,accountErrorMessage:null,canCancel:!1,createdAt:moment().subtract(120,"d"),accountStatus:"subscriber",billingEmailAddress:"billing@enterprise.com",contactEmailAddress:"contact@enterprise.com"}}get _free(){return{trialActive:!1,trialExpired:!1,paid:!1,freeSite:!0,paymentDue:!1,accountErrorMessage:null,canCancel:!0,createdAt:moment().subtract(120,"d"),accountStatus:"free",billingEmailAddress:"billing@free.com",contactEmailAddress:"contact@free.com"}}get _paymentDue(){return{trialActive:!1,trialExpired:!1,paid:!1,freeSite:!1,paymentDue:!0,paymentDueDate:"2019-10-10",accountErrorMessage:null,accountStatus:"payment_due"}}get _askForBillingLocation(){return{trialActive:!1,trialExpired:!1,paid:!0,freeSite:!1,paymentDue:!1,askForBillingLocation:!0,accountStatus:"subscriber"}}get _askToAcceptNewTerms(){return{trialActive:!1,trialExpired:!1,paid:!0,freeSite:!1,paymentDue:!1,askForBillingLocation:!1,askToAcceptNewTerms:!0,customerToken:"abcd",accountStatus:"subscriber"}}get _overLimit(){return{storageUsed:1e11,pageviews:1e11,emailsUsed:1e11,userLimit:100,accountErrorMessage:null}}get _underLimit(){return{storageUsed:10,pageviews:10,emailsUsed:10,userLimit:null,accountErrorMessage:null}}get _mothershipOutage(){return{accountErrorMessage:"Account management is currently unavailable. Please try again later."}}get _stripeInvoices(){return{latestStripeInvoices:[{number:"1767000-0001",product_name:"Business",addon_name:"SSL",total:1e3,status:"paid",date:"Fri, 11 Jan 2019 13:43:05 UTC +00:00",hosted_url:"https://pay.stripe.com/invoice/invst_jpKMatGgkKAZaKzj3jX3JGoCXI"}]}}get _cancellationAlternatives(){return{cancellationAlternatives:{read_only:{period:"2 months",amount_per_period:15},staff_only:{period:"1 month",amount_per_period:5}}}}generateState(e){this.args.setHostedProperties(this[`_${e}`])}setHostingTier(e){this.site.set("hosting_tier",e),this.args.setHostedProperties(this[`_${e}`])}},(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"PYf3rDVD",block:'[[[1,"\\n "],[10,0],[14,0,"hosted-site-debug-bar"],[12],[1,"\\n "],[10,"h2"],[12],[1,"Debug"],[13],[1,"\\n\\n "],[10,0],[14,0,"actions"],[12],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Free",[28,[32,1],[[30,0,["setHostingTier"]],"free"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Basic",[28,[32,1],[[30,0,["setHostingTier"]],"basic"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Enterprise",[28,[32,1],[[30,0,["setHostingTier"]],"enterprise"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Standard",[28,[32,1],[[30,0,["setHostingTier"]],"standard"],null]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"actions"],[12],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Expired trial",[28,[32,1],[[30,0,["generateState"]],"expiredTrial"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Active trial",[28,[32,1],[[30,0,["generateState"]],"activeTrial"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Extended trial",[28,[32,1],[[30,0,["generateState"]],"extendedTrial"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Custom payment method",[28,[32,1],[[30,0,["generateState"]],"customPaymentMethod"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Credit card payment method",[28,[32,1],[[30,0,["generateState"]],"creditCardPaymentMethod"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Payment due",[28,[32,1],[[30,0,["generateState"]],"paymentDue"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Ask for billing information",[28,[32,1],[[30,0,["generateState"]],"askForBillingLocation"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Ask to accept new terms",[28,[32,1],[[30,0,["generateState"]],"askToAcceptNewTerms"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Over limit",[28,[32,1],[[30,0,["generateState"]],"overLimit"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Under limit",[28,[32,1],[[30,0,["generateState"]],"underLimit"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Mothership outage",[28,[32,1],[[30,0,["generateState"]],"mothershipOutage"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Stripe invoices",[28,[32,1],[[30,0,["generateState"]],"stripeInvoices"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Cancellation alternatives",[28,[32,1],[[30,0,["generateState"]],"cancellationAlternatives"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Receipt",[28,[32,1],[[30,1],"showSendReceipt"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Cloudflared",[28,[32,1],[[30,1],"isCloudflared"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Ask for Stripe",[28,[32,1],[[30,1],"askForPaymentMethod"],null]]],null],[1,"\\n "],[8,[32,0],null,[["@translatedLabel","@action"],["Restricted plan",[28,[32,1],[[30,1],"restrictedPlan"],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@toggleHostedProperty"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/discourse/plugins/hosted-site/discourse/components/hosted-site-debug-bar.js",scope:()=>[r.default,s.fn],isStrictMode:!0}),p),c=u((n=p).prototype,"site",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(n.prototype,"generateState",[i.action],Object.getOwnPropertyDescriptor(n.prototype,"generateState"),n.prototype),u(n.prototype,"setHostingTier",[i.action],Object.getOwnPropertyDescriptor(n.prototype,"setHostingTier"),n.prototype),n)})),define("discourse/plugins/hosted-site/discourse/components/incoming-email",["exports","@ember/component","discourse/lib/ajax","discourse-common/lib/debounce","discourse-common/lib/get-url","discourse-common/utils/decorators","ember-this-fallback/deprecations-helper","@ember/template-factory"],(function(e,t,s,i,a,r,l,o){"use strict"
var n,c,p,u,d,h,b,m,f
function g(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
var s=e[Symbol.toPrimitive]
if(void 0!==s){var i=s.call(e,t||"default")
if("object"!=typeof i)return i
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function y(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const k=(0,o.createTemplateFactory)({id:"naQaoQFK",block:'[[[41,[30,0,["identifier"]],[[[6,[39,1],null,[["condition","size"],[[30,0,["loading"]],"small"]],[["default"],[[[[1," "],[10,"label"],[12],[1,"\\n "],[1,[28,[35,2],null,[["type","checked"],["checkbox",[30,0,["enabled"]]]]]],[1,"\\n "],[1,[28,[35,3],[[30,0,["acceptIncomingEmailText"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]]]]]],[]],null],[1,[28,[32,0],["[[\\"The `identifier` property path was used in the `discourse/plugins/hosted-site/discourse/components/incoming-email.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.identifier}}\\",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 `loading` property path was used in the `discourse/plugins/hosted-site/discourse/components/incoming-email.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.loading}}\\",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 `enabled` property path was used in the `discourse/plugins/hosted-site/discourse/components/incoming-email.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.enabled}}\\",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 `acceptIncomingEmailText` property path was used in the `discourse/plugins/hosted-site/discourse/components/incoming-email.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.acceptIncomingEmailText}}\\",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,["if","conditional-loading-spinner","input","html-safe"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/incoming-email.hbs",scope:()=>[l.default],isStrictMode:!1})
let v=e.default=(n=(0,r.observes)("identifier"),c=(0,r.observes)("alternativeIncomingEmails","enabled","discoursemail"),p=(0,r.default)("discoursemail"),u=(0,r.default)("incomingEmails","discoursemail"),d=(0,r.default)("alternativeIncomingEmails"),h=(0,r.default)("type","identifier"),b=(0,r.on)("didInsertElement"),m=(0,r.observes)("url"),f=class extends t.default{constructor(){super(...arguments),g(this,"loading",!0)}_resetLoading(){this.set("loading",!0)}_updateEmail(){let e=this.get("alternativeIncomingEmails").slice()
this.get("enabled")&&e.push(this.get("discoursemail")),this.set("email",e.join("|"))}acceptIncomingEmailText(e){return`Accept incoming emails sent to: <a href='mailto:${e}'>${e}</a>`}alternativeIncomingEmails(e,t){return e.split("|").filter((e=>/.+@.+\..+/.exec(e)&&e!==t))}alternativeIncomingEmailsText(e){if(0!==e.length)return`Already accepting incoming emails sent to: ${e=e.map((e=>`<a href='mailto:${e}'>${e}</a>`)).join(", ")}.`}url(e,t){return(0,a.default)(`/admin/incoming_emails/${e}/${t}.json`)}_fetchIncomingEmailStatus(){(0,i.default)(this,this._debouncedFetchIncomingEmailStatus,100)}async _debouncedFetchIncomingEmailStatus(){if(this.identifier)try{const e=await(0,s.ajax)(this.url)
this.setProperties({discoursemail:e.discoursemail,incomingEmails:e.incoming_emails,enabled:e.enabled})}finally{this.set("loading",!1)}}},y(f.prototype,"_resetLoading",[n],Object.getOwnPropertyDescriptor(f.prototype,"_resetLoading"),f.prototype),y(f.prototype,"_updateEmail",[c],Object.getOwnPropertyDescriptor(f.prototype,"_updateEmail"),f.prototype),y(f.prototype,"acceptIncomingEmailText",[p],Object.getOwnPropertyDescriptor(f.prototype,"acceptIncomingEmailText"),f.prototype),y(f.prototype,"alternativeIncomingEmails",[u],Object.getOwnPropertyDescriptor(f.prototype,"alternativeIncomingEmails"),f.prototype),y(f.prototype,"alternativeIncomingEmailsText",[d],Object.getOwnPropertyDescriptor(f.prototype,"alternativeIncomingEmailsText"),f.prototype),y(f.prototype,"url",[h],Object.getOwnPropertyDescriptor(f.prototype,"url"),f.prototype),y(f.prototype,"_fetchIncomingEmailStatus",[b,m],Object.getOwnPropertyDescriptor(f.prototype,"_fetchIncomingEmailStatus"),f.prototype),f);(0,t.setComponentTemplate)(k,v)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address",["exports","@ember/component","@ember/object","@ember/service","discourse/lib/ajax","ember-this-fallback/deprecations-helper","@ember/template-factory"],(function(e,t,s,i,a,r,l){"use strict"
var o,n
function c(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
var s=e[Symbol.toPrimitive]
if(void 0!==s){var i=s.call(e,t||"default")
if("object"!=typeof i)return i
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function p(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const u=(0,l.createTemplateFactory)({id:"QFUFzq55",block:'[[[8,[39,0],[[24,0,"hosted-billing-address"]],[["@title","@closeModal"],["Update Billing Address",[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,"Please enter your billing address."],[13],[1,"\\n"],[41,[30,0,["hasAddressErrors"]],[[[1," "],[10,2],[14,0,"alert alert-error"],[14,1,"billing-address-errors"],[12],[1,"Address Line 1,\\n Country, and Postal Code are required fields."],[13],[1,"\\n"]],[]],null],[41,[30,0,["hasAddressStateError"]],[[[1," "],[10,2],[14,0,"alert alert-error"],[14,1,"billing-address-state-error"],[12],[1,"State is a\\n required field."],[13],[1,"\\n"]],[]],null],[41,[30,0,["hasAddressProvinceError"]],[[[1," "],[10,2],[14,0,"alert alert-error"],[14,1,"billing-address-province-error"],[12],[1,"Province\\n is a required field."],[13],[1,"\\n"]],[]],null],[41,[30,0,["hasAddressCityError"]],[[[1," "],[10,2],[14,0,"alert alert-error"],[14,1,"billing-address-city-error"],[12],[1,"City is a\\n required field."],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"billing-address-fields"],[12],[1,"\\n "],[8,[39,2],[[24,1,"hosted-billing-address-line1-input"],[16,"placeholder",[28,[37,3],["hosted_site.po_number.line1"],null]],[24,0,"subscribe-address-line1"],[24,"required","true"]],[["@type","@value"],["text",[30,0,["billingAddress","line1"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"billing-address-fields"],[12],[1,"\\n "],[8,[39,2],[[24,1,"hosted-billing-address-line2-input"],[16,"placeholder",[28,[37,3],["hosted_site.po_number.line2"],null]],[24,0,"subscribe-address-line2"]],[["@type","@value"],["text",[30,0,["billingAddress","line2"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"billing-address-fields"],[12],[1,"\\n "],[8,[39,2],[[24,1,"hosted-billing-address-city-input"],[16,"placeholder",[28,[37,3],["hosted_site.po_number.city"],null]],[24,0,"subscribe-address-city"]],[["@type","@value"],["text",[30,0,["billingAddress","city"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"billing-address-fields billing-address-fields-split"],[12],[1,"\\n "],[1,[28,[35,4],null,[["value","onChange","required"],[[30,0,["billingAddress","country"]],[28,[37,5],[[30,0],"changeCountry"],null],true]]]],[1,"\\n "],[8,[39,2],[[24,1,"hosted-billing-address-postal-code-input"],[16,"placeholder",[28,[37,3],["hosted_site.po_number.postal_code"],null]],[24,0,"subscribe-address-postal-code"],[24,"required","true"]],[["@type","@value"],["text",[30,0,["billingAddress","postalCode"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"billing-address-fields"],[12],[1,"\\n"],[41,[30,0,["isCountryUS"]],[[[1," "],[1,[28,[35,6],null,[["value","onChange"],[[30,0,["billingAddress","state"]],[28,[37,5],[[30,0],"changeState"],null]]]]],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n"]],[]],[[[41,[30,0,["isCountryCA"]],[[[1," "],[1,[28,[35,7],null,[["value","onChange"],[[30,0,["billingAddress","state"]],[28,[37,5],[[30,0],"changeState"],null]]]]],[1,"\\n"]],[]],[[[1," "],[8,[39,2],[[24,1,"hosted-billing-address-state-input"],[16,"placeholder",[28,[37,3],["hosted_site.po_number.state"],null]],[24,0,"subscribe-address-state"]],[["@type","@value"],["text",[30,0,["billingAddress","state"]]]],null],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[39,8],[[24,0,"btn-primary"]],[["@translatedLabel","@action"],["Submit",[28,[37,5],[[30,0],"save"],null]]],null],[1,"\\n "],[8,[39,8],[[24,0,"btn-flat"]],[["@translatedLabel","@action"],["Cancel",[30,1]]],null],[1,"\\n "]],[]]]]],[1,[28,[32,0],["[[\\"The `hasAddressErrors` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.hasAddressErrors}}\\",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 `hasAddressStateError` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.hasAddressStateError}}\\",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 `hasAddressProvinceError` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.hasAddressProvinceError}}\\",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 `hasAddressCityError` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.hasAddressCityError}}\\",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 `billingAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.billingAddress}}\\",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 `billingAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.billingAddress}}\\",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 `billingAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.billingAddress}}\\",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 `billingAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.billingAddress}}\\",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 `billingAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.billingAddress}}\\",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 `isCountryUS` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.isCountryUS}}\\",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 `billingAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.billingAddress}}\\",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 `isCountryCA` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.isCountryCA}}\\",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 `billingAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.billingAddress}}\\",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 `billingAddress` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.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.billingAddress}}\\",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]]],["@closeModal"],false,["d-modal","if","input","i18n","country-select","action","us-state-select","ca-province-select","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-billing-address.hbs",scope:()=>[r.default],isStrictMode:!1})
let d=e.default=(o=class extends t.default{constructor(){var e,t,s,i
super(...arguments),e=this,t="dialog",i=this,(s=n)&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0}),c(this,"billingAddress",{line1:null,line2:null,city:null,state:null,country:null,postalCode:null}),c(this,"isCountryUS",!1),c(this,"isCountryCA",!1),c(this,"hasAddressErrors",!1),c(this,"hasAddressStateError",!1),c(this,"hasAddressProvinceError",!1),c(this,"hasAddressCityError",!1)}async save(){if(this.billingAddress.line1&&this.billingAddress.country&&this.billingAddress.postalCode)if(this.set("hasAddressErrors",!1),this.setProperties({hasAddressStateError:!1,hasAddressProvinceError:!1}),this.billingAddress.state||!this.isCountryUS&&!this.isCountryCA)if(this.billingAddress.city||!this.isCountryUS&&!this.isCountryCA)try{await(0,a.ajax)("/admin/hosted_account/update_billing_address.json",{type:"PUT",data:{address:this.billingAddress}}),this.closeModal(),this.dialog.alert("Your billing address has been updated."),this.model.onComplete()}catch{this.closeModal(),this.dialog.alert("There was an error updating your billing address. Please send an email to team@discourse.org so we can look into it and update your account info.")}else this.set("hasAddressCityError",!0)
else this.setProperties({hasAddressStateError:this.isCountryUS,hasAddressProvinceError:this.isCountryCA})
else this.set("hasAddressErrors",!0)}changeCountry(e){this.set("billingAddress.country",e),this.set("isCountryUS","US"===e),this.set("isCountryCA","CA"===e)}changeState(e){this.set("billingAddress.state",e)}},n=p(o.prototype,"dialog",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p(o.prototype,"save",[s.action],Object.getOwnPropertyDescriptor(o.prototype,"save"),o.prototype),p(o.prototype,"changeCountry",[s.action],Object.getOwnPropertyDescriptor(o.prototype,"changeCountry"),o.prototype),p(o.prototype,"changeState",[s.action],Object.getOwnPropertyDescriptor(o.prototype,"changeState"),o.prototype),o);(0,t.setComponentTemplate)(u,d)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-billing-email",["exports","@ember/component","@glimmer/component","@glimmer/tracking","@ember/object","@ember/service","discourse/lib/ajax","discourse/lib/utilities","discourse-i18n","@ember/template-factory"],(function(e,t,s,i,a,r,l,o,n,c){"use strict"
var p,u,d
function h(e,t,s,i){s&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0})}function b(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const m=(0,c.createTemplateFactory)({id:"OM29EDwX",block:'[[[8,[39,0],[[24,0,"hosted-billing-email"]],[["@title","@closeModal"],["Change Billing Email Address",[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,"\\n Set the email address where future receipts and billing notifications will\\n be sent.\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n "],[8,[39,1],null,[["@value","@placeholderKey","@id","@autocorrect","@autocapitalize","@type"],[[30,0,["billingEmail"]],"topic.invite_reply.email_placeholder","hosted-billing-email-input","off","off","email"]],null],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n "],[8,[39,2],null,[["@validation"],[[30,0,["emailValidation"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[39,3],[[24,0,"btn-primary"]],[["@translatedLabel","@action","@disabled"],["Save",[30,0,["save"]],[30,0,["invalidEmail"]]]],null],[1,"\\n\\n "],[8,[39,3],[[24,0,"btn-flat"]],[["@translatedLabel","@action"],["Cancel",[30,1]]],null],[1,"\\n "]],[]]]]]],["@closeModal"],false,["d-modal","text-field","input-tip","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-billing-email.hbs",isStrictMode:!1})
let f=e.default=(p=class extends s.default{constructor(){super(...arguments),h(this,"dialog",u,this),h(this,"billingEmail",d,this)}get invalidEmail(){return!(0,o.emailValid)(this.billingEmail)}get emailValidation(){if(this.invalidEmail&&this.billingEmail)return a.default.create({failed:!0,reason:n.default.t("user.email.invalid")})}async save(){try{await(0,l.ajax)("/admin/hosted_account/update_billing_email.json",{type:"PUT",data:{email:this.billingEmail}}),this.args.closeModal(),this.dialog.alert("Your billing email address has been updated."),this.args.model.onComplete()}catch{this.args.closeModal(),this.dialog.alert("There was an error updating your billing email address. Please send an email to team@discourse.org so we can look into it and update your account info.")}}},u=b(p.prototype,"dialog",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=b(p.prototype,"billingEmail",[i.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b(p.prototype,"save",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"save"),p.prototype),p);(0,t.setComponentTemplate)(m,f)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-cancel-service",["exports","@ember/component","@ember/object","@ember/object/computed","@ember/service","discourse/lib/ajax","discourse-common/utils/decorators","discourse/plugins/hosted-site/discourse/components/modal/admin-restricted-plan-info","ember-this-fallback/deprecations-helper","@ember/template-factory"],(function(e,t,s,i,a,r,l,o,n,c){"use strict"
var p,u,d,h,b,m,f,g,y,k,v,w,T,_,j,S,P,x,C,D,O
function L(e,t,s,i){s&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0})}function E(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
var s=e[Symbol.toPrimitive]
if(void 0!==s){var i=s.call(e,t||"default")
if("object"!=typeof i)return i
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function A(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const M=(0,c.createTemplateFactory)({id:"Qubdzqf0",block:'[[[8,[39,0],[[24,0,"hosted-cancel-service"]],[["@title","@closeModal"],["Cancel Service",[30,1]]],[["body","footer"],[[[[1,"\\n"],[41,[30,0,["stepOne"]],[[[1," "],[10,"h4"],[12],[1,"Oh no! We\'re sorry to see you go "],[1,[28,[35,2],[":cry:"],null]],[13],[1,"\\n"],[41,[30,0,["showYearlySubscriptionMessage"]],[[[1," "],[10,2],[12],[1,"Are you sure you\'d like to cancel today?"],[13],[1,"\\n "],[10,2],[12],[1,"\\n Your yearly subscription has\\n "],[1,[30,2,["subscriptionDaysRemaining"]]],[1,"\\n days remaining. Your community will remain active until\\n "],[1,[30,2,["paymentDueDate"]]],[1,".\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["offerRestricted"]],[[[1," "],[10,2],[12],[1,"\\n Would you like to downgrade to a restricted plan instead of\\n cancelling? We offer two plans that can keep your community running at\\n a reduced cost.\\n "],[13],[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[10,"b"],[12],[1,"staff-only"],[13],[1," plan for "],[1,[30,0,["staffOnlyCost"]]],[13],[1,"\\n "],[10,"li"],[12],[10,"b"],[12],[1,"read-only"],[13],[1," plan for "],[1,[30,0,["readOnlyCost"]]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[39,3],[[24,0,"btn-primary"]],[["@translatedLabel","@action"],["I am interested, show me more",[30,0,["showRestrictedPlanInfo"]]]],null],[1,"\\n "]],[]],null]],[]]],[1," "],[10,2],[12],[1,"\\n If you\'re completely sure you want to cancel your Discourse hosting,\\n type the words \\""],[1,[30,0,["correctConfirmString"]]],[1,"\\" below to confirm.\\n"],[41,[30,2,["paid"]],[[[1," "],[1,[28,[35,4],["hosted_site.cancel.shut_down_paid"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[35,4],["hosted_site.cancel.shut_down_unpaid"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[8,[39,5],null,[["@value","@id","@autocorrect","@autocapitalize"],[[30,0,["cancelConfirm"]],"hosted-cancel-confirm","off","off"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["stepTwo"]],[[[1," "],[10,2],[12],[1,"\\n You\'ve been a customer since\\n "],[1,[30,0,["customerSince"]]],[1,"; we\'ll miss you.\\n "],[1,[28,[35,2],[":sob:"],null]],[1,"\\n "],[13],[1,"\\n "],[10,2],[12],[1,"\\n Before proceeding, may we quickly ask why Discourse didn\'t meet your\\n needs?\\n "],[13],[1,"\\n\\n"],[42,[28,[37,7],[[28,[37,7],[[30,0,["cancelReasons"]]],null]],null],null,[[[1," "],[10,"label"],[14,0,"radio"],[15,"for",[30,3,["id"]]],[12],[1,"\\n "],[8,[39,8],[[24,0,"cancel-reason-choice"]],[["@name","@value","@id","@selection"],["cancel-reason-choice",[30,3,["value"]],[30,3,["id"]],[30,0,["cancelReason"]]]],null],[1,"\\n "],[1,[30,3,["value"]]],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[39,8],[[24,0,"cancel-reason-choice"]],[["@name","@selection","@id","@value"],["cancel-reason-choice",[30,0,["cancelReason"]],"cancel-reason-other","other"]],null],[1,"\\n Other:Β "],[8,[39,5],null,[["@value"],[[30,0,["otherReason"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["stepThree"]],[[[1," "],[10,2],[12],[1,"\\n Almost there.\\n "],[1,[28,[35,2],[":stopwatch:"],null]],[1,"\\n "],[13],[1,"\\n "],[10,2],[12],[1,"\\n Upon cancellation, weβll create a\\n "],[10,"em"],[12],[1,"complete"],[13],[1,"\\n backup of your site, including all uploads and attachments, and you\'ll\\n receive a personal message when it\'s ready. If you ever want to bring\\n your Discourse back, please hang on to that backup! If you have a\\n backup, we (or anyone else who hosts Discourse) can get you back online\\n in less than a day.\\n "],[13],[1,"\\n"],[41,[30,0,["shouldRemoveCname"]],[[[1," "],[10,2],[12],[1,"\\n After you\'ve downloaded the backup, remove the CNAME record that\\n points\\n "],[10,"strong"],[12],[1,[30,0,["hostname"]]],[13],[1,"\\n to our servers from your DNS setting.\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]],null]],[]]]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[39,3],[[24,0,"btn-danger"]],[["@translatedLabel","@action","@disabled"],["Continue",[30,0,["stepCompleted"]],[28,[37,9],[[30,0,["continueAllowed"]]],null]]],null],[1,"\\n\\n"],[41,[51,[30,0,["offerRestricted"]]],[[[1," "],[8,[39,3],[[24,0,"btn-flat"]],[["@translatedLabel","@action"],["No, I don\'t want to cancel",[30,1]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,[28,[32,0],["[[\\"The `offerRestricted` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-cancel-service.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.offerRestricted}}\\",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]]],["@closeModal","@model","reason"],false,["d-modal","if","replace-emoji","d-button","i18n","text-field","each","-track-array","radio-button","not","unless"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-cancel-service.hbs",scope:()=>[n.default],isStrictMode:!1})
let U=e.default=(p=(0,i.equal)("step",1),u=(0,i.equal)("step",2),d=(0,i.equal)("step",3),h=(0,l.default)("model.planPeriod","model.subscriptionDaysRemaining"),b=(0,l.default)("model.cancellationAlternatives"),m=(0,l.default)("model.cancellationAlternatives"),f=(0,l.default)("model.cancellationAlternatives"),g=(0,l.default)("cancelConfirm","correctConfirmString"),y=(0,l.default)("hostname"),k=(0,l.default)(),v=(0,l.default)("hostname"),w=(0,l.default)("model.createdAt"),T=(0,l.default)("model.createdAt","model.isTrial"),_=(0,l.default)("step","confirmMatches","cancelReason"),j=(0,l.default)(),S=class extends t.default{constructor(){super(...arguments),L(this,"dialog",P,this),L(this,"modal",x,this),E(this,"cancelConfirm",void 0),E(this,"cancelReason",void 0),E(this,"otherReason",void 0),E(this,"step",1),L(this,"stepOne",C,this),L(this,"stepTwo",D,this),L(this,"stepThree",O,this)}showYearlySubscriptionMessage(e,t){return"Yearly"===e&&t>31}offerRestricted(e){return!!(e&&e.read_only&&e.staff_only)}readOnlyCost(e){const t=e.read_only
return`$${t.amount_per_period.toFixed(2)} ${t.period}`}staffOnlyCost(e){const t=e.staff_only
return`$${t.amount_per_period.toFixed(2)} ${t.period}`}confirmMatches(e,t){return e===t}correctConfirmString(e){return`cancel ${e}`}hostname(){return window.location.host}shouldRemoveCname(e){return!["trydiscourse.com","discourse.group","discourse.team"].any((t=>e.endsWith(t)))}customerSince(e){return e.format("YYYY-MM-DD")}skipStepTwo(e,t){return t||e.isAfter(moment().subtract(3,"M"))}continueAllowed(e,t,s){return!(1!==e||!t)||(!(2!==e||!s)||e>2)}cancelReasons(){return[{id:"cancel-reason-1",value:"Community didn't take off"},{id:"cancel-reason-2",value:"It's too expensive"},{id:"cancel-reason-3",value:"I decided to use a different service"},{id:"cancel-reason-4",value:"Going to self-host/use a different hosting provider"},{id:"cancel-reason-5",value:"Community was temporary"},{id:"cancel-reason-6",value:"My company/service shut down"},{id:"cancel-reason-7",value:"I plan to use Discourse again in the future"}]}showRestrictedPlanInfo(){this.modal.show(o.default,{model:{cancellationAlternatives:this.model.cancellationAlternatives,staffOnlyCost:this.staffOnlyCost,readOnlyCost:this.readOnlyCost}})}async stepCompleted(){if(1===this.step&&this.skipStepTwo)this.set("step",3)
else if(this.step<3)this.set("step",this.step+1)
else try{const e=await(0,r.ajax)("/admin/hosted_account/cancellation.json",{type:"POST",data:{reason:"other"===this.cancelReason?this.otherReason:this.cancelReason}})
this.closeModal(),e.success?this.dialog.alert("You'll receive a Personal Message on this site when your backup is ready. Be sure to download it before the site is shut down at the end of your billing period."):this.dialog.alert(e.message),this.model.onComplete()}catch{this.closeModal(),this.dialog.alert("There was an error submitting your cancellation request. Please send an email to team@discourse.org so we can look into it.")}}},P=A(S.prototype,"dialog",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=A(S.prototype,"modal",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=A(S.prototype,"stepOne",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=A(S.prototype,"stepTwo",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=A(S.prototype,"stepThree",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A(S.prototype,"showYearlySubscriptionMessage",[h],Object.getOwnPropertyDescriptor(S.prototype,"showYearlySubscriptionMessage"),S.prototype),A(S.prototype,"offerRestricted",[b],Object.getOwnPropertyDescriptor(S.prototype,"offerRestricted"),S.prototype),A(S.prototype,"readOnlyCost",[m],Object.getOwnPropertyDescriptor(S.prototype,"readOnlyCost"),S.prototype),A(S.prototype,"staffOnlyCost",[f],Object.getOwnPropertyDescriptor(S.prototype,"staffOnlyCost"),S.prototype),A(S.prototype,"confirmMatches",[g],Object.getOwnPropertyDescriptor(S.prototype,"confirmMatches"),S.prototype),A(S.prototype,"correctConfirmString",[y],Object.getOwnPropertyDescriptor(S.prototype,"correctConfirmString"),S.prototype),A(S.prototype,"hostname",[k],Object.getOwnPropertyDescriptor(S.prototype,"hostname"),S.prototype),A(S.prototype,"shouldRemoveCname",[v],Object.getOwnPropertyDescriptor(S.prototype,"shouldRemoveCname"),S.prototype),A(S.prototype,"customerSince",[w],Object.getOwnPropertyDescriptor(S.prototype,"customerSince"),S.prototype),A(S.prototype,"skipStepTwo",[T],Object.getOwnPropertyDescriptor(S.prototype,"skipStepTwo"),S.prototype),A(S.prototype,"continueAllowed",[_],Object.getOwnPropertyDescriptor(S.prototype,"continueAllowed"),S.prototype),A(S.prototype,"cancelReasons",[j],Object.getOwnPropertyDescriptor(S.prototype,"cancelReasons"),S.prototype),A(S.prototype,"showRestrictedPlanInfo",[s.action],Object.getOwnPropertyDescriptor(S.prototype,"showRestrictedPlanInfo"),S.prototype),A(S.prototype,"stepCompleted",[s.action],Object.getOwnPropertyDescriptor(S.prototype,"stepCompleted"),S.prototype),S);(0,t.setComponentTemplate)(M,U)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-change-domain",["exports","@ember/component","@ember/object","@ember/service","@ember/template","discourse/lib/ajax","discourse/lib/text","discourse-common/utils/decorators","ember-this-fallback/is-component","ember-this-fallback/this-fallback-helper","ember-this-fallback/try-lookup-helper","@ember/template-factory"],(function(e,t,s,i,a,r,l,o,n,c,p,u){"use strict"
var d,h,b
function m(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
var s=e[Symbol.toPrimitive]
if(void 0!==s){var i=s.call(e,t||"default")
if("object"!=typeof i)return i
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function f(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const g=(0,u.createTemplateFactory)({id:"7Ssma1Qo",block:'[[[8,[39,0],[[24,0,"hosted-change-domain"]],[["@title","@closeModal"],["Change Domain Name",[30,1]]],[["body","footer"],[[[[1,"\\n"],[41,[30,0,["error"]],[[[1," "],[10,"section"],[14,0,"alert"],[12],[1,"\\n "],[10,0],[14,0,"row"],[12],[1,"\\n "],[1,[28,[35,2],[[30,0,["error"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"hr"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"section"],[14,0,"alert"],[12],[1,"\\n "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,1],[12],[1,"\\n Note that changing your domain will take effect immediately. The site\\n will fail to load on the current domain, and users will need to reload\\n their browser to be redirected to the new domain. Everyone will be\\n logged out because sessions canβt be transferred between domains.\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isTrydiscourse"]],[[[41,[51,[30,0,["showDNS"]]],[[[1," "],[10,"section"],[14,0,"alert"],[12],[1,"\\n "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,1],[12],[1,"\\n Your site is currently on a temporary domain at trydiscourse.com.\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["showDNS"]],[[[1," "],[10,"section"],[14,0,"dns-instructions"],[12],[1,"\\n "],[10,0],[14,0,"row"],[12],[1,"\\n"],[41,[30,0,["isTrydiscourse"]],[[[1," "],[10,1],[12],[1,"\\n To start your subscription, your site must be on a domain name\\n that you own and control.\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,1],[12],[1,"\\n Follow these instructions to host on another domain that you own.\\n "],[13],[1,"\\n"]],[]]],[1,"\\n "],[10,"ol"],[14,0,"with-padding"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n If you don\'t already own a domain, you can\\n "],[10,3],[14,6,"https://www.namecheap.com/domains/domain-name-search/"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"\\n purchase one from a domain registry like Namecheap\\n "],[13],[1,".\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n"],[41,[30,0,["isTrydiscourse"]],[[[1," To move from\\n "],[10,"strong"],[14,0,"fixed-width-font"],[12],[1,"trydiscourse.com"],[13],[1,"\\n to your own domain,\\n"]],[]],[[[1," To make the site load on another domain,\\n"]],[]]],[1," you\'ll need to access the DNS controls for your domain. It\'s\\n usually accessible from the same place you purchased the domain\\n name from.\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n Choose a subdomain where your Discourse forums will be found. For\\n example, if you own\\n "],[10,"strong"],[14,0,"fixed-width-font"],[12],[1,"example.com"],[13],[1,"\\n then you could choose\\n "],[10,"strong"],[14,0,"fixed-width-font"],[12],[1,"discourse.example.com"],[13],[1,"\\n for your community.\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n Add a DNS CNAME record that points the address to this location:\\n"],[41,[51,[30,0,["isTrydiscourse"]]],[[[1," "],[10,2],[12],[1,"\\n "],[10,"i"],[12],[1,"\\n Be sure to create a new record,\\n "],[10,"b"],[12],[1,"do not replace your current record"],[13],[1,", or you will lose\\n access to your site.\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,2],[14,0,"centered"],[12],[1,"\\n "],[10,"strong"],[14,0,"fixed-width-font"],[12],[1,[30,0,["cname"]]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mock-dns-form"],[12],[1,"\\n "],[10,0],[14,0,"mock-dropdown"],[12],[1,"\\n "],[10,0],[14,0,"text"],[12],[1,"CNAME"],[13],[1,"\\n "],[10,0],[14,0,"control"],[12],[1,"\\n "],[1,[28,[35,4],["sort"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mock-text-input"],[12],[1,"\\n "],[10,0],[14,0,"text"],[12],[1,[30,0,["newDomain"]]],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mock-text-input"],[12],[1,"\\n "],[10,0],[14,0,"text"],[12],[1,[30,0,["cname"]]],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mock-dropdown"],[12],[1,"\\n "],[10,0],[14,0,"text"],[12],[1,"Auto TTL"],[13],[1,"\\n "],[10,0],[14,0,"control"],[12],[1,"\\n "],[1,[28,[35,4],["sort"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"clearfix"],[12],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n "],[10,"em"],[12],[1,"\\n (Note that the site will\\n "],[10,"strong"],[12],[1,"not"],[13],[1,"\\n load by visiting\\n "],[10,1],[14,0,"fixed-width-font"],[12],[41,[28,[32,0],["cname"],null],[[[8,[39,5],null,null,null]],[]],[[[44,[[28,[37,7],null,[["cname"],[[28,[32,1],["cname"],null]]]]],[[[1,[52,[30,2,["cname"]],[28,[30,2,["cname"]],null,null],[28,[32,2],[[30,0],"cname","[\\"The `cname` property path was used in the `discourse/plugins/hosted-site/discourse/components/modal/admin-change-domain.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.cname}}\\",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,"\\n in a browser.)\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n If you need help, see\\n "],[10,3],[14,6,"https://meta.discourse.org/t/configure-your-domain-name-for-hosted-discourse/21827"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"\\n this guide\\n "],[13],[1,"\\n or contact us at\\n "],[10,3],[14,6,"mailto:team@discourse.org"],[12],[1,"team@discourse.org"],[13],[1,".\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,0,["isTrydiscourse"]]],[[[1," "],[10,"li"],[12],[1,"\\n "],[10,2],[12],[1,"\\n Once you can access your site at the new domain, you can\\n delete the DNS entry for the old domain.\\n "],[13],[1,"\\n "],[10,2],[12],[1,"\\n Be sure to update any third-party authentication to use the\\n new domain\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["showDNS"]]],[[[41,[30,0,["isTrydiscourse"]],[[[1," "],[10,2],[12],[1,"\\n Before you can start your subscription, you will need to move this\\n site to a domain that you own. Submit the domain you choose here and\\n follow any subsequent instructions.\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[12],[1,"\\n If you want to change the domain where this site is hosted, submit the\\n new domain here.\\n "],[13],[1,"\\n"]],[]]]],[]],null],[1,"\\n "],[10,2],[12],[1,"\\n "],[10,"label"],[14,0,"hosted-new-domain-label"],[12],[1,"\\n "],[10,1],[12],[1,"New Domain:"],[13],[1,"\\n "],[8,[39,8],[[24,0,"hosted-new-domain-input"]],[["@value","@placeholderKey","@autocorrect","@autocapitalize","@id"],[[30,0,["newDomain"]],"hosted_site.domain_placeholder","off","off","hosted-new-domain-input"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[39,9],[[24,0,"btn-primary"]],[["@translatedLabel","@action","@isLoading","@disabled"],["Next",[30,0,["next"]],[30,0,["loading"]],[28,[37,10],[[30,0,["newDomain"]]],null]]],null],[1,"\\n\\n "],[8,[39,9],[[24,0,"btn-flat"]],[["@translatedLabel","@action","@disabled"],["Cancel",[30,1],[30,0,["loading"]]]],null],[1,"\\n "]],[]]]]]],["@closeModal","maybeHelpers"],false,["d-modal","if","html-safe","unless","d-icon","cname","let","hash","text-field","d-button","not"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-change-domain.hbs",scope:()=>[n.default,p.default,c.default],isStrictMode:!1})
let y=e.default=(d=(0,o.default)(),h=class extends t.default{constructor(){var e,t,s,i
super(...arguments),e=this,t="dialog",i=this,(s=b)&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0}),m(this,"newDomain",void 0),m(this,"error",void 0),m(this,"showDNS",void 0),m(this,"cname",void 0),m(this,"loading",!1)}isTrydiscourse(){return window.location.host.includes("trydiscourse.com")}async next(){this.set("loading",!0)
try{const e=await(0,r.ajax)("/admin/hosted_account/add_hostname.json",{type:"POST",data:{hostname:this.newDomain}})
if(e.success)return this.closeModal(),void this.dialog.alert(`Success! Your site will start loading on ${this.newDomain} shortly! Please wait about 10 minutes for changes to be applied.`)
if(this.set("cname",e.cname),this.newDomain.includes("hosted-by-discourse"))this.set("error",`The domain for your site cannot be changed to <b>${this.newDomain}</b>. That url is meant for internal use only and cannot be used to access your site. Follow the instructions below, then try again.`)
else{const t=await(0,l.cook)(e.message)
this.set("error",t)}this.set("showDNS",!0)}catch{this.closeModal(),this.dialog.alert({message:(0,a.htmlSafe)("There was an error. Please send an email to <a href='mailto:team@discourse.org'>team@discourse.org</a> so we can look into it.")})}finally{this.set("loading",!1)}}},b=f(h.prototype,"dialog",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f(h.prototype,"isTrydiscourse",[d],Object.getOwnPropertyDescriptor(h.prototype,"isTrydiscourse"),h.prototype),f(h.prototype,"next",[s.action],Object.getOwnPropertyDescriptor(h.prototype,"next"),h.prototype),h);(0,t.setComponentTemplate)(g,y)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-change-user-limit",["exports","@ember/component","@ember/object","@ember/service","discourse/lib/ajax","discourse-common/utils/decorators","@ember/template-factory"],(function(e,t,s,i,a,r,l){"use strict"
var o,n,c,p,u,d,h,b,m
function f(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
var s=e[Symbol.toPrimitive]
if(void 0!==s){var i=s.call(e,t||"default")
if("object"!=typeof i)return i
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function g(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const y=(0,l.createTemplateFactory)({id:"VxPy5GNO",block:'[[[8,[39,0],[[24,0,"hosted-change-user-limit"]],[["@title","@closeModal"],["Manage User Limit",[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,"\\n Your plan currently covers\\n "],[10,"b"],[12],[1,[30,2,["userLimit"]]],[13],[1,"\\n users.\\n "],[13],[1,"\\n\\n"],[41,[30,0,["preview"]],[[[1," "],[10,2],[12],[1,"\\n Changing to\\n "],[10,"b"],[12],[1,[30,2,["newUserLimit"]]],[13],[1,"\\n users will cost\\n "],[10,"b"],[12],[1,[28,[35,2],[[30,0,["preview","new_price"]]],null]],[1,"/"],[1,[30,0,["period"]]],[13],[1,"\\n starting on\\n "],[10,"b"],[12],[1,[30,2,["paymentDueDate"]]],[13],[1,".\\n "],[13],[1,"\\n "],[10,2],[12],[1,"\\n"],[41,[30,0,["payNow"]],[[[1," You will be charged\\n "],[10,"b"],[12],[1,[28,[35,2],[[30,0,["preview","cost"]]],null]],[13],[1,"\\n now.\\n"]],[]],null],[41,[30,0,["getCredit"]],[[[1," You will be credited\\n "],[10,"b"],[12],[1,[28,[35,2],[[30,0,["credit"]]],null]],[13],[1,"\\n to your account.\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["preview","line_items"]],[[[1," "],[10,0],[12],[1,"\\n "],[10,"table"],[14,0,"hosted-line-items-table"],[12],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,0,["preview","line_items"]]],null]],null],null,[[[1," "],[10,"tr"],[12],[1,"\\n "],[10,"td"],[14,0,"description"],[12],[1,[30,3,["description"]]],[13],[1,"\\n "],[10,"td"],[14,0,"amount"],[12],[1,[28,[35,2],[[30,3,["amount"]]],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[10,0],[12],[1,"\\n New User Limit:\\n "],[8,[39,5],null,[["@value","@type","@min"],[[30,2,["newUserLimit"]],"number","5"]],null],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n\\n "],[10,"em"],[12],[1,"\\n"],[41,[30,0,["validationMessage"]],[[[1," "],[1,[30,0,["validationMessage"]]],[1,"\\n"]],[]],[[[1," Β \\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[12],[1,"\\n You can review and confirm your billing changes on the next page.\\n "],[13],[1,"\\n"]],[]]],[1," "]],[]],[[[1,"\\n"],[41,[30,0,["canSubmit"]],[[[1," "],[8,[39,6],[[24,0,"btn-primary"]],[["@translatedLabel","@action","@disabled"],["Submit",[30,0,["submitNewUserLimit"]],[30,0,["disableSubmit"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,6],[[24,0,"btn-primary"]],[["@translatedLabel","@action","@disabled"],["Nextβ¦",[30,0,["previewNewUserLimit"]],[30,0,["disableSubmit"]]]],null],[1,"\\n"]],[]]],[1,"\\n "],[8,[39,6],[[24,0,"btn-flat"]],[["@translatedLabel","@action","@disabled"],["Cancel",[30,1],[30,0,["formSubmitted"]]]],null],[1,"\\n "]],[]]]]]],["@closeModal","@model","line_item"],false,["d-modal","if","dollars-and-cents","each","-track-array","text-field","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-change-user-limit.hbs",isStrictMode:!1})
let k=e.default=(o=(0,r.default)("model.customerUserCount","model.newUserLimit","model.userLimit","model.trial","formSubmitted"),n=(0,r.default)("disableSubmit","model.trial","model.newUserLimit"),c=(0,r.default)("model.trial","preview"),p=(0,r.default)("preview.period"),u=(0,r.default)("preview.cost"),d=(0,r.default)("credit"),h=(0,r.default)("preview.cost"),b=class extends t.default{constructor(){var e,t,s,i
super(...arguments),e=this,t="dialog",i=this,(s=m)&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0}),f(this,"formSubmitted",!1),f(this,"preview",void 0)}disableSubmit(e,t,s,i,a){const r=parseInt(t,10)
return a||r===s||e>r||r<5||i&&r>10}validationMessage(e,t,s){if(e){if(t&&s>10)return"You cannot exceed 10 users during your trial."
if(s<5)return"Your first 5 users are included in the base price."}}canSubmit(e,t){return e||t}period(e){return"monthly"===e?"month":"year"}payNow(e){return e>0}getCredit(e){return e>0}credit(e){return-1*e}async previewNewUserLimit(){if(!this.formSubmitted){this.set("formSubmitted",!0)
try{const e=await(0,a.ajax)("/admin/hosted_plan/preview.json",{type:"GET",data:{plan_quantity:this.model.newUserLimit}})
e.success?this.set("preview",e.preview):this.dialog.alert("There was an error submitting your request. Please send an email to team@discourse.org so we can look into it.")}catch{this.dialog.alert("There was an error submitting your request. Please send an email to team@discourse.org so we can look into it.")}finally{this.set("formSubmitted",!1)}}}async submitNewUserLimit(){if(!this.disableSubmit){this.set("formSubmitted",!0)
try{const e=await(0,a.ajax)("/admin/hosted_plan.json",{type:"PUT",data:{plan_quantity:this.model.newUserLimit}})
this.closeModal(),e.success?(this.dialog.alert(e.message||"Your user limit has been updated successfully."),this.model.onComplete()):this.dialog.alert(`Your account could not be updated. ${e.message}`)}catch{this.dialog.alert("There was an error submitting your request. Please send an email to team@discourse.org so we can look into it.")}finally{this.set("preview",null),this.set("formSubmitted",!1)}}}},m=g(b.prototype,"dialog",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g(b.prototype,"disableSubmit",[o],Object.getOwnPropertyDescriptor(b.prototype,"disableSubmit"),b.prototype),g(b.prototype,"validationMessage",[n],Object.getOwnPropertyDescriptor(b.prototype,"validationMessage"),b.prototype),g(b.prototype,"canSubmit",[c],Object.getOwnPropertyDescriptor(b.prototype,"canSubmit"),b.prototype),g(b.prototype,"period",[p],Object.getOwnPropertyDescriptor(b.prototype,"period"),b.prototype),g(b.prototype,"payNow",[u],Object.getOwnPropertyDescriptor(b.prototype,"payNow"),b.prototype),g(b.prototype,"getCredit",[d],Object.getOwnPropertyDescriptor(b.prototype,"getCredit"),b.prototype),g(b.prototype,"credit",[h],Object.getOwnPropertyDescriptor(b.prototype,"credit"),b.prototype),g(b.prototype,"previewNewUserLimit",[s.action],Object.getOwnPropertyDescriptor(b.prototype,"previewNewUserLimit"),b.prototype),g(b.prototype,"submitNewUserLimit",[s.action],Object.getOwnPropertyDescriptor(b.prototype,"submitNewUserLimit"),b.prototype),b);(0,t.setComponentTemplate)(y,k)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-contact-email",["exports","@ember/component","@glimmer/component","@glimmer/tracking","@ember/object","@ember/service","discourse/lib/ajax","discourse/lib/utilities","discourse-i18n","@ember/template-factory"],(function(e,t,s,i,a,r,l,o,n,c){"use strict"
var p,u,d
function h(e,t,s,i){s&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0})}function b(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const m=(0,c.createTemplateFactory)({id:"bBfCH+s0",block:'[[[8,[39,0],[[24,0,"hosted-contact-email"]],[["@title","@closeModal"],["Change Contact Email Address",[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,"\\n Set the email address where we can reach you about your Discourse hosting\\n service.\\n "],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[8,[39,1],null,[["@value","@placeholderKey","@id","@autocorrect","@autocapitalize","@type"],[[30,0,["contactEmail"]],"topic.invite_reply.email_placeholder","hosted-contact-email-input","off","off","email"]],null],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n "],[8,[39,2],null,[["@validation"],[[30,0,["emailValidation"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[39,3],[[24,0,"btn-primary"]],[["@translatedLabel","@action","@disabled"],["Save",[30,0,["save"]],[30,0,["invalidEmail"]]]],null],[1,"\\n\\n "],[8,[39,3],[[24,0,"btn-flat"]],[["@translatedLabel","@action"],["Cancel",[30,1]]],null],[1,"\\n "]],[]]]]]],["@closeModal"],false,["d-modal","text-field","input-tip","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-contact-email.hbs",isStrictMode:!1})
let f=e.default=(p=class extends s.default{constructor(){super(...arguments),h(this,"dialog",u,this),h(this,"contactEmail",d,this)}get invalidEmail(){return!(0,o.emailValid)(this.contactEmail)}get emailValidation(){if(this.invalidEmail&&this.contactEmail)return a.default.create({failed:!0,reason:n.default.t("user.email.invalid")})}async save(){try{await(0,l.ajax)("/admin/hosted_account/update_contact_email.json",{type:"PUT",data:{email:this.contactEmail}}),this.args.closeModal(),this.dialog.alert("Your contact email address has been updated."),this.args.model.onComplete()}catch{this.args.closeModal(),this.dialog.alert("There was an error updating your contact email address. Please send an email to team@discourse.org so we can look into it and update your account info.")}}},u=b(p.prototype,"dialog",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=b(p.prototype,"contactEmail",[i.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b(p.prototype,"save",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"save"),p.prototype),p);(0,t.setComponentTemplate)(m,f)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-invoices",["exports","@ember/component","@ember/component/template-only","@ember/template-factory"],(function(e,t,s,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const a=(0,i.createTemplateFactory)({id:"+Mcg3md2",block:'[[[8,[39,0],[[24,0,"hosted-invoices"]],[["@title","@closeModal"],["Invoices",[30,1]]],[["body"],[[[[1,"\\n"],[41,[30,2,["invoices","length"]],[[[1," "],[10,"table"],[14,0,"hosted-invoices-table"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"tr"],[12],[1,"\\n "],[10,"th"],[12],[1,"Number"],[13],[1,"\\n "],[10,"th"],[12],[1,"Product"],[13],[1,"\\n "],[10,"th"],[12],[1,"Addon"],[13],[1,"\\n "],[10,"th"],[12],[1,"Amount"],[13],[1,"\\n "],[10,"th"],[12],[1,"Status"],[13],[1,"\\n "],[10,"th"],[12],[1,"Date"],[13],[1,"\\n "],[10,"th"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,2,["invoices"]]],null]],null],null,[[[1," "],[10,"tr"],[12],[1,"\\n "],[10,"td"],[12],[1,[30,3,["number"]]],[13],[1,"\\n "],[10,"td"],[12],[1,[30,3,["product_name"]]],[13],[1,"\\n "],[10,"td"],[12],[1,[30,3,["addon_name"]]],[13],[1,"\\n "],[10,"td"],[12],[1,"$"],[1,[30,3,["total"]]],[13],[1,"\\n "],[10,"td"],[12],[1,[30,3,["status"]]],[13],[1,"\\n "],[10,"td"],[12],[1,[30,3,["date"]]],[13],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[8,[39,4],[[24,0,"btn-default"]],[["@href","@icon","@label"],[[30,3,["hosted_url"]],"file-invoice","hosted_site.view_invoice"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[12],[1,"No available invoices."],[13],[1,"\\n"]],[]]],[1," "]],[]]]]]],["@closeModal","@model","invoice"],false,["d-modal","if","each","-track-array","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-invoices.hbs",isStrictMode:!1})
e.default=(0,t.setComponentTemplate)(a,(0,s.default)())})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-po-number",["exports","@ember/component","@ember/object","@ember/object/computed","@ember/service","discourse/lib/ajax","I18n","@ember/template-factory"],(function(e,t,s,i,a,r,l,o){"use strict"
var n,c,p,u
function d(e,t,s,i){s&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0})}function h(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
var s=e[Symbol.toPrimitive]
if(void 0!==s){var i=s.call(e,t||"default")
if("object"!=typeof i)return i
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function b(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const m=(0,o.createTemplateFactory)({id:"V6kFjORC",block:'[[[8,[39,0],[[24,0,"hosted-invoice-details"]],[["@title","@closeModal"],[[28,[37,1],["hosted_site.po_number.title"],null],[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,[28,[35,1],["hosted_site.po_number.description"],null]],[13],[1,"\\n\\n"],[41,[30,0,["errorMessage"]],[[[1," "],[10,2],[14,0,"error"],[12],[1,"\\n "],[1,[28,[35,3],["times"],null]],[1,"\\n "],[1,[30,0,["errorMessage"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"address-and-tax-sections"],[12],[1,"\\n "],[10,0],[14,0,"address-section"],[12],[1,"\\n "],[10,"h3"],[14,0,"subtitle"],[12],[1,"\\n "],[1,[28,[35,1],["hosted_site.po_number.purchase_order_heading"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[39,4],[[16,"placeholder",[28,[37,1],["hosted_site.po_number.purchase_order_number"],null]],[24,"autocorrect","off"],[24,"autocapitalize","off"]],[["@type","@value"],["text",[30,0,["invoiceDetails","purchase_order_number"]]]],null],[1,"\\n "],[8,[39,5],null,[["@validationErrors","@fieldName"],[[30,0,["validationErrors"]],"purchase_order_number"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[39,6],[[24,0,"btn-primary"]],[["@label","@action","@disabled"],["hosted_site.po_number.save",[30,0,["save"]],[30,0,["saving"]]]],null],[1,"\\n\\n "],[8,[39,6],[[24,0,"btn-flat"]],[["@translatedLabel","@action"],["Cancel",[30,1]]],null],[1,"\\n "]],[]]]]]],["@closeModal"],false,["d-modal","i18n","if","d-icon","input","invoice-detail-error","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-po-number.hbs",isStrictMode:!1})
let f=e.default=(n=(0,i.alias)("model.invoiceDetails"),c=class extends t.default{constructor(){super(...arguments),d(this,"dialog",p,this),h(this,"saving",!1),h(this,"errorMessage",void 0),h(this,"validationErrors",void 0),d(this,"invoiceDetails",u,this)}async save(){this.setProperties({errorMessage:null,validationErrors:null,saving:!0})
let e={}
this.invoiceDetails.purchase_order_number&&(e.purchase_order_number=this.invoiceDetails.purchase_order_number)
try{const t=await(0,r.ajax)("/admin/invoice_details.json",{type:"PUT",data:e})
t.success?(this.closeModal(),this.dialog.alert(l.default.t("hosted_site.po_number.success")),this.model.onComplete()):(this.set("errorMessage",t.message),t.errors&&this.set("validationErrors",t.errors))}catch{this.closeModal(),this.dialog.alert("There was an error updating your details. Please send an email to team@discourse.org so we can look into it and update your account info.")}finally{this.set("saving",!1)}}},p=b(c.prototype,"dialog",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=b(c.prototype,"invoiceDetails",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b(c.prototype,"save",[s.action],Object.getOwnPropertyDescriptor(c.prototype,"save"),c.prototype),c);(0,t.setComponentTemplate)(m,f)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-read-only-info",["exports","@ember/component","@ember/object","discourse/plugins/hosted-site/lib/downgrade","@ember/template-factory"],(function(e,t,s,i,a){"use strict"
var r
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=(0,a.createTemplateFactory)({id:"Kik0cXIs",block:'[[[8,[39,0],[[24,0,"read-only-info"]],[["@title","@closeModal"],["Read Only",[30,1]]],[["body"],[[[[1,"\\n "],[10,0],[14,0,"read-only-warning"],[12],[1,"\\n "],[10,0],[14,0,"warning-icon"],[12],[1,"\\n "],[1,[28,[35,1],[":warning:"],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"warning-text"],[12],[1,"\\n Are you absolutely sure? If you proceed, you won\'t be able to access\\n this dashboard to revert this change. In the future, when you want to\\n leave the read-only plan, contact us at team@discourse.org\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"read-only-action"],[12],[1,"\\n "],[8,[39,2],[[24,0,"btn-primary btn-danger"]],[["@translatedLabel","@action"],["Switch to read-only",[30,0,["switchReadOnly"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]]],["@closeModal"],false,["d-modal","replace-emoji","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-read-only-info.hbs",isStrictMode:!1})
let o=e.default=(r=class extends t.default{switchReadOnly(){this.closeModal(),(0,i.downgrade)(this.model.downgrade)}},n=r.prototype,c="switchReadOnly",p=[s.action],u=Object.getOwnPropertyDescriptor(r.prototype,"switchReadOnly"),d=r.prototype,h={},Object.keys(u).forEach((function(e){h[e]=u[e]})),h.enumerable=!!h.enumerable,h.configurable=!!h.configurable,("value"in h||h.initializer)&&(h.writable=!0),h=p.slice().reverse().reduce((function(e,t){return t(n,c,e)||e}),h),d&&void 0!==h.initializer&&(h.value=h.initializer?h.initializer.call(d):void 0,h.initializer=void 0),void 0===h.initializer&&(Object.defineProperty(n,c,h),h=null),r)
var n,c,p,u,d,h;(0,t.setComponentTemplate)(l,o)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-referral-link",["exports","@ember/component","@ember/component/template-only","@ember/template-factory"],(function(e,t,s,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const a=(0,i.createTemplateFactory)({id:"/stkbwqY",block:'[[[8,[39,0],[[24,0,"hosted-referral-link"]],[["@title","@closeModal"],["Give $50, Get $25!",[30,1]]],[["default"],[[[[1,"\\n "],[10,2],[12],[1,"\\n Refer someone with this unique link to get $50 off their first payment and\\n earn $25 off your next payment!\\n "],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[8,[39,1],[[24,1,"customer-referral-link"],[4,[38,2],null,[["selectText"],[true]]]],[["@value"],[[29,["https://discourse.org?r=",[30,2,["referralCode"]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"referral-tc"],[12],[1,"\\n Offer valid midnight ET November 26, 2023 to 11:59:59 PM ET November 25,\\n 2024. Excludes Enterprise tier subscriptions. Existing customers can redeem\\n up to $250 off from multiple referrals. One code redemption per new\\n customer. Cannot be combined with other offers. No cash value. Void where\\n prohibited.\\n "],[13],[1,"\\n"]],[]]]]]],["@closeModal","@model"],false,["d-modal","text-field","auto-focus"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-referral-link.hbs",isStrictMode:!1})
e.default=(0,t.setComponentTemplate)(a,(0,s.default)())})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-restricted-plan-info",["exports","@ember/component","@ember/object","@ember/service","discourse-common/utils/decorators","discourse/plugins/hosted-site/lib/downgrade","discourse/plugins/hosted-site/discourse/components/modal/admin-read-only-info","@ember/template-factory"],(function(e,t,s,i,a,r,l,o){"use strict"
var n,c,p,u
function d(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const h=(0,o.createTemplateFactory)({id:"4We63i96",block:'[[[8,[39,0],[[24,0,"restricted-plan-info"]],[["@title","@closeModal"],["Downgrade Service",[30,1]]],[["body"],[[[[1,"\\n "],[10,0],[14,0,"staff-only-info"],[12],[1,"\\n "],[10,"h4"],[12],[1,"Staff-only plan"],[13],[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"Staff members can login and create new content"],[13],[1,"\\n "],[10,"li"],[12],[1,"Regular members can view the site, but cannot login"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"staff-only-action"],[12],[1,"\\n "],[10,2],[12],[1,"\\n "],[10,"b"],[12],[1,[30,0,["staffOnlyCost"]]],[13],[1,"\\n "],[13],[1,"\\n "],[8,[39,1],null,[["@translatedLabel","@action"],["Switch to staff-only",[30,0,["switchStaffOnly"]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"read-only-info"],[12],[1,"\\n "],[10,"h4"],[12],[1,"Read-only plan"],[13],[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"No users can login"],[13],[1,"\\n "],[10,"li"],[12],[1,"No new content can be created"],[13],[1,"\\n "],[10,"li"],[12],[1,"All content is kept online"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"read-only-action"],[12],[1,"\\n "],[10,2],[12],[1,"\\n "],[10,"b"],[12],[1,[30,0,["readOnlyCost"]]],[13],[1,"\\n "],[13],[1,"\\n "],[8,[39,1],null,[["@translatedLabel","@action"],["Switch to read-only",[30,0,["switchReadOnly"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]]],["@closeModal"],false,["d-modal","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-restricted-plan-info.hbs",isStrictMode:!1})
let b=e.default=(n=(0,a.default)("model.readOnlyCost"),c=(0,a.default)("model.staffOnlyCost"),p=class extends t.default{constructor(){var e,t,s,i
super(...arguments),e=this,t="modal",i=this,(s=u)&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0})}readOnlyCost(e){return e}staffOnlyCost(e){return e}switchStaffOnly(){const e=this.model.cancellationAlternatives.staff_only
this.closeModal(),(0,r.downgradeWithConfirmation)(e)}switchReadOnly(){const e=this.model.cancellationAlternatives.read_only
this.modal.show(l.default,{model:{downgrade:e}})}},u=d(p.prototype,"modal",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d(p.prototype,"readOnlyCost",[n],Object.getOwnPropertyDescriptor(p.prototype,"readOnlyCost"),p.prototype),d(p.prototype,"staffOnlyCost",[c],Object.getOwnPropertyDescriptor(p.prototype,"staffOnlyCost"),p.prototype),d(p.prototype,"switchStaffOnly",[s.action],Object.getOwnPropertyDescriptor(p.prototype,"switchStaffOnly"),p.prototype),d(p.prototype,"switchReadOnly",[s.action],Object.getOwnPropertyDescriptor(p.prototype,"switchReadOnly"),p.prototype),p);(0,t.setComponentTemplate)(h,b)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-send-receipt",["exports","@ember/component","@glimmer/component","@ember/object","@ember/service","discourse/lib/ajax","@ember/template-factory"],(function(e,t,s,i,a,r,l){"use strict"
var o,n
function c(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const p=(0,l.createTemplateFactory)({id:"ihGJl120",block:'[[[8,[39,0],[[24,0,"hosted-send-receipt"]],[["@title","@closeModal"],["Send Receipt",[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,"\\n Do you want your last receipt to be emailed to the current billing email\\n address?\\n "],[10,"pre"],[12],[1,[30,2,["billingEmailAddress"]]],[13],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[39,1],[[24,0,"btn-primary"]],[["@translatedLabel","@action"],["Yes",[30,0,["sendReceipt"]]]],null],[1,"\\n\\n "],[8,[39,1],[[24,0,"btn-flat"]],[["@translatedLabel","@action"],["Cancel",[30,1]]],null],[1,"\\n "]],[]]]]]],["@closeModal","@model"],false,["d-modal","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-send-receipt.hbs",isStrictMode:!1})
let u=e.default=(o=class extends s.default{constructor(){var e,t,s,i
super(...arguments),e=this,t="dialog",i=this,(s=n)&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0})}async sendReceipt(){try{await(0,r.ajax)("/admin/hosted_account/send_receipt.json"),this.args.closeModal(),this.dialog.alert("OK an email will be sent to you shortly. If you don't receive it, send an email to team@discourse.org.")}catch{this.args.closeModal(),this.dialog.alert("There was an error. Please try again later, or send an email to team@discourse.org.")}}},n=c(o.prototype,"dialog",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c(o.prototype,"sendReceipt",[i.action],Object.getOwnPropertyDescriptor(o.prototype,"sendReceipt"),o.prototype),o);(0,t.setComponentTemplate)(p,u)})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-support-options",["exports","@ember/component","@ember/component/template-only","@ember/template-factory"],(function(e,t,s,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const a=(0,i.createTemplateFactory)({id:"/ldNyjNQ",block:'[[[8,[39,0],[[24,0,"hosted-support-options"]],[["@title","@closeModal"],["Support",[30,1]]],[["body"],[[[[1,"\\n "],[10,0],[12],[1,"\\n"],[41,[30,2,["freeSite"]],[[[1," "],[10,"h4"],[12],[1,"Discourse Meta"],[13],[1,"\\n "],[10,1],[12],[1,"\\n Ask your questions about Discourse on our\\n "],[10,3],[15,6,[30,2,["supportCategoryUrl"]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"public support forum."],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"h4"],[12],[1,"Contact Us"],[13],[1,"\\n "],[10,1],[12],[1,"\\n As a hosted customer you can contact us directly any time for support\\n queries at\\n "],[10,3],[14,6,"mailto:team@discourse.org"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"team@discourse.org."],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[10,"hr"],[12],[13],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,"h4"],[12],[1,"Guides and Docs"],[13],[1,"\\n "],[10,2],[12],[1,"\\n Browse our collection of Guides, FAQs, and Tips & Tricks to read up\\n and make the most of our wide-range of forum features.\\n "],[13],[1,"\\n "],[10,0],[14,0,"kb-image"],[12],[1,"\\n "],[10,3],[15,6,[30,2,["supportDocsUrl"]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"\\n "],[10,"img"],[15,"src",[30,2,["supportImageUrl"]]],[14,"height","227"],[14,"width","253"],[12],[13],[1,"\\n "],[1,[28,[35,2],["external-link-alt"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,2,["freeSite"]],[[[1," "],[10,"small"],[14,0,"support-link"],[12],[1,"\\n Need help with your plan?\\n "],[10,3],[14,6,"mailto:team@discourse.org"],[12],[1,"team@discourse.org"],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"hr"],[12],[13],[1,"\\n "],[10,"h4"],[12],[1,"Join the community!"],[13],[1,"\\n "],[10,1],[12],[1,"We also have a vibrant community of Discourse forum aficionados at\\n "],[10,3],[15,6,[30,2,["supportCategoryUrl"]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"meta.discourse.org"],[13],[1,", where you can get inspiration, share your\\n valuable experience, suggest new Features, and find out the latest\\n Discourse news.\\n "],[13],[1,"\\n"]],[]]],[1," "]],[]]]]]],["@closeModal","@model"],false,["d-modal","if","d-icon"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-support-options.hbs",isStrictMode:!1})
e.default=(0,t.setComponentTemplate)(a,(0,s.default)())})),define("discourse/plugins/hosted-site/discourse/components/modal/admin-upgrade-freesite",["exports","@ember/component","@ember/component/template-only","@ember/template-factory"],(function(e,t,s,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const a=(0,i.createTemplateFactory)({id:"b8NwYT2/",block:'[[[8,[39,0],[[24,0,"hosted-change-domain-freesite"]],[["@title","@closeModal"],["Change Domain Name",[30,1]]],[["body"],[[[[1,"\\n "],[10,2],[12],[1,"\\n On a Free plan, you are required to stay on your existing domain or a\\n "],[10,"em"],[12],[1,"*.discourse.group"],[13],[1,"\\n domain. Get in touch with us if you\'d like to upgrade to our\\n "],[10,3],[14,6,"https://www.discourse.org/pricing"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"Standard plan"],[13],[1,"\\n at\\n "],[10,"b"],[12],[1,"50% off"],[13],[1,"!\\n "],[13],[1,"\\n "],[10,3],[14,6,"mailto:team@discourse.org?subject=Upgrade my Free Discourse instance"],[14,0,"btn btn-primary"],[12],[1,"\\n "],[1,[28,[35,1],["plus-square"],null]],[1,"\\n Upgrade\\n "],[13],[1,"\\n "]],[]]]]]],["@closeModal"],false,["d-modal","d-icon"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/admin-upgrade-freesite.hbs",isStrictMode:!1})
e.default=(0,t.setComponentTemplate)(a,(0,s.default)())})),define("discourse/plugins/hosted-site/discourse/components/modal/show-business-plugins",["exports","@ember/component","@ember/component/template-only","@ember/template-factory"],(function(e,t,s,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const a=(0,i.createTemplateFactory)({id:"fEheJVCa",block:'[[[8,[39,0],[[24,0,"hosted-business-plugins"]],[["@title","@closeModal"],["Business Plan Plugins",[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,"\\n Upgrade to the\\n "],[10,3],[14,6,"https://www.discourse.org/pricing"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"business plan"],[13],[1,"\\n to gain access to these plugins:\\n "],[13],[1,"\\n\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[10,3],[14,6,"https://www.discourse.org/plugins/data-explorer"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"Data Explorer"],[13],[1,"\\n β run live SQL queries and ad-hoc reports\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[10,3],[14,6,"https://www.discourse.org/plugins/assign"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"Assignment"],[13],[1,"\\n β assign a topic to staff for handling\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[10,3],[14,6,"https://www.discourse.org/plugins/topic-voting"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"Topic Voting"],[13],[1,"\\n β vote up favorite topics\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[10,3],[14,6,"https://www.discourse.org/plugins/staff-notes"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"Staff Notes"],[13],[1,"\\n β annotate user accounts\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[10,3],[14,6,"https://www.discourse.org/plugins/canned-replies"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"Canned Replies"],[13],[1,"\\n β automate common staff replies\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[10,3],[14,6,"https://www.discourse.org/plugins/oauth"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"General oAuth 2.0"],[13],[1,"\\n and\\n "],[10,3],[14,6,"https://www.discourse.org/plugins/linkedin"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"LinkedIn login"],[13],[1,"\\n support\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"Sitemap β improve web crawler performance"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n Contact us if you\'re ready to upgrade or have questions by emailing us at\\n "],[10,3],[14,6,"mailto:team@discourse.org"],[12],[1,"team@discourse.org"],[13],[1,".\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[39,1],[[24,0,"btn-primary"]],[["@translatedLabel","@action"],["Ok",[30,1]]],null],[1,"\\n "]],[]]]]]],["@closeModal"],false,["d-modal","d-button"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/modal/show-business-plugins.hbs",isStrictMode:!1})
e.default=(0,t.setComponentTemplate)(a,(0,s.default)())})),define("discourse/plugins/hosted-site/discourse/components/static-progress-bar",["exports","@ember/helper","@ember/template","discourse/helpers/concat-class","discourse/helpers/replace-emoji","truth-helpers/helpers/gt","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,s,i,a,r,l,o,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const c=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"kHxjf19F",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],["static-progress-bar",[52,[28,[32,1],[[30,1],100],null],"is-over-limit"]],null]],[12],[1,"\\n "],[10,0],[14,0,"header"],[12],[1,"\\n "],[10,"h3"],[14,0,"subtitle"],[12],[1,[28,[32,2],[[30,2]],null]],[13],[1,"\\n "],[10,0],[14,0,"status"],[12],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"progress-bar-background"],[12],[1,"\\n "],[10,0],[14,0,"progress-bar"],[15,5,[28,[32,3],[[28,[32,4],["width: ",[30,1],"%"],null]],null]],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["@progress","@title","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/discourse/plugins/hosted-site/discourse/components/static-progress-bar.js",scope:()=>[i.default,r.default,a.default,s.htmlSafe,t.concat],isStrictMode:!0}),(0,n.default)())
e.default=c})),define("discourse/plugins/hosted-site/discourse/components/themes-upsell",["exports","@ember/component","@ember/object","@ember/service","@ember/template","@ember-decorators/component","discourse/lib/text","I18n","ember-this-fallback/this-fallback-helper","ember-this-fallback/try-lookup-helper","@ember/template-factory"],(function(e,t,s,i,a,r,l,o,n,c,p){"use strict"
var u,d,h
function b(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
var s=e[Symbol.toPrimitive]
if(void 0!==s){var i=s.call(e,t||"default")
if("object"!=typeof i)return i
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function m(e,t,s,i,a){var r={}
return Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=s.slice().reverse().reduce((function(s,i){return i(e,t,s)||s}),r),a&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(a):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null),r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const f=(0,p.createTemplateFactory)({id:"NJPhXPKA",block:'[[[44,[[28,[37,1],null,[["womanArtistEmojiURL"],[[28,[32,0],["womanArtistEmojiURL"],null]]]]],[[[10,"img"],[15,"src",[52,[30,1,["womanArtistEmojiURL"]],[28,[30,1,["womanArtistEmojiURL"]],null,null],[28,[32,1],[[30,0],"womanArtistEmojiURL","[\\"The `womanArtistEmojiURL` property path was used in the `discourse/plugins/hosted-site/discourse/components/themes-upsell.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.womanArtistEmojiURL}}\\",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]]],[14,"alt",""],[12],[13]],[1]]],[1,"\\n"],[10,0],[14,0,"content-wrapper"],[12],[1,"\\n "],[10,"h1"],[12],[1,[28,[35,3],["hosted_site.customize.theme.upgrade_to_access_title"],null]],[13],[1,"\\n "],[10,2],[14,0,"description"],[12],[1,[28,[35,3],["hosted_site.customize.theme.upgrade_to_access_description"],null]],[13],[1,"\\n "],[10,0],[14,0,"create-actions"],[12],[1,"\\n "],[8,[39,4],[[24,0,"btn-primary"]],[["@action","@label"],[[28,[37,5],[[30,0],"showUpgradeInstructions"],null],"hosted_site.customize.theme.upgrade_button"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"external-resources"],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,0,["externalResources"]]],null]],null],null,[[[1," "],[10,3],[15,6,[30,2,["link"]]],[14,0,"external-link"],[14,"rel","noopener noreferrer"],[14,"target","_blank"],[12],[1,"\\n "],[1,[28,[35,8],[[30,2,["icon"]]],null]],[1,"\\n "],[1,[28,[35,3],[[30,2,["key"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"],[13]],["maybeHelpers","resource"],false,["let","hash","if","i18n","d-button","action","each","-track-array","d-icon"]]',moduleName:"discourse/plugins/hosted-site/discourse/components/themes-upsell.hbs",scope:()=>[c.default,n.default],isStrictMode:!1})
let g=e.default=(0,r.classNames)("themes-intro","admin-intro","basic-tier-themes-intro")((d=class extends t.default{constructor(){var e,t,s,i
super(...arguments),e=this,t="dialog",i=this,(s=h)&&Object.defineProperty(e,t,{enumerable:s.enumerable,configurable:s.configurable,writable:s.writable,value:s.initializer?s.initializer.call(i):void 0}),b(this,"womanArtistEmojiURL",(0,l.emojiUrlFor)("woman_artist:t5")),b(this,"externalResources",[{key:"hosted_site.customize.theme.learn_more",link:"https://www.discourse.org/pricing#plans-features",icon:"book"},{key:"hosted_site.customize.theme.browse_themes",link:"https://meta.discourse.org/c/theme/61/none",icon:"paint-brush"},{key:"hosted_site.customize.theme.browse_components",link:"https://meta.discourse.org/c/theme-component/120/all",icon:"paint-brush"}])}showUpgradeInstructions(){this.dialog.notice((0,a.htmlSafe)(o.default.t("hosted_site.customize.theme.upgrade_instructions")))}},h=m(d.prototype,"dialog",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(d.prototype,"showUpgradeInstructions",[s.action],Object.getOwnPropertyDescriptor(d.prototype,"showUpgradeInstructions"),d.prototype),u=d))||u;(0,t.setComponentTemplate)(f,g)})),define("discourse/plugins/hosted-site/discourse/connectors/admin-customize-themes/admin-customize-themes-override",["exports"],(function(e){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={setupComponent(e,t){t.set("needToUpgrade",t.siteSettings.hide_admin_customize_themes)}}})),define("discourse/plugins/hosted-site/discourse/templates/connectors/admin-below-plugins-index/hosted-site",["exports","ember-this-fallback/is-component","ember-this-fallback/this-fallback-helper","ember-this-fallback/try-lookup-helper","@ember/template-factory"],(function(e,t,s,i,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=(0,a.createTemplateFactory)({id:"YRu2Yw2P",block:'[[[41,[28,[32,0],["hosted-plugins-info"],null],[[[8,[39,1],null,null,null]],[]],[[[44,[[28,[37,3],null,[["hosted-plugins-info"],[[28,[32,1],["hosted-plugins-info"],null]]]]],[[[1,[52,[30,1,["hosted-plugins-info"]],[28,[30,1,["hosted-plugins-info"]],null,null],[28,[32,2],[[30,0],"hosted-plugins-info","[\\"The `hosted-plugins-info` property path was used in the `discourse/plugins/hosted-site/discourse/templates/connectors/admin-below-plugins-index/hosted-site.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.hosted-plugins-info}}\\",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]]]],[1]]]],[]]]],["maybeHelpers"],false,["if","hosted-plugins-info","let","hash"]]',moduleName:"discourse/plugins/hosted-site/discourse/templates/connectors/admin-below-plugins-index/hosted-site.hbs",scope:()=>[t.default,i.default,s.default],isStrictMode:!1})})),define("discourse/plugins/hosted-site/discourse/templates/connectors/admin-customize-themes/admin-customize-themes-override",["exports","ember-this-fallback/is-component","ember-this-fallback/this-fallback-helper","ember-this-fallback/try-lookup-helper","@ember/template-factory"],(function(e,t,s,i,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=(0,a.createTemplateFactory)({id:"4l9u63w9",block:'[[[41,[30,0,["needToUpgrade"]],[[[1," "],[41,[28,[32,0],["themes-upsell"],null],[[[8,[39,1],null,null,null]],[]],[[[44,[[28,[37,3],null,[["themes-upsell"],[[28,[32,1],["themes-upsell"],null]]]]],[[[1,[52,[30,1,["themes-upsell"]],[28,[30,1,["themes-upsell"]],null,null],[28,[32,2],[[30,0],"themes-upsell","[\\"The `themes-upsell` property path was used in the `discourse/plugins/hosted-site/discourse/templates/connectors/admin-customize-themes/admin-customize-themes-override.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.themes-upsell}}\\",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]]]],[1]]]],[]]],[1,"\\n"]],[]],[[[1," "],[18,2,null],[1,"\\n"]],[]]]],["maybeHelpers","&default"],false,["if","themes-upsell","let","hash","yield"]]',moduleName:"discourse/plugins/hosted-site/discourse/templates/connectors/admin-customize-themes/admin-customize-themes-override.hbs",scope:()=>[t.default,i.default,s.default],isStrictMode:!1})})),define("discourse/plugins/hosted-site/discourse/templates/connectors/admin-dashboard-top/hosted-site",["exports","ember-this-fallback/is-component","ember-this-fallback/this-fallback-helper","ember-this-fallback/try-lookup-helper","@ember/template-factory"],(function(e,t,s,i,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=(0,a.createTemplateFactory)({id:"hZSTbqh1",block:'[[[41,[28,[32,0],["hosted-dashboard"],null],[[[8,[39,1],null,null,null]],[]],[[[44,[[28,[37,3],null,[["hosted-dashboard"],[[28,[32,1],["hosted-dashboard"],null]]]]],[[[1,[52,[30,1,["hosted-dashboard"]],[28,[30,1,["hosted-dashboard"]],null,null],[28,[32,2],[[30,0],"hosted-dashboard","[\\"The `hosted-dashboard` property path was used in the `discourse/plugins/hosted-site/discourse/templates/connectors/admin-dashboard-top/hosted-site.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.hosted-dashboard}}\\",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]]]],[1]]]],[]]]],["maybeHelpers"],false,["if","hosted-dashboard","let","hash"]]',moduleName:"discourse/plugins/hosted-site/discourse/templates/connectors/admin-dashboard-top/hosted-site.hbs",scope:()=>[t.default,i.default,s.default],isStrictMode:!1})})),define("discourse/plugins/hosted-site/discourse/templates/connectors/before-backup-list/hosted-site",["exports","@ember/template-factory"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=(0,t.createTemplateFactory)({id:"Ez/Gljnm",block:'[[[10,0],[14,0,"alert alert-info"],[12],[1,"\\n "],[1,[28,[35,0],[[28,[37,1],["hosted_site.backup_note"],null]],null]],[1,"\\n"],[13]],[],false,["html-safe","i18n"]]',moduleName:"discourse/plugins/hosted-site/discourse/templates/connectors/before-backup-list/hosted-site.hbs",isStrictMode:!1})})),define("discourse/plugins/hosted-site/discourse/templates/connectors/category-email-in/category-email",["exports","ember-this-fallback/deprecations-helper","@ember/template-factory"],(function(e,t,s){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=(0,s.createTemplateFactory)({id:"PaEDmq/7",block:'[[[1,[28,[35,0],null,[["type","identifier","email"],["category",[30,0,["category","id"]],[30,0,["category","email_in"]]]]]],[1,[28,[32,0],["[[\\"The `category` property path was used in the `discourse/plugins/hosted-site/discourse/templates/connectors/category-email-in/category-email.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.category}}\\",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 `category` property path was used in the `discourse/plugins/hosted-site/discourse/templates/connectors/category-email-in/category-email.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.category}}\\",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,["incoming-email"]]',moduleName:"discourse/plugins/hosted-site/discourse/templates/connectors/category-email-in/category-email.hbs",scope:()=>[t.default],isStrictMode:!1})})),define("discourse/plugins/hosted-site/discourse/templates/connectors/group-email-in/group-email",["exports","ember-this-fallback/deprecations-helper","@ember/template-factory"],(function(e,t,s){"use strict"
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=(0,s.createTemplateFactory)({id:"fD5FL/Yf",block:'[[[1,[28,[35,0],null,[["type","identifier","email"],["group",[30,0,["model","id"]],[30,0,["model","incoming_email"]]]]]],[1,[28,[32,0],["[[\\"The `model` property path was used in the `discourse/plugins/hosted-site/discourse/templates/connectors/group-email-in/group-email.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/hosted-site/discourse/templates/connectors/group-email-in/group-email.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]]],[],false,["incoming-email"]]',moduleName:"discourse/plugins/hosted-site/discourse/templates/connectors/group-email-in/group-email.hbs",scope:()=>[t.default],isStrictMode:!1})}))
//# sourceMappingURL=hosted-site_admin-c624155743207827a00ce4b9a883323f08bc67040f0403afa9ea24c7d293fede.map
//!
;