Get the Best IPTV Service
(self.webpackChunkdiscourse=self.webpackChunkdiscourse||[]).push([[817],{27:(e,t,i)=>{var s=i(218),n=i(72670),r=i(20389),a=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?n(e):r(e)}},36:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(93810),r=i(36376),a=i(44612),o=i(28431),l=i(41277),u=i(60110);class d extends s.default{rejectReason;sendEmail=!1;async perform(){this.args.model.reviewable.setProperties({rejectReason:this.rejectReason,sendEmail:this.sendEmail}),this.args.closeModal(),await this.args.model.performConfirmed(this.args.model.action)}static #e=(()=>dt7948.n(this.prototype,"perform",[r.action]))();static #t=(()=>(0,n.setComponentTemplate)((0,u.createTemplateFactory)({id:"t30zsGq5",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"reject-reason-reviewable-modal"]],[["@bodyClass","@closeModal","@title"],["reject-reason-reviewable-modal__explain-reviewable",[30,1],[28,[32,1],["review.reject_reason.title"],null]]],[["body","footer"],[[[[1,"\\n "],[8,[32,2],null,[["@value"],[[30,0,["rejectReason"]]]],null],[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,3],[[24,0,"reject-reason-reviewable-modal__send_email--inline"]],[["@type","@checked"],["checkbox",[30,0,["sendEmail"]]]],null],[1,"\\n "],[1,[28,[32,1],["review.reject_reason.send_email"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,4],[[24,0,"btn-danger"]],[["@icon","@action","@label"],["trash-can",[30,0,["perform"]],"admin.user.delete"]],null],[1,"\\n "],[8,[32,4],[[24,0,"cancel"]],[["@action","@label"],[[30,1],"cancel"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/reject-reason-reviewable.js",scope:()=>[o.default,l.i18n,n.Textarea,n.Input,a.default],isStrictMode:!0}),this))()}},62:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Cache:()=>u.C,GUID_KEY:()=>r.G,ROOT:()=>r.R,canInvoke:()=>a.c,checkHasSuper:()=>r.c,dictionary:()=>n.m,enumerableSymbol:()=>s.e,generateGuid:()=>r.b,getDebugName:()=>r.a,getName:()=>o.g,guidFor:()=>r.g,intern:()=>r.i,isInternalSymbol:()=>s.i,isObject:()=>r.e,isProxy:()=>l.i,lookupDescriptor:()=>r.l,observerListenerMetaFor:()=>r.o,setListeners:()=>r.d,setName:()=>o.s,setObservers:()=>r.s,setProxy:()=>l.s,setWithMandatorySetter:()=>r.h,setupMandatorySetter:()=>r.f,symbol:()=>s.s,teardownMandatorySetter:()=>r.t,toString:()=>s.t,uuid:()=>r.u,wrap:()=>r.w});var s=i(7378),n=i(13281),r=i(71620),a=i(83826),o=i(46578),l=i(29552),u=i(63482)},63:(e,t,i)=>{"use strict";i.r(t),i.d(t,{alertChannel:()=>A,canUserReceiveNotifications:()=>S,clearDesktopNotificationHandlers:()=>w,confirmNotification:()=>T,context:()=>f,disable:()=>M,init:()=>k,onNotification:()=>C,registerDesktopNotificationHandler:()=>b,unsubscribe:()=>D});var s=i(89120),n=i(86321),r=i(80212),a=i(94611),o=i(76998),l=i(46694),u=i(72818),d=i(41277);let c=!1,p=!1,h=null,m="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",g="focus-tracker",f="discourse_desktop_notifications_",_=new n.default(f),y=[];function b(e){y.push(e)}function w(){y=[]}function k(e){if(p=!1,m=e.clientId,u.default.current()){try{_.getItem(g)}catch{console.info("Discourse desktop notifications are disabled - localStorage denied.");return}if(!("Notification"in window))return void console.info("Discourse desktop notifications are disabled - not supported by browser");try{if("granted"===Notification.permission)h=!0;else if("denied"===Notification.permission){h=!1;return}}catch(e){console.warn("Notification is defined on window but is not responding correctly "+e)}p=!0;try{!function(){window.addEventListener("storage",function(e){if(e.key!==`${f}${g}`)return!0;c=!1}),window.addEventListener("focus",function(){c||(c=!0,_.setItem(g,m))}),document&&void 0!==document.hidden&&document.hidden?c=!1:(c=!0,_.setItem(g,m))}()}catch(e){console.error(e)}}}function T(e){let t=new Notification((0,d.i18n)("notifications.popup.confirm_title",{site_title:e.title}),{body:(0,d.i18n)("notifications.popup.confirm_body"),icon:e.site_logo_small_url||e.site_logo_url,tag:"confirm-subscription"}),i=()=>t.close();t.addEventListener("click",i),(0,r.default)(()=>{t.close(),t.removeEventListener("click",i)},1e4)}function S(e){return!(!c||e.isInDoNotDisturb())&&"disabled"!==_.getItem("notifications-disabled")}async function C(e,t,i,n){if(S(i)&&p){let i=e.translated_title||(0,d.i18n)(function(e){return"notifications.popup."+l.default.current().get("notificationLookup")[e]}(e.notification_type),{site_title:t.title,topic:e.topic_title,username:(0,o.formatUsername)(e.username),group_name:e.group_name}),r=t.site_logo_small_url||t.site_logo_url,u="discourse-notification-"+t.title+"-"+(e.topic_id||0);await function(){return!0===h?s.Promise.resolve():!1===h?s.Promise.reject():new s.Promise(function(e,t){Notification.requestPermission(function(i){"granted"===i?e():t()})})}();let c=new Notification(i,{body:e.excerpt,icon:r,tag:u});c.addEventListener("click",()=>{a.default.routeTo(e.post_url),n.trigger("desktop-notification-opened",{url:e.post_url}),c.close()},{once:!0})}y.forEach(s=>s(e,t,i))}function A(e){return`/notification-alert/${e.get("id")}`}function D(e,t){e.unsubscribe(A(t))}function M(){_.setItem("notifications-disabled","disabled")}},89:e=>{e.exports={indexOf:function(e,t){var i,s;if(Array.prototype.indexOf)return e.indexOf(t);for(i=0,s=e.length;i{"use strict";i.r(t),i.d(t,{INPUT_DELAY:()=>n,isDevelopment:()=>d,isLegacyEmber:()=>u,isProduction:()=>c,isRailsTesting:()=>l,isTesting:()=>o,setEnvironment:()=>a});var s=i(1933);let n=250,r="unknown";function a(e){r=o()?"testing":e}function o(){return"qunit-testing"===r}function l(){return"test"===r}function u(){return(0,s.default)("`isLegacyEmber()` is now deprecated and always returns false",{id:"discourse.is-legacy-ember",dropFrom:"3.0.0.beta1"}),!1}function d(){return"development"===r}function c(){return"production"===r}},196:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(65053),n=i(65589),r=i(46694),a=i(35358),o=i(42675),l=i(51823);let u={after:"inject-discourse-objects",initialize(e){e.register("route:discovery.category",(0,a.default)({filter:"default"})),e.register("controller:discovery.category",n.default),e.register("route:discovery.category-none",(0,a.default)({filter:"default",no_subcategories:!0})),e.register("controller:discovery.category-none",n.default),e.register("route:discovery.category-all",(0,a.default)({filter:"default",no_subcategories:!1})),e.register("controller:discovery.category-all",n.default);let t=r.default.current();t.get("filters").forEach(t=>{let i=(0,s.dasherize)(t);e.register(`route:discovery.${i}`,(0,o.default)(t)),e.register(`controller:discovery.${i}`,n.default),e.register(`route:discovery.${i}-category`,(0,a.default)({filter:t})),e.register(`controller:discovery.${i}-category`,n.default),e.register(`route:discovery.${i}-category-none`,(0,a.default)({filter:t,no_subcategories:!0})),e.register(`controller:discovery.${i}-category-none`,n.default)}),e.register("route:tags.show-category",(0,l.buildTagRoute)()),e.register("controller:tags.show-category",n.default),e.register("route:tags.show-category-none",(0,l.buildTagRoute)({noSubcategories:!0})),e.register("controller:tags.show-category-none",n.default),e.register("route:tags.show-category-all",(0,l.buildTagRoute)({noSubcategories:!1})),e.register("controller:tags.show-category-all",n.default),t.get("filters").forEach(function(t){let i=(0,s.dasherize)(t);e.register(`route:tag.show-${i}`,(0,l.buildTagRoute)({navMode:t})),e.register(`controller:tag.show-${i}`,n.default),e.register(`route:tags.show-category-${i}`,(0,l.buildTagRoute)({navMode:t})),e.register(`controller:tags.show-category-${i}`,n.default),e.register(`route:tags.show-category-none-${i}`,(0,l.buildTagRoute)({navMode:t,noSubcategories:!0})),e.register(`controller:tags.show-category-none-${i}`,n.default),e.register(`route:tags.show-category-all-${i}`,(0,l.buildTagRoute)({navMode:t,noSubcategories:!1})),e.register(`controller:tags.show-category-all-${i}`,n.default)})}}},211:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(6937)},218:(e,t,i)=>{e.exports=i(10630).Symbol},269:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Adapter:()=>a.default,QUnitAdapter:()=>l.default,Test:()=>r.default,setupForTesting:()=>o.default});var s=i(41759),n=i(13395),r=i(45817),a=i(55177),o=i(25199),l=i(24667);(0,n.registerTestImplementation)(s.E)},282:(e,t,i)=>{"use strict";var s=i(88828),n=i(31436),r=i(44844),a=i(16428),o=Object.prototype.hasOwnProperty,l=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[\x85\u2028\u2029]/,d=/[,\[\]\{\}]/,c=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function h(e){return Object.prototype.toString.call(e)}function m(e){return 10===e||13===e}function g(e){return 9===e||32===e}function f(e){return 9===e||32===e||10===e||13===e}function _(e){return 44===e||91===e||93===e||123===e||125===e}function y(e){return 48===e?"\0":97===e?"\x07":98===e?"\b":116===e||9===e?" ":110===e?` `:118===e?"\v":102===e?"\f":114===e?"\r":101===e?"\x1b":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}for(var b=Array(256),w=Array(256),k=0;k<256;k++)b[k]=+!!y(k),w[k]=y(k);function T(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||a,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function S(e,t){var i={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return i.snippet=r(i),new n(t,i)}function C(e,t){throw S(e,t)}function A(e,t){e.onWarning&&e.onWarning.call(null,S(e,t))}var D={YAML:function(e,t,i){var s,n,r;null!==e.version&&C(e,"duplication of %YAML directive"),1!==i.length&&C(e,"YAML directive accepts exactly one argument"),null===(s=/^([0-9]+)\.([0-9]+)$/.exec(i[0]))&&C(e,"ill-formed argument of the YAML directive"),n=parseInt(s[1],10),r=parseInt(s[2],10),1!==n&&C(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=r<2,1!==r&&2!==r&&A(e,"unsupported YAML version of the document")},TAG:function(e,t,i){var s,n;2!==i.length&&C(e,"TAG directive accepts exactly two arguments"),s=i[0],n=i[1],c.test(s)||C(e,"ill-formed tag handle (first argument) of the TAG directive"),o.call(e.tagMap,s)&&C(e,'there is a previously declared suffix for "'+s+'" tag handle'),p.test(n)||C(e,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(t){C(e,"tag prefix is malformed: "+n)}e.tagMap[s]=n}};function M(e,t,i,s){var n,r,a,o;if(t1&&(e.result+=s.repeat(` `,t-1))}function N(e,t){var i,s,n=e.tag,r=e.anchor,a=[],o=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),s=e.input.charCodeAt(e.position);0!==s&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,C(e,"tab characters must not be used in indentation")),45===s&&f(e.input.charCodeAt(e.position+1)));){if(o=!0,e.position++,P(e,!0,-1)&&e.lineIndent<=t){a.push(null),s=e.input.charCodeAt(e.position);continue}if(i=e.line,j(e,t,3,!1,!0),a.push(e.result),P(e,!0,-1),s=e.input.charCodeAt(e.position),(e.line===i||e.lineIndent>t)&&0!==s)C(e,"bad indentation of a sequence entry");else if(e.lineIndentt?D=1:e.lineIndent===t?D=0:e.lineIndentt?D=1:e.lineIndent===t?D=0:e.lineIndentt)&&(b&&(a=e.line,o=e.lineStart,l=e.position),j(e,t,4,!0,n)&&(b?_=e.result:y=e.result),b||(E(e,p,h,m,_,y,a,o,l),m=_=y=null),P(e,!0,-1),u=e.input.charCodeAt(e.position)),(e.line===r||e.lineIndent>t)&&0!==u)C(e,"bad indentation of a mapping entry");else if(e.lineIndent=0)0===r?C(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?C(e,"repeat of an indentation width identifier"):(d=t+r-1,u=!0);else break;if(g(a)){do a=e.input.charCodeAt(++e.position);while(g(a))if(35===a)do a=e.input.charCodeAt(++e.position);while(!m(a)&&0!==a)}for(;0!==a;){for(L(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!u||e.lineIndentd&&(d=e.lineIndent),m(a)){c++;continue}if(e.lineIndent0){for(n=a,r=0;n>0;n--)(a=function(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}(o=e.input.charCodeAt(++e.position)))>=0?r=(r<<4)+a:C(e,"expected hexadecimal character");e.result+=function(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}(r),e.position++}else C(e,"unknown escape sequence");i=s=e.position}else m(o)?(M(e,i,s,!0),I(e,P(e,!1,t)),i=s=e.position):e.position===e.lineStart&&F(e)?C(e,"unexpected end of the document within a double quoted scalar"):(e.position++,s=e.position);C(e,"unexpected end of the stream within a double quoted scalar")}(e,S)?O=!0:!function(e){var t,i,s;if(42!==(s=e.input.charCodeAt(e.position)))return!1;for(s=e.input.charCodeAt(++e.position),t=e.position;0!==s&&!f(s)&&!_(s);)s=e.input.charCodeAt(++e.position);return e.position===t&&C(e,"name of an alias node must contain at least one character"),i=e.input.slice(t,e.position),o.call(e.anchorMap,i)||C(e,'unidentified alias "'+i+'"'),e.result=e.anchorMap[i],P(e,!0,-1),!0}(e)?function(e,t,i){var s,n,r,a,o,l,u,d,c=e.kind,p=e.result;if(f(d=e.input.charCodeAt(e.position))||_(d)||35===d||38===d||42===d||33===d||124===d||62===d||39===d||34===d||37===d||64===d||96===d||(63===d||45===d)&&(f(s=e.input.charCodeAt(e.position+1))||i&&_(s)))return!1;for(e.kind="scalar",e.result="",n=r=e.position,a=!1;0!==d;){if(58===d){if(f(s=e.input.charCodeAt(e.position+1))||i&&_(s))break}else if(35===d){if(f(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&F(e)||i&&_(d))break;else if(m(d)){if(o=e.line,l=e.lineStart,u=e.lineIndent,P(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}e.position=r,e.line=o,e.lineStart=l,e.lineIndent=u;break}a&&(M(e,n,r,!1),I(e,e.line-o),n=r=e.position,a=!1),g(d)||(r=e.position+1),d=e.input.charCodeAt(++e.position)}return M(e,n,r,!1),!!e.result||(e.kind=c,e.result=p,!1)}(e,S,1===i)&&(O=!0,null===e.tag&&(e.tag="?")):(O=!0,(null!==e.tag||null!==e.anchor)&&C(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===D&&(O=u&&N(e,A))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&C(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),h=0,y=e.implicitTypes.length;h"),null!==e.result&&T.kind!==e.kind&&C(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+T.kind+'", not "'+e.kind+'"'),T.resolve(e.result,e.tag)?(e.result=T.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):C(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||O}function O(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+=` `),65279===e.charCodeAt(0)&&(e=e.slice(1)));var i=new T(e,t),s=e.indexOf("\0");for(-1!==s&&(i.position=s,C(i,"null byte is not allowed in input")),i.input+="\0";32===i.input.charCodeAt(i.position);)i.lineIndent+=1,i.position+=1;for(;i.position0)&&37===n);){for(a=!0,n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!f(n);)n=e.input.charCodeAt(++e.position);for(i=e.input.slice(t,e.position),s=[],i.length<1&&C(e,"directive name must not be less than one character in length");0!==n;){for(;g(n);)n=e.input.charCodeAt(++e.position);if(35===n){do n=e.input.charCodeAt(++e.position);while(0!==n&&!m(n))break}if(m(n))break;for(t=e.position;0!==n&&!f(n);)n=e.input.charCodeAt(++e.position);s.push(e.input.slice(t,e.position))}0!==n&&L(e),o.call(D,i)?D[i](e,i,s):A(e,'unknown document directive "'+i+'"')}if(P(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,P(e,!0,-1)):a&&C(e,"directives end mark is expected"),j(e,e.lineIndent-1,4,!1,!0),P(e,!0,-1),e.checkLineBreaks&&u.test(e.input.slice(r,e.position))&&A(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&F(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,P(e,!0,-1));return}e.position{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(83770),n=i(45682),r=i(41277);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#i=(()=>void dt7948.i(this,"router"))();model(){return this.modelFor("user")}titleToken(){let e=this.controllerFor(this.router.currentRouteName),t=e?.subpageTitle;return t?`${t} - ${(0,r.i18n)("user.preferences.title")}`:(0,r.i18n)("user.preferences.title")}}},320:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(93810),n=i(42371),r=i(6809),a=i(25903),o=i(41277),l=i(24434),u=i(60110);class d extends l.default{static #e=(()=>(0,s.setComponentTemplate)((0,u.createTemplateFactory)({id:"FRKkyatR",block:'[[[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,0],[[16,1,[28,[32,1],["user-",[30,0,["elementId"]]],null]],[16,"maxlength",[30,0,["site","user_field_max_length"]]]],[["@value"],[[30,0,["value"]]]],null],[1,"\\n "],[10,"label"],[14,0,"control-label alt-placeholder"],[15,"for",[28,[32,1],["user-",[30,0,["elementId"]]],null]],[12],[1,"\\n "],[1,[30,0,["field","name"]]],[41,[51,[30,0,["field","required"]]],[[[1," "],[1,[28,[32,2],["user_fields.optional"],null]]],[]],null],[13],[1,"\\n"],[41,[30,0,["validation","failed"]],[[[1," "],[8,[32,3],null,[["@validation"],[[30,0,["validation"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"instructions"],[12],[1,[28,[32,4],[[30,0,["field","description"]]],null]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-fields/text.js",scope:()=>[s.Input,n.concat,o.i18n,a.default,r.htmlSafe],isStrictMode:!0}),this))()}},353:(e,t,i)=>{var s=i(37984);e.exports=function(e,t){if(s(e)&&s(t))if("name"in e&&"name"in t)return e.id===t.id;else return e.init===t.init;return!1}},378:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(83770),r=i(44612),a=i(85703),o=i(41277),l=i(93810),u=i(60110);class d extends s.default{static shouldRender(e){return e.state.canCreatePost}static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();get showLabel(){return this.args.showLabel??(this.site.desktopView&&!this.args.state.isWikiMode)}static #t=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"NcBGNBin",block:'[[[1,"\\n "],[8,[32,0],[[16,0,[28,[32,1],["post-action-menu__reply","reply",[52,[30,0,["showLabel"]],"create fade-out"]],null]],[17,1]],[["@action","@icon","@label","@title","@translatedAriaLabel"],[[30,2,["replyToPost"]],"reply",[52,[30,0,["showLabel"]],"topic.reply.title"],"post.controls.reply",[28,[32,2],["post.sr_reply_to"],[["post_number","username"],[[30,3,["post_number"]],[30,3,["username"]]]]]]],null],[1,"\\n "]],["&attrs","@buttonActions","@post"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/reply.js",scope:()=>[r.default,a.default,o.i18n],isStrictMode:!0}),this))()}},440:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(77632),n=i(83770);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"additionalProperties",[s.tracked],function(){return[]}))();#n=(()=>void dt7948.i(this,"additionalProperties"))();addProperty(e){this.additionalProperties.push(e)}}},448:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(14547),n=i(71100),r=i(66185);let a=dt7948.c(class extends n.default{},[(0,r.pluginApiIdentifiers)("search-advanced-category-chooser"),(0,r.selectKitOptions)({allowUncategorized:!0,clearable:!0,none:"category.all",displayCategoryDescription:!1,permissionType:null}),(0,s.classNames)("search-advanced-category-chooser")])},661:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(36376),r=i(44612),a=i(28431),o=i(41277),l=i(93810),u=i(60110);class d extends s.default{async discardDraft(){await this.args.model.onDestroyDraft(),this.args.closeModal()}static #e=(()=>dt7948.n(this.prototype,"discardDraft",[n.action]))();async saveDraftAndClose(){await this.args.model.onSaveDraft(),this.args.closeModal()}static #t=(()=>dt7948.n(this.prototype,"saveDraftAndClose",[n.action]))();async keepEditing(){await this.args.model.onKeepEditing(),this.args.closeModal()}static #r=(()=>dt7948.n(this.prototype,"keepEditing",[n.action]))();static #a=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"DAmr8Tun",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"discard-draft-modal --stacked"]],[["@closeModal","@hideHeader"],[[30,1],true]],[["body","footer"],[[[[1,"\\n "],[10,0],[14,0,"instructions"],[14,"role","heading"],[14,"aria-level","1"],[12],[1,"\\n "],[1,[28,[32,1],["post.cancel_composer.confirm"],null]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,2],[[24,0,"btn-danger discard-draft"]],[["@icon","@label","@action"],["trash-can","post.cancel_composer.discard",[30,0,["discardDraft"]]]],null],[1,"\\n"],[41,[30,2,["showSaveDraftButton"]],[[[1," "],[8,[32,2],[[24,0,"save-draft"]],[["@label","@action"],["post.cancel_composer.save_draft",[30,0,["saveDraftAndClose"]]]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,2],[[24,0,"keep-editing"]],[["@label","@action"],["post.cancel_composer.keep_editing",[30,0,["keepEditing"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/discard-draft.js",scope:()=>[a.default,o.i18n,r.default],isStrictMode:!0}),this))()}},663:(e,t,i)=>{"use strict";function s(e){return e}function n(e){return e}i.r(t),i.d(t,{assertIsDeprecation:()=>s,assertIsDeprecations:()=>n}),i(7950),i(41872)},675:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addExtraIconRenderer:()=>_,categoryBadgeHTML:()=>y,categoryLinkHTML:()=>b,default:()=>w,defaultCategoryLinkRenderer:()=>k,replaceCategoryLinkRenderer:()=>g});var s=i(36376),n=i(6809),r=i(65110),a=i(86483),o=i(15330),l=i(16403),u=i(54583),d=i(45577),c=i(76998),p=i(39689),h=i(41277);let m=k;function g(e){m=e}let f=[];function _(e){f.push(e)}function y(e,t){let{site:i,siteSettings:n}=(0,l.helperContext)();if(t=t||{},!e||!t.allowUncategorized&&(0,s.get)(e,"id")===i.uncategorized_category_id&&n.suppress_uncategorized_badge)return"";t.styleType||(t.styleType=e.styleType,"icon"===t.styleType?t.icon=e.icon:"emoji"===t.styleType&&(t.emoji=e.emoji));let r=(t.depth||1)+1;if(t.ancestors){let{ancestors:i,...s}=t;return[e,...i].reverse().map(e=>y(e,{...s,styleType:null})).join("")}if(t.recursive&&r<=n.max_category_nesting){let i=p.default.findById(e.parent_category_id),s=!t.depth;t.depth=r;let n=y(i,t);return t.lastSubcategory=s,n+m(e,t)}return m(e,t)}function b(e,t){let i={};return t&&t.hash&&(t=t.hash),t&&(t.allowUncategorized&&(i.allowUncategorized=!0),void 0!==t.link&&(i.link=t.link),t.previewColor&&(i.previewColor=!0),t.extraClasses&&(i.extraClasses=t.extraClasses),t.hideParent&&(i.hideParent=!0),t.recursive&&(i.recursive=!0),t.ancestors&&(i.ancestors=t.ancestors)),(0,n.htmlSafe)(y(e,i))}let w=b;function k(e,t){let i=(0,d.applyValueTransformer)("category-description-text",(0,c.escapeExpression)((0,s.get)(e,"description_text")),{category:e}),n=(0,s.get)(e,"read_restricted"),m=t.url?t.url:(0,o.default)(`/c/${p.default.slugFor(e)}/${(0,s.get)(e,"id")}`),g=!1===t.link?"":m,_=!1===t.link||"false"===t.link?"span":"a",y=t.extraClasses?" "+t.extraClasses:"",b=`${(0,r.default)(e)}`,w="",k=null,T="",S=e?`data-category-id="${(0,s.get)(e,"id")}"`:"";t.hideParent||(k=p.default.findById((0,s.get)(e,"parent_category_id")));let C=(0,l.helperContext)().siteSettings,A="badge-category";n&&(A+=" restricted"),k&&(A+=" --has-parent",S+=` data-parent-category-id="${k.id}"`),t.styleType&&(A+=` --style-${t.styleType}`),w+=``,"icon"===t.styleType&&t.icon&&(w+=(0,u.iconHTML)(t.icon)),"emoji"===t.styleType&&t.emoji&&(w+=(0,a.default)(`:${t.emoji}:`));let D=(0,d.applyValueTransformer)("category-display-name",(0,c.escapeExpression)((0,s.get)(e,"name")),{category:e});return C.support_mixed_text_direction&&(T='dir="auto"'),n&&(w+=(0,u.iconHTML)("lock")),f.forEach(t=>{let i=t(e);i&&(w+=(0,u.iconHTML)(i))}),w+=`${D}`,w+="",t.topicCount&&(w+=function(e){return`× ${e}`}(t.topicCount)),t.subcategoryCount&&(w+=`${(0,h.i18n)("category_row.subcategory_count",{count:t.subcategoryCount})}`),g&&(g=` href="${g}" `),`<${_} class="badge-category__wrapper ${y}" ${b.length>0?`style="${b}"`:""} ${g}>${w}`}},690:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(93810),n=i(36376),r=i(31862),a=i(14547),o=i(36093),l=i(60110);let u=dt7948.c(class extends s.default{get emptyBody(){return!1}static #e=(()=>dt7948.n(this.prototype,"emptyBody",[(0,n.computed)("selectKit.{filter,hasNoContent}")]))();didInsertElement(){super.didInsertElement(...arguments),this.element.style.position="relative",document.addEventListener("click",this.handleClick,!0),this.selectKit.mainElement().addEventListener("keydown",this._handleKeydown,!0)}willDestroyElement(){super.willDestroyElement(...arguments),document.removeEventListener("click",this.handleClick,!0),this.selectKit.mainElement()?.removeEventListener("keydown",this._handleKeydown,!0)}handleClick(e){this.selectKit.isExpanded&&this.selectKit.mainElement()&&(this.selectKit.mainElement().contains(e.target)||this.selectKit.close(e))}static #t=(()=>dt7948.n(this.prototype,"handleClick",[o.bind]))();_handleKeydown(e){this.selectKit.isExpanded&&"Tab"===e.key&&(0,r.next)(()=>{this.isDestroying||this.isDestroyed||this.selectKit.mainElement()?.contains(document.activeElement)||this.selectKit.close(e)})}static #r=(()=>dt7948.n(this.prototype,"_handleKeydown",[o.bind]))();static #a=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"PIO9XeZ6",block:'[[[1,"\\n"],[41,[30,0,["selectKit","isExpanded"]],[[[1," "],[18,1,null],[1,"\\n"]],[]],null],[1," "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/select-kit/select-kit-body.js",isStrictMode:!0}),this))()},[(0,a.classNameBindings)("emptyBody:empty-body"),(0,a.classNames)("select-kit-body")])},695:(e,t,i)=>{var s=i(78076),n=/[\/\+\.]/;e.exports=function(e,t){function i(t){var i=s(t,e,n);return i&&i.length>=2}return t?i(t.split(";")[0]):i}},715:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(21044),n=i(93558),r=i(36376),a=i(83770),o=i(13446),l=i(20936),u=i(37420),d=i(39532),c=i(29421),p=i(41277),h=i(93810),m=i(60110);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();get wrapperElement(){return(0,d.default)(this.args.tagName??"span")}get canAct(){return this.currentUser&&!this.args.disableActions}togglePinned(e){e.preventDefault(),this.args.topic.togglePinnedForUser()}static #r=(()=>dt7948.n(this.prototype,"togglePinned",[r.action]))();static #a=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"twFarkSC",block:'[[[8,[30,0,["wrapperElement"]],[[24,0,"topic-statuses"]],null,[["default"],[[[[41,[30,1,["bookmarked"]],[[[10,3],[15,6,[30,1,["url"]]],[15,"title",[28,[32,0],["topic_statuses.bookmarked.help"],null]],[14,0,"topic-status"],[12],[1,[28,[32,1],["bookmark"],null]],[13]],[]],null],[41,[28,[32,2],[[30,1,["closed"]],[30,1,["archived"]]],null],[[[10,1],[15,"title",[28,[32,0],["topic_statuses.locked_and_archived.help"],null]],[14,0,"topic-status"],[12],[1,[28,[32,1],["lock"],null]],[13]],[]],[[[41,[30,1,["closed"]],[[[10,1],[15,"title",[28,[32,0],["topic_statuses.locked.help"],null]],[14,0,"topic-status"],[12],[1,[28,[32,1],["lock"],null]],[13]],[]],[[[41,[30,1,["archived"]],[[[10,1],[15,"title",[28,[32,0],["topic_statuses.archived.help"],null]],[14,0,"topic-status"],[12],[1,[28,[32,1],["lock"],null]],[13]],[]],null]],[]]]],[]]],[41,[30,1,["is_warning"]],[[[10,1],[15,"title",[28,[32,0],["topic_statuses.warning.help"],null]],[14,0,"topic-status topic-status-warning"],[12],[1,[28,[32,1],["envelope"],null]],[13]],[]],[[[41,[28,[32,2],[[30,2],[30,1,["isPrivateMessage"]]],null],[[[10,1],[15,"title",[28,[32,0],["topic_statuses.personal_message.help"],null]],[14,0,"topic-status"],[12],[1,[28,[32,1],["envelope"],null]],[13]],[]],null]],[]]],[41,[30,1,["pinned"]],[[[41,[30,0,["canAct"]],[[[11,3],[24,6,""],[16,"title",[28,[32,0],["topic_statuses.pinned.help"],null]],[24,0,"topic-status pinned pin-toggle-button"],[4,[32,3],["click",[30,0,["togglePinned"]]],null],[12],[1,[28,[32,1],["thumbtack"],null]],[13]],[]],[[[10,1],[15,"title",[28,[32,0],["topic_statuses.pinned.help"],null]],[14,0,"topic-status pinned"],[12],[1,[28,[32,1],["thumbtack"],null]],[13]],[]]]],[]],[[[41,[30,1,["unpinned"]],[[[41,[30,0,["canAct"]],[[[11,3],[24,6,""],[16,"title",[28,[32,0],["topic_statuses.unpinned.help"],null]],[24,0,"topic-status unpinned pin-toggle-button"],[4,[32,3],["click",[30,0,["togglePinned"]]],null],[12],[1,[28,[32,1],["thumbtack"],[["class"],["unpinned"]]]],[13]],[]],[[[10,1],[15,"title",[28,[32,0],["topic_statuses.unpinned.help"],null]],[14,0,"topic-status unpinned"],[12],[1,[28,[32,1],["thumbtack"],[["class"],["unpinned"]]]],[13]],[]]]],[]],null]],[]]],[41,[30,1,["invisible"]],[[[10,1],[15,"title",[28,[32,0],["topic_statuses.unlisted.help"],[["unlistedReason"],[[30,1,["visibilityReasonTranslated"]]]]]],[14,0,"topic-status"],[12],[1,[28,[32,1],["far-eye-slash"],null]],[13]],[]],null],[8,[32,4],null,[["@name","@outletArgs"],["after-topic-status",[28,[32,5],null,[["topic","context"],[[30,1],[30,3]]]]]],null]],[]]]]]],["@topic","@showPrivateMessageIcon","@context"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-status.js",scope:()=>[p.i18n,u.default,o.and,n.on,l.default,c.default],isStrictMode:!0}),this))()}},783:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(93810),n=i(42371),r=i(36376),a=i(77598),o=i(61542),l=i(60110);class u extends s.default{_groups=[];didInsertElement(){super.didInsertElement(...arguments),"usernames"===this.focusTarget&&this.element.querySelector(".select-kit .select-kit-header").focus()}splitRecipients(e){return Array.isArray(e)?e:e?e.split(",").filter(Boolean):[]}static #e=(()=>dt7948.n(this.prototype,"splitRecipients",[(0,a.default)("recipients")]))();_updateGroups(e,t){let i=[];this._groups.forEach(t=>{e.includes(t)&&i.addObject(t)}),t.forEach(e=>{i.includes(e)||i.addObject(e)}),this.setProperties({_groups:i,hasGroups:i.length>0})}updateRecipients(e,t){let i=t.filterBy("isGroup").mapBy("id");this._updateGroups(e,i),this.set("recipients",e.join(","))}static #t=(()=>dt7948.n(this.prototype,"updateRecipients",[r.action]))();static #r=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"jACAK7qi",block:'[[[1,"\\n "],[8,[32,0],null,[["@id","@value","@onChange","@options"],["private-message-users",[30,0,["splitRecipients"]],[30,0,["updateRecipients"]],[28,[32,1],null,[["topicId","none","includeMessageableGroups","allowEmails","autoWrap"],[[30,0,["topicId"]],"composer.users_placeholder",true,[30,0,["currentUser","can_send_private_email_messages"]],true]]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/composer-user-selector.js",scope:()=>[o.default,n.hash],isStrictMode:!0}),this))()}},951:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(85703),n=i(93810),r=i(60110),a=i(29681);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"NOl1L3Xb",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],["menu-panel",[30,1],[30,2]],null]],[14,"data-max-width","500"],[12],[1,"\\n "],[10,0],[14,0,"panel-body"],[12],[1,"\\n "],[10,0],[14,0,"panel-body-contents"],[12],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["@panelClass","@animationClass","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/menu-panel.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"menu-panel"))},990:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(77632),n=i(18891),r=i(36376),a=i(83770),o=i(3558),l=i(92161),u=i(41277);class d extends n.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #r=(()=>dt7948.g(this.prototype,"router",[a.service]))();#i=(()=>void dt7948.i(this,"router"))();static #a=(()=>dt7948.g(this.prototype,"loading",[s.tracked]))();#u=(()=>void dt7948.i(this,"loading"))();async confirm(){this.loading=!0;try{await (0,o.ajax)(`/u/confirm-new-email/${this.model.token}.json`,{type:"PUT"})}catch(t){let e=t.jqXHR?.responseJSON?.second_factor_challenge_nonce;e?this.router.transitionTo("second-factor-auth",{queryParams:{nonce:e}}):(0,l.popupAjaxError)(t);return}finally{this.loading=!1}await new Promise(e=>this.dialog.dialog({message:(0,u.i18n)("user.change_email.confirm_success"),type:"alert",didConfirm:e})),this.router.transitionTo(`/u/${this.currentUser.username_lower}/preferences/account`)}static #d=(()=>dt7948.n(this.prototype,"confirm",[r.action]))()}},1015:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(25818);function n(){return!/^((?!chrome|android).)*safari/i.test((0,s.A)())}},1131:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>e1});var s=i(21044),n=i(77632),r=i(36376),a=i(74129),o=i(31862),l=i(83770),u={isNothing:function(e){return null==e},isObject:function(e){return"object"==typeof e&&null!==e},repeat:function(e,t){var i,s="";for(i=0;io&&(t=s-o+(r=" ... ").length),i-s>o&&(i=s+o-(a=" ...").length),{str:r+e.slice(t,i).replace(/\t/g,"→")+a,pos:s-t+r.length}}function h(e,t){return u.repeat(" ",t-e.length)+e}var m=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var i=/\r?\n|\r|\0/g,s=[0],n=[],r=-1;a=i.exec(e.buffer);)n.push(a.index),s.push(a.index+a[0].length),e.position<=a.index&&r<0&&(r=s.length-2);r<0&&(r=s.length-1);var a,o,l,d="",c=Math.min(e.line+t.linesAfter,n.length).toString().length,m=t.maxLength-(t.indent+c+3);for(o=1;o<=t.linesBefore&&!(r-o<0);o++)l=p(e.buffer,s[r-o],n[r-o],e.position-(s[r]-s[r-o]),m),d=u.repeat(" ",t.indent)+h((e.line-o+1).toString(),c)+" | "+l.str+` `+d;for(l=p(e.buffer,s[r],n[r],e.position,m),d+=u.repeat(" ",t.indent)+h((e.line+1).toString(),c)+" | "+l.str+` `+u.repeat("-",t.indent+c+3+l.pos)+`^ `,o=1;o<=t.linesAfter&&!(r+o>=n.length);o++)l=p(e.buffer,s[r+o],n[r+o],e.position-(s[r]-s[r+o]),m),d+=u.repeat(" ",t.indent)+h((e.line+o+1).toString(),c)+" | "+l.str+` `;return d.replace(/\n$/,"")},g=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],f=["scalar","sequence","mapping"],_=function(e,t){if(Object.keys(t=t||{}).forEach(function(t){if(-1===g.indexOf(t))throw new c('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach(function(i){e[i].forEach(function(e){t[String(e)]=i})}),t}(t.styleAliases||null),-1===f.indexOf(this.kind))throw new c('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function y(e,t){var i=[];return e[t].forEach(function(e){var t=i.length;i.forEach(function(i,s){i.tag===e.tag&&i.kind===e.kind&&i.multi===e.multi&&(t=s)}),i[t]=e}),i}function b(e){return this.extend(e)}b.prototype.extend=function(e){var t=[],i=[];if(e instanceof _)i.push(e);else if(Array.isArray(e))i=i.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(i=i.concat(e.explicit));else throw new c("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(e){if(!(e instanceof _))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new c("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new c("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(e){if(!(e instanceof _))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var s=Object.create(b.prototype);return s.implicit=(this.implicit||[]).concat(t),s.explicit=(this.explicit||[]).concat(i),s.compiledImplicit=y(s,"implicit"),s.compiledExplicit=y(s,"explicit"),s.compiledTypeMap=function(){var e,t,i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function s(e){e.multi?(i.multi[e.kind].push(e),i.multi.fallback.push(e)):i[e.kind][e.tag]=i.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),C=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),A=/^[-+]?[0-9]+e/,D=new _("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!!C.test(e)&&"_"!==e[e.length-1]},construct:function(e){var t,i;return(i="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t)?1===i?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:i*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||u.isNegativeZero(e))},represent:function(e,t){var i;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(u.isNegativeZero(e))return"-0.0";return i=e.toString(10),A.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"}),M=w.extend({implicit:[k,T,S,D]}),x=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),E=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),L=new _("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==x.exec(e)||null!==E.exec(e))},construct:function(e){var t,i,s,n,r,a,o,l,u=0,d=null;if(null===(t=x.exec(e))&&(t=E.exec(e)),null===t)throw Error("Date resolve error");if(i=+t[1],s=t[2]-1,n=+t[3],!t[4])return new Date(Date.UTC(i,s,n));if(r=+t[4],a=+t[5],o=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u*=1}return t[9]&&(d=(60*t[10]+ +(t[11]||0))*6e4,"-"===t[9]&&(d=-d)),l=new Date(Date.UTC(i,s,n,r,a,o,u)),d&&l.setTime(l.getTime()-d),l},instanceOf:Date,represent:function(e){return e.toISOString()}}),P=new _("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),F=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= \r`,I=new _("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,i,s=0,n=e.length;for(i=0;i64)){if(t<0)return!1;s+=6}return s%8==0},construct:function(e){var t,i,s=e.replace(/[\r\n=]/g,""),n=s.length,r=0,a=[];for(t=0;t>16&255),a.push(r>>8&255),a.push(255&r)),r=r<<6|F.indexOf(s.charAt(t));return 0==(i=n%4*6)?(a.push(r>>16&255),a.push(r>>8&255),a.push(255&r)):18===i?(a.push(r>>10&255),a.push(r>>2&255)):12===i&&a.push(r>>4&255),new Uint8Array(a)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,i,s="",n=0,r=e.length;for(t=0;t>18&63],s+=F[n>>12&63],s+=F[n>>6&63],s+=F[63&n]),n=(n<<8)+e[t];return 0==(i=r%3)?(s+=F[n>>18&63],s+=F[n>>12&63],s+=F[n>>6&63],s+=F[63&n]):2===i?(s+=F[n>>10&63],s+=F[n>>4&63],s+=F[n<<2&63],s+=F[64]):1===i&&(s+=F[n>>2&63],s+=F[n<<4&63],s+=F[64],s+=F[64]),s}}),N=Object.prototype.hasOwnProperty,j=Object.prototype.toString,O=new _("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,i,s,n,r,a=[];for(t=0,i=e.length;t1&&(e.result+=u.repeat(` `,t-1))}function ef(e,t){var i,s,n=e.tag,r=e.anchor,a=[],o=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),s=e.input.charCodeAt(e.position);0!==s&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,ea(e,"tab characters must not be used in indentation")),45===s&&X(e.input.charCodeAt(e.position+1)));){if(o=!0,e.position++,eh(e,!0,-1)&&e.lineIndent<=t){a.push(null),s=e.input.charCodeAt(e.position);continue}if(i=e.line,e_(e,t,3,!1,!0),a.push(e.result),eh(e,!0,-1),s=e.input.charCodeAt(e.position),(e.line===i||e.lineIndent>t)&&0!==s)ea(e,"bad indentation of a sequence entry");else if(e.lineIndentt?g=1:e.lineIndent===t?g=0:e.lineIndentt?g=1:e.lineIndent===t?g=0:e.lineIndentt)&&(_&&(a=e.line,o=e.lineStart,l=e.position),e_(e,t,4,!0,n)&&(_?g=e.result:f=e.result),_||(ec(e,p,h,m,g,f,a,o,l),m=g=f=null),eh(e,!0,-1),u=e.input.charCodeAt(e.position)),(e.line===r||e.lineIndent>t)&&0!==u)ea(e,"bad indentation of a mapping entry");else if(e.lineIndent=0)0===n?ea(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?ea(e,"repeat of an indentation width identifier"):(d=t+n-1,l=!0);else break;if(Q(r)){do r=e.input.charCodeAt(++e.position);while(Q(r))if(35===r)do r=e.input.charCodeAt(++e.position);while(!J(r)&&0!==r)}for(;0!==r;){for(ep(e),e.lineIndent=0,r=e.input.charCodeAt(e.position);(!l||e.lineIndentd&&(d=e.lineIndent),J(r)){c++;continue}if(e.lineIndent0){for(n=a,r=0;n>0;n--)(a=function(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}(o=e.input.charCodeAt(++e.position)))>=0?r=(r<<4)+a:ea(e,"expected hexadecimal character");e.result+=function(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}(r),e.position++}else ea(e,"unknown escape sequence");i=s=e.position}else J(o)?(eu(e,i,s,!0),eg(e,eh(e,!1,t)),i=s=e.position):e.position===e.lineStart&&em(e)?ea(e,"unexpected end of the document within a double quoted scalar"):(e.position++,s=e.position);ea(e,"unexpected end of the stream within a double quoted scalar")}(e,h)?_=!0:!function(e){var t,i,s;if(42!==(s=e.input.charCodeAt(e.position)))return!1;for(s=e.input.charCodeAt(++e.position),t=e.position;0!==s&&!X(s)&&!Z(s);)s=e.input.charCodeAt(++e.position);return e.position===t&&ea(e,"name of an alias node must contain at least one character"),i=e.input.slice(t,e.position),q.call(e.anchorMap,i)||ea(e,'unidentified alias "'+i+'"'),e.result=e.anchorMap[i],eh(e,!0,-1),!0}(e)?function(e,t,i){var s,n,r,a,o,l,u,d,c=e.kind,p=e.result;if(X(d=e.input.charCodeAt(e.position))||Z(d)||35===d||38===d||42===d||33===d||124===d||62===d||39===d||34===d||37===d||64===d||96===d||(63===d||45===d)&&(X(s=e.input.charCodeAt(e.position+1))||i&&Z(s)))return!1;for(e.kind="scalar",e.result="",n=r=e.position,a=!1;0!==d;){if(58===d){if(X(s=e.input.charCodeAt(e.position+1))||i&&Z(s))break}else if(35===d){if(X(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&em(e)||i&&Z(d))break;else if(J(d)){if(o=e.line,l=e.lineStart,u=e.lineIndent,eh(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}e.position=r,e.line=o,e.lineStart=l,e.lineIndent=u;break}a&&(eu(e,n,r,!1),eg(e,e.line-o),n=r=e.position,a=!1),Q(d)||(r=e.position+1),d=e.input.charCodeAt(++e.position)}return eu(e,n,r,!1),!!e.result||(e.kind=c,e.result=p,!1)}(e,h,1===i)&&(_=!0,null===e.tag&&(e.tag="?")):(_=!0,(null!==e.tag||null!==e.anchor)&&ea(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===g&&(_=o&&ef(e,m))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&ea(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),l=0,d=e.implicitTypes.length;l"),null!==e.result&&p.kind!==e.kind&&ea(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):ea(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||_}function ey(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+=` `),65279===e.charCodeAt(0)&&(e=e.slice(1)));var i=new en(e,t),s=e.indexOf("\0");for(-1!==s&&(i.position=s,ea(i,"null byte is not allowed in input")),i.input+="\0";32===i.input.charCodeAt(i.position);)i.lineIndent+=1,i.position+=1;for(;i.position0)&&37===n);){for(a=!0,n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!X(n);)n=e.input.charCodeAt(++e.position);for(i=e.input.slice(t,e.position),s=[],i.length<1&&ea(e,"directive name must not be less than one character in length");0!==n;){for(;Q(n);)n=e.input.charCodeAt(++e.position);if(35===n){do n=e.input.charCodeAt(++e.position);while(0!==n&&!J(n))break}if(J(n))break;for(t=e.position;0!==n&&!X(n);)n=e.input.charCodeAt(++e.position);s.push(e.input.slice(t,e.position))}0!==n&&ep(e),q.call(el,i)?el[i](e,i,s):eo(e,'unknown document directive "'+i+'"')}if(eh(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,eh(e,!0,-1)):a&&ea(e,"directives end mark is expected"),e_(e,e.lineIndent-1,4,!1,!0),eh(e,!0,-1),e.checkLineBreaks&&z.test(e.input.slice(r,e.position))&&eo(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&em(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,eh(e,!0,-1));return}e.position=55296&&s<=56319&&t+1=56320&&i<=57343?(s-55296)*1024+i-56320+65536:s}function eP(e){return/^\n* /.test(e)}function eF(e,t){var i=eP(e)?String(t):"",s=` `===e[e.length-1];return i+(s&&(` `===e[e.length-2]||` `===e)?"+":s?"":"-")+` `}function eI(e){return` `===e[e.length-1]?e.slice(0,-1):e}function eN(e,t){if(""===e||" "===e[0])return e;for(var i,s,n=/ [^ ]/g,r=0,a=0,o=0,l="";i=n.exec(e);)(o=i.index)-r>t&&(s=a>r?a:o,l+=` `+e.slice(r,s),r=s+1),a=o;return l+=` `,e.length-r>t&&a>r?l+=e.slice(r,a)+` `+e.slice(a+1):l+=e.slice(r),l.slice(1)}function ej(e,t,i,s){var n,r,a,o="",l=e.tag;for(n=0,r=i.length;n tag resolver accepts not "'+l+'" style');e.dump=s}return!0}return!1}function eR(e,t,i,s,n,r,a){e.tag=null,e.dump=i,eO(e,i,!1)||eO(e,i,!0);var o=ev.call(e.dump),l=s;s&&(s=e.flowLevel<0||e.flowLevel>t);var d,p,h,m="[object Object]"===o||"[object Array]"===o;if(m&&(h=-1!==(p=e.duplicates.indexOf(i))),(null!==e.tag&&"?"!==e.tag||h||2!==e.indent&&t>0)&&(n=!1),h&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(m&&h&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),"[object Object]"===o)s&&0!==Object.keys(e.dump).length?(!function(e,t,i,s){var n,r,a,o,l,u,d="",p=e.tag,h=Object.keys(i);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new c("sortKeys must be a boolean or a function");for(n=0,r=h.length;n1024)&&(e.dump&&10===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,l&&(u+=eA(e,t)),eR(e,t+1,o,!0,l)&&(e.dump&&10===e.dump.charCodeAt(0)?u+=":":u+=": ",u+=e.dump,d+=u));e.tag=p,e.dump=d||"{}"}(e,t,e.dump,n),h&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,i){var s,n,r,a,o,l="",u=e.tag,d=Object.keys(i);for(s=0,n=d.length;s1024&&(o+="? "),o+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),eR(e,t,a,!1,!1)&&(o+=e.dump,l+=o));e.tag=u,e.dump="{"+l+"}"}(e,t,e.dump),h&&(e.dump="&ref_"+p+" "+e.dump));else if("[object Array]"===o)s&&0!==e.dump.length?(e.noArrayIndent&&!a&&t>0?ej(e,t-1,e.dump,n):ej(e,t,e.dump,n),h&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,i){var s,n,r,a="",o=e.tag;for(s=0,n=i.length;s=65536?l+=2:l++){if(!eM(u=eL(e,l)))return 5;g=g&&eE(u,d,o),d=u}else{for(l=0;l=65536?l+=2:l++){if(10===(u=eL(e,l)))c=!0,h&&(p=p||l-m-1>s&&" "!==e[m+1],m=l);else if(!eM(u))return 5;g=g&&eE(u,d,o),d=u}p=p||h&&l-m-1>s&&" "!==e[m+1]}return c||p?i>9&&eP(e)?5:a?2===r?5:2:p?4:3:!g||a||n(e)?2===r?5:2:1}(t,s||e.flowLevel>-1&&i>=e.flowLevel,e.indent,a,function(t){return function(e,t){var i,s;for(i=0,s=e.implicitTypes.length;i"+eF(t,e.indent)+eI(eC(function(e,t){for(var i,s,n=/(\n+)([^\n]*)/g,r=function(){var i=e.indexOf(` `);return n.lastIndex=i=-1!==i?i:e.length,eN(e.slice(0,i),t)}(),a=` `===e[0]||" "===e[0];s=n.exec(e);){var o=s[1],l=s[2];i=" "===l[0],r+=o+(a||i||""===l?"":` `)+eN(l,t),a=i}return r}(t,a),r));case 5:return'"'+function(e){for(var t,i="",s=0,n=0;n=65536?n+=2:n++)!(t=ek[s=eL(e,n)])&&eM(s)?(i+=e[n],s>=65536&&(i+=e[n+1])):i+=t||function(e){var t,i,s;if(t=e.toString(16).toUpperCase(),e<=255)i="x",s=2;else if(e<=65535)i="u",s=4;else if(e<=0xffffffff)i="U",s=8;else throw new c("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+i+u.repeat("0",s-t.length)+t}(s);return i}(t)+'"';default:throw new c("impossible error: invalid scalar style")}}()}(e,e.dump,t,r,l);else{if("[object Undefined]"===o||e.skipInvalid)return!1;throw new c("unacceptable kind of an object to dump "+o)}null!==e.tag&&"?"!==e.tag&&(d=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),d="!"===e.tag[0]?"!"+d:"tag:yaml.org,2002:"===d.slice(0,18)?"!!"+d.slice(18):"!<"+d+">",e.dump=d+" "+e.dump)}return!0}function eU(e,t){return function(){throw Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var eB=eb.load;eb.loadAll,eU("safeLoad","load"),eU("safeLoadAll","loadAll"),eU("safeDump","dump");let eY={load:eB};var eH=i(98414),eq=i(77165),e$=i(47245),ez=i(85794),eV=i(56240),eW=i(23814),eK=i(20142),eG=i(38409),eJ=i(93810),eQ=i(60110),eX=i(29681);let eZ=(0,eJ.setComponentTemplate)((0,eQ.createTemplateFactory)({id:"oAK0xlPX",block:'[[[1,"\\n "],[8,[30,1],null,[["@id","@attributes","@choices","@validations","@value","@onChange"],[[30,2,["id"]],[30,2,["attributes"]],[30,2,["choices"]],[30,2,["validations"]],[30,3],[30,4]]],null],[1,"\\n"]],["@component","@content","@initialValue","@onChange"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/form-template-field/wrapper.js",isStrictMode:!0}),(0,eX.default)(void 0,"wrapper:FormTemplateField"));class e1 extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[l.service]))();#c=(()=>void dt7948.i(this,"composer"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[l.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #r=(()=>dt7948.g(this.prototype,"error",[n.tracked],function(){return null}))();#h=(()=>void dt7948.i(this,"error"))();static #a=(()=>dt7948.g(this.prototype,"parsedTemplate",[n.tracked],function(){return null}))();#m=(()=>void dt7948.i(this,"parsedTemplate"))();initialValues=(()=>this.args.initialValues??{})();fieldTypes=(()=>({checkbox:eq.default,input:ez.default,dropdown:e$.default,"multi-select":eV.default,textarea:eK.default,"tag-chooser":eW.default,upload:eG.default}))();constructor(){super(...arguments),this.args.content?this._loadTemplate(this.args.content):this.args.id&&this._fetchTemplate(this.args.id),(0,o.next)(this,()=>{this.composer.set("allowPreview",this.siteSettings.show_preview_for_form_templates)})}_loadTemplate(e){try{this.parsedTemplate=eY.load(e),this.args.onSelectFormTemplate?.(this.parsedTemplate)}catch(e){this.error=e}}refreshTemplate(){if(!Array.isArray(this.args?.id)||this.args?.id.length!==0)return this._fetchTemplate(this.args.id)}static #d=(()=>dt7948.n(this.prototype,"refreshTemplate",[r.action]))();async _fetchTemplate(e){let t=await eH.default.findById(e),i=await t.form_template.template;return this._loadTemplate(i)}static #g=(()=>(0,eJ.setComponentTemplate)((0,eQ.createTemplateFactory)({id:"ol3/Wqlf",block:'[[[1,"\\n"],[41,[30,0,["parsedTemplate"]],[[[1," "],[11,0],[24,0,"form-template-form__wrapper"],[4,[32,0],[[30,0,["refreshTemplate"]],[30,1]],null],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["parsedTemplate"]]],null]],null],null,[[[1," "],[8,[32,1],null,[["@component","@content","@initialValue","@onChange"],[[28,[32,2],[[30,0,["fieldTypes"]],[30,2,["type"]]],null],[30,2],[28,[32,2],[[30,0,["initialValues"]],[30,2,["id"]]],null],[30,3]]],null],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"]],[]],[[[41,[30,0,["error"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,"\\n "],[1,[30,0,["error"]]],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]],[1," "]],["@id","content","@onChange"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/form-template-field/wrapper.js",scope:()=>[a.default,eZ,r.get],isStrictMode:!0}),this))()}},1214:(e,t,i)=>{"use strict";var s=i(24435);e.exports=function(e,t,i){var n="__INDIVIDUAL_ONE_VERSION_"+e,r=s(n+"_ENFORCE_SINGLETON",t);if(r!==t)throw Error("Can only have one copy of "+e+`. You already have version `+r+` installed. This means you cannot install version `+t);return s(n,i)}},1282:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(45682);class n extends s.default{}},1284:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(21044),n=i(77632),r=i(42371),a=i(36376),o=i(83770),l=i(44612),u=i(28431),d=i(92161),c=i(41277),p=i(71100),h=i(93810),m=i(60110);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[o.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"publicCategoryId",[n.tracked]))();#_=(()=>void dt7948.i(this,"publicCategoryId"))();static #r=(()=>dt7948.g(this.prototype,"saving",[n.tracked],function(){return!1}))();#y=(()=>void dt7948.i(this,"saving"))();static #a=(()=>dt7948.g(this.prototype,"flash",[n.tracked]))();#b=(()=>void dt7948.i(this,"flash"))();async makePublic(){let{topic:e}=this.args.model;try{this.saving=!0,await e.convertTopic("public",{categoryId:this.publicCategoryId}),e.set("archetype","regular"),e.set("category_id",this.publicCategoryId),this.appEvents.trigger("header:show-topic",e),this.args.closeModal()}catch(e){this.flash=(0,d.extractError)(e)}finally{this.saving=!1}}static #d=(()=>dt7948.n(this.prototype,"makePublic",[a.action]))();static #g=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"1A3ceSS4",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"convert-to-public-topic"]],[["@title","@closeModal","@flash"],[[28,[32,1],["topic.make_public.title"],null],[30,1],[30,0,["flash"]]]],[["body","footer"],[[[[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,1],["topic.make_public.choose_category"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,2],null,[["@value","@onChange"],[[30,0,["publicCategoryId"]],[28,[32,3],[[28,[31,0],[[30,0,["publicCategoryId"]]],null]],null]]],null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,4],[[24,0,"btn-primary"]],[["@action","@label","@disabled"],[[30,0,["makePublic"]],"composer.modal_ok",[30,0,["saving"]]]],null],[1,"\\n "],[8,[32,4],[[24,0,"btn-flat d-modal-cancel"]],[["@action","@label"],[[30,1],"cancel"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal"],false,["mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/convert-to-public-topic.js",scope:()=>[u.default,c.i18n,p.default,r.fn,l.default],isStrictMode:!0}),this))()}},1336:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(26962),n=i(71425);class r extends n.default{_init(){navigator.userAgent.includes("Chrome")?this.set("type","text"):this.set("type","password")}static #e=(()=>dt7948.n(this.prototype,"_init",[(0,s.on)("init")]))()}},1369:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addComposerSaveErrorCallback:()=>z,clearComposerSaveErrorCallback:()=>$,default:()=>W});var s=i(77632),n=i(36376),r=i(34229),a=i(31862),o=i(83770),l=i(25164),u=i(26962),d=i(27494),c=i.n(d),p=i(89120),h=i(661),m=i(87578),g=i(59061),f=i(63039),_=i(55831),y=i(92161),b=i(57822),w=i(32343),k=i(77598),T=i(1933),S=i(93233),C=i(60964),A=i(10508),D=i(15330),M=i(47182),x=i(64301),E=i(87726),L=i(37507),P=i(45577),F=i(73508),I=i(94611),N=i(76998),j=i(39689),O=i(82339),R=i(29990),U=i(98017),B=i(75406),Y=i(41277);async function H(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{draft:i,draftKey:s,draftSequence:n}=t;try{i&&"string"==typeof i&&(i=JSON.parse(i))}catch{i=null,R.default.clear(s,n)}let r={draftKey:s,draftSequence:n,draft:!0,composerState:O.default.DRAFT,topic:t.topic};O.default.serializedFieldsForDraft().forEach(e=>{r[e]=i[e]||t[e]});let a=e.createRecord("composer");return await a.open(r),a}let q=[];function $(){q.length=0}function z(e){q.push(e)}let V=dt7948.c(class extends o.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[o.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"capabilities",[o.service]))();#v=(()=>void dt7948.i(this,"capabilities"))();static #r=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #d=(()=>dt7948.g(this.prototype,"keyValueStore",[o.service]))();#w=(()=>void dt7948.i(this,"keyValueStore"))();static #g=(()=>dt7948.g(this.prototype,"messageBus",[o.service]))();#k=(()=>void dt7948.i(this,"messageBus"))();static #T=(()=>dt7948.g(this.prototype,"modal",[o.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #C=(()=>dt7948.g(this.prototype,"router",[o.service]))();#i=(()=>void dt7948.i(this,"router"))();static #A=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #D=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #M=(()=>dt7948.g(this.prototype,"store",[o.service]))();#x=(()=>void dt7948.i(this,"store"))();static #E=(()=>dt7948.g(this.prototype,"toasts",[o.service]))();#L=(()=>void dt7948.i(this,"toasts"))();static #P=(()=>dt7948.g(this.prototype,"showPreview",[s.tracked],function(){return!this.site.mobileView&&"true"===(this.keyValueStore.get("composer.showPreview")||"true")}))();#F=(()=>void dt7948.i(this,"showPreview"))();static #I=(()=>dt7948.g(this.prototype,"allowPreview",[s.tracked],function(){return!1}))();#N=(()=>void dt7948.i(this,"allowPreview"))();static #j=(()=>dt7948.g(this.prototype,"selectedTranslationLocale",[s.tracked],function(){return null}))();#O=(()=>void dt7948.i(this,"selectedTranslationLocale"))();checkedMessages=!1;messageCount=null;showEditReason=!1;editReason=null;scopedCategoryId=null;prioritizedCategoryId=null;lastValidatedAt=null;isUploading=!1;isProcessingUpload=!1;isCancellable;uploadProgress;topic=null;linkLookup=null;composerHeight=null;static #R=(()=>dt7948.g(this.prototype,"forcePreview",[(0,r.and)("site.mobileView","showPreview")]))();#U=(()=>void dt7948.i(this,"forcePreview"))();static #B=(()=>dt7948.g(this.prototype,"categories",[(0,r.alias)("site.categoriesList")]))();#Y=(()=>void dt7948.i(this,"categories"))();static #H=(()=>dt7948.g(this.prototype,"topicModel",[(0,r.alias)("topicController.model")]))();#q=(()=>void dt7948.i(this,"topicModel"))();static #$=(()=>dt7948.g(this.prototype,"isStaffUser",[(0,r.reads)("currentUser.staff")]))();#z=(()=>void dt7948.i(this,"isStaffUser"))();static #V=(()=>dt7948.g(this.prototype,"whisperer",[(0,r.reads)("currentUser.whisperer")]))();#W=(()=>void dt7948.i(this,"whisperer"))();static #K=(()=>dt7948.g(this.prototype,"canUnlistTopic",[(0,r.and)("model.creatingTopic","isStaffUser")]))();#G=(()=>void dt7948.i(this,"canUnlistTopic"))();static #J=(()=>dt7948.g(this.prototype,"isWhispering",[(0,r.or)("replyingToWhisper","model.whisper")]))();#Q=(()=>void dt7948.i(this,"isWhispering"))();get topicController(){return(0,A.getOwnerWithFallback)(this).lookup("controller:topic")}get isPreviewVisible(){return this.showPreview&&this.allowPreview}previewVisibilityChanged(){this.appEvents.trigger("composer:preview-toggled",this.isPreviewVisible)}static #X=(()=>dt7948.n(this.prototype,"previewVisibilityChanged",[(0,u.observes)("showPreview","allowPreview")]))();get isOpen(){return this.model?.composeState===O.default.OPEN}get topicDraftKey(){return O.NEW_TOPIC_KEY+"_"+new Date().getTime()}get privateMessageDraftKey(){return O.NEW_PRIVATE_MESSAGE_KEY+"_"+new Date().getTime()}get disableSubmit(){return this.model?.loading||this.isUploading||this.isProcessingUpload||this._disableSubmit}static #Z=(()=>dt7948.n(this.prototype,"disableSubmit",[(0,n.computed)("model.loading","isUploading","isProcessingUpload","_disableSubmit")]))();set disableSubmit(e){this.set("_disableSubmit",e)}get formTemplateIds(){return!this.siteSettings.experimental_form_templates||this.skipFormTemplate?null:this.model?.category?.get("form_template_ids")}static #ee=(()=>dt7948.n(this.prototype,"formTemplateIds",[(0,n.computed)("model.category","skipFormTemplate")]))();get hasFormTemplate(){return this.formTemplateIds?.length>0&&!this.get("model.replyingToTopic")&&!this.get("model.editingPost")}get replyingToUserId(){if(this.get("model.editingPost")){let e=this.get("model.post.reply_to_user");if(e)return e.id}let e=this.get("model.post.user");return e?e.id:this.get("model.topic.user_id")}get formTemplateInitialValues(){return this._formTemplateInitialValues}set formTemplateInitialValues(e){this.set("_formTemplateInitialValues",e)}onSelectFormTemplate(e){this.selectedFormTemplate=e}static #et=(()=>dt7948.n(this.prototype,"onSelectFormTemplate",[n.action]))();toggleText(e){return e?(0,Y.i18n)("composer.hide_preview"):(0,Y.i18n)("composer.show_preview")}static #ei=(()=>dt7948.n(this.prototype,"toggleText",[(0,k.default)("showPreview")]))();showPreviewChanged(){this.site.desktopView&&this.keyValueStore.set({key:"composer.showPreview",value:this.showPreview})}static #es=(()=>dt7948.n(this.prototype,"showPreviewChanged",[(0,u.observes)("showPreview")]))();focusTarget(e,t,i,s){return(i=i||"",t&&0===i.length||i===this.currentUser.username)?"usernames":e?"reply":s===O.default.FULLSCREEN?"editor":"title"}static #en=(()=>dt7948.n(this.prototype,"focusTarget",[(0,k.default)("model.replyingToTopic","model.creatingPrivateMessage","model.targetRecipients","model.composeState")]))();get showToolbar(){let e=(0,A.getOwnerWithFallback)(this).lookup("service:key-value-store").get("toolbar-enabled");return void 0===this._toolbarEnabled&&void 0===e&&(this._toolbarEnabled=window.innerWidth>370&&!this.capabilities.isAndroid),this._toolbarEnabled||"true"===e}static #er=(()=>dt7948.n(this.prototype,"showToolbar",[n.computed]))();set showToolbar(e){let t=(0,A.getOwnerWithFallback)(this).lookup("service:key-value-store");this._toolbarEnabled=e,t.set({key:"toolbar-enabled",value:e?"true":"false"})}canEditTags(e,t){let i=t||this.get("model.topic.isPrivateMessage");return e&&this.site.can_tag_topics&&(!i||this.site.can_tag_pms)}static #ea=(()=>dt7948.n(this.prototype,"canEditTags",[(0,k.default)("model.canEditTitle","model.creatingPrivateMessage")]))();disableCategoryChooser(e,t){return e&&!t}static #eo=(()=>dt7948.n(this.prototype,"disableCategoryChooser",[(0,k.default)("model.editingPost","model.topic.details.can_edit")]))();disableTagsChooser(e,t){return e&&!t}static #el=(()=>dt7948.n(this.prototype,"disableTagsChooser",[(0,k.default)("model.editingPost","model.topic.canEditTags")]))();showWhisperToggle(e,t){return e&&!t}static #eu=(()=>dt7948.n(this.prototype,"showWhisperToggle",[(0,k.default)("canWhisper","replyingToWhisper")]))();replyingToWhisper(e){return e&&e.post_type===this.site.post_types.whisper}static #ed=(()=>dt7948.n(this.prototype,"replyingToWhisper",[(0,k.default)("model.post")]))();saveIcon(e,t,i){return t?"far-eye-slash":i&&e===O.default.REPLY?"envelope":O.SAVE_ICONS[e]}static #ec=(()=>dt7948.n(this.prototype,"saveIcon",[(0,k.default)("model.action","isWhispering","model.privateMessage")]))();saveLabel(e,t,i,s){let n=this.model.customizationFor("saveLabel");return n?n:i?"composer.overwrite_edit":t?"composer.create_whisper":s&&e===O.default.REPLY?"composer.create_pm":e===O.default.ADD_TRANSLATION?"composer.translations.save":O.SAVE_LABELS[e]}static #ep=(()=>dt7948.n(this.prototype,"saveLabel",[(0,k.default)("model.action","isWhispering","model.editConflict","model.privateMessage","model.tags","model.category")]))();canWhisper(e,t){return e&&t===O.default.REPLY}static #eh=(()=>dt7948.n(this.prototype,"canWhisper",[(0,k.default)("whisperer","model.action")]))();_setupPopupMenuOption(e){if("function"==typeof e&&(e=e(this)),void 0===e)return null;let t=typeof e.condition;return"undefined"===t?e.condition=!0:"boolean"===t||("function"===t?e.condition=e.condition(this):e.condition=this.get(e.condition)),e}disableTextarea(e,t){return e&&0===t}static #em=(()=>dt7948.n(this.prototype,"disableTextarea",[(0,k.default)("model.requiredCategoryMissing","model.replyLength")]))();popupMenuOptions(e){if("open"===e||"fullscreen"===e){let e=[];return e.push(this._setupPopupMenuOption({name:"toggle-invisible",action:"toggleInvisible",icon:"far-eye-slash",label:"composer.toggle_unlisted",condition:"canUnlistTopic"})),this.capabilities.touch&&(e.push(this._setupPopupMenuOption({name:"format-code",action:"applyFormatCode",icon:"code",label:"composer.code_title"})),e.push(this._setupPopupMenuOption({name:"apply-unordered-list",action:"applyUnorderedList",icon:"list-ul",label:"composer.ulist_title"})),e.push(this._setupPopupMenuOption({name:"apply-ordered-list",action:"applyOrderedList",icon:"list-ol",label:"composer.olist_title"}))),e.push(this._setupPopupMenuOption({name:"toggle-whisper",action:"toggleWhisper",icon:"far-eye-slash",label:"composer.toggle_whisper",condition:"showWhisperToggle"})),e.push(this._setupPopupMenuOption({name:"toggle-spreadsheet",action:"toggleSpreadsheet",icon:"table",label:"composer.insert_table"})),e.concat(b.customPopupMenuOptions.map(e=>this._setupPopupMenuOption({...e})).filter(e=>e))}}static #eg=(()=>dt7948.n(this.prototype,"popupMenuOptions",[(0,k.default)("model.composeState","model.creatingTopic","model.post")]))();showWarning(e,t,i){if(!this.get("currentUser.staff")||i)return!1;let s=this.get("model.hasTargetGroups");return!(0,l.isEmpty)(t)&&1===t.split(",").length&&!s&&e}static #ef=(()=>dt7948.n(this.prototype,"showWarning",[(0,k.default)("model.creatingPrivateMessage","model.targetRecipients","model.warningsDisabled")]))();draftTitle(e){return(0,L.emojiUnescape)((0,N.escapeExpression)(e))}static #e_=(()=>dt7948.n(this.prototype,"draftTitle",[(0,k.default)("model.topic.title")]))();allowUpload(){return(0,F.authorizesOneOrMoreExtensions)(this.currentUser.staff,this.siteSettings)}static #ey=(()=>dt7948.n(this.prototype,"allowUpload",[k.default]))();uploadIcon(){return(0,F.uploadIcon)(this.currentUser.staff,this.siteSettings)}static #eb=(()=>dt7948.n(this.prototype,"uploadIcon",[(0,k.default)()]))();ariaLabel(e,t,i,s){switch(e){case"createSharedDraft":return(0,Y.i18n)("composer.create_shared_draft");case"editSharedDraft":return(0,Y.i18n)("composer.edit_shared_draft");case"createTopic":return(0,Y.i18n)("composer.composer_actions.create_topic.label");case"privateMessage":return(0,Y.i18n)("user.new_private_message");case"edit":return(0,Y.i18n)("composer.composer_actions.edit");case"reply":if(t)return`${(0,Y.i18n)("composer.create_whisper")} ${this.site.get("whispers_allowed_groups_names")}`;if(i)return(0,Y.i18n)("composer.create_pm");if(s)return(0,Y.i18n)("composer.composer_actions.reply_to_post.label",{postUsername:s});return(0,Y.i18n)("composer.composer_actions.reply_to_topic.label");default:return(0,Y.i18n)("keyboard_shortcuts_help.composing.title")}}static #ev=(()=>dt7948.n(this.prototype,"ariaLabel",[(0,k.default)("model.action","isWhispering","model.privateMessage","model.post.username")]))();async focusComposer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this._openComposerForFocus(e),(0,a.scheduleOnce)("afterRender",this,this._focusAndInsertText,e.insertText)}static #ew=(()=>dt7948.n(this.prototype,"focusComposer",[n.action]))();async _openComposerForFocus(e){if(!this.get("model.viewOpen")&&!this.openIfDraft()){if(e.topic)return await this.open({action:O.default.REPLY,draftKey:e.topic.get("draft_key"),draftSequence:e.topic.get("draft_sequence"),topic:e.topic,...e.openOpts||{}});if(e.fallbackToNewTopic)return await this.open({action:O.CREATE_TOPIC,draftKey:this.topicDraftKey,...e.openOpts||{}})}}_focusAndInsertText(e){document.querySelector("textarea.d-editor-input")?.focus(),e&&this.model.appendText(e,null,{new_line:!0})}updateCategory(e){this.model.categoryId=e}static #ek=(()=>dt7948.n(this.prototype,"updateCategory",[n.action]))();openIfDraft(e){return!!this.get("model.viewDraft")&&(e&&(e.preventDefault(),e.stopPropagation()),this.set("model.composeState",O.default.OPEN),document.documentElement.style.setProperty("--composer-height",this.get("model.composerHeight")),!0)}static #eT=(()=>dt7948.n(this.prototype,"openIfDraft",[n.action]))();removeFullScreenExitPrompt(){this.set("model.showFullScreenExitPrompt",!1)}static #eS=(()=>dt7948.n(this.prototype,"removeFullScreenExitPrompt",[n.action]))();async cancel(e){e?.preventDefault(),await this.cancelComposer()}static #eC=(()=>dt7948.n(this.prototype,"cancel",[n.action]))();cancelUpload(e){e?.preventDefault(),this.appEvents.trigger("composer:cancel-upload")}static #eA=(()=>dt7948.n(this.prototype,"cancelUpload",[n.action]))();togglePreview(e){e?.preventDefault(),this.toggleProperty("showPreview")}static #eD=(()=>dt7948.n(this.prototype,"togglePreview",[n.action]))();viewNewReply(e){(0,x.wantsNewWindow)(e)||(e.preventDefault(),I.default.routeTo(this.get("model.createdPost.url")),this.close())}static #eM=(()=>dt7948.n(this.prototype,"viewNewReply",[n.action]))();closeComposer(){this.close()}static #ex=(()=>dt7948.n(this.prototype,"closeComposer",[n.action]))();onPopupMenuAction(e,t){return(this.appEvents.trigger("composer:toolbar-popup-menu-button-clicked",e),"function"==typeof e.action)?e.action(this.toolbarEvent||t):(this.actions?.[e.action]?.bind(this)||this[e.action])()}static #eE=(()=>dt7948.n(this.prototype,"onPopupMenuAction",[n.action]))();storeToolbarState(e){this.set("toolbarEvent",e)}static #eL=(()=>dt7948.n(this.prototype,"storeToolbarState",[n.action]))();typed(){this.checkReplyLength(),this.model.typing()}static #eP=(()=>dt7948.n(this.prototype,"typed",[n.action]))();cancelled(){this.hitEsc()}static #eF=(()=>dt7948.n(this.prototype,"cancelled",[n.action]))();addLinkLookup(e){this.set("linkLookup",e)}static #eI=(()=>dt7948.n(this.prototype,"addLinkLookup",[n.action]))();afterRefresh(e){let t=this.get("model.topic"),i=this.linkLookup;if(!t||!i||1===t.posts_count)return;let s=this.get("model.post");e.querySelectorAll("a[href]").forEach(e=>{let n=e.href;if(n&&n.length){if(void 0!==e.dataset.word)return;for(let t=e;t&&!("DIV"===t.tagName&&t.classList.contains("d-editor-preview"));t=t.parentElement)if("ASIDE"===t.tagName&&t.classList.contains("quote")||"ASIDE"===t.tagName&&t.classList.contains("onebox")&&n!==t.dataset["onebox-src"])return;let[r,a]=i.check(s,n);r&&!this.isWhispering&&(a.username===this.currentUser.username?this.appEvents.trigger("composer-messages:create",{extraClass:"custom-body",templateName:"education",body:(0,Y.i18n)("composer.duplicate_link_same_user",{domain:a.domain,post_url:t.urlForPostNumber(a.post_number),ago:(0,C.shortDate)(a.posted_at)})}):this.appEvents.trigger("composer-messages:create",{extraClass:"custom-body duplicate-link-message",templateName:"education",body:(0,Y.i18n)("composer.duplicate_link",{domain:a.domain,username:a.username,post_url:t.urlForPostNumber(a.post_number),ago:(0,C.shortDate)(a.posted_at)})}))}})}static #eN=(()=>dt7948.n(this.prototype,"afterRefresh",[n.action]))();toggleWhisper(){this.toggleProperty("model.whisper")}static #ej=(()=>dt7948.n(this.prototype,"toggleWhisper",[n.action]))();toggleSpreadsheet(){this.modal.show(g.default,{model:{toolbarEvent:this.toolbarEvent,tableTokens:null}})}static #eO=(()=>dt7948.n(this.prototype,"toggleSpreadsheet",[n.action]))();toggleInvisible(){this.toggleProperty("model.unlistTopic")}static #eR=(()=>dt7948.n(this.prototype,"toggleInvisible",[n.action]))();toggleToolbar(){this.toggleProperty("showToolbar")}static #eU=(()=>dt7948.n(this.prototype,"toggleToolbar",[n.action]))();async toggle(){this.closeAutocomplete();let e=this.model;e?.viewOpenOrFullscreen?this.shrink():await this.cancelComposer()}static #eB=(()=>dt7948.n(this.prototype,"toggle",[n.action]))();fullscreenComposer(){return this.toggleFullscreen(),!1}static #eY=(()=>dt7948.n(this.prototype,"fullscreenComposer",[n.action]))();async importQuote(e){let t=this.get("topic.postStream"),i=this.get("model.post.id");if(!i&&t&&(i=t.get("stream.firstObject")),this.get("model.editingPost")){let e=this.get("model.post.reply_to_post_number");if(e){let s=t.posts.findBy("post_number",e);s&&(i=s.id)}}if(!i)return;this.set("model.loading",!0);let s=await this.store.find("post",i),n=(0,E.buildQuote)(s,s.raw,{full:!0});e.addText(n),this.set("model.loading",!1)}static #eH=(()=>dt7948.n(this.prototype,"importQuote",[n.action]))();saveAction(e,t){this.save(!1,{jump:!(t?.shiftKey&&this.get("model.replyingToTopic"))&&!this.skipJumpOnSave})}static #eq=(()=>dt7948.n(this.prototype,"saveAction",[n.action]))();displayEditReason(){this.set("showEditReason",!0)}static #e$=(()=>dt7948.n(this.prototype,"displayEditReason",[n.action]))();hitEsc(){if(1===document.querySelectorAll(".emoji-picker-modal.fadeIn").length)return void this.appEvents.trigger("emoji-picker:close");if((this.messageCount||0)>0)return void this.appEvents.trigger("composer-messages:close");let e=this.model;e?.viewOpen&&this.shrink(),e?.viewFullscreen&&(this.toggleFullscreen(),this.focusComposer())}static #ez=(()=>dt7948.n(this.prototype,"hitEsc",[n.action]))();groupsMentioned(e){let t,{name:i,userCount:s,maxMentions:n}=e;if(this.get("model.creatingPrivateMessage")||this.get("model.topic.isPrivateMessage"))return;n=parseInt(n,10),s=parseInt(s,10);let r=(0,D.default)(`/g/${i}/members`);if(s>n)t=(0,Y.i18n)("composer.group_mentioned_limit",{group:`@${i}`,count:n,group_link:r});else if(s>0){let e=s>=5?"composer.larger_group_mentioned":"composer.group_mentioned";t=(0,Y.i18n)(e,{group:`@${i}`,count:s,group_link:r})}t&&this.appEvents.trigger("composer-messages:create",{extraClass:"custom-body",templateName:"education",body:t})}static #eV=(()=>dt7948.n(this.prototype,"groupsMentioned",[n.action]))();cannotSeeMention(e){let t,{name:i,reason:s,notifiedCount:n,isGroup:r}=e;n=parseInt(n,10),t=r?(0,Y.i18n)(`composer.cannot_see_group_mention.${s}`,{group:i,count:n}):(0,Y.i18n)(`composer.cannot_see_mention.${s}`,{username:i}),this.appEvents.trigger("composer-messages:create",{extraClass:"custom-body",templateName:"education",body:t})}static #eW=(()=>dt7948.n(this.prototype,"cannotSeeMention",[n.action]))();hereMention(e){this.appEvents.trigger("composer-messages:create",{extraClass:"custom-body",templateName:"education",body:(0,Y.i18n)("composer.here_mention",{here:this.siteSettings.here_mention,count:e})})}static #eK=(()=>dt7948.n(this.prototype,"hereMention",[n.action]))();applyFormatCode(){this.toolbarEvent.formatCode()}static #eG=(()=>dt7948.n(this.prototype,"applyFormatCode",[n.action]))();applyUnorderedList(){this.toolbarEvent.applyList("* ","list_item")}static #eJ=(()=>dt7948.n(this.prototype,"applyUnorderedList",[n.action]))();applyOrderedList(){this.toolbarEvent.applyList(e=>e?`${parseInt(e,10)+1}. `:"1. ","list_item")}static #eQ=(()=>dt7948.n(this.prototype,"applyOrderedList",[n.action]))();save(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.disableSubmit)return;if(this.model.action===O.default.ADD_TRANSLATION)return this.saveTranslation();if(this.showWarning||this.set("model.isWarning",!1),this.site.mobileView&&this.showPreview&&this.set("showPreview",!1),this.hasFormTemplate){let e=(0,S.default)(document.querySelector("#form-template-form"),this.selectedFormTemplate);if(!e)return;this.model.set("reply",e)}let i=this.model;if((0,P.applyValueTransformer)("composer-service-cannot-submit-post",i?.cantSubmitPost,{model:i})){i?.viewFullscreen&&this.toggleFullscreen(),this.set("lastValidatedAt",Date.now()),this.appEvents.trigger("composer-service:last-validated-at-updated",{model:i});return}let s=i.topic,n=s&&s.slow_mode_seconds&&s.user_last_posted_at,r="edit"!==this.get("model.action");if(n&&r)if((0,_.cannotPostAgain)(this.currentUser,s.slow_mode_seconds,s.user_last_posted_at)){let e=new moment(s.user_last_posted_at).add(s.slow_mode_seconds,"seconds"),t=moment().diff(e,"seconds"),i=(0,Y.i18n)("composer.slow_mode.error",{timeLeft:(0,_.durationTextFromSeconds)(t)});this.dialog.alert(i);return}else s.set("user_last_posted_at",new Date().toISOString());if(i.set("disableDrafts",!0),!e&&i.replyingToTopic){let e=this.topicModel,t=this.model.topic;if(!e)return void this.save(!0);if(e.id!==i.get("topic.id")&&(this.isStaffUser||!e.closed))return void this.dialog.alert({title:(0,Y.i18n)("composer.posting_not_on_topic"),bodyComponent:f.default,bodyComponentModel:{originalTopic:t,replyOnOriginal:()=>{this.save(!0),this.dialog.didConfirmWrapped()},currentTopic:e,replyOnCurrent:()=>{i.setProperties({topic:e,post:null}),this.save(!0),this.dialog.didConfirmWrapped()}},buttons:[{label:(0,Y.i18n)("composer.cancel"),class:"btn-flat btn-text btn-reply-where__cancel"}],class:"reply-where-modal"})}let a=!1,o={};document.querySelectorAll("#reply-control .d-editor-preview img:not(.avatar, .emoji)").forEach(e=>{let t=e.src;t&&t.length&&(o[t]={width:e.naturalWidth,height:e.naturalHeight})});let l=i.save({imageSizes:o,editReason:this.editReason}).then(e=>{if(this.appEvents.trigger("composer:saved"),"enqueued"===e.responseJson.action){if(this.postWasEnqueued(e.responseJson),e.responseJson.pending_post){let t=this.get("topicController.model.pending_posts");t&&t.pushObject(e.responseJson.pending_post)}return this.destroyDraft().then(()=>(this.close(),this.appEvents.trigger("post-stream:refresh"),e))}if(this.get("model.editingPost")?(this.appEvents.trigger("composer:edited-post"),this.appEvents.trigger("post-stream:refresh",{id:parseInt(e.responseJson.id,10)}),1===e.responseJson.post.post_number&&this.appEvents.trigger("header:update-topic",i.topic)):this.appEvents.trigger("post-stream:refresh"),"create_post"===e.responseJson.action&&(this.appEvents.trigger("composer:created-post"),this.appEvents.trigger("post:highlight",e.payload.post_number,t)),e.responseJson.route_to)return(this.destroyDraft(),e.responseJson.message)?this.dialog.alert({message:e.responseJson.message,didConfirm:()=>{I.default.routeTo(e.responseJson.route_to)}}):I.default.routeTo(e.responseJson.route_to);this.close(),this.currentUser.set("any_posts",!0);let s=e.target;s&&!a&&!1!==t.jump&&I.default.routeTo(s.url,{keepFilter:!0,skipIfOnScreen:!0})}).catch(e=>{i.set("disableDrafts",!1),e&&this.appEvents.one("composer:will-open",()=>{0!==q.length&&q.map(t=>t.call(this,e)).some(e=>e)||this.dialog.alert(e)})});return"topic"===this.router.currentRouteName.split(".")[0]&&i.get("topic.id")===this.get("topicModel.id")&&(a=i.get("stagedPost")),this.appEvents.trigger("post-stream:posted",a),this.messageBus.pause(),l.finally(()=>this.messageBus.resume()),l}async saveTranslation(){this.set("model.loading",!0),this.set("lastValidatedAt",Date.now()),this.appEvents.trigger("composer-service:last-validated-at-updated",{model:this.model});try{await U.default.createOrUpdate(this.model.post.id,this.selectedTranslationLocale,this.model.reply),this.model.post.firstPost&&await B.default.createOrUpdate(this.model.post.topic_id,this.selectedTranslationLocale,this.model.title),this.close(),this.toasts.success({duration:"short",data:{message:(0,Y.i18n)("post.localizations.success")}}),this.selectedTranslationLocale=null}catch(e){(0,y.popupAjaxError)(e)}finally{this.set("model.loading",!1)}}postWasEnqueued(e){this.modal.show(m.default,{model:e})}static #eX=(()=>dt7948.n(this.prototype,"postWasEnqueued",[n.action]))();checkReplyLength(){(0,l.isEmpty)("model.reply")||this.appEvents.trigger("composer:typed-reply")}async open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e.draftKey)throw Error("composer opened without a proper draft key");let t=this.model;if(!e.ignoreIfChanged||!t||t.composeState===O.default.CLOSED){this.setProperties({showEditReason:!1,editReason:null,scopedCategoryId:null,prioritizedCategoryId:null,skipAutoSave:!0}),this.set("skipJumpOnSave",!!e.skipJumpOnSave),this.set("skipFormTemplate",!!e.skipFormTemplate),e.hijackPreview&&this.set("hijackPreview",e.hijackPreview),e.selectedTranslationLocale&&(this.selectedTranslationLocale=e.selectedTranslationLocale),e.categoryId&&!e.disableScopedCategory&&j.default.findById(e.categoryId)&&this.set("scopedCategoryId",e.categoryId),e.prioritizedCategoryId&&j.default.findById(e.prioritizedCategoryId)&&this.set("prioritizedCategoryId",e.prioritizedCategoryId),t&&e.draftKey!==t.draftKey&&t.composeState===O.default.DRAFT&&(this.close(),t=null);try{if(t?.replyDirty){if(t.composeState===O.default.OPEN&&t.draftKey===e.draftKey&&!e.action||t.composeState===O.default.DRAFT&&t.draftKey===e.draftKey&&(t.set("composeState",O.default.OPEN),document.documentElement.style.setProperty("--composer-height",this.get("model.composerHeight")),!e.action))return;await this.cancelComposer(e)&&await this.open(e);return}t&&t.action!==e.action&&t.setProperties({unlistTopic:!1,whisper:!1}),await this._setModel(t,e)}finally{this.skipAutoSave=!1,this.appEvents.trigger("composer:open",{model:this.model})}}}async openNewTopic(){let{title:e,body:t,category:i,tags:s,formTemplate:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.open({prioritizedCategoryId:i?.id,topicCategoryId:i?.id,formTemplateId:n?.id,topicTitle:e,topicBody:t,topicTags:s,action:O.CREATE_TOPIC,draftKey:this.topicDraftKey,draftSequence:0})}static #eZ=(()=>dt7948.n(this.prototype,"openNewTopic",[n.action]))();async openNewMessage(e){let{title:t,body:i,recipients:s,hasGroups:n}=e;return this.open({action:O.default.PRIVATE_MESSAGE,recipients:s,topicTitle:t,topicBody:i,archetypeId:"private_message",draftKey:this.privateMessageDraftKey,hasGroups:n})}static #e1=(()=>dt7948.n(this.prototype,"openNewMessage",[n.action]))();async _setModel(e,t){let i;if(this.set("linkLookup",null),t.draft){if(!(i=await H(this.store,t)))throw Error("draft was not found")}else{let s=e||this.store.createRecord("composer");await s.open(t),i=s}if(this.set("model",i),i.setProperties({composeState:O.default.OPEN,isWarning:!1,hasTargetGroups:t.hasGroups,warningsDisabled:t.warningsDisabled}),!this.model.targetRecipients&&(t.usernames?((0,T.default)("`usernames` is deprecated, use `recipients` instead.",{id:"discourse.composer.usernames"}),this.model.set("targetRecipients",t.usernames)):t.recipients&&this.model.set("targetRecipients",t.recipients)),t.topicTitle&&t.topicTitle.length<=this.siteSettings.max_topic_title_length&&this.model.set("title",t.topicTitle),t.topicTags&&this.site.can_tag_topics){let e=(0,N.escapeExpression)(t.topicTags).split(",").slice(0,this.siteSettings.max_tags_per_topic);e.forEach((e,t,i)=>i[t]=e.substring(0,this.siteSettings.max_tag_length)),this.model.set("tags",e)}t.topicBody&&this.model.set("reply",t.topicBody),t.formTemplateId&&this.model.get("category.form_template_ids")?.includes(t.formTemplateId)&&this.model.set("formTemplateId",t.formTemplateId),t.prependText&&!this.model.reply?.includes(t.prependText)&&this.model.prependText(t.prependText,{new_line:!0});let s=this._getDefaultComposerHeight();this.set("model.composerHeight",s),document.documentElement.style.setProperty("--composer-height",s)}_getDefaultComposerHeight(){return this.keyValueStore.getItem("composerHeight")?this.keyValueStore.getItem("composerHeight"):"reply"===this.model.action?"var(--reply-composer-height, 255px)":"var(--new-topic-composer-height, 400px)"}async destroyDraft(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.get("model.draftKey");if(!t)return;if(this._saveDraftPromise)return await this._saveDraftPromise,await this.destroyDraft();let i=e||this.get("model.draftSequence");await R.default.clear(t,i),this.appEvents.trigger("draft:destroyed",t)}cancelComposer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.skipAutoSave=!0,this._saveDraftDebounce&&(0,a.cancel)(this._saveDraftDebounce),new p.Promise(t=>{if(this.get("model.hasMetaData")||this.get("model.replyDirty")){let i=this.model.composeState===O.default.OPEN&&this.model.draftKey===e.draftKey&&[O.default.EDIT_SHARED_DRAFT,O.default.EDIT].includes(e.action),s=this.model.canSaveDraft&&!i;this.modal.show(h.default,{model:{showSaveDraftButton:s,onDestroyDraft:()=>this.destroyDraft().then(()=>{this.model.clearState(),this.close()}).finally(()=>{this.appEvents.trigger("composer:cancelled"),t(!0)}),onSaveDraft:()=>(this._saveDraft(),this.model.clearState(),this.close(),this.appEvents.trigger("composer:cancelled"),t(!0)),onKeepEditing:()=>t(!1)}})}else this.destroyDraft().then(()=>{this.model.clearState(),this.close()}).finally(()=>{this.appEvents.trigger("composer:cancelled"),t()})}).finally(()=>{this.skipAutoSave=!1})}unshrink(){this.model.set("composeState",O.default.OPEN),document.documentElement.style.setProperty("--composer-height",this.model.composerHeight)}shrink(){this.collapse()}_saveDraft(){if(this.model)if(this.model.draftSaving)this._saveDraftDebounce=(0,w.default)(this,this._saveDraft,2e3);else{if(this.hasFormTemplate){let e=document.querySelector("#form-template-form");e&&this.set("formTemplateInitialValues",(0,S.getFormTemplateObject)(e))}this._saveDraftPromise=this.model.saveDraft().finally(()=>{this._lastDraftSaved=Date.now(),this._saveDraftPromise=null})}}_shouldSaveDraft(){!this.model||this.model.loading||this.skipAutoSave||this.model.disableDrafts||(this._lastDraftSaved||(this._lastDraftSaved=Date.now()),Date.now()-this._lastDraftSaved>15e3?this._saveDraft():this._saveDraftDebounce=(0,w.default)(this,this._saveDraft,2e3))}static #e0=(()=>dt7948.n(this.prototype,"_shouldSaveDraft",[(0,u.observes)("model.reply","model.title")]))();categoryValidation(e,t){if(!this.siteSettings.allow_uncategorized_topics&&!e)return n.default.create({failed:!0,reason:(0,Y.i18n)("composer.error.category_missing"),lastShownAt:t})}static #e3=(()=>dt7948.n(this.prototype,"categoryValidation",[(0,k.default)("model.categoryId","lastValidatedAt")]))();tagValidation(e,t,i){if(this.site.can_tag_topics&&!this.currentUser.staff&&e&&e.minimumRequiredTags>(t||[]).length)return n.default.create({failed:!0,reason:(0,Y.i18n)("composer.error.tags_missing",{count:e.minimumRequiredTags}),lastShownAt:i})}static #e2=(()=>dt7948.n(this.prototype,"tagValidation",[(0,k.default)("model.category","model.tags","lastValidatedAt")]))();collapse(){this._saveDraft(),this.set("model.composeState",O.default.DRAFT),document.documentElement.style.setProperty("--composer-height","40px")}toggleFullscreen(){this._saveDraft();let e=this.model;e?.viewFullscreen?e?.set("composeState",O.default.OPEN):(e?.set("composeState",O.default.FULLSCREEN),e?.set("showFullScreenExitPrompt",!0))}showFullScreenPrompt(e,t){return e&&t&&!this.capabilities.touch}static #e8=(()=>dt7948.n(this.prototype,"showFullScreenPrompt",[(0,k.default)("model.viewFullscreen","model.showFullScreenExitPrompt")]))();close(){let e=document.documentElement;e.classList.remove("fullscreen-composer"),e.classList.remove("composer-open"),document.activeElement?.blur(),document.documentElement.style.removeProperty("--composer-height"),this.setProperties({model:null,lastValidatedAt:null}),this.set("formTemplateInitialValues",void 0)}closeAutocomplete(){c()(".d-editor-input").autocomplete({cancel:!0})}canEdit(e){return"edit"===e&&this.currentUser.can_edit}static #e4=(()=>dt7948.n(this.prototype,"canEdit",[(0,k.default)("model.action")]))();visible(e){return e&&"closed"!==e}static #e7=(()=>dt7948.n(this.prototype,"visible",[(0,k.default)("model.composeState")]))();clearLastValidatedAt(){this.set("lastValidatedAt",null),this.appEvents.trigger("composer-service:last-validated-at-cleared")}},[M.disableImplicitInjections]),W=V;V.prototype.mergedProperties=["actions"]},1372:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(93810),n=i(42371),r=i(36376),a=i(14547),o=i(44612),l=i(81832),u=i(77598),d=i(60110);let c=dt7948.c(class extends s.default{periods(e){return this.site.get("periods").filter(t=>t!==e)}static #e=(()=>dt7948.n(this.prototype,"periods",[(0,u.default)("period")]))();changePeriod(e){this.action(e)}static #t=(()=>dt7948.n(this.prototype,"changePeriod",[r.action]))();static #r=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"ULLs3QAV",block:'[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["periods"]]],null]],null],null,[[[1," "],[8,[32,0],[[24,0,"btn-default"]],[["@action","@translatedLabel"],[[28,[32,1],[[30,0,["changePeriod"]],[30,1]],null],[28,[32,2],[[30,1]],null]]],null],[1,"\\n"]],[1]],null],[1," "]],["p"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/top-period-buttons.js",scope:()=>[o.default,n.fn,l.default],isStrictMode:!0}),this))()},[(0,a.classNames)("top-title-buttons")])},1470:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(36376),n=i(14547),r=i(41277),a=i(66026),o=i(66185);let l=dt7948.c(class extends a.default{get content(){let e=[{id:"create",name:(0,r.i18n)("category.create"),description:(0,r.i18n)("category.create_long"),icon:"plus"}];return e.push({id:"reorder",name:(0,r.i18n)("categories.reorder.title"),description:(0,r.i18n)("categories.reorder.title_long"),icon:"shuffle"}),e}static #e=(()=>dt7948.n(this.prototype,"content",[s.computed]))();_onChange(e,t){t.onChange?t.onChange(e,t):this.onChange&&this.onChange(e,t)}},[(0,o.pluginApiIdentifiers)(["categories-admin-dropdown"]),(0,o.selectKitOptions)({icons:["wrench","caret-down"],showFullTitle:!1,autoFilterable:!1,filterable:!1,none:"select_kit.components.categories_admin_dropdown.title",focusAfterOnChange:!1}),(0,n.classNames)("categories-admin-dropdown")])},1512:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(54695),r=i(83770),a=i(6809),o=i(25164),l=i(85703),u=i(15330),d=i(54583),c=i(41277),p=i(93810),h=i(60110);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#i=(()=>void dt7948.i(this,"router"))();get contents(){let e=this.args.i18nLabel||(0,c.i18n)(this.args.label);return this.args.icon?(0,a.htmlSafe)(`${(0,d.iconHTML)(this.args.icon)} ${e}`):e}get active(){if(this.args.route&&this.router.currentRoute){if((0,o.isPresent)(this.args.currentWhen)){let e=this.args.currentWhen;return"boolean"==typeof e?e:"string"==typeof e&&e.split(" ").some(e=>e===this.router.currentRoute.name)}if(this.args.routeParam){if("adminPlugins.show.settings"===this.router.currentRoute.name)return this.router.currentRoute.parent.params.plugin_id===this.args.routeParam;if(this.router.currentRoute.params.filter)return this.router.currentRoute.params.filter===this.args.routeParam;if(this.router.currentRoute.params.field_name)return this.router.currentRoute.params.field_name===this.args.routeParam}return this.router.isActive(this.args.route)}}static #t=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"oBaRhh7C",block:'[[[1,"\\n "],[11,"li"],[16,0,[28,[32,0],[[52,[30,0,["active"]],"active"],[30,1]],null]],[17,2],[12],[1,"\\n"],[41,[30,3],[[[1," "],[8,[32,1],null,[["@route","@model","@current-when"],[[30,4],[30,3],[30,0,["active"]]]],[["default"],[[[[1,[30,0,["contents"]]]],[]]]]],[1,"\\n"]],[]],[[[41,[30,4],[[[1," "],[8,[32,1],null,[["@route","@current-when"],[[30,4],[30,0,["active"]]]],[["default"],[[[[1,[30,0,["contents"]]]],[]]]]],[1,"\\n"]],[]],[[[1," "],[10,3],[15,6,[28,[32,2],[[30,5]],null]],[14,"data-auto-route","true"],[12],[1,[30,0,["contents"]]],[13],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n "]],["@class","&attrs","@routeParam","@route","@path"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/nav-item.js",scope:()=>[l.default,n.LinkTo,u.default],isStrictMode:!0}),this))()}},1523:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(42371),n=i(41277),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"jqFJC3+O",block:'[[[1,"\\n "],[11,0],[24,0,"top-sub-section"],[17,1],[12],[1,"\\n "],[10,"h3"],[14,0,"stats-title"],[12],[1,[28,[32,0],[[28,[32,1],["user.summary.",[30,2]],null]],null]],[13],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n"]],["&attrs","@title","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-summary-section.js",scope:()=>[n.i18n,s.concat],isStrictMode:!0}),(0,o.default)(void 0,"user-summary-section:UserSummarySection"))},1539:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(45682);class n extends s.default{}},1557:(e,t,i)=>{"use strict";i.r(t),i.d(t,{HANDLERS:()=>s,invoke:()=>r,registerHandler:()=>n});let s={},n=function(e,t){},r=()=>{};n=function(e,t){let i=s[e]||(()=>{});s[e]=(e,s)=>{t(e,s,i)}},r=function(e,t,i,n){if(i)return;let r=s[e];r&&r(t,n)}},1566:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(93810),n=i(14547),r=i(4769),a=i(12329),o=i(37420),l=i(47521),u=i(67228),d=i(67179),c=i(60102),p=i(85831),h=i(41277),m=i(60110);let g=dt7948.c(class extends s.default{role="row";static #e=(()=>dt7948.g(this.prototype,"me",[(0,p.propertyEqual)("item.user.id","currentUser.id")]))();#e9=(()=>void dt7948.i(this,"me"))();columns=null;static #t=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"zI7zZj82",block:'[[[1,"\\n "],[10,0],[14,0,"directory-table__cell"],[14,"role","rowheader"],[12],[1,"\\n "],[8,[32,0],null,[["@user"],[[30,0,["item","user"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["columns"]]],null]],null],null,[[[41,[28,[32,1],null,[["column"],[[30,1]]]],[[[1," "],[10,0],[14,0,"directory-table__cell--user-field"],[14,"role","cell"],[12],[1,"\\n "],[10,1],[14,0,"directory-table__label"],[12],[1,"\\n "],[10,1],[12],[1,[30,1,["name"]]],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,2],null,[["@item","@column"],[[30,0,["item"]],[30,1]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"directory-table__cell"],[14,"role","cell"],[12],[1,"\\n "],[10,1],[14,0,"directory-table__label"],[12],[1,"\\n "],[10,1],[12],[1,"\\n"],[41,[30,1,["icon"]],[[[1," "],[1,[28,[32,3],[[30,1,["icon"]]],null]],[1,"\\n"]],[]],null],[1," "],[1,[28,[32,4],null,[["item","column"],[[30,0,["item"]],[30,1]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,5],null,[["item","column"],[[30,0,["item"]],[30,1]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1,"\\n"]],[1]],null],[1,"\\n"],[41,[30,0,["showTimeRead"]],[[[1," "],[10,0],[14,0,"directory-table__cell time-read"],[14,"role","cell"],[12],[1,"\\n "],[10,1],[14,0,"directory-table__label"],[12],[1,"\\n "],[10,1],[12],[1,[28,[32,6],["directory.time_read"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"directory-table__value"],[12],[1,"\\n "],[1,[28,[32,7],[[30,0,["item","time_read"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["column"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/directory-item.js",scope:()=>[a.default,l.default,r.default,o.default,u.default,d.default,h.i18n,c.default],isStrictMode:!0}),this))()},[(0,n.attributeBindings)("role"),(0,n.classNameBindings)("me"),(0,n.classNames)("directory-table__row"),(0,n.tagName)("div")])},1615:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(36376),n=i(27494),r=i.n(n),a=i(89120),o=i(3558);class l extends s.default{static find(e){return new a.Promise(t=>{let i=r()('noscript[data-path="/'+e+'"]');if(i.length){let s=i.text();s=s.match(/((?:.|[\n\r])*)/)[1],t(l.create({path:e,html:s}))}else(0,o.ajax)(`/${e}.html`,{dataType:"html"}).then(i=>t(l.create({path:e,html:i})))})}}},1733:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,i){return e<12?i?"öö":"ÖÖ":i?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var s=e%10;return e+(t[s]||t[e%100-s]||t[e>=100?100:null])}},week:{dow:1,doy:7}})})},1790:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(13641);class n extends s.default{pathFor(e,t,i){return this.appendQueryParams("/tags/list",i)}}},1874:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(21772);class n extends s.default{titleToken(){return[this.modelFor("group").get("name")]}model(e){return this.store.find("group",e.name)}serialize(e){return{name:e.get("name").toLowerCase()}}setupController(e){super.setupController(...arguments),e.set("showTooltip",!1)}}},1876:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(6809),n=i(62069),r=i(84239),a=i(41277),o=i(93810),l=i(60110),u=i(29681);let d=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"tiJIjgkm",block:'[[[1,"\\n "],[8,[32,0],null,[["@step"],["activate"]],null],[1,"\\n "],[10,0],[14,0,"ac-message"],[12],[1,"\\n"],[41,[30,1,["email"]],[[[1," "],[1,[28,[32,1],[[28,[32,2],["login.sent_activation_email_again"],[["currentEmail"],[[30,1,["email"]]]]]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["login.sent_activation_email_again_generic"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/account-created/resent.js",scope:()=>[r.default,s.htmlSafe,a.i18n],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},1879:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createCache:()=>s.createCache,getValue:()=>s.getValue,isConst:()=>s.isConst}),i(63847),i(71620),i(7950),i(12003);var s=i(5963);i(56742),i(14675),i(5840)},1898:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(6809),n=i(37420),r=i(4316),a=i(41277),o=i(93810),l=i(60110),u=i(29681);let d=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"yfTfo/F8",block:'[[[1,"\\n "],[10,0],[14,0,"empty-state"],[12],[1,"\\n "],[10,1],[14,0,"empty-state-title"],[12],[1,"\\n "],[1,[28,[32,0],["user.no_messages_title"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"empty-state-body"],[12],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,1],[[28,[32,0],["user.no_messages_body"],[["icon","aboutUrl"],[[28,[32,2],["envelope"],null],[28,[32,3],["/about"],null]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-menu/messages-list-empty-state.js",scope:()=>[a.i18n,s.htmlSafe,n.default,r.default],isStrictMode:!0}),(0,u.default)(void 0,"messages-list-empty-state:MessagesListEmptyState"))},1916:(e,t,i)=>{"use strict";i.r(t),i.d(t,{reload:()=>n});var s=i(131);function n(){(0,s.isTesting)()||location.reload()}},1933:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{default:()=>o,registerDeprecationHandler:()=>l,withSilencedDeprecations:()=>u,withSilencedDeprecationsAsync:()=>d});var n=i(50704);let r=[],a=new Set;function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{id:i,since:s,dropFrom:o,url:l,raiseError:u,source:d}=t;if(i&&a.has(i))return;e=["Deprecation notice:",e],s&&e.push(`[deprecated since Discourse ${s}]`),o&&e.push(`[removal in Discourse ${o}]`),i&&e.push(`[deprecation id: ${i}]`),l&&e.push(`[info: ${l}]`),e=e.join(" ");let c="";window.require.has("discourse/lib/source-identifier")&&(c=window.require("discourse/lib/source-identifier").consolePrefix(null,d)||""),r.forEach(i=>i(e,t));let p=n.default.find(e=>e.matchId===i);if(u||p?.handler==="throw"||!p&&globalThis.EmberENV?.RAISE_ON_DEPRECATION)throw e;p?.handler!=="silence"&&console.warn(...[c,e].filter(Boolean))}function l(e){r.push(e)}function u(e,t){c();let i=[].concat(e);try{i.forEach(e=>a.add(e));let e=t();if(e instanceof Promise)throw Error("withSilencedDeprecations callback returned a promise. Use withSilencedDeprecationsAsync instead.");return e}finally{i.forEach(e=>a.delete(e))}}async function d(e,t){c();let i=[].concat(e);try{return i.forEach(e=>a.add(e)),await t()}finally{i.forEach(e=>a.delete(e))}}function c(){!s&&(s=(e,t,i)=>{t?.id&&a.has(t.id)||i(e,t)},window.require.has("@ember/debug")&&window.require("@ember/debug").registerDeprecationHandler(s))}},1950:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_reset:()=>n._reset,_resetWaiterNames:()=>n._resetWaiterNames,buildWaiter:()=>n.buildWaiter,getPendingWaiterState:()=>n.getPendingWaiterState,getWaiters:()=>n.getWaiters,hasPendingWaiters:()=>n.hasPendingWaiters,register:()=>n.register,unregister:()=>n.unregister,waitFor:()=>n.waitFor,waitForPromise:()=>n.waitForPromise});var s=i(7950),n=i(45365);(0,s.deprecate)("Importing from ember-test-waiters is deprecated. Please import from @ember/test-waiters",!1,{id:"ember-test-waiters-legacy-module-name",until:"3.0.0",for:"ember-test-waiters",since:{enabled:"2.2.0"}})},1975:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(18891),r=i(36376),a=i(83770),o=i(14934),l=i(11798),u=i(64760),d=i(94611),c=i(20936),p=i(93810),h=i(60110);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"topic",[n.inject]))();#e6=(()=>void dt7948.i(this,"topic"))();filterPosts(e){this.topic.send("filterParticipant",e)}static #r=(()=>dt7948.n(this.prototype,"filterPosts",[r.action]))();showUser(e){d.default.routeTo((0,d.userPath)(e.username_lower))}static #a=(()=>dt7948.n(this.prototype,"showUser",[r.action]))();showGroup(e){d.default.routeTo((0,d.groupPath)(e.name))}static #d=(()=>dt7948.n(this.prototype,"showGroup",[r.action]))();static #g=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"LJSOFGKD",block:'[[[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[10,0],[14,0,"card-cloak hidden"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,0],null,[["@name"],["user-card-content-container"]],[["default"],[[[[1,"\\n "],[8,[32,1],[[24,"role","dialog"]],[["@topic","@showUser","@filterPosts","@composePrivateMessage"],[[30,0,["topic","model"]],[30,0,["showUser"]],[30,0,["filterPosts"]],[28,[32,2],["composePrivateMessage"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,3],null,[["@topic","@showUser","@showGroup"],[[30,0,["topic","model"]],[30,0,["showUser"]],[30,0,["showGroup"]]]],null],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/card-container.js",scope:()=>[c.default,l.default,u.default,o.default],isStrictMode:!0}),this))()}},2021:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(21044),n=i(37338),r=i(36376),a=i(83770),o=i(6809),l=i(25164),u=i(74476),d=i.n(u),c=i(96949),p=i.n(c),h=i(89756),m=i(41277),g=i(93810),f=i(29681),_=i(60110);let y=(0,g.setComponentTemplate)((0,_.createTemplateFactory)({id:"BxEf6wUo",block:'[[[1,"\\n "],[10,2],[14,0,"reason"],[12],[18,1,null],[13],[1,"\\n"]],["&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/topic-notifications-button.js",isStrictMode:!0}),(0,f.default)(void 0,"topic-notifications-button:ParagraphWrapper")),b=(0,g.setComponentTemplate)((0,_.createTemplateFactory)({id:"oTGtUz1N",block:'[[[1,"\\n "],[18,1,null],[1,"\\n"]],["&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/topic-notifications-button.js",isStrictMode:!0}),(0,f.default)(void 0,"topic-notifications-button:EmptyWrapper"));class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"isLoading",[n.tracked],function(){return!1}))();#e5=(()=>void dt7948.i(this,"isLoading"))();get notificationLevel(){return this.args.topic.get("details.notification_level")}get reasonText(){let e=this.args.topic,t=e.get("details.notification_level")??1,i=e.get("details.notifications_reason_id"),s=`topic.notifications.reasons.${t}`;if("number"==typeof i){let e=`${s}_${i}`;this._reasonStale(t,i)&&(e+="_stale"),m.default.lookup(e,{locale:"en"})&&(s=e)}return this.currentUser?.user_option.mailing_list_mode&&t>h.NotificationLevels.MUTED?(0,m.i18n)("topic.notifications.reasons.mailing_list_mode"):(0,m.i18n)(s,{username:this.currentUser?.username_lower,basePath:p()("")})}_reasonStale(e,t){if(!this.currentUser)return;let i=this.currentUser.watched_category_ids||[],s=this.currentUser.tracked_category_ids||[],n=this.currentUser.watched_tags||[];if(this.args.topic.category_id){if(2===e&&8===t)return!s.includes(this.args.topic.category_id);else if(3===e&&6===t)return!i.includes(this.args.topic.category_id)}else if(!(0,l.isEmpty)(this.args.topic.tags)&&3===e&&10===t)return!this.args.topic.tags.some(e=>n.includes(e));return!1}get conditionalWrapper(){return this.args.expanded?y:b}async changeTopicNotificationLevel(e){if(e!==this.notificationLevel){this.isLoading=!0;try{await this.args.topic.details.updateNotifications(e)}finally{this.isLoading=!1}}}static #r=(()=>dt7948.n(this.prototype,"changeTopicNotificationLevel",[r.action]))();static #a=(()=>(0,g.setComponentTemplate)((0,_.createTemplateFactory)({id:"Zdf5SdZi",block:'[[[1,"\\n "],[11,0],[24,0,"topic-notifications-button"],[17,1],[12],[1,"\\n "],[8,[30,0,["conditionalWrapper"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,0],null,[["@levelId","@onChange","@showFullTitle","@showCaret","@topic","@contentClass"],[[30,0,["notificationLevel"]],[30,0,["changeTopicNotificationLevel"]],[30,2],[30,2],[30,3],[30,4]]],null],[1,"\\n\\n"],[41,[30,2],[[[1," "],[10,1],[14,0,"text"],[12],[1,[28,[32,1],[[30,0,["reasonText"]]],null]],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@expanded","@topic","@contentClass"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/topic-notifications-button.js",scope:()=>[d(),o.htmlSafe],isStrictMode:!0}),this))()}},2029:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(41277),n=i(54127),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"xp7eYsLe",block:'[[[1,"\\n "],[8,[32,0],[[16,"aria-label",[28,[32,1],["category.sort_options.posters"],null]]],[["@order","@activeOrder","@changeSort","@ascending","@name","@screenreaderOnly"],["posters",[30,1],[30,2],[30,3],"posters",true]],null],[1,"\\n"]],["@activeOrder","@changeSort","@ascending"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/header/posters-cell.js",scope:()=>[n.default,s.i18n],isStrictMode:!0}),(0,o.default)(void 0,"posters-cell:PostersCell"))},2094:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(59432)},2186:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p,sendDeferredPageview:()=>c});var s=i(27494),n=i.n(s),r=i(3558),a=i(131),o=i(15330),l=i(14465);let u=!1,d=null;function c(){u=!0}let p={after:"inject-objects",initialize(e){if((0,a.isTesting)())return;let t=e.lookup("service:message-bus"),i=e.lookup("service:current-user"),s=e.lookup("service:site-settings"),c=e.lookup("service:router");if(t.alwaysLongPoll=!(0,a.isProduction)(),t.shouldLongPollCallback=()=>(0,l.default)({userUnseenTime:12e5}),t.stop(),(0,l.onPresenceChange)({unseenTime:12e5,callback:e=>{e&&t.onVisibilityChange&&t.onVisibilityChange()}}),s.login_required&&!i)return;let p=setInterval(()=>{"complete"===document.readyState&&(("topic.fromParams"===c.currentRouteName||"topic.fromParamsNear"===c.currentRouteName)&&(d=c.currentRoute.parent.params.id),clearInterval(p),t.start())},500);t.callbackInterval=s.anon_polling_interval,t.backgroundCallbackInterval=s.background_polling_interval,t.baseUrl=s.long_polling_base_url.replace(/\/$/,"")+"/",t.enableChunkedEncoding=s.enable_chunked_encoding,t.ajax=e=>(function(e,t){if(t.headers||={},"/"!==e.baseUrl){let e=document.querySelector("meta[name=shared_session_key]")?.content;t.headers["X-Shared-Session-Key"]=e}(0,l.default)()&&(t.headers["Discourse-Present"]="true"),u&&(t.headers["Discourse-Deferred-Track-View"]="true",d&&(t.headers["Discourse-Deferred-Track-View-Topic-Id"]=d),u=!1,d=null);let i=t.complete;return t.complete=function(e,t){(0,r.handleLogoff)(e),i?.(e,t)},n().ajax(t)})(t,e),t.baseUrl=(0,o.default)("/"),i&&(t.callbackInterval=s.polling_interval)}}},2211:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(39352),n=i(89120),r=i(86483),a=i(3558),o=i(85831),l=i(77598),u=i(95163),d=i(46694),c=i(60657);class p extends u.default{loaded=!1;itemsLoaded=0;content=[];static #e=(()=>dt7948.g(this.prototype,"baseUrl",[(0,o.url)("itemsLoaded","user.username_lower","/user_actions.json?offset=%@&username=%@")]))();#te=(()=>void dt7948.i(this,"baseUrl"))();filterParam(e){return e===c.default.TYPES.replies?[c.default.TYPES.replies,c.default.TYPES.quotes].join(","):e||[c.default.TYPES.topics,c.default.TYPES.posts].join(",")}static #t=(()=>dt7948.n(this.prototype,"filterParam",[(0,l.default)("filter")]))();filterBy(e){return this.setProperties(Object.assign({itemsLoaded:0,content:[],lastLoadedUrl:null},e)),this.findItems()}nextFindUrl(){let e=this.baseUrl;return this.filterParam&&(e+=`&filter=${this.filterParam}`),this.actingUsername&&(e+=`&acting_username=${this.actingUsername}`),e}static #r=(()=>dt7948.n(this.prototype,"nextFindUrl",[(0,l.default)("baseUrl","filterParam","actingUsername")]))();noContent(e,t){return e&&0===t.length}static #a=(()=>dt7948.n(this.prototype,"noContent",[(0,l.default)("loaded","content.[]")]))();canLoadMore(){return this.nextFindUrl!==this.lastLoadedUrl}static #d=(()=>dt7948.n(this.prototype,"canLoadMore",[(0,l.default)("nextFindUrl","lastLoadedUrl")]))();remove(e){this.content.forEach(t=>{["likes","stars","edits","bookmarks"].forEach(i=>{let s=t.get(`childGroups.${i}.items`);s&&s.removeObject(e)})});let t=this.content.filter(e=>["likes","stars","edits","bookmarks"].some(t=>e.get(`childGroups.${t}.items.length`)>0));this.setProperties({content:t,itemsLoaded:t.length})}findItems(){if(!this.canLoadMore)return n.Promise.resolve();let e=this.nextFindUrl;return this.loading?n.Promise.resolve():(this.set("loading",!0),(0,a.ajax)(e).then(e=>{if(e&&e.user_actions){let t=(0,s.A)();e.categories?.forEach(e=>{d.default.current().updateCategory(e)}),e.user_actions?.forEach(e=>{e.titleHtml=(0,r.default)(e.title),t.pushObject(c.default.create(e))}),this.content.pushObjects(c.default.collapseStream(t)),this.setProperties({itemsLoaded:this.itemsLoaded+e.user_actions.length})}}).finally(()=>this.setProperties({loaded:!0,loading:!1,lastLoadedUrl:e})))}}},2274:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(e){return function(t,n,r,a){var o=i(t),l=s[e][i(t)];return 2===o&&(l=l[+!n]),l.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},2341:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";function t(e,t,i,s){var n={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",""+e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return s||t?n[i][0]:n[i][1]}return e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,i){return e>11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},2369:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(44612),n=i(93810),r=i(60110),a=i(29681);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"SHyG8vYB",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"post-action-menu__share share"],[17,1]],[["@action","@icon","@label","@title"],[[30,2,["share"]],"d-post-share",[52,[30,3],"post.controls.share_action"],"post.controls.share"]],null],[1,"\\n"]],["&attrs","@buttonActions","@showLabel"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/share.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"share:PostMenuShareButton"))},2371:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(14547),n=i(81651),r=i.n(n),a=i(25227),o=i(66185),l=i(93810),u=i(60110);let d=dt7948.c(class extends a.default{static #e=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"e2lrTTEo",block:'[[[1,"\\n "],[10,0],[14,0,"select-kit-header-wrapper"],[12],[1,"\\n"],[41,[30,0,["icons"]],[[[1," "],[10,0],[14,0,"future-date-input-selector-icons"],[12],[1,"\\n "],[42,[28,[31,2],[[28,[31,2],[[30,0,["icons"]]],null]],null],null,[[[1," "],[1,[28,[32,0],[[30,1]],null]],[1," "]],[1]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[44,[[28,[32,1],[[30,0],[30,0,["selectKit","options","selectedNameComponent"]]],null]],[[[1," "],[8,[30,2],null,[["@tabindex","@item","@selectKit"],[[30,0,["tabindex"]],[30,0,["selectedContent"]],[30,0,["selectKit"]]]],null],[1,"\\n"]],[2]]],[1,"\\n"],[41,[30,0,["selectedContent","timeFormatted"]],[[[1," "],[10,1],[14,0,"future-date-input-selector-datetime"],[12],[1,"\\n "],[1,[30,0,["selectedContent","timeFormatted"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[1,[28,[32,0],[[30,0,["caretIcon"]]],[["class"],["caret-icon"]]]],[1,"\\n "],[13],[1,"\\n "]],["iconName","SelectedNameComponent"],false,["if","each","-track-array","let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/future-date-input-selector/future-date-input-selector-header.js",scope:()=>[r(),o.resolveComponent],isStrictMode:!0}),this))()},[(0,s.classNames)("future-date-input-selector-header")])},2376:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(42371),n=i(6809),r=i(62069),a=i(68873),o=i(93810),l=i(60110),u=i(29681);let d=(0,r.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"Aa9yzQJO",block:'[[[1,"\\n "],[8,[32,0],null,[["@action"],[[28,[32,1],[[30,1,["closeMessage"]],[30,1,["message"]]],null]]],null],[1,"\\n\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,2],[[30,1,["message","body"]]],null]],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/composer/group-mentioned.js",scope:()=>[a.default,s.fn,n.htmlSafe],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},2468:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n.default,flushMap:()=>n.flushMap});var s=i(1933),n=i(84630);(0,s.default)('"discourse/models/store" import is deprecated, use "discourse/services/store" instead',{since:"2.8.0.beta8",dropFrom:"2.9.0.beta1",id:"discourse.models-store"})},2514:(e,t,i)=>{"use strict";i.r(t),i.d(t,{POPULAR_THEMES:()=>s,descriptionForRemoteUrl:()=>n});let s=[{name:"Air",value:"https://github.com/discourse/discourse-air",preview:"https://discourse.theme-creator.io/theme/Discourse/air-theme",description:"A clean and modern theme for Discourse.",meta_url:"https://meta.discourse.org/t/air-theme/197703"},{name:"Graceful",value:"https://github.com/discourse/graceful",preview:"https://discourse.theme-creator.io/theme/Discourse/graceful-theme",description:"A light and graceful theme for Discourse.",meta_url:"https://meta.discourse.org/t/graceful-theme/93040"},{name:"Material Design Theme",value:"https://github.com/discourse/material-design-stock-theme",preview:"https://discourse.theme-creator.io/theme/Discourse/material-design-theme",description:"Inspired by Material Design, this theme comes with several color palettes.",meta_url:"https://meta.discourse.org/t/material-design-theme/47142"},{name:"Mint",value:"https://github.com/discourse/discourse-mint-theme",preview:"https://discourse.theme-creator.io/theme/Discourse/mint-theme",description:"A minty colored theme with featured homepage categories and a search banner.",meta_url:"https://meta.discourse.org/t/mint-theme/202822"},{name:"Sam's Simple Theme",value:"https://github.com/discourse/discourse-simple-theme",preview:"https://discourse.theme-creator.io/theme/Discourse/sams-simple-theme",description:"Simplified front page design with classic colors and typography.",meta_url:"https://meta.discourse.org/t/sams-simple-theme/23552"},{name:"Brand Header",value:"https://github.com/discourse/discourse-brand-header",preview:"https://discourse.theme-creator.io/theme/Discourse/brand-header",description:"Add an extra top header with your logo, navigation links and social icons.",meta_url:"https://meta.discourse.org/t/brand-header/77977",component:!0},{name:"Custom Header Links",value:"https://github.com/discourse/discourse-custom-header-links",preview:"https://discourse.theme-creator.io/theme/Discourse/custom-header-links",description:"Easily add custom text-based links to the header.",meta_url:"https://meta.discourse.org/t/custom-header-links/90588",component:!0},{name:"Discourse GIFS",value:"https://github.com/discourse/discourse-gifs",description:"Adds a button to easily search and insert GIFs in posts.",meta_url:"https://meta.discourse.org/t/discourse-gifs/158738",component:!0},{name:"Category Banners",value:"https://github.com/discourse/discourse-category-banners",preview:"https://discourse.theme-creator.io/theme/Discourse/category-banners",description:"Show banners on category pages using your existing category details.",meta_url:"https://meta.discourse.org/t/category-banners/86241",component:!0},{name:"Tag Banners",value:"https://github.com/discourse/discourse-tag-banners",preview:"https://discourse.theme-creator.io/theme/Discourse/tag-banners",description:"Show banners on tag pages using your existing tag details.",meta_url:"https://meta.discourse.org/t/tag-banners/124240",component:!0},{name:"Kanban Board",value:"https://github.com/discourse/discourse-kanban-theme",preview:"https://discourse.theme-creator.io/theme/Discourse/kanban-board",description:"Display and organize topics using a Kanban board interface.",meta_url:"https://meta.discourse.org/t/kanban-board/118164",component:!0},{name:"Sidebar Theme Toggle",value:"https://github.com/discourse/discourse-sidebar-theme-toggle",description:"Displays a theme selector in the sidebar menu’s footer provided there is more than one user-selectable theme.",meta_url:"https://meta.discourse.org/t/sidebar-theme-toggle/242802",component:!0},{name:"Header Submenus",value:"https://github.com/discourse/discourse-header-submenus",preview:"https://discourse.theme-creator.io/theme/Discourse/header-submenus",description:"Lets you build a header menu with submenus (dropdowns).",meta_url:"https://meta.discourse.org/t/header-submenus/94584",component:!0},{name:"Automatic Table of Contents",value:"https://github.com/discourse/DiscoTOC",preview:"https://discourse.theme-creator.io/theme/Discourse/discotoc",description:"Generates an interactive table of contents on the sidebar of your topic with a simple click in the composer.",meta_url:"https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143",component:!0},{name:"Easy Responsive Footer",value:"https://github.com/discourse/Discourse-easy-footer",preview:"https://discourse.theme-creator.io/theme/Discourse/easy-responsive-footer",description:"Add a fully responsive footer without writing any HTML.",meta_url:"https://meta.discourse.org/t/easy-responsive-footer/95818",component:!0}];function n(e){return e=e.replace(/\.git$/,""),s.find(t=>t.value===e)?.description}},2539:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m,disableNameSuppression:()=>h});var s=i(29054),n=i(15330),r=i(54583),a=i(53729),o=i(76998),l=i(35004),u=i(13338),d=i(41277),c=i(60110);let p=function(e){return e.toLowerCase().replace(/[\s\._-]/g,"")};function h(){p=e=>e}(0,u.createWidget)("poster-name-title",{tagName:"span.user-title",buildClasses(e){let t=[];return t.push(e.title),e.titleIsGroup&&t.push(e.primaryGroupName),t=t.map(e=>`user-title--${e.replace(/\s+/g,"-").toLowerCase()}`)},html(e){let t=e.title;if(e.primaryGroupName&&e.titleIsGroup){let i=(0,n.default)(`/g/${e.primaryGroupName}`);t=(0,s.h)("a.user-group",{className:e.extraClasses,attributes:{href:i,"data-group-card":e.primaryGroupName}},e.title)}return t}});let m=(0,u.createWidget)("poster-name",{tagName:"div.names.trigger-user-card",settings:{showNameAndGroup:!0,showGlyph:!0},didRenderWidget(){this.attrs.user&&(this.attrs.user.statusManager.trackStatus(),this.attrs.user.on("status-changed",this,"scheduleRerender"))},willRerenderWidget(){this.attrs.user&&(this.attrs.user.off("status-changed",this,"scheduleRerender"),this.attrs.user.statusManager.stopTrackingStatus())},posterGlyph(e){if(e.moderator||e.groupModerator)return(0,r.iconNode)("shield-halved",{title:(0,d.i18n)("user.moderator_tooltip")})},userLink(e,t){return(0,s.h)("a",{attributes:{href:e.usernameUrl,"data-user-card":e.username,class:`${this.siteSettings.hide_user_profiles_from_public&&!this.currentUser?"non-clickable":""}`}},(0,o.formatUsername)(t))},html(e){let t=e.username,i=e.name,n=this.siteSettings.display_name_on_posts&&(0,a.prioritizeNameInUx)(i),r=n?["first","full-name"]:["first","username"];e.staff&&r.push("staff"),e.admin&&r.push("admin"),e.moderator&&r.push("moderator"),e.groupModerator&&r.push("category-moderator"),e.new_user&&r.push("new-user");let o=e.primary_group_name;o&&o.length&&r.push(`group--${o}`);let h=[this.userLink(e,n?i:t)];if(this.settings.showGlyph){let t=this.posterGlyph(e);t&&h.push(t)}let m=(0,u.applyDecorators)(this,"after-name",e,this.state)||[];h=h.concat(m);let g=[(0,s.h)("span",{className:r.join(" ")},h)];if(this.settings.showNameAndGroup&&(i&&this.siteSettings.display_name_on_posts&&p(i)!==p(t)&&g.push((0,s.h)("span.second."+(n?"username":"full-name"),[this.userLink(e,n?t:i)].concat(m))),this.buildTitleObject(e,g),this.siteSettings.enable_user_status&&this.addUserStatus(g,e)),e.badgesGranted?.length){let t=[];e.badgesGranted.forEach(i=>{i.description=(0,d.i18n)("post.badge_granted_tooltip",{username:e.username,badge_name:i.name});let s=new l.default(this,`span.user-badge-button-${i.slug}`,(0,c.createTemplateFactory)({id:"73WDY9/V",block:'[[[8,[39,0],null,[["@badge","@user","@showName"],[[30,1,["badge"]],[30,1,["user"]],false]],null]],["@data"],false,["user-badge"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/poster-name.js",isStrictMode:!1}),{badge:i,user:e.user});t.push(s)}),g.push((0,s.h)("span.user-badge-buttons",t))}return g},buildTitleObject(e,t){let i=e.primary_group_name,s=e.user_title,n=e.title_is_group;s&&s.length&&t.push(this.attach("poster-name-title",{title:s,primaryGroupName:i,titleIsGroup:n}))},addUserStatus(e,t){t.user&&t.user.status&&e.push(this.attach("post-user-status",t.user.status))}})},2729:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l,htmlStatus:()=>o});var s=i(6809),n=i(54583),r=i(68565),a=i(41277);function o(e,t){let i=function(e,t){switch(e){case r.PENDING:return{name:"pending"};case r.APPROVED:switch(t){case"ReviewableQueuedPost":return{icon:"check",name:"approved_post",cssClass:"approved"};case"ReviewableUser":return{icon:"check",name:"approved_user",cssClass:"approved"};default:return{icon:"check",name:"approved_flag",cssClass:"approved"}}case r.REJECTED:switch(t){case"ReviewableQueuedPost":return{icon:"xmark",name:"rejected_post",cssClass:"rejected"};case"ReviewableUser":return{icon:"xmark",name:"rejected_user",cssClass:"rejected"};default:return{icon:"xmark",name:"rejected_flag",cssClass:"rejected"}}case r.IGNORED:return{icon:"up-right-from-square",name:"ignored"};case r.DELETED:return{icon:"trash-can",name:"deleted"}}}(e,t);if(!i)return;let s=i.icon?(0,n.iconHTML)(i.icon):"";return` ${s} ${(0,a.i18n)("review.statuses."+i.name+".title")} `}function l(e,t){return(0,s.htmlSafe)(o(e,t))}},2730:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PresenceChannelNotFound:()=>k,default:()=>C});var s=i(36376),n=i(16668),r=i(53921),a=i(31862),o=i(83770),l=i(89120),u=i(3558),d=i(77598),c=i(131),p=i(15330),h=i(47182),m=i(80212),g=i(14465),f=i(72818);let _=500*!(0,c.isTesting)(),y=1e3*!(0,c.isTesting)(),b={userUnseenTime:6e4,browserHiddenTime:1e4};function w(){let e={};return e.promise=new l.Promise((t,i)=>{e.resolve=t,e.reject=i}),e}class k extends Error{}class T extends s.default.extend(r.default){init(e){let{name:t,presenceService:i}=e;super.init(...arguments),this.name=t,this.presenceService=i,this.set("present",!1),this.set("subscribed",!1)}async enter(){let{onlyWhileActive:e=!0,activeOptions:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&t){for(let e in b)if(t[e]0&&void 0!==arguments[0]?arguments[0]:null;if(this.subscribed)return;let t=await this.presenceService._subscribe(this,e);this.set("subscribed",!0),this.set("_presenceState",t),this._publishChange(),t.on("change",this._publishChange)}async unsubscribe(){this.subscribed&&(await this.presenceService._unsubscribe(this),this.set("subscribed",!1),this._presenceState.off("change",this._publishChange),this.set("_presenceState",null),this._publishChange())}_publishChange(){this.trigger("change",this)}static #e=(()=>dt7948.n(this.prototype,"_publishChange",[d.bind]))();get users(){if(this.get("subscribed"))return this.get("_presenceState.users")}static #t=(()=>dt7948.n(this.prototype,"users",[n.dependentKeyCompat]))();get count(){if(this.subscribed)return this._presenceState?.count}static #r=(()=>dt7948.n(this.prototype,"count",[(0,s.computed)("_presenceState.count","subscribed")]))();get countOnly(){if(this.subscribed)return this._presenceState?.countOnly}static #a=(()=>dt7948.n(this.prototype,"countOnly",[(0,s.computed)("_presenceState.count","subscribed")]))()}class S extends s.default.extend(r.default){init(e){let{name:t,presenceService:i}=e;super.init(...arguments),this.name=t,this.set("users",null),this.set("count",null),this.set("countOnly",null),this.presenceService=i}get subscribed(){return!!this._subscribedCallback}static #e=(()=>dt7948.n(this.prototype,"subscribed",[(0,s.computed)("_subscribedCallback")]))();async subscribe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.subscribed||(e||(e=await this.presenceService._getInitialData(this.name)),this.set("count",e.count),e.users?(this.set("users",e.users),this.set("countOnly",!1)):(this.set("users",null),this.set("countOnly",!0)),this.lastSeenId=e.last_message_id,this.presenceService.messageBus.subscribe(`/presence${this.name}`,this._processMessage,this.lastSeenId),this.set("_subscribedCallback",this._processMessage),this.trigger("change"))}unsubscribe(){this.subscribed&&(this.presenceService.messageBus.unsubscribe(`/presence${this.name}`,this._subscribedCallback),this.set("_subscribedCallback",null),this.set("users",null),this.set("count",null),this.trigger("change"))}async _resubscribe(){this.unsubscribe(),await this.subscribe()}async _processMessage(e,t,i){if(i!==this.lastSeenId+1){console.log(`PresenceChannel '${this.name}' dropped message (received ${i}, expecting ${this.lastSeenId+1}), resyncing...`),await this._resubscribe();return}if(this.lastSeenId=i,this.countOnly&&void 0!==e.count_delta)this.set("count",this.count+e.count_delta),this.trigger("change");else{if(this.countOnly||!e.entering_users&&!e.leaving_user_ids)return void await this._resubscribe();if(e.entering_users){let t=e.entering_users.map(e=>f.default.create(e));this.users.addObjects(t)}if(e.leaving_user_ids){let t=new Set(e.leaving_user_ids),i=this.users.filter(e=>t.has(e.id));this.users.removeObjects(i)}this.set("count",this.users.length),this.trigger("change")}}static #t=(()=>dt7948.n(this.prototype,"_processMessage",[d.bind]))()}let C=dt7948.c(class extends o.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"messageBus",[o.service]))();#k=(()=>void dt7948.i(this,"messageBus"))();static #r=(()=>dt7948.g(this.prototype,"session",[o.service]))();#tt=(()=>void dt7948.i(this,"session"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();_presenceDebounceMs=(()=>_)();init(){super.init(...arguments),this._queuedEvents=[],this._presenceChannelStates=new Map,this._presentProxies=new Map,this._subscribedProxies=new Map,this._initialDataRequests=new Map,this._previousPresentButInactiveChannels=new Set,this.currentUser&&(window.addEventListener("beforeunload",this._beaconLeaveAll),(0,g.onPresenceChange)({...b,callback:this._throttledUpdateServer}))}willDestroy(){super.willDestroy(...arguments),window.removeEventListener("beforeunload",this._beaconLeaveAll),(0,g.removeOnPresenceChange)(this._throttledUpdateServer),(0,a.cancel)(this._debounceTimer)}get _presentChannels(){return new Set(this._presentProxies.keys())}getChannel(e){return T.create({name:e,presenceService:this})}_getInitialData(e){let t=this._initialDataRequests[e];return t||(t=this._initialDataRequests[e]=w()),(0,a.once)(this,this._makeInitialDataRequest),t.promise}async _makeInitialDataRequest(){let e;if(this._initialDataAjax)return void(0,a.next)(this,()=>(0,a.once)(this,this._makeInitialDataRequest));if(0!==Object.keys(this._initialDataRequests).length){this._initialDataAjax=(0,u.ajax)("/presence/get",{data:{channels:Object.keys(this._initialDataRequests).slice(0,50)}});try{e=await this._initialDataAjax}catch(e){throw(0,m.default)(this,this._makeInitialDataRequest,5e3),e}finally{this._initialDataAjax=null}for(let t in e){if(!e.hasOwnProperty(t))continue;let i=e[t];if(i)this._initialDataRequests[t].resolve(i);else{let e=new k(`PresenceChannel '${t}' not found`);this._initialDataRequests[t].reject(e)}delete this._initialDataRequests[t]}}}_addPresent(e){let t=this._presentProxies.get(e.name);return t||(t=new Set,this._presentProxies.set(e.name,t)),t.add(e),t.size}_removePresent(e){let t=this._presentProxies.get(e.name);return t?.delete(e),t?.size===0&&this._presentProxies.delete(e.name),t?.size||0}_addSubscribed(e){let t=this._subscribedProxies.get(e.name);return t||(t=new Set,this._subscribedProxies.set(e.name,t)),t.add(e),t.size}_removeSubscribed(e){let t=this._subscribedProxies.get(e.name);return t?.delete(e),t?.size===0&&this._subscribedProxies.delete(e.name),t?.size||0}async _enter(e){if(!this.currentUser)throw"Must be logged in to enter presence channel";if(this._addPresent(e)>1)return;let t=w();this._queuedEvents.push({channel:e.name,type:"enter",promiseProxy:t}),this._scheduleNextUpdate(),await t.promise}async _leave(e){if(!this.currentUser)throw"Must be logged in to leave presence channel";if(this._removePresent(e)>0)return;let t=w();this._queuedEvents.push({channel:e.name,type:"leave",promiseProxy:t}),this._scheduleNextUpdate(),await t.promise}async _subscribe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.siteSettings.login_required&&!this.currentUser)throw"Presence is only available to authenticated users on login-required sites";this._addSubscribed(e);let i=e.name,s=this._presenceChannelStates.get(i);return s||(s=S.create({name:i,presenceService:this}),this._presenceChannelStates.set(i,s),await s.subscribe(t)),s}_unsubscribe(e){if(0===this._removeSubscribed(e)){let t=e.name;this._presenceChannelStates.get(t).unsubscribe(),this._presenceChannelStates.delete(t)}}_beaconLeaveAll(){if((0,c.isTesting)())return;this._dedupQueue();let e=this._queuedEvents.filter(e=>"leave"===e.type).map(e=>e.channel);if(e.push(...this._presentChannels),0===e.length)return;let t=new FormData;t.append("client_id",this.messageBus.clientId),e.forEach(e=>t.append("leave_channels[]",e)),t.append("authenticity_token",this.session.csrfToken),navigator.sendBeacon((0,p.default)("/presence/update"),t)}static #d=(()=>dt7948.n(this.prototype,"_beaconLeaveAll",[d.bind]))();_dedupQueue(){let e={};this._queuedEvents.forEach(t=>{e[t.channel]&&e[t.channel].promiseProxy.resolve(t.promiseProxy.promise),e[t.channel]=t}),this._queuedEvents=Object.values(e)}async _updateServer(){if(this.isDestroying||this.isDestroyed)return;this._lastUpdate=new Date,this._updateRunning=!0,this._cancelTimer(),this._dedupQueue();let e=this._queuedEvents;this._queuedEvents=[];try{let t=[],i=new Set,s=e.filter(e=>"leave"===e.type).map(e=>e.channel);for(let[e,n]of this._presentProxies)Array.from(n).some(e=>!e.activeOptions||(0,g.default)(e.activeOptions))?t.push(e):(i.add(e),this._previousPresentButInactiveChannels.has(e)||s.push(e));if(this._previousPresentButInactiveChannels=i,0===e.length&&0===t.length&&0===s.length)return;let n=await (0,u.ajax)("/presence/update",{data:{client_id:this.messageBus.clientId,present_channels:t,leave_channels:s},type:"POST"});e.forEach(e=>{!1===n[e.channel]?e.promiseProxy.reject(new k(`PresenceChannel '${e.channel}' not found`)):e.promiseProxy.resolve()}),this._presenceDebounceMs=_}catch(t){if(this._queuedEvents.unshift(...e),t.jqXHR?.status===429){let e=t.jqXHR.responseJSON?.extras?.wait_seconds||10;this._presenceDebounceMs=1e3*e}else throw this._presenceDebounceMs=Math.min(2*this._presenceDebounceMs,3e4),t}finally{this._updateRunning=!1,this._scheduleNextUpdate()}}_throttledUpdateServer(){this.isDestroying||this.isDestroyed||(!this._lastUpdate||new Date-this._lastUpdate>y?this._updateServer():(0,a.throttle)(this,this._updateServer,y,!1))}static #g=(()=>dt7948.n(this.prototype,"_throttledUpdateServer",[d.bind]))();_cancelTimer(){this._nextUpdateTimer&&((0,a.cancel)(this._nextUpdateTimer),this._nextUpdateTimer=null)}_scheduleNextUpdate(){!this._updateRunning&&(this._queuedEvents.length>0?(this._cancelTimer(),(0,a.cancel)(this._debounceTimer),this._debounceTimer=(0,a.debounce)(this,this._throttledUpdateServer,this._presenceDebounceMs)):this._nextUpdateTimer||!(this._presentChannels.size>0)||(0,c.isTesting)()||(this._nextUpdateTimer=(0,m.default)(this,this._throttledUpdateServer,3e4)))}},[h.disableImplicitInjections])},2799:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(41277),r=i(61556),a=i(93810),o=i(60110);class l extends s.default{get tooltip(){let e=this.args.data?.language||this.args.post?.language;return(0,n.i18n)("post.original_language",{language:e})}static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"nW8Z/Tfo",block:'[[[1,"\\n "],[10,0],[14,0,"post-info post-language"],[12],[1,"\\n "],[8,[32,0],null,[["@identifier","@icon","@content"],["post-language","language",[30,0,["tooltip"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/language.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},2802:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>D,defaultSerialize:()=>F,getFullQueryParams:()=>x,getRenderState:()=>M,hasDefaultSerialize:()=>I});var s=i(97122),n=i(14675);i(63847),i(7950),i(5963);var r=i(71620),a=i(29552);i(12003),i(56742);var o=i(64130),l=i(93735),u=i(5840),d=i(23568),c=i(36376),p=i(53921),h=i(39352);i(91292),i(69902),i(93660);var m=i(76053);i(78849),i(87079),i(92194),i(71790);var g=i(14770);i(18891);var f=i(95386);i(45522);var _=i(16668),y=i(31862);i(55095),i(29113);var b=i(7690),w=i(76267),k=i(67650),T=i(5842),S=i(43962);let C=Symbol("render"),A=Symbol("render-state");class D extends c.default.extend(m.default,p.default){static isRouteFactory=!0;context={};_bucketCache;_internalName;_names;_router;constructor(e){if(super(e),e){let t=e.lookup("router:main"),i=e.lookup((0,s.p)`-bucket-cache:main`);this._router=t,this._bucketCache=i,this._topLevelViewTemplate=e.lookup("template:-outlet"),this._environment=e.lookup("-environment:main")}}serialize(e,t){if(t.length<1||!e)return;let i={};if(1===t.length){let[s]=t;"object"==typeof e&&s in e?i[s]=(0,n.g)(e,s):/_id$/.test(s)?i[s]=(0,n.g)(e,"id"):(0,a.i)(e)&&(i[s]=(0,n.g)(e,s))}else i=(0,l.g)(e,t);return i}_setRouteName(e){this.routeName=e;let t=(0,d.getOwner)(this);this.fullRouteName=P(t,e)}_stashNames(e,t){if(this._names)return;let i=this._names=e._names;i.length||(i=(e=t)&&e._names||[]);let s=(0,n.g)(this,"_qp").qps,r=Array(i.length);for(let t=0;t{let[i,s]=t;return e[i]=s,e},r)}serializeQueryParamKey(e){return e}serializeQueryParam(e,t,i){return this._router._serializeQueryParam(e,i)}deserializeQueryParam(e,t,i){return this._router._deserializeQueryParam(e,i)}_optionsForQueryParam(e){let t=(0,n.g)(this,"queryParams");return(0,n.g)(t,e.urlKey)||(0,n.g)(t,e.prop)||t[e.urlKey]||t[e.prop]||{}}resetController(e,t,i){return this}exit(e){this.deactivate(e),this.trigger("deactivate",e),this.teardownViews()}_internalReset(e,t){let i=this.controller;i._qpDelegate=(0,n.g)(this,"_qp").states.inactive,this.resetController(i,e,t)}enter(e){this[A]=void 0,this.activate(e),this.trigger("activate",e)}deactivate(e){}activate(e){}intermediateTransitionTo(){for(var e=arguments.length,t=Array(e),i=0;i{if(void 0===(0,n.b)(e,t)){let i=(0,r.l)(e,t);null!==i&&("function"==typeof i.get||"function"==typeof i.set)&&(0,n.d)(e,t,(0,_.dependentKeyCompat)({get:i.get,set:i.set}))}(0,n.v)(e,`${t}.[]`,e,e._qpChanged,!1)})}(s,a.propertyNames),this.controller=s),s._qpDelegate=a.states.allowOverrides,t){(0,k.stashParamNames)(this._router,t[b.S].routeInfos);let e=this._bucketCache,i=t[b.P];a.propertyNames.forEach(t=>{let n=a.map[t];n.values=i;let r=(0,k.calculateCacheKey)(n.route.fullRouteName,n.parts,n.values),l=e.lookup(r,t,n.undecoratedDefaultValue);(0,o.s)(s,t,l)});let n=E(this,t[b.S]);(0,l.s)(s,n)}this.setupController(s,e,t),this._environment.options.shouldRender&&this[C](),(0,n.I)(!1)}_qpChanged(e,t,i){if(!i)return;let s=this._bucketCache,n=(0,k.calculateCacheKey)(i.route.fullRouteName,i.parts,i.values);s.stash(n,e,t)}beforeModel(e){}afterModel(e,t){}redirect(e,t){}contextDidChange(){this.currentModel=this.context}model(e,t){let i,s,r,a=(0,n.g)(this,"_qp").map;for(let t in e){if("queryParams"===t||a&&t in a)continue;let n=t.match(/^(.*)_id$/);null!==n&&(i=n[1],r=e[t]),s=!0}if(!i)if(s)return Object.assign({},e);else{if(t.resolveIndex<1)return;return t[b.S].routeInfos[t.resolveIndex-1].context}return this.findModel(i,r)}deserialize(e,t){return this.model(this._paramsFor(this.routeName,e),t)}findModel(e,t){if(!u.E._NO_IMPLICIT_ROUTE_MODEL)return(0,f.deprecateUntil)(`The implicit model loading behavior for routes is deprecated. Please define an explicit model hook for ${this.fullRouteName}.`,f.DEPRECATIONS.DEPRECATE_IMPLICIT_ROUTE_MODEL),("store"in this?this.store:(0,n.g)(this,"_store")).find(e,t)}setupController(e,t,i){e&&void 0!==t&&(0,o.s)(e,"model",t)}controllerFor(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];let t=(0,d.getOwner)(this),i=t.lookup(`route:${e}`);return i&&i.controllerName&&(e=i.controllerName),t.lookup(`controller:${e}`)}generateController(e){let t=(0,d.getOwner)(this);return(0,w.default)(t,e)}modelFor(e){let t,i=(0,d.getOwner)(this),s=this._router&&this._router._routerMicrolib?this._router._routerMicrolib.activeTransition:void 0;t=i.routable&&void 0!==s?P(i,e):e;let n=i.lookup(`route:${t}`);if(null!=s){let e=n&&n.routeName||t;if(Object.prototype.hasOwnProperty.call(s.resolvedModels,e))return s.resolvedModels[e]}return n?.currentModel}[A]=(()=>void 0)();[C](){this[A]=function(e){let t=(0,d.getOwner)(e),i=e.routeName,s=t.lookup(`controller:${e.controllerName||i}`),n=e.currentModel,r=t.lookup(`template:${e.templateName||i}`);return{owner:t,into:void 0,outlet:"main",name:i,controller:s,model:n,template:r?.(t)??e._topLevelViewTemplate(t)}}(this),(0,y.once)(this._router,"_setOutlets")}willDestroy(){this.teardownViews()}teardownViews(){this[A]&&(this[A]=void 0,(0,y.once)(this._router,"_setOutlets"))}buildRouteInfoMetadata(){}_paramsFor(e,t){return void 0!==this._router._routerMicrolib.activeTransition?this.paramsFor(e):t}get _store(){let e=(0,d.getOwner)(this);return this.routeName,{find(t,i){let s=e.factoryFor(`model:${t}`);if(s)return(s=s.class).find(i)}}}static #e=(()=>(0,T.a)(this.prototype,"_store",[n.c]))();get _qp(){let e={},t=this.controllerName||this.routeName,i=(0,d.getOwner)(this),s=i.lookup(`controller:${t}`),r=(0,n.g)(this,"queryParams"),a=Object.keys(r).length>0;if(s){let t=(0,n.g)(s,"queryParams")||[];e=function(e,t){let i={},s={defaultValue:!0,type:!0,scope:!0,as:!0};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]={...e[n],...t[n]},s[n]=!0);for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&!s[n]&&(i[n]={...t[n],...e[n]});return i}((0,k.normalizeControllerQueryParams)(t),r)}else a&&(s=(0,w.default)(i,t),e=r);let o=[],l={},u=[];for(let i in e){let r;if(!Object.prototype.hasOwnProperty.call(e,i)||"unknownProperty"===i||"_super"===i)continue;let a=e[i],d=a.scope||"model";"controller"===d&&(r=[]);let c=a.as||this.serializeQueryParamKey(i),p=(0,n.g)(s,i);p=L(p);let h=a.type||(0,g.default)(p),m=this.serializeQueryParam(p,c,h),f=`${t}:${i}`,_={undecoratedDefaultValue:(0,n.g)(s,i),defaultValue:p,serializedDefaultValue:m,serializedValue:m,type:h,urlKey:c,prop:i,scopedPropertyName:f,controllerName:t,route:this,parts:r,values:null,scope:d};l[i]=l[c]=l[f]=_,o.push(_),u.push(i)}return{qps:o,map:l,propertyNames:u,states:{inactive:(e,t)=>{let i=l[e];this._qpChanged(e,t,i)},active:(e,t)=>{let i=l[e];return this._qpChanged(e,t,i),this._activeQPChanged(i,t)},allowOverrides:(e,t)=>{let i=l[e];return this._qpChanged(e,t,i),this._updatingQPChanged(i)}}}}static #t=(()=>(0,T.a)(this.prototype,"_qp",[n.c]))()}function M(e){return e[A]}function x(e,t){if(t.fullQueryParams)return t.fullQueryParams;let i=t.routeInfos.every(e=>e.route),s={...t.queryParams};return e._deserializeQueryParams(t.routeInfos,s),i&&(t.fullQueryParams=s),s}function E(e,t){t.queryParamsFor=t.queryParamsFor||{};let i=e.fullRouteName,s=t.queryParamsFor[i];if(s)return s;let r=x(e._router,t),a=t.queryParamsFor[i]={};for(let t of(0,n.g)(e,"_qp").qps){let e=t.prop in r;a[t.prop]=e?r[t.prop]:L(t.defaultValue)}return a}function L(e){return Array.isArray(e)?(0,h.A)(e.slice()):e}function P(e,t){if(e.routable){let i=e.mountPoint;return"application"===t?i:`${i}.${t}`}return t}let F=D.prototype.serialize;function I(e){return e.serialize===F}D.reopen({mergedProperties:["queryParams"],queryParams:{},templateName:null,controllerName:null,send(){for(var e=arguments.length,t=Array(e),i=0;i{let t=(0,n.g)(e.route,"_qp");e.route.controller._qpDelegate=(0,n.g)(t,"states.active")}),a._qpUpdates.clear()}}})},2815:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CLASS_NAME:()=>a,default:()=>o});var s=i(25164),n=i(63779),r=i(44034);let a="search-highlight";function o(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,s.isEmpty)(t)){let s=t.match(RegExp(`${n.SEARCH_PHRASE_REGEXP}|[^\\s]+`,"g")).filter(e=>"l"!==e).map(e=>e.replace(/^"(.*)"$/,"$1")),o={};i.defaultClassName||(o.className=a),(0,r.default)(e,s,o)}}},2845:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o,modifier:()=>d});var s=i(98951),n=i(93558),r=i(80387);class a{capabilities=(()=>(0,n.capabilities)("3.22"))();constructor(e){this.owner=e}createModifier(e,t){return{instance:new e(this.owner,t),element:null}}installModifier(e,t,i){(function(e,t){return e.element=t,e})(e,t).instance.modify(t,i.positional,i.named)}updateModifier(e,t){e.instance.modify(e.element,t.positional,t.named)}destroyModifier(e){let{instance:t}=e;(0,r.destroy)(t)}}class o{constructor(e,t){(0,s.setOwner)(this,e)}modify(e,t,i){}}(0,n.setModifierManager)(e=>new a(e),o);class l{capabilities=(()=>(0,n.capabilities)("3.22"))();createModifier(e){return{element:null,instance:e}}installModifier(e,t,i){let s=function(e,t){return e.element=t,e}(e,t),{positional:n,named:r}=i,a=e.instance(t,n,r);"function"==typeof a&&(s.teardown=a)}updateModifier(e,t){"function"==typeof e.teardown&&e.teardown();let i=e.instance(e.element,t.positional,t.named);"function"==typeof i&&(e.teardown=i)}destroyModifier(e){"function"==typeof e.teardown&&e.teardown()}getDebugName(e){return e.instance.toString()}getDebugInstance(e){return e}}let u=new l;function d(e,t){return e.toString=()=>t?.name||e.name,(0,n.setModifierManager)(()=>u,e)}},2853:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(44612),n=i(41277),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"LncVJl64",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"show-advanced-search btn-transparent"],[16,"title",[28,[32,1],["search.open_advanced"],null]]],[["@action","@icon"],[[30,1],"sliders"]],null],[1,"\\n"]],["@openAdvancedSearch"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/advanced-button.js",scope:()=>[s.default,n.i18n],isStrictMode:!0}),(0,o.default)(void 0,"advanced-button"))},2915:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(56742),n=i(93810),r=i(1933),a=i(11705),o=i(25989);function l(e){let t=e.match(/^discourse\/plugins\/([^\/]+)\//)?.[1];if(t)return{type:"plugin",name:t};let i=e.match(/^discourse\/theme-(\d+)\//)?.[1];if(i)return{...(0,o.getThemeInfo)(parseInt(i,10)),type:"theme"}}let u={after:["populate-template-map","mobile"],initialize(e){this.site=e.lookup("service:site"),this.eachThemePluginTemplate((t,i,o)=>{if(!o&&a.default.coreTemplates.has(t))return;let u=t,d=i.at(-1);o&&((0,r.default)(`Mobile-specific hbs templates are deprecated. Use responsive CSS or {{#if this.site.mobileView}} instead. [${t}]`,{id:"discourse.mobile-templates",url:"https://meta.discourse.org/t/355668",source:l(d)}),this.site.mobileView&&(u=u.slice(7))),u=u.slice(11);let c=e.resolveRegistration(`component:${u}`);if(!c)return void e.register(`component:${u}`,n.default);if(s.getComponentTemplate(c)){(0,r.default)(`Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [${d}]`,{id:"discourse.component-template-overrides",url:"https://meta.discourse.org/t/355668",source:l(d)});let e=window.require(d).default;s.setComponentTemplate(e,c)}})},eachThemePluginTemplate(e){let{coreTemplates:t,pluginTemplates:i,themeTemplates:s}=a.default;for(let[n,r,a]of[[i,"components/",!1],[s,"components/",!1],[t,"mobile/components/",!0],[i,"mobile/components/",!0],[s,"mobile/components/",!0]])for(let[t,i]of n)t.startsWith(r)&&e(t,i,a)},teardown(){s.clearTemplateOverrides()}}},2951:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(2802),n=i(83770);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#i=(()=>void dt7948.i(this,"router"))();beforeModel(){this.modelFor("group").can_see_members?this.router.transitionTo("group.activity.posts"):this.router.transitionTo("group.activity.mentions")}}},3028:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(57785),n=i(61592),r=i(8459),a=i(73225),o=i.n(a);let l={avatar:r.avatarFor,dateNode:s.dateNode,iconNode:n.iconNode,rawHtml:o()}},3053:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(93558),r=i(36376),a=i(41277),o=i(93810),l=i(60110);class u extends s.default{newEmailChanged(e){this.args.updateNewEmail(e.target.value)}static #e=(()=>dt7948.n(this.prototype,"newEmailChanged",[r.action]))();static #t=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"OVNeBgY3",block:'[[[1,"\\n "],[10,2],[12],[1,[28,[32,0],["login.provide_new_email"],null]],[13],[1,"\\n "],[11,"input"],[16,2,[30,1]],[24,0,"activate-new-email"],[24,4,"text"],[4,[32,1],["input",[30,0,["newEmailChanged"]]],null],[12],[13],[1,"\\n "]],["@email"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/activation-email-form.js",scope:()=>[a.i18n,n.on],isStrictMode:!0}),this))()}},3068:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(31862),n=i(83770),r=i(47182);let a=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#i=(()=>void dt7948.i(this,"router"))();listeners=(()=>new Map)();bindScrolling(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.throttle||100,n=this.router._router._routerMicrolib,r=()=>{if(!n.activeTransition)return(0,s.scheduleOnce)("afterRender",e,"scrolled")},a=i?()=>(0,s.throttle)(e,r,i,!1):r;this.listeners.set(e,a),document.addEventListener("touchmove",a,{passive:!0}),window.addEventListener("scroll",a,{passive:!0})}unbindScrolling(e){let t=this.listeners.get(e);t&&(document.removeEventListener("touchmove",t),window.removeEventListener("scroll",t),this.listeners.delete(e))}},[r.disableImplicitInjections])},3189:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=i(37349).default.create()},3232:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l}),i(63847);var s=i(71620),n=i(46578);i(7950),i(12003),i(5963),i(56742);var r=i(14675),a=i(37037),o=i(36376);class l extends o.default{static NAMESPACES=(()=>a.N)();static NAMESPACES_BY_ID=(()=>a.a)();static processAll=(()=>a.p)();static byName=(()=>a.f)();init(e){super.init(e),(0,a.b)(this)}toString(){let e=(0,r.g)(this,"name")||(0,r.g)(this,"modulePrefix");if(e)return e;(0,a.c)();let t=(0,n.g)(this);return void 0===t&&(t=(0,s.g)(this),(0,n.s)(this,t)),t}nameClasses(){(0,a.d)(this)}destroy(){return(0,a.r)(this),super.destroy()}}l.prototype.isNamespace=!0},3275:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(18891),n=i(36376),r=i(34229),a=i(83770),o=i(6809),l=i(89120),u=i(3558),d=i(15246),c=i(77598),p=i(54583),h=i(47361),m=i(41277);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#i=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#ti=(()=>void dt7948.i(this,"application"))();static #r=(()=>dt7948.g(this.prototype,"user",[s.inject]))();#ts=(()=>void dt7948.i(this,"user"))();queryParams=["q"];q=null;loading=!1;loadingMore=!1;permissionDenied=!1;bulkSelectHelper=(()=>new d.default(this))();static #a=(()=>dt7948.g(this.prototype,"inSearchMode",[(0,r.notEmpty)("q")]))();#tn=(()=>void dt7948.i(this,"inSearchMode"))();static #d=(()=>dt7948.g(this.prototype,"noContent",[(0,r.equal)("model.bookmarks.length",0)]))();#tr=(()=>void dt7948.i(this,"noContent"))();get searchTerm(){return void 0!==this._searchTerm?this._searchTerm:this.q}static #g=(()=>dt7948.n(this.prototype,"searchTerm",[(0,n.computed)("q")]))();set searchTerm(e){this._searchTerm=e}emptyStateBody(){return(0,o.htmlSafe)((0,m.i18n)("user.no_bookmarks_body",{icon:(0,p.iconHTML)("bookmark")}))}static #T=(()=>dt7948.n(this.prototype,"emptyStateBody",[(0,c.default)()]))();userDoesNotHaveBookmarks(e,t){return!e&&t}static #C=(()=>dt7948.n(this.prototype,"userDoesNotHaveBookmarks",[(0,c.default)("inSearchMode","noContent")]))();nothingFound(e,t){return e&&t}static #A=(()=>dt7948.n(this.prototype,"nothingFound",[(0,c.default)("inSearchMode","noContent")]))();search(){this.router.transitionTo({queryParams:{q:this._searchTerm}})}static #D=(()=>dt7948.n(this.prototype,"search",[n.action]))();reload(){this.send("triggerRefresh")}static #M=(()=>dt7948.n(this.prototype,"reload",[n.action]))();loadMore(){return this.loadingMore?l.Promise.resolve():(this.set("loadingMore",!0),this._loadMoreBookmarks(this.q).then(e=>this._processLoadResponse(this.q,e)).catch(()=>this._bookmarksListDenied()).finally(()=>this.set("loadingMore",!1)))}static #E=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();updateAutoAddBookmarksToBulkSelect(e){this.bulkSelectHelper.autoAddBookmarksToBulkSelect=e}static #P=(()=>dt7948.n(this.prototype,"updateAutoAddBookmarksToBulkSelect",[n.action]))();_loadMoreBookmarks(e){if(!this.model.loadMoreUrl)return l.Promise.resolve();let t=this.model.loadMoreUrl;if(e){let i=t.includes("?")?"&":"?",s=encodeURIComponent(e);t+=`${i}q=${s}`}return(0,u.ajax)({url:t})}_bookmarksListDenied(){this.set("permissionDenied",!0)}async _processLoadResponse(e,t){if(!t||!t.user_bookmark_list){this.model.loadMoreUrl=null;return}if(t=t.user_bookmark_list,this.model.searchTerm=e,this.model.loadMoreUrl=t.more_bookmarks_url,t.bookmarks){let e=t.bookmarks.map(this.transform);await h.default.applyTransformations(e),this.model.bookmarks.pushObjects(e),this.session.set("bookmarksModel",this.model)}}transform(e){let t=h.default.create(e);return t.topicStatus=n.default.create({closed:e.closed,archived:e.archived,is_warning:e.is_warning,pinned:!1,unpinned:!1,invisible:e.invisible}),t}}},3281:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(77632),n=i(18891),r=i(42946),a=i(83770),o=i(28431),l=i(18236),u=i(47361);class d{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"bookmarkApi",[a.service]))();#ta=(()=>void dt7948.i(this,"bookmarkApi"))();static #r=(()=>dt7948.g(this.prototype,"topicController",[(0,n.inject)("topic")]))();#to=(()=>void dt7948.i(this,"topicController"))();static #a=(()=>dt7948.g(this.prototype,"trackedBookmark",[s.tracked]))();#tl=(()=>void dt7948.i(this,"trackedBookmark"))();static #d=(()=>dt7948.g(this.prototype,"bookmarkModel",[s.tracked]))();#tu=(()=>void dt7948.i(this,"bookmarkModel"))();constructor(e,t){(0,r.setOwner)(this,e),this.model=t,this.type="Post",this.bookmarkModel=this.topicController.model?.bookmarks.find(e=>e.bookmarkable_id===this.model.id&&e.bookmarkable_type===this.type)||this.bookmarkApi.buildNewBookmark(this.type,this.model.id),this.trackedBookmark=new l.BookmarkFormData(this.bookmarkModel)}create(){return this.bookmarkApi.create(this.trackedBookmark).then(e=>{this.trackedBookmark=e})}delete(){return this.bookmarkApi.delete(this.trackedBookmark.id)}save(){return this.bookmarkApi.update(this.trackedBookmark)}afterModalClose(e){e&&(e.closeWithoutSaving||e.initiatedBy===o.CLOSE_INITIATED_BY_ESC||e.initiatedBy===o.CLOSE_INITIATED_BY_BUTTON)&&this.model.appEvents.trigger("post-stream:refresh",{id:this.model.id})}afterSave(e){return this.trackedBookmark=e,this._syncBookmarks(e.saveData),this.topicController.model.set("bookmarking",!1),this.model.createBookmark(e.saveData),this.topicController.model.afterPostBookmarked(this.model,e.saveData),[this.model.id]}afterDelete(e,t){this.topicController.model.removeBookmark(t),this.model.deleteBookmark(e.topic_bookmarked),this.bookmarkModel=this.bookmarkApi.buildNewBookmark(this.type,this.model.id),this.trackedBookmark=new l.BookmarkFormData(this.bookmarkModel)}_syncBookmarks(e){this.topicController.bookmarks||this.topicController.set("bookmarks",[]);let t=this.topicController.bookmarks.findBy("id",e.id);t?(t.reminder_at=e.reminder_at,t.name=e.name,t.auto_delete_preference=e.auto_delete_preference):this.topicController.bookmarks.pushObject(u.default.create(e))}}},3311:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(12383),n=i(47652);let r=class extends s.default{onClick(){(0,n.setLastEditNotificationClick)(this.notification.topic_id,this.notification.post_number,this.notification.data.revision_number)}}},3405:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(15330),n=i(12383),r=i(41277);let a=class extends n.default{get linkTitle(){return this.notification.data.bookmark_name?(0,r.i18n)("notifications.titles.bookmark_reminder_with_name",{name:this.notification.data.bookmark_name}):super.linkTitle}get description(){return super.description||this.notification.data.title}get label(){return null}get linkHref(){let e=super.linkHref;return e||(this.notification.data.bookmarkable_url?(0,s.default)(this.notification.data.bookmarkable_url):void 0)}}},3414:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d,forceMobile:()=>l,resetMobile:()=>u});var s=i(27494),n=i.n(s),r=i(131);let a=!1,o={isMobileDevice:!1,mobileView:!1,init(){let e=n()("html");if(this.isMobileDevice=a||e.hasClass("mobile-device"),this.mobileView=a||e.hasClass("mobile-view"),!(0,r.isTesting)()&&!a)try{if(window.location.search.match(/mobile_view=1/)&&(localStorage.mobileView=!0),window.location.search.match(/mobile_view=0/)&&(localStorage.mobileView=!1),window.location.search.match(/mobile_view=auto/)&&localStorage.removeItem("mobileView"),localStorage.mobileView){let e="true"===localStorage.mobileView;e!==this.mobileView&&this.reloadPage(e)}}catch{}},toggleMobileView(){try{localStorage&&(localStorage.mobileView=!this.mobileView)}catch{}this.reloadPage(!this.mobileView)},reloadPage(e){window.location.assign(window.location.pathname+"?mobile_view="+(e?"1":"0"))}};function l(){a=!0,o.init()}function u(){a=!1,o.init()}let d=o},3421:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={initialize(e){e.lookup("service:client-error-handler"),e.lookup("service:deprecation-warning-handler")}}},3434:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(6809);let n=["top","right","bottom","left"];function r(e,t){let i=t&&n.includes(t)?`border-${t}-color`:"border-color";return(0,s.htmlSafe)(`${i}: #${e} `)}},3438:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(83770),r=i(13446),a=i(15330),o=i(93810),l=i(60110);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"interfaceColor",[n.service]))();#td=(()=>void dt7948.i(this,"interfaceColor"))();get darkMediaQuery(){return this.interfaceColor.darkModeForced?"all":this.interfaceColor.lightModeForced?"none":"(prefers-color-scheme: dark)"}static #t=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"A6q3OtNl",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,1],[28,[32,1],[[30,2],[30,1]],null]],null],[[[1," "],[10,"picture"],[12],[1,"\\n "],[10,"source"],[15,"srcset",[28,[32,2],[[30,1]],null]],[15,"media",[30,0,["darkMediaQuery"]]],[12],[13],[1,"\\n "],[10,"img"],[14,1,"site-logo"],[15,0,[30,3]],[15,"src",[28,[32,2],[[30,2]],null]],[15,"width",[52,[28,[32,3],[[30,3],"logo-small"],null],"36"]],[15,"alt",[30,4]],[12],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"img"],[14,1,"site-logo"],[15,0,[30,3]],[15,"src",[28,[32,2],[[30,2]],null]],[15,"width",[52,[28,[32,3],[[30,3],"logo-small"],null],"36"]],[15,"alt",[30,4]],[12],[13],[1,"\\n"]],[]]],[1," "]],["@darkUrl","@url","@key","@title"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/logo.js",scope:()=>[r.and,r.notEq,a.default,r.eq],isStrictMode:!0}),this))()}},3558:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{ajax:()=>A,handleLogoff:()=>S,resetAjax:()=>k,setLogoffCallback:()=>T,setTransientHeader:()=>y,trackNextAjaxAsPageview:()=>w,trackNextAjaxAsTopicView:()=>b,updateCsrfToken:()=>C});var r=i(31862),a=i(27494),o=i.n(a),l=i(89120),u=i(131),d=i(15330),c=i(14465),p=i(84893),h=i(46694),m=i(72818);let g=!1,f=null,_=null;function y(e,t){_={key:e,value:t}}function b(e){f=e}function w(){g=!0}function k(){g=!1}function T(e){s=e}function S(e){e&&e.getResponseHeader("Discourse-Logged-Out")&&s&&s()}function C(){return n||(n=A("/session/csrf").then(e=>p.default.currentProp("csrfToken",e.csrf)).finally(()=>n=null)),n}function A(){let e,t,i,s;1==arguments.length?"string"==typeof arguments[0]?(e=arguments[0],t={}):(t=arguments[0],e=t.url,delete t.url):2==arguments.length&&(e=arguments[0],t=arguments[1]),e=(0,d.default)(e);let n=!0;function a(s,a){t.headers=t.headers||{},m.default.current()&&(t.headers["Discourse-Logged-In"]="true"),_&&(t.headers[_.key]=_.value,_=null),g&&(!t.type||"GET"===t.type)&&(g=!1,t.headers["Discourse-Track-View"]="true",f&&(t.headers["Discourse-Track-View-Topic-Id"]=f),f=null),(0,c.default)()&&(t.headers["Discourse-Present"]="true"),t.success=(e,i,n)=>{!function(e){e&&e.getResponseHeader("Discourse-Xhr-Redirect")&&(window.location=e.responseText)}(n),S(n),(0,r.run)(()=>{h.default.currentProp("isReadOnly",!!(n&&n.getResponseHeader("Discourse-Readonly")))}),t.returnXHR&&(e={result:e,xhr:n}),(0,r.run)(null,s,e)},t.error=(i,s,o)=>{if(n&&0===i.readyState){if("error"===s&&(0,u.isTesting)())throw o;return}if(S(i),403===i.status&&'["BAD CSRF"]'===i.responseText&&p.default.current().set("csrfToken",null),200===i.status)return t.success(i);i.jqTextStatus=s,i.requestedUrl=e,(0,r.run)(null,a,{jqXHR:i,textStatus:s,errorThrown:o})},t.method&&(t.type=t.method,delete t.method),t.type||(t.type="GET"),t.dataType||"GET"!==t.type.toUpperCase()||(t.dataType="json"),"script"===t.dataType&&(t.headers["Discourse-Script"]=!0),i=o().ajax(e,t)}return void 0!==t.ignoreUnsent&&(n=t.ignoreUnsent,delete t.ignoreUnsent),(s=new l.Promise(t.type&&"GET"!==t.type.toUpperCase()&&e!==(0,d.default)("/clicks/track")&&!p.default.currentProp("csrfToken")?(e,t)=>{i=C().then(()=>{a(e,t)})}:a)).abort=()=>{i&&i.abort()},s}},3560:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{}},3631:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=i(36376).default.extend({componentFor(e,t){let i=`component:${e}`;return t.factoryFor(i)},layoutFor(e,t,i){let s=`template:components/${e}`;return t.lookup(s,i)}})},3700:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(83770);class n extends s.default{callbacks=[];addButton(e){this.callbacks.push(e)}}},3740:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(93810),n=i(60110),r=i(29681);let a=(0,s.setComponentTemplate)((0,n.createTemplateFactory)({id:"6/Eb6fBg",block:'[[[1,"\\n"],[1," "],[10,"svg"],[14,0,"fa d-icon d-icon-custom-google-oauth2 svg-icon"],[14,"viewBox","0 0 48 48"],[12],[10,"defs"],[12],[10,"path"],[14,1,"google-icon-a"],[14,"d","M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z"],[12],[13],[13],[10,"clipPath"],[14,1,"google-icon-b"],[12],[10,"use"],[14,6,"#google-icon-a"],[14,"overflow","visible"],[12],[13],[13],[10,"path"],[14,"clip-path","url(#google-icon-b)"],[14,"fill","#FBBC05"],[14,"d","M0 37V11l17 13z"],[12],[13],[10,"path"],[14,"clip-path","url(#google-icon-b)"],[14,"fill","#EA4335"],[14,"d","M0 11l17 13 7-6.1L48 14V0H0z"],[12],[13],[10,"path"],[14,"clip-path","url(#google-icon-b)"],[14,"fill","#34A853"],[14,"d","M0 37l30-23 7.9 1L48 0v48H0z"],[12],[13],[10,"path"],[14,"clip-path","url(#google-icon-b)"],[14,"fill","#4285F4"],[14,"d","M48 48L17 24l-4-3 35-10z"],[12],[13],[13],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/google-icon.js",isStrictMode:!0}),(0,r.default)(void 0,"google-icon:GoogleIcon"))},3771:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>N});var s=i(21044),n=i(93810),r=i(42371),a=i(93558),o=i(83770),l=i(13446),u=i(98995),d=i(62394),c=i(96299),p=i(40250),h=i(54122),m=i(97936),g=i(76854),f=i(65977),_=i(783),y=i(44612),b=i(92332),w=i(20936),k=i(41780),T=i(71425),S=i(58259),C=i(85703),A=i(37420),D=i(17634),M=i(92357),x=i(29421),E=i(97276),L=i(41277),P=i(71100),F=i(85798),I=i(60110);class N extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[o.service]))();#c=(()=>void dt7948.i(this,"composer"))();static #t=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #r=(()=>(0,n.setComponentTemplate)((0,I.createTemplateFactory)({id:"i/kEbJV9",block:'[[[1,"\\n "],[8,[32,0],null,[["@composer","@showPreview","@openIfDraft","@typed","@cancelled","@save"],[[30,0,["composer","model"]],[30,0,["composer","isPreviewVisible"]],[30,0,["composer","openIfDraft"]],[30,0,["composer","typed"]],[30,0,["composer","cancelled"]],[30,0,["composer","saveAction"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"grippie"],[12],[13],[1,"\\n"],[41,[30,0,["composer","visible"]],[[[1," "],[1,[28,[32,1],[[52,[30,0,["composer","isPreviewVisible"]],"composer-has-preview"]],null]],[1,"\\n\\n"],[41,[51,[30,0,["site","mobileView"]]],[[[1," "],[8,[32,2],null,[["@composer","@messageCount","@addLinkLookup"],[[30,0,["composer","model"]],[30,0,["composer","messageCount"]],[30,0,["composer","addLinkLookup"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["composer","showFullScreenPrompt"]],[[[1," "],[8,[32,3],null,[["@removeFullScreenExitPrompt"],[[30,0,["composer","removeFullScreenExitPrompt"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["composer","model","viewOpenOrFullscreen"]],[[[1," "],[10,0],[14,"role","dialog"],[15,"aria-label",[30,0,["composer","ariaLabel"]]],[15,0,[29,["reply-area\\n ",[52,[30,0,["composer","canEditTags"]],"with-tags","without-tags"],"\\n ",[52,[30,0,["composer","hasFormTemplate"]],"with-form-template","without-form-template"],"\\n ",[52,[30,0,["composer","model","showCategoryChooser"]],"with-category","without-category"]]]],[12],[1,"\\n "],[10,1],[14,0,"composer-open-plugin-outlet-container"],[12],[1,"\\n "],[8,[32,4],null,[["@name","@connectorTagName","@outletArgs"],["composer-open","div",[28,[32,5],null,[["model"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"reply-to"],[12],[1,"\\n"],[41,[51,[30,0,["composer","model","viewFullscreen"]]],[[[1," "],[10,0],[14,0,"reply-details"],[12],[1,"\\n "],[8,[32,6],null,[["@model","@canWhisper"],[[30,0,["composer","model"]],[30,0,["composer","canWhisper"]]]],null],[1,"\\n\\n "],[8,[32,4],null,[["@name","@outletArgs"],["composer-action-after",[28,[32,5],null,[["model"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n\\n"],[41,[30,0,["site","desktopView"]],[[[41,[30,0,["composer","model","unlistTopic"]],[[[1," "],[10,1],[14,0,"unlist"],[12],[1,"("],[1,[28,[32,7],["composer.unlist"],null]],[1,")"],[13],[1,"\\n"]],[]],null],[41,[30,0,["composer","isWhispering"]],[[[41,[30,0,["composer","model","noBump"]],[[[1," "],[10,1],[14,0,"no-bump"],[12],[1,[28,[32,8],["anchor"],null]],[13],[1,"\\n"]],[]],null]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["composer","canEdit"]],[[[1," "],[8,[32,9],[[24,0,"display-edit-reason"]],[["@onClick","@showInput","@icon"],[[30,0,["composer","displayEditReason"]],[30,0,["composer","showEditReason"]],"circle-info"]],[["default"],[[[[1,"\\n "],[8,[32,10],null,[["@value","@id","@maxlength","@placeholderKey"],[[30,0,["composer","editReason"]],"edit-reason","255","composer.edit_reason_placeholder"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["before-composer-controls",[28,[32,5],null,[["model"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n\\n "],[8,[32,11],null,[["@composeState","@showToolbar","@toggleComposer","@toggleToolbar","@toggleFullscreen","@disableTextarea"],[[30,0,["composer","model","composeState"]],[30,0,["composer","showToolbar"]],[30,0,["composer","toggle"]],[30,0,["composer","toggleToolbar"]],[30,0,["composer","fullscreenComposer"]],[30,0,["composer","disableTextarea"]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,12],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"composer-fields"],[12],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["before-composer-fields",[28,[32,5],null,[["model"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n"],[41,[51,[30,0,["composer","model","viewFullscreen"]]],[[[41,[30,0,["composer","model","canEditTitle"]],[[[41,[30,0,["composer","model","creatingPrivateMessage"]],[[[1," "],[10,0],[14,0,"user-selector"],[12],[1,"\\n "],[8,[32,13],[[16,0,[28,[32,14],["users-input",[52,[30,0,["composer","showWarning"]],"can-warn"]],null]]],[["@topicId","@recipients","@hasGroups","@focusTarget"],[[30,0,["composer","topicModel","id"]],[30,0,["composer","model","targetRecipients"]],[30,0,["composer","model","hasTargetGroups"]],[30,0,["composer","focusTarget"]]]],null],[1,"\\n"],[41,[30,0,["composer","showWarning"]],[[[1," "],[10,"label"],[14,0,"add-warning"],[12],[1,"\\n "],[8,[32,15],null,[["@type","@checked"],["checkbox",[30,0,["composer","model","isWarning"]]]],null],[1,"\\n "],[10,1],[12],[1,[28,[32,7],["composer.add_warning"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[15,0,[29,["title-and-category\\n ",[52,[30,0,["composer","isPreviewVisible"]],"with-preview"]]]],[12],[1,"\\n "],[8,[32,16],null,[["@composer","@lastValidatedAt","@focusTarget"],[[30,0,["composer","model"]],[30,0,["composer","lastValidatedAt"]],[30,0,["composer","focusTarget"]]]],null],[1,"\\n\\n"],[41,[30,0,["composer","model","showCategoryChooser"]],[[[1," "],[10,0],[14,0,"category-input"],[12],[1,"\\n "],[8,[32,17],null,[["@value","@onChange","@options"],[[30,0,["composer","model","categoryId"]],[30,0,["composer","updateCategory"]],[28,[32,18],null,[["disabled","scopedCategoryId","prioritizedCategoryId"],[[30,0,["composer","disableCategoryChooser"]],[30,0,["composer","scopedCategoryId"]],[30,0,["composer","prioritizedCategoryId"]]]]]]],null],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["after-composer-category-input",[28,[32,5],null,[["composer"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n "],[8,[32,19],null,[["@validation"],[[30,0,["composer","categoryValidation"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["composer","canEditTags"]],[[[1," "],[10,0],[14,0,"tags-input"],[12],[1,"\\n "],[8,[32,20],null,[["@value","@onChange","@options"],[[30,0,["composer","model","tags"]],[28,[32,21],[[28,[31,2],[[30,0,["composer","model","tags"]]],null]],null],[28,[32,18],null,[["disabled","categoryId","minimum"],[[30,0,["composer","disableTagsChooser"]],[30,0,["composer","model","categoryId"]],[30,0,["composer","model","minimumRequiredTags"]]]]]]],null],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["after-composer-tag-input",[28,[32,5],null,[["composer"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n "],[8,[32,19],null,[["@validation"],[[30,0,["composer","tagValidation"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["after-title-and-category",[28,[32,5],null,[["model","tagValidation","canEditTags","disabled"],[[30,0,["composer","model"]],[30,0,["composer","tagValidation"]],[30,0,["composer","canEditTags"]],[30,0,["composer","disableTagsChooser"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,4],null,[["@name","@connectorTagName","@outletArgs"],["composer-fields","div",[28,[32,5],null,[["model","showPreview"],[[30,0,["composer","model"]],[30,0,["composer","isPreviewVisible"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["composer-after-composer-editor",[28,[32,5],null,[["model"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"submit-panel"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,4],null,[["@name","@connectorTagName","@outletArgs"],["composer-fields-below","div",[28,[32,5],null,[["model"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"save-or-cancel"],[12],[1,"\\n "],[8,[32,22],null,[["@action","@icon","@label","@forwardEvent","@disableSubmit"],[[30,0,["composer","saveAction"]],[30,0,["composer","saveIcon"]],[30,0,["composer","saveLabel"]],true,[30,0,["composer","disableSubmit"]]]],null],[1,"\\n\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[8,[32,23],[[24,0,"cancel btn-transparent"]],[["@action","@icon","@preventFocus","@title"],[[30,0,["composer","cancel"]],[52,[30,0,["composer","canEdit"]],"xmark","trash-can"],true,"close"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,23],[[24,0,"cancel btn-transparent"]],[["@action","@preventFocus","@title","@label"],[[30,0,["composer","cancel"]],true,"close","close"]],null],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[1,"\\n"],[41,[30,0,["composer","model","noBump"]],[[[1," "],[10,1],[14,0,"no-bump"],[12],[1,[28,[32,8],["anchor"],null]],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["composer-after-save-or-cancel",[28,[32,5],null,[["model"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["site","mobileView"]],[[[1," "],[10,1],[12],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["composer-mobile-buttons-bottom",[28,[32,5],null,[["model"],[[30,0,["composer","model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["composer","allowUpload"]],[[[1," "],[10,3],[14,1,"mobile-file-upload"],[15,0,[29,["btn btn-default no-text mobile-file-upload\\n ",[52,[30,0,["composer","isUploading"]],"hidden"]]]],[15,"aria-label",[28,[32,7],["composer.upload_title"],null]],[12],[1,"\\n "],[1,[28,[32,8],[[30,0,["composer","uploadIcon"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["composer","allowPreview"]],[[[1," "],[11,3],[24,6,""],[24,0,"btn btn-default no-text mobile-preview"],[16,"title",[28,[32,7],["composer.show_preview"],null]],[16,"aria-label",[28,[32,7],["composer.show_preview"],null]],[4,[32,24],["click",[30,0,["composer","togglePreview"]]],null],[12],[1,"\\n "],[1,[28,[32,8],["desktop"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["composer","isPreviewVisible"]],[[[1," "],[8,[32,23],[[24,0,"hide-preview"]],[["@action","@title","@ariaLabel","@icon"],[[30,0,["composer","togglePreview"]],"composer.hide_preview","composer.hide_preview","pencil"]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[28,[32,25],[[30,0,["composer","isUploading"]],[30,0,["composer","isProcessingUpload"]]],null],[[[1," "],[10,0],[14,1,"file-uploading"],[12],[1,"\\n"],[41,[30,0,["composer","isProcessingUpload"]],[[[1," "],[1,[28,[32,26],null,[["size"],["small"]]]],[10,1],[12],[1,[28,[32,7],["upload_selector.processing"],null]],[13],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,26],null,[["size"],["small"]]]],[10,1],[12],[1,[28,[32,7],["upload_selector.uploading"],null]],[1,"\\n "],[1,[30,0,["composer","uploadProgress"]]],[1,"%"],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["composer","isCancellable"]],[[[1," "],[11,3],[24,6,""],[24,1,"cancel-file-upload"],[4,[32,24],["click",[30,0,["composer","cancelUpload"]]],null],[12],[1,[28,[32,8],["xmark"],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["composer","model","draftStatus"]],[[[1," "],[10,0],[15,0,[52,[30,0,["composer","isUploading"]],"hidden"]],[14,1,"draft-status"],[12],[1,"\\n "],[10,1],[14,0,"draft-error"],[15,"title",[30,0,["composer","model","draftStatus"]]],[12],[1,"\\n"],[41,[30,0,["composer","model","draftConflictUser"]],[[[1," "],[1,[28,[32,27],[[30,0,["composer","model","draftConflictUser"]]],[["imageSize"],["small"]]]],[1,"\\n "],[1,[28,[32,8],["user-pen"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,8],["triangle-exclamation"],null]],[1,"\\n"]],[]]],[41,[30,0,["site","desktopView"]],[[[1," "],[1,[30,0,["composer","model","draftStatus"]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,28],[[30,0,["composer","allowPreview"]],[30,0,["site","desktopView"]]],null],[[[1," "],[8,[32,23],[[16,0,[28,[32,14],["btn-transparent btn-mini-toggle toggle-preview",[52,[51,[30,0,["composer","isPreviewVisible"]]],"active"]],null]]],[["@action","@translatedTitle","@icon"],[[30,0,["composer","togglePreview"]],[30,0,["composer","toggleText"]],"angles-left"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"saving-text"],[12],[1,"\\n"],[41,[30,0,["composer","model","createdPost"]],[[[1," "],[1,[28,[32,7],["composer.saved"],null]],[1,"\\n "],[11,3],[16,6,[30,0,["composer","createdPost","url"]]],[24,0,"permalink"],[4,[32,24],["click",[30,0,["composer","viewNewReply"]]],null],[12],[1,[28,[32,7],["composer.view_new_post"],null]],[13],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,7],["composer.saving"],null]],[1,"\\n "],[1,[28,[32,26],null,[["size"],["small"]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"draft-text"],[12],[1,"\\n"],[41,[30,0,["composer","model","topic"]],[[[1," "],[1,[28,[32,8],["share"],null]],[1,"\\n "],[1,[28,[32,29],[[30,0,["composer","draftTitle"]]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,7],["composer.saved_draft"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[8,[32,11],null,[["@composeState","@toggleFullscreen","@toggleComposer","@toggleToolbar"],[[30,0,["composer","model","composeState"]],[30,0,["composer","openIfDraft"]],[30,0,["composer","toggle"]],[30,0,["composer","toggleToolbar"]]]],null],[1,"\\n"]],[]]]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[],false,["if","unless","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/composer-container.js",scope:()=>[d.default,D.default,h.default,p.default,w.default,x.default,u.default,L.i18n,A.default,b.default,T.default,f.default,c.default,_.default,C.default,n.Input,g.default,P.default,r.hash,k.default,F.default,r.fn,m.default,y.default,a.on,l.or,E.default,S.default,l.and,M.default],isStrictMode:!0}),this))()}},3790:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(93810),n=i(34229),r=i(95145),a=i(58259),o=i(47290),l=i(63708),u=i(41277),d=i(60110);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"filteredHistories",[(0,n.filterBy)("histories","created",!1)]))();#tc=(()=>void dt7948.i(this,"filteredHistories"))();static #t=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"loxH49hl",block:'[[[1,"\\n"],[41,[30,0,["filteredHistories"]],[[[1," "],[10,"table"],[14,0,"reviewable-histories"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"tr"],[12],[1,"\\n "],[10,"th"],[14,"colspan","3"],[12],[1,[28,[32,0],["review.history.title"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["filteredHistories"]]],null]],null],null,[[[41,[51,[30,1,["created"]]],[[[1," "],[10,"tr"],[12],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[1,[28,[32,1],[[30,1]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[8,[32,2],null,[["@user"],[[30,0,["rs","user"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[30,1,["created_by"]]],[["imageSize"],["tiny"]]]],[1,"\\n "],[1,[30,1,["created_by","username"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[12],[1,[28,[32,4],[[30,1,["created_at"]]],[["format"],["medium"]]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[1]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["rh"],false,["if","each","-track-array","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-histories.js",scope:()=>[u.i18n,l.default,r.default,a.default,o.default],isStrictMode:!0}),this))()}},3844:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(21044),n=i(77632),r=i(42371),a=i(36376),o=i(83770),l=i(65774),u=i(44612),d=i(28431),c=i(92161),p=i(82339),h=i(98017),m=i(75406),g=i(41277),f=i(93810),_=i(60110);class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[o.service]))();#c=(()=>void dt7948.i(this,"composer"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #r=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #a=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #d=(()=>dt7948.g(this.prototype,"postLocalizations",[n.tracked],function(){return null}))();#tp=(()=>void dt7948.i(this,"postLocalizations"))();static #g=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!1}))();#u=(()=>void dt7948.i(this,"loading"))();constructor(){super(...arguments),this.loadPostLocalizations()}get originalPostContent(){return`
${(0,g.i18n)("composer.translations.original_content")} ${this.args.model.post.cooked}
`}async loadPostLocalizations(){this.loading=!0;try{let{post_localizations:e}=await h.default.find(this.args.model.post.id);this.postLocalizations=e,this.loading=!1}catch(e){(0,c.popupAjaxError)(e)}}async editLocalization(e){this.currentUser&&this.siteSettings.experimental_content_localization&&this.currentUser.can_localize_content&&(this.args.closeModal(),await this.composer.open({action:p.default.ADD_TRANSLATION,draftKey:"translation",warningsDisabled:!0,hijackPreview:this.originalPostContent,post:this.args.model.post,selectedTranslationLocale:e.locale}),this.composer.model.set("reply",e.raw))}static #T=(()=>dt7948.n(this.prototype,"editLocalization",[a.action]))();async deleteLocalization(e){try{await h.default.destroy(this.args.model.post.id,e),this.args.model.post.firstPost&&await m.default.destroy(this.args.model.post.topic_id,e)}catch(e){(0,c.popupAjaxError)(e)}finally{window.location.reload()}}static #C=(()=>dt7948.n(this.prototype,"deleteLocalization",[a.action]))();delete(e){return this.dialog.yesNoConfirm({message:(0,g.i18n)("post.localizations.modal.confirm_delete",{languageCode:e}),didConfirm:()=>this.deleteLocalization(e)})}static #A=(()=>dt7948.n(this.prototype,"delete",[a.action]))();static #D=(()=>(0,f.setComponentTemplate)((0,_.createTemplateFactory)({id:"Ew5ulQOo",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"post-translations-modal"]],[["@title","@closeModal"],[[28,[32,1],["post.localizations.modal.title"],null],[30,1]]],[["body"],[[[[1,"\\n "],[8,[32,2],null,[["@size","@condition"],["large",[30,0,["loading"]]]],null],[1,"\\n\\n"],[41,[30,0,["postLocalizations"]],[[[1," "],[10,"table"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"tr"],[12],[1,"\\n "],[10,"th"],[12],[1,[28,[32,1],["post.localizations.table.locale"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,1],["post.localizations.table.actions"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["postLocalizations"]]],null]],null],null,[[[1," "],[10,"tr"],[12],[1,"\\n "],[10,"td"],[14,0,"post-translations-modal__locale"],[12],[1,[30,2,["locale"]]],[13],[1,"\\n "],[10,"td"],[14,0,"post-translations-modal__edit-action"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-primary btn-transparent"]],[["@icon","@label","@action"],["pencil","post.localizations.table.edit",[28,[32,4],[[30,0,["editLocalization"]],[30,2]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"post-translations-modal__delete-action"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-danger btn-transparent"]],[["@icon","@label","@action"],["trash-can","post.localizations.table.delete",[28,[32,4],[[30,0,["delete"]],[30,2,["locale"]]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal","localization"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/post-translations.js",scope:()=>[d.default,g.i18n,l.default,u.default,r.fn],isStrictMode:!0}),this))()}},3850:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(93810),n=i(4602),r=i(9266),a=i(70322),o=i(98146),l=i(35504),u=i(41277),d=i(60110);class c extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,d.createTemplateFactory)({id:"R2x+Cfkw",block:'[[[1,"\\n "],[10,0],[14,0,"flagged-post-header"],[12],[1,"\\n "],[8,[32,0],null,[["@reviewable","@tagName"],[[30,0,["reviewable"]],""]],null],[1,"\\n "],[8,[32,1],null,[["@reviewable","@tagName"],[[30,0,["reviewable"]],""]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"post-contents-wrapper"],[12],[1,"\\n "],[8,[32,2],null,[["@user"],[[30,0,["reviewable","target_created_by"]]]],null],[1,"\\n "],[10,0],[14,0,"post-contents"],[12],[1,"\\n "],[8,[32,3],null,[["@reviewable","@createdBy","@tagName"],[[30,0,["reviewable"]],[30,0,["reviewable","target_created_by"]],""]],null],[1,"\\n "],[10,0],[14,0,"post-body"],[12],[1,"\\n"],[41,[30,0,["reviewable","blank_post"]],[[[1," "],[10,2],[12],[1,[28,[32,4],["review.deleted_post"],null]],[13],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,5],[[30,0,["reviewable","cooked"]],[30,0,["reviewable"]]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[18,1,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-post.js",scope:()=>[o.default,r.default,n.default,a.default,u.i18n,l.default],isStrictMode:!0}),this))()}},3892:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(6809),n=i(14547),r=i(35372),a=i(93810),o=i(60110);let l=dt7948.c(class extends r.default{static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"GkX1520J",block:'[[[1,"\\n "],[10,0],[14,0,"texts"],[12],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,[28,[32,0],[[30,0,["label"]]],null]],[13],[1,"\\n"],[41,[30,0,["item","description"]],[[[1," "],[10,1],[14,0,"desc"],[12],[1,[28,[32,0],[[30,0,["item","description"]]],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/homepage-style-selector/homepage-style-selector-row.js",scope:()=>[s.htmlSafe],isStrictMode:!0}),this))()},[(0,n.classNames)("homepage-style-selector-row")])},3957:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>k});var s=i(21044),n=i(93810),r=i(42371),a=i(93558),o=i(36376),l=i(83770),u=i(13446),d=i(65774),c=i(44612),p=i(59667),h=i(35077),m=i(20936),g=i(9015),f=i(64353),_=i(25815),y=i(41277),b=i(65644),w=i(60110);class k extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"router",[l.service]))();#i=(()=>void dt7948.i(this,"router"))();new(){this.router.transitionTo("groups.new")}static #r=(()=>dt7948.n(this.prototype,"new",[o.action]))();loadMore(){this.args.groups&&this.args.groups.loadMore()}static #a=(()=>dt7948.n(this.prototype,"loadMore",[o.action]))();get types(){let e=[],t=this.args.groups.extras.type_filters;return t&&t.forEach(t=>e.push({id:t,name:(0,y.i18n)(`groups.index.${t}_groups`)})),e}static #d=(()=>(0,n.setComponentTemplate)((0,w.createTemplateFactory)({id:"VwfxoscT",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,1,["loadingMore"]],[30,1,["canLoadMore"]]],null],[[[1," "],[1,[32,1]],[1,"\\n"]],[]],null],[1,"\\n "],[1,[28,[32,2],["groups-page"],null]],[1,"\\n\\n "],[8,[32,3],null,[["@name","@connectorTagName"],["before-groups-index-container","div"]],null],[1,"\\n\\n "],[10,"section"],[14,0,"container groups-index"],[12],[1,"\\n "],[10,0],[14,0,"groups-header"],[12],[1,"\\n"],[41,[30,0,["currentUser","can_create_group"]],[[[1," "],[8,[32,4],[[24,0,"btn-default groups-header-new pull-right"]],[["@action","@icon","@label"],[[30,0,["new"]],"plus","admin.groups.new.title"]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"groups-header-filters"],[12],[1,"\\n "],[8,[32,5],[[16,"placeholder",[28,[32,6],["groups.index.all"],null]],[24,0,"groups-header-filters-name no-blur"],[16,"aria-description",[28,[32,6],["groups.index.search_results"],null]],[4,[32,7],["input",[28,[32,8],[[30,3]],null]],null]],[["@value","@type"],[[30,2],"search"]],null],[1,"\\n\\n "],[8,[32,9],[[24,0,"groups-header-filters-type"]],[["@value","@content","@onChange","@options"],[[30,4],[30,0,["types"]],[30,5],[28,[32,10],null,[["clearable","none"],[true,"groups.index.filter"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1],[[[1," "],[8,[32,11],null,[["@action"],[[30,0,["loadMore"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[10,0],[14,0,"groups-boxes"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1]],null]],null],null,[[[1," "],[8,[32,12],null,[["@group"],[[30,6]]],null],[1,"\\n"]],[6]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,13],null,[["@condition"],[[30,1,["loadingMore"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,2],[14,"role","status"],[12],[1,[28,[32,6],["groups.index.empty"],null]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@groups","@filter","@onFilterChanged","@type","@onTypeChanged","group"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-list.js",scope:()=>[u.or,f.default,g.default,m.default,c.default,n.Input,y.i18n,a.on,_.default,b.default,r.hash,h.default,p.default,d.default],isStrictMode:!0}),this))()}},3974:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var s=i(46337),n=i(60046),r=i(98175),a=i(1015);function o(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var o=e.getBoundingClientRect(),l=1,u=1;t&&(0,s.sb)(e)&&(l=e.offsetWidth>0&&(0,n.LI)(o.width)/e.offsetWidth||1,u=e.offsetHeight>0&&(0,n.LI)(o.height)/e.offsetHeight||1);var d=((0,s.vq)(e)?(0,r.A)(e):window).visualViewport,c=!(0,a.A)()&&i,p=(o.left+(c&&d?d.offsetLeft:0))/l,h=(o.top+(c&&d?d.offsetTop:0))/u,m=o.width/l,g=o.height/u;return{width:m,height:g,top:h,right:p+m,bottom:h+g,left:p,x:p,y:h}}},3982:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})})},4014:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21044),n=i(93558),r=i(36376),a=i(83770),o=i(6809),l=i(44612),u=i(93810),d=i(60110);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"userTips",[a.service]))();#th=(()=>void dt7948.i(this,"userTips"))();get safeHtmlContent(){return(0,o.htmlSafe)(this.args.data.contentHtml)}get showSkipButton(){return this.args.data.showSkipButton}handleDismiss(e,t){t.preventDefault(),this.args.close(),this.userTips.hideUserTipForever(this.args.data.id)}static #t=(()=>dt7948.n(this.prototype,"handleDismiss",[r.action]))();handleSkip(e,t){t.preventDefault(),this.args.close(),this.userTips.skipTips()}static #r=(()=>dt7948.n(this.prototype,"handleSkip",[r.action]))();onClick(e){"A"===e.target.nodeName&&this.args.close()}static #a=(()=>dt7948.n(this.prototype,"onClick",[r.action]))();static #d=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"L+Hs1ZMu",block:'[[[1,"\\n "],[10,0],[14,0,"user-tip__container"],[12],[1,"\\n "],[10,0],[14,0,"user-tip__title"],[12],[1,[30,1,["titleText"]]],[13],[1,"\\n"],[1," "],[11,0],[24,0,"user-tip__content"],[4,[32,0],["click",[30,0,["onClick"]]],null],[12],[1,"\\n"],[41,[30,1,["contentHtml"]],[[[1," "],[1,[30,0,["safeHtmlContent"]]],[1,"\\n"]],[]],[[[1," "],[1,[30,1,["contentText"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"user-tip__buttons"],[12],[1,"\\n "],[8,[32,1],[[24,0,"btn-primary"]],[["@translatedLabel","@action","@forwardEvent"],[[30,1,["buttonText"]],[30,0,["handleDismiss"]],true]],null],[1,"\\n\\n"],[41,[30,0,["showSkipButton"]],[[[1," "],[8,[32,1],[[24,0,"btn-flat btn-text"]],[["@translatedLabel","@action","@forwardEvent"],[[30,1,["buttonSkipText"]],[30,0,["handleSkip"]],true]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["@data"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-tip-container.js",scope:()=>[n.on,l.default],isStrictMode:!0}),this))()}},4021:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(93810),n=i(93558),r=i(36376),a=i(83770),o=i(6809),l=i(25164),u=i(14547),d=i(26962),c=i(13446),p=i(32385),h=i(17835),m=i(48880),g=i(77598),f=i(41277),_=i(60110);let y=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#l=(()=>void dt7948.i(this,"dialog"))();imapSettingsValid=!1;smtpSettingsValid=!1;_determineSettingsValid(){this.set("imapSettingsValid",this.group.imap_enabled&&this.group.imap_server),this.set("smtpSettingsValid",this.group.smtp_enabled&&this.group.smtp_server)}static #t=(()=>dt7948.n(this.prototype,"_determineSettingsValid",[(0,d.on)("init")]))();enableImapSettings(e,t,i){return t&&(e||i)}static #r=(()=>dt7948.n(this.prototype,"enableImapSettings",[(0,g.default)("emailSettingsValid","group.smtp_enabled","group.imap_enabled")]))();emailSettingsValid(e,t,i,s){return(!i||e)&&(!s||t)}static #a=(()=>dt7948.n(this.prototype,"emailSettingsValid",[(0,g.default)("smtpSettingsValid","imapSettingsValid","group.smtp_enabled","group.imap_enabled")]))();_anySmtpFieldsFilled(){return[this.group.smtp_server,this.group.smtp_port,this.group.email_username,this.group.email_password].some(e=>!(0,l.isEmpty)(e))}_anyImapFieldsFilled(){return[this.group.imap_server,this.group.imap_port].some(e=>!(0,l.isEmpty)(e))}onChangeSmtpSettingsValid(e){this.set("smtpSettingsValid",e)}static #d=(()=>dt7948.n(this.prototype,"onChangeSmtpSettingsValid",[r.action]))();smtpEnabledChange(e){!e.target.checked&&this.group.smtp_enabled&&this._anySmtpFieldsFilled()&&this.dialog.confirm({message:(0,f.i18n)("groups.manage.email.smtp_disable_confirm"),didConfirm:()=>this.group.set("smtp_enabled",!0),didCancel:()=>this.group.set("imap_enabled",!1)}),this.group.set("smtp_enabled",e.target.checked)}static #g=(()=>dt7948.n(this.prototype,"smtpEnabledChange",[r.action]))();imapEnabledChange(e){!e.target.checked&&this.group.imap_enabled&&this._anyImapFieldsFilled()&&this.dialog.confirm({message:(0,f.i18n)("groups.manage.email.imap_disable_confirm"),didConfirm:()=>this.group.set("imap_enabled",!0)}),this.group.set("imap_enabled",e.target.checked)}static #T=(()=>dt7948.n(this.prototype,"imapEnabledChange",[r.action]))();afterSave(){this.store.find("group",this.group.name).then(()=>{this._determineSettingsValid()})}static #C=(()=>dt7948.n(this.prototype,"afterSave",[r.action]))();static #A=(()=>(0,s.setComponentTemplate)((0,_.createTemplateFactory)({id:"S0GAte8P",block:'[[[1,"\\n "],[10,0],[14,0,"group-manage-email-settings"],[12],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,0],["groups.manage.email.smtp_title"],null]],[13],[1,"\\n "],[10,2],[12],[1,[28,[32,0],["groups.manage.email.smtp_instructions"],null]],[13],[1,"\\n\\n "],[10,"label"],[14,"for","enable_smtp"],[12],[1,"\\n "],[8,[32,1],[[24,1,"enable_smtp"],[24,"tabindex","1"],[4,[32,2],["input",[30,0,["smtpEnabledChange"]]],null]],[["@type","@checked"],["checkbox",[30,0,["group","smtp_enabled"]]]],null],[1,"\\n "],[1,[28,[32,0],["groups.manage.email.enable_smtp"],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["group","smtp_enabled"]],[[[1," "],[8,[32,3],null,[["@group","@smtpSettingsValid","@onChangeSmtpSettingsValid"],[[30,0,["group"]],[30,0,["smtpSettingsValid"]],[30,0,["onChangeSmtpSettingsValid"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["siteSettings","enable_imap"]],[[[1," "],[10,0],[14,0,"group-manage-email-imap-wrapper"],[12],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n\\n "],[10,"h3"],[12],[1,[28,[32,0],["groups.manage.email.imap_title"],null]],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,4],[[28,[32,0],["groups.manage.email.imap_instructions"],null]],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"alert alert-warning"],[12],[1,[28,[32,0],["groups.manage.email.imap_alpha_warning"],null]],[13],[1,"\\n\\n "],[10,"label"],[14,"for","enable_imap"],[12],[1,"\\n "],[8,[32,1],[[16,"disabled",[28,[32,5],[[30,0,["enableImapSettings"]]],null]],[24,1,"enable_imap"],[24,"tabindex","8"],[4,[32,2],["input",[30,0,["imapEnabledChange"]]],null]],[["@type","@checked"],["checkbox",[30,0,["group","imap_enabled"]]]],null],[1,"\\n "],[1,[28,[32,0],["groups.manage.email.enable_imap"],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["group","imap_enabled"]],[[[1," "],[8,[32,6],null,[["@group","@imapSettingsValid"],[[30,0,["group"]],[30,0,["imapSettingsValid"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"group-manage-email-additional-settings-wrapper"],[12],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,0],["groups.manage.email.imap_additional_settings"],null]],[13],[1,"\\n "],[10,"label"],[14,0,"control-group-inline"],[14,"for","allow_unknown_sender_topic_replies"],[12],[1,"\\n "],[8,[32,1],[[24,3,"allow_unknown_sender_topic_replies"],[24,1,"allow_unknown_sender_topic_replies"],[24,"tabindex","13"]],[["@type","@checked"],["checkbox",[30,0,["group","allow_unknown_sender_topic_replies"]]]],null],[1,"\\n "],[10,1],[12],[1,[28,[32,0],["groups.manage.email.settings.allow_unknown_sender_topic_replies"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,2],[12],[1,[28,[32,0],["groups.manage.email.settings.allow_unknown_sender_topic_replies_hint"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"br"],[12],[13],[1,"\\n "],[8,[32,7],null,[["@model","@disabled","@beforeSave","@afterSave","@tabindex"],[[30,0,["group"]],[28,[32,5],[[30,0,["emailSettingsValid"]]],null],[30,0,["beforeSave"]],[30,0,["afterSave"]],"15"]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-manage-email-settings.js",scope:()=>[f.i18n,s.Input,n.on,m.default,o.htmlSafe,c.not,p.default,h.default],isStrictMode:!0}),this))()},[(0,u.tagName)("")])},4045:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(77632),n=i(31862),r=i(83770),a=i(3558),o=i(32343),l=i(77598),u=i(47182);let d=dt7948.c(class extends r.default{static #e=(()=>dt7948.g(this.prototype,"connected",[s.tracked],function(){return!0}))();#tm=(()=>void dt7948.i(this,"connected"))();constructor(){super(...arguments),window.addEventListener("offline",()=>{this.setConnectivity(!1),this.startTimerToCheckNavigator()}),window.addEventListener("online",this.pingServerAndSetConnectivity),window.addEventListener("visibilitychange",this.onFocus),navigator.onLine||this.pingServerAndSetConnectivity()}onFocus(){this.connected||"visible"!==document.visibilityState||this.pingServerAndSetConnectivity()}static #t=(()=>dt7948.n(this.prototype,"onFocus",[l.bind]))();async pingServerAndSetConnectivity(){try{let e=await (0,a.ajax)("/srv/status",{dataType:"text"});if("ok"===e)(0,n.cancel)(this._timer),this.setConnectivity(!0);else throw"disconnected"}catch{this.startTimerToCheckNavigator()}}static #r=(()=>dt7948.n(this.prototype,"pingServerAndSetConnectivity",[l.bind]))();startTimerToCheckNavigator(){(0,n.cancel)(this._timer),this._timer=(0,o.default)(this,this.checkNavigatorOnline,1e3)}static #a=(()=>dt7948.n(this.prototype,"startTimerToCheckNavigator",[l.bind]))();checkNavigatorOnline(){navigator.onLine?this.pingServerAndSetConnectivity():this.startTimerToCheckNavigator()}static #d=(()=>dt7948.n(this.prototype,"checkNavigatorOnline",[l.bind]))();setConnectivity(e){this.connected=e,document.documentElement.classList.toggle("network-disconnected",!e)}},[u.disableImplicitInjections])},4132:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(37507),n=i(76998),r=i(21772);class a extends r.default{templateName="user/posts";controllerName="user-posts";model(){return this.modelFor("user").postsStream}afterModel(e){return e.filterBy({filter:"deleted"})}setupController(e,t){super.setupController(...arguments),t.set("canLoadMore",60===t.itemsLoaded),t.content.forEach(e=>{e.title&&e.set("titleHtml",(0,s.emojiUnescape)((0,n.escapeExpression)(e.title)))})}}},4164:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(54695),n=i(6809),r=i(62069),a=i(44315),o=i(20936),l=i(95667),u=i(64551),d=i(1523),c=i(4491),p=i(54455),h=i(24893),m=i(67905),g=i(9015),f=i(675),_=i(29421),y=i(20017),b=i(41277),w=i(93810),k=i(60110),T=i(29681);let S=(0,r.default)((0,w.setComponentTemplate)((0,k.createTemplateFactory)({id:"3zOyACAx",block:'[[[1,"\\n "],[1,[28,[32,0],["user-summary-page"],null]],[1,"\\n\\n "],[10,0],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n "],[8,[32,1],null,[["@name","@outletArgs"],["above-user-summary-stats",[28,[32,2],null,[["model","user"],[[30,1,["model"]],[30,1,["user"]]]]]]],null],[1,"\\n"],[41,[30,1,["model","can_see_summary_stats"]],[[[1," "],[10,0],[14,0,"top-section stats-section"],[12],[1,"\\n "],[10,"h3"],[14,0,"stats-title"],[12],[1,[28,[32,3],["user.summary.stats"],null]],[13],[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[14,0,"stats-days-visited"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","days_visited"]],"user.summary.days_visited"]],null],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[14,0,"stats-time-read"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label","@rawTitle","@type"],[[30,1,["timeRead"]],"user.summary.time_read",[28,[32,3],["user.summary.time_read_title"],[["duration"],[[30,1,["timeReadMedium"]]]]],"string"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["showRecentTimeRead"]],[[[1," "],[10,"li"],[14,0,"stats-recent-read"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label","@rawTitle","@type"],[[30,1,["recentTimeRead"]],"user.summary.recent_time_read",[28,[32,3],["user.summary.recent_time_read_title"],[["duration"],[[30,1,["recentTimeReadMedium"]]]]],"string"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"li"],[14,0,"stats-topics-entered"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","topics_entered"]],"user.summary.topics_entered"]],null],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[14,0,"stats-posts-read"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","posts_read_count"]],"user.summary.posts_read"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["model","can_see_user_actions"]],[[[1," "],[10,"li"],[14,0,"stats-likes-given linked-stat"],[12],[1,"\\n "],[8,[32,5],null,[["@route"],["userActivity.likesGiven"]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@icon","@label"],[[30,1,["model","likes_given"]],"heart","user.summary.likes_given"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"stats-likes-given"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@icon","@label"],[[30,1,["model","likes_given"]],"heart","user.summary.likes_given"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[10,"li"],[14,0,"stats-likes-received"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@icon","@label"],[[30,1,["model","likes_received"]],"heart","user.summary.likes_received"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["model","bookmark_count"]],[[[41,[30,1,["model","can_see_user_actions"]],[[[1," "],[10,"li"],[14,0,"stats-bookmark-count linked-stat"],[12],[1,"\\n "],[8,[32,5],null,[["@route"],["userActivity.bookmarks"]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","bookmark_count"]],"user.summary.bookmark_count"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"stats-bookmark-count"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","bookmark_count"]],"user.summary.bookmark_count"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]],null],[41,[30,1,["model","can_see_user_actions"]],[[[1," "],[10,"li"],[14,0,"stats-topic-count linked-stat"],[12],[1,"\\n "],[8,[32,5],null,[["@route"],["userActivity.topics"]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","topic_count"]],"user.summary.topic_count"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"stats-topic-count"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","topic_count"]],"user.summary.topic_count"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[41,[30,1,["model","can_see_user_actions"]],[[[1," "],[10,"li"],[14,0,"stats-post-count linked-stat"],[12],[1,"\\n "],[8,[32,5],null,[["@route"],["userActivity.replies"]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","post_count"]],"user.summary.post_count"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"stats-post-count"],[12],[1,"\\n "],[8,[32,4],null,[["@value","@label"],[[30,1,["model","post_count"]],"user.summary.post_count"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[8,[32,1],null,[["@name","@connectorTagName","@outletArgs"],["user-summary-stat","li",[28,[32,2],null,[["model","user"],[[30,1,["model"]],[30,1,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,1],null,[["@name","@outletArgs"],["below-user-summary-stats",[28,[32,2],null,[["model","user"],[[30,1,["model"]],[30,1,["user"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"top-section replies-and-topics-section"],[12],[1,"\\n "],[8,[32,6],[[24,0,"replies-section pull-left"]],[["@title"],["top_replies"]],[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@type","@items","@user"],["replies",[30,1,["model","replies"]],[30,1,["user"]]]],[["default"],[[[[1,"\\n "],[8,[32,8],null,[["@createdAt","@topic","@likes","@url"],[[30,2,["createdAt"]],[30,2,["topic"]],[30,2,["like_count"]],[30,2,["url"]]]],null],[1,"\\n "]],[2]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,6],[[24,0,"topics-section pull-right"]],[["@title"],["top_topics"]],[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@type","@items","@user"],["topics",[30,1,["model","topics"]],[30,1,["user"]]]],[["default"],[[[[1,"\\n "],[8,[32,8],null,[["@createdAt","@topic","@likes","@url"],[[30,3,["created_at"]],[30,3],[30,3,["like_count"]],[30,3,["url"]]]],null],[1,"\\n "]],[3]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"top-section links-and-replied-to-section"],[12],[1,"\\n "],[8,[32,6],[[24,0,"links-section pull-left"]],[["@title"],["top_links"]],[["default"],[[[[1,"\\n"],[41,[30,1,["model","links","length"]],[[[1," "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","links"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n"],[1," "],[10,3],[14,0,"domain"],[15,6,[30,4,["url"]]],[15,"title",[30,4,["title"]]],[15,"rel",[29,["noopener ",[52,[51,[30,1,["user","removeNoFollow"]]],"nofollow ugc"]]]],[14,"target","_blank"],[15,"data-clicks",[30,4,["clicks"]]],[15,"aria-label",[28,[32,3],["topic_map.clicks"],[["count"],[[30,4,["clicks"]]]]]],[12],[1,"\\n "],[1,[28,[32,9],[[30,4,["url"]]],null]],[1,"\\n "],[13],[1,"\\n"],[1," "],[10,"br"],[12],[13],[1,"\\n\\n "],[10,3],[15,6,[30,4,["post_url"]]],[12],[1,"\\n "],[1,[28,[32,10],[[30,4,["topic","fancyTitle"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[4]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[12],[1,[28,[32,3],["user.summary.no_links"],null]],[13],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n\\n "],[8,[32,6],[[24,0,"summary-user-list replied-section pull-right"]],[["@title"],["most_replied_to_users"]],[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@none","@users"],["no_replies",[30,1,["model","most_replied_to_users"]]]],[["default"],[[[[1,"\\n "],[8,[32,12],null,[["@user","@icon","@countClass"],[[30,5],"reply","replies"]],null],[1,"\\n "]],[5]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"top-section most-liked-section"],[12],[1,"\\n "],[8,[32,6],[[24,0,"summary-user-list liked-by-section pull-left"]],[["@title"],["most_liked_by"]],[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@none","@users"],["no_likes",[30,1,["model","most_liked_by_users"]]]],[["default"],[[[[1,"\\n "],[8,[32,12],null,[["@user","@icon","@countClass"],[[30,6],"heart","likes"]],null],[1,"\\n "]],[6]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,6],[[24,0,"summary-user-list liked-section pull-right"]],[["@title"],["most_liked_users"]],[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@none","@users"],["no_likes",[30,1,["model","most_liked_users"]]]],[["default"],[[[[1,"\\n "],[8,[32,12],null,[["@user","@icon","@countClass"],[[30,7],"heart","likes"]],null],[1,"\\n "]],[7]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["model","top_categories","length"]],[[[1," "],[10,0],[14,0,"top-section top-categories-section"],[12],[1,"\\n "],[8,[32,6],[[24,0,"summary-category-list pull-left"]],[["@title"],["top_categories"]],[["default"],[[[[1,"\\n "],[10,"table"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"th"],[14,0,"category-link"],[12],[13],[1,"\\n "],[10,"th"],[14,0,"topic-count"],[12],[1,[28,[32,3],["user.summary.topics"],null]],[13],[1,"\\n "],[10,"th"],[14,0,"reply-count"],[12],[1,[28,[32,3],["user.summary.replies"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","top_categories"]]],null]],null],null,[[[1," "],[10,"tr"],[12],[1,"\\n "],[8,[32,1],null,[["@name","@outletArgs"],["user-summary-top-category-row",[28,[32,2],null,[["category","user"],[[30,8],[30,1,["user"]]]]]]],[["default"],[[[[1,"\\n "],[10,"td"],[14,0,"category-link"],[12],[1,"\\n "],[1,[28,[32,13],[[30,8]],[["allowUncategorized","hideParent"],["true",false]]]],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"topic-count"],[12],[1,"\\n "],[8,[32,14],null,[["@user","@category","@searchOnlyFirstPosts","@count"],[[30,1,["user"]],[30,8],true,[30,8,["topic_count"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"reply-count"],[12],[1,"\\n "],[8,[32,14],null,[["@user","@category","@searchOnlyFirstPosts","@count"],[[30,1,["user"]],[30,8],false,[30,8,["post_count"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[8]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["siteSettings","enable_badges"]],[[[1," "],[10,0],[14,0,"top-section badges-section"],[12],[1,"\\n "],[10,"h3"],[14,0,"stats-title"],[12],[1,[28,[32,3],["user.summary.top_badges"],null]],[13],[1,"\\n\\n"],[41,[30,1,["model","badges"]],[[[1," "],[10,0],[14,0,"badge-group-list"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","badges"]]],null]],null],null,[[[1," "],[8,[32,15],null,[["@badge","@count","@username"],[[30,9],[30,9,["count"]],[30,1,["user","username_lower"]]]],null],[1,"\\n"]],[9]],null],[1," "],[8,[32,1],null,[["@name","@outletArgs"],["after-user-summary-badges",[28,[32,2],null,[["model","user"],[[30,1,["model"]],[30,1,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[12],[1,[28,[32,3],["user.summary.no_badges"],null]],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,1,["moreBadges"]],[[[1," "],[8,[32,5],[[24,0,"more"]],[["@route","@model"],["user.badges",[30,1,["user"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],["user.summary.more_badges"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@controller","reply","topic","link","user","user","user","category","badge"],false,["if","each","-track-array","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/summary.js",scope:()=>[g.default,o.default,_.default,b.i18n,l.default,s.LinkTo,d.default,p.default,c.default,y.default,n.htmlSafe,m.default,h.default,f.default,u.default,a.default],isStrictMode:!0}),(0,T.default)(void 0,void 0)))},4187:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})})},4196:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(20936),n=i(95145),r=i(37420),a=i(29421),o=i(41277),l=i(93810),u=i(60110),d=i(29681);let c=(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"8ZY6CgB9",block:'[[[1,"\\n "],[10,0],[14,0,"names"],[12],[1,"\\n "],[10,1],[14,0,"username"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,0],null,[["@user"],[[30,1]]],[["default"],[[[[1,[30,1,["username"]]]],[]]]]],[1,"\\n"],[41,[30,1,["silenced"]],[[[1," "],[1,[28,[32,1],["ban"],[["title"],["user.silenced_tooltip"]]]],[1,"\\n"]],[]],null]],[]],[[[1," "],[1,[28,[32,2],["review.deleted_user"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[8,[32,3],null,[["@name","@connectorTagName","@outletArgs"],["after-reviewable-post-user","div",[28,[32,4],null,[["user"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],["@user"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-created-by-name.js",scope:()=>[n.default,r.default,o.i18n,s.default,a.default],isStrictMode:!0}),(0,d.default)(void 0,"reviewable-created-by-name:ReviewableCreatedByName"))},4242:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");return e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?i[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},4246:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(6809),r=i(20936),a=i(29421),o=i(93810),l=i(60110);class u extends s.default{get url(){return this.args.topic.linked_post_number?this.args.topic.urlForPostNumber(this.args.topic.linked_post_number):this.args.topic.lastUnreadUrl}static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"HAN7JBt2",block:'[[[8,[32,0],null,[["@name","@outletArgs"],["topic-link",[28,[32,1],null,[["topic"],[[30,1]]]]]],[["default"],[[[[11,3],[16,6,[30,0,["url"]]],[16,"data-topic-id",[30,1,["id"]]],[24,0,"title"],[17,2],[12],[1,[28,[32,2],[[30,1,["fancyTitle"]]],null]],[13]],[]]]]]],["@topic","&attrs"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/topic-link.js",scope:()=>[r.default,a.default,n.htmlSafe],isStrictMode:!0}),this))()}},4316:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(15330);function n(e){return(0,s.default)(e)}},4445:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(41825),r=i(74129),a=i(77598),o=i(93810),l=i(60110);class u extends s.default{writeHtml(e){let t=e.contentWindow.document;t.open("text/html","replace"),t.write(this.args.html),t.close()}static #e=(()=>dt7948.n(this.prototype,"writeHtml",[a.bind]))();static #t=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"2zu/LRV7",block:'[[[1,"\\n"],[1," "],[11,"iframe"],[24,"sandbox","allow-same-origin"],[16,0,[52,[30,1],"iframed-html"]],[17,2],[4,[32,0],[[30,0,["writeHtml"]]],null],[4,[32,1],[[30,0,["witeHtml"]],[30,1]],null],[12],[13],[1,"\\n "]],["@html","&attrs"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/iframed-html.js",scope:()=>[n.default,r.default],isStrictMode:!0}),this))()}},4491:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(93810),n=i(6809),r=i(14547),a=i(20936),o=i(37420),l=i(47290),u=i(29421),d=i(28455),c=i(60110);let p=dt7948.c(class extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,c.createTemplateFactory)({id:"jf3dMa3a",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-summary-topic-wrapper",[28,[32,1],null,[["topic","url","createdAt","likes"],[[30,1],[30,2],[30,3],[30,4]]]]]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"topic-info"],[12],[1,"\\n "],[1,[28,[32,2],[[30,3]],[["format","noTitle"],["tiny","true"]]]],[1,"\\n"],[41,[30,4],[[[1," ·\\n "],[1,[28,[32,3],["heart"],null]],[1," "],[10,1],[14,0,"like-count"],[12],[1,[28,[32,4],[[30,4]],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n "],[10,3],[15,6,[30,2]],[12],[1,[28,[32,5],[[30,1,["fancyTitle"]]],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@topic","@url","@createdAt","@likes"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-summary-topic.js",scope:()=>[a.default,u.default,l.default,o.default,d.default,n.htmlSafe],isStrictMode:!0}),this))()},[(0,r.tagName)("li")])},4547:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(83770),n=i(94204),r=i(32343),a=i(131),o=i(47182);let l=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[s.service]))();#s=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[s.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();#tg=(()=>new Set)();#tf;#t_=(()=>new n.TrackedSet)();#ty(){if(this.isDestroying||this.isDestroyed)return;let e=[...this.#tg];if(e.find(e=>e.id===this.#tf))return;let t=e.sortBy("priority").reverse().find(e=>this.canSeeUserTip(e.id))?.id;this.#tf!==t&&(this.#t_.delete(this.#tf),this.#t_.add(t),this.#tf=t)}shouldRender(e){return this.#t_.has(e)}addAvailableTip(e){this.canSeeUserTip(e.id)&&!this._findAvailableTipById(e.id)&&(this.#tg.add(e),(0,r.default)(this,this.#ty,0))}removeAvailableTip(e){this.#tg.delete(e),this.#ty()}canSeeUserTip(e){if(!this.currentUser)return!1;let t=this.site.user_tips;if(!t||this.currentUser.user_option?.skip_new_user_tips)return!1;if(!t[e])return(0,a.isTesting)()||console.warn("Cannot show user tip with id",e),!1;let i=this.currentUser.user_option?.seen_popups||[];return!(i.includes(-1)||i.includes(t[e]))}async hideUserTipForever(e){if(!this.currentUser)return;let t=this.site.user_tips;if(!t||this.currentUser.user_option?.skip_new_user_tips)return;if(!t[e])return void console.warn("Cannot hide user tip with id",e);let i=[...this.#tg].find(t=>t.id===e);this.removeAvailableTip(i),await this.markAsSeen(e)}async markAsSeen(e){if(!this.currentUser||!e)return;let t=this.site.user_tips;if(!t||this.currentUser.user_option?.skip_new_user_tips)return;let i=this.currentUser.user_option?.seen_popups||[];i.includes(t[e])||(i.push(t[e]),this.currentUser.user_option||this.currentUser.set("user_option",{}),this.currentUser.set("user_option.seen_popups",i),await this.currentUser.save(["seen_popups"]))}async skipTips(){this.currentUser&&(this.#tg.clear(),this.#t_.clear(),this.currentUser.set("user_option.skip_new_user_tips",!0),await this.currentUser.save(["skip_new_user_tips"]))}_findAvailableTipById(e){for(let t of this.#tg)if(t.id===e)return t;return null}},[o.disableImplicitInjections])},4602:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(95145),n=i(58259),r=i(37420),a=i(93810),o=i(60110),l=i(29681);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"IyuF2Yo1",block:'[[[1,"\\n "],[10,0],[14,0,"created-by"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,0],null,[["@user"],[[30,1]]],[["default"],[[[[1,[28,[32,1],[[30,1]],[["imageSize"],["large"]]]]],[]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["trash-can"],[["class"],["deleted-user-avatar"]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],["@user"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-created-by.js",scope:()=>[s.default,n.default,r.default],isStrictMode:!0}),(0,l.default)(void 0,"reviewable-created-by:ReviewableCreatedBy"))},4660:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+i}})})},4717:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A});var s=i(93810),n=i(42371),r=i(36376),a=i(6809),o=i(14547),l=i(13446),u=i(44612),d=i(82158),c=i(20936),p=i(715),h=i(58259),m=i(675),g=i(37420),f=i(47290),_=i(29421),y=i(86483),b=i(85831),w=i(77598),k=i(1933),T=i(94611),S=i(30289),C=i(60110);let A=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"moderatorAction",[(0,b.propertyEqual)("item.post_type","site.post_types.moderator_action")]))();#tb=(()=>void dt7948.i(this,"moderatorAction"))();static #t=(()=>dt7948.g(this.prototype,"actionDescription",[(0,S.actionDescription)("item.action_code","item.created_at","item.action_code_who","item.action_code_path")]))();#tv=(()=>void dt7948.i(this,"actionDescription"))();constructor(){super(...arguments),(0,k.default)(" component is deprecated. Use or component to render a post list instead.",{since:"3.4.0.beta4",dropFrom:"3.5.0.beta1",id:"discourse.user-stream-item"})}get hidden(){return this.get("item.hidden")&&!(this.currentUser&&this.currentUser.staff)}static #r=(()=>dt7948.n(this.prototype,"hidden",[(0,r.computed)("item.hidden")]))();userUrl(e,t){return(0,T.userPath)((e||t).toLowerCase())}static #a=(()=>dt7948.n(this.prototype,"userUrl",[(0,w.default)("item.draft_username","item.username")]))();static #d=(()=>(0,s.setComponentTemplate)((0,C.createTemplateFactory)({id:"KVrRBtr6",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-stream-item-above",[28,[32,1],null,[["item"],[[30,1]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"user-stream-item__header info"],[12],[1,"\\n "],[10,3],[15,6,[30,0,["userUrl"]]],[15,"data-user-card",[28,[32,2],[[30,1,["draft_username"]],[30,1,["username"]]],null]],[14,0,"avatar-link"],[12],[1,"\\n "],[10,0],[14,0,"avatar-wrapper"],[12],[1,"\\n "],[1,[28,[32,3],[[30,1]],[["imageSize","extraClasses","ignoreTitle"],["large","actor","true"]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"user-stream-item__details"],[12],[1,"\\n "],[10,0],[14,0,"stream-topic-title"],[12],[1,"\\n "],[8,[32,4],null,[["@topic","@disableActions"],[[30,1],true]],null],[1,"\\n "],[10,1],[14,0,"title"],[12],[1,"\\n"],[41,[30,1,["postUrl"]],[[[1," "],[10,3],[15,6,[30,1,["postUrl"]]],[12],[1,[28,[32,5],[[30,1,["title"]]],null]],[13],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,5],[[30,1,["title"]]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"category"],[12],[1,[28,[32,6],[[30,1,["category"]]],null]],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["draftType"]],[[[1," "],[10,1],[14,0,"draft-type"],[12],[1,[28,[32,7],[[30,1,["draftType"]]],null]],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,8],null,[["@item"],[[30,1]]],null],[1,"\\n"]],[]]],[1,"\\n "],[10,0],[14,0,"user-stream-item__metadata"],[12],[1,"\\n "],[10,1],[14,0,"time"],[12],[1,[28,[32,9],[[30,1,["created_at"]]],null]],[13],[1,"\\n\\n"],[41,[30,1,["deleted_by"]],[[[1," "],[10,1],[14,0,"delete-info"],[12],[1,"\\n "],[1,[28,[32,10],["trash-can"],null]],[1,"\\n "],[1,[28,[32,3],[[30,1,["deleted_by"]]],[["imageSize","extraClasses","ignoreTitle"],["tiny","actor","true"]]]],[1,"\\n "],[1,[28,[32,9],[[30,1,["deleted_at"]]],[["leaveAgo"],["true"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-stream-item-header","div",[28,[32,1],null,[["item"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["actionDescription"]],[[[1," "],[10,2],[14,0,"excerpt"],[12],[1,[30,0,["actionDescription"]]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,2],[15,"data-topic-id",[30,1,["topic_id"]]],[15,"data-post-id",[30,1,["post_id"]]],[15,"data-user-id",[30,1,["user_id"]]],[14,0,"excerpt"],[12],[41,[30,1,["expandedExcerpt"]],[[[1,[28,[32,7],[[30,1,["expandedExcerpt"]]],null]]],[]],[[[1,[28,[32,7],[[30,1,["excerpt"]]],null]]],[]]],[13],[1,"\\n\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["children"]]],null]],null],null,[[[1," "],[10,0],[14,0,"user-stream-item-actions child-actions"],[12],[1,"\\n "],[1,[28,[32,10],[[30,2,["icon"]]],[["class"],["icon"]]]],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,2,["items"]]],null]],null],null,[[[1," "],[10,3],[15,6,[30,3,["userUrl"]]],[15,"data-user-card",[30,3,["username"]]],[14,0,"avatar-link"],[12],[1,"\\n "],[10,0],[14,0,"avatar-wrapper"],[12],[1,"\\n "],[1,[28,[32,3],[[30,3]],[["imageSize","extraClasses","ignoreTitle","avatarTemplatePath"],["tiny","actor","true","acting_avatar_template"]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,3,["edit_reason"]],[[[1," —\\n "],[10,1],[14,0,"edit-reason"],[12],[1,[30,3,["edit_reason"]]],[13]],[]],null],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n"]],[2]],null],[1,"\\n"],[41,[30,1,["editableDraft"]],[[[1," "],[10,0],[14,0,"user-stream-item-draft-actions"],[12],[1,"\\n "],[8,[32,11],[[24,0,"btn-default resume-draft"]],[["@action","@icon","@label"],[[28,[32,12],[[30,4],[30,1]],null],"pencil","drafts.resume"]],null],[1,"\\n "],[8,[32,11],[[24,0,"btn-danger remove-draft"]],[["@action","@icon","@title"],[[28,[32,12],[[30,5],[30,1]],null],"trash-can","drafts.remove"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[18,6,null],[1,"\\n "]],["@item","child","grandChild","@resumeDraft","@removeDraft","&bottom"],false,["if","each","-track-array","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-stream-item.js",scope:()=>[c.default,_.default,l.or,h.default,p.default,y.default,m.default,a.htmlSafe,d.default,f.default,g.default,u.default,n.fn],isStrictMode:!0}),this))()},[(0,o.classNameBindings)(":user-stream-item",":item","hidden","item.deleted:deleted","moderatorAction"),(0,o.tagName)("li")])},4720:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(41277),n=i(93810),r=i(60110),a=i(29681);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"ebu5JPrm",block:'[[[1,"\\n "],[10,0],[12],[1,"\\n "],[10,2],[12],[1,[28,[32,0],["user.invited.link_generated"],null]],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[10,"input"],[15,2,[30,1]],[14,0,"invite-link-input"],[14,"autofocus","autofocus"],[14,4,"text"],[12],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,2],[[[1," "],[10,2],[12],[1,[28,[32,0],["user.invited.valid_for"],[["email"],[[30,2]]]]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],["@link","@email"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/generated-invite-link.js",scope:()=>[s.i18n],isStrictMode:!0}),(0,a.default)(void 0,"generated-invite-link:GeneratedInviteLink"))},4747:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})})},4769:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21044),n=i(42371),r=i(93558),a=i(36376),o=i(54695),l=i(83770),u=i(93810),d=i(60110);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[l.service]))();#i=(()=>void dt7948.i(this,"router"))();get fieldData(){let{item:e,column:t}=this.args;return e?.user?.user_fields?.[t.user_field_id]}get values(){let e=this.fieldData;return e&&e.value?e.value.toString().split(",").map(e=>e.replace(/-/g," ")).map(e=>e.trim()):null}get isSearchable(){return this.fieldData?.searchable}refreshRoute(e){this.router.transitionTo({queryParams:{name:e}})}static #t=(()=>dt7948.n(this.prototype,"refreshRoute",[a.action]))();static #r=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"m4/JK1bj",block:'[[[1,"\\n "],[10,1],[14,0,"directory-table__value--user-field"],[12],[1,"\\n"],[41,[30,0,["values"]],[[[41,[30,0,["isSearchable"]],[[[42,[28,[31,2],[[28,[31,2],[[30,0,["values"]]],null]],null],null,[[[1," "],[8,[32,0],[[24,0,"directory-value-list-item"],[4,[32,2],["click",[28,[32,3],[[30,0,["refreshRoute"]],[30,1]],null]],null]],[["@route","@query"],["users",[28,[32,1],null,[["name"],[[30,1]]]]]],[["default"],[[[[1,[30,1]]],[]]]]],[1,"\\n"]],[1]],null]],[]],[[[1," "],[1,[30,0,["values"]]],[1,"\\n"]],[]]]],[]],[[[1," -\\n"]],[]]],[1," "],[13],[1,"\\n "]],["value"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/directory-item-user-field-value.js",scope:()=>[o.LinkTo,n.hash,r.on,n.fn],isStrictMode:!0}),this))()}},4885:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(13446),r=i(80947),a=i(77014),o=i(675),l=i(82908),u=i(39532),d=i(93810),c=i(60110);class p extends s.default{get displayName(){if(!0===this.args.unstyled)return(0,l.default)(this.args.category.displayName);let e=(0,o.categoryBadgeHTML)(this.args.category,{allowUncategorized:!0,link:!1});return(0,l.default)(e,{htmlSafe:"true"})}static #e=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"Bq2tFu3b",block:'[[[1,"\\n"],[44,[[28,[32,0],[[28,[32,1],[[30,1],"h3"],null]],null]],[[[1," "],[8,[30,2],null,null,[["default"],[[[[1,"\\n "],[10,3],[14,0,"category-title-link"],[15,6,[30,3,["url"]]],[12],[1,"\\n "],[10,0],[14,0,"category-text-title"],[12],[1,"\\n "],[8,[32,2],null,[["@category"],[[30,3]]],null],[1,"\\n "],[10,1],[14,0,"category-name"],[12],[1,[30,0,["displayName"]]],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,3,["uploaded_logo","url"]],[[[1," "],[8,[32,3],null,[["@category"],[[30,3]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[2]]],[1," "]],["@tagName","TagName","@category"],false,["let","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/category-title-link.js",scope:()=>[u.default,n.or,a.default,r.default],isStrictMode:!0}),this))()}p.prototype.lockIcon="lock"},4889:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(62069),n=i(82938),r=i(1512),a=i(9015),o=i(93810),l=i(60110),u=i(29681);let d=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"ovuFvqPb",block:'[[[1,"\\n"],[41,[30,1,["can_see_invite_details"]],[[[1," "],[1,[28,[32,0],["user-invites-page"],null]],[1,"\\n\\n "],[10,0],[14,0,"user-navigation user-navigation-secondary"],[12],[1,"\\n "],[8,[32,1],null,[["@ariaLabel"],["User secondary - invites"]],[["default"],[[[[1,"\\n "],[8,[32,2],null,[["@route","@routeParam","@i18nLabel"],["userInvited.show","pending",[30,1,["pendingLabel"]]]],null],[1,"\\n "],[8,[32,2],null,[["@route","@routeParam","@i18nLabel"],["userInvited.show","expired",[30,1,["expiredLabel"]]]],null],[1,"\\n "],[8,[32,2],null,[["@route","@routeParam","@i18nLabel"],["userInvited.show","redeemed",[30,1,["redeemedLabel"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[46,[28,[31,2],null,null],null,null,null],[1,"\\n "]],["@controller"],false,["if","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user-invited.js",scope:()=>[a.default,n.default,r.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},4897:e=>{e.exports=function(e){var t=String.prototype.split,i=/()??/.exec("")[1]===e;return function(s,n,r){if("[object RegExp]"!==Object.prototype.toString.call(n))return t.call(s,n,r);var a,o,l,u,d=[],c=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.extended?"x":"")+(n.sticky?"y":""),p=0,n=RegExp(n.source,c+"g");for(s+="",i||(a=RegExp("^"+n.source+"$(?!\\s)",c)),r=r===e?0xffffffff:r>>>0;(o=n.exec(s))&&(!((l=o.index+o[0].length)>p)||(d.push(s.slice(p,o.index)),!i&&o.length>1&&o[0].replace(a,function(){for(var t=1;t1&&o.index=r)));)n.lastIndex===o.index&&n.lastIndex++;return p===s.length?(u||!n.test(""))&&d.push(""):d.push(s.slice(p)),d.length>r?d.slice(0,r):d}}()},4913:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(21044),n=i(93810),r=i(36376),a=i(83770),o=i(97717),l=i.n(o),u=i(94204),d=i(44612),c=i(28431),p=i(95538),h=i(28116),m=i(38006),g=i(92161),f=i(46592),_=i(41277),y=i(60110);class b extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#l=(()=>void dt7948.i(this,"dialog"))();status=(()=>new u.TrackedObject({...this.args.model.status}))();timeShortcuts=this.#tw();_itsatrap=(()=>new(l()))();willDestroy(){super.willDestroy(...arguments),this._itsatrap.destroy()}get showDeleteButton(){return!!this.args.model.status}get prefilledDateTime(){return this.status?.ends_at}get saveDisabled(){return!this.status?.emoji||!this.status?.description}get customTimeShortcutLabels(){return{[f.TIME_SHORTCUT_TYPES.NONE]:"time_shortcut.never"}}get hiddenTimeShortcutOptions(){return[f.TIME_SHORTCUT_TYPES.LAST_CUSTOM]}#tw(){let e=(0,f.timeShortcuts)(this.currentUser.user_option.timezone);return[e.oneHour(),e.twoHours(),e.tomorrow()]}#tk(e){"string"==typeof e?this.dialog.alert(e):(0,g.popupAjaxError)(e)}onTimeSelected(e,t){this.status.endsAt=t}static #r=(()=>dt7948.n(this.prototype,"onTimeSelected",[r.action]))();async delete(){try{await this.args.model.deleteAction(),this.args.closeModal()}catch(e){this.#tk(e)}}static #a=(()=>dt7948.n(this.prototype,"delete",[r.action]))();async saveAndClose(){let e={description:this.status.description,emoji:this.status.emoji,ends_at:this.status.endsAt?.toISOString()};try{await this.args.model.saveAction(e,this.args.model.pauseNotifications),this.args.closeModal()}catch(e){this.#tk(e)}}static #d=(()=>dt7948.n(this.prototype,"saveAndClose",[r.action]))();static #g=(()=>(0,n.setComponentTemplate)((0,y.createTemplateFactory)({id:"E4QRpmnx",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"user-status"]],[["@title","@closeModal"],[[28,[32,1],["user_status.set_custom_status"],null],[30,1]]],[["body","footer"],[[[[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[8,[32,2],null,[["@status"],[[30,0,["status"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,2,["hidePauseNotifications"]]],[[[1," "],[10,0],[14,0,"control-group pause-notifications"],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,3],null,[["@type","@checked"],["checkbox",[30,2,["pauseNotifications"]]]],null],[1,"\\n "],[1,[28,[32,1],["user_status.pause_notifications"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"control-group control-group-remove-status"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,"\\n "],[1,[28,[32,1],["user_status.remove_status"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,4],null,[["@timeShortcuts","@hiddenOptions","@customLabels","@prefilledDatetime","@onTimeSelected","@_itsatrap"],[[30,0,["timeShortcuts"]],[30,0,["hiddenTimeShortcutOptions"]],[30,0,["customTimeShortcutLabels"]],[30,0,["prefilledDateTime"]],[30,0,["onTimeSelected"]],[30,0,["_itsatrap"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,5],[[24,0,"btn-primary"]],[["@label","@disabled","@action"],["user_status.save",[30,0,["saveDisabled"]],[30,0,["saveAndClose"]]]],null],[1,"\\n\\n "],[8,[32,6],null,[["@close"],[[30,1]]],null],[1,"\\n\\n"],[41,[30,0,["showDeleteButton"]],[[[1," "],[8,[32,5],[[24,0,"delete-status btn-danger"]],[["@icon","@action"],["trash-can",[30,0,["delete"]]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,["unless","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/user-status.js",scope:()=>[c.default,_.i18n,m.default,n.Input,h.default,d.default,p.default],isStrictMode:!0}),this))()}},4927:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(21044),n=i(83770),r=i(13446),a=i(31889),o=i(29421),l=i(45577),u=i(91002),d=i(20936),c=i(46709),p=i(74660),h=i(65618),m=i(75009),g=i(93810),f=i(60110);class _ extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #r=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #a=(()=>dt7948.g(this.prototype,"header",[n.service]))();#tT=(()=>void dt7948.i(this,"header"))();static #d=(()=>dt7948.g(this.prototype,"router",[n.service]))();#i=(()=>void dt7948.i(this,"router"))();static #g=(()=>dt7948.g(this.prototype,"navigationMenu",[n.service]))();#tS=(()=>void dt7948.i(this,"navigationMenu"))();static #T=(()=>dt7948.g(this.prototype,"search",[n.service]))();#tC=(()=>void dt7948.i(this,"search"))();get sidebarIcon(){return this.navigationMenu.isDesktopDropdownMode?"discourse-sidebar":"bars"}get minimized(){return(0,l.applyValueTransformer)("home-logo-minimized",this.args.topicInfoVisible,{topicInfo:this.args.topicInfo,sidebarEnabled:this.args.sidebarEnabled,showSidebar:this.args.showSidebar})}get showHeaderSearch(){return!(this.site.mobileView||this.args.narrowDesktop||this.router.currentURL?.match(/\/(signup|login|invites|activate-account)/))&&!this.search.welcomeBannerSearchInViewport&&("search_field"===this.search.searchExperience&&!this.args.topicInfoVisible&&!this.search.welcomeBannerSearchInViewport||void 0)}static #C=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"nuDlol7x",block:'[[[1,"\\n "],[10,0],[14,0,"contents"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs","@deprecatedArgs"],["header-contents__before",[28,[32,1],null,[["topicInfo","topicInfoVisible"],[[30,1],[30,2]]]],[28,[32,1],null,[["topic"],[[28,[32,2],null,[["value","message","id","since","dropFrom","silence"],[[30,0,["header","topic"]],"The argument \'topic\' is deprecated on the outlet \'header-contents__before\', use \'topicInfo\' or \'topicInfoVisible\' instead","discourse.plugin-connector.deprecated-arg.header-contents.topic","3.3.0.beta4-dev","3.4.0","discourse.header-service-topic"]]]]]]]],null],[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[41,[30,3],[[[1," "],[8,[32,3],null,[["@toggleNavigationMenu","@showSidebar","@icon"],[[30,4],[30,5],[30,0,["sidebarIcon"]]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[10,0],[14,0,"home-logo-wrapper-outlet"],[12],[1,"\\n "],[8,[32,0],null,[["@name"],["home-logo-wrapper"]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@minimized"],[[30,0,["minimized"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,2],[[[1," "],[8,[32,5],null,[["@topicInfo"],[[30,1]]],null],[1,"\\n"]],[]],[[[41,[28,[32,6],[[30,0,["siteSettings","bootstrap_mode_enabled"]],[30,0,["currentUser","staff"]],[30,0,["site","desktopView"]]],null],[[[1," "],[10,0],[14,0,"d-header-mode"],[12],[1,"\\n "],[8,[32,7],null,null,null],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]],[1,"\\n"],[41,[30,0,["showHeaderSearch"]],[[[1," "],[8,[32,8],null,null,null],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"before-header-panel-outlet"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs","@deprecatedArgs"],["before-header-panel",[28,[32,1],null,[["topicInfo","topicInfoVisible"],[[30,1],[30,2]]]],[28,[32,1],null,[["topic"],[[28,[32,2],null,[["value","message","id","since","dropFrom","silence"],[[30,0,["header","topic"]],"The argument \'topic\' is deprecated on the outlet \'before-header-panel\', use \'topicInfo\' or \'topicInfoVisible\' instead","discourse.plugin-connector.deprecated-arg.header-contents.topic","3.3.0.beta4-dev","3.4.0","discourse.header-service-topic"]]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"panel"],[14,"role","navigation"],[12],[18,6,null],[13],[1,"\\n "],[10,0],[14,0,"after-header-panel-outlet"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs","@deprecatedArgs"],["after-header-panel",[28,[32,1],null,[["topicInfo","topicInfoVisible"],[[30,1],[30,2]]]],[28,[32,1],null,[["topic"],[[28,[32,2],null,[["value","message","id","since","dropFrom","silence"],[[30,0,["header","topic"]],"The argument \'topic\' is deprecated on the outlet \'after-header-panel\', use \'topicInfo\' or \'topicInfoVisible\' instead","discourse.plugin-connector.deprecated-arg.header-contents.topic","3.3.0.beta4-dev","3.4.0","discourse.header-service-topic"]]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs","@deprecatedArgs"],["header-contents__after",[28,[32,1],null,[["topicInfo","topicInfoVisible"],[[30,1],[30,2]]]],[28,[32,1],null,[["topic"],[[28,[32,2],null,[["value","message","id","since","dropFrom","silence"],[[30,0,["header","topic"]],"The argument \'topic\' is deprecated on the outlet \'header-contents__after\', use \'topicInfo\' or \'topicInfoVisible\' instead","discourse.plugin-connector.deprecated-arg.header-contents.topic","3.3.0.beta4-dev","3.4.0","discourse.header-service-topic"]]]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@topicInfo","@topicInfoVisible","@sidebarEnabled","@toggleNavigationMenu","@showSidebar","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/contents.js",scope:()=>[d.default,o.default,a.default,h.default,p.default,m.default,r.and,u.default,c.default],isStrictMode:!0}),this))()}},5020:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},5021:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(18891),n=i(36376),r=i(83770);class a extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#i=(()=>void dt7948.i(this,"router"))();newTagGroup(){this.router.transitionTo("tagGroups.new")}static #t=(()=>dt7948.n(this.prototype,"newTagGroup",[n.action]))()}},5032:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(60533);function n(e,t){if("number"!=typeof e)throw Error(`The theme-setting helper is not supported in this context. In a theme .gjs file, use '{{settings.${e}}}' instead. 'settings' is available automatically, and does not need to be imported. `);return(0,s.getSetting)(e,t)}},5033:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(83770),n=i(3558),r=i(66831),a=i(21847),o=i(21772),l=i(41277);class u extends o.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();titleToken(){return(0,l.i18n)("invites.accept_title")}model(e){return a.default.get("invite_info")?a.default.getAndRemove("invite_info").then(t=>(0,r.deepMerge)(e,t)):(0,n.ajax)(`/invites/${e.token}`).then(t=>(0,r.deepMerge)(e,t))}activate(){super.activate(...arguments),this.siteSettings.login_required&&this.controllerFor("application").setProperties({showSiteHeader:!1})}deactivate(){super.deactivate(...arguments),this.siteSettings.login_required&&this.controllerFor("application").setProperties({showSiteHeader:!0})}setupController(e,t){super.setupController(...arguments),e.accountUsername=t.username,t.user_fields&&e.userFields.forEach(e=>{t.user_fields[e.field.id]&&(e.value=t.user_fields[e.field.id])})}}},5047:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a}),i(63847),i(71620),i(7950),i(12003),i(5963),i(56742);var s=i(14675);i(5840);var n=i(37349),r=i(58462);let a=n.default.create({childViews:(0,s.B)({configurable:!1,enumerable:!1,get(){return(0,r.getChildViews)(this)}}),appendChild(e){(0,r.addChildView)(this,e)}})},5091:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(73078);class n extends s.default{_opts(){return{defaultDate:moment(this.defaultDate,"YYYY-MM-DD").toDate()||new Date,setDefaultDate:!!this.defaultDate,maxDate:new Date}}}},5127:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(83770),n=i(21772);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#i=(()=>void dt7948.i(this,"router"))();afterModel(){let e=this.paramsFor("editCategory");this.router.replaceWith(`/c/${e.slug}/edit/general`)}}},5137:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(42371),n=i(62069),r=i(68873),a=i(81201),o=i(41277),l=i(93810),u=i(60110),d=i(29681);let c=(0,n.default)((0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"T2ZgEN0R",block:'[[[1,"\\n "],[8,[32,0],null,[["@action"],[[28,[32,1],[[30,1,["closeMessage"]],[30,1,["message"]]],null]]],null],[1,"\\n\\n "],[10,"h3"],[12],[1,[28,[32,2],["composer.similar_topics"],null]],[13],[1,"\\n\\n "],[10,"ul"],[14,0,"topics"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["message","similarTopics"]]],null]],null],null,[[[1," "],[10,0],[14,0,"similar-topic"],[12],[1,"\\n "],[8,[32,3],null,[["@result","@withTopicUrl"],[[30,2],true]],null],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "]],["@controller","topic"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/composer/similar-topics.js",scope:()=>[r.default,s.fn,o.i18n,a.default],isStrictMode:!0}),(0,d.default)(void 0,void 0)))},5149:(e,t,i)=>{"use strict";i.r(t),i.d(t,{registerReportModeComponent:()=>n,reportModeComponent:()=>a,resetAdditionalReportModes:()=>r});let s=new Map;function n(e,t){s.set(e,t)}function r(){s.clear()}function a(e){return s.get(e)}},5221:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(3558),n=i(32343);let r=[],a=0,o={enqueue(e,t,i){r.length>=40&&r.splice(0,1)[0].forEach(e=>{e.runnable()(429)}),r.push({runnable:()=>i,type:e,params:t}),(0,n.default)(this,this._processQueue,50)},_processQueue(){if(0===r.length||a>=3)return;a++;let e=r.splice(0,4);r.length>0&&(0,n.default)(this,this._processQueue,50);let t={};e.forEach(e=>{t[e.type]=e.params}),(0,s.ajax)("/admin/reports/bulk",{data:{reports:t}}).then(t=>{e.forEach(e=>{let i=t.reports.findBy("type",e.type);e.runnable()(i)})}).catch(t=>{e.forEach(e=>{t.jqXHR&&429===t.jqXHR.status?e.runnable()(429):t.jqXHR&&500===t.jqXHR.status?e.runnable()(500):e.runnable()()})}).finally(()=>{a--,(0,n.default)(this,this._processQueue,50)})},_reset(){r=[],a=0}}},5280:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n}),i(36376),i(63847),i(71620),i(7950),i(12003),i(5963),i(56742);var s=i(14675);function n(e){if(null==e)return!0;if(!(0,s.h)(e)&&"number"==typeof e.size)return!e.size;if("object"==typeof e){let t=(0,s.g)(e,"size");if("number"==typeof t)return!t;let i=(0,s.g)(e,"length");if("number"==typeof i)return!i}return"number"==typeof e.length&&"function"!=typeof e&&!e.length}i(5840)},5350:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(36376),n=i(6809),r=i(14547),a=i(81772),o=i(52841),l=i(93810),u=i(60110);let d=dt7948.c(class extends o.default{extraClass="selected-choice-category";get badge(){return(0,n.htmlSafe)((0,a.categoryBadgeHTML)(this.item,{allowUncategorized:!0,link:!1}))}static #e=(()=>dt7948.n(this.prototype,"badge",[(0,s.computed)("item")]))();static #t=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"BnURfBIN",block:'[[[1,"\\n "],[8,[32,0],null,[["@item","@selectKit","@extraClass"],[[30,0,["item"]],[30,0,["selectKit"]],[30,0,["extraClass"]]]],[["default"],[[[[1,"\\n "],[1,[30,0,["badge"]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/selected-choice-category.js",scope:()=>[o.default],isStrictMode:!0}),this))()},[(0,r.tagName)("")])},5365:(e,t,i)=>{"use strict";i.d(t,{n:()=>s.A});var s=i(14277);i(68151)},5367:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(93810),n=i(36376),r=i(31862),a=i(83770),o=i(14547),l=i(26962),u=i(27494),d=i.n(u),c=i(32343),p=i(77598),h=i(80212),m=i(81076),g=i(51636),f=i(32034),_=i(60110);let y=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #t=(()=>dt7948.g(this.prototype,"composer",[a.service]))();#c=(()=>void dt7948.i(this,"composer"))();composerOpen=null;info=(()=>n.default.create())();canRender=!0;_lastTopicId=null;_swipeEvents=null;didUpdateAttrs(){super.didUpdateAttrs(...arguments),this._lastTopicId!==this.topic.id&&(this._lastTopicId=this.topic.id,this.set("canRender",!1),(0,r.next)(()=>{this.set("canRender",!0),this._performCheckSize()}))}_performCheckSize(){if(this.element&&!this.isDestroying&&!this.isDestroyed){if(this.info.topicProgressExpanded)this.info.set("renderTimeline",!0);else if(this.site.mobileView)this.info.set("renderTimeline",!1);else{let e=document.querySelector("#reply-control")?.offsetHeight||0,t=window.innerHeight-e-(0,m.headerOffset)();this.composer.isPreviewVisible?this.info.set("renderTimeline",this.mediaQuery.matches&&t>325):this.info.set("renderTimeline",this.mediaQuery.matches)}this.info.set("withTopicProgress",!this.info.renderTimeline&&this.topic.posts_count>1)}}_checkSize(){(0,c.default)(this,this._performCheckSize,200,!0)}static #r=(()=>dt7948.n(this.prototype,"_checkSize",[p.bind]))();_topicScrolled(e){this.set("info.prevEvent",e)}_expanded(){this.get("info.topicProgressExpanded")?d()(window).on("click.hide-fullscreen",e=>{let t=d()(e.target),i=t.parents();!(!t.is(".widget-button")&&!i.is(".widget-button")&&!i.is("#discourse-modal")&&!t.is("#discourse-modal")&&(t.is(".topic-timeline")||!i.is("#topic-progress-wrapper")))||i.is(".timeline-open-jump-to-post-prompt-btn")||t.is(".timeline-open-jump-to-post-prompt-btn")||this._collapseFullscreen()}):d()(window).off("click.hide-fullscreen"),this._checkSize()}static #a=(()=>dt7948.n(this.prototype,"_expanded",[(0,l.observes)("info.topicProgressExpanded")]))();composerOpened(){this.set("composerOpen",!0),this._checkSize()}composerClosed(){this.set("composerOpen",!1),this._checkSize()}_collapseFullscreen(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;this.get("info.topicProgressExpanded")&&(d()(".timeline-fullscreen").removeClass("show"),(0,h.default)(()=>{!this.element||this.isDestroying||this.isDestroyed||(this.set("info.topicProgressExpanded",!1),this._checkSize())},t))}keyboardTrigger(e){"jump"===e.type&&this.modal.show(f.default,{model:{topic:this.topic,jumpToIndex:this.jumpToIndex,jumpToDate:this.jumpToDate}})}onSwipeStart(e){let t=e.detail,i=t.originalEvent.target;if(i.classList.contains("docked")||!i.closest(".timeline-container"))return void e.preventDefault();t.originalEvent.preventDefault(),document.elementFromPoint(t.center.x,t.center.y).closest(".timeline-scrollarea-wrapper")?e.preventDefault():("up"===t.direction||"down"===t.direction)&&(this.movingElement=document.querySelector(".timeline-container"))}static #d=(()=>dt7948.n(this.prototype,"onSwipeStart",[p.bind]))();onSwipeCancel(){let e=this._swipeEvents.getMaxAnimationTimeMs();document.querySelector(".timeline-container").animate([{transform:"translate3d(0, 0, 0)"}],{duration:e,fill:"forwards",easing:"ease-out"})}static #g=(()=>dt7948.n(this.prototype,"onSwipeCancel",[p.bind]))();onSwipeEnd(e){let t=e.detail,i=document.querySelector(".timeline-container"),s=i.offsetHeight,n=this._swipeEvents.getMaxAnimationTimeMs();if(this._swipeEvents.shouldCloseMenu(t,"bottom")){let e=s-this.pxClosed;n=this._swipeEvents.getMaxAnimationTimeMs(e/Math.abs(t.velocityY)),i.animate([{transform:`translate3d(0, ${s}px, 0)`}],{duration:n,fill:"forwards"}).finished.then(()=>this._collapseFullscreen(null,0))}else{let e=this.pxClosed;n=this._swipeEvents.getMaxAnimationTimeMs(e/Math.abs(t.velocityY)),i.animate([{transform:"translate3d(0, 0, 0)"}],{duration:n,fill:"forwards",easing:"ease-out"})}}static #T=(()=>dt7948.n(this.prototype,"onSwipeEnd",[p.bind]))();onSwipe(e){let t=e.detail;t.originalEvent.preventDefault(),this.pxClosed=Math.max(0,t.deltaY),this.movingElement.animate([{transform:`translate3d(0, ${this.pxClosed}px, 0)`}],{fill:"forwards"})}static #C=(()=>dt7948.n(this.prototype,"onSwipe",[p.bind]))();didInsertElement(){super.didInsertElement(...arguments),this._lastTopicId=this.topic.id,this.appEvents.on("topic:current-post-scrolled",this,this._topicScrolled).on("topic:jump-to-post",this,this._collapseFullscreen).on("topic:keyboard-trigger",this,this.keyboardTrigger),this.site.desktopView&&(this.mediaQuery=matchMedia("(min-width: 925px)"),this.mediaQuery.addEventListener("change",this._checkSize),this.appEvents.on("composer:opened",this,this.composerOpened),this.appEvents.on("composer:resize-ended",this,this.composerOpened),this.appEvents.on("composer:closed",this,this.composerClosed),this.appEvents.on("composer:preview-toggled",this._checkSize),d()("#reply-control").on("div-resized",this._checkSize)),this._checkSize(),this._swipeEvents=new g.default(this.element),this.site.mobileView&&(this._swipeEvents.addTouchListeners(),this.element.addEventListener("swipestart",this.onSwipeStart),this.element.addEventListener("swipeend",this.onSwipeEnd),this.element.addEventListener("swipecancel",this.onSwipeCancel),this.element.addEventListener("swipe",this.onSwipe))}willDestroyElement(){super.willDestroyElement(...arguments),this.appEvents.off("topic:current-post-scrolled",this,this._topicScrolled).off("topic:jump-to-post",this,this._collapseFullscreen).off("topic:keyboard-trigger",this,this.keyboardTrigger),d()(window).off("click.hide-fullscreen"),this.site.desktopView&&(this.mediaQuery.removeEventListener("change",this._checkSize),this.appEvents.off("composer:opened",this,this.composerOpened),this.appEvents.off("composer:resize-ended",this,this.composerOpened),this.appEvents.off("composer:closed",this,this.composerClosed),this.appEvents.off("composer:preview-toggled",this._checkSize),d()("#reply-control").off("div-resized",this._checkSize)),this.site.mobileView&&(this.element.removeEventListener("swipestart",this.onSwipeStart),this.element.removeEventListener("swipeend",this.onSwipeEnd),this.element.removeEventListener("swipecancel",this.onSwipeCancel),this.element.removeEventListener("swipe",this.onSwipe),this._swipeEvents.removeTouchListeners())}static #A=(()=>(0,s.setComponentTemplate)((0,_.createTemplateFactory)({id:"P+B4D8qp",block:'[[[1,"\\n"],[41,[30,0,["canRender"]],[[[1," "],[18,1,[[30,0,["info"]]]],[1,"\\n"]],[]],null],[1," "]],["&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-navigation.js",isStrictMode:!0}),this))()},[(0,o.classNameBindings)("info.topicProgressExpanded:topic-progress-expanded","info.renderTimeline:with-timeline","info.withTopicProgress:with-topic-progress")])},5397:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(36376),n=i(14547),r=i(12525),a=i.n(r),o=i(93208),l=i(66185);let u=dt7948.c(class extends o.default{init(){super.init(...arguments),this.triggerSearch()}didUpdateAttrs(){super.didUpdateAttrs(...arguments),this.set("templatesLoaded",!1),this.triggerSearch()}get content(){return this.templates}static #e=(()=>dt7948.n(this.prototype,"content",[(0,s.computed)("templates")]))();search(e){return this.get("templatesLoaded")?super.search(e):this._fetchTemplates()}async _fetchTemplates(){if(this.get("loadingTemplates"))return;this.set("templatesLoaded",!1),this.set("loadingTemplates",!0);let e=await a().findAll(),t=this._sortTemplatesByName(e);return this.filteredIds&&(t=t.filter(e=>this.filteredIds.includes(e.id))),0===t.length&&this.set("selectKit.options.disabled",!0),this.setProperties({templates:t,loadingTemplates:!1,templatesLoaded:!0}),this.templates}_sortTemplatesByName(e){return e.sort((e,t)=>e.name.localeCompare(t.name))}},[(0,l.pluginApiIdentifiers)("form-template-chooser"),(0,l.selectKitOptions)({none:"form_template_chooser.select_template"}),(0,n.classNames)("form-template-chooser")])},5447:(e,t,i)=>{var s=i(84419),n=i(37984),r=i(57955),a=i(353);function o(e,t){"function"==typeof t.destroy&&n(t)&&t.destroy(e)}e.exports=function(e,t,i){var n=e.type,l=e.vNode,u=e.patch;switch(n){case r.REMOVE:return function(e,t){var i=e.parentNode;return i&&i.removeChild(e),o(e,t),null}(t,l);case r.INSERT:return function(e,t,i){var s=i.render(t,i);return e&&e.appendChild(s),e}(t,u,i);case r.VTEXT:return function(e,t,i,s){var n;if(3===e.nodeType)e.replaceData(0,e.length,i.text),n=e;else{var r=e.parentNode;n=s.render(i,s),r&&n!==e&&r.replaceChild(n,e)}return n}(t,0,u,i);case r.WIDGET:return function(e,t,i,s){var n,r=a(t,i);n=r?i.update(t,e)||e:s.render(i,s);var l=e.parentNode;return l&&n!==e&&l.replaceChild(n,e),r||o(e,t),n}(t,l,u,i);case r.VNODE:return function(e,t,i,s){var n=e.parentNode,r=s.render(i,s);return n&&r!==e&&n.replaceChild(r,e),r}(t,0,u,i);case r.ORDER:return function(e,t){for(var i,s,n,r=e.childNodes,a={},o=0;o=l++?null:r[n.to])}(t,u),t;case r.PROPS:return s(t,u,l.properties),t;case r.THUNK:return function(e,t){return e&&t&&e!==t&&e.parentNode&&e.parentNode.replaceChild(t,e),t}(t,i.patch(t,u,i));default:return t}}},5464:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(14547),n=i(35372);let r=dt7948.c(class extends n.default{},[(0,s.classNames)("font-selector-row")])},5579:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(42946),n=i(83770);class r{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"appEvents",[n.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #r=(()=>dt7948.g(this.prototype,"router",[n.service]))();#i=(()=>void dt7948.i(this,"router"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #d=(()=>dt7948.g(this.prototype,"topicTrackingState",[n.service]))();#tA=(()=>void dt7948.i(this,"topicTrackingState"))();constructor(e){let{inMoreDrawer:t,overridenName:i,overridenIcon:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.setOwner)(this,e),this.inMoreDrawer=t,this.overridenName=i,this.overridenIcon=n}onTopicTrackingStateChange(){}teardown(){}get name(){this._notImplemented()}get shouldDisplay(){return!0}get route(){}get href(){}get model(){}get models(){}get query(){return{}}get currentWhen(){}get title(){this._notImplemented()}get text(){this._notImplemented()}get badgeText(){}get prefixType(){return"icon"}get defaultPrefixValue(){return"link"}get prefixValue(){return this.overridenIcon||this.defaultPrefixValue}_notImplemented(){throw"not implemented"}}},5582:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={after:"message-bus",initialize(e){if(!navigator.setAppBadge)return;let t=e.lookup("service:current-user");t&&e.lookup("service:app-events").on("notifications:changed",()=>{let e;e=t.all_unread_notifications_count,t.unseen_reviewable_count&&(e+=t.unseen_reviewable_count),navigator.setAppBadge(e)})}}},5613:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(39284);let n=(0,s.default)("user","private-messages-unread",s.UNREAD_FILTER)},5685:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(93558),r=i(36376),a=i(83770),o=i(85703),l=i(37420),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();get canViewRawEmail(){return this.currentUser?.can_view_raw_email}get icon(){return this.args.post.is_auto_generated?"envelope":"far-envelope"}get title(){return this.args.post.is_auto_generated?(0,u.i18n)("post.via_auto_generated_email"):(0,u.i18n)("post.via_email")}onShowRawEmail(){this.canViewRawEmail&&this.args.showRawEmail()}static #t=(()=>dt7948.n(this.prototype,"onShowRawEmail",[r.action]))();static #r=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"XDCYAQmf",block:'[[[1,"\\n"],[1," "],[11,0],[16,0,[28,[32,0],["post-info","via-email",[52,[30,0,["canViewRawEmail"]],"raw-email"]],null]],[16,"title",[30,0,["title"]]],[4,[32,1],["click",[30,0,["onShowRawEmail"]]],null],[12],[1,"\\n "],[1,[28,[32,2],[[30,0,["icon"]]],null]],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/email-indicator.js",scope:()=>[o.default,n.on,l.default],isStrictMode:!0}),this))()}},5707:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(14547),n=i(65644),r=i(66185);let a=dt7948.c(class extends n.default{modifyComponentForRow(){return"font-selector/font-selector-row"}},[(0,r.selectKitOptions)({selectedNameComponent:"selected-font"}),(0,r.pluginApiIdentifiers)(["font-selector"]),(0,s.classNames)("font-selector")])},5756:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21044),n=i(93558),r=i(36376),a=i(83770),o=i(44612),l=i(41277),u=i(93810),d=i(60110);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"sidebarState",[a.service]))();#tD=(()=>void dt7948.i(this,"sidebarState"))();static #t=(()=>dt7948.g(this.prototype,"router",[a.service]))();#i=(()=>void dt7948.i(this,"router"))();static #r=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();willDestroy(){super.willDestroy(...arguments),this.sidebarState.clearFilter()}get shouldDisplay(){return this.sidebarState.currentPanel.filterable}get displayClearFilter(){return this.sidebarState.filter.length>0}setFilter(e){this.sidebarState.filter=e.target.value}static #a=(()=>dt7948.n(this.prototype,"setFilter",[r.action]))();clearFilter(){this.sidebarState.clearFilter(),document.querySelector(".sidebar-filter__input").focus()}static #d=(()=>dt7948.n(this.prototype,"clearFilter",[r.action]))();static #g=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"2mUOQeeg",block:'[[[1,"\\n"],[41,[30,0,["shouldDisplay"]],[[[1," "],[10,0],[14,0,"sidebar-filter"],[12],[1,"\\n "],[10,0],[14,0,"sidebar-filter__input-container"],[12],[1,"\\n "],[11,"input"],[16,2,[30,0,["sidebarState","filter"]]],[16,"placeholder",[28,[32,0],["sidebar.filter_links"],null]],[24,"enterkeyhint","done"],[24,0,"sidebar-filter__input"],[24,4,"text"],[4,[32,1],["input",[30,0,["setFilter"]]],null],[12],[13],[1,"\\n\\n"],[41,[30,0,["displayClearFilter"]],[[[1," "],[8,[32,2],[[24,0,"sidebar-filter__clear"]],[["@action","@icon"],[[30,0,["clearFilter"]],"xmark"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/filter.js",scope:()=>[l.i18n,n.on,o.default],isStrictMode:!0}),this))()}},5757:e=>{var t=Array.isArray,i=Object.prototype.toString;e.exports=t||function(e){return"[object Array]"===i.call(e)}},5840:(e,t,i)=>{"use strict";function s(e){return e&&e.Object===Object?e:void 0}i.r(t),i.d(t,{E:()=>l,a:()=>a,b:()=>u,c:()=>r,g:()=>n,s:()=>o});let n=s(function(e){return e&&void 0===e.nodeType?e:void 0}("object"==typeof global&&global))||s("object"==typeof self&&self)||s("object"==typeof window&&window)||"undefined"!=typeof mainContext&&mainContext||Function("return this")(),r=function(e,t){return void 0===t?{imports:e,exports:e,lookup:e}:{imports:t.imports||e,exports:t.exports||e,lookup:t.lookup||e}}(n,n.Ember);function a(){return r.lookup}function o(e){r.lookup=e}let l={ENABLE_OPTIONAL_FEATURES:!1,EXTEND_PROTOTYPES:{Array:!0},LOG_STACKTRACE_ON_DEPRECATION:!0,LOG_VERSION:!0,RAISE_ON_DEPRECATION:!1,STRUCTURED_PROFILE:!1,_DEBUG_RENDER_TREE:!1,_ALL_DEPRECATIONS_ENABLED:!1,_OVERRIDE_DEPRECATION_VERSION:null,_DEFAULT_ASYNC_OBSERVERS:!1,_NO_IMPLICIT_ROUTE_MODEL:!1,_RERENDER_LOOP_LIMIT:1e3,EMBER_LOAD_HOOKS:{},FEATURES:{}};function u(){return l}(e=>{if("object"!=typeof e||null===e)return;for(let t in e){if(!Object.prototype.hasOwnProperty.call(e,t)||"EXTEND_PROTOTYPES"===t||"EMBER_LOAD_HOOKS"===t)continue;let i=l[t];!0===i?l[t]=!1!==e[t]:!1===i?l[t]=!0===e[t]:l[t]=e[t]}let{EXTEND_PROTOTYPES:t}=e;void 0!==t&&("object"==typeof t&&null!==t?l.EXTEND_PROTOTYPES.Array=!1!==t.Array:l.EXTEND_PROTOTYPES.Array=!1!==t);let{EMBER_LOAD_HOOKS:i}=e;if("object"==typeof i&&null!==i)for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e))continue;let t=i[e];Array.isArray(t)&&(l.EMBER_LOAD_HOOKS[e]=t.filter(e=>"function"==typeof e))}let{FEATURES:s}=e;if("object"==typeof s&&null!==s)for(let e in s)Object.prototype.hasOwnProperty.call(s,e)&&(l.FEATURES[e]=!0===s[e])})(n.EmberENV)},5842:(e,t,i)=>{"use strict";i.r(t),i.d(t,{a:()=>l,d:()=>a,i:()=>u});var s=Object.defineProperty;((e,t)=>{for(var i in t)s(e,i,{get:t[i],enumerable:!0})})({},{c:()=>d,f:()=>r,g:()=>a,i:()=>u,m:()=>o,n:()=>l,p:()=>c});var n=new WeakMap;function r(e,t,i,s){return a(e.prototype,t,i,s)}function a(e,t,i,s){let r={configurable:!0,enumerable:!0,writable:!0,initializer:null};for(let n of(s&&(r.initializer=s),i))r=n(e,t,r)||r;void 0===r.initializer?Object.defineProperty(e,t,r):function(e,t,i){let s=n.get(e);s||(s=new Map,n.set(e,s)),s.set(t,i)}(e,t,r)}function o(e,t,i){let{prototype:s}=e;return l(s,t,i)}function l(e,t,i){let s={...Object.getOwnPropertyDescriptor(e,t)};for(let n of i)s=n(e,t,s)||s;void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(e):void 0,s.initializer=void 0),Object.defineProperty(e,t,s)}function u(e,t){let i=function(e,t){let i=e.prototype;for(;i;){let e=n.get(i)?.get(t);if(e)return e;i=i.prototype}}(e.constructor,t);i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(e):void 0})}function d(e,t){return t.reduce((e,t)=>t(e)||e,e)}function c(e,t){for(let[i,s,n]of t)"field"===i?function(e,t,i){let s={configurable:!0,enumerable:!0,writable:!0,initializer:()=>Object.getOwnPropertyDescriptor(e,t)?.value};for(let n of i)s=n(e,t,s)||s;s.initializer&&(s.value=s.initializer.call(e),delete s.initializer),Object.defineProperty(e,t,s)}(e,s,n):l(e,s,n);return e}},5875:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{isDocumentRTL:()=>p,isLTR:()=>u,isRTL:()=>l,setTextDirections:()=>d,siteDir:()=>c});let n="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿Ⰰ-﬜﷾-﹯﻽-￿",r="֑-߿יִ-﷽ﹰ-ﻼ",a=RegExp("^[^"+n+"]*["+r+"]"),o=RegExp("^[^"+r+"]*["+n+"]");function l(e){return a.test(e)}function u(e){return o.test(e)}function d(e){for(let t of e.children)t.textContent&&("ASIDE"===t.tagName&&t.classList.contains("quote")?function(e){for(let t of e.querySelectorAll(".title"))t.setAttribute("dir",c());for(let t of e.querySelectorAll("blockquote > p"))t.setAttribute("dir","auto")}(t):t.setAttribute("dir","auto"))}function c(){return s||(s=document.documentElement.classList.contains("rtl")?"rtl":"ltr"),s}function p(){return"rtl"===c()}},5925:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(3558),n=i(72818),r=i(21772),a=i(41277);class o extends r.default{titleToken(){return(0,a.i18n)("login.title")}model(e){return(0,s.ajax)(`/session/email-login/${e.token}.json`)}setupController(e,t){super.setupController(...arguments),e.set("secondFactorMethod",t.security_key_required?n.SECOND_FACTOR_METHODS.SECURITY_KEY:n.SECOND_FACTOR_METHODS.TOTP)}}},5963:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{ALLOW_CYCLES:()=>s,COMPUTE:()=>c,CONSTANT:()=>a,CONSTANT_TAG:()=>w,CURRENT_TAG:()=>A,CurrentTag:()=>C,INITIAL:()=>o,VOLATILE:()=>l,VOLATILE_TAG:()=>S,VolatileTag:()=>T,beginTrackFrame:()=>R,beginUntrackFrame:()=>B,bump:()=>d,combine:()=>D,consumeTag:()=>$,createCache:()=>G,createTag:()=>y,createUpdatableTag:()=>b,debug:()=>r,dirtyTag:()=>f,dirtyTagFor:()=>P,endTrackFrame:()=>U,endUntrackFrame:()=>Y,getValue:()=>J,isConst:()=>Q,isConstTag:()=>k,isTracking:()=>q,resetTracking:()=>H,tagFor:()=>I,tagMetaFor:()=>F,track:()=>Z,trackedData:()=>et,untrack:()=>ee,updateTag:()=>_,validateTag:()=>h,valueForTag:()=>p});var n=i(58602);i(82851);let r={},a=0,o=1,l=NaN,u=1;function d(){u++}let c=Symbol("TAG_COMPUTE");function p(e){return e[c]()}function h(e,t){return t>=e[c]()}let m=Symbol("TAG_TYPE");class g{static combine(e){switch(e.length){case 0:return w;case 1:return e[0];default:{let t=new g(2);return t.subtag=e,t}}}revision=1;lastChecked=1;lastValue=1;isUpdating=(()=>!1)();subtag=null;subtagBufferCache=null;[m];constructor(e){this[m]=e}[c](){let{lastChecked:e}=this;if(!0===this.isUpdating)this.lastChecked=++u;else if(e!==u){this.isUpdating=!0,this.lastChecked=u;try{let{subtag:e,revision:t}=this;if(null!==e)if(Array.isArray(e))for(let i of e){let e=i[c]();t=Math.max(e,t)}else{let i=e[c]();i===this.subtagBufferCache?t=Math.max(t,this.lastValue):(this.subtagBufferCache=null,t=Math.max(t,i))}this.lastValue=t}finally{this.isUpdating=!1}}return this.lastValue}static updateTag(e,t){t===w?e.subtag=null:(e.subtagBufferCache=t[c](),e.subtag=t)}static dirtyTag(e,t){e.revision=++u,(0,n.scheduleRevalidate)()}}let f=g.dirtyTag,_=g.updateTag;function y(){return new g(0)}function b(){return new g(1)}let w=new g(3);function k(e){return e===w}class T{[m]=100;[c](){return NaN}}let S=new T;class C{[m]=101;[c](){return u}}let A=new C,D=g.combine,M=b(),x=b(),E=b();p(M),f(M),p(M),_(M,D([x,E])),p(M),f(x),p(M),f(E),p(M),_(M,E),p(M),f(E),p(M);let L=new WeakMap;function P(e,t,i){let s=void 0===i?L.get(e):i;if(void 0===s)return;let n=s.get(t);void 0!==n&&f(n,!0)}function F(e){let t=L.get(e);return void 0===t&&(t=new Map,L.set(e,t)),t}function I(e,t,i){let s=void 0===i?F(e):i,n=s.get(t);return void 0===n&&(n=b(),s.set(t,n)),n}class N{tags=(()=>new Set)();last=null;add(e){e!==w&&(this.tags.add(e),this.last=e)}combine(){let{tags:e}=this;return 0===e.size?w:1===e.size?this.last:D(Array.from(this.tags))}}let j=null,O=[];function R(e){O.push(j),j=new N}function U(){let e=j;return j=O.pop()||null,(function(e){if(null==e)throw Error("Expected value to be present");return e})(e).combine()}function B(){O.push(j),j=null}function Y(){j=O.pop()||null}function H(){for(;O.length>0;)O.pop();j=null}function q(){return null!==j}function $(e){null!==j&&j.add(e)}let z=Symbol("FN"),V=Symbol("LAST_VALUE"),W=Symbol("TAG"),K=Symbol("SNAPSHOT");function G(e,t){return{[z]:e,[V]:void 0,[W]:void 0,[K]:-1}}function J(e){let t=e[z],i=e[W],s=e[K];if(void 0!==i&&h(i,s))$(i);else{R();try{e[V]=t()}finally{i=U(),e[W]=i,e[K]=p(i),$(i)}}return e[V]}function Q(e){return k(e[W])}function X(e,t){}function Z(e,t){let i;R(t);try{e()}finally{i=U()}return i}function ee(e){B();try{return e()}finally{Y()}}function et(e,t){let i=new WeakMap,s="function"==typeof t;return{getter:function(n){let r;return $(I(n,e)),s&&!i.has(n)?(r=t.call(n),i.set(n,r)):r=i.get(n),r},setter:function(t,s){P(t,e),i.set(t,s)}}}Symbol("DEBUG_LABEL");let ei=Symbol("GLIMMER_VALIDATOR_REGISTRATION"),es=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();if(!0===es[ei])throw Error("The `@glimmer/validator` library has been included twice in this application. It could be different versions of the package, or the same version included twice by mistake. `@glimmer/validator` depends on having a single copy of the package in use at any time in an application, even if they are the same version. You must dedupe your build to remove the duplicate packages in order to prevent this error.");es[ei]=!0},5970:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};return e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){if(12===e&&(e=0),"রাত"===t)return e<4?e:e+12;if("ভোর"===t)return e;if("সকাল"===t)return e;if("দুপুর"===t)return e>=3?e:e+12;if("বিকাল"===t)return e+12;else if("সন্ধ্যা"===t)return e+12},meridiem:function(e,t,i){if(e<4)return"রাত";if(e<6)return"ভোর";if(e<12)return"সকাল";if(e<15)return"দুপুর";if(e<18)return"বিকাল";else if(e<20)return"সন্ধ্যা";else return"রাত"},week:{dow:0,doy:6}})})},5986:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w,triggerEvent:()=>D});var s=i(97122),n=i(36376),r=i(42946),a=i(54076),o=i(66452),l=i(67650),u=i(39352),d=i(14675);i(63847),i(7950),i(5963),i(71620),i(12003),i(56742);var c=i(64130);i(5840);var p=i(14770);i(91292),i(69902),i(93660),i(76053),i(78849),i(87079),i(92194),i(71790);var h=i(53921),m=i(31862),g=i(2802),f=i(95378),_=i(7690);function y(){return this}i(29113),i(45522);let{slice:b}=Array.prototype;class w extends n.default.extend(h.default){_routerMicrolib;_didSetupRouter=!1;_initialTransitionStarted=!1;currentURL=null;currentRouteName=null;currentPath=null;currentRoute=null;_qpCache=(()=>Object.create(null))();_qpUpdates=(()=>new Set)();_queuedQPChanges={};_bucketCache;_toplevelView=null;_handledErrors=(()=>new Set)();_engineInstances=(()=>Object.create(null))();_engineInfoByRoute=(()=>Object.create(null))();_routerService;_slowTransitionTimer=null;namespace;static dslCallbacks;static map(e){return this.dslCallbacks||(this.dslCallbacks=[],this.reopenClass({dslCallbacks:this.dslCallbacks})),this.dslCallbacks.push(e),this}static _routePath(e){let t,i,s=[];for(let n=1;n{e.setURL(i),(0,c.s)(t,"currentURL",i)})}didTransition(e){t.didTransition(e)}willTransition(e,i){t.willTransition(e,i)}triggerEvent(e,i,s,n){return D.bind(t)(e,i,s,n)}routeWillChange(e){t.trigger("routeWillChange",e),t._routerService.trigger("routeWillChange",e),e.isIntermediate&&t.set("currentRoute",e.to)}routeDidChange(e){t.set("currentRoute",e.to),(0,m.once)(()=>{t.trigger("routeDidChange",e),t._routerService.trigger("routeDidChange",e)})}transitionDidError(e,i){return e.wasAborted||i.isAborted?(0,_.l)(i):((i.trigger(!1,"error",e.error,i,e.route),t._isErrorHandled(e.error))?(i.rollback(),this.routeDidChange(i)):i.abort(),e.error)}replaceURL(i){e.replaceURL?(0,m.once)(()=>{e.replaceURL(i),(0,c.s)(t,"currentURL",i)}):this.updateURL(i)}}let a=this._routerMicrolib=new n,o=this.constructor.dslCallbacks||[y],l=this._buildDSL();l.route("application",{path:"/",resetNamespace:!0,overrideNameAssertion:!0},function(){for(let e=0;ei.factoryFor(`route-map:${e}`),addRouteForEngine(e,i){t._engineInfoByRoute[e]||(t._engineInfoByRoute[e]=i)}})}_resetQueuedQueryParameterChanges(){this._queuedQPChanges={}}_hasModuleBasedResolver(){let e=(0,r.getOwner)(this);return!!(0,d.g)(e,"application.__registry__.resolver.moduleBasedResolver")}startRouting(){if(this.setupRouter()){let e=(0,d.g)(this,"initialURL");void 0===e&&(e=(0,d.g)(this,"location").getURL());let t=this.handleURL(e);if(t&&t.error)throw t.error}}setupRouter(){if(this._didSetupRouter)return!1;this._didSetupRouter=!0,this._setupLocation();let e=(0,d.g)(this,"location");return!(0,d.g)(e,"cancelRouterSetup")&&(this._initRouterJs(),e.onUpdateURL(e=>{this.handleURL(e)}),!0)}_setOutlets(){if(this.isDestroying||this.isDestroyed)return;let e=this._routerMicrolib.currentRouteInfos;if(!e)return;let t=null,i=null;for(let s of e){let e=s.route,n=(0,g.getRenderState)(e);if(n){let e={render:n,outlets:{main:void 0}};i?i.outlets.main=e:t=e,i=e}else break}if(null!==t)if(this._toplevelView)this._toplevelView.setOutletState(t);else{let e=(0,r.getOwner)(this),i=e.factoryFor("view:-outlet"),s=e.lookup("application:main"),n=e.lookup("-environment:main"),a=e.lookup("template:-outlet");this._toplevelView=i.create({environment:n,template:a,application:s}),this._toplevelView.setOutletState(t);let o=e.lookup("-application-instance:main");o&&o.didCreateRootView(this._toplevelView)}}handleURL(e){let t=e.split(/#(.+)?/)[0];return this._doURLTransition("handleURL",t)}_doURLTransition(e,t){this._initialTransitionStarted=!0;let i=this._routerMicrolib[e](t||"/");return E(i,this),i}transitionTo(){for(var e=arguments.length,t=Array(e),i=0;i1?t-1:0),s=1;s1?t-1:0),s=1;s1?t-1:0),s=1;s{if(s)delete t[e],t[s.urlKey]=s.route.serializeQueryParam(i,s.urlKey,s.type);else{if(void 0===i)return;t[e]=this._serializeQueryParam(i,(0,p.default)(i))}})}_serializeQueryParam(e,t){return null==e?e:"array"===t?JSON.stringify(e):`${e}`}_deserializeQueryParams(e,t){L(this,e,t,(e,i,s)=>{s&&(delete t[e],t[s.prop]=s.route.deserializeQueryParam(i,s.urlKey,s.type))})}_deserializeQueryParam(e,t){if(null==e);else if("boolean"===t)return"true"===e;else if("number"===t)return Number(e).valueOf();else if("array"===t)return(0,u.A)(JSON.parse(e));return e}_pruneDefaultQueryParamValues(e,t){let i=this._queryParamsFor(e);for(let e in t){let s=i.map[e];s&&s.serializedDefaultValue===t[e]&&delete t[e]}}_doTransition(e,t,i,s){let n=e||(0,l.getActiveTargetName)(this._routerMicrolib);this._initialTransitionStarted=!0;let r={};this._processActiveTransitionQueryParams(n,t,r,i),Object.assign(r,i),this._prepareQueryParams(n,t,r,!!s);let a=this._routerMicrolib.transitionTo(n,...t,{queryParams:r});return E(a,this),a}_processActiveTransitionQueryParams(e,t,i,s){if(!this._routerMicrolib.activeTransition)return;let n={},r=this._qpUpdates,a=(0,g.getFullQueryParams)(this,this._routerMicrolib.activeTransition[_.S]);for(let e in a)r.has(e)||(n[e]=a[e]);this._fullyScopeQueryParams(e,t,s),this._fullyScopeQueryParams(e,t,n),Object.assign(i,n)}_prepareQueryParams(e,t,i,s){let n=M(this,e,t);this._hydrateUnsuppliedQueryParams(n,i,!!s),this._serializeQueryParams(n.routeInfos,i),s||this._pruneDefaultQueryParamValues(n.routeInfos,i)}_getQPMeta(e){let t=e.route;return t&&(0,d.g)(t,"_qp")}_queryParamsFor(e){let t,i=e.length,s=e[i-1].name,n=this._qpCache[s];if(void 0!==n)return n;let r=!0,a={},o=[];for(let i of e){if(!(t=this._getQPMeta(i))){r=!1;continue}for(let e of t.qps)o.push(e);Object.assign(a,t.map)}let l={qps:o,map:a};return r&&(this._qpCache[s]=l),l}_fullyScopeQueryParams(e,t,i){let s;for(let n of M(this,e,t).routeInfos)if(s=this._getQPMeta(n))for(let e of s.qps){let t=e.prop in i&&e.prop||e.scopedPropertyName in i&&e.scopedPropertyName||e.urlKey in i&&e.urlKey;t&&t!==e.scopedPropertyName&&(i[e.scopedPropertyName]=i[t],delete i[t])}}_hydrateUnsuppliedQueryParams(e,t,i){let s,n,r,a=e.routeInfos,o=this._bucketCache;for(let i of a)if(s=this._getQPMeta(i))for(let i=0,a=s.qps.length;i=0;--i){let s=e[i],n=s.route;if(void 0!==n&&!0!==t(n,s))return}}let T={willResolveModel(e,t,i){this._scheduleLoadingEvent(t,i)},error(e,t,i){let s=this,n=e[e.length-1];k(e,(e,i)=>{if(i!==n){let i=C(e,"error");if(i)return s._markErrorAsHandled(t),s.intermediateTransitionTo(i,t),!1}let r=S(e,"error");return!r||(s._markErrorAsHandled(t),s.intermediateTransitionTo(r,t),!1)}),function(e,t){let i,s=[];i=e&&"object"==typeof e&&"object"==typeof e.errorThrown?e.errorThrown:e,t&&s.push(t),i&&(i.message&&s.push(i.message),i.stack&&s.push(i.stack),"string"==typeof i&&s.push(i)),console.error(...s)}(t,`Error while processing route: ${i.targetName}`)},loading(e,t){let i=this,s=e[e.length-1];k(e,(e,n)=>{if(n!==s){let t=C(e,"loading");if(t)return i.intermediateTransitionTo(t),!1}let r=S(e,"loading");return r?(i.intermediateTransitionTo(r),!1):t.pivotHandler!==e})}};function S(e,t){let i=(0,r.getOwner)(e),{routeName:s,fullRouteName:n,_router:a}=e,o=`${s}_${t}`,l=`${n}_${t}`;return A(i,a,o,l)?l:""}function C(e,t){let i=(0,r.getOwner)(e),{routeName:s,fullRouteName:n,_router:a}=e,o="application"===s?t:`${s}.${t}`,l="application"===n?t:`${n}.${t}`;return A(i,a,o,l)?l:""}function A(e,t,i,s){let n=t.hasRoute(s),r=e.factoryFor(`template:${i}`)||e.factoryFor(`route:${i}`);return n&&r}function D(e,t,i,s){let n,r;if(!e){if(t)return;throw Error(`Can't trigger action '${i}' because your app hasn't finished transitioning into its first route. To trigger an action on destination routes during a transition, you can call \`.send()\` on the \`Transition\` object passed to the \`model/beforeModel/afterModel\` hooks.`)}let a=!1;for(let t=e.length-1;t>=0;t--)if(r=(n=e[t].route)&&n.actions&&n.actions[i])if(!0===r.apply(n,s))a=!0;else{"error"===i&&n._router._markErrorAsHandled(s[0]);return}let o=T[i];if(o)return void o.call(this,e,...s);if(!a&&!t)throw Error(`Nothing handled the action '${i}'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.`)}function M(e,t,i){let s=e._routerMicrolib.applyIntent(t,i),{routeInfos:n,params:r}=s;for(let e of n)e.isResolved?r[e.name]=e.params:r[e.name]=e.serialize(e.context);return s}function x(e){let t=e._routerMicrolib.currentRouteInfos;if(0===t.length)return;let i=w._routePath(t),s=t[t.length-1].name,n=e.location.getURL();(0,c.s)(e,"currentPath",i),(0,c.s)(e,"currentRouteName",s),(0,c.s)(e,"currentURL",n)}function E(e,t){let i=new o.default(t,t._routerMicrolib,e[_.S]);t.currentState||t.set("currentState",i),t.set("targetState",i),e.promise=e.catch(e=>{if(t._isErrorHandled(e))t._clearHandledError(e);else throw e},"Transition Error")}function L(e,t,i,s){let n=e._queryParamsFor(t);for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e))continue;let t=i[e],r=n.map[e];s(e,t,r)}}w.reopen({didTransition:function(e){x(this),this._cancelSlowTransitionTimer(),this.notifyPropertyChange("url"),this.set("currentState",this.targetState)},willTransition:function(e,t){},rootURL:"/",location:"hash",url:(0,d.c)(function(){let e=(0,d.g)(this,"location");if("string"!=typeof e)return e.getURL()})})},6007:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(42371),n=i(55129),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"YRUquOU1",block:'[[[1,"\\n "],[10,0],[14,0,"form-kit__input-group"],[12],[1,"\\n "],[18,9,[[28,[32,0],null,[["Field"],[[50,[32,1],0,null,[["errors","addError","data","set","remove","registerField","unregisterField","triggerRevalidationFor","showMeta"],[[30,1],[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],false]]]]]]]],[1,"\\n "],[13],[1,"\\n"]],["@errors","@addError","@data","@set","@remove","@registerField","@unregisterField","@triggerRevalidationFor","&default"],false,["yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/input-group.js",scope:()=>[s.hash,n.default],isStrictMode:!0}),(0,o.default)(void 0,"input-group:FKInputGroup"))},6021:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(93810),n=i(34229),r=i(14547),a=i(20936),o=i(29421),l=i(77598),u=i(15330),d=i(41277),c=i(60110);let p=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"hidden",[(0,n.alias)("siteSettings.login_required")]))();#tM=(()=>void dt7948.i(this,"hidden"))();siteUrl(){return`${location.protocol}//${location.host}${(0,u.default)("/")}`}static #t=(()=>dt7948.n(this.prototype,"siteUrl",[l.default]))();static #r=(()=>(0,s.setComponentTemplate)((0,c.createTemplateFactory)({id:"ZxSm/CkS",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs","@defaultGlimmer"],["google-search",[28,[32,1],null,[["searchTerm","siteUrl"],[[30,0,["searchTerm"]],[30,0,["siteUrl"]]]]],true]],[["default"],[[[[1,"\\n "],[10,"form"],[14,"action","//google.com/search"],[14,1,"google-search"],[14,0,"inline-form"],[12],[1,"\\n "],[10,"input"],[14,3,"q"],[15,"aria-label",[28,[32,2],["search.search_google"],null]],[15,2,[30,1]],[14,4,"text"],[12],[13],[1,"\\n "],[10,"input"],[14,3,"as_sitesearch"],[15,2,[30,2]],[14,4,"hidden"],[12],[13],[1,"\\n "],[10,"button"],[14,0,"btn btn-primary"],[14,4,"submit"],[12],[1,[28,[32,2],["search.search_google_button"],null]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@searchTerm","@siteUrl"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/google-search.js",scope:()=>[a.default,o.default,d.i18n],isStrictMode:!0}),this))()},[(0,r.classNameBindings)("hidden:hidden"),(0,r.classNames)("google-search-form")])},6048:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(18891),n=i(36376),r=i(34229),a=i(83770),o=i(25164),l=i(22247),u=i(3558),d=i(92161),c=i(77598),p=i(41277);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#S=(()=>void dt7948.i(this,"modal"))();subpageTitle=(()=>(0,p.i18n)("user.preferences_nav.profile"))();static #r=(()=>dt7948.g(this.prototype,"canChangeBio",[(0,r.readOnly)("model.can_change_bio")]))();#tx=(()=>void dt7948.i(this,"canChangeBio"))();static #a=(()=>dt7948.g(this.prototype,"canChangeLocation",[(0,r.readOnly)("model.can_change_location")]))();#tE=(()=>void dt7948.i(this,"canChangeLocation"))();static #d=(()=>dt7948.g(this.prototype,"canChangeWebsite",[(0,r.readOnly)("model.can_change_website")]))();#tL=(()=>void dt7948.i(this,"canChangeWebsite"))();static #g=(()=>dt7948.g(this.prototype,"canUploadProfileHeader",[(0,r.readOnly)("model.can_upload_profile_header")]))();#tP=(()=>void dt7948.i(this,"canUploadProfileHeader"))();static #T=(()=>dt7948.g(this.prototype,"canUploadUserCardBackground",[(0,r.readOnly)("model.can_upload_user_card_background")]))();#tF=(()=>void dt7948.i(this,"canUploadUserCardBackground"))();saveAttrNames=["bio_raw","website","location","custom_fields","user_fields","profile_background_upload_url","card_background_upload_url","date_of_birth","timezone","default_calendar","hide_profile"];calendarOptions=(()=>[{name:(0,p.i18n)("download_calendar.google"),value:"google"},{name:(0,p.i18n)("download_calendar.ics"),value:"ics"}])();userFields(){let e=this.site.user_fields;if(!(0,o.isEmpty)(e))return this.showEnforcedRequiredFieldsNotice?this._missingRequiredFields(this.site.user_fields,this.model.user_fields):(this.currentUser.staff||(e=e.filterBy("editable",!0)),e.sortBy("position").map(e=>{let t=this.model.user_fields?.[e.id.toString()];return n.default.create({field:e,value:t})}))}static #C=(()=>dt7948.n(this.prototype,"userFields",[(0,c.default)("model.user_fields.@each.value")]))();showEnforcedRequiredFieldsNotice(e){return e}static #A=(()=>dt7948.n(this.prototype,"showEnforcedRequiredFieldsNotice",[(0,c.default)("currentUser.needs_required_fields_check")]))();canChangeDefaultCalendar(e){return"none_selected"!==e}static #D=(()=>dt7948.n(this.prototype,"canChangeDefaultCalendar",[(0,c.default)("model.user_option.default_calendar")]))();async showFeaturedTopicModal(){await this.modal.show(l.default,{model:{user:this.model,setFeaturedTopic:e=>this.set("model.featured_topic",e)}}),document.querySelector(".feature-topic-on-profile-btn")?.focus()}static #M=(()=>dt7948.n(this.prototype,"showFeaturedTopicModal",[n.action]))();_missingRequiredFields(e,t){return e.filter(e=>"for_all_users"===e.requirement&&(0,o.isEmpty)(t[e.id])).map(e=>n.default.create({field:e,value:""}))}clearFeaturedTopicFromProfile(){this.dialog.yesNoConfirm({message:(0,p.i18n)("user.feature_topic_on_profile.clear.warning"),didConfirm:()=>(0,u.ajax)(`/u/${this.model.username}/clear-featured-topic`,{type:"PUT"}).then(()=>{this.model.set("featured_topic",null)}).catch(d.popupAjaxError)})}static #E=(()=>dt7948.n(this.prototype,"clearFeaturedTopicFromProfile",[n.action]))();useCurrentTimezone(){this.model.set("user_option.timezone",moment.tz.guess(!0))}static #P=(()=>dt7948.n(this.prototype,"useCurrentTimezone",[n.action]))();_updateUserFields(){let e=this.model,t=this.userFields;if(!(0,o.isEmpty)(t)){let i=e.get("user_fields");(0,o.isEmpty)(i)||t.forEach(function(e){let t=e.get("value");i[e.get("field.id").toString()]=(0,o.isEmpty)(t)?null:t})}}static #I=(()=>dt7948.n(this.prototype,"_updateUserFields",[n.action]))();profileBackgroundUploadDone(e){this.model.set("profile_background_upload_url",e.url)}static #j=(()=>dt7948.n(this.prototype,"profileBackgroundUploadDone",[n.action]))();cardBackgroundUploadDone(e){this.model.set("card_background_upload_url",e.url)}static #R=(()=>dt7948.n(this.prototype,"cardBackgroundUploadDone",[n.action]))();save(){return this.set("saved",!1),this.send("_updateUserFields"),this.model.save(this.saveAttrNames).then(e=>{let{user:t}=e;return this.model.set("bio_cooked",t.bio_cooked)}).catch(d.popupAjaxError).finally(()=>{this.currentUser.set("needs_required_fields_check",!1),this.set("saved",!0)})}static #B=(()=>dt7948.n(this.prototype,"save",[n.action]))()}},6126:(e,t,i)=>{"use strict";function s(){return()=>{}}i.r(t),i.d(t,{default:()=>s})},6160:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n}),i(36376),i(7950),i(5986);var s=i(14675);function n(e){let t=e.__container__.lookup("router:main");return(0,s.g)(t,"location").getURL()}i(63847),i(71620),i(12003),i(5963),i(56742),i(5840)},6186:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(84101);async function*n(e,t){for(let{lastResortFile:i,fileSystemHandle:s}of(await Promise.all(Array.from(e.items,async e=>{let i;return null!=i||(i=function e(t,i){return null==t?t:{kind:t.isFile?"file":t.isDirectory?"directory":void 0,name:t.name,getFile:()=>new Promise((e,i)=>t.file(e,i)),async *values(){let s=t.createReader(),n=await new Promise(t=>{!function e(t,i,s,n){let{onSuccess:r}=n;t.readEntries(n=>{let a=[...i,...n];n.length?queueMicrotask(()=>{e(t,a,s,{onSuccess:r})}):r(a)},e=>{s(e),r(i)})}(s,[],i,{onSuccess:s=>t(s.map(t=>e(t,i)))})});yield*n},isSameEntry:void 0}}((()=>"function"==typeof e.getAsEntry?e.getAsEntry():e.webkitGetAsEntry())(),t)),{fileSystemHandle:i,lastResortFile:e.getAsFile()}}))))if(null!=s)try{yield*function e(t,i,s){try{return void 0===s&&(s=void 0),async function*(){let n=()=>`${i}/${t.name}`;if("file"===t.kind){let e=await t.getFile();null!=e?(e.relativePath=i?n():null,yield e):null!=s&&(yield s)}else if("directory"===t.kind)for await(let s of t.values())yield*e(s,i?n():t.name);else null!=s&&(yield s)}()}catch(e){return Promise.reject(e)}}(s,"",i)}catch(e){null!=i?yield i:t(e)}else null!=i&&(yield i)}let r=Array.from;async function a(e,t){var i;let s=null!=(i=null==t?void 0:t.logDropError)?i:Function.prototype;try{let t=[];for await(let i of n(e,s))t.push(i);return t}catch{return function(e){return Promise.resolve(r(e.files))}(e)}}let o={target:null};function l(e){var t,i;return null!=(t=null==(i=e.dataTransfer)||null==(i=i.types)?void 0:i.some(e=>"Files"===e))&&t}class u extends s.A{constructor(e,t){super(e,{...o,...t}),this.addFiles=e=>{let t=e.map(e=>({source:this.id,name:e.name,type:e.type,data:e,meta:{relativePath:e.relativePath||null}}));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}},this.handleDrop=async e=>{var t,i,s;if(!l(e))return;e.preventDefault(),e.stopPropagation(),null==(t=e.currentTarget)||t.classList.remove("uppy-is-drag-over"),this.setPluginState({isDraggingOver:!1}),this.uppy.iteratePlugins(t=>{"acquirer"===t.type&&(null==t.handleRootDrop||t.handleRootDrop(e))});let n=!1,r=await a(e.dataTransfer,{logDropError:e=>{this.uppy.log(e,"error"),n||(this.uppy.info(e.message,"error"),n=!0)}});r.length>0&&(this.uppy.log("[DropTarget] Files were dropped"),this.addFiles(r)),null==(i=(s=this.opts).onDrop)||i.call(s,e)},this.handleDragOver=e=>{var t,i;l(e)&&(e.preventDefault(),e.stopPropagation(),e.dataTransfer.dropEffect="copy",e.currentTarget.classList.add("uppy-is-drag-over"),this.setPluginState({isDraggingOver:!0}),null==(t=(i=this.opts).onDragOver)||t.call(i,e))},this.handleDragLeave=e=>{var t,i,s;l(e)&&(e.preventDefault(),e.stopPropagation(),this.setPluginState({isDraggingOver:!1}),null==(t=e.currentTarget)||t.classList.remove("uppy-is-drag-over"),null==(i=(s=this.opts).onDragLeave)||i.call(s,e))},this.addListeners=()=>{let{target:e}=this.opts;if(e instanceof Element?this.nodes=[e]:"string"==typeof e&&(this.nodes=r(document.querySelectorAll(e))),!this.nodes||0===this.nodes.length)throw Error(`"${e}" does not match any HTML elements`);this.nodes.forEach(e=>{e.addEventListener("dragover",this.handleDragOver,!1),e.addEventListener("dragleave",this.handleDragLeave,!1),e.addEventListener("drop",this.handleDrop,!1)})},this.removeListeners=()=>{this.nodes&&this.nodes.forEach(e=>{e.removeEventListener("dragover",this.handleDragOver,!1),e.removeEventListener("dragleave",this.handleDragLeave,!1),e.removeEventListener("drop",this.handleDrop,!1)})},this.type="acquirer",this.id=this.opts.id||"DropTarget"}install(){this.setPluginState({isDraggingOver:!1}),this.addListeners()}uninstall(){this.removeListeners()}}u.VERSION="3.0.1"},6201:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(34229),n=i(83770),r=i(6809),a=i(25164),o=i(26962),l=i(77598),u=i(60964),d=i(15330),c=i(41277);let p="logs-notice-text";class h extends n.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #r=(()=>dt7948.g(this.prototype,"keyValueStore",[n.service]))();#w=(()=>void dt7948.i(this,"keyValueStore"))();static #a=(()=>dt7948.g(this.prototype,"messageBus",[n.service]))();#k=(()=>void dt7948.i(this,"messageBus"))();text="";static #d=(()=>dt7948.g(this.prototype,"isAdmin",[(0,s.readOnly)("currentUser.admin")]))();#tI=(()=>void dt7948.i(this,"isAdmin"))();init(){if(super.init(...arguments),0===this.siteSettings.alert_admins_if_errors_per_hour&&0===this.siteSettings.alert_admins_if_errors_per_minute)return;let e=this.keyValueStore.getItem(p);e&&this.set("text",e),this.messageBus.subscribe("/logs_error_rate_exceeded",this.onLogRateLimit)}willDestroy(){super.willDestroy(...arguments),this.messageBus.unsubscribe("/logs_error_rate_exceeded",this.onLogRateLimit)}onLogRateLimit(e){let{duration:t,rate:i}=e,s=0;"minute"===t?s=this.siteSettings.alert_admins_if_errors_per_minute:"hour"===t&&(s=this.siteSettings.alert_admins_if_errors_per_hour);let n=i===s?"reached":"exceeded";n+=`_${t}_MF`,this.set("text",c.default.messageFormat(`logs_error_rate_notice.${n}`,{relativeAge:(0,u.autoUpdatingRelativeAge)(new Date(1e3*e.publish_at)),rate:i,limit:s,url:(0,d.default)("/logs")}))}static #g=(()=>dt7948.n(this.prototype,"onLogRateLimit",[l.bind]))();isEmpty(e){return(0,a.isEmpty)(e)}static #T=(()=>dt7948.n(this.prototype,"isEmpty",[(0,l.default)("text")]))();message(e){return(0,r.htmlSafe)(e)}static #C=(()=>dt7948.n(this.prototype,"message",[(0,l.default)("text")]))();hidden(e,t){return!t||e}static #A=(()=>dt7948.n(this.prototype,"hidden",[(0,l.default)("isEmpty","isAdmin")]))();_updateKeyValueStore(){this.keyValueStore.setItem(p,this.text)}static #D=(()=>dt7948.n(this.prototype,"_updateKeyValueStore",[(0,o.observes)("text")]))()}},6252:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Container:()=>s.C,INIT_FACTORY:()=>s.I,Registry:()=>s.R,getFactoryFor:()=>s.g,privatize:()=>s.p,setFactoryFor:()=>s.s});var s=i(97122)},6257:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21044);i(77632);var n=i(42946),r=i(83770),a=i(16178),o=i(19070),l=i(93810),u=i(60110);let d=(0,i(89689).A)(i(77632)).cached;class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#i=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"sidebarState",[r.service]))();#tD=(()=>void dt7948.i(this,"sidebarState"))();get sections(){let e;return(this.sidebarState.combinedMode?this.sidebarState.panels.filter(e=>!e.hidden).flatMap(e=>e.sections):this.sidebarState.currentPanel.sections).map(e=>{let t=new(function(e,t){return class extends e{constructor(e){let{filterable:t,sidebarState:i}=e;super(),this.filterable=t,this.sidebarState=i}get filteredLinks(){return!this.filterable||!this.sidebarState.filter||this.text?.toLowerCase()?.match(this.sidebarState.sanitizedFilter)?this.links:this.links.filter(e=>e.text.toString().toLowerCase().match(this.sidebarState.sanitizedFilter)||e.keywords.navigation.some(e=>e.match(this.sidebarState.sanitizedFilter)))}static #e=(()=>dt7948.n(this.prototype,"filteredLinks",[d]))();get activeLink(){return this.filteredLinks.find(e=>{try{let i,s=e.currentWhen;if("boolean"==typeof s)return s;let n=e.query||{};if(i=e.model?[e.model]:e.models?e.models:[],"string"==typeof s)return s.split(" ").some(e=>t.isActive(e,...i,{queryParams:n}));return t.isActive(e.route,...i,{queryParams:n})}catch{return!1}})}get filtered(){return!this.filterable||this.filteredLinks?.length>0}}}(e,this.router))({filterable:!this.sidebarState.combinedMode&&this.sidebarState.currentPanel.filterable,sidebarState:this.sidebarState});return(0,n.setOwner)(t,(0,n.getOwner)(this)),t})}get filteredSections(){return this.sections.filter(e=>e.filtered)}static #r=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"HbXEFMtW",block:'[[[1,"\\n "],[8,[32,0],null,[["@sections"],[[30,0,["filteredSections"]]]],null],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["filteredSections"]]],null]],null],"name",[[[1," "],[8,[32,1],null,[["@section","@collapsable","@expandWhenActive","@scrollActiveLinkIntoView"],[[30,1],[30,2],[30,3],[30,4]]],null],[1,"\\n"]],[1]],null],[1," "]],["section","@collapsable","@expandActiveSection","@scrollActiveLinkIntoView"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/api-sections.js",scope:()=>[o.default,a.default],isStrictMode:!0}),this))()}},6272:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{constructor(e,t,i){this.model_id=e,this.can_moderators_view_emails=t,this.currentUser=i}get canAdminCheckEmails(){return this.currentUser.admin}get canCheckEmails(){if(!this.currentUser)return!1;let e=this.can_moderators_view_emails&&this.currentUser.staff;return this.model_id===this.currentUser.id||this.canAdminCheckEmails||e}}},6317:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});class s{constructor(){this.updateRect()}updateRect(){let e=document.getSelection();if(this.range=e?.rangeCount&&e?.getRangeAt?.(0),this.range){if(this.range.collapsed){let e=document.createElement("span");e.textContent="​",this.range.insertNode(e),this.rect=e.getBoundingClientRect(),e.parentNode.removeChild(e)}else this.rect=this.range.getBoundingClientRect();return this.rect}}getBoundingClientRect(){return this.rect}getClientRects(){return this.range.getClientRects()}get clientWidth(){return this.rect.width}get clientHeight(){return this.rect.height}}function n(){return new s}},6327:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(83770),n=i(3558),r=i(56523),a=i(47182);let o=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[s.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();get isEnabled(){return this.siteSettings.enable_user_status}async set(e,t){await (0,n.ajax)({url:"/user-status.json",type:"PUT",data:e}),this.currentUser.set("status",e),t?this.#tN(e.ends_at):this.#tj()}async clear(){await (0,n.ajax)({url:"/user-status.json",type:"DELETE"}),this.currentUser.set("status",null),this.#tj()}#tN(e){let t=this.#tO(e??r.default.forever);this.currentUser.enterDoNotDisturbFor(t)}#tj(){this.currentUser.isInDoNotDisturb()&&this.currentUser.leaveDoNotDisturb()}#tO(e){return moment.utc(e).diff(moment.utc(),"minutes")}},[a.disableImplicitInjections])},6378:(e,t,i)=>{"use strict";i.r(t);var s=i(35004),n=i(60110);(0,s.registerWidgetShim)("small-user-list","div",(0,n.createTemplateFactory)({id:"3yQzdNyf",block:'[[[1,"\\n "],[8,[39,0],[[16,0,[30,1,["listClassName"]]]],[["@ariaLabel","@users","@addSelf","@count","@description","@isVisible"],[[30,1,["ariaLabel"]],[30,1,["users"]],[30,1,["addSelf"]],[30,1,["count"]],[30,1,["description"]],[30,1,["isVisible"]]]],null]],["@data"],false,["small-user-list"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/actions-summary.js",isStrictMode:!1})),(0,s.registerWidgetShim)("actions-summary","section.post-actions",(0,n.createTemplateFactory)({id:"FAR5de5H",block:'[[[8,[39,0],null,[["@post"],[[30,1]]],null]],["@data"],false,["post/actions-summary"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/actions-summary.js",isStrictMode:!1}))},6417:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(86036);function n(e,t){return new Promise((i,n)=>{var r,a;if(null!=t&&null!=(r=t.signal)&&r.aborted)return n((0,s.createAbortError)());let o=setTimeout(()=>{u(),i()},e);function l(){clearTimeout(o),u(),n((0,s.createAbortError)())}function u(){var e;null==t||null==(e=t.signal)||e.removeEventListener("abort",l)}null==t||null==(a=t.signal)||a.addEventListener("abort",l)})}},6485:(e,t,i)=>{"use strict";var s=i(282),n=i(41112);function r(e,t){return function(){throw Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}e.exports.Type=i(27297),e.exports.Schema=i(92314),e.exports.FAILSAFE_SCHEMA=i(22644),e.exports.JSON_SCHEMA=i(20283),e.exports.CORE_SCHEMA=i(79006),e.exports.DEFAULT_SCHEMA=i(16428),e.exports.load=s.load,e.exports.loadAll=s.loadAll,e.exports.dump=n.dump,e.exports.YAMLException=i(31436),e.exports.types={binary:i(36857),float:i(68932),map:i(48720),null:i(67609),pairs:i(55407),set:i(40362),timestamp:i(78146),bool:i(93076),int:i(17251),merge:i(89194),omap:i(81925),seq:i(75893),str:i(78837)},e.exports.safeLoad=r("safeLoad","load"),e.exports.safeLoadAll=r("safeLoadAll","loadAll"),e.exports.safeDump=r("safeDump","dump")},6544:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(93810),n=i(93558),r=i(36376),a=i(34229),o=i(25164),l=i(14547),u=i(81651),d=i.n(u),c=i(36093),p=i.n(c),h=i(41277),m=i(87464),g=i(60110);let f=dt7948.c(class extends s.default{tabIndex=(()=>-1)();static #e=(()=>dt7948.g(this.prototype,"isExpanded",[(0,a.not)("isHidden")]))();#tR=(()=>void dt7948.i(this,"isExpanded"))();get isHidden(){return!this.selectKit.options.filterable&&!this.selectKit.options.allowAny&&!this.selectKit.options.autoFilterable}static #t=(()=>dt7948.n(this.prototype,"isHidden",[(0,r.computed)("selectKit.options.{filterable,allowAny,autoFilterable}","content.[]")]))();placeholder(e,t){return(0,o.isPresent)(t)?t:(0,o.isPresent)(e)?(0,h.i18n)(e):(0,h.i18n)(this.selectKit.options.allowAny?"select_kit.filter_placeholder_with_any":"select_kit.filter_placeholder")}static #r=(()=>dt7948.n(this.prototype,"placeholder",[p()("selectKit.options.filterPlaceholder","selectKit.options.translatedFilterPlaceholder","selectKit.options.allowAny")]))();onPaste(){}static #a=(()=>dt7948.n(this.prototype,"onPaste",[r.action]))();onInput(e){return this.selectKit.onInput(e),!0}static #d=(()=>dt7948.n(this.prototype,"onInput",[r.action]))();onKeyup(e){return e.preventDefault(),e.stopImmediatePropagation(),!0}static #g=(()=>dt7948.n(this.prototype,"onKeyup",[r.action]))();onKeydown(e){return!!this.selectKit.onKeydown(e)&&("Tab"===e.key&&this.selectKit.isLoading?(this.selectKit.cancelSearch(),this.selectKit.close(e),!0):"ArrowLeft"===e.key||"ArrowRight"===e.key||("Backspace"!==e.key||this.selectKit.filter?"ArrowUp"===e.key?(this.selectKit.highlightLast(),e.preventDefault(),!1):"ArrowDown"===e.key?(this.selectKit.isExpanded||this.selectKit.open(e),this.selectKit.highlightFirst(),e.preventDefault(),!1):"Escape"===e.key?(this.selectKit.close(e),this.selectKit.headerElement().focus(),e.preventDefault(),e.stopPropagation(),!1):"Enter"===e.key&&this.selectKit.highlighted?(this.selectKit.select(this.getValue(this.selectKit.highlighted),this.selectKit.highlighted),e.preventDefault(),e.stopImmediatePropagation(),!1):"Enter"===e.key&&(!this.selectKit.highlighted||this.selectKit.enterDisabled)?(this.element.querySelector("input").focus(),this.selectKit.enterDisabled&&(e.preventDefault(),e.stopImmediatePropagation()),!1):void this.selectKit.set("highlighted",null):(this.selectKit.deselectLast(),e.preventDefault(),!1)))}static #T=(()=>dt7948.n(this.prototype,"onKeydown",[r.action]))();static #C=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"TcpkY9nI",block:'[[[1,"\\n"],[41,[51,[30,0,["isHidden"]]],[[[1,"\\n "],[8,[32,0],[[16,"tabindex",0],[24,0,"filter-input"],[16,"placeholder",[30,0,["placeholder"]]],[24,"autocomplete","off"],[24,"autocorrect","off"],[24,"autocapitalize","off"],[24,3,"filter-input-search"],[16,"spellcheck",false],[4,[32,1],["paste",[30,0,["onPaste"]]],null],[4,[32,1],["keydown",[30,0,["onKeydown"]]],null],[4,[32,1],["keyup",[30,0,["onKeyup"]]],null],[4,[32,1],["input",[30,0,["onInput"]]],null]],[["@value","@type"],[[28,[31,1],[[30,0,["selectKit","filter"]]],null],"search"]],null],[1,"\\n\\n"],[41,[30,0,["selectKit","options","filterIcon"]],[[[1," "],[1,[28,[32,2],[[30,0,["selectKit","options","filterIcon"]]],[["class"],["filter-icon"]]]],[1,"\\n"]],[]],null]],[]],null],[1," "]],[],false,["unless","readonly","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/select-kit/select-kit-filter.js",scope:()=>[s.Input,n.on,d()],isStrictMode:!0}),this))()},[m.default,(0,l.attributeBindings)("role"),(0,l.classNameBindings)("isExpanded:is-expanded"),(0,l.classNames)("select-kit-filter")])},6550:(e,t,i)=>{"use strict";function s(e){e.decorateCookedElement((e,t)=>{t.getModel()&&e.querySelectorAll("img").forEach(e=>e.loading="lazy")}),e.decorateCookedElement(t=>{let i=e.container.lookup("service:site-settings");t.querySelectorAll("img").forEach(e=>{let{smallUpload:t,dominantColor:s}=e.dataset;(!i.secure_uploads||!t)&&(t||s)&&!function(e){return!!e.naturalHeight}(e)&&(e.onload||(e.onload=()=>{e.style.removeProperty("background-image"),e.style.removeProperty("background-size"),e.style.removeProperty("background-color")}),t?(e.style.setProperty("background-image",`url(${t})`),e.style.setProperty("background-size","cover")):e.style.setProperty("background-color",`#${s}`))})},{afterAdopt:!0})}i.r(t),i.d(t,{nativeLazyLoading:()=>s})},6585:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(42371),n=i(9015),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"LqKq7IaI",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[1,[28,[32,0],["category",[28,[32,1],["category-",[30,1,["fullSlug"]]],null]],null]],[1,"\\n"]],[]],null],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,2]],null]],null],null,[[[1," "],[1,[28,[32,0],[[28,[32,1],["tag-",[30,3]],null]],null]],[1,"\\n"]],[3]],null]],["@category","@tags","tag"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/add-category-tag-classes.js",scope:()=>[n.default,s.concat],isStrictMode:!0}),(0,o.default)(void 0,"add-category-tag-classes:AddCategoryTagClasses"))},6630:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(21044),n=i(36376),r=i(83770),a=i(6809),o=i(84462),l=i(28431),u=i(55900),d=i(41277),c=i(48262),p=i(14453),h=i(93810),m=i(60110);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[r.service]))();#S=(()=>void dt7948.i(this,"modal"))();sendActivationEmail(){(0,u.resendActivationEmail)(this.args.model.currentEmail).then(()=>{this.modal.show(p.default,{model:{currentEmail:this.args.model.currentEmail}})})}static #t=(()=>dt7948.n(this.prototype,"sendActivationEmail",[n.action]))();editActivationEmail(){this.modal.show(c.default,{model:{currentEmail:this.args.model.currentEmail,newEmail:this.args.model.currentEmail}})}static #r=(()=>dt7948.n(this.prototype,"editActivationEmail",[n.action]))();static #a=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"pLpTN1eR",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"not-activated-modal"]],[["@closeModal","@title"],[[30,1],[28,[32,1],["log_in"],null]]],[["body","footer"],[[[[1,"\\n "],[1,[28,[32,2],[[28,[32,1],["login.not_activated"],[["sentTo"],[[30,2,["sentTo"]]]]]],null]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,3],null,[["@sendActivationEmail","@editActivationEmail"],[[30,0,["sendActivationEmail"]],[30,0,["editActivationEmail"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/not-activated.js",scope:()=>[l.default,d.i18n,a.htmlSafe,o.default],isStrictMode:!0}),this))()}},6655:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(41277),n=i(14452),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"YWEH8fqk",block:'[[[1,"\\n "],[8,[32,0],null,[["@linkName","@content","@route","@prefixType","@prefixValue"],["all-categories",[28,[32,1],["sidebar.all_categories"],null],"discovery.categories","icon","sidebar.all_categories"]],null],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/common/all-categories-section-link.js",scope:()=>[n.default,s.i18n],isStrictMode:!0}),(0,o.default)(void 0,"all-categories-section-link:SidebarCommonAllCategoriesSectionLink"))},6728:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l}),i(71620),i(7950);var s=i(22907),n=i(31862);let r=Object.freeze({appendChild(){throw Error("You can't use appendChild outside of the rendering process")},handleEvent:()=>!0,rerender(){},destroy(){}}),a=Object.freeze({...r}),o=Object.freeze({...r,rerender(e){e.renderer.rerender()},destroy(e){e.renderer.remove(e)},handleEvent:(e,t,i)=>!e.has(t)||(0,s.flaggedInstrument)(`interaction.${t}`,{event:i,view:e},()=>(0,n.join)(e,e.trigger,t,i))}),l=Object.freeze({preRender:a,inDOM:Object.freeze({...o,enter(e){e.renderer.register(e)}}),hasElement:o,destroying:Object.freeze({...r,appendChild(){throw Error("You can't call appendChild on a view being destroyed")},rerender(){throw Error("You can't call rerender on a view being destroyed")}})})},6809:(e,t,i)=>{"use strict";i.r(t),i.d(t,{htmlSafe:()=>s.a,isHTMLSafe:()=>s.i}),i(32537);var s=i(38263);i(97122),i(7950),i(16565),i(31862),i(34408),i(5963),i(56742)},6810:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(31811);function n(e){return!(0,s.default)(e)}},6814:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(54127),n=i(93810),r=i(60110),a=i(29681);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"LHZomcgH",block:'[[[1,"\\n "],[8,[32,0],null,[["@order","@category","@activeOrder","@changeSort","@ascending","@name","@bulkSelectEnabled","@showBulkToggle","@canBulkSelect","@canDoBulkActions","@showTopicsAndRepliesToggle","@newListSubset","@newRepliesCount","@newTopicsCount","@bulkSelectHelper","@changeNewListSubset"],["default",[30,1],[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],[30,9],[30,10],[30,11],[30,12],[30,13],[30,14],[30,15]]],null],[1,"\\n"]],["@category","@activeOrder","@changeSort","@ascending","@name","@bulkSelectEnabled","@showBulkToggle","@canBulkSelect","@canDoBulkActions","@showTopicsAndRepliesToggle","@newListSubset","@newRepliesCount","@newTopicsCount","@bulkSelectHelper","@changeNewListSubset"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/header/topic-cell.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"topic-cell:TopicCell"))},6817:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(36376),n=i(83770),r=i(65136),a=i(15172),o=i(45682),l=i(41277);class u extends o.default{static #e=(()=>dt7948.g(this.prototype,"modal",[n.service]))();#S=(()=>void dt7948.i(this,"modal"))();model(){let e=this.modelFor("user");return this.siteSettings.enable_badges?a.default.findByUsername(e.get("username")).then(t=>(e.set("badges",t.map(e=>e.badge)),e)):e}setupController(e,t){e.reset(),e.setProperties({model:t,newNameInput:t.get("name"),newTitleInput:t.get("title"),newPrimaryGroupInput:t.get("primary_group_id"),newFlairGroupId:t.get("flair_group_id"),newStatus:t.status,subpageTitle:(0,l.i18n)("user.preferences_nav.account")})}showAvatarSelector(e){this.modal.show(r.default,{model:{user:e}})}static #t=(()=>dt7948.n(this.prototype,"showAvatarSelector",[s.action]))()}},6929:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=i(75626).default},6931:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>D});var s=i(42371),n=i(93558),r=i(54695),a=i(62069),o=i(44612),l=i(85707),u=i(20936),d=i(31468),c=i(72016),p=i(73001),h=i(37420),m=i(53290),g=i(92357),f=i(29421),_=i(86483),y=i(64760),b=i(90916),w=i(41277),k=i(63514),T=i(85014),S=i(93810),C=i(60110),A=i(29681);let D=(0,a.default)((0,S.setComponentTemplate)((0,C.createTemplateFactory)({id:"HX6Mt+p1",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["above-user-profile","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[10,0],[15,0,[29,["container\\n ",[52,[30,1,["viewingSelf"]],"viewing-self"],"\\n ",[52,[30,1,["model","profile_hidden"]],"profile-hidden"],"\\n ",[30,1,["primaryGroup"]]]]],[12],[1,"\\n "],[10,"section"],[14,0,"user-main"],[12],[1,"\\n "],[10,3],[14,6,"#user-content"],[14,1,"user-nav-skip-link"],[14,0,"skip-link__user-nav"],[12],[1,"\\n "],[1,[28,[32,2],["skip_user_nav"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"section"],[15,0,[29,[[52,[30,1,["collapsedInfo"]],"collapsed-info"],"\\n about\\n ",[52,[30,1,["hasProfileBackgroundUrl"]],"has-background","no-background"]]]],[12],[1,"\\n"],[41,[51,[30,1,["collapsedInfo"]]],[[[41,[30,1,["showStaffCounters"]],[[[1," "],[10,0],[14,0,"staff-counters"],[12],[1,"\\n"],[41,[30,1,["model","number_of_flags_given"]],[[[1," "],[10,0],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.flags_given"],[["className","count"],["helpful-flags",[30,1,["model","number_of_flags_given"]]]]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","number_of_flagged_posts"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,4],null,[["@route","@query"],["review",[28,[32,5],null,[["username","status","type"],[[30,1,["model","username"]],"all","ReviewableFlaggedPost"]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.flagged_posts"],[["className","count"],["flagged-posts",[30,1,["model","number_of_flagged_posts"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","number_of_rejected_posts"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,4],null,[["@route","@query"],["review",[28,[32,5],null,[["username","status","type"],[[30,1,["model","username"]],"rejected","ReviewableQueuedPost"]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.rejected_posts"],[["className","count"],["flagged-posts",[30,1,["model","number_of_rejected_posts"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","number_of_deleted_posts"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,4],null,[["@route","@model"],["user.deletedPosts",[30,1,["model"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.deleted_posts"],[["className","count"],["deleted-posts",[30,1,["model","number_of_deleted_posts"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","number_of_suspensions"]],[[[1," "],[10,0],[12],[1,"\\n "],[11,3],[24,6,""],[4,[32,6],["click",[30,1,["showSuspensions"]]],null],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.suspensions"],[["className","count"],["suspensions",[30,1,["model","number_of_suspensions"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","warnings_received_count"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,4],null,[["@route","@model"],["userPrivateMessages.user.warnings",[30,1,["model"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[28,[32,2],["user.staff_counters.warnings_received"],[["className","count"],["warnings-received",[30,1,["model","warnings_received_count"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"user-profile-image"],[15,5,[30,1,["model","profileBackgroundUrl"]]],[12],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"details"],[12],[1,"\\n "],[10,0],[14,0,"primary"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["before-user-profile-avatar",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[8,[32,7],null,[["@user","@tagName"],[[30,1,["model"]],""]],null],[1,"\\n "],[10,0],[14,0,"primary-textual"],[12],[1,"\\n "],[10,0],[14,0,"user-profile-names"],[12],[1,"\\n\\n "],[10,0],[15,0,[29,[[52,[30,1,["nameFirst"]],"full-name","username"],"\\n user-profile-names__primary"]]],[12],[1,"\\n "],[1,[52,[30,1,["nameFirst"]],[30,1,["model","name"]],[28,[32,8],[[30,1,["model","username"]]],null]]],[1,"\\n "],[1,[28,[32,9],[[30,1,["model"]]],[["currentUser"],[[30,1,["currentUser"]]]]]],[1,"\\n"],[41,[30,1,["model","status"]],[[[1," "],[8,[32,10],null,[["@status"],[[30,1,["model","status"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[15,0,[29,[[52,[30,1,["nameFirst"]],"username","full-name"],"\\n user-profile-names__secondary"]]],[12],[41,[30,1,["nameFirst"]],[[[1,[30,1,["model","username"]]]],[]],[[[1,[30,1,["model","name"]]]],[]]],[13],[1,"\\n"],[41,[30,1,["model","staged"]],[[[1," "],[10,0],[14,0,"staged user-profile-names__secondary"],[12],[1,[28,[32,2],["user.staged"],null]],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","title"]],[[[1," "],[10,0],[14,0,"user-profile-names__title"],[12],[1,[30,1,["model","title"]]],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-post-names","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["showFeaturedTopic"]],[[[1," "],[10,0],[14,0,"featured-topic user-profile__featured-topic"],[12],[1,"\\n "],[10,1],[15,"title",[28,[32,2],["user.featured_topic"],null]],[12],[1,"\\n "],[1,[28,[32,11],["book"],null]],[13],[8,[32,4],null,[["@route","@models"],["topic",[28,[32,12],[[30,1,["model","featured_topic","slug"]],[30,1,["model","featured_topic","id"]]],null]]],[["default"],[[[[1,[28,[32,13],[[28,[32,3],[[30,1,["model","featured_topic","fancy_title"]]],null]],null]]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"location-and-website user-profile__location-and-website"],[12],[1,"\\n "],[41,[30,1,["model","location"]],[[[10,0],[14,0,"user-profile-location"],[12],[1,[28,[32,11],["location-dot"],null]],[1,[30,1,["model","location"]]],[13]],[]],null],[1,"\\n"],[41,[30,1,["model","website_name"]],[[[1," "],[10,0],[14,0,"user-profile-website"],[12],[1,"\\n"],[1," "],[1,[28,[32,11],["globe"],null]],[41,[30,1,["linkWebsite"]],[[[10,3],[15,6,[30,1,["model","website"]]],[15,"rel",[29,["noopener ",[52,[51,[30,1,["removeNoFollow"]]],"nofollow ugc"]]]],[14,"target","_blank"],[12],[1,[30,1,["model","website_name"]]],[13],[1,"\\n"]],[]],[[[1," "],[10,1],[15,"title",[30,1,["model","website"]]],[12],[1,[30,1,["model","website_name"]]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-location-and-website","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["before-user-profile-bio","div",[28,[32,1],null,[["model","publicUserFields","collapsedInfo","hasTrustLevel","canCheckEmails","canDeleteUser","adminDelete"],[[30,1,["model"]],[30,1,["publicUserFields"]],[30,1,["collapsedInfo"]],[30,1,["hasTrustLevel"]],[30,1,["canCheckEmails"]],[30,1,["canDeleteUser"]],[30,1,["adminDelete"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"bio"],[12],[1,"\\n"],[41,[30,1,["model","suspended"]],[[[1," "],[10,0],[14,0,"suspended"],[12],[1,"\\n "],[1,[28,[32,11],["ban"],null]],[1,"\\n "],[10,"b"],[12],[1,"\\n"],[41,[30,1,["model","suspendedForever"]],[[[1," "],[1,[28,[32,2],["user.suspended_permanently"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["user.suspended_notice"],[["date"],[[30,1,["model","suspendedTillDate"]]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n"],[41,[30,1,["model","suspend_reason"]],[[[1," "],[10,"b"],[12],[1,[28,[32,2],["user.suspended_reason"],null]],[13],[1,"\\n "],[1,[30,1,["model","suspend_reason"]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[41,[30,1,["isNotSuspendedOrIsStaff"]],[[[1," "],[8,[32,14],null,null,[["default"],[[[[1,"\\n "],[1,[28,[32,3],[[30,1,["model","bio_cooked"]]],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,1,["publicUserFields"]],[[[1," "],[10,0],[14,0,"public-user-fields"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["publicUserFields"]]],null]],null],null,[[[1,"\\n"],[41,[30,2,["value"]],[[[1," "],[10,0],[15,0,[29,["public-user-field ",[30,2,["field","dasherized_name"]]]]],[12],[1,"\\n "],[10,1],[14,0,"user-field-name"],[12],[1,[30,2,["field","name"]]],[13],[1,":\\n "],[10,1],[14,0,"user-field-value"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,2,["value"]]],null]],null],null,[[[1," "],[10,1],[14,0,"user-field-value-list-item"],[12],[1,"\\n"],[41,[30,2,["field","searchable"]],[[[1," "],[8,[32,4],null,[["@route","@query"],["users",[28,[32,5],null,[["name"],[[30,3]]]]]],[["default"],[[[[1,[30,3]]],[]]]]],[1,"\\n"]],[]],[[[1," "],[1,[30,3]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[3]],[[[1," "],[1,[30,2,["value"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[2]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-profile-public-fields","div",[28,[32,1],null,[["publicUserFields","model"],[[30,1,["publicUserFields"]],[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-profile-primary","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"controls"],[12],[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[41,[30,1,["model","can_send_private_message_to_user"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,15],[[24,0,"btn-primary compose-pm"]],[["@action","@icon","@label"],[[28,[32,16],[[28,[32,17],["composePrivateMessage"],null],[30,1,["model"]]],null],"envelope","user.private_message"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canMuteOrIgnoreUser"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,18],null,[["@user","@value","@updateNotificationLevel"],[[30,1,["model"]],[30,1,["userNotificationLevel"]],[30,1,["updateNotificationLevel"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["displayTopLevelAdminButton"]],[[[1," "],[10,"li"],[12],[10,3],[15,6,[30,1,["model","adminPath"]]],[14,0,"btn btn-default user-admin"],[12],[1,[28,[32,11],["wrench"],null]],[10,1],[14,0,"d-button-label"],[12],[1,[28,[32,2],["admin.user.show_admin_profile"],null]],[13],[13],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-profile-controls","li",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n\\n"],[41,[30,1,["canExpandProfile"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,15],[[24,"aria-controls","collapsed-info-panel"],[16,"aria-expanded",[52,[30,1,["collapsedInfoState","isExpanded"]],"true","false"]],[24,0,"btn-default"]],[["@ariaLabel","@label","@icon","@action"],[[30,1,["collapsedInfoState","ariaLabel"]],[28,[32,19],["user.",[30,1,["collapsedInfoState","label"]]],null],[30,1,["collapsedInfoState","icon"]],[30,1,["collapsedInfoState","action"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,20],null,[["@model","@collapsedInfo","@hasTrustLevel","@canCheckEmails","@canDeleteUser","@adminDelete"],[[30,1,["model"]],[30,1,["collapsedInfo"]],[30,1,["hasTrustLevel"]],[30,1,["canCheckEmails"]],[30,1,["canDeleteUser"]],[30,1,["adminDelete"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"new-user-wrapper"],[12],[1,"\\n "],[8,[32,21],null,[["@user","@isStaff","@isMobileView","@showActivityTab","@showNotificationsTab","@showPrivateMessages","@canInviteToForum","@showBadges","@currentParentRoute","@showRead","@showDrafts","@showBookmarks"],[[30,1,["model"]],[30,1,["currentUser","staff"]],[30,1,["site","mobileView"]],[30,1,["showActivityTab"]],[30,1,["showNotificationsTab"]],[30,1,["showPrivateMessages"]],[30,1,["canInviteToForum"]],[30,1,["showBadges"]],[30,1,["currentParentRoute"]],[30,1,["showRead"]],[30,1,["showDrafts"]],[30,1,["showBookmarks"]]]],null],[1,"\\n\\n "],[10,0],[14,0,"new-user-content-wrapper"],[12],[1,"\\n "],[46,[28,[31,5],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller","uf","v"],false,["if","unless","each","-track-array","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user.js",scope:()=>[u.default,f.default,w.i18n,g.default,r.LinkTo,s.hash,n.on,c.default,m.default,b.default,p.default,h.default,s.array,_.default,l.default,o.default,s.fn,y.default,k.default,s.concat,T.default,d.default],isStrictMode:!0}),(0,A.default)(void 0,void 0)))},6937:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(37338),n=i(36376),r=i(10218),a=i(42946),o=i(83770),l=i(33428),u=i(22e3);class d extends u.default{static #e=(()=>dt7948.g(this.prototype,"menu",[o.service]))();#tU=(()=>void dt7948.i(this,"menu"))();static #t=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #r=(()=>dt7948.g(this.prototype,"modal",[o.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #a=(()=>dt7948.g(this.prototype,"expanded",[s.tracked],function(){return!1}))();#tB=(()=>void dt7948.i(this,"expanded"))();static #d=(()=>dt7948.g(this.prototype,"detachedTrigger",[s.tracked],function(){return!1}))();#tY=(()=>void dt7948.i(this,"detachedTrigger"))();static #g=(()=>dt7948.g(this.prototype,"options",[s.tracked]))();#tH=(()=>void dt7948.i(this,"options"))();static #T=(()=>dt7948.g(this.prototype,"_trigger",[s.tracked]))();#tq=(()=>void dt7948.i(this,"_trigger"))();constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(...arguments),(0,a.setOwner)(this,e),this.options={...l.MENU.options,...t}}get portalOutletElement(){return document.getElementById("d-menu-portals")}get trigger(){return this._trigger}set trigger(e){this._trigger=e,this.id=e.id||(0,r.guidFor)(e),this.setupListeners()}get shouldTrapPointerDown(){return this.expanded}async close(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{focusTrigger:!0};(0,a.getOwner)(this).isDestroying||(await super.close(...arguments),this.site.mobileView&&this.options.modalForMobile&&this.expanded&&await this.modal.close(),await this.menu.close(this),e.focusTrigger&&this.trigger?.focus?.(),await this.options.onClose?.(this))}static #C=(()=>dt7948.n(this.prototype,"close",[n.action]))();async show(){await super.show(...arguments),await this.menu.show(this)}static #A=(()=>dt7948.n(this.prototype,"show",[n.action]))();async onPointerMove(e){this.expanded&&this.trigger.contains(e.target)||await this.onTrigger(e)}static #D=(()=>dt7948.n(this.prototype,"onPointerMove",[n.action]))();async onClick(e){if(this.expanded&&this.untriggers.includes("click"))return await this.onUntrigger(e);await this.onTrigger(e)}static #M=(()=>dt7948.n(this.prototype,"onClick",[n.action]))();async onPointerLeave(e){this.untriggers.includes("hover")&&await this.onUntrigger(e)}static #E=(()=>dt7948.n(this.prototype,"onPointerLeave",[n.action]))();async onTrigger(e){e.stopPropagation(),await this.options.beforeTrigger?.(this),await this.show()}static #P=(()=>dt7948.n(this.prototype,"onTrigger",[n.action]))();async onUntrigger(e){e.stopPropagation(),await this.close()}static #I=(()=>dt7948.n(this.prototype,"onUntrigger",[n.action]))();destroy(){this.close(),this.tearDownListeners()}static #j=(()=>dt7948.n(this.prototype,"destroy",[n.action]))()}},6941:e=>{e.exports=function(){var e={},t=e._fns={};return e.emit=function(e,i,s,n,r,a,o){var l=function(e){for(var i=t[e]?t[e]:[],s=e.indexOf(":"),n=-1===s?[e]:[e.substring(0,s),e.substring(s+1)],r=Object.keys(t),a=0,o=r.length;a{"use strict";i.r(t),i.d(t,{VERSION:()=>s.default});var s=i(98204)},7013:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(21044),n=i(36376),r=i(83770),a=i(44612),o=i(96730),l=i(23e3),u=i(20794),d=i(20936),c=i(3414),p=i(36470),h=i(93810),m=i(60110);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"capabilities",[r.service]))();#v=(()=>void dt7948.i(this,"capabilities"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #r=(()=>dt7948.g(this.prototype,"modal",[r.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #a=(()=>dt7948.g(this.prototype,"site",[r.service]))();#s=(()=>void dt7948.i(this,"site"))();static #d=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #g=(()=>dt7948.g(this.prototype,"sidebarState",[r.service]))();#tD=(()=>void dt7948.i(this,"sidebarState"))();static #T=(()=>dt7948.g(this.prototype,"interfaceColor",[r.service]))();#td=(()=>void dt7948.i(this,"interfaceColor"))();get showManageSectionsButton(){return this.currentUser&&this.sidebarState.isCurrentPanel(p.MAIN_PANEL)}get showToggleMobileButton(){return!this.siteSettings.viewport_based_mobile_mode&&(this.site.mobileView||this.siteSettings.enable_mobile_theme&&this.capabilities.touch)}manageSections(){this.modal.show(u.default)}static #C=(()=>dt7948.n(this.prototype,"manageSections",[n.action]))();showKeyboardShortcuts(){this.modal.show(l.default)}static #A=(()=>dt7948.n(this.prototype,"showKeyboardShortcuts",[n.action]))();toggleMobileView(){c.default.toggleMobileView()}static #D=(()=>dt7948.n(this.prototype,"toggleMobileView",[n.action]))();static #M=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"jS/zWbKi",block:'[[[1,"\\n "],[10,0],[14,0,"sidebar-footer-wrapper"],[12],[1,"\\n "],[10,0],[14,0,"sidebar-footer-container"],[12],[1,"\\n "],[10,0],[14,0,"sidebar-footer-actions"],[12],[1,"\\n "],[8,[32,0],null,[["@name"],["sidebar-footer-actions"]],null],[1,"\\n\\n"],[41,[30,0,["interfaceColor","selectorAvailableInSidebar"]],[[[1," "],[8,[32,1],null,null,null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showManageSectionsButton"]],[[[1," "],[8,[32,2],[[24,0,"btn-flat sidebar-footer-actions-button add-section"]],[["@icon","@action","@title","@ariaLabel"],["plus",[30,0,["manageSections"]],"sidebar.sections.custom.add","sidebar.sections.custom.add"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showToggleMobileButton"]],[[[1," "],[8,[32,2],[[24,0,"btn-flat sidebar-footer-actions-button sidebar-footer-actions-toggle-mobile-view"]],[["@action","@title","@ariaLabel","@icon"],[[30,0,["toggleMobileView"]],[52,[30,0,["site","mobileView"]],"desktop_view","mobile_view"],[52,[30,0,["site","mobileView"]],"desktop_view","mobile_view"],[52,[30,0,["site","mobileView"]],"desktop","mobile-screen-button"]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[8,[32,2],[[24,0,"btn-flat sidebar-footer-actions-button sidebar-footer-actions-keyboard-shortcuts"]],[["@action","@title","@ariaLabel","@icon"],[[30,0,["showKeyboardShortcuts"]],"keyboard_shortcuts_help.title","keyboard_shortcuts_help.title","keyboard"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/footer.js",scope:()=>[d.default,o.default,a.default],isStrictMode:!0}),this))()}},7071:(e,t,i)=>{"use strict";function s(e){return e<10?`0${e}`:e.toString()}function n(){let e=new Date,t=s(e.getHours()),i=s(e.getMinutes()),n=s(e.getSeconds());return`${t}:${i}:${n}`}i.d(t,{w:()=>a,I:()=>r});let r={debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=Array(e),i=0;i{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(83770),n=i(21772);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#i=(()=>void dt7948.i(this,"router"))();queryParams={q:{replace:!0}};redirect(){this.router.transitionTo("userActivity.bookmarks")}}},7125:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(36376),n=i(14547),r=i(41277),a=i(66026),o=i(66185);let l=dt7948.c(class extends a.default{get content(){return[{id:"edit",icon:"pencil",name:(0,r.i18n)("user.second_factor.edit")},{id:"delete",icon:"trash-can",name:(0,r.i18n)("user.second_factor.delete")}]}static #e=(()=>dt7948.n(this.prototype,"content",[s.computed]))();onChange(e){switch(e){case"edit":this.renamePasskey();break;case"delete":this.deletePasskey()}}static #t=(()=>dt7948.n(this.prototype,"onChange",[s.action]))()},[(0,o.selectKitOptions)({icon:"wrench",showFullTitle:!1}),(0,n.classNames)("passkey-options-dropdown")])},7140:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(13248);class n extends s.default{}},7172:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(21044),n=i(77632),r=i(42371),a=i(93558),o=i(36376),l=i(31862),u=i(25164),d=i(13446),c=i(19655),p=i(33912),h=i(41277),m=i(93810),g=i(60110);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"messageTitle",[n.tracked],function(){return null}))();#t$=(()=>void dt7948.i(this,"messageTitle"))();async search(e){if((0,l.next)(()=>this.args.setSelectedTopicId(null)),(0,u.isEmpty)(e))return;let t=await (0,p.searchForTerm)(e,{typeFilter:"private_messages",searchForId:!0,restrictToArchetype:"private_message"}),i=t?.posts?.mapBy("topic").filter(e=>e.id!==this.args.currentTopicId);return 1===i.length&&(0,l.next)(()=>this.args.setSelectedTopicId(i[0])),i}static #t=(()=>dt7948.n(this.prototype,"search",[o.action]))();setSearchTerm(e){this.messageTitle=e.target.value}static #r=(()=>dt7948.n(this.prototype,"setSearchTerm",[o.action]))();static #a=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"WJ3u6/xW",block:'[[[1,"\\n "],[10,0],[14,0,"choose-message"],[12],[1,"\\n "],[10,"label"],[14,"for","choose-message-title"],[12],[1,"\\n "],[1,[28,[32,0],["choose_message.title.search"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[11,"input"],[16,"placeholder",[28,[32,0],["choose_message.title.placeholder"],null]],[24,1,"choose-message-title"],[24,4,"text"],[4,[32,1],["input",[30,0,["setSearchTerm"]]],null],[12],[13],[1,"\\n\\n "],[10,0],[14,0,"choose-message__search-results"],[12],[1,"\\n "],[8,[32,2],null,[["@asyncData","@context","@debounce"],[[30,0,["search"]],[30,0,["messageTitle"]],true]],[["loading","empty","content"],[[[[1,"\\n "],[1,[28,[32,0],["loading"],null]],[1,"\\n "]],[]],[[[1,"\\n"],[41,[30,0,["messageTitle"]],[[[1," "],[1,[28,[32,0],["choose_message.none_found"],null]],[1,"\\n"]],[]],[[[1,"  \\n"]],[]]],[1," "]],[]],[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1]],null]],null],null,[[[1," "],[10,0],[14,0,"controls existing-message"],[12],[1,"\\n "],[10,"label"],[14,0,"radio"],[12],[1,"\\n "],[11,"input"],[24,3,"choose_message_id"],[16,"checked",[28,[32,3],[[30,2,["id"]],[30,3]],null]],[24,4,"radio"],[4,[32,1],["click",[28,[32,4],[[30,4],[30,2]],null]],null],[12],[13],[1,"\\n "],[10,1],[14,0,"message-title"],[12],[1,"\\n "],[1,[30,2,["title"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "]],[1]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["messages","message","@selectedTopicId","@setSelectedTopicId"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/choose-message.js",scope:()=>[h.i18n,a.on,c.default,d.eq,r.fn],isStrictMode:!0}),this))()}},7327:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(13446),n=i(58259),r=i(53290),a=i(93810),o=i(60110),l=i(29681);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"L2EvpuOB",block:'[[[1,"\\n "],[1,[28,[32,0],[[30,1]],[["imageSize","template","username"],["small",[30,1,["avatar_template"]],[30,1,["username"]]]]]],[1,"\\n "],[10,0],[14,0,"user-titles"],[12],[1,"\\n"],[41,[28,[32,1],[[30,2],[30,1,["name"]]],null],[[[1," "],[10,1],[14,0,"name"],[12],[1,[30,1,["name"]]],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[14,0,"username"],[12],[1,"\\n "],[1,[28,[32,2],[[30,1,["username"]]],null]],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["custom_data"]],[[[42,[28,[31,2],[[28,[31,2],[[30,1,["custom_data"]]],null]],null],null,[[[1," "],[10,1],[14,0,"custom-field"],[12],[1,[30,3,["name"]]],[1,": "],[1,[30,3,["value"]]],[13],[1,"\\n"]],[3]],null]],[]],null],[1," "],[13],[1,"\\n"]],["@result","@displayNameWithUser","row"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/results/type/user.js",scope:()=>[n.default,s.and,r.default],isStrictMode:!0}),(0,l.default)(void 0,"user:User"))},7346:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(18891),n=i(36376),r=i(34229),a=i(26962),o=i(3558),l=i(92161),u=i(77598);class d extends s.default{queryParams=["order","asc","filter"];order=null;asc=!0;filter=null;filterInput=null;loading=!1;isBulk=!1;showActions=!1;bulkSelection=null;static #e=(()=>dt7948.g(this.prototype,"hasMembers",[(0,r.gt)("model.members.length",0)]))();#tz=(()=>void dt7948.i(this,"hasMembers"))();get canLoadMore(){return this.get("model.members")?.lengthdt7948.n(this.prototype,"filterInputChanged",[(0,a.observes)("filterInput")]))();_setFilter(){this.set("filter",this.filterInput)}static #r=(()=>dt7948.n(this.prototype,"_setFilter",[(0,u.debounce)(500)]))();_filtersChanged(){this.reloadMembers(!0)}static #a=(()=>dt7948.n(this.prototype,"_filtersChanged",[(0,a.observes)("order","asc","filter")]))();reloadMembers(e){!this.loading&&this.model&&(e||this.canLoadMore)&&(this.set("loading",!0),this.model.reloadMembers(this.memberParams,e).finally(()=>{this.set("loading",!1),this.refresh&&this.set("bulkSelection",[])}))}memberParams(e,t,i){return{order:e,asc:t,filter:i}}static #d=(()=>dt7948.n(this.prototype,"memberParams",[(0,u.default)("order","asc","filter")]))();canManageGroup(e){return this.currentUser?.canManageGroup(e)&&!this.model.automatic}static #g=(()=>dt7948.n(this.prototype,"canManageGroup",[(0,u.default)("model")]))();filterPlaceholder(){return this.currentUser&&this.currentUser.admin?"groups.members.filter_placeholder_admin":"groups.members.filter_placeholder"}static #T=(()=>dt7948.n(this.prototype,"filterPlaceholder",[u.default]))();emptyMessageKey(e,t,i){return i?e?"groups.members.no_filter_matches":"groups.empty.members":"groups.members.forbidden"}static #C=(()=>dt7948.n(this.prototype,"emptyMessageKey",[(0,u.default)("filter","members","model.can_see_members")]))();loadMore(){this.reloadMembers()}static #A=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();toggleActions(){this.toggleProperty("showActions")}static #D=(()=>dt7948.n(this.prototype,"toggleActions",[n.action]))();actOnGroup(e,t){switch(t){case"removeMember":this.removeMember(e);break;case"makeOwner":this.makeOwner(e.username);break;case"removeOwner":this.removeOwner(e);break;case"makePrimary":e.setPrimaryGroup(this.model.id).then(()=>e.set("primary",!0));break;case"removePrimary":e.setPrimaryGroup(null).then(()=>e.set("primary",!1))}}static #M=(()=>dt7948.n(this.prototype,"actOnGroup",[n.action]))();actOnSelection(e,t){if(e&&0!==e.length)switch(t){case"removeMembers":return(0,o.ajax)(`/groups/${this.model.id}/members.json`,{type:"DELETE",data:{user_ids:e.mapBy("id").join(",")}}).then(()=>{this.model.reloadMembers(this.memberParams,!0),this.set("isBulk",!1)});case"makeOwners":return(0,o.ajax)(`/groups/${this.model.id}/owners.json`,{type:"PUT",data:{usernames:e.mapBy("username").join(",")}}).then(()=>{e.forEach(e=>e.set("owner",!0)),this.set("isBulk",!1)});case"removeOwners":return(0,o.ajax)(`/admin/groups/${this.model.id}/owners.json`,{type:"DELETE",data:{group:{usernames:e.map(e=>e.username).join(",")}}}).then(()=>{e.forEach(e=>e.set("owner",!1)),this.set("isBulk",!1)});case"setPrimary":case"unsetPrimary":let i="setPrimary"===t;return(0,o.ajax)(`/admin/groups/${this.model.id}/primary.json`,{type:"PUT",data:{group:{usernames:e.map(e=>e.username).join(",")},primary:i}}).then(()=>{e.forEach(e=>e.set("primary",i)),this.set("isBulk",!1)})}}static #E=(()=>dt7948.n(this.prototype,"actOnSelection",[n.action]))();removeMember(e){this.model.removeMember(e,this.memberParams)}static #P=(()=>dt7948.n(this.prototype,"removeMember",[n.action]))();makeOwner(e){this.model.addOwners(e)}static #I=(()=>dt7948.n(this.prototype,"makeOwner",[n.action]))();removeOwner(e){this.model.removeOwner(e)}static #j=(()=>dt7948.n(this.prototype,"removeOwner",[n.action]))();addMembers(){this.usernames&&this.usernames.length>0&&this.model.addMembers(this.usernames).then(()=>this.set("usernames",[])).catch(l.popupAjaxError)}static #R=(()=>dt7948.n(this.prototype,"addMembers",[n.action]))();toggleBulkSelect(){this.setProperties({isBulk:!this.isBulk,bulkSelection:[]})}static #B=(()=>dt7948.n(this.prototype,"toggleBulkSelect",[n.action]))();bulkSelectAll(){document.querySelectorAll("input.bulk-select:not(:checked)").forEach(e=>{e.checked||e.click()})}static #H=(()=>dt7948.n(this.prototype,"bulkSelectAll",[n.action]))();bulkClearAll(){document.querySelectorAll("input.bulk-select:checked").forEach(e=>{e.checked&&e.click()})}static #$=(()=>dt7948.n(this.prototype,"bulkClearAll",[n.action]))();selectMember(e,t){this.set("bulkSelection",this.bulkSelection||[]),t.target.checked?this.bulkSelection.pushObject(e):this.bulkSelection.removeObject(e)}static #V=(()=>dt7948.n(this.prototype,"selectMember",[n.action]))();updateOrder(e,t){this.setProperties({order:e,asc:t})}static #K=(()=>dt7948.n(this.prototype,"updateOrder",[n.action]))()}},7378:(e,t,i)=>{"use strict";i.r(t),i.d(t,{e:()=>a,i:()=>r,s:()=>o,t:()=>function e(t){if("string"==typeof t)return t;if(null===t)return"null";if(void 0===t)return"undefined";if(Array.isArray(t)){let i="";for(let s=0;s0&&(i+=","),!function(e){return null==e}(t[s])&&(i+=e(t[s]));return i}return"function"==typeof t.toString?t.toString():l.call(t)}});var s=i(71620);let n=[];function r(e){return -1!==n.indexOf(e)}function a(e){let t=s.G+Math.floor(Math.random()*Date.now()).toString();return(0,s.i)(`__${e}${t}__`)}let o=Symbol,l=Object.prototype.toString},7389:(e,t,i)=>{"use strict";i.r(t),i.d(t,{escape:()=>a.a,hrefAllowed:()=>u,sanitize:()=>d});var s=i(15491),n=i.n(s),r=i(44436),a=i.n(r);let o=/]*\s+src\s*=)[^>]*>[\s\S]*?(<\/iframe\s*>|$)/gi;function l(e,t){return t?`${e}="${n().escapeAttrValue(t)}"`:e}function u(e,t){if(e=e.replace(/'/g,"%27"),/^(https?:)?\/\/[\w\.\-]+/i.test(e)||/^\/[\w\.\-]+/i.test(e)||/^#[\w\.\-]+/i.test(e)||/^mailto:[\w\.\-@]+/i.test(e))return e;if(t&&t.length>0){for(let i=0;i0&&(a=[RegExp("^("+s.join("|")+")://[\\w\\.\\-]+","i")],s.includes("tel")&&a.push(RegExp("^tel://\\+?[\\w\\.\\-]+","i"))),n()(e,{allowList:i.tagList,stripIgnoreTag:!0,stripIgnoreTagBody:["script","table"],onIgnoreTagAttr(e,s,n){let o=i.attrList[e];if(o){let i=o[s];if(i&&(i.includes("*")||i.includes(n))||!s.includes("data-html-")&&s.startsWith("data-")&&(o["data-*"]||function(e,t,i){return Object.keys(e).find(s=>{let n=`^${s.replace(/\*$/,"\\w+?")}`,r=e[s];return new RegExp(n).test(t)&&(!!r.includes("*")||r.includes(i))})}(o,s,n))||"a"===e&&"href"===s&&u(n,a)||"iframe"===e&&"src"===s&&!n.match(/\/\.+\//)&&r.some(e=>n.toLowerCase().startsWith((e||"").toLowerCase())))return l(s,n);let d=function(e,t,i,s){if(({img:["src"],source:["src","srcset"],track:["src"]})[e]?.includes(t))return i.startsWith("data:image")?l(t,i):"srcset"===t?l(t,i.split(",").map(e=>e.split(" ",2)).map(e=>{let t=u(e[0],s);if(t)return e[1]?`${t} ${e[1]}`:t}).join(",")):l(t,u(i,s))}(e,s,n,a);if(d)return d;if("iframe"===e&&"src"===s)return"";if("video"===e&&"autoplay"===s)return"autoplay muted";if(["h1","h2","h3","h4","h5","h6"].includes(e)&&n.match(/^heading\-\-[a-zA-Z0-9\-\_]+$/))return l(s,n);let c=t.getCustom();for(let t=0;t/g,">")}},7433:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.container=e,this.options={columns:3,minCount:2,...t},this.items=this._prepareItems(),this.items.length>=this.options.minCount?this.render():e.dataset.disabled=!0}count(){return[2,4].includes(this.items.length)?2:this.options.columns}render(){if(!this.container.dataset.columns)return this.container.dataset.columns=this.count(),this.container.replaceChildren(...this._distributeEvenly()),this}_prepareColumns(e){return[...Array(e)].map(()=>{let e=document.createElement("div");return e.classList.add("d-image-grid-column"),e})}_prepareItems(){let e=[];for(let t of this.container.children)if("P"===t.nodeName&&t.children.length>0)for(let i of t.children)e.push(this._wrapDirectImage(i));else e.push(this._wrapDirectImage(t));return e.filter(e=>!["BR","P"].includes(e.nodeName))}_wrapDirectImage(e){if("IMG"!==e.nodeName)return e;let t=document.createElement("span");return t.classList.add("image-wrapper"),t.appendChild(e.cloneNode()),t}_distributeEvenly(){let e=this.count(),t=this._prepareColumns(e),i=Array(e).fill(0);return this.items.forEach(s=>{let n=0;for(let t=1;t{"use strict";function s(e){return"automatic"===e.column.type}i.r(t),i.d(t,{default:()=>s})},7486:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21044),n=i(77632),r=i(93558),a=i(36376),o=i(83770),l=i(41277),u=i(93810),d=i(60110);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[o.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!1}))();#u=(()=>void dt7948.i(this,"loading"))();get label(){return this.loading?(0,l.i18n)("loading"):(0,l.i18n)("post.gap",{count:this.args.gap.length})}async fillGap(){if(!this.loading){this.loading=!0;try{await this.args.fillGap(),this.appEvents.trigger("post-stream:gap-expanded",{post_id:this.args.post.id})}finally{this.loading=!1}}}static #r=(()=>dt7948.n(this.prototype,"fillGap",[a.action]))();static #a=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"Pb3IwCxf",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"gap"],[4,[32,0],["click",[30,0,["fillGap"]]],null],[12],[1,"\\n "],[1,[30,0,["label"]]],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/gap.js",scope:()=>[r.on],isStrictMode:!0}),this))()}},7545:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Placeholder:()=>o,default:()=>l});var s=i(52248),n=i(39352),r=i(36376),a=i(77598);function o(e){this.viewName=e}class l extends r.default.extend(n.default){posts=null;_appendingIds={};length(){return this.get("posts.length")+Object.keys(this._appendingIds||{}).length}static #e=(()=>dt7948.n(this.prototype,"length",[a.default]))();nextObject(e){return this.objectAt(e)}_changeArray(e,t,i,n){(0,s.arrayContentWillChange)(this,t,i,n),e(),(0,s.arrayContentDidChange)(this,t,i,n),this.notifyPropertyChange("length")}clear(e){this._changeArray(e,0,this.get("posts.length"),0)}appendPost(e){this._changeArray(e,this.get("posts.length"),0,1)}removePost(e){this._changeArray(e,this.get("posts.length")-1,1,0)}insertPost(e,t){this._changeArray(t,e,0,1)}refreshAll(e){let t=this.get("posts.length");this._changeArray(e,0,t,t)}appending(e){this._changeArray(()=>{let t=this._appendingIds;e.forEach(e=>t[e]=!0)},this.length,0,e.length)}finishedAppending(e){this._changeArray(()=>{let t=this._appendingIds;e.forEach(e=>delete t[e])},this.get("posts.length")-e.length,e.length,e.length)}finishedPrepending(e){this._changeArray(function(){},0,0,e.length)}objectAt(e){let t=this.posts;return e{"use strict";var s=i(39239);function n(e){if(!(this instanceof n))return new n(e);this.value=e}e.exports=n,n.prototype.hook=function(e,t){s(e)[t.substr(3)]=this.value},n.prototype.unhook=function(e,t){s(e)[t.substr(3)]=void 0}},7690:(e,t,i)=>{"use strict";i.r(t),i.d(t,{P:()=>w,Q:()=>k,S:()=>b,T:()=>T,U:()=>D,a:()=>u,b:()=>m,c:()=>y,d:()=>h,e:()=>r,f:()=>g,g:()=>f,h:()=>c,i:()=>C,l:()=>S,m:()=>d,p:()=>A,t:()=>a});var s=i(29113);function n(){let e=Error("TransitionAborted");return e.name="TransitionAborted",e.code="TRANSITION_ABORTED",e}function r(e){return"object"==typeof e&&null!==e&&"TRANSITION_ABORTED"===e.code}function a(e){if(function(e){return"object"==typeof e&&null!==e&&"boolean"==typeof e.isAborted}(e)&&e.isAborted)throw n()}let o=Array.prototype.slice,l=Object.prototype.hasOwnProperty;function u(e){return null!==e&&"object"==typeof e&&"function"==typeof e.then}function d(e,t){for(let i in t)l.call(t,i)&&(e[i]=t[i])}function c(e){let t=e&&e.length,i;if(t&&t>0){let s=e[t-1];if(function(e){return!!e&&"object"==typeof e&&"queryParams"in e&&Object.keys(e.queryParams).every(e=>"string"==typeof e)}(s))return i=s.queryParams,[o.call(e,0,t-1),i]}return[e,null]}function p(e){for(let t in e){let i=e[t];if("number"==typeof i)e[t]=""+i;else if(Array.isArray(i))for(let e=0,t=i.length;e1?t-1:0),s=1;s3&&void 0!==arguments[3]?arguments[3]:void 0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;if(this.from=null,this.to=void 0,this.isAborted=!1,this.isActive=!0,this.urlMethod="update",this.resolveIndex=0,this.queryParamsOnly=!1,this.isTransition=!0,this.isCausedByAbortingTransition=!1,this.isCausedByInitialTransition=!1,this.isCausedByAbortingReplaceTransition=!1,this._visibleQueryParams={},this.isIntermediate=!1,this[b]=i||e.state,this.intent=t,this.router=e,this.data=t&&t.data||{},this.resolvedModels={},this[k]={},this.promise=void 0,this.error=void 0,this[w]={},this.routeInfos=[],this.targetName=void 0,this.pivotHandler=void 0,this.sequence=-1,n){this.promise=s.P.reject(n),this.error=n;return}if(this.isCausedByAbortingTransition=!!r,this.isCausedByInitialTransition=!!r&&(r.isCausedByInitialTransition||0===r.sequence),this.isCausedByAbortingReplaceTransition=!!r&&"replace"===r.urlMethod&&(!r.isCausedByAbortingTransition||r.isCausedByAbortingReplaceTransition),i){this[w]=i.params,this[k]=i.queryParams,this.routeInfos=i.routeInfos;let t=i.routeInfos.length;t&&(this.targetName=i.routeInfos[t-1].name);for(let e=0;e{throw this.router.transitionDidError(e,this)},y("Handle Abort"))}else this.promise=s.P.resolve(this[b]),this[w]={}}then(e,t,i){return this.promise.then(e,t,i)}catch(e,t){return this.promise.catch(e,t)}finally(e,t){return this.promise.finally(e,t)}abort(){this.rollback();let e=new T(this.router,void 0,void 0,void 0);return e.to=this.from,e.from=this.from,e.isAborted=!0,this.router.routeWillChange(e),this.router.routeDidChange(e),this}rollback(){this.isAborted||(h(this.router,this.sequence,this.targetName+": transition was aborted"),void 0!==this.intent&&null!==this.intent&&(this.intent.preTransitionState=this.router.state),this.isAborted=!0,this.isActive=!1,this.router.activeTransition=void 0)}redirect(e){this.rollback(),this.router.routeWillChange(e)}retry(){this.abort();let e=this.router.transitionByIntent(this.intent,!1);return null!==this.urlMethod&&e.method(this.urlMethod),e}method(e){return this.urlMethod=e,this}send(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0;this.trigger(e,t,i,s,n)}trigger(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;"string"==typeof e&&(t=e,e=!1);for(var i=arguments.length,s=Array(i>2?i-2:0),n=2;n{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(14547),n=i(41277),r=i(65644),a=i(66185);let o=dt7948.c(class extends r.default{modifyComponentForRow(){return"color-palettes/color-palettes-row"}},[(0,a.pluginApiIdentifiers)(["color-palettes"]),(0,a.selectKitOptions)({translatedNone:(0,n.i18n)("admin.customize.theme.default_light_scheme")}),(0,s.classNames)("color-palettes")])},7760:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>j});var s=i(93810),n=i(93558),r=i(36376),a=i(16668),o=i(83770),l=i(14547),u=i(89120),d=i(13446),c=i(40507),p=i(65774),h=i(44612),m=i(31013),g=i(35077),f=i(31577),_=i(20936),y=i(25336),b=i(715),w=i(58259),k=i(675),T=i(85703),S=i(37420),C=i(39671),A=i(47290),D=i(92357),M=i(29421),x=i(58732),E=i(3558),L=i(18236),P=i(29980),F=i(41277),I=i(14075),N=i(60110);let j=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"modal",[o.service]))();#S=(()=>void dt7948.i(this,"modal"))();get canDoBulkActions(){return this.bulkSelectHelper?.selected.length}get selected(){return this.bulkSelectHelper?.selected}get selectedCount(){return this.selected?.length||0}removeBookmark(e){return new u.Promise((t,i)=>{let s=()=>{e.destroy().then(()=>{this.appEvents.trigger("bookmarks:changed",null,e.attachedTo()),this._removeBookmarkFromList(e),t(!0)}).catch(e=>{i(e)})};if(!e.reminder_at)return s();this.dialog.deleteConfirm({message:(0,F.i18n)("bookmarks.confirm_delete"),didConfirm:()=>s(),didCancel:()=>t(!1)})})}static #r=(()=>dt7948.n(this.prototype,"removeBookmark",[r.action]))();screenExcerptForExternalLink(e){e?.target?.tagName==="A"&&(0,P.shouldOpenInNewTab)(e.target.href)&&(0,P.openLinkInNewTab)(e,e.target)}static #a=(()=>dt7948.n(this.prototype,"screenExcerptForExternalLink",[r.action]))();editBookmark(e){this.modal.show(f.default,{model:{bookmark:new L.BookmarkFormData(e),afterSave:t=>{this.appEvents.trigger("bookmarks:changed",t,e.attachedTo()),this.reload()},afterDelete:()=>{this.reload()}}})}static #d=(()=>dt7948.n(this.prototype,"editBookmark",[r.action]))();clearBookmarkReminder(e){return(0,E.ajax)(`/bookmarks/${e.id}`,{type:"PUT",data:{reminder_at:null}}).then(()=>{e.set("reminder_at",null)})}static #g=(()=>dt7948.n(this.prototype,"clearBookmarkReminder",[r.action]))();togglePinBookmark(e){e.togglePin().then(this.reload)}static #T=(()=>dt7948.n(this.prototype,"togglePinBookmark",[r.action]))();toggleBulkSelect(){this.bulkSelectHelper?.toggleBulkSelect(),this.rerender()}static #C=(()=>dt7948.n(this.prototype,"toggleBulkSelect",[r.action]))();selectAll(){this.bulkSelectHelper.autoAddBookmarksToBulkSelect=!0,document.querySelectorAll("input.bulk-select:not(:checked)").forEach(e=>e.click())}static #A=(()=>dt7948.n(this.prototype,"selectAll",[r.action]))();clearAll(){this.bulkSelectHelper.autoAddBookmarksToBulkSelect=!1,document.querySelectorAll("input.bulk-select:checked").forEach(e=>e.click())}static #D=(()=>dt7948.n(this.prototype,"clearAll",[r.action]))();get bulkSelectEnabled(){return this.bulkSelectHelper?.bulkSelectEnabled}static #M=(()=>dt7948.n(this.prototype,"bulkSelectEnabled",[a.dependentKeyCompat]))();_removeBookmarkFromList(e){this.content.removeObject(e)}_toggleSelection(e,t,i){let s=this.selected;if(e.checked){if(s.addObject(t),i){let t=Array.from(document.querySelectorAll("input.bulk-select")),i=t.indexOf(e),s=t.findIndex(e=>e.id===this.lastChecked.id),n=Math.min(i,s),r=Math.max(i,s);t.slice(n,r).filter(e=>!0!==e.checked).forEach(e=>{e.click()})}this.set("lastChecked",e)}else s.removeObject(t),this.set("lastChecked",null)}click(e){((t,i)=>{let s=e.target.closest(t);s&&i(s)})("input.bulk-select",()=>{let t=e.target,i=t.dataset.id,s=this.content.find(e=>e.id.toString()===i);this._toggleSelection(t,s,this.lastChecked&&e.shiftKey)})}static #E=(()=>(0,s.setComponentTemplate)((0,N.createTemplateFactory)({id:"1QZzKnba",block:'[[[1,"\\n "],[8,[32,0],null,[["@condition"],[[30,0,["loading"]]]],[["default"],[[[[1,"\\n "],[8,[32,1],null,[["@action"],[[30,0,["loadMore"]]]],[["default"],[[[[1,"\\n "],[10,"table"],[14,0,"topic-list bookmark-list"],[12],[1,"\\n "],[10,"thead"],[14,0,"topic-list-header"],[12],[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[8,[32,2],null,[["@name"],["bookmark-list-table-header"]],[["default"],[[[[1,"\\n"],[41,[30,0,["bulkSelectEnabled"]],[[[1," "],[10,"th"],[14,0,"bulk-select topic-list-data"],[12],[1,"\\n "],[8,[32,3],null,[["@action","@class","@icon","@title"],[[30,0,["toggleBulkSelect"]],"bulk-select","list-check","bookmarks.bulk.toggle"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"th"],[14,0,"topic-list-data"],[12],[1,"\\n\\n"],[41,[30,0,["bulkSelectEnabled"]],[[[1," "],[10,1],[14,0,"bulk-select-topics"],[12],[41,[30,0,["canDoBulkActions"]],[[[1," "],[10,0],[14,0,"bulk-select-bookmarks-dropdown"],[12],[1,"\\n "],[10,1],[14,0,"bulk-select-bookmark-dropdown__count"],[12],[1,"\\n "],[1,[28,[32,4],["bookmarks.bulk.selected_count"],[["count"],[[30,0,["selectedCount"]]]]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,5],null,[["@bulkSelectHelper"],[[30,0,["bulkSelectHelper"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"]],[]],null],[8,[32,6],[[24,0,"btn btn-default bulk-select-all"]],[["@action","@label"],[[30,0,["selectAll"]],"bookmarks.bulk.select_all"]],null],[1,"\\n "],[8,[32,6],[[24,0,"btn btn-default bulk-clear-all"]],[["@action","@label"],[[30,0,["clearAll"]],"bookmarks.bulk.clear_all"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,3],null,[["@action","@class","@icon","@title"],[[30,0,["toggleBulkSelect"]],"bulk-select","list-check","bookmarks.bulk.toggle"]],null],[1,"\\n "],[1,[28,[32,4],["topic.title"],null]],[1,"\\n"]],[]]],[13],[1,"\\n "],[10,"th"],[14,0,"topic-list-data"],[12],[1," "],[13],[1,"\\n "],[10,"th"],[14,0,"post-metadata topic-list-data"],[12],[1,[28,[32,4],["post.bookmarks.updated"],null]],[13],[1,"\\n "],[10,"th"],[14,0,"post-metadata topic-list-data"],[12],[1,[28,[32,4],["activity"],null]],[13],[1,"\\n "],[10,"th"],[12],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,"tbody"],[14,0,"topic-list-body"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["content"]]],null]],null],null,[[[1," "],[10,"tr"],[15,0,[28,[32,7],["topic-list-item bookmark-list-item",[52,[30,1,["excerpt"]],"excerpt-expanded",""],[52,[30,1,["hasMetadata"]],"has-metadata",""]],null]],[12],[1,"\\n"],[41,[30,0,["bulkSelectEnabled"]],[[[1," "],[10,"td"],[14,0,"bulk-select bookmark-list-data"],[12],[1,"\\n "],[10,"label"],[15,"for",[29,["bulk-select-",[30,1,["id"]]]]],[12],[1,"\\n "],[10,"input"],[14,0,"bulk-select"],[15,1,[29,["bulk-select-",[30,1,["id"]]]]],[15,"data-id",[30,1,["id"]]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"td"],[14,0,"main-link topic-list-data"],[12],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["bookmark-list-before-link",[28,[32,8],null,[["bookmark"],[[30,1]]]]]],null],[1,"\\n\\n "],[10,1],[14,0,"link-top-line"],[12],[1,"\\n"],[41,[30,1,["hasMetadata"]],[[[1," "],[10,0],[14,0,"bookmark-metadata"],[12],[1,"\\n"],[41,[30,1,["reminder_at"]],[[[1," "],[10,1],[15,0,[29,["bookmark-metadata-item bookmark-reminder\\n ",[52,[30,1,["reminderAtExpired"]],"bookmark-expired-reminder"]]]],[12],[1,"\\n "],[1,[28,[32,9],["far-clock"],null]],[1,[30,1,["formattedReminder"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["name"]],[[[1," "],[10,1],[14,0,"bookmark-metadata-item"],[12],[1,"\\n "],[1,[28,[32,9],["circle-info"],null]],[10,1],[12],[1,[30,1,["name"]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"bookmark-status-with-link"],[12],[1,"\\n"],[41,[30,1,["pinned"]],[[[1," "],[1,[28,[32,9],["thumbtack"],[["class"],["bookmark-pinned"]]]],[1,"\\n"]],[]],null],[41,[30,1,["bookmarkableTopicAlike"]],[[[1," "],[8,[32,10],null,[["@topic"],[[30,1,["topicStatus"]]]],null],[1,"\\n "],[1,[28,[32,11],[[30,1,["topicForList"]]],null]],[1,"\\n"]],[]],[[[1," "],[10,3],[15,6,[30,1,["bookmarkable_url"]]],[14,"role","heading"],[14,"aria-level","2"],[14,0,"title"],[12],[1,"\\n "],[1,[30,1,["fancy_title"]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["bookmarkableTopicAlike"]],[[[1," "],[10,0],[14,0,"link-bottom-line"],[12],[1,"\\n "],[1,[28,[32,12],[[30,1,["category"]]],null]],[1,"\\n "],[1,[28,[32,13],[[30,1]],[["mode","tagsForUser"],["list",[30,0,["tagsForUser"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[28,[32,14],[[30,0,["site","mobileView"]],[30,1,["excerpt"]],[30,1,["user","avatar_template"]]],null],[[[1," "],[10,3],[15,6,[30,1,["bookmarkableUser","path"]]],[15,"data-user-card",[30,1,["user","username"]]],[14,0,"avatar"],[12],[1,"\\n "],[1,[28,[32,15],[[30,1,["bookmarkableUser"]]],[["avatarTemplatePath","usernamePath","namePath","imageSize"],["avatar_template","username","name","large"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["excerpt"]],[[[1," "],[11,2],[24,0,"post-excerpt"],[4,[32,16],["click",[30,0,["screenExcerptForExternalLink"]]],null],[12],[1,[28,[32,17],[[30,1,["excerpt"]]],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[10,"td"],[14,0,"author-avatar topic-list-data"],[12],[1,"\\n"],[41,[30,1,["user","avatar_template"]],[[[1," "],[10,3],[15,6,[30,1,["user","path"]]],[15,"data-user-card",[30,1,["user","username"]]],[14,0,"avatar"],[12],[1,"\\n "],[1,[28,[32,15],[[30,1,["user"]]],[["avatarTemplatePath","usernamePath","namePath","imageSize"],["avatar_template","username","name","large"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,"td"],[14,0,"post-metadata topic-list-data updated-at"],[12],[1,[28,[32,18],[[30,1,["updated_at"]]],[["format"],["tiny"]]]],[13],[1,"\\n "],[8,[32,19],[[24,0,"post-metadata"]],[["@topic"],[[30,1]]],null],[1,"\\n"]],[]],null],[1," "],[10,"td"],[14,0,"topic-list-data"],[12],[1,"\\n "],[8,[32,20],null,[["@bookmark","@removeBookmark","@editBookmark","@clearBookmarkReminder","@togglePinBookmark"],[[30,1],[30,0,["removeBookmark"]],[30,0,["editBookmark"]],[30,0,["clearBookmarkReminder"]],[30,0,["togglePinBookmark"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,0],null,[["@condition"],[[30,0,["loadingMore"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["bookmark"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/bookmark-list.js",scope:()=>[p.default,g.default,_.default,m.default,F.i18n,I.default,h.default,T.default,M.default,S.default,b.default,x.default,k.default,C.default,d.and,w.default,n.on,D.default,A.default,y.default,c.default],isStrictMode:!0}),this))()},[(0,l.classNames)("bookmark-list-wrapper")])},7834:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addCustomUserFieldValidationCallback:()=>l,default:()=>p});var s=i(77632),n=i(25164),r=i(94204),a=i(41277);let o=[];function l(e){o.push(e)}function u(e){return{failed:!0,ok:!1,...e}}function d(e){return{ok:!0,...e}}class c{static #e=(()=>dt7948.g(this.prototype,"value",[s.tracked],function(){return null}))();#tV=(()=>void dt7948.i(this,"value"))();field;getValidationVisible;getAccountPassword;constructor(e){let{field:t,getValidationVisible:i,getAccountPassword:s}=e;this.field=t,this.getValidationVisible=i,this.getAccountPassword=s}get validation(){if(!this.getValidationVisible())return d();let e=d();if(this.field.required&&(!this.value||(0,n.isEmpty)(this.value))){let t="confirm"===this.field.field_type?"user_fields.required_checkbox":"user_fields.required";e=u({reason:(0,a.i18n)(t,{name:this.field.name}),element:this.field.element})}else this.getAccountPassword()&&"text"===this.field.field_type&&this.value&&this.value.toLowerCase().includes(this.getAccountPassword().toLowerCase())&&(e=u({reason:(0,a.i18n)("user_fields.same_as_password"),element:this.field.element}));return o.forEach(t=>{let i=t(this);i&&(e=i)}),e}}class p{static #e=(()=>dt7948.g(this.prototype,"userFields",[s.tracked],function(){return new r.TrackedArray}))();#tW=(()=>void dt7948.i(this,"userFields"))();static #t=(()=>dt7948.g(this.prototype,"validationVisible",[s.tracked],function(){return!0}))();#tK=(()=>void dt7948.i(this,"validationVisible"))();constructor(e){let{getUserFields:t,getAccountPassword:i,showValidationOnInit:s=!0}=e;this.getUserFields=t,this.getAccountPassword=i,this.validationVisible=s,this.initializeUserFields()}initializeUserFields(){let e=this.getUserFields();if(e){let t=()=>this.validationVisible;this.userFields=new r.TrackedArray(e.sortBy("position").map(e=>new c({field:e,getValidationVisible:t,getAccountPassword:this.getAccountPassword})))}}get userFieldsValidation(){if(!this.userFields)return d();let e=this.userFields.find(e=>e.validation.failed);return e?e.validation:d()}}},7844:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(93810),n=i(36376),r=i(14547),a=i(35448),o=i(87464),l=i(60110);let u=dt7948.c(class extends s.default{content=null;selectKit=null;get formattedContent(){return this.content?(0,a.makeArray)(this.content).map(e=>this.getName(e)).join(", "):this.getName(this.selectKit.noneItem)}static #e=(()=>dt7948.n(this.prototype,"formattedContent",[(0,n.computed)("content")]))();static #t=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"1KwK1LhC",block:'[[[1,"\\n "],[10,1],[14,0,"formatted-selection"],[12],[1,"\\n "],[1,[30,0,["formattedContent"]]],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/multi-select/format-selected-content.js",isStrictMode:!0}),this))()},[o.default,(0,r.tagName)("")])},7866:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21044),n=i(93558),r=i(36376),a=i(31862),o=i(37420),l=i(41277),u=i(93810),d=i(60110);class c extends s.default{get id(){return`table-header-toggle-${this.args.field.replace(/\s/g,"")}`}get labelKey(){return this.args.automatic||this.args.translated?this.args.labelKey:this.args.field}get ariaSort(){return this.args.order===this.args.field?this.args.asc?"ascending":"descending":"none"}get chevronIcon(){if(this.args.order===this.args.field)return this.args.asc?"chevron-up":"chevron-down"}get pressedState(){return this.args.order===this.args.field?this.args.asc?"mixed":"true":"false"}get ariaLabel(){let e="";if("heart"===this.args.icon&&(e+=`${(0,l.i18n)("likes_lowercase",{count:2})} `),this.args.translated)e+=this.args.field;else{let t=this.labelKey||`directory.${this.args.field}`;e+=(0,l.i18n)(`${t}_long`,{defaultValue:(0,l.i18n)(t)})}return(0,l.i18n)("directory.sort.label",{criteria:e})}get iconName(){return this.args.icon||null}get label(){let e=this.labelKey||`directory.${this.args.field}`;return this.args.translated?this.args.field:(0,l.i18n)(e+"_long",{defaultValue:(0,l.i18n)(e)})}toggleProperties(){let e=this.args.order===this.args.field&&!this.args.asc||null;this.args.onToggle?.(this.args.field,e),(0,a.schedule)("afterRender",()=>{document.getElementById(this.id)?.focus()})}static #e=(()=>dt7948.n(this.prototype,"toggleProperties",[r.action]))();click(){this.toggleProperties()}static #t=(()=>dt7948.n(this.prototype,"click",[r.action]))();keyPress(e){"Enter"===e.key&&this.toggleProperties()}static #r=(()=>dt7948.n(this.prototype,"keyPress",[r.action]))();static #a=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"xV7JbxEN",block:'[[[1,"\\n "],[11,0],[17,1],[24,0,"directory-table__column-header sortable"],[16,"aria-sort",[30,0,["ariaSort"]]],[24,"role","columnheader"],[4,[32,0],["click",[30,0,["click"]]],null],[4,[32,0],["keypress",[30,0,["keyPress"]]],null],[12],[1,"\\n "],[10,0],[14,0,"header-contents"],[15,1,[30,0,["id"]]],[14,"role","button"],[14,"tabindex","0"],[15,"aria-label",[30,0,["ariaLabel"]]],[15,"aria-pressed",[30,0,["pressedState"]]],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,"\\n"],[41,[30,0,["iconName"]],[[[1," "],[1,[28,[32,1],[[30,0,["iconName"]]],null]],[1,"\\n"]],[]],null],[1," "],[1,[30,0,["label"]]],[1,"\\n"],[41,[30,0,["chevronIcon"]],[[[1," "],[1,[28,[32,1],[[30,0,["chevronIcon"]]],null]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["&attrs","&default"],false,["yield","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/table-header-toggle.js",scope:()=>[n.on,o.default],isStrictMode:!0}),this))()}},7901:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var s=i(3974),n=i(87356),r=i(90642);function a(e){return(0,s.A)((0,n.A)(e)).left+(0,r.A)(e).scrollLeft}},7928:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m,registerCustomUserNavMessagesDropdownRow:()=>p,resetCustomUserNavMessagesDropdownRows:()=>h});var s=i(77632),n=i(18891),r=i(36376),a=i(34229),o=i(83770),l=i(94611),u=i(41277);let d=(0,i(89689).A)(i(77632)).cached,c=[];function p(e,t,i){c.push({routeName:e,name:t,icon:i})}function h(){c.length=0}let m=class extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[o.service]))();#i=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"user",[n.inject]))();#ts=(()=>void dt7948.i(this,"user"))();static #r=(()=>dt7948.g(this.prototype,"userTopicsList",[n.inject]))();#tG=(()=>void dt7948.i(this,"userTopicsList"))();static #a=(()=>dt7948.g(this.prototype,"group",[s.tracked]))();#tJ=(()=>void dt7948.i(this,"group"))();static #d=(()=>dt7948.g(this.prototype,"tagId",[s.tracked]))();#tQ=(()=>void dt7948.i(this,"tagId"))();static #g=(()=>dt7948.g(this.prototype,"groupFilter",[(0,a.alias)("group.name")]))();#tX=(()=>void dt7948.i(this,"groupFilter"))();static #T=(()=>dt7948.g(this.prototype,"showNewPM",[(0,a.and)("user.viewingSelf","currentUser.can_send_private_messages")]))();#tZ=(()=>void dt7948.i(this,"showNewPM"))();static #C=(()=>dt7948.g(this.prototype,"isGroup",[(0,a.equal)("currentParentRouteName","userPrivateMessages.group")]))();#t1=(()=>void dt7948.i(this,"isGroup"))();static #A=(()=>dt7948.g(this.prototype,"viewingSelf",[(0,a.readOnly)("user.viewingSelf")]))();#t0=(()=>void dt7948.i(this,"viewingSelf"))();static #D=(()=>dt7948.g(this.prototype,"currentParentRouteName",[(0,a.readOnly)("router.currentRoute.parent.name")]))();#t3=(()=>void dt7948.i(this,"currentParentRouteName"))();static #M=(()=>dt7948.g(this.prototype,"pmTaggingEnabled",[(0,a.readOnly)("site.can_tag_pms")]))();#t2=(()=>void dt7948.i(this,"pmTaggingEnabled"))();get bulkSelectHelper(){return this.userTopicsList.bulkSelectHelper}get messagesDropdownValue(){let e,t=this.router.currentURL.toLowerCase();for(let i=this.messagesDropdownContent.length-1;i>=0;i--){let s=this.messagesDropdownContent[i];if(t.includes(s.id.toLowerCase().replace(this.router.rootURL,"/"))){e=s.id;break}}return e}get messagesDropdownContent(){let e=this.model.username_lower,t=[{id:this.router.urlFor("userPrivateMessages.user",e),name:(0,u.i18n)("user.messages.inbox")}];return this.model.groupsWithMessages.forEach(i=>{t.push({id:this.router.urlFor("userPrivateMessages.group",e,i.name),name:i.name,icon:"inbox"})}),this.pmTaggingEnabled&&t.push({id:this.router.urlFor("userPrivateMessages.tags",e),name:(0,u.i18n)("user.messages.tags"),icon:"tags"}),c.forEach(i=>{t.push({id:this.router.urlFor(i.routeName,e),name:i.name,icon:i.icon})}),t}static #E=(()=>dt7948.n(this.prototype,"messagesDropdownContent",[d]))();onMessagesDropdownChange(e){return l.default.routeTo(e)}static #P=(()=>dt7948.n(this.prototype,"onMessagesDropdownChange",[r.action]))()}},7950:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{_warnIfUsingStrippedFeatureFlags:()=>n,assert:()=>l.assert,captureRenderTree:()=>d.default,debug:()=>m,debugFreeze:()=>f,debugSeal:()=>g,deprecate:()=>k,deprecateFunc:()=>w,getDebugFunction:()=>b,info:()=>p,inspect:()=>u.default,isTesting:()=>a.isTesting,registerDeprecationHandler:()=>r.registerHandler,registerWarnHandler:()=>o.registerHandler,runInDebug:()=>_,setDebugFunction:()=>y,setTesting:()=>a.setTesting,warn:()=>h}),i(88288);var r=i(30765),a=i(43962),o=i(81768),l=i(47958),u=i(55358),d=i(67674);let c=()=>{},p=c,h=c,m=c,g=c,f=c,_=c,y=c,b=c,w=function(){return arguments[arguments.length-1]};function k(){return(s??r.default)(...arguments)}},8139:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(62069),n=i(3957),r=i(20936),a=i(93810),o=i(60110),l=i(29681);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"AALtSTZ0",block:'[[[1,"\\n "],[8,[32,0],null,[["@groups","@type","@filter","@onTypeChanged","@onFilterChanged"],[[30,1,["groups"]],[30,2,["type"]],[30,2,["filter"]],[30,2,["onTypeChanged"]],[30,2,["onFilterChanged"]]]],null],[1,"\\n\\n "],[8,[32,1],null,[["@name","@connectorTagName"],["after-groups-index-container","div"]],null],[1,"\\n "]],["@model","@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/groups/index.js",scope:()=>[n.default,r.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},8159:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(36376),n=i(15330),r=i(95163);class a extends r.default{get url(){return(0,n.getAbsoluteURL)(`/pub/${this.slug}`)}static #e=(()=>dt7948.n(this.prototype,"url",[(0,s.computed)("slug")]))()}},8303:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(36376),r=i(83770),a=i(44612),o=i(40617),l=i(72818),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();constructor(){super(...arguments),this.currentUser&&this.siteSettings.log_search_queries&&!this.currentUser.recent_searches?.length&&this.loadRecentSearches()}async clearRecent(){(await l.default.resetRecentSearches()).success&&this.currentUser.recent_searches.clear()}static #r=(()=>dt7948.n(this.prototype,"clearRecent",[n.action]))();onKeyup(e){if("Escape"===e.key)return this.args.closeSearchMenu(),e.preventDefault(),!1;this.search.handleArrowUpOrDown(e)}static #a=(()=>dt7948.n(this.prototype,"onKeyup",[n.action]))();async loadRecentSearches(){let e=await l.default.loadRecentSearches();e.success&&e.recent_searches?.length&&this.currentUser.set("recent_searches",e.recent_searches)}static #d=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"FuX6bSj1",block:'[[[1,"\\n"],[41,[30,0,["currentUser","recent_searches"]],[[[1," "],[10,0],[14,0,"search-menu-recent"],[12],[1,"\\n "],[10,0],[14,0,"heading"],[12],[1,"\\n "],[10,"h4"],[12],[1,[28,[32,0],["search.recent"],null]],[13],[1,"\\n "],[8,[32,1],[[24,0,"btn-flat clear-recent-searches"]],[["@title","@icon","@action"],["search.clear_recent","xmark",[30,0,["clearRecent"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["currentUser","recent_searches"]]],null]],null],null,[[[1," "],[8,[32,2],null,[["@icon","@label","@slug","@closeSearchMenu","@searchTermChanged","@usage","@concatSlug"],["clock-rotate-left",[30,1],[30,1],[30,2],[30,3],"recent-search",true]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["slug","@closeSearchMenu","@searchTermChanged"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/results/recent-searches.js",scope:()=>[u.i18n,a.default,o.default],isStrictMode:!0}),this))()}},8324:(e,t)=>{function i(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}var s=/javascript\s*\:/img;t.whiteList=i(),t.getDefaultWhiteList=i,t.onAttr=function(e,t,i){},t.onIgnoreAttr=function(e,t,i){},t.safeAttrValue=function(e,t){return s.test(t)?"":t}},8376:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{values;isQueryParams=!0;constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.values=e}}},8391:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DEFAULT_LIST:()=>r,default:()=>n});let s=/([^\[]+)(\[([^=]+)(=(.*))?\])?/;class n{constructor(e){this._enabled={default:!0},this._allowedHrefSchemes=e&&e.allowedHrefSchemes||[],this._allowedIframes=e&&e.allowedIframes||[],this._rawFeatures=[["default",r]],this._cache=null,e&&e.features&&Object.keys(e.features).forEach(t=>{e.features[t]&&(this._enabled[t]=!0)})}allowListFeature(e,t){this._rawFeatures.push([e,t])}disable(e){this._enabled[e]=!1,this._cache=null}enable(e){this._enabled[e]=!0,this._cache=null}_buildCache(){let e={},t={},i=[];this._rawFeatures.forEach(n=>{let[r,a]=n;if(this._enabled[r]){if(a.custom)return void i.push(a.custom);"string"==typeof a&&(a=[a]),(a||[]).forEach(i=>{let n=i.split("."),r=n.shift(),a=s.exec(r);if(a){let[,i,,s,,r]=a;e[i]=[];let o=t[i]=t[i]||{};if(n.length>0&&(o.class=(o.class||[]).concat(n)),s){let e=o[s]=o[s]||[];r?e.push(r):o[s]=["*"]}}})}}),this._cache={custom:i,allowList:{tagList:e,attrList:t}}}_ensureCache(){this._cache||this._buildCache()}getAllowList(){return this._ensureCache(),this._cache.allowList}getCustom(){return this._ensureCache(),this._cache.custom}getAllowedHrefSchemes(){return this._allowedHrefSchemes}getAllowedIframes(){return this._allowedIframes}}let r=["a.anchor","a.attachment","a.hashtag","a.mention","a.mention-group","a.onebox","a.inline-onebox","a.inline-onebox-loading","a[data-bbcode]","a[data-word]","a[name]","a[rel=nofollow]","a[rel=ugc]","a[target=_blank]","a[title]","abbr[title]","aside.quote","aside[data-*]","audio","audio[controls]","audio[preload]","b","big","blockquote","br","code","dd","del","div","div.quote-controls","div.title","div[align]","div[lang]","div[data-*]","div[dir]","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","iframe","iframe[frameborder]","iframe[height]","iframe[marginheight]","iframe[marginwidth]","iframe[width]","iframe[allowfullscreen]","iframe[allow]","img[alt]","img[role]","img[height]","img[title]","img[width]","img[data-thumbnail]","ins","kbd","li","mark","ol","ol[reversed]","ol[start]","ol[type]","p","p[lang]","picture","pre","s","small","span[lang]","span.excerpt","div.excerpt","div.video-container","div.video-placeholder-container","div.onebox-placeholder-container","span.placeholder-icon video","span.hashtag","span.mention","strike","strong","sub","sup","source[data-orig-src]","source[type]","track","track[default]","track[label]","track[kind]","track[srclang]","ul","video","video[controls]","video[controlslist]","video[crossorigin]","video[height]","video[loop]","video[muted]","video[playsinline]","video[poster]","video[preload]","video[width]","ruby","ruby[lang]","rb","rb[lang]","rp","rt","rt[lang]"]},8415:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(21044),n=i(77632),r=i(93810),a=i(42371),o=i(36376),l=i(83770),u=i(44612),d=i(28431),c=i(85692),p=i(55831),h=i(92161),m=i(46592),g=i(17586),f=i(41277),_=i(65644),y=i(60110);let b=[{id:"600",name:(0,f.i18n)("topic.slow_mode_update.durations.10_minutes")},{id:"900",name:(0,f.i18n)("topic.slow_mode_update.durations.15_minutes")},{id:"1800",name:(0,f.i18n)("topic.slow_mode_update.durations.30_minutes")},{id:"2700",name:(0,f.i18n)("topic.slow_mode_update.durations.45_minutes")},{id:"3600",name:(0,f.i18n)("topic.slow_mode_update.durations.1_hour")},{id:"7200",name:(0,f.i18n)("topic.slow_mode_update.durations.2_hours")},{id:"14400",name:(0,f.i18n)("topic.slow_mode_update.durations.4_hours")},{id:"28800",name:(0,f.i18n)("topic.slow_mode_update.durations.8_hours")},{id:"43200",name:(0,f.i18n)("topic.slow_mode_update.durations.12_hours")},{id:"86400",name:(0,f.i18n)("topic.slow_mode_update.durations.24_hours")},{id:"custom",name:(0,f.i18n)("topic.slow_mode_update.durations.custom")}];class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"selectedSlowMode",[n.tracked]))();#t8=(()=>void dt7948.i(this,"selectedSlowMode"))();static #r=(()=>dt7948.g(this.prototype,"hours",[n.tracked]))();#t4=(()=>void dt7948.i(this,"hours"))();static #a=(()=>dt7948.g(this.prototype,"minutes",[n.tracked]))();#t7=(()=>void dt7948.i(this,"minutes"))();static #d=(()=>dt7948.g(this.prototype,"seconds",[n.tracked]))();#t9=(()=>void dt7948.i(this,"seconds"))();static #g=(()=>dt7948.g(this.prototype,"saveDisabled",[n.tracked],function(){return!1}))();#t6=(()=>void dt7948.i(this,"saveDisabled"))();static #T=(()=>dt7948.g(this.prototype,"flash",[n.tracked]))();#b=(()=>void dt7948.i(this,"flash"))();constructor(){super(...arguments);let e=parseInt(this.args.model.topic.slow_mode_seconds,10);e&&(this.slowModes.find(t=>t.id===e.toString())?this.selectedSlowMode=e.toString():this.selectedSlowMode="custom",this._setFromSeconds(e))}get slowModes(){return b}get saveButtonLabel(){return this.args.model.topic.slow_mode_seconds&&0!==this.args.model.topic.slow_mode_seconds?"topic.slow_mode_update.update":"topic.slow_mode_update.enable"}get timeShortcuts(){let e=this.currentUser.user_option.timezone,t=(0,m.timeShortcuts)(e),i=t.monday();return i.label="time_shortcut.next_week",[t.laterToday(),t.tomorrow(),t.twoDays(),i,t.twoWeeks(),t.nextMonth(),t.twoMonths()]}get showCustomSelect(){return"custom"===this.selectedSlowMode}get durationIsSet(){return this.hours||this.minutes||this.seconds}async enableSlowMode(){this.saveDisabled=!0;let e=(0,p.toSeconds)(this._parseValue(this.hours),this._parseValue(this.minutes),this._parseValue(this.seconds));try{await g.default.setSlowMode(this.args.model.topic.id,e,this.args.model.topic.slow_mode_enabled_until),this.args.model.topic.set("slow_mode_seconds",e),this.args.closeModal()}catch{this.flash=(0,f.i18n)("generic_error")}finally{this.saveDisabled=!1}}static #C=(()=>dt7948.n(this.prototype,"enableSlowMode",[o.action]))();async disableSlowMode(){this.saveDisabled=!0;try{await g.default.setSlowMode(this.args.model.topic.id,0),this.args.model.topic.set("slow_mode_seconds",0),this.args.closeModal()}catch(e){this.flash=(0,h.extractError)(e)}finally{this.saveDisabled=!1}}static #A=(()=>dt7948.n(this.prototype,"disableSlowMode",[o.action]))();setSlowModeDuration(e){if("custom"!==e){let t=parseInt(e,10);this._setFromSeconds(t)}this.selectedSlowMode=e}static #D=(()=>dt7948.n(this.prototype,"setSlowModeDuration",[o.action]))();_setFromSeconds(e){let{hours:t,minutes:i,seconds:s}=(0,p.fromSeconds)(e);this.hours=t,this.minutes=i,this.seconds=s}_parseValue(e){return parseInt(e,10)||0}static #M=(()=>(0,r.setComponentTemplate)((0,y.createTemplateFactory)({id:"Cm2rMF+F",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"edit-slow-mode-modal"]],[["@title","@closeModal","@flash"],[[28,[32,1],["topic.slow_mode_update.title"],null],[30,1],[30,0,["flash"]]]],[["body","footer"],[[[[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"slow-mode-label"],[12],[1,"\\n "],[1,[28,[32,1],["topic.slow_mode_update.description"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"slow-mode-label"],[12],[1,"\\n "],[1,[28,[32,1],["topic.slow_mode_update.select"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,2],[[24,0,"slow-mode-type"]],[["@content","@value","@onChange"],[[30,0,["slowModes"]],[30,0,["selectedSlowMode"]],[30,0,["setSlowModeDuration"]]]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["showCustomSelect"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"slow-mode-label"],[12],[1,"\\n "],[1,[28,[32,1],["topic.slow_mode_update.hours"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,3],[[24,0,"input-small"]],[["@value","@type"],[[30,0,["hours"]],"number"]],null],[1,"\\n "],[10,"label"],[14,0,"slow-mode-label"],[12],[1,"\\n "],[1,[28,[32,1],["topic.slow_mode_update.minutes"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,3],[[24,0,"input-small"]],[["@value","@type"],[[30,0,["minutes"]],"number"]],null],[1,"\\n "],[10,"label"],[14,0,"slow-mode-label"],[12],[1,"\\n "],[1,[28,[32,1],["topic.slow_mode_update.seconds"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,3],[[24,0,"input-small"]],[["@value","@type"],[[30,0,["seconds"]],"number"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[8,[32,4],[[24,0,"enabled-until"]],[["@label","@labelClasses","@customShortcuts","@clearable","@input","@onChangeInput"],["topic.slow_mode_update.enabled_until","slow-mode-label",[30,0,["timeShortcuts"]],true,[30,2,["topic","slow_mode_enabled_until"]],[28,[32,5],[[28,[31,1],[[30,2,["topic","slow_mode_enabled_until"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,6],[[24,0,"btn-primary"]],[["@disabled","@icon","@label","@action"],[[30,0,["submitDisabled"]],"hourglass-start",[30,0,["saveButtonLabel"]],[30,0,["enableSlowMode"]]]],null],[1,"\\n"],[41,[30,2,["topic","slow_mode_seconds"]],[[[1," "],[8,[32,6],[[24,0,"btn-danger"]],[["@action","@disabled","@label"],[[30,0,["disableSlowMode"]],[30,0,["submitDisabled"]],"topic.slow_mode_update.remove"]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,["if","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/edit-slow-mode.js",scope:()=>[d.default,f.i18n,_.default,r.Input,c.default,a.fn,u.default],isStrictMode:!0}),this))()}},8625:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(97122),n=i(23568);i(7378);var r=i(71620),a=i(63847);i(7950);var o=i(12003);i(5963),i(56742);var l=i(14675);i(5840);var u=i(37349);i(91292),i(69902),i(93660),i(76053),i(78849),i(87079),i(92194),i(71790);var d=i(55744),c=i(54178);let p=u.default.prototype.reopen,h=new WeakSet,m=new WeakMap,g=new Set;function f(e){g.has(e)||e.destroy()}function _(e,t){let i=(0,a.meta)(e);if(void 0!==t){let s=e.concatenatedProperties,n=e.mergedProperties;for(let r of Object.keys(t)){let a=t[r],o=(0,l.b)(e,r,i),u=void 0!==o;if(!u){if(void 0!==s&&s.length>0&&s.includes(r)){let t=e[r];a=t?(0,d.default)(t).concat(a):(0,d.default)(a)}void 0!==n&&n.length>0&&n.includes(r)&&(a=Object.assign({},e[r],a))}u?o.set(e,r,a):!function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.setUnknownProperty}(e)||r in e?e[r]=a:e.setUnknownProperty(r,a)}}e.init(t),i.unsetInitializing();let s=i.observerEvents();if(void 0!==s)for(let t=0;tt.willDestroy()),(0,a.meta)(this).setInitializing()}reopen(){for(var e=arguments.length,t=Array(e),i=0;i`}static extend(){let e=class extends this{};for(var t=arguments.length,i=Array(t),s=0;s1&&void 0!==arguments[1]?arguments[1]:this;this.proto();let i={};(0,a.meta)(this.prototype).forEachDescriptors((s,n)=>{if(n.enumerable){let r=n._meta||i;e.call(t,s,r)}})}static get PrototypeMixin(){let e=m.get(this);return void 0===e&&((e=u.default.create()).ownerConstructor=this,m.set(this,e)),e}static get superclass(){let e=Object.getPrototypeOf(this);return e!==Function.prototype?e:void 0}static proto(){let e=this.prototype;if(!h.has(e)){h.add(e);let t=this.superclass;t&&t.proto(),m.has(this)&&this.PrototypeMixin.apply(e)}return e}static toString(){return`<${(0,s.g)(this)||"(unknown)"}:constructor>`}static isClass=!0;static isMethod=!1;static _onLookup;static _lazyInjections}function b(){let e={};for(var t=arguments.length,i=Array(t),s=0;s{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(31862),n=i(90443),r=i(89120),a=i(15330),o=i(42461),l=i(86264);class u extends l.UploaderPlugin{static pluginId="uppy-chunked-uploader";constructor(e,t){super(e,t),this.opts={limit:0,retryDelays:[0,1e3,3e3,5e3],...t},this.url=(0,a.default)(t.url),this.method=t.method||"POST",this.uploaders=Object.create(null),this.uploaderEvents=Object.create(null)}_resetUploaderReferences(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.uploaders[e]&&(this.uploaders[e].abort({really:t.abort||!1}),this.uploaders[e]=null),this.uploaderEvents[e]&&(this.uploaderEvents[e].remove(),this.uploaderEvents[e]=null)}_uploadFile(e){return new r.Promise((t,i)=>{let r=new o.default(e,{getChunkSize:this.opts.getChunkSize?this.opts.getChunkSize.bind(this):null,onStart:()=>{this.uppy.emit("upload-started",e)},onProgress:(t,i)=>{this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t,bytesTotal:i})},onChunkComplete:t=>{let i=this.uppy.getFile(e.id);i&&this.uppy.emit("chunk-uploaded",i,t)},onSuccess:()=>{this._resetUploaderReferences(e.id);let i=this.uppy.getFile(e.id);this.uppy.emit("upload-success",i||e,{}),t(r)},onError:t=>{this.uppy.log(t),this.uppy.emit("upload-error",e,t),this._resetUploaderReferences(e.id),i(t)},limit:this.opts.limit||5,retryDelays:this.opts.retryDelays||[],method:this.method,url:this.url,headers:this.opts.headers});this.uploaders[e.id]=r,this.uploaderEvents[e.id]=new n.default(this.uppy),(0,s.next)(()=>{e.isPaused||r.start()}),this._onFileRemove(e.id,i=>{this._resetUploaderReferences(e.id,{abort:!0}),t(`upload ${i.id} was removed`)}),this._onCancelAll(e.id,()=>{this._resetUploaderReferences(e.id,{abort:!0}),t(`upload ${e.id} was canceled`)}),this._onFilePause(e.id,e=>{e?r.pause():(0,s.next)(()=>{r.start()})}),this._onPauseAll(e.id,()=>{r.pause()}),this._onResumeAll(e.id,()=>{e.error&&r.abort(),(0,s.next)(()=>{r.start()})}),e.progress.uploadStarted&&e.isRestored||this.uppy.emit("upload-started",e)})}_onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",i=>{e===i.id&&t(i.id)})}_onFilePause(e,t){this.uploaderEvents[e].on("upload-pause",(i,s)=>{e===i&&t(s)})}_onPauseAll(e,t){this.uploaderEvents[e].on("pause-all",()=>{this.uppy.getFile(e)&&t()})}_onCancelAll(e,t){this.uploaderEvents[e].on("cancel-all",()=>{this.uppy.getFile(e)&&t()})}_onResumeAll(e,t){this.uploaderEvents[e].on("resume-all",()=>{this.uppy.getFile(e)&&t()})}_upload(e){let t=e.map(e=>{let t=this.uppy.getFile(e);return this._uploadFile(t)});return r.Promise.all(t)}install(){this._install(this._upload.bind(this))}uninstall(){this._uninstall(this._upload.bind(this))}}},8891:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(21044),n=i(77632),r=i(42371),a=i(93558),o=i(36376),l=i(44612),u=i(28431),d=i(37420),c=i(25815),p=i(41277),h=i(66026),m=i(93810),g=i(60110);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"filter",[n.tracked],function(){return""}))();#t5=(()=>void dt7948.i(this,"filter"))();static #t=(()=>dt7948.g(this.prototype,"filterDropdownValue",[n.tracked],function(){return"all"}))();#ie=(()=>void dt7948.i(this,"filterDropdownValue"))();filterDropdownContent=(()=>[{id:"all",name:(0,p.i18n)("sidebar.edit_navigation_modal_form.filter_dropdown.all")},{id:"selected",name:(0,p.i18n)("sidebar.edit_navigation_modal_form.filter_dropdown.selected")},{id:"unselected",name:(0,p.i18n)("sidebar.edit_navigation_modal_form.filter_dropdown.unselected")}])();onFilterDropdownChange(e){switch(this.filterDropdownValue=e,e){case"all":this.args.resetFilter();break;case"selected":this.args.filterSelected();break;case"unselected":this.args.filterUnselected()}}static #r=(()=>dt7948.n(this.prototype,"onFilterDropdownChange",[o.action]))();static #a=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"E2VbeuP9",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"sidebar__edit-navigation-menu__modal -large"],[17,1]],[["@title","@closeModal"],[[28,[32,1],[[30,2]],null],[30,3]]],[["belowModalTitle","belowHeader","body","footer"],[[[[1,"\\n "],[10,2],[14,0,"sidebar__edit-navigation-menu__deselect-wrapper"],[12],[1,"\\n "],[8,[32,2],[[24,0,"btn-flat sidebar__edit-navigation-menu__deselect-button"]],[["@label","@ariaLabel","@action"],["sidebar.edit_navigation_modal_form.deselect_button_text","sidebar.edit_navigation_modal_form.deselect_button_text",[30,4]]],null],[1,"\\n\\n "],[1,[30,5]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[10,0],[14,0,"sidebar__edit-navigation-menu__filter"],[12],[1,"\\n "],[10,0],[14,0,"sidebar__edit-navigation-menu__filter-input"],[12],[1,"\\n "],[1,[28,[32,3],["magnifying-glass"],[["class"],["sidebar__edit-navigation-menu__filter-input-icon"]]]],[1,"\\n\\n "],[11,"input"],[16,2,[30,0,["filter"]]],[16,"placeholder",[30,6]],[24,"autofocus","true"],[24,0,"sidebar__edit-navigation-menu__filter-input-field"],[24,4,"text"],[4,[32,4],["input",[28,[32,5],[[28,[32,6],[[28,[31,0],[[30,0,["filter"]]],null]],null]],null]],null],[4,[32,4],["input",[28,[32,5],[[30,7]],null]],null],[12],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"sidebar__edit-navigation-menu__filter-dropdown-wrapper"],[12],[1,"\\n "],[8,[32,7],[[24,0,"sidebar__edit-navigation-menu__filter-dropdown"]],[["@value","@content","@onChange","@options"],[[30,0,["filterDropdownValue"]],[30,0,["filterDropdownContent"]],[30,0,["onFilterDropdownChange"]],[28,[32,8],null,[["showCaret","disabled"],[true,[30,8]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[18,13,null],[1,"\\n "]],[]],[[[1,"\\n "],[10,0],[14,0,"sidebar__edit-navigation-menu__footer"],[12],[1,"\\n "],[8,[32,2],[[24,0,"btn-primary sidebar__edit-navigation-menu__save-button"]],[["@action","@label","@disabled"],[[30,9],"save",[30,10]]],null],[1,"\\n\\n"],[41,[30,11],[[[1," "],[8,[32,2],[[24,0,"btn-flat btn-text sidebar__edit-navigation-menu__reset-defaults-button"]],[["@action","@label","@icon","@disabled"],[[30,12],"sidebar.edit_navigation_modal_form.reset_to_defaults","arrow-rotate-left",[30,10]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@title","@closeModal","@deselectAll","@deselectAllText","@inputFilterPlaceholder","@onFilterInput","@loading","@save","@saving","@showResetDefaultsButton","@resetToDefaults","&default"],false,["mut","yield","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/edit-navigation-menu/modal.js",scope:()=>[u.default,p.i18n,l.default,d.default,a.on,c.default,r.fn,h.default,r.hash],isStrictMode:!0}),this))()}},9003:(e,t,i)=>{var s=i(27),n=i(31147);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==s(e)}},9015:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(22908),n=i(83770);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"elementClasses",[n.service]))();#it=(()=>void dt7948.i(this,"elementClasses"))();compute(e){let[...t]=e;this.elementClasses.registerClasses(this,document.body,t.flatMap(e=>e?.split(" ")).filter(Boolean))}}},9140:(e,t,i)=>{var s=i(39132),n=i(42991),r=i(37984),a=i(36146);function o(e,t){var i=e.vnode;if(i||(i=e.vnode=e.render(t)),!(s(i)||n(i)||r(i)))throw Error("thunk did not return a valid node");return i}e.exports=function(e,t){var i=e,s=t;return a(t)&&(s=o(t,e)),a(e)&&(i=o(e,null)),{a:i,b:s}}},9262:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(18891);class n extends s.default{}},9266:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(93810),n=i(93558),r=i(36376),a=i(34229),o=i(83770),l=i(58985),u=i(79256),d=i(37420),c=i(77598),p=i(60964),h=i(41277),m=i(60110);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[o.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #t=(()=>dt7948.g(this.prototype,"hasEdits",[(0,a.gt)("reviewable.post_version",1)]))();#ii=(()=>void dt7948.i(this,"hasEdits"))();historyClass(e){return(0,u.historyHeat)(this.siteSettings,new Date(e))}static #r=(()=>dt7948.n(this.prototype,"historyClass",[(0,c.default)("reviewable.post_updated_at")]))();editedDate(e){return(0,p.longDate)(e)}static #a=(()=>dt7948.n(this.prototype,"editedDate",[(0,c.default)("reviewable.post_updated_at")]))();showEditHistory(e){e?.preventDefault();let t=this.get("reviewable.post_id");this.store.find("post",t).then(e=>{this.modal.show(l.default,{model:{post:e,postId:t,postVersion:"latest",topicController:null}})})}static #d=(()=>dt7948.n(this.prototype,"showEditHistory",[r.action]))();static #g=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"qNGUQxbB",block:'[[[1,"\\n"],[41,[30,0,["hasEdits"]],[[[1," "],[11,3],[24,6,""],[16,0,[29,["has-edits ",[30,0,["historyClass"]]]]],[16,"title",[28,[32,0],["post.last_edited_on"],[["dateTime"],[[30,0,["editedDate"]]]]]],[4,[32,1],["click",[30,0,["showEditHistory"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["pencil"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-post-edits.js",scope:()=>[h.i18n,n.on,d.default],isStrictMode:!0}),this))()}},9278:(e,t,i)=>{"use strict";let s,n,r;i.r(t),i.d(t,{cacheShortUploadUrl:()=>m,lookupCachedUploadUrl:()=>c,lookupUncachedUploadUrls:()=>h,resetCache:()=>g,resolveAllShortUrls:()=>k,resolveCachedShortUrls:()=>w});var a=i(89120),o=i(9344),l=i.n(o),u=i(41277);let d={};function c(e){return d[e]||{}}let p="missing";function h(e,t){if(0!==(e=e.filter(Boolean)).length)return t("/uploads/lookup-urls",{type:"POST",data:{short_urls:e}}).then(t=>(t.forEach(e=>{m(e.short_url,{url:e.url,short_path:e.short_path})}),e.forEach(e=>m(e,{url:c(e).url||p,short_path:c(e).short_path||p})),t))}function m(e,t){d[e]=t}function g(){d={}}function f(e,t,i,s,n){let r=c(e.getAttribute(`data-${i}`)),a=function(e,t,i){if(t.url)return"orig-href"!==e||i.secure_uploads&&(t.url.includes("secure-media-uploads")||t.url.includes("secure-uploads"))?t.url:t.short_path}(i,r,t);if(a){if(e.removeAttribute(`data-${i}`),a!==p)n(a);else if(s&&s.removeMissing){let t,i=getComputedStyle(document.body),s=document.createElement("canvas");s.width=e.width,s.height=e.height;let n=s.getContext("2d");n.fillStyle=getComputedStyle(document.body).backgroundColor,n.strokeRect(0,0,s.width,s.height),n.lineWidth=2,n.strokeStyle=getComputedStyle(document.body).color,n.strokeRect(0,0,s.width,s.height);let r=25,a=(0,u.i18n)("image_removed");do--r,n.font=`${r}px ${i.fontFamily}`,t=n.measureText(a);while(t.width>s.width)n.fillStyle=getComputedStyle(document.body).color,n.fillText(a,(s.width-t.width)/2,(s.height+r)/2),e.parentNode.replaceChild(s,e)}}}function _(e,t,i){e.forEach(e=>{switch(e.tagName){case"A":f(e,t,"orig-href",i,t=>{e.href=t});break;case"IMG":f(e,t,"orig-src",i,t=>{e.src=t});break;case"SOURCE":f(e,t,"orig-src",i,t=>{if(t.startsWith(`//${window.location.host}`)){let e=RegExp("//"+window.location.host,"g");t=t.replace(e,"")}e.src=t;let i=e.parentElement.querySelector("a");i&&(i.href=t,i.textContent=t)});break;case"DIV":f(e,t,"orig-src-id",i,t=>{e.style.backgroundImage=`url('${t}')`,e.querySelector(".placeholder-icon.video").style.backgroundColor="rgba(0, 0, 0, 0.3)"})}})}function y(e){h(s,e).then(r),s=r=null}let b="img[data-orig-src], a[data-orig-href], source[data-orig-src], div[data-orig-src-id], div[data-orig-src]";function w(e,t,i){let s=t.querySelectorAll(b);s.length>0&&_(s,e,i)}function k(e,t,i,o){w(t,i,o);let u=i.querySelectorAll(b);if(u.length>0)return function(e,t,i,o){let u=[...e].map(e=>e.getAttribute("data-orig-src")||e.getAttribute("data-orig-href")||e.getAttribute("data-orig-src-id")||e.getAttribute("data-orig-src"));return s?s.push(...u):(s=[...u],n=new a.Promise(e=>{r=e}),l()(null,y,t,450)),n.then(()=>{_(e,i,o)})}(u,e,t,o)}},9327:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(42371),n=i(85703),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"rez9encz",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],["form-kit__col",[52,[30,1],[28,[32,1],["--col-",[30,1]],null]]],null]],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],["@size","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/col.js",scope:()=>[n.default,s.concat],isStrictMode:!0}),(0,o.default)(void 0,"col:FKCol"))},9533:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";function t(e,t,i,s){var n={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?n[i][0]:n[i][1]}function i(e){if(isNaN(e=parseInt(e,10)))return!1;if(e<0)return!0;if(e<10)return!!(4<=e)&&!!(e<=7);if(e<100){var t=e%10,s=e/10;return 0===t?i(s):i(t)}if(!(e<1e4))return i(e/=1e3);for(;e>=10;)e/=10;return i(e)}return e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},9641:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(19419)},9645:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(93558),n=i(62069),r=i(13446),a=i(75768),o=i(65774),l=i(18781),u=i(62214),d=i(35077),c=i(58765),p=i(64353),h=i(97276),m=i(64760),g=i(93810),f=i(60110),_=i(29681);let y=(0,n.default)((0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"wbCL5GE3",block:'[[[1,"\\n"],[41,[30,1,["model","canLoadMore"]],[[[1," "],[1,[32,0]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["noContent"]],[[[1," "],[8,[32,1],null,[["@title","@body"],[[30,1,["model","emptyState","title"]],[30,1,["model","emptyState","body"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"paginated-topics-list"]],[["@action"],[[30,1,["loadMore"]]]],[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@position","@selectedTopics","@model","@showResetNew","@showDismissRead","@resetNew","@dismissRead"],["top",[30,1,["bulkSelectHelper","selected"]],[30,1,["model"]],[30,1,["showResetNew"]],[30,1,["showDismissRead"]],[30,1,["resetNew"]],[52,[30,1,["showDismissRead"]],[28,[32,4],["dismissReadTopics"],null]]]],null],[1,"\\n\\n"],[41,[28,[32,5],[[30,1,["model","loadingBefore"]],[30,1,["incomingCount"]]],null],[[[1," "],[10,0],[14,0,"show-mores"],[12],[1,"\\n "],[11,3],[24,"tabindex","0"],[24,6,""],[16,0,[29,["alert alert-info clickable\\n ",[52,[30,1,["model","loadingBefore"]],"loading"]]]],[4,[32,6],["click",[30,1,["showInserted"]]],null],[12],[1,"\\n "],[8,[32,7],null,[["@key","@count"],["topic_count_latest",[28,[32,5],[[30,1,["model","loadingBefore"]],[30,1,["incomingCount"]]],null]]],null],[1,"\\n"],[41,[30,2,["loadingBefore"]],[[[1," "],[1,[28,[32,8],null,[["size"],["small"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,9],null,[["@topicList","@hideCategory","@showPosters","@tagsForUser","@canBulkSelect","@bulkSelectHelper","@changeSort","@order","@ascending","@focusLastVisitedTopic"],[[30,1,["model"]],[30,1,["hideCategory"]],[30,1,["showPosters"]],[30,1,["tagsForUser"]],[30,1,["canBulkSelect"]],[30,1,["bulkSelectHelper"]],[30,1,["changeSort"]],[30,1,["order"]],[30,1,["ascending"]],true]],null],[1,"\\n\\n "],[8,[32,3],null,[["@position","@selectedTopics","@model","@showResetNew","@showDismissRead","@resetNew","@dismissRead"],["bottom",[30,1,["bulkSelectHelper","selected"]],[30,1,["model"]],[30,1,["showResetNew"]],[30,1,["showDismissRead"]],[30,1,["resetNew"]],[52,[30,1,["showDismissRead"]],[28,[32,4],["dismissReadTopics"],null]]]],null],[1,"\\n\\n "],[8,[32,10],null,[["@condition"],[[30,1,["model","loadingMore"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "]],["@controller","@model"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user-topics-list.js",scope:()=>[p.default,u.default,d.default,c.default,m.default,r.or,s.on,l.default,h.default,a.default,o.default],isStrictMode:!0}),(0,_.default)(void 0,void 0)))},9699:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(74129)},9704:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(77632),r=i(42371),a=i(36376),o=i(83770),l=i(2845),u=i(44612),d=i(63296),c=i(93810),p=i(60110);let h="dismissed-pwa-install-banner";class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"capabilities",[o.service]))();#v=(()=>void dt7948.i(this,"capabilities"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #r=(()=>dt7948.g(this.prototype,"keyValueStore",[o.service]))();#w=(()=>void dt7948.i(this,"keyValueStore"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #d=(()=>dt7948.g(this.prototype,"bannerDismissed",[n.tracked],function(){return"true"===this.keyValueStore.get(h)}))();#is=(()=>void dt7948.i(this,"bannerDismissed"))();static #g=(()=>dt7948.g(this.prototype,"deferredInstallPromptEvent",[n.tracked],function(){return null}))();#ir=(()=>void dt7948.i(this,"deferredInstallPromptEvent"))();registerInstallPromptListener=(()=>(0,l.modifier)(()=>{let e=e=>{e.preventDefault(),this.deferredInstallPromptEvent=e};return window.addEventListener("beforeinstallprompt",e),()=>{window.removeEventListener("beforeinstallprompt",e)}}))();get showPWAInstallBanner(){return this.capabilities.isAndroid&&this.currentUser?.trust_level>0&&this.deferredInstallPromptEvent&&!window.matchMedia("(display-mode: standalone)").matches&&!this.capabilities.isAppWebview&&!this.bannerDismissed}turnOn(){this.dismiss(),this.deferredInstallPromptEvent.prompt()}static #T=(()=>dt7948.n(this.prototype,"turnOn",[a.action]))();dismiss(){this.keyValueStore.set({key:h,value:!0}),this.bannerDismissed=!0}static #C=(()=>dt7948.n(this.prototype,"dismiss",[a.action]))();static #A=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"EMNyDLBi",block:'[[[1,"\\n"],[41,[30,0,["showPWAInstallBanner"]],[[[1," "],[10,0],[14,0,"pwa-install-banner alert alert-info"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@action","@text","@textParams"],[[30,0,["turnOn"]],"pwa.install_banner",[28,[32,1],null,[["title"],[[30,0,["siteSettings","title"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,2],[[24,0,"btn-transparent close"]],[["@icon","@action","@title"],["xmark",[30,0,["dismiss"]],"banner.close"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/pwa-install-banner.js",scope:()=>[d.default,r.hash,u.default],isStrictMode:!0}),this))()}},9819:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(77632),n=i(25164),r=i(32343),a=i(72818),o=i(41277);function l(e){return{shouldCheck:!1,failed:!0,ok:!1,element:document.querySelector("#new-account-username"),...e}}function u(e){return{ok:!0,...e}}class d{static #e=(()=>dt7948.g(this.prototype,"usernameValidationResult",[s.tracked]))();#ia=(()=>void dt7948.i(this,"usernameValidationResult"))();checkedUsername=null;constructor(e){let{getAccountEmail:t,getAccountUsername:i,getPrefilledUsername:s,getAuthOptionsUsername:n,getForceValidationReason:r,siteSettings:a,isInvalid:o,updateIsDeveloper:l,updateUsernames:u}=e;this.getAccountEmail=t,this.getAccountUsername=i,this.getPrefilledUsername=s,this.getAuthOptionsUsername=n,this.getForceValidationReason=r,this.siteSettings=a,this.isInvalid=o,this.updateIsDeveloper=l,this.updateUsernames=u}async fetchExistingUsername(){let e=this.getAccountUsername(),t=await a.default.checkUsername(null,this.getAccountEmail());t.suggestion&&((0,n.isEmpty)(e)||e===this.getAuthOptionsUsername())&&this.updateUsernames(t.suggestion)}get usernameValidation(){let e=this.getAccountUsername();if(this.usernameValidationResult&&this.checkedUsername===e)return this.usernameValidationResult;let t=this.basicUsernameValidation(e);return t.shouldCheck&&(0,r.default)(this,this.checkUsernameAvailability,500),t}basicUsernameValidation(e){return e&&e===this.getPrefilledUsername()?u({reason:(0,o.i18n)("user.username.prefilled")}):(0,n.isEmpty)(e)?l({message:(0,o.i18n)("user.username.required"),reason:this.getForceValidationReason()?(0,o.i18n)("user.username.required"):null}):e.lengththis.siteSettings.max_username_length?l({reason:(0,o.i18n)("user.username.too_long")}):l({shouldCheck:!0,reason:(0,o.i18n)("user.username.checking")})}async checkUsernameAvailability(){let e=this.getAccountUsername(),t=await a.default.checkUsername(e,this.getAccountEmail());this.isInvalid()||(this.checkedUsername=e,this.updateIsDeveloper(!!t.is_developer),t.available?this.usernameValidationResult=u({reason:(0,o.i18n)("user.username.available")}):t.suggestion?this.usernameValidationResult=l({reason:(0,o.i18n)("user.username.not_available",t)}):this.usernameValidationResult=l({reason:t.errors?t.errors.join(" "):(0,o.i18n)("user.username.not_available_no_suggestion")}))}}},9841:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(37420),n=i(41277),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"xQbqWsXB",block:'[[[1,"\\n"],[1," "],[10,3],[14,0,"powered-by-discourse"],[14,6,"https://discourse.org/powered-by"],[14,"target","_blank"],[12],[1,"\\n "],[10,1],[14,0,"powered-by-discourse__content"],[12],[1,"\\n "],[10,1],[14,0,"powered-by-discourse__logo"],[12],[1,"\\n "],[1,[28,[32,0],["fab-discourse"],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["powered_by_discourse"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/powered-by-discourse.js",scope:()=>[s.default,n.i18n],isStrictMode:!0}),(0,o.default)(void 0,"powered-by-discourse:PoweredByDiscourse"))},9843:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(98175);function n(e){return(0,s.A)(e).getComputedStyle(e)}},9954:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(93558),n=i(37420),r=i(41277),a=i(93810),o=i(60110),l=i(29681);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"OPHKh4QR",block:'[[[1,"\\n "],[10,"th"],[14,0,"bulk-select topic-list-data"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[11,"button"],[16,"title",[28,[32,0],["topics.bulk.toggle"],null]],[24,0,"btn-flat bulk-select"],[4,[32,1],["click",[30,2,["toggleBulkSelect"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["list-check"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],["@canBulkSelect","@bulkSelectHelper"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/header/bulk-select-cell.js",scope:()=>[r.i18n,s.on,n.default],isStrictMode:!0}),(0,l.default)(void 0,"bulk-select-cell:BulkSelectCell"))},9970:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(54695),n=i(6809),r=i(62069),a=i(44315),o=i(41071),l=i(65774),u=i(44612),d=i(35077),c=i(20936),p=i(12329),h=i(47290),m=i(64353),g=i(29421),f=i(41277),_=i(93810),y=i(60110),b=i(29681);let w=(0,r.default)((0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"ic0hOEgL",block:'[[[1,"\\n"],[41,[30,1,["canLoadMore"]],[[[1," "],[1,[32,0]],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[15,0,[29,["container show-badge ",[30,1,["model","slug"]]]]],[12],[1,"\\n "],[10,"h1"],[12],[1,"\\n "],[8,[32,1],null,[["@route"],["badges.index"]],[["default"],[[[[1,[28,[32,2],["badges.title"],null]]],[]]]]],[1,"\\n /\\n "],[1,[30,1,["model","name"]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"show-badge-details"],[12],[1,"\\n "],[8,[32,3],null,[["@badge","@size","@count"],[[30,1,["model"]],"large",[30,1,["userBadges","grant_count"]]]],null],[1,"\\n "],[10,0],[15,0,[29,["badge-grant-info ",[52,[30,1,["hiddenSetTitle"]],"","hidden"]]]],[12],[1,"\\n "],[10,0],[12],[1,"\\n"],[41,[30,1,["canSelectTitle"]],[[[1," "],[10,0],[14,0,"grant-info-item"],[12],[1,"\\n "],[1,[28,[32,2],["badges.allow_title"],null]],[1,"\\n "],[8,[32,4],[[24,0,"btn-default pad-left"]],[["@action","@icon"],[[30,1,["toggleSetUserTitle"]],"pencil"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["model","multiple_grant"]],[[[1," "],[10,0],[14,0,"grant-info-item"],[12],[1,"\\n "],[1,[28,[32,2],["badges.multiple_grant"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["canSelectTitle"]],[[[1," "],[10,0],[15,0,[29,["badge-set-title\\n ",[52,[30,1,["hiddenSetTitle"]],"hidden",""]]]],[12],[1,"\\n "],[8,[32,5],null,[["@name","@outletArgs"],["selectable-user-badges",[28,[32,6],null,[["selectableUserBadges","closeAction"],[[30,1,["selectableUserBadges"]],[30,1,["toggleSetUserTitle"]]]]]]],[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@selectableUserBadges","@closeAction"],[[30,1,["selectableUserBadges"]],[30,1,["toggleSetUserTitle"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,1,["userBadges"]],[[[1," "],[10,0],[15,0,[29,["user-badges ",[30,1,["model","slug"]]]]],[12],[1,"\\n "],[8,[32,8],null,[["@action"],[[30,1,["loadMore"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"badges-granted"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["userBadges"]]],null]],null],null,[[[1," "],[8,[32,9],[[24,0,"badge-info"]],[["@user","@size","@date"],[[30,2,["user"]],"medium",[30,2,["granted_at"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"granted-on"],[12],[1,"\\n "],[1,[28,[32,10],[[28,[32,2],["badges.granted_on"],[["date"],[[28,[32,11],[[30,2,["granted_at"]]],null]]]]],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,2,["post_number"]],[[[1," "],[10,3],[14,0,"post-link"],[15,6,[29,[[30,2,["topic","url"]],"/",[30,2,["post_number"]]]]],[12],[1,[28,[32,10],[[30,2,["topic","fancyTitle"]]],null]],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[51,[30,1,["canLoadMore"]]],[[[41,[30,1,["canShowOthers"]],[[[1," "],[10,0],[12],[1,"\\n "],[10,3],[14,1,"show-others-with-badge-link"],[15,6,[30,1,["model","url"]]],[14,0,"btn btn-default"],[12],[1,[28,[32,2],["badges.others_count"],[["count"],[[30,1,["othersCount"]]]]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,12],null,[["@condition"],[[30,1,["canLoadMore"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@controller","ub"],false,["if","each","-track-array","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/badges/show.js",scope:()=>[m.default,s.LinkTo,f.i18n,a.default,u.default,c.default,g.default,o.default,d.default,p.default,n.htmlSafe,h.default,l.default],isStrictMode:!0}),(0,b.default)(void 0,void 0)))},9998:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(42371),n=i(60964),r=i(61556),a=i(93810),o=i(60110),l=i(29681);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"6YxNJ5kl",block:'[[[1,"\\n "],[10,0],[14,0,"d-stat-tile"],[14,"role","group"],[12],[1,"\\n "],[10,0],[14,0,"d-stat-tile__top"],[12],[1,"\\n "],[10,1],[14,0,"d-stat-tile__label"],[12],[1,[30,1]],[13],[1,"\\n"],[41,[30,2],[[[1," "],[8,[32,0],[[24,0,"d-stat-tile__tooltip"]],[["@icon","@content"],["circle-question",[30,2]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[41,[30,3],[[[1," "],[10,3],[15,6,[30,3]],[14,0,"d-stat-tile__value"],[15,"title",[30,4]],[12],[1,"\\n "],[1,[28,[32,1],[[30,4]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,1],[14,0,"d-stat-tile__value"],[15,"title",[30,4]],[12],[1,[28,[32,1],[[30,4]],null]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],["@label","@tooltip","@url","@value"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-stat-tiles.js",scope:()=>[r.default,n.number],isStrictMode:!0}),(0,l.default)(void 0,"d-stat-tiles:DStatTile")),d=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"s+uRsT/M",block:'[[[1,"\\n "],[11,0],[24,0,"d-stat-tiles"],[17,1],[12],[1,"\\n "],[18,2,[[28,[32,0],null,[["Tile"],[[32,1]]]]]],[1,"\\n "],[13],[1,"\\n"]],["&attrs","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-stat-tiles.js",scope:()=>[s.hash,u],isStrictMode:!0}),(0,l.default)(void 0,"d-stat-tiles:DStatTiles"))},10010:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(89120),n=i(77598),r=i(48185),a=i(86264);class o extends a.UploadPreProcessorPlugin{static pluginId="uppy-checksum";constructor(e,t){super(e,t),this.capabilities=t.capabilities}_canUseSubtleCrypto(){return this._secureContext()?this.capabilities.isIE11?(this._consoleWarn("The required cipher suite is unavailable in Internet Explorer 11."),!1):Blob.prototype.arrayBuffer?!!this._hasCryptoCipher()||(this._consoleWarn("The required cipher suite is unavailable in this browser."),!1):(this._consoleWarn("The required File API is unavailable in this browser."),!1):(this._consoleWarn("Cannot generate cryptographic digests in an insecure context (not HTTPS)."),!1)}_generateChecksum(e){if(!this._canUseSubtleCrypto())return this._skipAll(e,!0);let t=e.map(e=>{let t=this._getFile(e);return(this._emitProgress(t),t.size>r.HUGE_FILE_THRESHOLD_BYTES)?(this._consoleWarn("The file provided is too large to checksum, skipping."),this._skip(t)):t.data.arrayBuffer().then(i=>window.crypto.subtle.digest("SHA-1",i).then(i=>{let s=Array.from(new Uint8Array(i)).map(e=>e.toString(16).padStart(2,"0")).join("");this._setFileMeta(e,{sha1_checksum:s}),this._emitComplete(t)}).catch(e=>{e.message.toString().includes("Algorithm: Unrecognized name")?this._consoleWarn("SHA-1 algorithm is unsupported in this browser."):this._consoleWarn(`Error encountered when generating digest: ${e.message}`),this._emitComplete(t)}))});return s.Promise.all(t)}static #e=(()=>dt7948.n(this.prototype,"_generateChecksum",[n.bind]))();_secureContext(){return window.isSecureContext}_hasCryptoCipher(){return window.crypto?.subtle?.digest}install(){this._install(this._generateChecksum)}uninstall(){this._uninstall(this._generateChecksum)}}},10151:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>k,getAndClearUnhandledThemeErrors:()=>_}),i(32952);var s=i(12106);globalThis.dt7948=s.r,i(93240),i(69202),i(20590);var n=i(47182),r=i(98951),a=i(98204),o=i(78248),l=i.n(o),u=i(99911),d=i(131),c=i(87102),p=i(60797);(0,n.registerDiscourseImplicitInjections)();let h=[],m=[];class g extends r.default{modulePrefix="discourse";rootElement="#main";customEvents={paste:"paste"};Resolver=(()=>(0,p.buildResolver)("discourse"))();start(){(function(){if(w)return;let e="ℹ️ ",t=document.querySelector("meta[name=generator]")?.content,i=t?.split(" ");if(i){let t=i[1],s=i[5]?.substr(0,10);e+=`Discourse v${t} — https://github.com/discourse/discourse/commits/${s} — `}console.log(e+=`Ember v${a.default}`),w=!0})(),document.querySelectorAll("noscript").forEach(e=>e.remove()),(0,u.normalizeEmberEventHandling)(this),Error.stackTraceLimit&&(Error.stackTraceLimit=1/0),window.history.scrollRestoration="manual",function(e){let t=[],i=[],s=[],n=[];for(let e of Object.keys(requirejs.entries))if(e.startsWith("discourse/")&&!e.endsWith("-test"))if(e.startsWith("discourse/initializers/"))t.push(e);else if(e.startsWith("discourse/instance-initializers/"))i.push(e);else{let t=function(e){let t=e.match(/^discourse\/theme\-(\d+)\//);if(t)return parseInt(t[1],10)}(e);(void 0!==t||e.startsWith("discourse/plugins/"))&&(e.includes("/pre-initializers/")?s.push([e,t]):(e.includes("/initializers/")||e.includes("/api-initializers/"))&&n.push([e,t]))}for(let i of t)e.initializer(y(i));for(let t of i)e.instanceInitializer(y(t));for(let[t,i]of s)e.initializer(b(t,i));for(let[t,i]of n)e.instanceInitializer(b(t,i));for(let[t,i]of h.entries())e.instanceInitializer({name:`_discourse_plugin_${t}`,after:"inject-objects",initialize:()=>(0,c.withPluginApi)(i.version,i.code)})}(this)}_registerPluginCode(e,t){h.push({version:e,code:t})}ready(){performance.mark("discourse-ready"),document.querySelector("#d-splash")?.remove()}}function f(e){let{themeId:t,error:i}=e,s=new CustomEvent("discourse-error",{cancelable:!0,detail:{themeId:t,error:i}});document.dispatchEvent(s)&&m.push(s)}function _(){let e=m;return m=[],e}function y(e){let t=l()(e,null,null,!0);if(!t)throw Error(e+" must export an initializer.");let i=t.default;if(!i)throw Error(e+" must have a default export");return i.name||(i.name=e.slice(e.lastIndexOf("/")+1)),i}function b(e,t){let i;try{i=y(e)}catch(e){if(!(!t||(0,d.isTesting)()))return void f({themeId:t,error:e});throw e}let s=i.initialize;return i.initialize=e=>{try{return s.call(i,e.__container__,e)}catch(e){if(!t||(0,d.isTesting)())throw e;f({themeId:t,error:e})}},i}let w=!1,k=g},10159:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(77632),r=i(42371),a=i(36376),o=i(32441),l=i(32165),u=i(93810),d=i(60110),c=i(29681);let p=(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"YWz5JxSS",block:'[[[1,"\\n "],[10,0],[14,0,"form-kit__inline-radio"],[12],[1,"\\n "],[18,3,[[50,[32,0],0,null,[["activeName","setCondition"],[[30,1],[30,2]]]]]],[1,"\\n "],[13],[1,"\\n"]],["@activeName","@setCondition","&default"],false,["yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/conditional-content.js",scope:()=>[o.default],isStrictMode:!0}),(0,c.default)(void 0,"conditional-content:Conditions")),h=(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"TWiPdggF",block:'[[[1,"\\n "],[18,2,[[50,[32,0],0,null,[["activeName"],[[30,1]]]]]],[1,"\\n"]],["@activeName","&default"],false,["yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/conditional-content.js",scope:()=>[l.default],isStrictMode:!0}),(0,c.default)(void 0,"conditional-content:Contents"));class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"activeName",[n.tracked],function(){return this.args.activeName}))();#io=(()=>void dt7948.i(this,"activeName"))();setCondition(e){this.activeName=e}static #t=(()=>dt7948.n(this.prototype,"setCondition",[a.action]))();static #r=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"biThpBVH",block:'[[[1,"\\n "],[10,0],[14,0,"form-kit__conditional-display"],[12],[1,"\\n "],[18,1,[[28,[32,0],null,[["Conditions","Contents"],[[50,[32,1],0,null,[["activeName","setCondition"],[[30,0,["activeName"]],[30,0,["setCondition"]]]]],[50,[32,2],0,null,[["activeName"],[[30,0,["activeName"]]]]]]]]]],[1,"\\n "],[13],[1,"\\n "]],["&default"],false,["yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/conditional-content.js",scope:()=>[r.hash,p,h],isStrictMode:!0}),this))()}},10208:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(76998);function n(e){return`
  • ${(0,s.escapeExpression)(e.name)}
  • `}function r(e){let{options:t}=e;return`
      ${t.map(n).join("")}
    `}},10218:(e,t,i)=>{"use strict";i.r(t),i.d(t,{cacheFor:()=>s.g,guidFor:()=>n.g}),i(14897);var s=i(76949),n=i(71620)},10303:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n}),i(131);let s="discourse__dev_tools",n={after:["discourse-bootstrap"],initialize(e){function t(e){!1===e?window.localStorage?.removeItem(s):window.localStorage?.setItem(s,e)}window.enableDevTools=()=>{t(!0),window.location.reload()},window.disableDevTools=()=>{t(!1),window.location.reload()},function(){let e=window.localStorage?.getItem(s);return"true"===e||"false"!==e&&null}()&&(console.log("Loading Discourse dev tools..."),e.deferReadiness(),i.e(939).then(i.bind(i,53939)).then(t=>{t.init(),console.log("Loaded Discourse dev tools. Run `disableDevTools()` in console to disable."),e.advanceReadiness()}))}}},10332:(e,t,i)=>{"use strict";i.d(t,{n4:()=>m});var s=i(90172),n=i(33872),r=i(14535),a=i(73434),o=i(31179),l=i(41334),u=i(28897),d=i(12228),c=i(75452),p=i(67949),h=[n.A,r.A,a.A,o.A,l.A,u.A,d.A,c.A,p.A],m=(0,s.UD)({defaultModifiers:h})},10347:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(53729),n=i(76998);function r(e){return(0,s.prioritizeNameFallback)(e.name,(0,n.formatUsername)(e.username))}},10398:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(3558),n=i(66831),r=i(21847),a=i(94611),o=i(21772),l=i(41277);class u extends o.default{titleToken(){return(0,l.i18n)("login.reset_password")}model(e){if(r.default.get("password_reset"))return r.default.getAndRemove("password_reset").then(t=>(0,n.deepMerge)(e,t))}afterModel(e){if(e)return(0,s.ajax)({url:(0,a.userPath)(`confirm-email-token/${e.token}.json`),dataType:"json"})}setupController(e){super.setupController(...arguments),e.initSelectedSecondFactorMethod()}}},10439:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(36376),n=i(83770),r=i(76823),a=i(74098),o=i(21772),l=i(41277);class u extends o.default{static #e=(()=>dt7948.g(this.prototype,"modal",[n.service]))();#S=(()=>void dt7948.i(this,"modal"))();titleToken(){return(0,l.i18n)("groups.members.title")}model(e){return this._params=e,this.modelFor("group")}setupController(e,t){e.setProperties({model:t,filterInput:this._params.filter,showing:"members"}),e.reloadMembers(!0)}showAddMembersModal(){this.modal.show(a.default,{model:this.modelFor("group")})}static #t=(()=>dt7948.n(this.prototype,"showAddMembersModal",[s.action]))();showInviteModal(){let e=this.modelFor("group");this.modal.show(r.default,{model:{groupIds:[e.id]}})}static #r=(()=>dt7948.n(this.prototype,"showInviteModal",[s.action]))();didTransition(){return this.controllerFor("group-index").set("filterInput",this._params.filter),!0}static #a=(()=>dt7948.n(this.prototype,"didTransition",[s.action]))()}},10484:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(12383),n=i(94611),r=i(41277);let a=class extends s.default{get linkHref(){return(0,n.userPath)(this.notification.data.display_username)}get description(){return(0,r.i18n)("notifications.invitee_accepted_your_invitation")}}},10489:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(42371),r=i(36376),a=i(83770),o=i(65053),l=i(44612),u=i(85703),d=i(5875),c=i(66026),p=i(93810),h=i(60110);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();get multiple(){return this.args.bundle.actions.length>1}get first(){return this.args.bundle.actions[0]}get placement(){let e=this.site.mobileView?"top":"bottom",t=(0,d.isRTL)()?"end":"start";return`${e}-${t}`}get buttonClass(){let e=(0,o.dasherize)(this.first.button_class||this.first.id);return"reject-post"===e?"btn-danger":"approve-post"===e?"btn-success":"btn-default"}perform(e){if(e){let t=this.args.bundle.actions.find(t=>t.id===e);this.args.performAction(t)}else this.args.performAction(this.first)}static #t=(()=>dt7948.n(this.prototype,"perform",[r.action]))();static #r=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"z+ovlmDW",block:'[[[1,"\\n"],[41,[30,0,["multiple"]],[[[1," "],[8,[32,0],[[16,0,[28,[32,1],["reviewable-action-dropdown","btn-icon-text",[28,[32,2],[[30,0,["first","id"]]],null],[30,0,["first","button_class"]]],null]]],[["@nameProperty","@content","@onChange","@options"],["label",[30,1,["actions"]],[30,0,["perform"]],[28,[32,3],null,[["showCaret","disabled","placement","translatedNone","customStyle","btnCustomClasses"],[true,[30,2],[30,0,["placement"]],[30,1,["label"]],true,[30,0,["buttonClass"]]]]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,4],[[16,0,[28,[32,1],["reviewable-action",[28,[32,2],[[30,0,["first","id"]]],null],[30,0,["first","button_class"]],[30,0,["buttonClass"]]],null]]],[["@action","@translatedLabel","@disabled"],[[30,0,["perform"]],[30,0,["first","label"]],[30,2]]],null],[1,"\\n"]],[]]],[1," "]],["@bundle","@reviewableUpdating"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-bundled-action.js",scope:()=>[c.default,u.default,o.dasherize,n.hash,l.default],isStrictMode:!0}),this))()}},10508:(e,t,i)=>{"use strict";i.r(t),i.d(t,{getOwner:()=>o,getOwnerWithFallback:()=>a,getRegister:()=>u,setDefaultOwner:()=>l});var s=i(42946),n=i(1933);let r={};function a(e){return s.getOwner?(0,s.getOwner)(e||r)||(0,s.getOwner)(r):e.container}function o(e){return(0,n.default)("Importing getOwner from `discourse/lib/get-owner` is deprecated. See the alternatives on meta.",{since:"3.2",id:"discourse.get-owner-with-fallback",url:"https://meta.discourse.org/t/292080"}),a(e)}function l(e){(0,s.setOwner)(r,e)}function u(e){let t=a(e),i={lookup:function(){return t.lookup(...arguments)},lookupFactory:function(){return t.factoryFor?t.factoryFor(...arguments):t._lookupFactory?t._lookupFactory(...arguments):void 0},deprecateContainer(e){Object.defineProperty(e,"container",{get:()=>((0,n.default)("Use `this.register` or `getOwner` instead of `this.container`",{id:"discourse.this-container"}),i)})}};return(0,s.setOwner)(i,t),i}},10516:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(45682);class n extends s.default{}},10517:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(42371),n=i(36376),r=i(34229),a=i(14547),o=i(13446),l=i(81651),u=i.n(l),d=i(7844),c=i(66185),p=i(76395),h=i(93810),m=i(60110);let g=dt7948.c(class extends p.default{static #e=(()=>dt7948.g(this.prototype,"caretUpIcon",[(0,r.reads)("selectKit.options.caretUpIcon")]))();#il=(()=>void dt7948.i(this,"caretUpIcon"))();static #t=(()=>dt7948.g(this.prototype,"caretDownIcon",[(0,r.reads)("selectKit.options.caretDownIcon")]))();#iu=(()=>void dt7948.i(this,"caretDownIcon"))();static #r=(()=>dt7948.g(this.prototype,"ariaLabel",[(0,r.reads)("selectKit.options.headerAriaLabel")]))();#id=(()=>void dt7948.i(this,"ariaLabel"))();get caretIcon(){return this.selectKit.isExpanded?this.caretUpIcon:this.caretDownIcon}static #a=(()=>dt7948.n(this.prototype,"caretIcon",[(0,n.computed)("selectKit.isExpanded","caretUpIcon","caretDownIcon")]))();static #d=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"aRzRoUHB",block:'[[[1,"\\n "],[10,0],[14,0,"select-kit-header-wrapper"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["icons"]]],null]],null],null,[[[1," "],[1,[28,[32,0],[[30,1]],null]],[1,"\\n"]],[1]],null],[1,"\\n"],[41,[30,0,["selectKit","options","useHeaderFilter"]],[[[1," "],[10,0],[14,0,"select-kit-header--filter"],[12],[1,"\\n"],[41,[30,0,["selectedContent","length"]],[[[44,[[28,[32,1],[[30,0],[30,0,["selectKit","options","selectedChoiceComponent"]]],null]],[[[42,[28,[31,1],[[28,[31,1],[[30,0,["selectedContent"]]],null]],null],null,[[[1," "],[8,[30,2],null,[["@selectKit","@item"],[[30,0,["selectKit"]],[30,3]]],null],[1,"\\n"]],[3]],null]],[2]]]],[]],null],[1,"\\n"],[44,[[28,[32,1],[[30,0],[30,0,["selectKit","options","filterComponent"]]],null]],[[[1," "],[8,[30,4],null,[["@selectKit","@id","@hidePlaceholderWithSelection"],[[30,0,["selectKit"]],[28,[32,2],[[30,0,["selectKit","uniqueID"]],"-filter"],null],true]],null],[1,"\\n"]],[4]]],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,3],null,[["@content","@selectKit"],[[28,[32,4],[[30,0,["selectedContent"]],[30,0,["selectKit","noneItem"]]],null],[30,0,["selectKit"]]]],null],[1,"\\n\\n "],[1,[28,[32,0],[[30,0,["caretIcon"]]],[["class"],["caret-icon"]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["iconName","SelectedChoiceComponent","item","FilterComponent"],false,["each","-track-array","if","let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/multi-select/multi-select-header.js",scope:()=>[u(),c.resolveComponent,s.concat,d.default,o.or],isStrictMode:!0}),this))()},[(0,a.attributeBindings)("ariaLabel:aria-label"),(0,a.classNames)("multi-select-header"),(0,a.tagName)("summary")])},10528:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(93810),n=i(36376),r=i(41825),a=i(74129),o=i(13446),l=i(98223),u=i(20936),d=i(61059),c=i(37420),p=i(39671),h=i(92357),m=i(29421),g=i(60110);function f(e,t,i){return(e||[]).reduce((e,s)=>(s[t]&&(e[s.name]=i),e),{})}class _ extends s.default{get fakePreviousTagsTopic(){return n.default.create({tags:(this.get("previousTagChanges")||[]).map(e=>e.name)})}get previousTagClassesMap(){return f(this.get("previousTagChanges"),"deleted","diff-del")}get fakeCurrentTagsTopic(){return n.default.create({tags:(this.get("currentTagChanges")||[]).map(e=>e.name)})}get currentTagClassesMap(){return f(this.get("currentTagChanges"),"inserted","diff-ins")}static #e=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"rqEWrAqb",block:'[[[1,"\\n "],[10,0],[14,1,"revisions"],[15,"data-post-id",[30,1,["post_id"]]],[15,0,[30,2]],[12],[1,"\\n"],[41,[30,1,["title_changes"]],[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,"h2"],[14,0,"revision__title"],[12],[1,[28,[32,0],[[30,3]],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,4],[[[41,[30,5],[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[1,[28,[32,1],[[30,1,["user_changes","previous","avatar_template"]],"small"],null]],[1,"\\n "],[1,[30,1,["user_changes","previous","username"]]],[1,"\\n →\\n "],[1,[28,[32,1],[[30,1,["user_changes","current","avatar_template"]],"small"],null]],[1,"\\n "],[1,[30,1,["user_changes","current","username"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["wiki_changes"]],[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[1,[28,[32,2],["far-pen-to-square"],[["class"],[[52,[30,1,["wiki_changes","current"]],"diff-ins","diff-del"]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["archetype_changes"]],[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[1,[28,[32,2],[[52,[28,[32,3],[[30,1,["archetype_changes","current"]],"private_message"],null],"envelope","comment"]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[28,[32,4],[[30,1,["category_id_changes"]],[28,[32,5],[[30,1,["archetype_changes"]]],null]],null],[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n"],[41,[30,6],[[[1," "],[1,[28,[32,0],[[30,6]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["far-eye-slash"],[["class"],["diff-del"]]]],[1,"\\n"]],[]]],[1," →\\n"],[41,[30,7],[[[1," "],[1,[28,[32,0],[[30,7]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["far-eye-slash"],[["class"],["diff-ins"]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null]],[]],null],[41,[30,1,["tags_changes"]],[[[1," "],[10,0],[14,0,"row -tag-revisions"],[12],[1,"\\n "],[10,1],[14,0,"tag-revision__wrapper"],[12],[1,"\\n "],[1,[28,[32,6],[[30,0,["fakePreviousTagsTopic"]]],[["tagClasses"],[[30,0,["previousTagClassesMap"]]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[28,[32,7],[[30,4],[28,[32,3],[[30,8],"inline"],null]],null],[[[1," → \\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"tag-revision__wrapper"],[12],[1,"\\n "],[1,[28,[32,6],[[30,0,["fakeCurrentTagsTopic"]]],[["tagClasses"],[[30,0,["currentTagClassesMap"]]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["featured_link_changes"]],[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[1,[30,1,["featured_link_changes","previous"]]],[1,"\\n →\\n "],[1,[30,1,["featured_link_changes","current"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,8],null,[["@name","@connectorTagName","@outletArgs"],["post-revisions","div",[28,[32,9],null,[["model"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,10],[[24,0,"row body-diff"],[4,[32,11],[[30,9],[30,10]],null],[4,[32,12],[[30,9],[30,10]],null]],null,[["default"],[[[[1,"\\n "],[1,[28,[32,0],[[30,11]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["@model","@hiddenClasses","@titleDiff","@mobileView","@userChanges","@previousCategory","@currentCategory","@viewMode","@calculateBodyDiff","@bodyDiffHTML","@bodyDiff"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/history/revisions.js",scope:()=>[h.default,d.default,c.default,o.eq,o.and,o.not,p.default,o.or,u.default,m.default,l.default,r.default,a.default],isStrictMode:!0}),this))()}},10567:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(2802);class n extends s.default{setupController(e){e.set("email",this.controllerFor("account-created").get("accountCreated.email"))}}},10630:(e,t,i)=>{var s=i(30863),n="object"==typeof self&&self&&self.Object===Object&&self;e.exports=s||n||Function("return this")()},10947:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(93810),n=i(6809),r=i(14547),a=i(27494),o=i.n(a),l=i(35304),u=i(23106),d=i(715),c=i(60110);let p=dt7948.c(class extends s.default{click(e){if(e.target.closest(".last-posted-at"))return this.appEvents.trigger("topic-entrance:show",{topic:this.topic,position:o()(e.target).offset()}),!1}static #e=(()=>(0,s.setComponentTemplate)((0,c.createTemplateFactory)({id:"GzjUIc2M",block:'[[[1,"\\n "],[8,[32,0],null,[["@topic","@disableActions"],[[30,0,["topic"]],true]],null],[1,"\\n "],[10,3],[15,6,[30,0,["topic","lastUnreadUrl"]]],[14,0,"title"],[12],[1,[28,[32,1],[[30,0,["topic","fancyTitle"]]],null]],[13],[1,"\\n "],[8,[32,2],null,[["@unreadPosts","@unseen","@url"],[[30,0,["topic","unread_posts"]],[30,0,["topic","unseen"]],[30,0,["topic","lastUnreadUrl"]]]],null],[1,"\\n\\n "],[10,3],[15,6,[30,0,["topic","lastPostUrl"]]],[14,0,"last-posted-at"],[12],[1,[28,[32,3],[[30,0,["topic","last_posted_at"]]],null]],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/featured-topic.js",scope:()=>[d.default,n.htmlSafe,l.default,u.default],isStrictMode:!0}),this))()},[(0,r.attributeBindings)("topic.id:data-topic-id"),(0,r.classNameBindings)(":featured-topic")])},11011:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(93558),n=i(62069),r=i(13446),a=i(18781),o=i(63371),l=i(17474),u=i(34057),d=i(20936),c=i(9015),p=i(85703),h=i(29421),m=i(93810),g=i(60110),f=i(29681);let _=(0,n.default)((0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"mABhGY3i",block:'[[[1,"\\n "],[8,[32,0],null,[["@model"],[[30,1,["model"]]]],[["navigation","list"],[[[[1,"\\n "],[8,[32,1],null,[["@category","@showCategoryAdmin","@canCreateTopic","@createTopic","@filterType"],[[30,1,["model","parentCategory"]],[30,1,["model","can_create_category"]],[30,1,["model","can_create_topic"]],[30,1,["createTopic"]],"categories"]],null],[1,"\\n "]],[]],[[[1,"\\n\\n "],[1,[28,[32,2],["categories-list"],null]],[1,"\\n\\n "],[10,0],[14,0,"contents"],[12],[1,"\\n"],[41,[28,[32,3],[[30,1,["topicTrackingState","hasIncoming"]],[30,1,["isCategoriesRoute"]]],null],[[[1," "],[10,0],[15,0,[28,[32,4],["show-more",[52,[30,1,["hasTopics"]],"has-topics"]],null]],[12],[1,"\\n "],[11,0],[24,"role","button"],[24,0,"alert alert-info clickable"],[4,[32,5],["click",[30,1,["showInserted"]]],null],[12],[1,"\\n "],[8,[32,6],null,[["@key","@suffix","@count"],["topic_count_",[30,1,["topicTrackingState","filter"]],[30,1,["topicTrackingState","incomingCount"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,7],null,[["@categories","@topics","@parentCategory","@loadMore","@loadingMore"],[[30,1,["model","categories"]],[30,1,["model","topics"]],[30,1,["model","parentCategory"]],[30,1,["model","loadMore"]],[30,1,["model","isLoading"]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,8],null,[["@name","@connectorTagName","@outletArgs"],["below-discovery-categories","div",[28,[32,9],null,[["categories","topics"],[[30,1,["model","categories"]],[30,1,["model","topics"]]]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/discovery/categories.js",scope:()=>[l.default,u.default,c.default,r.and,p.default,s.on,a.default,o.default,d.default,h.default],isStrictMode:!0}),(0,f.default)(void 0,void 0)))},11014:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(62069),n=i(3053),r=i(44612),a=i(84239),o=i(93810),l=i(60110),u=i(29681);let d=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"1PVs6GfJ",block:'[[[1,"\\n "],[8,[32,0],null,[["@step"],["activate"]],null],[1,"\\n "],[10,0],[14,0,"ac-message"],[12],[1,"\\n "],[8,[32,1],null,[["@email","@updateNewEmail"],[[30,1,["newEmail"]],[30,1,["updateNewEmail"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"activation-controls"],[12],[1,"\\n "],[8,[32,2],[[24,0,"btn-primary"]],[["@action","@label","@disabled"],[[30,1,["changeEmail"]],"login.submit_new_email",[30,1,["submitDisabled"]]]],null],[1,"\\n "],[8,[32,2],[[24,0,"edit-cancel"]],[["@action","@label"],[[30,1,["cancel"]],"cancel"]],null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/account-created/edit-email.js",scope:()=>[a.default,n.default,r.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},11027:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(21044),n=i(77632),r=i(42371),a=i(36376),o=i(83770),l=i(44612),u=i(78312),d=i(3844),c=i(82339),p=i(41277),h=i(37256),m=i(93810),g=i(60110);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[o.service]))();#c=(()=>void dt7948.i(this,"composer"))();static #t=(()=>dt7948.g(this.prototype,"modal",[o.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #r=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #d=(()=>dt7948.g(this.prototype,"showComposer",[n.tracked],function(){return!1}))();#ic=(()=>void dt7948.i(this,"showComposer"))();get originalPostContent(){return`
    ${(0,p.i18n)("composer.translations.original_content")} ${this.args.post.cooked}
    `}get showTranslationButton(){return this.currentUser&&this.siteSettings.experimental_content_localization&&this.currentUser.can_localize_content}get viewTranslationLabel(){return(0,p.i18n)("post.localizations.view",{count:this.args.post.post_localizations_count})}get showAsMenu(){return this.args.post.post_localizations_count>0}viewTranslations(){this.modal.show(d.default,{model:{post:this.args.post}})}static #g=(()=>dt7948.n(this.prototype,"viewTranslations",[a.action]))();async addTranslation(){this.currentUser&&this.siteSettings.experimental_content_localization&&this.currentUser.can_localize_content&&await this.composer.open({action:c.default.ADD_TRANSLATION,draftKey:"translation",warningsDisabled:!0,hijackPreview:this.originalPostContent,post:this.args.post})}static #T=(()=>dt7948.n(this.prototype,"addTranslation",[a.action]))();onRegisterApi(e){this.dMenu=e}static #C=(()=>dt7948.n(this.prototype,"onRegisterApi",[a.action]))();static #A=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"H9LO0l5D",block:'[[[1,"\\n"],[41,[30,0,["showTranslationButton"]],[[[41,[30,0,["showAsMenu"]],[[[1," "],[8,[32,0],[[17,1],[24,0,"update-translations-menu"]],[["@identifier","@triggers","@title","@icon","@onRegisterApi","@arrow"],["post-action-menu-edit-translations",[28,[32,1],["click"],null],[28,[32,2],["post.localizations.add"],null],"discourse-add-translation",[30,0,["onRegisterApi"]],false]],[["content"],[[[[1,"\\n "],[8,[32,3],null,null,[["default"],[[[[1,"\\n "],[8,[30,2,["item"]],[[24,0,"update-translations-menu__view"]],null,[["default"],[[[[1,"\\n "],[8,[32,4],[[24,0,"post-action-menu__view-translation"]],[["@translatedLabel","@icon","@action"],[[30,0,["viewTranslationLabel"]],"eye",[30,0,["viewTranslations"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["item"]],[[24,0,"update-translations-menu__add"]],null,[["default"],[[[[1,"\\n "],[8,[32,4],[[24,0,"post-action-menu__add-translation"]],[["@label","@icon","@action"],["post.localizations.add","plus",[30,0,["addTranslation"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,4],[[24,0,"post-action-menu__add-translation"],[17,1]],[["@title","@icon","@action"],["post.localizations.add","discourse-add-translation",[30,0,["addTranslation"]]]],null],[1,"\\n"]],[]]]],[]],null],[1," "]],["&attrs","dropdown"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/add-translation.js",scope:()=>[h.default,r.array,p.i18n,u.default,l.default],isStrictMode:!0}),this))()}},11118:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(41277);class n{constructor(e){let{reviewable:t,currentUser:i,siteSettings:s,site:n}=e;this.reviewable=t,this.currentUser=i,this.siteSettings=s,this.site=n}get actor(){let e=this.reviewable.flagger_username;return e||(0,s.i18n)("user_menu.reviewable.deleted_user")}get description(){return(0,s.i18n)("user_menu.reviewable.default_item",{reviewable_id:this.reviewable.id})}get icon(){return"flag"}}},11156:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=(0,i(13338).createWidget)("post-placeholder",{tagName:"article.placeholder",template:function(e,t){var i=[];i.push(` `);var s=[];s.push(` `);var n=[];n.push(` `),n.push(virtualDom.h("div",{className:"placeholder-avatar placeholder-animation",attributes:{}},[])),n.push(` `),s.push(virtualDom.h("div",{className:"topic-avatar",attributes:{}},n)),s.push(` `);var r=[];return r.push(` `),r.push(virtualDom.h("div",{className:"placeholder-text placeholder-animation",attributes:{}},[])),r.push(` `),r.push(virtualDom.h("div",{className:"placeholder-text placeholder-animation",attributes:{}},[])),r.push(` `),r.push(virtualDom.h("div",{className:"placeholder-text placeholder-animation",attributes:{}},[])),r.push(` `),s.push(virtualDom.h("div",{className:"topic-body",attributes:{}},r)),s.push(` `),i.push(virtualDom.h("div",{className:"row",attributes:{}},s)),i.push(` `),i}})},11248:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>M});var s=i(42371),n=i(93558),r=i(54695),a=i(62069),o=i(13446),l=i(44612),u=i(86605),d=i(3740),c=i(20936),p=i(57209),h=i(71425),m=i(73001),g=i(66665),f=i(56776),_=i(37420),y=i(89255),b=i(29421),w=i(64760),k=i(41277),T=i(65644),S=i(31848),C=i(93810),A=i(60110),D=i(29681);let M=(0,a.default)((0,C.setComponentTemplate)((0,A.createTemplateFactory)({id:"xOgBoRnE",block:'[[[1,"\\n "],[10,0],[14,0,"control-group pref-username"],[14,"data-setting-name","user-username"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.username.title"],null]],[13],[1,"\\n "],[8,[32,1],null,[["@user"],[[30,1,["model"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,1,["siteSettings","discourse_connect_overrides_avatar"]]],[[[1," "],[10,0],[14,0,"control-group pref-avatar"],[14,"data-setting-name","user-avatar"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[14,1,"profile-picture"],[12],[1,[28,[32,0],["user.avatar.title"],null]],[13],[1,"\\n "],[10,"input"],[14,1,"user-avatar-uploads"],[15,"data-custom-avatar-upload-id",[30,1,["model","custom_avatar_upload_id"]]],[15,"data-system-avatar-upload-id",[30,1,["model","system_avatar_upload_id"]]],[14,4,"hidden"],[12],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n"],[1," "],[1,[28,[32,2],[[30,1,["model"]],"huge"],null]],[1,"\\n "],[8,[32,3],[[24,1,"edit-avatar"],[24,0,"btn-default pad-left"]],[["@action","@icon"],[[28,[32,4],[[28,[32,5],["showAvatarSelector"],null],[30,1,["model"]]],null],"pencil"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canCheckEmails"]],[[[1," "],[10,0],[14,0,"control-group pref-email"],[14,"data-setting-name","user-email"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.email.title"],null]],[13],[1,"\\n"],[41,[30,1,["model","email"]],[[[41,[30,1,["siteSettings","enable_secondary_emails"]],[[[1," "],[10,0],[14,0,"emails"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["emails"]]],null]],null],null,[[[1," "],[10,0],[14,0,"row email"],[12],[1,"\\n "],[10,0],[14,0,"email-first"],[12],[1,[30,2,["email"]]],[13],[1,"\\n "],[10,0],[14,0,"email-second"],[12],[1,"\\n"],[41,[30,2,["primary"]],[[[1," "],[10,1],[14,0,"primary"],[12],[1,"\\n "],[1,[28,[32,0],["user.email.primary_label"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[51,[30,2,["confirmed"]]],[[[1," "],[10,1],[14,0,"unconfirmed"],[12],[1,"\\n "],[1,[28,[32,0],["user.email.unconfirmed_label"],null]],[1,"\\n "],[13],[1,"\\n •\\n"],[41,[30,2,["resending"]],[[[1," "],[10,1],[12],[1,[28,[32,0],["user.email.resending_label"],null]],[13],[1,"\\n"]],[]],[[[41,[30,2,["resent"]],[[[1," "],[10,1],[12],[1,[28,[32,0],["user.email.resent_label"],null]],[13],[1,"\\n"]],[]],[[[1," "],[11,"button"],[24,0,"resend-email-confirmation"],[24,4,"button"],[4,[32,6],["click",[28,[32,4],[[30,1,["resendConfirmationEmail"]],[30,2]],null]],null],[12],[1,"\\n "],[1,[28,[32,0],["user.email.resend_label"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]],[]]]],[]],null],[1," "],[13],[1,"\\n"],[41,[30,1,["model","can_edit_email"]],[[[1," "],[8,[32,7],null,[["@email","@setPrimaryEmail","@destroyEmail"],[[30,2],[30,1,["setPrimaryEmail"]],[30,1,["destroyEmail"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,1,["canAddEmail"]],[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,8],null,[["@route","@query"],["preferences.email",[28,[32,9],null,[["new"],[1]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,10],["plus"],null]],[1,"\\n "],[1,[28,[32,0],["user.email.add_email"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[10,1],[14,0,"static"],[12],[1,[30,1,["model","email"]]],[13],[1,"\\n"],[41,[30,1,["model","can_edit_email"]],[[[1," "],[8,[32,8],[[24,0,"btn btn-default btn-small btn-icon pad-left no-text"]],[["@route"],["preferences.email"]],[["default"],[[[[1,"\\n "],[1,[28,[32,10],["pencil"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]]],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n"],[41,[30,1,["siteSettings","auth_overrides_email"]],[[[1," "],[1,[28,[32,0],["user.email.auth_override_instructions"],null]],[1,"\\n"]],[]],null],[1," "],[1,[28,[32,0],["user.email.instructions"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-default"]],[["@action","@title","@icon","@label"],[[28,[32,4],[[28,[32,5],["checkEmail"],null],[30,1,["model"]]],null],"admin.users.check_email.title","envelope","admin.users.check_email.text"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canUpdateAssociatedAccounts"]],[[[1," "],[10,0],[14,0,"control-group pref-associated-accounts"],[14,"data-setting-name","user-associated-accounts"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.associated_accounts.title"],null]],[13],[1,"\\n"],[41,[30,1,["associatedAccountsLoaded"]],[[[1," "],[10,"table"],[14,0,"associated-accounts"],[12],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["authProviders"]]],null]],null],null,[[[41,[30,3,["account"]],[[[1," "],[10,"tr"],[15,0,[29,[[28,[32,11],[[30,3,["method","name"]]],null],"\\n account-connected"]]],[12],[1,"\\n "],[10,"td"],[14,0,"associated-account__icon"],[12],[1,"\\n"],[41,[30,3,["method","isGoogle"]],[[[1," "],[8,[32,12],null,null,null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,10],[[28,[32,13],[[30,3,["method","icon"]],"user"],null]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[10,0],[14,0,"associated-account__name"],[12],[1,"\\n "],[1,[30,3,["method","prettyName"]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"associated-account__description"],[12],[1,"\\n "],[1,[30,3,["account","description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"associated-account__actions"],[12],[1,"\\n"],[41,[30,3,["method","can_revoke"]],[[[1," "],[8,[32,3],[[24,0,"btn-danger no-text"]],[["@action","@title","@icon","@disabled"],[[28,[32,4],[[30,1,["revokeAccount"]],[30,3,["account"]]],null],"user.associated_accounts.revoke","trash-can",[28,[32,14],[[30,1,["revoking"]],[30,3,["method","name"]]],null]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"tr"],[15,0,[28,[32,11],[[30,3,["method","name"]]],null]],[12],[1,"\\n "],[10,"td"],[15,0,[29,["associated-account__icon\\n ",[28,[32,11],[[30,3,["method","name"]]],null]]]],[12],[1,"\\n"],[41,[30,3,["method","isGoogle"]],[[[1," "],[8,[32,12],null,null,null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,10],[[28,[32,13],[[30,3,["method","icon"]],"user"],null]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,"td"],[12],[1,"\\n "],[10,0],[14,0,"associated-account__name"],[12],[1,"\\n "],[1,[30,3,["method","prettyName"]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"associated-account__description"],[12],[1,"\\n "],[1,[30,3,["account","description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"td"],[14,0,"associated-account__actions"],[12],[1,"\\n"],[41,[30,3,["method","can_connect"]],[[[1," "],[8,[32,3],[[24,0,"btn-primary"]],[["@action","@label","@icon","@disabled"],[[28,[32,4],[[30,1,["connectAccount"]],[30,3,["method"]]],null],"user.associated_accounts.connect","plug",[30,1,["disableConnectButtons"]]]],null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["user.associated_accounts.not_connected"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]],[3]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,3],null,[["@action","@title","@icon","@label"],[[28,[32,4],[[28,[32,5],["checkEmail"],null],[30,1,["model"]]],null],"admin.users.check_email.title","envelope","admin.users.check_email.text"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canEditName"]],[[[1," "],[10,0],[14,0,"control-group pref-name"],[14,"data-setting-name","user-name"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.name.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n"],[41,[30,1,["model","can_edit_name"]],[[[1," "],[8,[32,15],null,[["@value","@classNames","@maxlength"],[[30,1,["newNameInput"]],"input-xxlarge","255"]],null],[1,"\\n"]],[]],[[[1," "],[10,1],[14,0,"static"],[12],[1,[30,1,["model","name"]]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[30,1,["nameInstructions"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canSelectTitle"]],[[[1," "],[10,0],[14,0,"control-group pref-title"],[14,"data-setting-name","user-title"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.title.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,16],null,[["@value","@content","@onChange","@options"],[[30,1,["newTitleInput"]],[30,1,["model","availableTitles"]],[28,[32,4],[[28,[31,4],[[30,1,["newTitleInput"]]],null]],null],[28,[32,9],null,[["none"],["user.title.none"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.title.instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canSelectFlair"]],[[[1," "],[10,0],[14,0,"control-group pref-flair"],[14,"data-setting-name","user-flair"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.flair.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,17],null,[["@value","@content","@onChange","@options"],[[30,1,["newFlairGroupId"]],[30,1,["model","availableFlairs"]],[28,[32,4],[[28,[31,4],[[30,1,["newFlairGroupId"]]],null]],null],[28,[32,9],null,[["none"],["user.flair.none"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.flair.instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canSelectUserStatus"]],[[[1," "],[10,0],[14,0,"control-group pref-user-status"],[14,"data-setting-name","user-status"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.status.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n"],[41,[30,1,["newStatus"]],[[[1," "],[8,[32,18],null,[["@status","@showDescription"],[[30,1,["newStatus"]],true]],null],[1,"\\n"]],[]],[[[1," "],[10,1],[14,0,"static"],[12],[1,[28,[32,0],["user.status.not_set"],null]],[13],[1,"\\n"]],[]]],[1," "],[8,[32,3],[[24,0,"btn-default btn-small pad-left"]],[["@action","@icon"],[[28,[32,4],[[30,1,["showUserStatusModal"]],[30,1,["newStatus"]]],null],"pencil"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canSelectPrimaryGroup"]],[[[1," "],[10,0],[14,0,"control-group pref-primary-group"],[14,"data-setting-name","user-primary-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.primary_group.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,16],null,[["@value","@content","@options"],[[30,1,["newPrimaryGroupInput"]],[30,1,["model","filteredGroups"]],[28,[32,9],null,[["none"],["user.primary_group.none"]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canDownloadPosts"]],[[[1," "],[10,0],[14,0,"control-group pref-data-export"],[14,"data-setting-name","user-data-export"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.download_archive.title"],null]],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-default btn-request-archive"]],[["@action","@label","@icon"],[[30,1,["exportUserArchive"]],"user.download_archive.button_text","download"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,"\\n "],[1,[28,[32,0],["user.download_archive.description"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,19],null,[["@name","@connectorTagName","@outletArgs"],["user-preferences-account","div",[28,[32,20],null,[["model","save"],[[30,1,["model"]],[30,1,["save"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"br"],[12],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,19],null,[["@name","@connectorTagName","@outletArgs"],["user-custom-controls","div",[28,[32,20],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["canSaveUser"]],[[[1," "],[8,[32,21],null,[["@model","@action","@saved"],[[30,1,["model"]],[30,1,["save"]],[30,1,["saved"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","canDeleteAccount"]],[[[1," "],[10,0],[14,0,"control-group delete-account"],[12],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n "],[10,0],[14,0,"controls"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-danger"]],[["@action","@disabled","@icon","@label"],[[30,1,["delete"]],[30,1,["deleteDisabled"]],"trash-can","user.delete_account"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["@controller","email","authProvider"],false,["unless","if","each","-track-array","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/account.js",scope:()=>[k.i18n,g.default,f.default,l.default,s.fn,w.default,n.on,u.default,r.LinkTo,s.hash,_.default,y.default,d.default,o.or,s.get,h.default,T.default,S.default,m.default,c.default,b.default,p.default],isStrictMode:!0}),(0,D.default)(void 0,void 0)))},11249:(e,t,i)=>{"use strict";function s(e,t){t.discourse_local_dates_enabled&&(0,requirejs("discourse/plugins/discourse-local-dates/initializers/discourse-local-dates").applyLocalDates)(e,t)}i.r(t),i.d(t,{applyLocalDates:()=>s})},11259:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(83770),r=i(37420),a=i(77598),o=i(41277),l=i(93810),u=i(60110);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"messageBus",[n.service]))();#k=(()=>void dt7948.i(this,"messageBus"))();constructor(){super(...arguments),this.messageBus.subscribe(this.unreadIndicatorChannel,this.onMessage)}willDestroy(){super.willDestroy(...arguments),this.messageBus.unsubscribe(this.unreadIndicatorChannel,this.onMessage)}onMessage(e){this.args.topic.set("unread_by_group_member",e.show_indicator)}static #t=(()=>dt7948.n(this.prototype,"onMessage",[a.bind]))();get unreadIndicatorChannel(){return`/private-messages/unread-indicator/${this.args.topic.id}`}static #r=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"0Ndbfukh",block:'[[[41,[30,1,["unread_by_group_member"]],[[[1," "],[10,1],[15,"title",[28,[32,0],["topic.unread_indicator"],null]],[14,0,"badge badge-notification unread-indicator"],[12],[1,[28,[32,1],["asterisk"],null]],[13]],[]],null]],["@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/unread-indicator.js",scope:()=>[o.i18n,r.default],isStrictMode:!0}),this))()}},11267:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(36376),n=i(3558);class r extends s.default{static find(){return(0,n.ajax)("/about/live_post_counts.json").then(e=>r.create(e))}}},11293:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(42371),n=i(45577),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"e0ShBmTH",block:'[[[1,"\\n "],[10,"tr"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1]],null]],null],null,[[[1," "],[8,[30,2,["value","header"]],null,[["@sortable","@activeOrder","@changeSort","@ascending","@category","@name","@bulkSelectEnabled","@showBulkToggle","@canBulkSelect","@canDoBulkActions","@showTopicsAndRepliesToggle","@newListSubset","@newRepliesCount","@newTopicsCount","@bulkSelectHelper","@changeNewListSubset"],[[28,[32,0],["topic-list-header-sortable-column",[30,3],[28,[32,1],null,[["category","name"],[[30,4],[30,5]]]]],null],[30,6],[30,7],[30,8],[30,4],[30,9],[30,10],[30,11],[30,12],[30,13],[30,14],[30,15],[30,16],[30,17],[30,18],[30,19]]],null],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"]],["@columns","entry","@sortable","@category","@name","@order","@changeSort","@ascending","@listTitle","@bulkSelectEnabled","@toggleInTitle","@canBulkSelect","@canDoBulkActions","@showTopicsAndRepliesToggle","@newListSubset","@newRepliesCount","@newTopicsCount","@bulkSelectHelper","@changeNewListSubset"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/header.js",scope:()=>[n.applyValueTransformer,s.hash],isStrictMode:!0}),(0,o.default)(void 0,"header:Header"))},11351:(e,t,i)=>{"use strict";i.r(t),i.d(t,{aliases:()=>r,emojis:()=>s,replacements:()=>o,tonableEmojis:()=>n,translations:()=>a});let s=new Set(["grinning_face","smiley","grinning_face_with_smiling_eyes","grin","laughing","sweat_smile","rofl","joy","slightly_smiling_face","upside_down_face","melting_face","wink","blush","innocent","smiling_face_with_three_hearts","heart_eyes","star_struck","face_blowing_a_kiss","kissing_face","smiling_face","kissing_face_with_closed_eyes","kissing_face_with_smiling_eyes","smiling_face_with_tear","face_savoring_food","face_with_tongue","winking_face_with_tongue","zany_face","squinting_face_with_tongue","money_mouth_face","hugs","face_with_hand_over_mouth","face_with_open_eyes_and_hand_over_mouth","face_with_peeking_eye","shushing_face","thinking","saluting_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless_face","face_without_mouth","dotted_line_face","face_in_clouds","smirking_face","unamused_face","roll_eyes","grimacing","face_exhaling","lying_face","shaking_face","head_shaking_horizontally","head_shaking_vertically","relieved_face","pensive_face","sleepy_face","drooling_face","sleeping_face","face_with_bags_under_eyes","face_with_medical_mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","face_with_crossed_out_eyes","face_with_spiral_eyes","exploding_head","cowboy_hat_face","partying_face","disguised_face","smiling_face_with_sunglasses","nerd_face","face_with_monocle","confused","face_with_diagonal_mouth","worried","slightly_frowning_face","frowning","open_mouth","hushed_face","astonished_face","flushed_face","pleading_face","face_holding_back_tears","frowning_face_with_open_mouth","anguished_face","fearful","anxious_face_with_sweat","sad_but_relieved_face","cry","sob","scream","confounded_face","persevering_face","disappointed_face","downcast_face_with_sweat","weary_face","tired_face","yawning_face","face_with_steam_from_nose","enraged_face","angry","face_with_symbols_on_mouth","smiling_face_with_horns","angry_face_with_horns","skull","skull_and_crossbones","poop","clown_face","ogre","goblin","ghost","alien","alien_monster","robot","grinning_cat","grinning_cat_with_smiling_eyes","joy_cat","smiling_cat_with_heart_eyes","cat_with_wry_smile","kissing_cat","weary_cat","crying_cat","pouting_cat","see_no_evil_monkey","hear_no_evil_monkey","speak_no_evil_monkey","love_letter","heart_with_arrow","heart_with_ribbon","sparkling_heart","growing_heart","beating_heart","revolving_hearts","two_hearts","heart_decoration","heart_exclamation","broken_heart","heart_on_fire","mending_heart","heart","pink_heart","orange_heart","yellow_heart","green_heart","blue_heart","light_blue_heart","purple_heart","brown_heart","black_heart","grey_heart","white_heart","kiss_mark","100","anger_symbol","collision","dizzy","sweat_droplets","dashing_away","hole","speech_balloon","eye_in_speech_bubble","left_speech_bubble","right_anger_bubble","thought_balloon","zzz","waving_hand","raised_back_of_hand","hand_with_fingers_splayed","raised_hand","vulcan_salute","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","leftwards_pushing_hand","rightwards_pushing_hand","ok_hand","pinched_fingers","pinching_hand","victory_hand","crossed_fingers","hand_with_index_finger_and_thumb_crossed","love_you_gesture","sign_of_the_horns","call_me_hand","backhand_index_pointing_left","backhand_index_pointing_right","backhand_index_pointing_up","fu","backhand_index_pointing_down","index_pointing_up","index_pointing_at_the_viewer","+1","-1","raised_fist","oncoming_fist","left_facing_fist","right_facing_fist","clap","raising_hands","heart_hands","open_hands","palms_up_together","handshake","folded_hands","writing_hand","nail_polish","selfie","flexed_biceps","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","anatomical_heart","lungs","tooth","bone","eyes","eye","tongue","mouth","biting_lip","baby","child","boy","girl","person","person_blond_hair","man","person_beard","man_beard","woman_beard","man_red_hair","man_curly_hair","man_white_hair","man_bald","woman","woman_red_hair","person_red_hair","woman_curly_hair","person_curly_hair","woman_white_hair","person_white_hair","woman_bald","person_bald","blonde_woman","blonde_man","older_person","old_man","old_woman","person_frowning","man_frowning","woman_frowning","person_pouting","man_pouting","woman_pouting","person_gesturing_no","man_gesturing_no","woman_gesturing_no","person_gesturing_ok","man_gesturing_ok","woman_gesturing_ok","person_tipping_hand","man_tipping_hand","woman_tipping_hand","person_raising_hand","man_raising_hand","woman_raising_hand","deaf_person","deaf_man","deaf_woman","person_bowing","man_bowing","woman_bowing","person_facepalming","man_facepalming","woman_facepalming","person_shrugging","man_shrugging","woman_shrugging","health_worker","man_health_worker","woman_health_worker","student","man_student","woman_student","teacher","man_teacher","woman_teacher","judge","man_judge","woman_judge","farmer","man_farmer","woman_farmer","cook","man_cook","woman_cook","mechanic","man_mechanic","woman_mechanic","factory_worker","man_factory_worker","woman_factory_worker","office_worker","man_office_worker","woman_office_worker","scientist","man_scientist","woman_scientist","technologist","man_technologist","woman_technologist","singer","man_singer","woman_singer","artist","man_artist","woman_artist","pilot","man_pilot","woman_pilot","astronaut","man_astronaut","woman_astronaut","firefighter","man_firefighter","woman_firefighter","police_officer","man_police_officer","woman_police_officer","detective","man_detective","woman_detective","guard","man_guard","woman_guard","ninja","construction_worker","construction_worker_man","construction_worker_woman","person_with_crown","prince","princess","person_wearing_turban","man_wearing_turban","woman_wearing_turban","person_with_skullcap","woman_with_headscarf","person_in_tuxedo","man_in_tuxedo","woman_in_tuxedo","person_with_veil","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast_feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","baby_angel","santa_claus","mrs_claus","mx_claus","superhero","man_superhero","woman_superhero","supervillain","man_supervillain","woman_supervillain","mage","man_mage","woman_mage","fairy","man_fairy","woman_fairy","vampire","man_vampire","woman_vampire","merperson","merman","mermaid","elf","man_elf","woman_elf","genie","man_genie","woman_genie","zombie","man_zombie","woman_zombie","troll","person_getting_massage","man_getting_massage","woman_getting_massage","person_getting_haircut","man_getting_haircut","woman_getting_haircut","person_walking","man_walking","woman_walking","person_standing","man_standing","woman_standing","person_kneeling","man_kneeling","woman_kneeling","person_with_white_cane","man_with_white_cane","woman_with_white_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","person_running","man_running","woman_running","woman_dancing","man_dancing","person_in_suit_levitating","people_with_bunny_ears","men_with_bunny_ears","women_with_bunny_ears","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","person_fencing","horse_racing","skier","snowboarder","person_golfing","man_golfing","woman_golfing","person_surfing","man_surfing","woman_surfing","person_rowing_boat","man_rowing_boat","woman_rowing_boat","person_swimming","man_swimming","woman_swimming","person_bouncing_ball","man_bouncing_ball","woman_bouncing_ball","person_lifting_weights","man_lifting_weights","woman_lifting_weights","person_biking","man_biking","woman_biking","person_mountain_biking","man_mountain_biking","woman_mountain_biking","person_cartwheeling","man_cartwheeling","woman_cartwheeling","people_wrestling","men_wrestling","women_wrestling","person_playing_water_polo","man_playing_water_polo","woman_playing_water_polo","person_playing_handball","man_playing_handball","woman_playing_handball","person_juggling","man_juggling","woman_juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","person_taking_bath","person_in_bed","people_holding_hands","women_holding_hands","woman_and_man_holding_hands","men_holding_hands","kiss","kiss_woman_man","kiss_man_man","kiss_woman_woman","couple_with_heart","couple_with_heart","couple_with_heart_man_man","couple_with_heart_woman_woman","family_man_woman_boy","family_man_woman_girl","family_man_woman_girl_boy","family_man_woman_boy_boy","family_man_woman_girl_girl","family_man_man_boy","family_man_man_girl","family_man_man_girl_boy","family_man_man_boy_boy","family_man_man_girl_girl","family_woman_woman_boy","family_woman_woman_girl","family_woman_woman_girl_boy","family_woman_woman_boy_boy","family_woman_woman_girl_girl","family_man_boy","family_man_boy_boy","family_man_girl","family_man_girl_boy","family_man_girl_girl","family_woman_boy","family_woman_boy_boy","family_woman_girl","family_woman_girl_boy","family_woman_girl_girl","speaking_head","bust_in_silhouette","busts_in_silhouette","people_hugging","family","family_adult_adult_child","family_adult_adult_child_child","family_adult_child","family_adult_child_child","footprints","fingerprint","monkey_face","monkey","gorilla","orangutan","dog_face","dog","guide_dog","service_dog","poodle","wolf","fox","raccoon","cat_face","cat","black_cat","lion","tiger_face","tiger","leopard","horse_face","moose","donkey","horse","unicorn","zebra","deer","bison","cow_face","ox","water_buffalo","cow","pig_face","pig","boar","pig_nose","ram","ewe","goat","camel","two_hump_camel","llama","giraffe","elephant","mammoth","rhinoceros","hippopotamus","mouse_face","mouse","rat","hamster","rabbit_face","rabbit","chipmunk","beaver","hedgehog","bat","bear","polar_bear","koala","panda","sloth","otter","skunk","kangaroo","badger","paw_prints","turkey","chicken","rooster","hatching_chick","baby_chick","front_facing_baby_chick","bird","penguin","dove","eagle","duck","swan","owl","dodo","feather","flamingo","peacock","parrot","wing","black_bird","goose","phoenix","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t_rex","spouting_whale","whale","dolphin","seal","fish","tropical_fish","blowfish","shark","octopus","spiral_shell","coral","jellyfish","crab","lobster","shrimp","squid","oyster","snail","butterfly","bug","ant","honeybee","beetle","lady_beetle","cricket","cockroach","spider","spider_web","scorpion","mosquito","fly","worm","microbe","bouquet","cherry_blossom","white_flower","lotus","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","hyacinth","seedling","potted_plant","evergreen_tree","deciduous_tree","palm_tree","cactus","sheaf_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaf_fluttering_in_wind","empty_nest","nest_with_eggs","mushroom","leafless_tree","grapes","melon","watermelon","tangerine","lemon","lime","banana","pineapple","mango","red_apple","green_apple","pear","peach","cherries","strawberry","blueberries","kiwi_fruit","tomato","olive","coconut","avocado","eggplant","potato","carrot","ear_of_corn","hot_pepper","bell_pepper","cucumber","leafy_green","broccoli","garlic","onion","peanuts","beans","chestnut","ginger_root","pea_pod","brown_mushroom","root_vegetable","bread","croissant","baguette_bread","flatbread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","french_fries","pizza","hot_dog","sandwich","taco","burrito","tamale","stuffed_flatbread","falafel","egg","cooking","shallow_pan_of_food","pot_of_food","fondue","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento_box","rice_cracker","rice_ball","cooked_rice","curry_rice","steaming_bowl","spaghetti","roasted_sweet_potato","oden","sushi","fried_shrimp","fish_cake_with_swirl","moon_cake","dango","dumpling","fortune_cookie","takeout_box","soft_ice_cream","shaved_ice","ice_cream","doughnut","cookie","birthday_cake","shortcake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","hot_beverage","teapot","teacup_without_handle","sake","bottle_with_popping_cork","wine_glass","cocktail_glass","tropical_drink","beer_mug","clinking_beer_mugs","clinking_glasses","tumbler_glass","pouring_liquid","cup_with_straw","bubble_tea","beverage_box","mate","ice","chopsticks","fork_and_knife_with_plate","fork_and_knife","spoon","kitchen_knife","jar","amphora","globe_showing_europe_africa","globe_showing_americas","globe_showing_asia_australia","globe_with_meridians","world_map","map_of_japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","brick","rock","wood","hut","houses","derelict_house","house","house_with_garden","office_building","japanese_post_office","post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","cityscape_at_dusk","sunset","bridge_at_night","hot_springs","carousel_horse","playground_slide","ferris_wheel","roller_coaster","barber_pole","circus_tent","locomotive","railway_car","high_speed_train","bullet_train","train","metro","light_rail","station","tram","monorail","mountain_railway","tram_car","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","automobile","oncoming_automobile","sport_utility_vehicle","pickup_truck","delivery_truck","articulated_lorry","tractor","racing_car","motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bicycle","kick_scooter","skateboard","roller_skate","bus_stop","motorway","railway_track","oil_drum","fuel_pump","wheel","police_car_light","horizontal_traffic_light","vertical_traffic_light","stop_sign","construction","anchor","ring_buoy","sailboat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arrival","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass_done","hourglass_not_done","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","twelve_o_clock","twelve_thirty","one_o_clock","one_thirty","two_o_clock","two_thirty","three_o_clock","three_thirty","four_o_clock","four_thirty","five_o_clock","five_thirty","six_o_clock","six_thirty","seven_o_clock","seven_thirty","eight_o_clock","eight_thirty","nine_o_clock","nine_thirty","ten_o_clock","ten_thirty","eleven_o_clock","eleven_thirty","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_face","first_quarter_moon_face","last_quarter_moon_face","thermometer","sun","full_moon_face","sun_with_face","ringed_planet","star","glowing_star","shooting_star","milky_way","cloud","sun_behind_cloud","cloud_with_lightning_and_rain","sun_behind_small_cloud","sun_behind_large_cloud","sun_behind_rain_cloud","cloud_with_rain","cloud_with_snow","cloud_with_lightning","tornado","fog","wind_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","high_voltage","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean","jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","pine_decoration","japanese_dolls","carp_streamer","wind_chime","moon_viewing_ceremony","red_envelope","ribbon","wrapped_gift","reminder_ribbon","admission_tickets","ticket","military_medal","trophy","sports_medal","1st_place_medal","2nd_place_medal","3rd_place_medal","soccer_ball","baseball","softball","basketball","volleyball","american_football","rugby_football","tennis","flying_disc","bowling","cricket_game","field_hockey","ice_hockey","lacrosse","ping_pong","badminton","boxing_glove","martial_arts_uniform","goal_net","in_hole","ice_skate","fishing_pole","diving_mask","running_shirt","skis","sled","curling_stone","bullseye","yoyo","kite","water_pistol","pool_8_ball","crystal_ball","magic_wand","video_game","joystick","slot_machine","game_die","puzzle_piece","teddy_bear","mirror_ball","nesting_dolls","spade_suit","heart_suit","diamond_suit","club_suit","chess_pawn","joker","mahjong_red_dragon","flower_playing_cards","performing_arts","framed_picture","artist_palette","thread","sewing_needle","yarn","knot","glasses","sunglasses","goggles","lab_coat","safety_vest","necktie","t_shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one_piece_swimsuit","briefs","shorts","bikini","woman_s_clothes","folding_hand_fan","purse","handbag","clutch_bag","shopping_bags","backpack","thong_sandal","man_s_shoe","running_shoe","hiking_boot","flat_shoe","high_heeled_shoe","woman_s_sandal","ballet_shoes","woman_s_boot","hair_pick","crown","woman_s_hat","top_hat","graduation_cap","billed_cap","military_helmet","rescue_worker_s_helmet","prayer_beads","lipstick","ring","gem_stone","muted_speaker","speaker_low_volume","speaker_medium_volume","speaker_high_volume","loudspeaker","megaphone","postal_horn","bell","bell_with_slash","musical_score","musical_note","musical_notes","studio_microphone","level_slider","control_knobs","microphone","headphone","radio","saxophone","accordion","guitar","musical_keyboard","trumpet","violin","banjo","drum","long_drum","maracas","flute","harp","mobile_phone","mobile_phone_with_arrow","telephone","telephone_receiver","pager","fax_machine","battery","low_battery","electric_plug","laptop","desktop_computer","printer","keyboard","computer_mouse","trackball","computer_disk","floppy_disk","optical_disk","dvd","abacus","movie_camera","film_frames","film_projector","clapper_board","television","camera","camera_with_flash","video_camera","videocassette","magnifying_glass_tilted_left","magnifying_glass_tilted_right","candle","light_bulb","flashlight","red_paper_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","open_book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","money_bag","coin","yen_banknote","dollar_banknote","euro_banknote","pound_banknote","money_with_wings","credit_card","receipt","chart_increasing_with_yen","envelope","e_mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","closed_mailbox_with_raised_flag","closed_mailbox_with_lowered_flag","open_mailbox_with_raised_flag","open_mailbox_with_lowered_flag","postbox","ballot_box_with_ballot","pencil","black_nib","fountain_pen","pen","paintbrush","crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","tear_off_calendar","spiral_notepad","spiral_calendar","card_index","chart_increasing","chart_decreasing","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","locked","unlocked","locked_with_pen","locked_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger","crossed_swords","bomb","boomerang","bow_and_arrow","shield","carpentry_saw","wrench","screwdriver","nut_and_bolt","gear","clamp","balance_scale","white_cane","link","broken_chain","chains","hook","toolbox","magnet","ladder","shovel","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","crutch","stethoscope","x_ray","door","elevator","mirror","window","bed","couch_and_lamp","chair","toilet","plunger","shower","bathtub","mouse_trap","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","bucket","soap","bubbles","toothbrush","sponge","fire_extinguisher","shopping_cart","cigarette","coffin","headstone","funeral_urn","nazar_amulet","hamsa","moai","placard","identification_card","atm_sign","litter_in_bin_sign","potable_water","wheelchair_symbol","men_s_room","women_s_room","restroom","baby_symbol","water_closet","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","prohibited","no_bicycles","no_smoking","no_littering","non_potable_water","no_pedestrians","no_mobile_phones","no_one_under_eighteen","radioactive","biohazard","up_arrow","up_right_arrow","right_arrow","down_right_arrow","down_arrow","down_left_arrow","left_arrow","up_left_arrow","up_down_arrow","left_right_arrow","right_arrow_curving_left","left_arrow_curving_right","right_arrow_curving_up","right_arrow_curving_down","clockwise_vertical_arrows","counterclockwise_arrows_button","back_arrow","end_arrow","on_arrow","soon_arrow","top_arrow","place_of_worship","atom_symbol","om","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah","dotted_six_pointed_star","khanda","aries","taurus","gemini","cancer","leo","virgo","libra","scorpio","sagittarius","capricorn","aquarius","pisces","ophiuchus","shuffle_tracks_button","repeat_button","repeat_single_button","play_button","fast_forward_button","next_track_button","play_or_pause_button","reverse_button","fast_reverse_button","last_track_button","upwards_button","fast_up_button","downwards_button","fast_down_button","pause_button","stop_button","record_button","eject_button","cinema","dim_button","bright_button","antenna_bars","wireless","vibration_mode","mobile_phone_off","female_sign","male_sign","transgender_symbol","multiply","plus","minus","divide","heavy_equals_sign","infinity","double_exclamation_mark","exclamation_question_mark","red_question_mark","white_question_mark","white_exclamation_mark","red_exclamation_mark","wavy_dash","currency_exchange","heavy_dollar_sign","medical_symbol","recycling_symbol","fleur_de_lis","trident_emblem","name_badge","japanese_symbol_for_beginner","hollow_red_circle","white_check_mark","check_box_with_check","check_mark","cross_mark","cross_mark_button","curly_loop","double_curly_loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_star","sparkle","copyright","registered","trade_mark","splatter","hash","asterisk","zero","one","two","three","four","five","six","seven","eight","nine","ten","input_latin_uppercase","input_latin_lowercase","1234","input_symbols","input_latin_letters","a_button_blood_type","ab_button_blood_type","b_button_blood_type","cl_button","cool_button","free_button","information_source","id_button","circled_m","new_button","ng_button","o_button_blood_type","ok_button","p_button","sos_button","up_button","vs_button","japanese_here_button","japanese_service_charge_button","japanese_monthly_amount_button","japanese_not_free_of_charge_button","japanese_reserved_button","japanese_bargain_button","japanese_discount_button","japanese_free_of_charge_button","japanese_prohibited_button","japanese_acceptable_button","japanese_application_button","japanese_passing_grade_button","japanese_vacancy_button","japanese_congratulations_button","japanese_secret_button","japanese_open_for_business_button","japanese_no_vacancy_button","red_circle","orange_circle","yellow_circle","green_circle","blue_circle","purple_circle","brown_circle","black_circle","white_circle","red_square","orange_square","yellow_square","green_square","blue_square","purple_square","brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","red_triangle_pointed_up","red_triangle_pointed_down","diamond_with_a_dot","radio_button","white_square_button","black_square_button","chequered_flag","triangular_flag","crossed_flags","black_flag","white_flag","rainbow_flag","transgender_flag","pirate_flag","ascension_island","andorra","united_arab_emirates","afghanistan","antigua_barbuda","anguilla","albania","armenia","angola","antarctica","argentina","american_samoa","austria","australia","aruba","azerbaijan","bosnia_herzegovina","barbados","bangladesh","belgium","burkina_faso","bulgaria","bahrain","burundi","benin","st_barthelemy","bermuda","brunei","bolivia","caribbean_netherlands","brazil","bahamas","bhutan","bouvet_island","botswana","belarus","belize","canada","cocos_keeling_islands","congo_kinshasa","central_african_republic","congo_brazzaville","switzerland","cook_islands","chile","cameroon","china","colombia","clipperton_island","costa_rica","cuba","cape_verde","christmas_island","cyprus","czechia","germany","diego_garcia","djibouti","denmark","dominica","dominican_republic","algeria","ceuta_melilla","ecuador","estonia","egypt","western_sahara","eritrea","spain","ethiopia","european_union","finland","fiji","falkland_islands","micronesia","faroe_islands","france","gabon","united_kingdom","grenada","georgia","french_guiana","guernsey","ghana","gibraltar","greenland","gambia","guinea","guadeloupe","equatorial_guinea","greece","south_georgia_south_sandwich_islands","guatemala","guam","guinea_bissau","guyana","hong_kong_sar_china","heard_mcdonald_islands","honduras","croatia","haiti","hungary","canary_islands","indonesia","ireland","israel","isle_of_man","india","british_indian_ocean_territory","iraq","iran","iceland","italy","jersey","jamaica","jordan","japan","kenya","kyrgyzstan","cambodia","kiribati","comoros","st_kitts_nevis","north_korea","south_korea","kuwait","cayman_islands","kazakhstan","laos","lebanon","st_lucia","liechtenstein","sri_lanka","liberia","lesotho","lithuania","luxembourg","latvia","libya","morocco","monaco","moldova","montenegro","st_martin","madagascar","marshall_islands","north_macedonia","mali","myanmar_burma","mongolia","macao_sar_china","northern_mariana_islands","martinique","mauritania","montserrat","malta","mauritius","maldives","malawi","mexico","malaysia","mozambique","namibia","new_caledonia","niger","norfolk_island","nigeria","nicaragua","netherlands","norway","nepal","nauru","niue","new_zealand","oman","panama","peru","french_polynesia","papua_new_guinea","philippines","pakistan","poland","st_pierre_miquelon","pitcairn_islands","puerto_rico","palestinian_territories","portugal","palau","paraguay","qatar","reunion","romania","serbia","russia","rwanda","saudi_arabia","solomon_islands","seychelles","sudan","sweden","singapore","st_helena","slovenia","svalbard_jan_mayen","slovakia","sierra_leone","san_marino","senegal","somalia","suriname","south_sudan","sao_tome_principe","el_salvador","sint_maarten","syria","eswatini","tristan_da_cunha","turks_caicos_islands","chad","french_southern_territories","togo","thailand","tajikistan","tokelau","timor_leste","turkmenistan","tunisia","tonga","trinidad_tobago","tuvalu","taiwan","tanzania","ukraine","uganda","us_outlying_islands","united_nations","united_states","uruguay","uzbekistan","vatican_city","st_vincent_grenadines","venezuela","british_virgin_islands","us_virgin_islands","vietnam","vanuatu","wallis_futuna","samoa","kosovo","yemen","mayotte","south_africa","zambia","zimbabwe","england","scotland","wales"]),n=["waving_hand","raised_back_of_hand","hand_with_fingers_splayed","raised_hand","vulcan_salute","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","leftwards_pushing_hand","rightwards_pushing_hand","ok_hand","pinched_fingers","pinching_hand","victory_hand","crossed_fingers","hand_with_index_finger_and_thumb_crossed","love_you_gesture","sign_of_the_horns","call_me_hand","backhand_index_pointing_left","backhand_index_pointing_right","backhand_index_pointing_up","fu","backhand_index_pointing_down","index_pointing_up","index_pointing_at_the_viewer","+1","-1","raised_fist","oncoming_fist","left_facing_fist","right_facing_fist","clap","raising_hands","heart_hands","open_hands","palms_up_together","handshake","folded_hands","writing_hand","nail_polish","selfie","flexed_biceps","leg","foot","ear","ear_with_hearing_aid","nose","baby","child","boy","girl","person","person_blond_hair","man","person_beard","man_beard","woman_beard","man_red_hair","man_curly_hair","man_white_hair","man_bald","woman","woman_red_hair","person_red_hair","woman_curly_hair","person_curly_hair","woman_white_hair","person_white_hair","woman_bald","person_bald","blonde_woman","blonde_man","older_person","old_man","old_woman","person_frowning","man_frowning","woman_frowning","person_pouting","man_pouting","woman_pouting","person_gesturing_no","man_gesturing_no","woman_gesturing_no","person_gesturing_ok","man_gesturing_ok","woman_gesturing_ok","person_tipping_hand","man_tipping_hand","woman_tipping_hand","person_raising_hand","man_raising_hand","woman_raising_hand","deaf_person","deaf_man","deaf_woman","person_bowing","man_bowing","woman_bowing","person_facepalming","man_facepalming","woman_facepalming","person_shrugging","man_shrugging","woman_shrugging","health_worker","man_health_worker","woman_health_worker","student","man_student","woman_student","teacher","man_teacher","woman_teacher","judge","man_judge","woman_judge","farmer","man_farmer","woman_farmer","cook","man_cook","woman_cook","mechanic","man_mechanic","woman_mechanic","factory_worker","man_factory_worker","woman_factory_worker","office_worker","man_office_worker","woman_office_worker","scientist","man_scientist","woman_scientist","technologist","man_technologist","woman_technologist","singer","man_singer","woman_singer","artist","man_artist","woman_artist","pilot","man_pilot","woman_pilot","astronaut","man_astronaut","woman_astronaut","firefighter","man_firefighter","woman_firefighter","police_officer","man_police_officer","woman_police_officer","detective","man_detective","woman_detective","guard","man_guard","woman_guard","ninja","construction_worker","construction_worker_man","construction_worker_woman","person_with_crown","prince","princess","person_wearing_turban","man_wearing_turban","woman_wearing_turban","person_with_skullcap","woman_with_headscarf","person_in_tuxedo","man_in_tuxedo","woman_in_tuxedo","person_with_veil","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast_feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","baby_angel","santa_claus","mrs_claus","mx_claus","superhero","man_superhero","woman_superhero","supervillain","man_supervillain","woman_supervillain","mage","man_mage","woman_mage","fairy","man_fairy","woman_fairy","vampire","man_vampire","woman_vampire","merperson","merman","mermaid","elf","man_elf","woman_elf","person_getting_massage","man_getting_massage","woman_getting_massage","person_getting_haircut","man_getting_haircut","woman_getting_haircut","person_walking","man_walking","woman_walking","person_standing","man_standing","woman_standing","person_kneeling","man_kneeling","woman_kneeling","person_with_white_cane","man_with_white_cane","woman_with_white_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","person_running","man_running","woman_running","woman_dancing","man_dancing","person_in_suit_levitating","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","horse_racing","snowboarder","person_golfing","man_golfing","woman_golfing","person_surfing","man_surfing","woman_surfing","person_rowing_boat","man_rowing_boat","woman_rowing_boat","person_swimming","man_swimming","woman_swimming","person_bouncing_ball","man_bouncing_ball","woman_bouncing_ball","person_lifting_weights","man_lifting_weights","woman_lifting_weights","person_biking","man_biking","woman_biking","person_mountain_biking","man_mountain_biking","woman_mountain_biking","person_cartwheeling","man_cartwheeling","woman_cartwheeling","person_playing_water_polo","man_playing_water_polo","woman_playing_water_polo","person_playing_handball","man_playing_handball","woman_playing_handball","person_juggling","man_juggling","woman_juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","person_taking_bath","person_in_bed","women_holding_hands","woman_and_man_holding_hands","men_holding_hands","kiss","kiss_woman_man","kiss_man_man","kiss_woman_woman","couple_with_heart","couple_with_heart_man_man","couple_with_heart_woman_woman"],r={x_ray:["xray"],right_anger_bubble:["anger_right"],ballot_box:["ballot_box_with_ballot"],man_bouncing_ball:["basketball_man"],person_bouncing_ball:["person_with_ball","basketball_player"],bellhop_bell:["bellhop"],biohazard:["biohazard_sign"],bow_and_arrow:["archery"],spiral_calendar:["calendar_spiral","spiral_calendar_pad"],card_file_box:["card_box"],champagne:["bottle_with_popping_cork"],cheese:["cheese_wedge"],cityscape_at_dusk:["city_sunset","city_dusk"],couch_and_lamp:["couch"],crayon:["lower_left_crayon"],cricket_game:["cricket_bat_and_ball","cricket_bat_ball"],latin_cross:["cross"],dagger:["dagger_knife"],desktop_computer:["desktop"],card_index_dividers:["dividers"],dove:["dove_of_peace"],footprints:["feet"],fire:["flame"],black_flag:["flag_black","waving_black_flag"],white_flag:["flag_white","waving_white_flag"],framed_picture:["frame_photo","frame_with_picture"],hammer_and_pick:["hammer_pick"],houses:["homes","house_buildings"],hotdog:["hot_dog"],derelict_house:["house_abandoned","derelict_house_building"],desert_island:["island"],old_key:["key2"],person_lifting_weights:["lifter","weight_lifter"],military_medal:["medal_military"],sports_medal:["medal_sports","medal"],sign_of_the_horns:["metal"],fu:["middle_finger","reversed_hand_with_middle_finger_extended"],motorcycle:["racing_motorcycle"],mountain_snow:["snow_capped_mountain"],spiral_notepad:["notepad_spiral","spiral_note_pad"],oil_drum:["oil"],old_woman:["grandma","older_woman"],old_man:["older_man","grandpa"],paintbrush:["lower_left_paintbrush"],paperclips:["linked_paperclips"],pause_button:["double_vertical_bar"],peace_symbol:["peace"],fountain_pen:["pen_fountain","lower_left_fountain_pen"],ping_pong:["table_tennis"],place_of_worship:["worship_symbol"],poop:["poo","shit","pile_of_poo","hankey"],radioactive:["radioactive_sign"],railway_track:["railroad_track"],robot:["robot_face"],skull:["skeleton"],skull_and_crossbones:["skull_crossbones"],speaking_head:["speaking_head_in_silhouette"],man_detective:["spy","sleuth_or_spy","male_detective"],thinking:["thinking_face"],cloud_with_lightning_and_rain:["thunder_cloud_rain","thunder_cloud_and_rain"],tickets:["admission_tickets"],next_track_button:["track_next","next_track"],unicorn:["unicorn_face"],funeral_urn:["urn"],sun_behind_large_cloud:["white_sun_cloud","white_sun_behind_cloud"],sun_behind_rain_cloud:["white_sun_rain_cloud","white_sun_behind_cloud_with_rain"],sun_behind_cloud:["partly_sunny"],sun_behind_small_cloud:["white_sun_small_cloud","white_sun_with_small_cloud"],umbrella:["umbrella2","open_umbrella"],hammer_and_wrench:["tools"],face_with_thermometer:["thermometer_face"],timer_clock:["timer"],slightly_smiling_face:["slightly_smiling","slight_smile"],upside_down_face:["upside_down"],money_mouth_face:["money_mouth"],nerd_face:["nerd"],hugs:["hugging","hugging_face","smiling_face_with_open_hands"],roll_eyes:["face_with_rolling_eyes","rolling_eyes"],slightly_frowning_face:["slight_frown"],frowning:["frowning_face","frowning2","white_frowning_face"],zipper_mouth_face:["zipper_mouth"],face_with_head_bandage:["head_bandage"],hand_with_fingers_splayed:["raised_hand_with_fingers_splayed","hand_splayed"],raised_hand:["hand"],vulcan_salute:["vulcan","raised_hand_with_part_between_middle_and_ring_fingers"],police_officer:["policeman","cop"],man_walking:["walking_man"],person_walking:["walking"],man_bowing:["bow","bowing_man"],passenger_ship:["cruise_ship"],motor_boat:["motorboat","boat"],flight_arrival:["airplane_arriving"],flight_departure:["airplane_departure"],small_airplane:["airplane_small"],racing_car:["race_car"],family_man_woman_boy_boy:["family_man_woman_boys"],family_man_woman_girl_girl:["family_man_woman_girls"],family_woman_woman_boy:["family_women_boy"],family_woman_woman_girl:["family_women_girl"],family_woman_woman_girl_boy:["family_women_girl_boy"],family_woman_woman_boy_boy:["family_women_boys"],family_woman_woman_girl_girl:["family_women_girls"],family_man_man_boy:["family_men_boy"],family_man_man_girl:["family_men_girl"],family_man_man_girl_boy:["family_men_girl_boy"],family_man_man_boy_boy:["family_men_boys"],family_man_man_girl_girl:["family_men_girls"],cloud_with_lightning:["cloud_lightning"],tornado:["cloud_tornado","cloud_with_tornado"],cloud_with_rain:["cloud_rain"],cloud_with_snow:["cloud_snow"],studio_microphone:["microphone2"],honeybee:["bee"],lion:["lion_face"],satellite:["artificial_satellite","satellite_orbital"],computer_mouse:["mouse_three_button","three_button_mouse"],wind_face:["wind_blowing_face"],man_golfing:["golfer","golfing_man"],building_construction:["construction_site"],ice_hockey:["hockey"],play_or_pause_button:["play_pause"],film_projector:["projector"],shopping:["shopping_bags"],open_book:["book"],national_park:["park"],world_map:["map"],pen:["pen_ballpoint","lower_left_ballpoint_pen"],e_mail:["e-mail","email"],atom_symbol:["atom"],mantelpiece_clock:["clock"],camera_flash:["camera_with_flash"],film_strip:["film_frames"],balance_scale:["scales"],person_surfing:["surfer"],man_surfing:["surfing_man"],kiss_woman_man:["couplekiss","couplekiss_man_woman"],kiss_woman_woman:["couplekiss_woman_woman","female_couplekiss"],kiss_man_man:["couplekiss_man_man","male_couplekiss"],couple_with_heart_man_man:["male_couple_with_heart"],couple_with_heart:["couple_with_heart_woman_man"],couple_with_heart_woman_woman:["female_couple_with_heart"],clamp:["compression"],person_in_bed:["sleeping_accommodation","sleeping_bed"],om:["om_symbol"],man_rowing_boat:["rowing_boat","rowboat","rowing_man"],new_moon:["moon"],fleur_de_lis:["fleur-de-lis"],face_vomiting:["puke"],smile:["grinning_face_with_smiling_eyes"],frowning_with_open_mouth:["frowning_face_with_open_mouth"],grinning_face:["grinning"],smiley:["grinning_face_with_big_eyes"],grinning_face_with_smiling_eyes:["smile"],grin:["beaming_face_with_smiling_eyes"],laughing:["grinning_squinting_face","satisfied"],sweat_smile:["grinning_face_with_sweat"],rofl:["rolling_on_the_floor_laughing"],joy:["face_with_tears_of_joy"],wink:["winking_face"],blush:["smiling_face_with_smiling_eyes"],innocent:["smiling_face_with_halo"],smiling_face_with_three_hearts:["smiling_face_with_hearts"],heart_eyes:["smiling_face_with_heart_eyes"],face_blowing_a_kiss:["kissing_heart"],kissing_face:["kissing"],kissing_face_with_closed_eyes:["kissing_closed_eyes"],kissing_face_with_smiling_eyes:["kissing_smiling_eyes"],face_savoring_food:["yum"],face_with_tongue:["stuck_out_tongue"],winking_face_with_tongue:["stuck_out_tongue_winking_eye"],zany_face:["crazy_face"],squinting_face_with_tongue:["stuck_out_tongue_closed_eyes"],expressionless_face:["expressionless"],face_without_mouth:["no_mouth"],smirking_face:["smirk"],unamused_face:["unamused"],grimacing:["grimacing_face"],relieved_face:["relieved","relaxed"],pensive_face:["pensive"],sleepy_face:["sleepy"],sleeping_face:["sleeping"],face_with_medical_mask:["mask"],face_with_crossed_out_eyes:["dizzy_face"],confused:["confused_face"],worried:["worried_face"],open_mouth:["face_with_open_mouth"],hushed_face:["hushed"],astonished_face:["astonished"],flushed_face:["flushed"],frowning_face_with_open_mouth:["frowning_with_open_mouth"],anguished_face:["anguished"],fearful:["fearful_face"],anxious_face_with_sweat:["cold_sweat"],sad_but_relieved_face:["disappointed_relieved"],cry:["crying_face"],sob:["loudly_crying_face"],scream:["face_screaming_in_fear"],confounded_face:["confounded"],persevering_face:["persevere"],disappointed_face:["disappointed"],downcast_face_with_sweat:["sweat"],weary_face:["weary"],face_with_steam_from_nose:["triumph"],enraged_face:["rage"],angry:["angry_face"],face_with_symbols_on_mouth:["face_with_symbols_over_mouth"],smiling_face_with_horns:["smiling_imp"],angry_face_with_horns:["imp"],ogre:["japanese_ogre"],goblin:["japanese_goblin"],alien_monster:["space_invader"],grinning_cat:["smiley_cat"],grinning_cat_with_smiling_eyes:["smile_cat"],joy_cat:["cat_with_tears_of_joy"],smiling_cat_with_heart_eyes:["heart_eyes_cat"],cat_with_wry_smile:["smirk_cat"],weary_cat:["scream_cat"],crying_cat:["crying_cat_face"],see_no_evil_monkey:["see_no_evil"],hear_no_evil_monkey:["hear_no_evil"],speak_no_evil_monkey:["speak_no_evil"],heart_with_arrow:["cupid"],heart_with_ribbon:["gift_heart"],growing_heart:["heartpulse"],beating_heart:["heartbeat"],heart_exclamation:["heavy_heart_exclamation","heavy_heart_exclamation_mark_ornament"],heart:["red_heart"],100:["hundred_points"],anger_symbol:["anger"],collision:["boom"],sweat_droplets:["sweat_drops"],dashing_away:["dash"],waving_hand:["wave"],victory_hand:["v"],backhand_index_pointing_left:["point_left"],backhand_index_pointing_right:["point_right"],backhand_index_pointing_up:["point_up_2"],backhand_index_pointing_down:["point_down"],index_pointing_up:["point_up"],"+1":["thumbs_up","thumbsup"],"-1":["thumbs_down","thumbsdown"],raised_fist:["fist"],oncoming_fist:["facepunch","punch"],left_facing_fist:["fist_left"],right_facing_fist:["fist_right"],clap:["clapping_hands"],raising_hands:["raised_hands"],folded_hands:["pray","high_five"],nail_polish:["nail_care"],flexed_biceps:["muscle"],ear_with_hearing_aid:["hear_with_hearing_aid"],mouth:["lips"],person:["adult"],person_blond_hair:["person_with_blond_hair"],person_beard:["bearded_person"],man_red_hair:["man_red_haired"],man_curly_hair:["man_curly_haired"],man_white_hair:["man_white_haired"],woman_red_hair:["woman_red_haired"],woman_curly_hair:["woman_curly_haired"],woman_white_hair:["woman_white_haired"],blonde_woman:["woman_blond_hair"],blonde_man:["man_blond_hair"],older_person:["old_person","older_adult"],man_frowning:["frowning_man"],woman_frowning:["frowning_woman"],man_pouting:["pouting_man"],woman_pouting:["pouting_woman"],person_pouting:["person_with_pouting_face"],man_gesturing_no:["no_good_man"],woman_gesturing_no:["no_good_woman"],person_gesturing_no:["no_good"],man_gesturing_ok:["ok_man"],woman_gesturing_ok:["ok_woman"],man_tipping_hand:["tipping_hand_man"],woman_tipping_hand:["tipping_hand_woman"],person_tipping_hand:["information_desk_person"],man_raising_hand:["raising_hand_man"],woman_raising_hand:["raising_hand_woman"],person_raising_hand:["raising_hand"],woman_bowing:["bowing_woman"],woman_police_officer:["policewoman"],woman_detective:["female_detective"],guard:["guardsman"],woman_guard:["guardswoman"],person_with_skullcap:["man_with_gua_pi_mao"],construction_worker_man:["man_construction_worker"],construction_worker_woman:["woman_construction_worker"],woman_wearing_turban:["woman_with_turban"],man_wearing_turban:["man_with_turban"],person_with_veil:["bride_with_veil"],baby_angel:["angel"],santa_claus:["santa"],man_getting_massage:["massage_man"],woman_getting_massage:["massage_woman","massage"],person_getting_haircut:["haircut"],man_getting_haircut:["haircut_man"],woman_getting_haircut:["haircut_woman"],woman_walking:["walking_woman"],man_with_white_cane:["man_with_probing_cane"],woman_with_white_cane:["woman_with_probing_cane"],woman_running:["running_woman"],man_running:["running_man","runner"],woman_dancing:["dancer"],people_with_bunny_ears:["dancing_women","dancers"],person_in_suit_levitating:["business_suit_levitating","man_in_business_suit_levitating","levitate"],men_with_bunny_ears:["dancing_men"],woman_golfing:["golfing_woman"],woman_surfing:["surfing_woman"],woman_rowing_boat:["rowing_woman"],woman_swimming:["swimming_woman"],man_swimming:["swimming_man","swimmer"],woman_bouncing_ball:["basketball_woman"],woman_lifting_weights:["weight_lifting_woman"],man_lifting_weights:["weight_lifting_man"],man_biking:["biking_man","bicyclist"],woman_biking:["biking_woman"],woman_mountain_biking:["mountain_biking_woman"],man_mountain_biking:["mountain_biking_man","mountain_bicyclist"],person_taking_bath:["bath"],women_holding_hands:["two_women_holding_hands"],woman_and_man_holding_hands:["couple"],men_holding_hands:["two_men_holding_hands"],dog:["dog2"],cat:["cat2"],tiger:["tiger2"],horse:["racehorse"],cow:["cow2"],pig:["pig2"],fox:["fox_face"],ewe:["sheep"],camel:["dromedary_camel"],mouse:["mouse2"],rabbit:["rabbit2"],panda:["panda_face"],front_facing_baby_chick:["hatched_chick"],spouting_whale:["whale2"],spiral_shell:["shell"],sheaf_of_rice:["ear_of_rice"],leaf_fluttering_in_wind:["leaves"],red_apple:["apple"],ear_of_corn:["corn"],cheese_wedge:["cheese"],french_fries:["fries"],hot_dog:["hotdog"],cooking:["fried_egg"],pot_of_food:["stew"],bento_box:["bento"],cooked_rice:["rice"],curry_rice:["curry"],steaming_bowl:["ramen"],roasted_sweet_potato:["sweet_potato"],fish_cake_with_swirl:["fish_cake"],soft_ice_cream:["icecream"],birthday_cake:["birthday"],shortcake:["cake"],glass_of_milk:["milk_glass"],hot_beverage:["coffee"],teacup_without_handle:["tea"],bottle_with_popping_cork:["champagne"],cocktail_glass:["cocktail"],beer_mug:["beer"],clinking_beer_mugs:["beers"],mate:["maté"],ice:["ice_cube"],shushing_face:["sushing_face"],fork_and_knife_with_plate:["fork_knife_plate","plate_with_cutlery"],kitchen_knife:["hocho","knife"],globe_showing_europe_africa:["earth_africa"],globe_showing_americas:["earth_americas"],globe_showing_asia_australia:["earth_asia"],snow_capped_mountain:["mountain_snow"],beach_with_umbrella:["beach_umbrella","parasol_on_ground","beach"],office_building:["office"],post_office:["european_post_office"],castle:["european_castle"],sunset:["city_sunrise"],hot_springs:["hotsprings"],barber_pole:["barber"],locomotive:["steam_locomotive"],high_speed_train:["bullettrain_side"],bullet_train:["bullettrain_front"],train:["train2"],automobile:["red_car","car"],sport_utility_vehicle:["blue_car"],delivery_truck:["truck"],bicycle:["bike"],bus_stop:["busstop"],fuel_pump:["fuelpump"],police_car_light:["rotating_light"],horizontal_traffic_light:["traffic_light"],airplane_departure:["flight_departure"],airplane_arrival:["flight_arrival","airplane_arriving"],hourglass_done:["hourglass"],hourglass_not_done:["hourglass_flowing_sand"],twelve_o_clock:["clock12"],twelve_thirty:["clock1230"],one_o_clock:["clock1"],one_thirty:["clock130"],two_o_clock:["clock2"],two_thirty:["clock230"],three_o_clock:["clock3"],three_thirty:["clock330"],four_o_clock:["clock4"],four_thirty:["clock430"],five_o_clock:["clock5"],five_thirty:["clock530"],six_o_clock:["clock6"],six_thirty:["clock630"],seven_o_clock:["clock7"],seven_thirty:["clock730"],eight_o_clock:["clock8"],eight_thirty:["clock830"],nine_o_clock:["clock9"],nine_thirty:["clock930"],ten_o_clock:["clock10"],ten_thirty:["clock1030"],eleven_o_clock:["clock11"],eleven_thirty:["clock1130"],new_moon_face:["new_moon_with_face"],first_quarter_moon_face:["first_quarter_moon_with_face"],last_quarter_moon_face:["last_quarter_moon_with_face"],sun:["sunny"],full_moon_face:["full_moon_with_face"],ringed_planet:["ringer_planet"],glowing_star:["star2"],shooting_star:["stars"],high_voltage:["zap"],snowman:["snowman_with_snow"],snowman_without_snow:["snowman2"],ocean:["water_wave"],tada:["party_popper"],pine_decoration:["bamboo"],japanese_dolls:["dolls"],carp_streamer:["flags"],moon_viewing_ceremony:["rice_scene"],red_envelope:["red_gift_envelope"],wrapped_gift:["gift"],admission_tickets:["tickets"],soccer_ball:["soccer"],american_football:["football"],in_hole:["golf"],fishing_pole:["fishing_pole_and_fish"],running_shirt:["running_shirt_with_sash"],skis:["ski"],bullseye:["dart"],yoyo:["yo_yo","yo-yo"],water_pistol:["gun"],pool_8_ball:["8ball"],puzzle_piece:["jigsaw"],spade_suit:["spades"],heart_suit:["hearts"],diamond_suit:["diamonds"],club_suit:["clubs"],joker:["black_joker"],mahjong_red_dragon:["mahjong"],artist_palette:["art"],glasses:["eyeglasses"],sunglasses:["dark_sunglasses"],t_shirt:["tshirt","shirt"],woman_s_clothes:["womans_clothes"],clutch_bag:["pouch"],shopping_bags:["shopping"],backpack:["school_satchel"],man_s_shoe:["mans_shoe"],running_shoe:["athletic_shoe"],high_heeled_shoe:["high_heel"],woman_s_sandal:["sandal"],woman_s_boot:["boot"],woman_s_hat:["womans_hat"],top_hat:["tophat"],graduation_cap:["mortar_board"],rescue_worker_s_helmet:["rescue_worker_helmet","helmet_with_cross","helmet_with_white_cross"],gem_stone:["gem"],muted_speaker:["mute"],speaker_low_volume:["speaker"],speaker_medium_volume:["sound"],speaker_high_volume:["loud_sound"],megaphone:["mega"],bell_with_slash:["no_bell"],musical_notes:["notes"],headphone:["headphones"],mobile_phone:["iphone"],mobile_phone_with_arrow:["calling"],telephone:["phone"],fax_machine:["fax"],laptop:["computer"],computer_disk:["minidisc"],optical_disk:["cd"],film_frames:["film_strip"],clapper_board:["clapper"],television:["tv"],camera_with_flash:["camera_flash"],videocassette:["vhs"],magnifying_glass_tilted_left:["mag"],magnifying_glass_tilted_right:["mag_right"],light_bulb:["bulb"],red_paper_lantern:["izakaya_lantern"],rolled_up_newspaper:["newspaper_roll","newspaper2"],money_bag:["moneybag"],yen_banknote:["yen"],dollar_banknote:["dollar"],euro_banknote:["euro"],pound_banknote:["pound"],chart_increasing_with_yen:["chart"],closed_mailbox_with_raised_flag:["mailbox"],closed_mailbox_with_lowered_flag:["mailbox_closed"],open_mailbox_with_raised_flag:["mailbox_with_mail"],open_mailbox_with_lowered_flag:["mailbox_with_no_mail"],ballot_box_with_ballot:["ballot_box"],pencil:["pencil2"],date:["calendar"],chart_increasing:["chart_with_upwards_trend"],chart_decreasing:["chart_with_downwards_trend"],linked_paperclips:["paperclips"],locked:["lock"],unlocked:["unlock"],locked_with_pen:["lock_with_ink_pen"],locked_with_key:["closed_lock_with_key"],white_cane:["probing_cane"],roll_of_paper:["roll_of_toilet_paper"],cigarette:["smoking"],moai:["moyai"],atm_sign:["atm"],litter_in_bin_sign:["put_litter_in_its_place"],wheelchair_symbol:["wheelchair"],men_s_room:["mens"],women_s_room:["womens"],water_closet:["wc"],prohibited:["no_entry_sign"],no_littering:["do_not_litter"],non_potable_water:["non-potable_water"],no_one_under_eighteen:["underage"],up_arrow:["arrow_up"],up_right_arrow:["arrow_upper_right"],right_arrow:["arrow_right"],down_right_arrow:["arrow_lower_right"],down_arrow:["arrow_down"],down_left_arrow:["arrow_lower_left"],left_arrow:["arrow_left"],up_left_arrow:["arrow_upper_left"],up_down_arrow:["arrow_up_down"],right_arrow_curving_left:["leftwards_arrow_with_hook"],left_arrow_curving_right:["arrow_right_hook"],right_arrow_curving_up:["arrow_heading_up"],right_arrow_curving_down:["arrow_heading_down"],clockwise_vertical_arrows:["arrows_clockwise"],counterclockwise_arrows_button:["arrows_counterclockwise"],back_arrow:["back"],end_arrow:["end"],on_arrow:["on"],soon_arrow:["soon"],top_arrow:["top"],dotted_six_pointed_star:["six_pointed_star"],scorpio:["scorpius"],shuffle_tracks_button:["twisted_rightwards_arrows"],repeat_button:["repeat"],repeat_single_button:["repeat_one"],play_button:["arrow_forward"],fast_forward_button:["fast_forward"],reverse_button:["arrow_backward"],fast_reverse_button:["rewind"],last_track_button:["previous_track_button","track_previous","previous_track"],upwards_button:["arrow_up_small"],fast_up_button:["arrow_double_up"],downwards_button:["arrow_down_small"],fast_down_button:["arrow_double_down"],dim_button:["low_brightness"],bright_button:["high_brightness"],antenna_bars:["signal_strength"],multiply:["heavy_multiplication_x"],plus:["heavy_plus_sign"],minus:["heavy_minus_sign"],divide:["heavy_division_sign"],double_exclamation_mark:["bangbang"],exclamation_question_mark:["interrobang"],red_question_mark:["question"],white_question_mark:["grey_question"],white_exclamation_mark:["grey_exclamation"],red_exclamation_mark:["exclamation"],recycling_symbol:["recycle"],trident_emblem:["trident"],japanese_symbol_for_beginner:["beginner"],hollow_red_circle:["o"],white_check_mark:["check_mark_button"],check_box_with_check:["ballot_box_with_check"],check_mark:["heavy_check_mark"],cross_mark:["x"],cross_mark_button:["negative_squared_cross_mark"],double_curly_loop:["loop"],eight_pointed_star:["eight_pointed_black_star"],trade_mark:["tm"],hash:["keycap_hash","keycap_#"],asterisk:["keycap_asterisk","keycap_*","keycap_star"],zero:["keycap_0"],one:["keycap_1"],two:["keycap_2"],three:["keycap_3"],four:["keycap_4"],five:["keycap_5"],six:["keycap_6"],seven:["keycap_7"],eight:["keycap_8"],nine:["keycap_9"],ten:["keycap_10","keycap_ten"],input_latin_uppercase:["capital_abcd"],input_latin_lowercase:["abcd"],1234:["input_numbers"],input_symbols:["symbols"],input_latin_letters:["abc"],a_button_blood_type:["a"],ab_button_blood_type:["ab"],b_button_blood_type:["b"],cl_button:["cl"],cool_button:["cool"],free_button:["free"],information_source:["information"],id_button:["id"],circled_m:["m"],new_button:["new"],ng_button:["ng"],o_button_blood_type:["o2"],ok_button:["ok"],p_button:["parking"],sos_button:["sos"],up_button:["up"],vs_button:["vs"],japanese_vacancy_button:["u7a7a"],japanese_discount_button:["u5272"],japanese_here_button:["koko"],japanese_not_free_of_charge_button:["sa","u6709"],japanese_application_button:["u7533"],japanese_bargain_button:["ideograph_advantage"],japanese_prohibited_button:["u7981"],japanese_acceptable_button:["accept"],japanese_congratulations_button:["congratulations"],japanese_secret_button:["secret"],japanese_open_for_business_button:["u55b6"],japanese_monthly_amount_button:["u6708"],japanese_passing_grade_button:["u5408"],japanese_no_vacancy_button:["u6e80"],japanese_free_of_charge_button:["u7121"],japanese_reserved_button:["u6307"],blue_circle:["large_blue_circle"],red_triangle_pointed_up:["small_red_triangle"],red_triangle_pointed_down:["small_red_triangle_down"],diamond_with_a_dot:["diamond_shape_with_a_dot_inside"],chequered_flag:["checkered_flag"],triangular_flag:["triangular_flag_on_post"],åland_islands:["aland_islands"],cocos_keeling_islands:["cocos_islands"],cote_d_ivoire:["cote_divoire"],china:["cn","flag_cn"],curaçao:["curacao"],czechia:["czech_republic"],germany:["de","flag_de"],ceuta_melilla:["ceuta_and_melilla"],spain:["es","flag_es"],european_union:["eu"],france:["fr","flag_fr"],hong_kong_sar_china:["hong_kong"],heard_mcdonald_islands:["heard_and_mc_donald_islands"],italy:["it","flag_it"],japan:["jp","flag_jp"],south_korea:["kr","flag_kr"],north_macedonia:["macedonia"],myanmar_burma:["myanmar"],macao_sar_china:["macau"],russia:["ru","flag_ru"],svalbard_jan_mayen:["svalbard_and_jan_mayen"],eswatini:["swaziland"],turkiye:["tr"],united_states:["us","flag_us"],united_kingdom:["uk","gb","flag_gb"]},a={":)":"slight_smile",":-)":"slight_smile","^_^":"slight_smile","^__^":"slight_smile",":(":"frowning",":-(":"frowning",";)":"wink",";-)":"wink",":'(":"cry",":'-(":"cry",":-'(":"cry",":p":"stuck_out_tongue",":P":"stuck_out_tongue",":-P":"stuck_out_tongue",":O":"open_mouth",":-O":"open_mouth",":D":"smiley",":-D":"smiley",":|":"expressionless",":-|":"expressionless",":/":"confused","8-)":"sunglasses",";P":"stuck_out_tongue_winking_eye",";-P":"stuck_out_tongue_winking_eye",":$":"blush",":-$":"blush"},o={"😀":"grinning_face","😃":"smiley","😄":"grinning_face_with_smiling_eyes","😁":"grin","😆":"laughing","😅":"sweat_smile","🤣":"rofl","😂":"joy","🙂":"slightly_smiling_face","🙃":"upside_down_face","🫠":"melting_face","😉":"wink","😊":"blush","😇":"innocent","🥰":"smiling_face_with_three_hearts","😍":"heart_eyes","🤩":"star_struck","😘":"face_blowing_a_kiss","😗":"kissing_face","☺":"smiling_face","😚":"kissing_face_with_closed_eyes","😙":"kissing_face_with_smiling_eyes","🥲":"smiling_face_with_tear","😋":"face_savoring_food","😛":"face_with_tongue","😜":"winking_face_with_tongue","🤪":"zany_face","😝":"squinting_face_with_tongue","🤑":"money_mouth_face","🤗":"hugs","🤭":"face_with_hand_over_mouth","🫢":"face_with_open_eyes_and_hand_over_mouth","🫣":"face_with_peeking_eye","🤫":"shushing_face","🤔":"thinking","🫡":"saluting_face","🤐":"zipper_mouth_face","🤨":"face_with_raised_eyebrow","😐":"neutral_face","😑":"expressionless_face","😶":"face_without_mouth","🫥":"dotted_line_face","😶‍🌫️":"face_in_clouds","😏":"smirking_face","😒":"unamused_face","🙄":"roll_eyes","😬":"grimacing","😮‍💨":"face_exhaling","🤥":"lying_face","🫨":"shaking_face","🙂‍↔️":"head_shaking_horizontally","🙂‍↕️":"head_shaking_vertically","😌":"relieved_face","😔":"pensive_face","😪":"sleepy_face","🤤":"drooling_face","😴":"sleeping_face","🫩":"face_with_bags_under_eyes","😷":"face_with_medical_mask","🤒":"face_with_thermometer","🤕":"face_with_head_bandage","🤢":"nauseated_face","🤮":"face_vomiting","🤧":"sneezing_face","🥵":"hot_face","🥶":"cold_face","🥴":"woozy_face","😵":"face_with_crossed_out_eyes","😵‍💫":"face_with_spiral_eyes","🤯":"exploding_head","🤠":"cowboy_hat_face","🥳":"partying_face","🥸":"disguised_face","😎":"smiling_face_with_sunglasses","🤓":"nerd_face","🧐":"face_with_monocle","😕":"confused","🫤":"face_with_diagonal_mouth","😟":"worried","🙁":"slightly_frowning_face","☹":"frowning","😮":"open_mouth","😯":"hushed_face","😲":"astonished_face","😳":"flushed_face","🥺":"pleading_face","🥹":"face_holding_back_tears","😦":"frowning_face_with_open_mouth","😧":"anguished_face","😨":"fearful","😰":"anxious_face_with_sweat","😥":"sad_but_relieved_face","😢":"cry","😭":"sob","😱":"scream","😖":"confounded_face","😣":"persevering_face","😞":"disappointed_face","😓":"downcast_face_with_sweat","😩":"weary_face","😫":"tired_face","🥱":"yawning_face","😤":"face_with_steam_from_nose","😡":"enraged_face","😠":"angry","🤬":"face_with_symbols_on_mouth","😈":"smiling_face_with_horns","👿":"angry_face_with_horns","💀":"skull","☠":"skull_and_crossbones","💩":"poop","🤡":"clown_face","👹":"ogre","👺":"goblin","👻":"ghost","👽":"alien","👾":"alien_monster","🤖":"robot","😺":"grinning_cat","😸":"grinning_cat_with_smiling_eyes","😹":"joy_cat","😻":"smiling_cat_with_heart_eyes","😼":"cat_with_wry_smile","😽":"kissing_cat","🙀":"weary_cat","😿":"crying_cat","😾":"pouting_cat","🙈":"see_no_evil_monkey","🙉":"hear_no_evil_monkey","🙊":"speak_no_evil_monkey","💌":"love_letter","💘":"heart_with_arrow","💝":"heart_with_ribbon","💖":"sparkling_heart","💗":"growing_heart","💓":"beating_heart","💞":"revolving_hearts","💕":"two_hearts","💟":"heart_decoration","❣":"heart_exclamation","💔":"broken_heart","❤️‍🔥":"heart_on_fire","❤️‍🩹":"mending_heart","❤":"heart","🩷":"pink_heart","🧡":"orange_heart","💛":"yellow_heart","💚":"green_heart","💙":"blue_heart","🩵":"light_blue_heart","💜":"purple_heart","🤎":"brown_heart","🖤":"black_heart","🩶":"grey_heart","🤍":"white_heart","💋":"kiss_mark","💯":"100","💢":"anger_symbol","💥":"collision","💫":"dizzy","💦":"sweat_droplets","💨":"dashing_away","🕳":"hole","💬":"speech_balloon","👁️‍🗨️":"eye_in_speech_bubble","🗨":"left_speech_bubble","🗯":"right_anger_bubble","💭":"thought_balloon","💤":"zzz","👋":"waving_hand","👋🏻":"waving_hand:t2","👋🏼":"waving_hand:t3","👋🏽":"waving_hand:t4","👋🏾":"waving_hand:t5","👋🏿":"waving_hand:t6","🤚":"raised_back_of_hand","🤚🏻":"raised_back_of_hand:t2","🤚🏼":"raised_back_of_hand:t3","🤚🏽":"raised_back_of_hand:t4","🤚🏾":"raised_back_of_hand:t5","🤚🏿":"raised_back_of_hand:t6","🖐":"hand_with_fingers_splayed","🖐🏻":"hand_with_fingers_splayed:t2","🖐🏼":"hand_with_fingers_splayed:t3","🖐🏽":"hand_with_fingers_splayed:t4","🖐🏾":"hand_with_fingers_splayed:t5","🖐🏿":"hand_with_fingers_splayed:t6","✋":"raised_hand","✋🏻":"raised_hand:t2","✋🏼":"raised_hand:t3","✋🏽":"raised_hand:t4","✋🏾":"raised_hand:t5","✋🏿":"raised_hand:t6","🖖":"vulcan_salute","🖖🏻":"vulcan_salute:t2","🖖🏼":"vulcan_salute:t3","🖖🏽":"vulcan_salute:t4","🖖🏾":"vulcan_salute:t5","🖖🏿":"vulcan_salute:t6","🫱":"rightwards_hand","🫱🏻":"rightwards_hand:t2","🫱🏼":"rightwards_hand:t3","🫱🏽":"rightwards_hand:t4","🫱🏾":"rightwards_hand:t5","🫱🏿":"rightwards_hand:t6","🫲":"leftwards_hand","🫲🏻":"leftwards_hand:t2","🫲🏼":"leftwards_hand:t3","🫲🏽":"leftwards_hand:t4","🫲🏾":"leftwards_hand:t5","🫲🏿":"leftwards_hand:t6","🫳":"palm_down_hand","🫳🏻":"palm_down_hand:t2","🫳🏼":"palm_down_hand:t3","🫳🏽":"palm_down_hand:t4","🫳🏾":"palm_down_hand:t5","🫳🏿":"palm_down_hand:t6","🫴":"palm_up_hand","🫴🏻":"palm_up_hand:t2","🫴🏼":"palm_up_hand:t3","🫴🏽":"palm_up_hand:t4","🫴🏾":"palm_up_hand:t5","🫴🏿":"palm_up_hand:t6","🫷":"leftwards_pushing_hand","🫷🏻":"leftwards_pushing_hand:t2","🫷🏼":"leftwards_pushing_hand:t3","🫷🏽":"leftwards_pushing_hand:t4","🫷🏾":"leftwards_pushing_hand:t5","🫷🏿":"leftwards_pushing_hand:t6","🫸":"rightwards_pushing_hand","🫸🏻":"rightwards_pushing_hand:t2","🫸🏼":"rightwards_pushing_hand:t3","🫸🏽":"rightwards_pushing_hand:t4","🫸🏾":"rightwards_pushing_hand:t5","🫸🏿":"rightwards_pushing_hand:t6","👌":"ok_hand","👌🏻":"ok_hand:t2","👌🏼":"ok_hand:t3","👌🏽":"ok_hand:t4","👌🏾":"ok_hand:t5","👌🏿":"ok_hand:t6","🤌":"pinched_fingers","🤌🏻":"pinched_fingers:t2","🤌🏼":"pinched_fingers:t3","🤌🏽":"pinched_fingers:t4","🤌🏾":"pinched_fingers:t5","🤌🏿":"pinched_fingers:t6","🤏":"pinching_hand","🤏🏻":"pinching_hand:t2","🤏🏼":"pinching_hand:t3","🤏🏽":"pinching_hand:t4","🤏🏾":"pinching_hand:t5","🤏🏿":"pinching_hand:t6","✌":"victory_hand","✌🏻":"victory_hand:t2","✌🏼":"victory_hand:t3","✌🏽":"victory_hand:t4","✌🏾":"victory_hand:t5","✌🏿":"victory_hand:t6","🤞":"crossed_fingers","🤞🏻":"crossed_fingers:t2","🤞🏼":"crossed_fingers:t3","🤞🏽":"crossed_fingers:t4","🤞🏾":"crossed_fingers:t5","🤞🏿":"crossed_fingers:t6","🫰":"hand_with_index_finger_and_thumb_crossed","🫰🏻":"hand_with_index_finger_and_thumb_crossed:t2","🫰🏼":"hand_with_index_finger_and_thumb_crossed:t3","🫰🏽":"hand_with_index_finger_and_thumb_crossed:t4","🫰🏾":"hand_with_index_finger_and_thumb_crossed:t5","🫰🏿":"hand_with_index_finger_and_thumb_crossed:t6","🤟":"love_you_gesture","🤟🏻":"love_you_gesture:t2","🤟🏼":"love_you_gesture:t3","🤟🏽":"love_you_gesture:t4","🤟🏾":"love_you_gesture:t5","🤟🏿":"love_you_gesture:t6","🤘":"sign_of_the_horns","🤘🏻":"sign_of_the_horns:t2","🤘🏼":"sign_of_the_horns:t3","🤘🏽":"sign_of_the_horns:t4","🤘🏾":"sign_of_the_horns:t5","🤘🏿":"sign_of_the_horns:t6","🤙":"call_me_hand","🤙🏻":"call_me_hand:t2","🤙🏼":"call_me_hand:t3","🤙🏽":"call_me_hand:t4","🤙🏾":"call_me_hand:t5","🤙🏿":"call_me_hand:t6","👈":"backhand_index_pointing_left","👈🏻":"backhand_index_pointing_left:t2","👈🏼":"backhand_index_pointing_left:t3","👈🏽":"backhand_index_pointing_left:t4","👈🏾":"backhand_index_pointing_left:t5","👈🏿":"backhand_index_pointing_left:t6","👉":"backhand_index_pointing_right","👉🏻":"backhand_index_pointing_right:t2","👉🏼":"backhand_index_pointing_right:t3","👉🏽":"backhand_index_pointing_right:t4","👉🏾":"backhand_index_pointing_right:t5","👉🏿":"backhand_index_pointing_right:t6","👆":"backhand_index_pointing_up","👆🏻":"backhand_index_pointing_up:t2","👆🏼":"backhand_index_pointing_up:t3","👆🏽":"backhand_index_pointing_up:t4","👆🏾":"backhand_index_pointing_up:t5","👆🏿":"backhand_index_pointing_up:t6","🖕":"fu","🖕🏻":"fu:t2","🖕🏼":"fu:t3","🖕🏽":"fu:t4","🖕🏾":"fu:t5","🖕🏿":"fu:t6","👇":"backhand_index_pointing_down","👇🏻":"backhand_index_pointing_down:t2","👇🏼":"backhand_index_pointing_down:t3","👇🏽":"backhand_index_pointing_down:t4","👇🏾":"backhand_index_pointing_down:t5","👇🏿":"backhand_index_pointing_down:t6","☝":"index_pointing_up","☝🏻":"index_pointing_up:t2","☝🏼":"index_pointing_up:t3","☝🏽":"index_pointing_up:t4","☝🏾":"index_pointing_up:t5","☝🏿":"index_pointing_up:t6","🫵":"index_pointing_at_the_viewer","🫵🏻":"index_pointing_at_the_viewer:t2","🫵🏼":"index_pointing_at_the_viewer:t3","🫵🏽":"index_pointing_at_the_viewer:t4","🫵🏾":"index_pointing_at_the_viewer:t5","🫵🏿":"index_pointing_at_the_viewer:t6","👍":"+1","👍🏻":"+1:t2","👍🏼":"+1:t3","👍🏽":"+1:t4","👍🏾":"+1:t5","👍🏿":"+1:t6","👎":"-1","👎🏻":"-1:t2","👎🏼":"-1:t3","👎🏽":"-1:t4","👎🏾":"-1:t5","👎🏿":"-1:t6","✊":"raised_fist","✊🏻":"raised_fist:t2","✊🏼":"raised_fist:t3","✊🏽":"raised_fist:t4","✊🏾":"raised_fist:t5","✊🏿":"raised_fist:t6","👊":"oncoming_fist","👊🏻":"oncoming_fist:t2","👊🏼":"oncoming_fist:t3","👊🏽":"oncoming_fist:t4","👊🏾":"oncoming_fist:t5","👊🏿":"oncoming_fist:t6","🤛":"left_facing_fist","🤛🏻":"left_facing_fist:t2","🤛🏼":"left_facing_fist:t3","🤛🏽":"left_facing_fist:t4","🤛🏾":"left_facing_fist:t5","🤛🏿":"left_facing_fist:t6","🤜":"right_facing_fist","🤜🏻":"right_facing_fist:t2","🤜🏼":"right_facing_fist:t3","🤜🏽":"right_facing_fist:t4","🤜🏾":"right_facing_fist:t5","🤜🏿":"right_facing_fist:t6","👏":"clap","👏🏻":"clap:t2","👏🏼":"clap:t3","👏🏽":"clap:t4","👏🏾":"clap:t5","👏🏿":"clap:t6","🙌":"raising_hands","🙌🏻":"raising_hands:t2","🙌🏼":"raising_hands:t3","🙌🏽":"raising_hands:t4","🙌🏾":"raising_hands:t5","🙌🏿":"raising_hands:t6","🫶":"heart_hands","🫶🏻":"heart_hands:t2","🫶🏼":"heart_hands:t3","🫶🏽":"heart_hands:t4","🫶🏾":"heart_hands:t5","🫶🏿":"heart_hands:t6","👐":"open_hands","👐🏻":"open_hands:t2","👐🏼":"open_hands:t3","👐🏽":"open_hands:t4","👐🏾":"open_hands:t5","👐🏿":"open_hands:t6","🤲":"palms_up_together","🤲🏻":"palms_up_together:t2","🤲🏼":"palms_up_together:t3","🤲🏽":"palms_up_together:t4","🤲🏾":"palms_up_together:t5","🤲🏿":"palms_up_together:t6","🤝":"handshake","🤝🏻":"handshake:t2","🤝🏼":"handshake:t3","🤝🏽":"handshake:t4","🤝🏾":"handshake:t5","🤝🏿":"handshake:t6","🙏":"folded_hands","🙏🏻":"folded_hands:t2","🙏🏼":"folded_hands:t3","🙏🏽":"folded_hands:t4","🙏🏾":"folded_hands:t5","🙏🏿":"folded_hands:t6","✍":"writing_hand","✍🏻":"writing_hand:t2","✍🏼":"writing_hand:t3","✍🏽":"writing_hand:t4","✍🏾":"writing_hand:t5","✍🏿":"writing_hand:t6","💅":"nail_polish","💅🏻":"nail_polish:t2","💅🏼":"nail_polish:t3","💅🏽":"nail_polish:t4","💅🏾":"nail_polish:t5","💅🏿":"nail_polish:t6","🤳":"selfie","🤳🏻":"selfie:t2","🤳🏼":"selfie:t3","🤳🏽":"selfie:t4","🤳🏾":"selfie:t5","🤳🏿":"selfie:t6","💪":"flexed_biceps","💪🏻":"flexed_biceps:t2","💪🏼":"flexed_biceps:t3","💪🏽":"flexed_biceps:t4","💪🏾":"flexed_biceps:t5","💪🏿":"flexed_biceps:t6","🦾":"mechanical_arm","🦿":"mechanical_leg","🦵":"leg","🦵🏻":"leg:t2","🦵🏼":"leg:t3","🦵🏽":"leg:t4","🦵🏾":"leg:t5","🦵🏿":"leg:t6","🦶":"foot","🦶🏻":"foot:t2","🦶🏼":"foot:t3","🦶🏽":"foot:t4","🦶🏾":"foot:t5","🦶🏿":"foot:t6","👂":"ear","👂🏻":"ear:t2","👂🏼":"ear:t3","👂🏽":"ear:t4","👂🏾":"ear:t5","👂🏿":"ear:t6","🦻":"ear_with_hearing_aid","🦻🏻":"ear_with_hearing_aid:t2","🦻🏼":"ear_with_hearing_aid:t3","🦻🏽":"ear_with_hearing_aid:t4","🦻🏾":"ear_with_hearing_aid:t5","🦻🏿":"ear_with_hearing_aid:t6","👃":"nose","👃🏻":"nose:t2","👃🏼":"nose:t3","👃🏽":"nose:t4","👃🏾":"nose:t5","👃🏿":"nose:t6","🧠":"brain","🫀":"anatomical_heart","🫁":"lungs","🦷":"tooth","🦴":"bone","👀":"eyes","👁":"eye","👅":"tongue","👄":"mouth","🫦":"biting_lip","👶":"baby","👶🏻":"baby:t2","👶🏼":"baby:t3","👶🏽":"baby:t4","👶🏾":"baby:t5","👶🏿":"baby:t6","🧒":"child","🧒🏻":"child:t2","🧒🏼":"child:t3","🧒🏽":"child:t4","🧒🏾":"child:t5","🧒🏿":"child:t6","👦":"boy","👦🏻":"boy:t2","👦🏼":"boy:t3","👦🏽":"boy:t4","👦🏾":"boy:t5","👦🏿":"boy:t6","👧":"girl","👧🏻":"girl:t2","👧🏼":"girl:t3","👧🏽":"girl:t4","👧🏾":"girl:t5","👧🏿":"girl:t6","🧑":"person","🧑🏻":"person:t2","🧑🏼":"person:t3","🧑🏽":"person:t4","🧑🏾":"person:t5","🧑🏿":"person:t6","👱":"person_blond_hair","👱🏻":"person_blond_hair:t2","👱🏼":"person_blond_hair:t3","👱🏽":"person_blond_hair:t4","👱🏾":"person_blond_hair:t5","👱🏿":"person_blond_hair:t6","👨":"man","👨🏻":"man:t2","👨🏼":"man:t3","👨🏽":"man:t4","👨🏾":"man:t5","👨🏿":"man:t6","🧔":"person_beard","🧔🏻":"person_beard:t2","🧔🏼":"person_beard:t3","🧔🏽":"person_beard:t4","🧔🏾":"person_beard:t5","🧔🏿":"person_beard:t6","🧔‍♂️":"man_beard","🧔🏻‍♂️":"man_beard:t2","🧔🏼‍♂️":"man_beard:t3","🧔🏽‍♂️":"man_beard:t4","🧔🏾‍♂️":"man_beard:t5","🧔🏿‍♂️":"man_beard:t6","🧔‍♀️":"woman_beard","🧔🏻‍♀️":"woman_beard:t2","🧔🏼‍♀️":"woman_beard:t3","🧔🏽‍♀️":"woman_beard:t4","🧔🏾‍♀️":"woman_beard:t5","🧔🏿‍♀️":"woman_beard:t6","👨‍🦰":"man_red_hair","👨🏻‍🦰":"man_red_hair:t2","👨🏼‍🦰":"man_red_hair:t3","👨🏽‍🦰":"man_red_hair:t4","👨🏾‍🦰":"man_red_hair:t5","👨🏿‍🦰":"man_red_hair:t6","👨‍🦱":"man_curly_hair","👨🏻‍🦱":"man_curly_hair:t2","👨🏼‍🦱":"man_curly_hair:t3","👨🏽‍🦱":"man_curly_hair:t4","👨🏾‍🦱":"man_curly_hair:t5","👨🏿‍🦱":"man_curly_hair:t6","👨‍🦳":"man_white_hair","👨🏻‍🦳":"man_white_hair:t2","👨🏼‍🦳":"man_white_hair:t3","👨🏽‍🦳":"man_white_hair:t4","👨🏾‍🦳":"man_white_hair:t5","👨🏿‍🦳":"man_white_hair:t6","👨‍🦲":"man_bald","👨🏻‍🦲":"man_bald:t2","👨🏼‍🦲":"man_bald:t3","👨🏽‍🦲":"man_bald:t4","👨🏾‍🦲":"man_bald:t5","👨🏿‍🦲":"man_bald:t6","👩":"woman","👩🏻":"woman:t2","👩🏼":"woman:t3","👩🏽":"woman:t4","👩🏾":"woman:t5","👩🏿":"woman:t6","👩‍🦰":"woman_red_hair","👩🏻‍🦰":"woman_red_hair:t2","👩🏼‍🦰":"woman_red_hair:t3","👩🏽‍🦰":"woman_red_hair:t4","👩🏾‍🦰":"woman_red_hair:t5","👩🏿‍🦰":"woman_red_hair:t6","🧑‍🦰":"person_red_hair","🧑🏻‍🦰":"person_red_hair:t2","🧑🏼‍🦰":"person_red_hair:t3","🧑🏽‍🦰":"person_red_hair:t4","🧑🏾‍🦰":"person_red_hair:t5","🧑🏿‍🦰":"person_red_hair:t6","👩‍🦱":"woman_curly_hair","👩🏻‍🦱":"woman_curly_hair:t2","👩🏼‍🦱":"woman_curly_hair:t3","👩🏽‍🦱":"woman_curly_hair:t4","👩🏾‍🦱":"woman_curly_hair:t5","👩🏿‍🦱":"woman_curly_hair:t6","🧑‍🦱":"person_curly_hair","🧑🏻‍🦱":"person_curly_hair:t2","🧑🏼‍🦱":"person_curly_hair:t3","🧑🏽‍🦱":"person_curly_hair:t4","🧑🏾‍🦱":"person_curly_hair:t5","🧑🏿‍🦱":"person_curly_hair:t6","👩‍🦳":"woman_white_hair","👩🏻‍🦳":"woman_white_hair:t2","👩🏼‍🦳":"woman_white_hair:t3","👩🏽‍🦳":"woman_white_hair:t4","👩🏾‍🦳":"woman_white_hair:t5","👩🏿‍🦳":"woman_white_hair:t6","🧑‍🦳":"person_white_hair","🧑🏻‍🦳":"person_white_hair:t2","🧑🏼‍🦳":"person_white_hair:t3","🧑🏽‍🦳":"person_white_hair:t4","🧑🏾‍🦳":"person_white_hair:t5","🧑🏿‍🦳":"person_white_hair:t6","👩‍🦲":"woman_bald","👩🏻‍🦲":"woman_bald:t2","👩🏼‍🦲":"woman_bald:t3","👩🏽‍🦲":"woman_bald:t4","👩🏾‍🦲":"woman_bald:t5","👩🏿‍🦲":"woman_bald:t6","🧑‍🦲":"person_bald","🧑🏻‍🦲":"person_bald:t2","🧑🏼‍🦲":"person_bald:t3","🧑🏽‍🦲":"person_bald:t4","🧑🏾‍🦲":"person_bald:t5","🧑🏿‍🦲":"person_bald:t6","👱‍♀️":"blonde_woman","👱🏻‍♀️":"blonde_woman:t2","👱🏼‍♀️":"blonde_woman:t3","👱🏽‍♀️":"blonde_woman:t4","👱🏾‍♀️":"blonde_woman:t5","👱🏿‍♀️":"blonde_woman:t6","👱‍♂️":"blonde_man","👱🏻‍♂️":"blonde_man:t2","👱🏼‍♂️":"blonde_man:t3","👱🏽‍♂️":"blonde_man:t4","👱🏾‍♂️":"blonde_man:t5","👱🏿‍♂️":"blonde_man:t6","🧓":"older_person","🧓🏻":"older_person:t2","🧓🏼":"older_person:t3","🧓🏽":"older_person:t4","🧓🏾":"older_person:t5","🧓🏿":"older_person:t6","👴":"old_man","👴🏻":"old_man:t2","👴🏼":"old_man:t3","👴🏽":"old_man:t4","👴🏾":"old_man:t5","👴🏿":"old_man:t6","👵":"old_woman","👵🏻":"old_woman:t2","👵🏼":"old_woman:t3","👵🏽":"old_woman:t4","👵🏾":"old_woman:t5","👵🏿":"old_woman:t6","🙍":"person_frowning","🙍🏻":"person_frowning:t2","🙍🏼":"person_frowning:t3","🙍🏽":"person_frowning:t4","🙍🏾":"person_frowning:t5","🙍🏿":"person_frowning:t6","🙍‍♂️":"man_frowning","🙍🏻‍♂️":"man_frowning:t2","🙍🏼‍♂️":"man_frowning:t3","🙍🏽‍♂️":"man_frowning:t4","🙍🏾‍♂️":"man_frowning:t5","🙍🏿‍♂️":"man_frowning:t6","🙍‍♀️":"woman_frowning","🙍🏻‍♀️":"woman_frowning:t2","🙍🏼‍♀️":"woman_frowning:t3","🙍🏽‍♀️":"woman_frowning:t4","🙍🏾‍♀️":"woman_frowning:t5","🙍🏿‍♀️":"woman_frowning:t6","🙎":"person_pouting","🙎🏻":"person_pouting:t2","🙎🏼":"person_pouting:t3","🙎🏽":"person_pouting:t4","🙎🏾":"person_pouting:t5","🙎🏿":"person_pouting:t6","🙎‍♂️":"man_pouting","🙎🏻‍♂️":"man_pouting:t2","🙎🏼‍♂️":"man_pouting:t3","🙎🏽‍♂️":"man_pouting:t4","🙎🏾‍♂️":"man_pouting:t5","🙎🏿‍♂️":"man_pouting:t6","🙎‍♀️":"woman_pouting","🙎🏻‍♀️":"woman_pouting:t2","🙎🏼‍♀️":"woman_pouting:t3","🙎🏽‍♀️":"woman_pouting:t4","🙎🏾‍♀️":"woman_pouting:t5","🙎🏿‍♀️":"woman_pouting:t6","🙅":"person_gesturing_no","🙅🏻":"person_gesturing_no:t2","🙅🏼":"person_gesturing_no:t3","🙅🏽":"person_gesturing_no:t4","🙅🏾":"person_gesturing_no:t5","🙅🏿":"person_gesturing_no:t6","🙅‍♂️":"man_gesturing_no","🙅🏻‍♂️":"man_gesturing_no:t2","🙅🏼‍♂️":"man_gesturing_no:t3","🙅🏽‍♂️":"man_gesturing_no:t4","🙅🏾‍♂️":"man_gesturing_no:t5","🙅🏿‍♂️":"man_gesturing_no:t6","🙅‍♀️":"woman_gesturing_no","🙅🏻‍♀️":"woman_gesturing_no:t2","🙅🏼‍♀️":"woman_gesturing_no:t3","🙅🏽‍♀️":"woman_gesturing_no:t4","🙅🏾‍♀️":"woman_gesturing_no:t5","🙅🏿‍♀️":"woman_gesturing_no:t6","🙆":"person_gesturing_ok","🙆🏻":"person_gesturing_ok:t2","🙆🏼":"person_gesturing_ok:t3","🙆🏽":"person_gesturing_ok:t4","🙆🏾":"person_gesturing_ok:t5","🙆🏿":"person_gesturing_ok:t6","🙆‍♂️":"man_gesturing_ok","🙆🏻‍♂️":"man_gesturing_ok:t2","🙆🏼‍♂️":"man_gesturing_ok:t3","🙆🏽‍♂️":"man_gesturing_ok:t4","🙆🏾‍♂️":"man_gesturing_ok:t5","🙆🏿‍♂️":"man_gesturing_ok:t6","🙆‍♀️":"woman_gesturing_ok","🙆🏻‍♀️":"woman_gesturing_ok:t2","🙆🏼‍♀️":"woman_gesturing_ok:t3","🙆🏽‍♀️":"woman_gesturing_ok:t4","🙆🏾‍♀️":"woman_gesturing_ok:t5","🙆🏿‍♀️":"woman_gesturing_ok:t6","💁":"person_tipping_hand","💁🏻":"person_tipping_hand:t2","💁🏼":"person_tipping_hand:t3","💁🏽":"person_tipping_hand:t4","💁🏾":"person_tipping_hand:t5","💁🏿":"person_tipping_hand:t6","💁‍♂️":"man_tipping_hand","💁🏻‍♂️":"man_tipping_hand:t2","💁🏼‍♂️":"man_tipping_hand:t3","💁🏽‍♂️":"man_tipping_hand:t4","💁🏾‍♂️":"man_tipping_hand:t5","💁🏿‍♂️":"man_tipping_hand:t6","💁‍♀️":"woman_tipping_hand","💁🏻‍♀️":"woman_tipping_hand:t2","💁🏼‍♀️":"woman_tipping_hand:t3","💁🏽‍♀️":"woman_tipping_hand:t4","💁🏾‍♀️":"woman_tipping_hand:t5","💁🏿‍♀️":"woman_tipping_hand:t6","🙋":"person_raising_hand","🙋🏻":"person_raising_hand:t2","🙋🏼":"person_raising_hand:t3","🙋🏽":"person_raising_hand:t4","🙋🏾":"person_raising_hand:t5","🙋🏿":"person_raising_hand:t6","🙋‍♂️":"man_raising_hand","🙋🏻‍♂️":"man_raising_hand:t2","🙋🏼‍♂️":"man_raising_hand:t3","🙋🏽‍♂️":"man_raising_hand:t4","🙋🏾‍♂️":"man_raising_hand:t5","🙋🏿‍♂️":"man_raising_hand:t6","🙋‍♀️":"woman_raising_hand","🙋🏻‍♀️":"woman_raising_hand:t2","🙋🏼‍♀️":"woman_raising_hand:t3","🙋🏽‍♀️":"woman_raising_hand:t4","🙋🏾‍♀️":"woman_raising_hand:t5","🙋🏿‍♀️":"woman_raising_hand:t6","🧏":"deaf_person","🧏🏻":"deaf_person:t2","🧏🏼":"deaf_person:t3","🧏🏽":"deaf_person:t4","🧏🏾":"deaf_person:t5","🧏🏿":"deaf_person:t6","🧏‍♂️":"deaf_man","🧏🏻‍♂️":"deaf_man:t2","🧏🏼‍♂️":"deaf_man:t3","🧏🏽‍♂️":"deaf_man:t4","🧏🏾‍♂️":"deaf_man:t5","🧏🏿‍♂️":"deaf_man:t6","🧏‍♀️":"deaf_woman","🧏🏻‍♀️":"deaf_woman:t2","🧏🏼‍♀️":"deaf_woman:t3","🧏🏽‍♀️":"deaf_woman:t4","🧏🏾‍♀️":"deaf_woman:t5","🧏🏿‍♀️":"deaf_woman:t6","🙇":"person_bowing","🙇🏻":"person_bowing:t2","🙇🏼":"person_bowing:t3","🙇🏽":"person_bowing:t4","🙇🏾":"person_bowing:t5","🙇🏿":"person_bowing:t6","🙇‍♂️":"man_bowing","🙇🏻‍♂️":"man_bowing:t2","🙇🏼‍♂️":"man_bowing:t3","🙇🏽‍♂️":"man_bowing:t4","🙇🏾‍♂️":"man_bowing:t5","🙇🏿‍♂️":"man_bowing:t6","🙇‍♀️":"woman_bowing","🙇🏻‍♀️":"woman_bowing:t2","🙇🏼‍♀️":"woman_bowing:t3","🙇🏽‍♀️":"woman_bowing:t4","🙇🏾‍♀️":"woman_bowing:t5","🙇🏿‍♀️":"woman_bowing:t6","🤦":"person_facepalming","🤦🏻":"person_facepalming:t2","🤦🏼":"person_facepalming:t3","🤦🏽":"person_facepalming:t4","🤦🏾":"person_facepalming:t5","🤦🏿":"person_facepalming:t6","🤦‍♂️":"man_facepalming","🤦🏻‍♂️":"man_facepalming:t2","🤦🏼‍♂️":"man_facepalming:t3","🤦🏽‍♂️":"man_facepalming:t4","🤦🏾‍♂️":"man_facepalming:t5","🤦🏿‍♂️":"man_facepalming:t6","🤦‍♀️":"woman_facepalming","🤦🏻‍♀️":"woman_facepalming:t2","🤦🏼‍♀️":"woman_facepalming:t3","🤦🏽‍♀️":"woman_facepalming:t4","🤦🏾‍♀️":"woman_facepalming:t5","🤦🏿‍♀️":"woman_facepalming:t6","🤷":"person_shrugging","🤷🏻":"person_shrugging:t2","🤷🏼":"person_shrugging:t3","🤷🏽":"person_shrugging:t4","🤷🏾":"person_shrugging:t5","🤷🏿":"person_shrugging:t6","🤷‍♂️":"man_shrugging","🤷🏻‍♂️":"man_shrugging:t2","🤷🏼‍♂️":"man_shrugging:t3","🤷🏽‍♂️":"man_shrugging:t4","🤷🏾‍♂️":"man_shrugging:t5","🤷🏿‍♂️":"man_shrugging:t6","🤷‍♀️":"woman_shrugging","🤷🏻‍♀️":"woman_shrugging:t2","🤷🏼‍♀️":"woman_shrugging:t3","🤷🏽‍♀️":"woman_shrugging:t4","🤷🏾‍♀️":"woman_shrugging:t5","🤷🏿‍♀️":"woman_shrugging:t6","🧑‍⚕️":"health_worker","🧑🏻‍⚕️":"health_worker:t2","🧑🏼‍⚕️":"health_worker:t3","🧑🏽‍⚕️":"health_worker:t4","🧑🏾‍⚕️":"health_worker:t5","🧑🏿‍⚕️":"health_worker:t6","👨‍⚕️":"man_health_worker","👨🏻‍⚕️":"man_health_worker:t2","👨🏼‍⚕️":"man_health_worker:t3","👨🏽‍⚕️":"man_health_worker:t4","👨🏾‍⚕️":"man_health_worker:t5","👨🏿‍⚕️":"man_health_worker:t6","👩‍⚕️":"woman_health_worker","👩🏻‍⚕️":"woman_health_worker:t2","👩🏼‍⚕️":"woman_health_worker:t3","👩🏽‍⚕️":"woman_health_worker:t4","👩🏾‍⚕️":"woman_health_worker:t5","👩🏿‍⚕️":"woman_health_worker:t6","🧑‍🎓":"student","🧑🏻‍🎓":"student:t2","🧑🏼‍🎓":"student:t3","🧑🏽‍🎓":"student:t4","🧑🏾‍🎓":"student:t5","🧑🏿‍🎓":"student:t6","👨‍🎓":"man_student","👨🏻‍🎓":"man_student:t2","👨🏼‍🎓":"man_student:t3","👨🏽‍🎓":"man_student:t4","👨🏾‍🎓":"man_student:t5","👨🏿‍🎓":"man_student:t6","👩‍🎓":"woman_student","👩🏻‍🎓":"woman_student:t2","👩🏼‍🎓":"woman_student:t3","👩🏽‍🎓":"woman_student:t4","👩🏾‍🎓":"woman_student:t5","👩🏿‍🎓":"woman_student:t6","🧑‍🏫":"teacher","🧑🏻‍🏫":"teacher:t2","🧑🏼‍🏫":"teacher:t3","🧑🏽‍🏫":"teacher:t4","🧑🏾‍🏫":"teacher:t5","🧑🏿‍🏫":"teacher:t6","👨‍🏫":"man_teacher","👨🏻‍🏫":"man_teacher:t2","👨🏼‍🏫":"man_teacher:t3","👨🏽‍🏫":"man_teacher:t4","👨🏾‍🏫":"man_teacher:t5","👨🏿‍🏫":"man_teacher:t6","👩‍🏫":"woman_teacher","👩🏻‍🏫":"woman_teacher:t2","👩🏼‍🏫":"woman_teacher:t3","👩🏽‍🏫":"woman_teacher:t4","👩🏾‍🏫":"woman_teacher:t5","👩🏿‍🏫":"woman_teacher:t6","🧑‍⚖️":"judge","🧑🏻‍⚖️":"judge:t2","🧑🏼‍⚖️":"judge:t3","🧑🏽‍⚖️":"judge:t4","🧑🏾‍⚖️":"judge:t5","🧑🏿‍⚖️":"judge:t6","👨‍⚖️":"man_judge","👨🏻‍⚖️":"man_judge:t2","👨🏼‍⚖️":"man_judge:t3","👨🏽‍⚖️":"man_judge:t4","👨🏾‍⚖️":"man_judge:t5","👨🏿‍⚖️":"man_judge:t6","👩‍⚖️":"woman_judge","👩🏻‍⚖️":"woman_judge:t2","👩🏼‍⚖️":"woman_judge:t3","👩🏽‍⚖️":"woman_judge:t4","👩🏾‍⚖️":"woman_judge:t5","👩🏿‍⚖️":"woman_judge:t6","🧑‍🌾":"farmer","🧑🏻‍🌾":"farmer:t2","🧑🏼‍🌾":"farmer:t3","🧑🏽‍🌾":"farmer:t4","🧑🏾‍🌾":"farmer:t5","🧑🏿‍🌾":"farmer:t6","👨‍🌾":"man_farmer","👨🏻‍🌾":"man_farmer:t2","👨🏼‍🌾":"man_farmer:t3","👨🏽‍🌾":"man_farmer:t4","👨🏾‍🌾":"man_farmer:t5","👨🏿‍🌾":"man_farmer:t6","👩‍🌾":"woman_farmer","👩🏻‍🌾":"woman_farmer:t2","👩🏼‍🌾":"woman_farmer:t3","👩🏽‍🌾":"woman_farmer:t4","👩🏾‍🌾":"woman_farmer:t5","👩🏿‍🌾":"woman_farmer:t6","🧑‍🍳":"cook","🧑🏻‍🍳":"cook:t2","🧑🏼‍🍳":"cook:t3","🧑🏽‍🍳":"cook:t4","🧑🏾‍🍳":"cook:t5","🧑🏿‍🍳":"cook:t6","👨‍🍳":"man_cook","👨🏻‍🍳":"man_cook:t2","👨🏼‍🍳":"man_cook:t3","👨🏽‍🍳":"man_cook:t4","👨🏾‍🍳":"man_cook:t5","👨🏿‍🍳":"man_cook:t6","👩‍🍳":"woman_cook","👩🏻‍🍳":"woman_cook:t2","👩🏼‍🍳":"woman_cook:t3","👩🏽‍🍳":"woman_cook:t4","👩🏾‍🍳":"woman_cook:t5","👩🏿‍🍳":"woman_cook:t6","🧑‍🔧":"mechanic","🧑🏻‍🔧":"mechanic:t2","🧑🏼‍🔧":"mechanic:t3","🧑🏽‍🔧":"mechanic:t4","🧑🏾‍🔧":"mechanic:t5","🧑🏿‍🔧":"mechanic:t6","👨‍🔧":"man_mechanic","👨🏻‍🔧":"man_mechanic:t2","👨🏼‍🔧":"man_mechanic:t3","👨🏽‍🔧":"man_mechanic:t4","👨🏾‍🔧":"man_mechanic:t5","👨🏿‍🔧":"man_mechanic:t6","👩‍🔧":"woman_mechanic","👩🏻‍🔧":"woman_mechanic:t2","👩🏼‍🔧":"woman_mechanic:t3","👩🏽‍🔧":"woman_mechanic:t4","👩🏾‍🔧":"woman_mechanic:t5","👩🏿‍🔧":"woman_mechanic:t6","🧑‍🏭":"factory_worker","🧑🏻‍🏭":"factory_worker:t2","🧑🏼‍🏭":"factory_worker:t3","🧑🏽‍🏭":"factory_worker:t4","🧑🏾‍🏭":"factory_worker:t5","🧑🏿‍🏭":"factory_worker:t6","👨‍🏭":"man_factory_worker","👨🏻‍🏭":"man_factory_worker:t2","👨🏼‍🏭":"man_factory_worker:t3","👨🏽‍🏭":"man_factory_worker:t4","👨🏾‍🏭":"man_factory_worker:t5","👨🏿‍🏭":"man_factory_worker:t6","👩‍🏭":"woman_factory_worker","👩🏻‍🏭":"woman_factory_worker:t2","👩🏼‍🏭":"woman_factory_worker:t3","👩🏽‍🏭":"woman_factory_worker:t4","👩🏾‍🏭":"woman_factory_worker:t5","👩🏿‍🏭":"woman_factory_worker:t6","🧑‍💼":"office_worker","🧑🏻‍💼":"office_worker:t2","🧑🏼‍💼":"office_worker:t3","🧑🏽‍💼":"office_worker:t4","🧑🏾‍💼":"office_worker:t5","🧑🏿‍💼":"office_worker:t6","👨‍💼":"man_office_worker","👨🏻‍💼":"man_office_worker:t2","👨🏼‍💼":"man_office_worker:t3","👨🏽‍💼":"man_office_worker:t4","👨🏾‍💼":"man_office_worker:t5","👨🏿‍💼":"man_office_worker:t6","👩‍💼":"woman_office_worker","👩🏻‍💼":"woman_office_worker:t2","👩🏼‍💼":"woman_office_worker:t3","👩🏽‍💼":"woman_office_worker:t4","👩🏾‍💼":"woman_office_worker:t5","👩🏿‍💼":"woman_office_worker:t6","🧑‍🔬":"scientist","🧑🏻‍🔬":"scientist:t2","🧑🏼‍🔬":"scientist:t3","🧑🏽‍🔬":"scientist:t4","🧑🏾‍🔬":"scientist:t5","🧑🏿‍🔬":"scientist:t6","👨‍🔬":"man_scientist","👨🏻‍🔬":"man_scientist:t2","👨🏼‍🔬":"man_scientist:t3","👨🏽‍🔬":"man_scientist:t4","👨🏾‍🔬":"man_scientist:t5","👨🏿‍🔬":"man_scientist:t6","👩‍🔬":"woman_scientist","👩🏻‍🔬":"woman_scientist:t2","👩🏼‍🔬":"woman_scientist:t3","👩🏽‍🔬":"woman_scientist:t4","👩🏾‍🔬":"woman_scientist:t5","👩🏿‍🔬":"woman_scientist:t6","🧑‍💻":"technologist","🧑🏻‍💻":"technologist:t2","🧑🏼‍💻":"technologist:t3","🧑🏽‍💻":"technologist:t4","🧑🏾‍💻":"technologist:t5","🧑🏿‍💻":"technologist:t6","👨‍💻":"man_technologist","👨🏻‍💻":"man_technologist:t2","👨🏼‍💻":"man_technologist:t3","👨🏽‍💻":"man_technologist:t4","👨🏾‍💻":"man_technologist:t5","👨🏿‍💻":"man_technologist:t6","👩‍💻":"woman_technologist","👩🏻‍💻":"woman_technologist:t2","👩🏼‍💻":"woman_technologist:t3","👩🏽‍💻":"woman_technologist:t4","👩🏾‍💻":"woman_technologist:t5","👩🏿‍💻":"woman_technologist:t6","🧑‍🎤":"singer","🧑🏻‍🎤":"singer:t2","🧑🏼‍🎤":"singer:t3","🧑🏽‍🎤":"singer:t4","🧑🏾‍🎤":"singer:t5","🧑🏿‍🎤":"singer:t6","👨‍🎤":"man_singer","👨🏻‍🎤":"man_singer:t2","👨🏼‍🎤":"man_singer:t3","👨🏽‍🎤":"man_singer:t4","👨🏾‍🎤":"man_singer:t5","👨🏿‍🎤":"man_singer:t6","👩‍🎤":"woman_singer","👩🏻‍🎤":"woman_singer:t2","👩🏼‍🎤":"woman_singer:t3","👩🏽‍🎤":"woman_singer:t4","👩🏾‍🎤":"woman_singer:t5","👩🏿‍🎤":"woman_singer:t6","🧑‍🎨":"artist","🧑🏻‍🎨":"artist:t2","🧑🏼‍🎨":"artist:t3","🧑🏽‍🎨":"artist:t4","🧑🏾‍🎨":"artist:t5","🧑🏿‍🎨":"artist:t6","👨‍🎨":"man_artist","👨🏻‍🎨":"man_artist:t2","👨🏼‍🎨":"man_artist:t3","👨🏽‍🎨":"man_artist:t4","👨🏾‍🎨":"man_artist:t5","👨🏿‍🎨":"man_artist:t6","👩‍🎨":"woman_artist","👩🏻‍🎨":"woman_artist:t2","👩🏼‍🎨":"woman_artist:t3","👩🏽‍🎨":"woman_artist:t4","👩🏾‍🎨":"woman_artist:t5","👩🏿‍🎨":"woman_artist:t6","🧑‍✈️":"pilot","🧑🏻‍✈️":"pilot:t2","🧑🏼‍✈️":"pilot:t3","🧑🏽‍✈️":"pilot:t4","🧑🏾‍✈️":"pilot:t5","🧑🏿‍✈️":"pilot:t6","👨‍✈️":"man_pilot","👨🏻‍✈️":"man_pilot:t2","👨🏼‍✈️":"man_pilot:t3","👨🏽‍✈️":"man_pilot:t4","👨🏾‍✈️":"man_pilot:t5","👨🏿‍✈️":"man_pilot:t6","👩‍✈️":"woman_pilot","👩🏻‍✈️":"woman_pilot:t2","👩🏼‍✈️":"woman_pilot:t3","👩🏽‍✈️":"woman_pilot:t4","👩🏾‍✈️":"woman_pilot:t5","👩🏿‍✈️":"woman_pilot:t6","🧑‍🚀":"astronaut","🧑🏻‍🚀":"astronaut:t2","🧑🏼‍🚀":"astronaut:t3","🧑🏽‍🚀":"astronaut:t4","🧑🏾‍🚀":"astronaut:t5","🧑🏿‍🚀":"astronaut:t6","👨‍🚀":"man_astronaut","👨🏻‍🚀":"man_astronaut:t2","👨🏼‍🚀":"man_astronaut:t3","👨🏽‍🚀":"man_astronaut:t4","👨🏾‍🚀":"man_astronaut:t5","👨🏿‍🚀":"man_astronaut:t6","👩‍🚀":"woman_astronaut","👩🏻‍🚀":"woman_astronaut:t2","👩🏼‍🚀":"woman_astronaut:t3","👩🏽‍🚀":"woman_astronaut:t4","👩🏾‍🚀":"woman_astronaut:t5","👩🏿‍🚀":"woman_astronaut:t6","🧑‍🚒":"firefighter","🧑🏻‍🚒":"firefighter:t2","🧑🏼‍🚒":"firefighter:t3","🧑🏽‍🚒":"firefighter:t4","🧑🏾‍🚒":"firefighter:t5","🧑🏿‍🚒":"firefighter:t6","👨‍🚒":"man_firefighter","👨🏻‍🚒":"man_firefighter:t2","👨🏼‍🚒":"man_firefighter:t3","👨🏽‍🚒":"man_firefighter:t4","👨🏾‍🚒":"man_firefighter:t5","👨🏿‍🚒":"man_firefighter:t6","👩‍🚒":"woman_firefighter","👩🏻‍🚒":"woman_firefighter:t2","👩🏼‍🚒":"woman_firefighter:t3","👩🏽‍🚒":"woman_firefighter:t4","👩🏾‍🚒":"woman_firefighter:t5","👩🏿‍🚒":"woman_firefighter:t6","👮":"police_officer","👮🏻":"police_officer:t2","👮🏼":"police_officer:t3","👮🏽":"police_officer:t4","👮🏾":"police_officer:t5","👮🏿":"police_officer:t6","👮‍♂️":"man_police_officer","👮🏻‍♂️":"man_police_officer:t2","👮🏼‍♂️":"man_police_officer:t3","👮🏽‍♂️":"man_police_officer:t4","👮🏾‍♂️":"man_police_officer:t5","👮🏿‍♂️":"man_police_officer:t6","👮‍♀️":"woman_police_officer","👮🏻‍♀️":"woman_police_officer:t2","👮🏼‍♀️":"woman_police_officer:t3","👮🏽‍♀️":"woman_police_officer:t4","👮🏾‍♀️":"woman_police_officer:t5","👮🏿‍♀️":"woman_police_officer:t6","🕵":"detective","🕵🏻":"detective:t2","🕵🏼":"detective:t3","🕵🏽":"detective:t4","🕵🏾":"detective:t5","🕵🏿":"detective:t6","🕵️‍♂️":"man_detective","🕵🏻️‍♂️":"man_detective:t2","🕵🏼️‍♂️":"man_detective:t3","🕵🏽️‍♂️":"man_detective:t4","🕵🏾️‍♂️":"man_detective:t5","🕵🏿️‍♂️":"man_detective:t6","🕵️‍♀️":"woman_detective","🕵🏻️‍♀️":"woman_detective:t2","🕵🏼️‍♀️":"woman_detective:t3","🕵🏽️‍♀️":"woman_detective:t4","🕵🏾️‍♀️":"woman_detective:t5","🕵🏿️‍♀️":"woman_detective:t6","💂":"guard","💂🏻":"guard:t2","💂🏼":"guard:t3","💂🏽":"guard:t4","💂🏾":"guard:t5","💂🏿":"guard:t6","💂‍♂️":"man_guard","💂🏻‍♂️":"man_guard:t2","💂🏼‍♂️":"man_guard:t3","💂🏽‍♂️":"man_guard:t4","💂🏾‍♂️":"man_guard:t5","💂🏿‍♂️":"man_guard:t6","💂‍♀️":"woman_guard","💂🏻‍♀️":"woman_guard:t2","💂🏼‍♀️":"woman_guard:t3","💂🏽‍♀️":"woman_guard:t4","💂🏾‍♀️":"woman_guard:t5","💂🏿‍♀️":"woman_guard:t6","🥷":"ninja","🥷🏻":"ninja:t2","🥷🏼":"ninja:t3","🥷🏽":"ninja:t4","🥷🏾":"ninja:t5","🥷🏿":"ninja:t6","👷":"construction_worker","👷🏻":"construction_worker:t2","👷🏼":"construction_worker:t3","👷🏽":"construction_worker:t4","👷🏾":"construction_worker:t5","👷🏿":"construction_worker:t6","👷‍♂️":"construction_worker_man","👷🏻‍♂️":"construction_worker_man:t2","👷🏼‍♂️":"construction_worker_man:t3","👷🏽‍♂️":"construction_worker_man:t4","👷🏾‍♂️":"construction_worker_man:t5","👷🏿‍♂️":"construction_worker_man:t6","👷‍♀️":"construction_worker_woman","👷🏻‍♀️":"construction_worker_woman:t2","👷🏼‍♀️":"construction_worker_woman:t3","👷🏽‍♀️":"construction_worker_woman:t4","👷🏾‍♀️":"construction_worker_woman:t5","👷🏿‍♀️":"construction_worker_woman:t6","🫅":"person_with_crown","🫅🏻":"person_with_crown:t2","🫅🏼":"person_with_crown:t3","🫅🏽":"person_with_crown:t4","🫅🏾":"person_with_crown:t5","🫅🏿":"person_with_crown:t6","🤴":"prince","🤴🏻":"prince:t2","🤴🏼":"prince:t3","🤴🏽":"prince:t4","🤴🏾":"prince:t5","🤴🏿":"prince:t6","👸":"princess","👸🏻":"princess:t2","👸🏼":"princess:t3","👸🏽":"princess:t4","👸🏾":"princess:t5","👸🏿":"princess:t6","👳":"person_wearing_turban","👳🏻":"person_wearing_turban:t2","👳🏼":"person_wearing_turban:t3","👳🏽":"person_wearing_turban:t4","👳🏾":"person_wearing_turban:t5","👳🏿":"person_wearing_turban:t6","👳‍♂️":"man_wearing_turban","👳🏻‍♂️":"man_wearing_turban:t2","👳🏼‍♂️":"man_wearing_turban:t3","👳🏽‍♂️":"man_wearing_turban:t4","👳🏾‍♂️":"man_wearing_turban:t5","👳🏿‍♂️":"man_wearing_turban:t6","👳‍♀️":"woman_wearing_turban","👳🏻‍♀️":"woman_wearing_turban:t2","👳🏼‍♀️":"woman_wearing_turban:t3","👳🏽‍♀️":"woman_wearing_turban:t4","👳🏾‍♀️":"woman_wearing_turban:t5","👳🏿‍♀️":"woman_wearing_turban:t6","👲":"person_with_skullcap","👲🏻":"person_with_skullcap:t2","👲🏼":"person_with_skullcap:t3","👲🏽":"person_with_skullcap:t4","👲🏾":"person_with_skullcap:t5","👲🏿":"person_with_skullcap:t6","🧕":"woman_with_headscarf","🧕🏻":"woman_with_headscarf:t2","🧕🏼":"woman_with_headscarf:t3","🧕🏽":"woman_with_headscarf:t4","🧕🏾":"woman_with_headscarf:t5","🧕🏿":"woman_with_headscarf:t6","🤵":"person_in_tuxedo","🤵🏻":"person_in_tuxedo:t2","🤵🏼":"person_in_tuxedo:t3","🤵🏽":"person_in_tuxedo:t4","🤵🏾":"person_in_tuxedo:t5","🤵🏿":"person_in_tuxedo:t6","🤵‍♂️":"man_in_tuxedo","🤵🏻‍♂️":"man_in_tuxedo:t2","🤵🏼‍♂️":"man_in_tuxedo:t3","🤵🏽‍♂️":"man_in_tuxedo:t4","🤵🏾‍♂️":"man_in_tuxedo:t5","🤵🏿‍♂️":"man_in_tuxedo:t6","🤵‍♀️":"woman_in_tuxedo","🤵🏻‍♀️":"woman_in_tuxedo:t2","🤵🏼‍♀️":"woman_in_tuxedo:t3","🤵🏽‍♀️":"woman_in_tuxedo:t4","🤵🏾‍♀️":"woman_in_tuxedo:t5","🤵🏿‍♀️":"woman_in_tuxedo:t6","👰":"person_with_veil","👰🏻":"person_with_veil:t2","👰🏼":"person_with_veil:t3","👰🏽":"person_with_veil:t4","👰🏾":"person_with_veil:t5","👰🏿":"person_with_veil:t6","👰‍♂️":"man_with_veil","👰🏻‍♂️":"man_with_veil:t2","👰🏼‍♂️":"man_with_veil:t3","👰🏽‍♂️":"man_with_veil:t4","👰🏾‍♂️":"man_with_veil:t5","👰🏿‍♂️":"man_with_veil:t6","👰‍♀️":"woman_with_veil","👰🏻‍♀️":"woman_with_veil:t2","👰🏼‍♀️":"woman_with_veil:t3","👰🏽‍♀️":"woman_with_veil:t4","👰🏾‍♀️":"woman_with_veil:t5","👰🏿‍♀️":"woman_with_veil:t6","🤰":"pregnant_woman","🤰🏻":"pregnant_woman:t2","🤰🏼":"pregnant_woman:t3","🤰🏽":"pregnant_woman:t4","🤰🏾":"pregnant_woman:t5","🤰🏿":"pregnant_woman:t6","🫃":"pregnant_man","🫃🏻":"pregnant_man:t2","🫃🏼":"pregnant_man:t3","🫃🏽":"pregnant_man:t4","🫃🏾":"pregnant_man:t5","🫃🏿":"pregnant_man:t6","🫄":"pregnant_person","🫄🏻":"pregnant_person:t2","🫄🏼":"pregnant_person:t3","🫄🏽":"pregnant_person:t4","🫄🏾":"pregnant_person:t5","🫄🏿":"pregnant_person:t6","🤱":"breast_feeding","🤱🏻":"breast_feeding:t2","🤱🏼":"breast_feeding:t3","🤱🏽":"breast_feeding:t4","🤱🏾":"breast_feeding:t5","🤱🏿":"breast_feeding:t6","👩‍🍼":"woman_feeding_baby","👩🏻‍🍼":"woman_feeding_baby:t2","👩🏼‍🍼":"woman_feeding_baby:t3","👩🏽‍🍼":"woman_feeding_baby:t4","👩🏾‍🍼":"woman_feeding_baby:t5","👩🏿‍🍼":"woman_feeding_baby:t6","👨‍🍼":"man_feeding_baby","👨🏻‍🍼":"man_feeding_baby:t2","👨🏼‍🍼":"man_feeding_baby:t3","👨🏽‍🍼":"man_feeding_baby:t4","👨🏾‍🍼":"man_feeding_baby:t5","👨🏿‍🍼":"man_feeding_baby:t6","🧑‍🍼":"person_feeding_baby","🧑🏻‍🍼":"person_feeding_baby:t2","🧑🏼‍🍼":"person_feeding_baby:t3","🧑🏽‍🍼":"person_feeding_baby:t4","🧑🏾‍🍼":"person_feeding_baby:t5","🧑🏿‍🍼":"person_feeding_baby:t6","👼":"baby_angel","👼🏻":"baby_angel:t2","👼🏼":"baby_angel:t3","👼🏽":"baby_angel:t4","👼🏾":"baby_angel:t5","👼🏿":"baby_angel:t6","🎅":"santa_claus","🎅🏻":"santa_claus:t2","🎅🏼":"santa_claus:t3","🎅🏽":"santa_claus:t4","🎅🏾":"santa_claus:t5","🎅🏿":"santa_claus:t6","🤶":"mrs_claus","🤶🏻":"mrs_claus:t2","🤶🏼":"mrs_claus:t3","🤶🏽":"mrs_claus:t4","🤶🏾":"mrs_claus:t5","🤶🏿":"mrs_claus:t6","🧑‍🎄":"mx_claus","🧑🏻‍🎄":"mx_claus:t2","🧑🏼‍🎄":"mx_claus:t3","🧑🏽‍🎄":"mx_claus:t4","🧑🏾‍🎄":"mx_claus:t5","🧑🏿‍🎄":"mx_claus:t6","🦸":"superhero","🦸🏻":"superhero:t2","🦸🏼":"superhero:t3","🦸🏽":"superhero:t4","🦸🏾":"superhero:t5","🦸🏿":"superhero:t6","🦸‍♂️":"man_superhero","🦸🏻‍♂️":"man_superhero:t2","🦸🏼‍♂️":"man_superhero:t3","🦸🏽‍♂️":"man_superhero:t4","🦸🏾‍♂️":"man_superhero:t5","🦸🏿‍♂️":"man_superhero:t6","🦸‍♀️":"woman_superhero","🦸🏻‍♀️":"woman_superhero:t2","🦸🏼‍♀️":"woman_superhero:t3","🦸🏽‍♀️":"woman_superhero:t4","🦸🏾‍♀️":"woman_superhero:t5","🦸🏿‍♀️":"woman_superhero:t6","🦹":"supervillain","🦹🏻":"supervillain:t2","🦹🏼":"supervillain:t3","🦹🏽":"supervillain:t4","🦹🏾":"supervillain:t5","🦹🏿":"supervillain:t6","🦹‍♂️":"man_supervillain","🦹🏻‍♂️":"man_supervillain:t2","🦹🏼‍♂️":"man_supervillain:t3","🦹🏽‍♂️":"man_supervillain:t4","🦹🏾‍♂️":"man_supervillain:t5","🦹🏿‍♂️":"man_supervillain:t6","🦹‍♀️":"woman_supervillain","🦹🏻‍♀️":"woman_supervillain:t2","🦹🏼‍♀️":"woman_supervillain:t3","🦹🏽‍♀️":"woman_supervillain:t4","🦹🏾‍♀️":"woman_supervillain:t5","🦹🏿‍♀️":"woman_supervillain:t6","🧙":"mage","🧙🏻":"mage:t2","🧙🏼":"mage:t3","🧙🏽":"mage:t4","🧙🏾":"mage:t5","🧙🏿":"mage:t6","🧙‍♂️":"man_mage","🧙🏻‍♂️":"man_mage:t2","🧙🏼‍♂️":"man_mage:t3","🧙🏽‍♂️":"man_mage:t4","🧙🏾‍♂️":"man_mage:t5","🧙🏿‍♂️":"man_mage:t6","🧙‍♀️":"woman_mage","🧙🏻‍♀️":"woman_mage:t2","🧙🏼‍♀️":"woman_mage:t3","🧙🏽‍♀️":"woman_mage:t4","🧙🏾‍♀️":"woman_mage:t5","🧙🏿‍♀️":"woman_mage:t6","🧚":"fairy","🧚🏻":"fairy:t2","🧚🏼":"fairy:t3","🧚🏽":"fairy:t4","🧚🏾":"fairy:t5","🧚🏿":"fairy:t6","🧚‍♂️":"man_fairy","🧚🏻‍♂️":"man_fairy:t2","🧚🏼‍♂️":"man_fairy:t3","🧚🏽‍♂️":"man_fairy:t4","🧚🏾‍♂️":"man_fairy:t5","🧚🏿‍♂️":"man_fairy:t6","🧚‍♀️":"woman_fairy","🧚🏻‍♀️":"woman_fairy:t2","🧚🏼‍♀️":"woman_fairy:t3","🧚🏽‍♀️":"woman_fairy:t4","🧚🏾‍♀️":"woman_fairy:t5","🧚🏿‍♀️":"woman_fairy:t6","🧛":"vampire","🧛🏻":"vampire:t2","🧛🏼":"vampire:t3","🧛🏽":"vampire:t4","🧛🏾":"vampire:t5","🧛🏿":"vampire:t6","🧛‍♂️":"man_vampire","🧛🏻‍♂️":"man_vampire:t2","🧛🏼‍♂️":"man_vampire:t3","🧛🏽‍♂️":"man_vampire:t4","🧛🏾‍♂️":"man_vampire:t5","🧛🏿‍♂️":"man_vampire:t6","🧛‍♀️":"woman_vampire","🧛🏻‍♀️":"woman_vampire:t2","🧛🏼‍♀️":"woman_vampire:t3","🧛🏽‍♀️":"woman_vampire:t4","🧛🏾‍♀️":"woman_vampire:t5","🧛🏿‍♀️":"woman_vampire:t6","🧜":"merperson","🧜🏻":"merperson:t2","🧜🏼":"merperson:t3","🧜🏽":"merperson:t4","🧜🏾":"merperson:t5","🧜🏿":"merperson:t6","🧜‍♂️":"merman","🧜🏻‍♂️":"merman:t2","🧜🏼‍♂️":"merman:t3","🧜🏽‍♂️":"merman:t4","🧜🏾‍♂️":"merman:t5","🧜🏿‍♂️":"merman:t6","🧜‍♀️":"mermaid","🧜🏻‍♀️":"mermaid:t2","🧜🏼‍♀️":"mermaid:t3","🧜🏽‍♀️":"mermaid:t4","🧜🏾‍♀️":"mermaid:t5","🧜🏿‍♀️":"mermaid:t6","🧝":"elf","🧝🏻":"elf:t2","🧝🏼":"elf:t3","🧝🏽":"elf:t4","🧝🏾":"elf:t5","🧝🏿":"elf:t6","🧝‍♂️":"man_elf","🧝🏻‍♂️":"man_elf:t2","🧝🏼‍♂️":"man_elf:t3","🧝🏽‍♂️":"man_elf:t4","🧝🏾‍♂️":"man_elf:t5","🧝🏿‍♂️":"man_elf:t6","🧝‍♀️":"woman_elf","🧝🏻‍♀️":"woman_elf:t2","🧝🏼‍♀️":"woman_elf:t3","🧝🏽‍♀️":"woman_elf:t4","🧝🏾‍♀️":"woman_elf:t5","🧝🏿‍♀️":"woman_elf:t6","🧞":"genie","🧞‍♂️":"man_genie","🧞‍♀️":"woman_genie","🧟":"zombie","🧟‍♂️":"man_zombie","🧟‍♀️":"woman_zombie","🧌":"troll","💆":"person_getting_massage","💆🏻":"person_getting_massage:t2","💆🏼":"person_getting_massage:t3","💆🏽":"person_getting_massage:t4","💆🏾":"person_getting_massage:t5","💆🏿":"person_getting_massage:t6","💆‍♂️":"man_getting_massage","💆🏻‍♂️":"man_getting_massage:t2","💆🏼‍♂️":"man_getting_massage:t3","💆🏽‍♂️":"man_getting_massage:t4","💆🏾‍♂️":"man_getting_massage:t5","💆🏿‍♂️":"man_getting_massage:t6","💆‍♀️":"woman_getting_massage","💆🏻‍♀️":"woman_getting_massage:t2","💆🏼‍♀️":"woman_getting_massage:t3","💆🏽‍♀️":"woman_getting_massage:t4","💆🏾‍♀️":"woman_getting_massage:t5","💆🏿‍♀️":"woman_getting_massage:t6","💇":"person_getting_haircut","💇🏻":"person_getting_haircut:t2","💇🏼":"person_getting_haircut:t3","💇🏽":"person_getting_haircut:t4","💇🏾":"person_getting_haircut:t5","💇🏿":"person_getting_haircut:t6","💇‍♂️":"man_getting_haircut","💇🏻‍♂️":"man_getting_haircut:t2","💇🏼‍♂️":"man_getting_haircut:t3","💇🏽‍♂️":"man_getting_haircut:t4","💇🏾‍♂️":"man_getting_haircut:t5","💇🏿‍♂️":"man_getting_haircut:t6","💇‍♀️":"woman_getting_haircut","💇🏻‍♀️":"woman_getting_haircut:t2","💇🏼‍♀️":"woman_getting_haircut:t3","💇🏽‍♀️":"woman_getting_haircut:t4","💇🏾‍♀️":"woman_getting_haircut:t5","💇🏿‍♀️":"woman_getting_haircut:t6","🚶":"person_walking","🚶🏻":"person_walking:t2","🚶🏼":"person_walking:t3","🚶🏽":"person_walking:t4","🚶🏾":"person_walking:t5","🚶🏿":"person_walking:t6","🚶‍♂️":"man_walking","🚶🏻‍♂️":"man_walking:t2","🚶🏼‍♂️":"man_walking:t3","🚶🏽‍♂️":"man_walking:t4","🚶🏾‍♂️":"man_walking:t5","🚶🏿‍♂️":"man_walking:t6","🚶‍♀️":"woman_walking","🚶🏻‍♀️":"woman_walking:t2","🚶🏼‍♀️":"woman_walking:t3","🚶🏽‍♀️":"woman_walking:t4","🚶🏾‍♀️":"woman_walking:t5","🚶🏿‍♀️":"woman_walking:t6","🧍":"person_standing","🧍🏻":"person_standing:t2","🧍🏼":"person_standing:t3","🧍🏽":"person_standing:t4","🧍🏾":"person_standing:t5","🧍🏿":"person_standing:t6","🧍‍♂️":"man_standing","🧍🏻‍♂️":"man_standing:t2","🧍🏼‍♂️":"man_standing:t3","🧍🏽‍♂️":"man_standing:t4","🧍🏾‍♂️":"man_standing:t5","🧍🏿‍♂️":"man_standing:t6","🧍‍♀️":"woman_standing","🧍🏻‍♀️":"woman_standing:t2","🧍🏼‍♀️":"woman_standing:t3","🧍🏽‍♀️":"woman_standing:t4","🧍🏾‍♀️":"woman_standing:t5","🧍🏿‍♀️":"woman_standing:t6","🧎":"person_kneeling","🧎🏻":"person_kneeling:t2","🧎🏼":"person_kneeling:t3","🧎🏽":"person_kneeling:t4","🧎🏾":"person_kneeling:t5","🧎🏿":"person_kneeling:t6","🧎‍♂️":"man_kneeling","🧎🏻‍♂️":"man_kneeling:t2","🧎🏼‍♂️":"man_kneeling:t3","🧎🏽‍♂️":"man_kneeling:t4","🧎🏾‍♂️":"man_kneeling:t5","🧎🏿‍♂️":"man_kneeling:t6","🧎‍♀️":"woman_kneeling","🧎🏻‍♀️":"woman_kneeling:t2","🧎🏼‍♀️":"woman_kneeling:t3","🧎🏽‍♀️":"woman_kneeling:t4","🧎🏾‍♀️":"woman_kneeling:t5","🧎🏿‍♀️":"woman_kneeling:t6","🧑‍🦯":"person_with_white_cane","🧑🏻‍🦯":"person_with_white_cane:t2","🧑🏼‍🦯":"person_with_white_cane:t3","🧑🏽‍🦯":"person_with_white_cane:t4","🧑🏾‍🦯":"person_with_white_cane:t5","🧑🏿‍🦯":"person_with_white_cane:t6","👨‍🦯":"man_with_white_cane","👨🏻‍🦯":"man_with_white_cane:t2","👨🏼‍🦯":"man_with_white_cane:t3","👨🏽‍🦯":"man_with_white_cane:t4","👨🏾‍🦯":"man_with_white_cane:t5","👨🏿‍🦯":"man_with_white_cane:t6","👩‍🦯":"woman_with_white_cane","👩🏻‍🦯":"woman_with_white_cane:t2","👩🏼‍🦯":"woman_with_white_cane:t3","👩🏽‍🦯":"woman_with_white_cane:t4","👩🏾‍🦯":"woman_with_white_cane:t5","👩🏿‍🦯":"woman_with_white_cane:t6","🧑‍🦼":"person_in_motorized_wheelchair","🧑🏻‍🦼":"person_in_motorized_wheelchair:t2","🧑🏼‍🦼":"person_in_motorized_wheelchair:t3","🧑🏽‍🦼":"person_in_motorized_wheelchair:t4","🧑🏾‍🦼":"person_in_motorized_wheelchair:t5","🧑🏿‍🦼":"person_in_motorized_wheelchair:t6","👨‍🦼":"man_in_motorized_wheelchair","👨🏻‍🦼":"man_in_motorized_wheelchair:t2","👨🏼‍🦼":"man_in_motorized_wheelchair:t3","👨🏽‍🦼":"man_in_motorized_wheelchair:t4","👨🏾‍🦼":"man_in_motorized_wheelchair:t5","👨🏿‍🦼":"man_in_motorized_wheelchair:t6","👩‍🦼":"woman_in_motorized_wheelchair","👩🏻‍🦼":"woman_in_motorized_wheelchair:t2","👩🏼‍🦼":"woman_in_motorized_wheelchair:t3","👩🏽‍🦼":"woman_in_motorized_wheelchair:t4","👩🏾‍🦼":"woman_in_motorized_wheelchair:t5","👩🏿‍🦼":"woman_in_motorized_wheelchair:t6","🧑‍🦽":"person_in_manual_wheelchair","🧑🏻‍🦽":"person_in_manual_wheelchair:t2","🧑🏼‍🦽":"person_in_manual_wheelchair:t3","🧑🏽‍🦽":"person_in_manual_wheelchair:t4","🧑🏾‍🦽":"person_in_manual_wheelchair:t5","🧑🏿‍🦽":"person_in_manual_wheelchair:t6","👨‍🦽":"man_in_manual_wheelchair","👨🏻‍🦽":"man_in_manual_wheelchair:t2","👨🏼‍🦽":"man_in_manual_wheelchair:t3","👨🏽‍🦽":"man_in_manual_wheelchair:t4","👨🏾‍🦽":"man_in_manual_wheelchair:t5","👨🏿‍🦽":"man_in_manual_wheelchair:t6","👩‍🦽":"woman_in_manual_wheelchair","👩🏻‍🦽":"woman_in_manual_wheelchair:t2","👩🏼‍🦽":"woman_in_manual_wheelchair:t3","👩🏽‍🦽":"woman_in_manual_wheelchair:t4","👩🏾‍🦽":"woman_in_manual_wheelchair:t5","👩🏿‍🦽":"woman_in_manual_wheelchair:t6","🏃":"person_running","🏃🏻":"person_running:t2","🏃🏼":"person_running:t3","🏃🏽":"person_running:t4","🏃🏾":"person_running:t5","🏃🏿":"person_running:t6","🏃‍♂️":"man_running","🏃🏻‍♂️":"man_running:t2","🏃🏼‍♂️":"man_running:t3","🏃🏽‍♂️":"man_running:t4","🏃🏾‍♂️":"man_running:t5","🏃🏿‍♂️":"man_running:t6","🏃‍♀️":"woman_running","🏃🏻‍♀️":"woman_running:t2","🏃🏼‍♀️":"woman_running:t3","🏃🏽‍♀️":"woman_running:t4","🏃🏾‍♀️":"woman_running:t5","🏃🏿‍♀️":"woman_running:t6","💃":"woman_dancing","💃🏻":"woman_dancing:t2","💃🏼":"woman_dancing:t3","💃🏽":"woman_dancing:t4","💃🏾":"woman_dancing:t5","💃🏿":"woman_dancing:t6","🕺":"man_dancing","🕺🏻":"man_dancing:t2","🕺🏼":"man_dancing:t3","🕺🏽":"man_dancing:t4","🕺🏾":"man_dancing:t5","🕺🏿":"man_dancing:t6","🕴":"person_in_suit_levitating","🕴🏻":"person_in_suit_levitating:t2","🕴🏼":"person_in_suit_levitating:t3","🕴🏽":"person_in_suit_levitating:t4","🕴🏾":"person_in_suit_levitating:t5","🕴🏿":"person_in_suit_levitating:t6","👯":"people_with_bunny_ears","👯‍♂️":"men_with_bunny_ears","👯‍♀️":"women_with_bunny_ears","🧖":"person_in_steamy_room","🧖🏻":"person_in_steamy_room:t2","🧖🏼":"person_in_steamy_room:t3","🧖🏽":"person_in_steamy_room:t4","🧖🏾":"person_in_steamy_room:t5","🧖🏿":"person_in_steamy_room:t6","🧖‍♂️":"man_in_steamy_room","🧖🏻‍♂️":"man_in_steamy_room:t2","🧖🏼‍♂️":"man_in_steamy_room:t3","🧖🏽‍♂️":"man_in_steamy_room:t4","🧖🏾‍♂️":"man_in_steamy_room:t5","🧖🏿‍♂️":"man_in_steamy_room:t6","🧖‍♀️":"woman_in_steamy_room","🧖🏻‍♀️":"woman_in_steamy_room:t2","🧖🏼‍♀️":"woman_in_steamy_room:t3","🧖🏽‍♀️":"woman_in_steamy_room:t4","🧖🏾‍♀️":"woman_in_steamy_room:t5","🧖🏿‍♀️":"woman_in_steamy_room:t6","🧗":"person_climbing","🧗🏻":"person_climbing:t2","🧗🏼":"person_climbing:t3","🧗🏽":"person_climbing:t4","🧗🏾":"person_climbing:t5","🧗🏿":"person_climbing:t6","🧗‍♂️":"man_climbing","🧗🏻‍♂️":"man_climbing:t2","🧗🏼‍♂️":"man_climbing:t3","🧗🏽‍♂️":"man_climbing:t4","🧗🏾‍♂️":"man_climbing:t5","🧗🏿‍♂️":"man_climbing:t6","🧗‍♀️":"woman_climbing","🧗🏻‍♀️":"woman_climbing:t2","🧗🏼‍♀️":"woman_climbing:t3","🧗🏽‍♀️":"woman_climbing:t4","🧗🏾‍♀️":"woman_climbing:t5","🧗🏿‍♀️":"woman_climbing:t6","🤺":"person_fencing","🏇":"horse_racing","🏇🏻":"horse_racing:t2","🏇🏼":"horse_racing:t3","🏇🏽":"horse_racing:t4","🏇🏾":"horse_racing:t5","🏇🏿":"horse_racing:t6","⛷":"skier","🏂":"snowboarder","🏂🏻":"snowboarder:t2","🏂🏼":"snowboarder:t3","🏂🏽":"snowboarder:t4","🏂🏾":"snowboarder:t5","🏂🏿":"snowboarder:t6","🏌":"person_golfing","🏌🏻":"person_golfing:t2","🏌🏼":"person_golfing:t3","🏌🏽":"person_golfing:t4","🏌🏾":"person_golfing:t5","🏌🏿":"person_golfing:t6","🏌️‍♂️":"man_golfing","🏌🏻️‍♂️":"man_golfing:t2","🏌🏼️‍♂️":"man_golfing:t3","🏌🏽️‍♂️":"man_golfing:t4","🏌🏾️‍♂️":"man_golfing:t5","🏌🏿️‍♂️":"man_golfing:t6","🏌️‍♀️":"woman_golfing","🏌🏻️‍♀️":"woman_golfing:t2","🏌🏼️‍♀️":"woman_golfing:t3","🏌🏽️‍♀️":"woman_golfing:t4","🏌🏾️‍♀️":"woman_golfing:t5","🏌🏿️‍♀️":"woman_golfing:t6","🏄":"person_surfing","🏄🏻":"person_surfing:t2","🏄🏼":"person_surfing:t3","🏄🏽":"person_surfing:t4","🏄🏾":"person_surfing:t5","🏄🏿":"person_surfing:t6","🏄‍♂️":"man_surfing","🏄🏻‍♂️":"man_surfing:t2","🏄🏼‍♂️":"man_surfing:t3","🏄🏽‍♂️":"man_surfing:t4","🏄🏾‍♂️":"man_surfing:t5","🏄🏿‍♂️":"man_surfing:t6","🏄‍♀️":"woman_surfing","🏄🏻‍♀️":"woman_surfing:t2","🏄🏼‍♀️":"woman_surfing:t3","🏄🏽‍♀️":"woman_surfing:t4","🏄🏾‍♀️":"woman_surfing:t5","🏄🏿‍♀️":"woman_surfing:t6","🚣":"person_rowing_boat","🚣🏻":"person_rowing_boat:t2","🚣🏼":"person_rowing_boat:t3","🚣🏽":"person_rowing_boat:t4","🚣🏾":"person_rowing_boat:t5","🚣🏿":"person_rowing_boat:t6","🚣‍♂️":"man_rowing_boat","🚣🏻‍♂️":"man_rowing_boat:t2","🚣🏼‍♂️":"man_rowing_boat:t3","🚣🏽‍♂️":"man_rowing_boat:t4","🚣🏾‍♂️":"man_rowing_boat:t5","🚣🏿‍♂️":"man_rowing_boat:t6","🚣‍♀️":"woman_rowing_boat","🚣🏻‍♀️":"woman_rowing_boat:t2","🚣🏼‍♀️":"woman_rowing_boat:t3","🚣🏽‍♀️":"woman_rowing_boat:t4","🚣🏾‍♀️":"woman_rowing_boat:t5","🚣🏿‍♀️":"woman_rowing_boat:t6","🏊":"person_swimming","🏊🏻":"person_swimming:t2","🏊🏼":"person_swimming:t3","🏊🏽":"person_swimming:t4","🏊🏾":"person_swimming:t5","🏊🏿":"person_swimming:t6","🏊‍♂️":"man_swimming","🏊🏻‍♂️":"man_swimming:t2","🏊🏼‍♂️":"man_swimming:t3","🏊🏽‍♂️":"man_swimming:t4","🏊🏾‍♂️":"man_swimming:t5","🏊🏿‍♂️":"man_swimming:t6","🏊‍♀️":"woman_swimming","🏊🏻‍♀️":"woman_swimming:t2","🏊🏼‍♀️":"woman_swimming:t3","🏊🏽‍♀️":"woman_swimming:t4","🏊🏾‍♀️":"woman_swimming:t5","🏊🏿‍♀️":"woman_swimming:t6","⛹":"person_bouncing_ball","⛹🏻":"person_bouncing_ball:t2","⛹🏼":"person_bouncing_ball:t3","⛹🏽":"person_bouncing_ball:t4","⛹🏾":"person_bouncing_ball:t5","⛹🏿":"person_bouncing_ball:t6","⛹️‍♂️":"man_bouncing_ball","⛹🏻️‍♂️":"man_bouncing_ball:t2","⛹🏼️‍♂️":"man_bouncing_ball:t3","⛹🏽️‍♂️":"man_bouncing_ball:t4","⛹🏾️‍♂️":"man_bouncing_ball:t5","⛹🏿️‍♂️":"man_bouncing_ball:t6","⛹️‍♀️":"woman_bouncing_ball","⛹🏻️‍♀️":"woman_bouncing_ball:t2","⛹🏼️‍♀️":"woman_bouncing_ball:t3","⛹🏽️‍♀️":"woman_bouncing_ball:t4","⛹🏾️‍♀️":"woman_bouncing_ball:t5","⛹🏿️‍♀️":"woman_bouncing_ball:t6","🏋":"person_lifting_weights","🏋🏻":"person_lifting_weights:t2","🏋🏼":"person_lifting_weights:t3","🏋🏽":"person_lifting_weights:t4","🏋🏾":"person_lifting_weights:t5","🏋🏿":"person_lifting_weights:t6","🏋️‍♂️":"man_lifting_weights","🏋🏻️‍♂️":"man_lifting_weights:t2","🏋🏼️‍♂️":"man_lifting_weights:t3","🏋🏽️‍♂️":"man_lifting_weights:t4","🏋🏾️‍♂️":"man_lifting_weights:t5","🏋🏿️‍♂️":"man_lifting_weights:t6","🏋️‍♀️":"woman_lifting_weights","🏋🏻️‍♀️":"woman_lifting_weights:t2","🏋🏼️‍♀️":"woman_lifting_weights:t3","🏋🏽️‍♀️":"woman_lifting_weights:t4","🏋🏾️‍♀️":"woman_lifting_weights:t5","🏋🏿️‍♀️":"woman_lifting_weights:t6","🚴":"person_biking","🚴🏻":"person_biking:t2","🚴🏼":"person_biking:t3","🚴🏽":"person_biking:t4","🚴🏾":"person_biking:t5","🚴🏿":"person_biking:t6","🚴‍♂️":"man_biking","🚴🏻‍♂️":"man_biking:t2","🚴🏼‍♂️":"man_biking:t3","🚴🏽‍♂️":"man_biking:t4","🚴🏾‍♂️":"man_biking:t5","🚴🏿‍♂️":"man_biking:t6","🚴‍♀️":"woman_biking","🚴🏻‍♀️":"woman_biking:t2","🚴🏼‍♀️":"woman_biking:t3","🚴🏽‍♀️":"woman_biking:t4","🚴🏾‍♀️":"woman_biking:t5","🚴🏿‍♀️":"woman_biking:t6","🚵":"person_mountain_biking","🚵🏻":"person_mountain_biking:t2","🚵🏼":"person_mountain_biking:t3","🚵🏽":"person_mountain_biking:t4","🚵🏾":"person_mountain_biking:t5","🚵🏿":"person_mountain_biking:t6","🚵‍♂️":"man_mountain_biking","🚵🏻‍♂️":"man_mountain_biking:t2","🚵🏼‍♂️":"man_mountain_biking:t3","🚵🏽‍♂️":"man_mountain_biking:t4","🚵🏾‍♂️":"man_mountain_biking:t5","🚵🏿‍♂️":"man_mountain_biking:t6","🚵‍♀️":"woman_mountain_biking","🚵🏻‍♀️":"woman_mountain_biking:t2","🚵🏼‍♀️":"woman_mountain_biking:t3","🚵🏽‍♀️":"woman_mountain_biking:t4","🚵🏾‍♀️":"woman_mountain_biking:t5","🚵🏿‍♀️":"woman_mountain_biking:t6","🤸":"person_cartwheeling","🤸🏻":"person_cartwheeling:t2","🤸🏼":"person_cartwheeling:t3","🤸🏽":"person_cartwheeling:t4","🤸🏾":"person_cartwheeling:t5","🤸🏿":"person_cartwheeling:t6","🤸‍♂️":"man_cartwheeling","🤸🏻‍♂️":"man_cartwheeling:t2","🤸🏼‍♂️":"man_cartwheeling:t3","🤸🏽‍♂️":"man_cartwheeling:t4","🤸🏾‍♂️":"man_cartwheeling:t5","🤸🏿‍♂️":"man_cartwheeling:t6","🤸‍♀️":"woman_cartwheeling","🤸🏻‍♀️":"woman_cartwheeling:t2","🤸🏼‍♀️":"woman_cartwheeling:t3","🤸🏽‍♀️":"woman_cartwheeling:t4","🤸🏾‍♀️":"woman_cartwheeling:t5","🤸🏿‍♀️":"woman_cartwheeling:t6","🤼":"people_wrestling","🤼‍♂️":"men_wrestling","🤼‍♀️":"women_wrestling","🤽":"person_playing_water_polo","🤽🏻":"person_playing_water_polo:t2","🤽🏼":"person_playing_water_polo:t3","🤽🏽":"person_playing_water_polo:t4","🤽🏾":"person_playing_water_polo:t5","🤽🏿":"person_playing_water_polo:t6","🤽‍♂️":"man_playing_water_polo","🤽🏻‍♂️":"man_playing_water_polo:t2","🤽🏼‍♂️":"man_playing_water_polo:t3","🤽🏽‍♂️":"man_playing_water_polo:t4","🤽🏾‍♂️":"man_playing_water_polo:t5","🤽🏿‍♂️":"man_playing_water_polo:t6","🤽‍♀️":"woman_playing_water_polo","🤽🏻‍♀️":"woman_playing_water_polo:t2","🤽🏼‍♀️":"woman_playing_water_polo:t3","🤽🏽‍♀️":"woman_playing_water_polo:t4","🤽🏾‍♀️":"woman_playing_water_polo:t5","🤽🏿‍♀️":"woman_playing_water_polo:t6","🤾":"person_playing_handball","🤾🏻":"person_playing_handball:t2","🤾🏼":"person_playing_handball:t3","🤾🏽":"person_playing_handball:t4","🤾🏾":"person_playing_handball:t5","🤾🏿":"person_playing_handball:t6","🤾‍♂️":"man_playing_handball","🤾🏻‍♂️":"man_playing_handball:t2","🤾🏼‍♂️":"man_playing_handball:t3","🤾🏽‍♂️":"man_playing_handball:t4","🤾🏾‍♂️":"man_playing_handball:t5","🤾🏿‍♂️":"man_playing_handball:t6","🤾‍♀️":"woman_playing_handball","🤾🏻‍♀️":"woman_playing_handball:t2","🤾🏼‍♀️":"woman_playing_handball:t3","🤾🏽‍♀️":"woman_playing_handball:t4","🤾🏾‍♀️":"woman_playing_handball:t5","🤾🏿‍♀️":"woman_playing_handball:t6","🤹":"person_juggling","🤹🏻":"person_juggling:t2","🤹🏼":"person_juggling:t3","🤹🏽":"person_juggling:t4","🤹🏾":"person_juggling:t5","🤹🏿":"person_juggling:t6","🤹‍♂️":"man_juggling","🤹🏻‍♂️":"man_juggling:t2","🤹🏼‍♂️":"man_juggling:t3","🤹🏽‍♂️":"man_juggling:t4","🤹🏾‍♂️":"man_juggling:t5","🤹🏿‍♂️":"man_juggling:t6","🤹‍♀️":"woman_juggling","🤹🏻‍♀️":"woman_juggling:t2","🤹🏼‍♀️":"woman_juggling:t3","🤹🏽‍♀️":"woman_juggling:t4","🤹🏾‍♀️":"woman_juggling:t5","🤹🏿‍♀️":"woman_juggling:t6","🧘":"person_in_lotus_position","🧘🏻":"person_in_lotus_position:t2","🧘🏼":"person_in_lotus_position:t3","🧘🏽":"person_in_lotus_position:t4","🧘🏾":"person_in_lotus_position:t5","🧘🏿":"person_in_lotus_position:t6","🧘‍♂️":"man_in_lotus_position","🧘🏻‍♂️":"man_in_lotus_position:t2","🧘🏼‍♂️":"man_in_lotus_position:t3","🧘🏽‍♂️":"man_in_lotus_position:t4","🧘🏾‍♂️":"man_in_lotus_position:t5","🧘🏿‍♂️":"man_in_lotus_position:t6","🧘‍♀️":"woman_in_lotus_position","🧘🏻‍♀️":"woman_in_lotus_position:t2","🧘🏼‍♀️":"woman_in_lotus_position:t3","🧘🏽‍♀️":"woman_in_lotus_position:t4","🧘🏾‍♀️":"woman_in_lotus_position:t5","🧘🏿‍♀️":"woman_in_lotus_position:t6","🛀":"person_taking_bath","🛀🏻":"person_taking_bath:t2","🛀🏼":"person_taking_bath:t3","🛀🏽":"person_taking_bath:t4","🛀🏾":"person_taking_bath:t5","🛀🏿":"person_taking_bath:t6","🛌":"person_in_bed","🛌🏻":"person_in_bed:t2","🛌🏼":"person_in_bed:t3","🛌🏽":"person_in_bed:t4","🛌🏾":"person_in_bed:t5","🛌🏿":"person_in_bed:t6","🧑‍🤝‍🧑":"people_holding_hands","👭":"women_holding_hands","👭🏻":"women_holding_hands:t2","👭🏼":"women_holding_hands:t3","👭🏽":"women_holding_hands:t4","👭🏾":"women_holding_hands:t5","👭🏿":"women_holding_hands:t6","👫":"woman_and_man_holding_hands","👫🏻":"woman_and_man_holding_hands:t2","👫🏼":"woman_and_man_holding_hands:t3","👫🏽":"woman_and_man_holding_hands:t4","👫🏾":"woman_and_man_holding_hands:t5","👫🏿":"woman_and_man_holding_hands:t6","👬":"men_holding_hands","👬🏻":"men_holding_hands:t2","👬🏼":"men_holding_hands:t3","👬🏽":"men_holding_hands:t4","👬🏾":"men_holding_hands:t5","👬🏿":"men_holding_hands:t6","💏":"kiss","💏🏻":"kiss:t2","💏🏼":"kiss:t3","💏🏽":"kiss:t4","💏🏾":"kiss:t5","💏🏿":"kiss:t6","👩‍❤️‍💋‍👨":"kiss_woman_man","👩🏻‍❤️‍💋‍👨":"kiss_woman_man:t2","👩🏼‍❤️‍💋‍👨":"kiss_woman_man:t3","👩🏽‍❤️‍💋‍👨":"kiss_woman_man:t4","👩🏾‍❤️‍💋‍👨":"kiss_woman_man:t5","👩🏿‍❤️‍💋‍👨":"kiss_woman_man:t6","👨‍❤️‍💋‍👨":"kiss_man_man","👨🏻‍❤️‍💋‍👨":"kiss_man_man:t2","👨🏼‍❤️‍💋‍👨":"kiss_man_man:t3","👨🏽‍❤️‍💋‍👨":"kiss_man_man:t4","👨🏾‍❤️‍💋‍👨":"kiss_man_man:t5","👨🏿‍❤️‍💋‍👨":"kiss_man_man:t6","👩‍❤️‍💋‍👩":"kiss_woman_woman","👩🏻‍❤️‍💋‍👩":"kiss_woman_woman:t2","👩🏼‍❤️‍💋‍👩":"kiss_woman_woman:t3","👩🏽‍❤️‍💋‍👩":"kiss_woman_woman:t4","👩🏾‍❤️‍💋‍👩":"kiss_woman_woman:t5","👩🏿‍❤️‍💋‍👩":"kiss_woman_woman:t6","💑":"couple_with_heart","💑🏻":"couple_with_heart:t2","💑🏼":"couple_with_heart:t3","💑🏽":"couple_with_heart:t4","💑🏾":"couple_with_heart:t5","💑🏿":"couple_with_heart:t6","👩‍❤️‍👨":"couple_with_heart","👩🏻‍❤️‍👨":"couple_with_heart:t2","👩🏼‍❤️‍👨":"couple_with_heart:t3","👩🏽‍❤️‍👨":"couple_with_heart:t4","👩🏾‍❤️‍👨":"couple_with_heart:t5","👩🏿‍❤️‍👨":"couple_with_heart:t6","👨‍❤️‍👨":"couple_with_heart_man_man","👨🏻‍❤️‍👨":"couple_with_heart_man_man:t2","👨🏼‍❤️‍👨":"couple_with_heart_man_man:t3","👨🏽‍❤️‍👨":"couple_with_heart_man_man:t4","👨🏾‍❤️‍👨":"couple_with_heart_man_man:t5","👨🏿‍❤️‍👨":"couple_with_heart_man_man:t6","👩‍❤️‍👩":"couple_with_heart_woman_woman","👩🏻‍❤️‍👩":"couple_with_heart_woman_woman:t2","👩🏼‍❤️‍👩":"couple_with_heart_woman_woman:t3","👩🏽‍❤️‍👩":"couple_with_heart_woman_woman:t4","👩🏾‍❤️‍👩":"couple_with_heart_woman_woman:t5","👩🏿‍❤️‍👩":"couple_with_heart_woman_woman:t6","👨‍👩‍👦":"family_man_woman_boy","👨‍👩‍👧":"family_man_woman_girl","👨‍👩‍👧‍👦":"family_man_woman_girl_boy","👨‍👩‍👦‍👦":"family_man_woman_boy_boy","👨‍👩‍👧‍👧":"family_man_woman_girl_girl","👨‍👨‍👦":"family_man_man_boy","👨‍👨‍👧":"family_man_man_girl","👨‍👨‍👧‍👦":"family_man_man_girl_boy","👨‍👨‍👦‍👦":"family_man_man_boy_boy","👨‍👨‍👧‍👧":"family_man_man_girl_girl","👩‍👩‍👦":"family_woman_woman_boy","👩‍👩‍👧":"family_woman_woman_girl","👩‍👩‍👧‍👦":"family_woman_woman_girl_boy","👩‍👩‍👦‍👦":"family_woman_woman_boy_boy","👩‍👩‍👧‍👧":"family_woman_woman_girl_girl","👨‍👦":"family_man_boy","👨‍👦‍👦":"family_man_boy_boy","👨‍👧":"family_man_girl","👨‍👧‍👦":"family_man_girl_boy","👨‍👧‍👧":"family_man_girl_girl","👩‍👦":"family_woman_boy","👩‍👦‍👦":"family_woman_boy_boy","👩‍👧":"family_woman_girl","👩‍👧‍👦":"family_woman_girl_boy","👩‍👧‍👧":"family_woman_girl_girl","🗣":"speaking_head","👤":"bust_in_silhouette","👥":"busts_in_silhouette","🫂":"people_hugging","👪":"family","🧑‍🧑‍🧒":"family_adult_adult_child","🧑‍🧑‍🧒‍🧒":"family_adult_adult_child_child","🧑‍🧒":"family_adult_child","🧑‍🧒‍🧒":"family_adult_child_child","👣":"footprints","🫆":"fingerprint","🐵":"monkey_face","🐒":"monkey","🦍":"gorilla","🦧":"orangutan","🐶":"dog_face","🐕":"dog","🦮":"guide_dog","🐕‍🦺":"service_dog","🐩":"poodle","🐺":"wolf","🦊":"fox","🦝":"raccoon","🐱":"cat_face","🐈":"cat","🐈‍⬛":"black_cat","🦁":"lion","🐯":"tiger_face","🐅":"tiger","🐆":"leopard","🐴":"horse_face","🫎":"moose","🫏":"donkey","🐎":"horse","🦄":"unicorn","🦓":"zebra","🦌":"deer","🦬":"bison","🐮":"cow_face","🐂":"ox","🐃":"water_buffalo","🐄":"cow","🐷":"pig_face","🐖":"pig","🐗":"boar","🐽":"pig_nose","🐏":"ram","🐑":"ewe","🐐":"goat","🐪":"camel","🐫":"two_hump_camel","🦙":"llama","🦒":"giraffe","🐘":"elephant","🦣":"mammoth","🦏":"rhinoceros","🦛":"hippopotamus","🐭":"mouse_face","🐁":"mouse","🐀":"rat","🐹":"hamster","🐰":"rabbit_face","🐇":"rabbit","🐿":"chipmunk","🦫":"beaver","🦔":"hedgehog","🦇":"bat","🐻":"bear","🐻‍❄️":"polar_bear","🐨":"koala","🐼":"panda","🦥":"sloth","🦦":"otter","🦨":"skunk","🦘":"kangaroo","🦡":"badger","🐾":"paw_prints","🦃":"turkey","🐔":"chicken","🐓":"rooster","🐣":"hatching_chick","🐤":"baby_chick","🐥":"front_facing_baby_chick","🐦":"bird","🐧":"penguin","🕊":"dove","🦅":"eagle","🦆":"duck","🦢":"swan","🦉":"owl","🦤":"dodo","🪶":"feather","🦩":"flamingo","🦚":"peacock","🦜":"parrot","🪽":"wing","🐦‍⬛":"black_bird","🪿":"goose","🐦‍🔥":"phoenix","🐸":"frog","🐊":"crocodile","🐢":"turtle","🦎":"lizard","🐍":"snake","🐲":"dragon_face","🐉":"dragon","🦕":"sauropod","🦖":"t_rex","🐳":"spouting_whale","🐋":"whale","🐬":"dolphin","🦭":"seal","🐟":"fish","🐠":"tropical_fish","🐡":"blowfish","🦈":"shark","🐙":"octopus","🐚":"spiral_shell","🪸":"coral","🪼":"jellyfish","🦀":"crab","🦞":"lobster","🦐":"shrimp","🦑":"squid","🦪":"oyster","🐌":"snail","🦋":"butterfly","🐛":"bug","🐜":"ant","🐝":"honeybee","🪲":"beetle","🐞":"lady_beetle","🦗":"cricket","🪳":"cockroach","🕷":"spider","🕸":"spider_web","🦂":"scorpion","🦟":"mosquito","🪰":"fly","🪱":"worm","🦠":"microbe","💐":"bouquet","🌸":"cherry_blossom","💮":"white_flower","🪷":"lotus","🏵":"rosette","🌹":"rose","🥀":"wilted_flower","🌺":"hibiscus","🌻":"sunflower","🌼":"blossom","🌷":"tulip","🪻":"hyacinth","🌱":"seedling","🪴":"potted_plant","🌲":"evergreen_tree","🌳":"deciduous_tree","🌴":"palm_tree","🌵":"cactus","🌾":"sheaf_of_rice","🌿":"herb","☘":"shamrock","🍀":"four_leaf_clover","🍁":"maple_leaf","🍂":"fallen_leaf","🍃":"leaf_fluttering_in_wind","🪹":"empty_nest","🪺":"nest_with_eggs","🍄":"mushroom","🪾":"leafless_tree","🍇":"grapes","🍈":"melon","🍉":"watermelon","🍊":"tangerine","🍋":"lemon","🍋‍🟩":"lime","🍌":"banana","🍍":"pineapple","🥭":"mango","🍎":"red_apple","🍏":"green_apple","🍐":"pear","🍑":"peach","🍒":"cherries","🍓":"strawberry","🫐":"blueberries","🥝":"kiwi_fruit","🍅":"tomato","🫒":"olive","🥥":"coconut","🥑":"avocado","🍆":"eggplant","🥔":"potato","🥕":"carrot","🌽":"ear_of_corn","🌶":"hot_pepper","🫑":"bell_pepper","🥒":"cucumber","🥬":"leafy_green","🥦":"broccoli","🧄":"garlic","🧅":"onion","🥜":"peanuts","🫘":"beans","🌰":"chestnut","🫚":"ginger_root","🫛":"pea_pod","🍄‍🟫":"brown_mushroom","🫜":"root_vegetable","🍞":"bread","🥐":"croissant","🥖":"baguette_bread","🫓":"flatbread","🥨":"pretzel","🥯":"bagel","🥞":"pancakes","🧇":"waffle","🧀":"cheese_wedge","🍖":"meat_on_bone","🍗":"poultry_leg","🥩":"cut_of_meat","🥓":"bacon","🍔":"hamburger","🍟":"french_fries","🍕":"pizza","🌭":"hot_dog","🥪":"sandwich","🌮":"taco","🌯":"burrito","🫔":"tamale","🥙":"stuffed_flatbread","🧆":"falafel","🥚":"egg","🍳":"cooking","🥘":"shallow_pan_of_food","🍲":"pot_of_food","🫕":"fondue","🥣":"bowl_with_spoon","🥗":"green_salad","🍿":"popcorn","🧈":"butter","🧂":"salt","🥫":"canned_food","🍱":"bento_box","🍘":"rice_cracker","🍙":"rice_ball","🍚":"cooked_rice","🍛":"curry_rice","🍜":"steaming_bowl","🍝":"spaghetti","🍠":"roasted_sweet_potato","🍢":"oden","🍣":"sushi","🍤":"fried_shrimp","🍥":"fish_cake_with_swirl","🥮":"moon_cake","🍡":"dango","🥟":"dumpling","🥠":"fortune_cookie","🥡":"takeout_box","🍦":"soft_ice_cream","🍧":"shaved_ice","🍨":"ice_cream","🍩":"doughnut","🍪":"cookie","🎂":"birthday_cake","🍰":"shortcake","🧁":"cupcake","🥧":"pie","🍫":"chocolate_bar","🍬":"candy","🍭":"lollipop","🍮":"custard","🍯":"honey_pot","🍼":"baby_bottle","🥛":"glass_of_milk","☕":"hot_beverage","🫖":"teapot","🍵":"teacup_without_handle","🍶":"sake","🍾":"bottle_with_popping_cork","🍷":"wine_glass","🍸":"cocktail_glass","🍹":"tropical_drink","🍺":"beer_mug","🍻":"clinking_beer_mugs","🥂":"clinking_glasses","🥃":"tumbler_glass","🫗":"pouring_liquid","🥤":"cup_with_straw","🧋":"bubble_tea","🧃":"beverage_box","🧉":"mate","🧊":"ice","🥢":"chopsticks","🍽":"fork_and_knife_with_plate","🍴":"fork_and_knife","🥄":"spoon","🔪":"kitchen_knife","🫙":"jar","🏺":"amphora","🌍":"globe_showing_europe_africa","🌎":"globe_showing_americas","🌏":"globe_showing_asia_australia","🌐":"globe_with_meridians","🗺":"world_map","🗾":"map_of_japan","🧭":"compass","🏔":"snow_capped_mountain","⛰":"mountain","🌋":"volcano","🗻":"mount_fuji","🏕":"camping","🏖":"beach_with_umbrella","🏜":"desert","🏝":"desert_island","🏞":"national_park","🏟":"stadium","🏛":"classical_building","🏗":"building_construction","🧱":"brick","🪨":"rock","🪵":"wood","🛖":"hut","🏘":"houses","🏚":"derelict_house","🏠":"house","🏡":"house_with_garden","🏢":"office_building","🏣":"japanese_post_office","🏤":"post_office","🏥":"hospital","🏦":"bank","🏨":"hotel","🏩":"love_hotel","🏪":"convenience_store","🏫":"school","🏬":"department_store","🏭":"factory","🏯":"japanese_castle","🏰":"castle","💒":"wedding","🗼":"tokyo_tower","🗽":"statue_of_liberty","⛪":"church","🕌":"mosque","🛕":"hindu_temple","🕍":"synagogue","⛩":"shinto_shrine","🕋":"kaaba","⛲":"fountain","⛺":"tent","🌁":"foggy","🌃":"night_with_stars","🏙":"cityscape","🌄":"sunrise_over_mountains","🌅":"sunrise","🌆":"cityscape_at_dusk","🌇":"sunset","🌉":"bridge_at_night","♨":"hot_springs","🎠":"carousel_horse","🛝":"playground_slide","🎡":"ferris_wheel","🎢":"roller_coaster","💈":"barber_pole","🎪":"circus_tent","🚂":"locomotive","🚃":"railway_car","🚄":"high_speed_train","🚅":"bullet_train","🚆":"train","🚇":"metro","🚈":"light_rail","🚉":"station","🚊":"tram","🚝":"monorail","🚞":"mountain_railway","🚋":"tram_car","🚌":"bus","🚍":"oncoming_bus","🚎":"trolleybus","🚐":"minibus","🚑":"ambulance","🚒":"fire_engine","🚓":"police_car","🚔":"oncoming_police_car","🚕":"taxi","🚖":"oncoming_taxi","🚗":"automobile","🚘":"oncoming_automobile","🚙":"sport_utility_vehicle","🛻":"pickup_truck","🚚":"delivery_truck","🚛":"articulated_lorry","🚜":"tractor","🏎":"racing_car","🏍":"motorcycle","🛵":"motor_scooter","🦽":"manual_wheelchair","🦼":"motorized_wheelchair","🛺":"auto_rickshaw","🚲":"bicycle","🛴":"kick_scooter","🛹":"skateboard","🛼":"roller_skate","🚏":"bus_stop","🛣":"motorway","🛤":"railway_track","🛢":"oil_drum","⛽":"fuel_pump","🛞":"wheel","🚨":"police_car_light","🚥":"horizontal_traffic_light","🚦":"vertical_traffic_light","🛑":"stop_sign","🚧":"construction","⚓":"anchor","🛟":"ring_buoy","⛵":"sailboat","🛶":"canoe","🚤":"speedboat","🛳":"passenger_ship","⛴":"ferry","🛥":"motor_boat","🚢":"ship","✈":"airplane","🛩":"small_airplane","🛫":"airplane_departure","🛬":"airplane_arrival","🪂":"parachute","💺":"seat","🚁":"helicopter","🚟":"suspension_railway","🚠":"mountain_cableway","🚡":"aerial_tramway","🛰":"satellite","🚀":"rocket","🛸":"flying_saucer","🛎":"bellhop_bell","🧳":"luggage","⌛":"hourglass_done","⏳":"hourglass_not_done","⌚":"watch","⏰":"alarm_clock","⏱":"stopwatch","⏲":"timer_clock","🕰":"mantelpiece_clock","🕛":"twelve_o_clock","🕧":"twelve_thirty","🕐":"one_o_clock","🕜":"one_thirty","🕑":"two_o_clock","🕝":"two_thirty","🕒":"three_o_clock","🕞":"three_thirty","🕓":"four_o_clock","🕟":"four_thirty","🕔":"five_o_clock","🕠":"five_thirty","🕕":"six_o_clock","🕡":"six_thirty","🕖":"seven_o_clock","🕢":"seven_thirty","🕗":"eight_o_clock","🕣":"eight_thirty","🕘":"nine_o_clock","🕤":"nine_thirty","🕙":"ten_o_clock","🕥":"ten_thirty","🕚":"eleven_o_clock","🕦":"eleven_thirty","🌑":"new_moon","🌒":"waxing_crescent_moon","🌓":"first_quarter_moon","🌔":"waxing_gibbous_moon","🌕":"full_moon","🌖":"waning_gibbous_moon","🌗":"last_quarter_moon","🌘":"waning_crescent_moon","🌙":"crescent_moon","🌚":"new_moon_face","🌛":"first_quarter_moon_face","🌜":"last_quarter_moon_face","🌡":"thermometer","☀":"sun","🌝":"full_moon_face","🌞":"sun_with_face","🪐":"ringed_planet","⭐":"star","🌟":"glowing_star","🌠":"shooting_star","🌌":"milky_way","☁":"cloud","⛅":"sun_behind_cloud","⛈":"cloud_with_lightning_and_rain","🌤":"sun_behind_small_cloud","🌥":"sun_behind_large_cloud","🌦":"sun_behind_rain_cloud","🌧":"cloud_with_rain","🌨":"cloud_with_snow","🌩":"cloud_with_lightning","🌪":"tornado","🌫":"fog","🌬":"wind_face","🌀":"cyclone","🌈":"rainbow","🌂":"closed_umbrella","☂":"umbrella","☔":"umbrella_with_rain_drops","⛱":"umbrella_on_ground","⚡":"high_voltage","❄":"snowflake","☃":"snowman","⛄":"snowman_without_snow","☄":"comet","🔥":"fire","💧":"droplet","🌊":"ocean","🎃":"jack_o_lantern","🎄":"christmas_tree","🎆":"fireworks","🎇":"sparkler","🧨":"firecracker","✨":"sparkles","🎈":"balloon","🎉":"tada","🎊":"confetti_ball","🎋":"tanabata_tree","🎍":"pine_decoration","🎎":"japanese_dolls","🎏":"carp_streamer","🎐":"wind_chime","🎑":"moon_viewing_ceremony","🧧":"red_envelope","🎀":"ribbon","🎁":"wrapped_gift","🎗":"reminder_ribbon","🎟":"admission_tickets","🎫":"ticket","🎖":"military_medal","🏆":"trophy","🏅":"sports_medal","🥇":"1st_place_medal","🥈":"2nd_place_medal","🥉":"3rd_place_medal","⚽":"soccer_ball","⚾":"baseball","🥎":"softball","🏀":"basketball","🏐":"volleyball","🏈":"american_football","🏉":"rugby_football","🎾":"tennis","🥏":"flying_disc","🎳":"bowling","🏏":"cricket_game","🏑":"field_hockey","🏒":"ice_hockey","🥍":"lacrosse","🏓":"ping_pong","🏸":"badminton","🥊":"boxing_glove","🥋":"martial_arts_uniform","🥅":"goal_net","⛳":"in_hole","⛸":"ice_skate","🎣":"fishing_pole","🤿":"diving_mask","🎽":"running_shirt","🎿":"skis","🛷":"sled","🥌":"curling_stone","🎯":"bullseye","🪀":"yoyo","🪁":"kite","🔫":"water_pistol","🎱":"pool_8_ball","🔮":"crystal_ball","🪄":"magic_wand","🎮":"video_game","🕹":"joystick","🎰":"slot_machine","🎲":"game_die","🧩":"puzzle_piece","🧸":"teddy_bear","🪅":"piñata","🪩":"mirror_ball","🪆":"nesting_dolls","♠":"spade_suit","♥":"heart","♦":"diamond_suit","♣":"club_suit","♟":"chess_pawn","🃏":"joker","🀄":"mahjong_red_dragon","🎴":"flower_playing_cards","🎭":"performing_arts","🖼":"framed_picture","🎨":"artist_palette","🧵":"thread","🪡":"sewing_needle","🧶":"yarn","🪢":"knot","👓":"glasses","🕶":"sunglasses","🥽":"goggles","🥼":"lab_coat","🦺":"safety_vest","👔":"necktie","👕":"t_shirt","👖":"jeans","🧣":"scarf","🧤":"gloves","🧥":"coat","🧦":"socks","👗":"dress","👘":"kimono","🥻":"sari","🩱":"one_piece_swimsuit","🩲":"briefs","🩳":"shorts","👙":"bikini","👚":"woman_s_clothes","🪭":"folding_hand_fan","👛":"purse","👜":"handbag","👝":"clutch_bag","🛍":"shopping_bags","🎒":"backpack","🩴":"thong_sandal","👞":"man_s_shoe","👟":"running_shoe","🥾":"hiking_boot","🥿":"flat_shoe","👠":"high_heeled_shoe","👡":"woman_s_sandal","🩰":"ballet_shoes","👢":"woman_s_boot","🪮":"hair_pick","👑":"crown","👒":"woman_s_hat","🎩":"top_hat","🎓":"graduation_cap","🧢":"billed_cap","🪖":"military_helmet","⛑":"rescue_worker_s_helmet","📿":"prayer_beads","💄":"lipstick","💍":"ring","💎":"gem_stone","🔇":"muted_speaker","🔈":"speaker_low_volume","🔉":"speaker_medium_volume","🔊":"speaker_high_volume","📢":"loudspeaker","📣":"megaphone","📯":"postal_horn","🔔":"bell","🔕":"bell_with_slash","🎼":"musical_score","🎵":"musical_note","🎶":"musical_notes","🎙":"studio_microphone","🎚":"level_slider","🎛":"control_knobs","🎤":"microphone","🎧":"headphone","📻":"radio","🎷":"saxophone","🪗":"accordion","🎸":"guitar","🎹":"musical_keyboard","🎺":"trumpet","🎻":"violin","🪕":"banjo","🥁":"drum","🪘":"long_drum","🪇":"maracas","🪈":"flute","🪉":"harp","📱":"mobile_phone","📲":"mobile_phone_with_arrow","☎":"telephone","📞":"telephone_receiver","📟":"pager","📠":"fax_machine","🔋":"battery","🪫":"low_battery","🔌":"electric_plug","💻":"laptop","🖥":"desktop_computer","🖨":"printer","⌨":"keyboard","🖱":"computer_mouse","🖲":"trackball","💽":"computer_disk","💾":"floppy_disk","💿":"optical_disk","📀":"dvd","🧮":"abacus","🎥":"movie_camera","🎞":"film_frames","📽":"film_projector","🎬":"clapper_board","📺":"television","📷":"camera","📸":"camera_with_flash","📹":"video_camera","📼":"videocassette","🔍":"magnifying_glass_tilted_left","🔎":"magnifying_glass_tilted_right","🕯":"candle","💡":"light_bulb","🔦":"flashlight","🏮":"red_paper_lantern","🪔":"diya_lamp","📔":"notebook_with_decorative_cover","📕":"closed_book","📖":"open_book","📗":"green_book","📘":"blue_book","📙":"orange_book","📚":"books","📓":"notebook","📒":"ledger","📃":"page_with_curl","📜":"scroll","📄":"page_facing_up","📰":"newspaper","🗞":"rolled_up_newspaper","📑":"bookmark_tabs","🔖":"bookmark","🏷":"label","💰":"money_bag","🪙":"coin","💴":"yen_banknote","💵":"dollar_banknote","💶":"euro_banknote","💷":"pound_banknote","💸":"money_with_wings","💳":"credit_card","🧾":"receipt","💹":"chart_increasing_with_yen","✉":"envelope","📧":"e_mail","📨":"incoming_envelope","📩":"envelope_with_arrow","📤":"outbox_tray","📥":"inbox_tray","📦":"package","📫":"closed_mailbox_with_raised_flag","📪":"closed_mailbox_with_lowered_flag","📬":"open_mailbox_with_raised_flag","📭":"open_mailbox_with_lowered_flag","📮":"postbox","🗳":"ballot_box_with_ballot","✏":"pencil","✒":"black_nib","🖋":"fountain_pen","🖊":"pen","🖌":"paintbrush","🖍":"crayon","📝":"memo","💼":"briefcase","📁":"file_folder","📂":"open_file_folder","🗂":"card_index_dividers","📅":"date","📆":"tear_off_calendar","🗒":"spiral_notepad","🗓":"spiral_calendar","📇":"card_index","📈":"chart_increasing","📉":"chart_decreasing","📊":"bar_chart","📋":"clipboard","📌":"pushpin","📍":"round_pushpin","📎":"paperclip","🖇":"linked_paperclips","📏":"straight_ruler","📐":"triangular_ruler","✂":"scissors","🗃":"card_file_box","🗄":"file_cabinet","🗑":"wastebasket","🔒":"locked","🔓":"unlocked","🔏":"locked_with_pen","🔐":"locked_with_key","🔑":"key","🗝":"old_key","🔨":"hammer","🪓":"axe","⛏":"pick","⚒":"hammer_and_pick","🛠":"hammer_and_wrench","🗡":"dagger","⚔":"crossed_swords","💣":"bomb","🪃":"boomerang","🏹":"bow_and_arrow","🛡":"shield","🪚":"carpentry_saw","🔧":"wrench","🪛":"screwdriver","🔩":"nut_and_bolt","⚙":"gear","🗜":"clamp","⚖":"balance_scale","🦯":"white_cane","🔗":"link","⛓️‍💥":"broken_chain","⛓":"chains","🪝":"hook","🧰":"toolbox","🧲":"magnet","🪜":"ladder","🪏":"shovel","⚗":"alembic","🧪":"test_tube","🧫":"petri_dish","🧬":"dna","🔬":"microscope","🔭":"telescope","📡":"satellite_antenna","💉":"syringe","🩸":"drop_of_blood","💊":"pill","🩹":"adhesive_bandage","🩼":"crutch","🩺":"stethoscope","🩻":"x_ray","🚪":"door","🛗":"elevator","🪞":"mirror","🪟":"window","🛏":"bed","🛋":"couch_and_lamp","🪑":"chair","🚽":"toilet","🪠":"plunger","🚿":"shower","🛁":"bathtub","🪤":"mouse_trap","🪒":"razor","🧴":"lotion_bottle","🧷":"safety_pin","🧹":"broom","🧺":"basket","🧻":"roll_of_paper","🪣":"bucket","🧼":"soap","🫧":"bubbles","🪥":"toothbrush","🧽":"sponge","🧯":"fire_extinguisher","🛒":"shopping_cart","🚬":"cigarette","⚰":"coffin","🪦":"headstone","⚱":"funeral_urn","🧿":"nazar_amulet","🪬":"hamsa","🗿":"moai","🪧":"placard","🪪":"identification_card","🏧":"atm_sign","🚮":"litter_in_bin_sign","🚰":"potable_water","♿":"wheelchair_symbol","🚹":"men_s_room","🚺":"women_s_room","🚻":"restroom","🚼":"baby_symbol","🚾":"water_closet","🛂":"passport_control","🛃":"customs","🛄":"baggage_claim","🛅":"left_luggage","⚠":"warning","🚸":"children_crossing","⛔":"no_entry","🚫":"prohibited","🚳":"no_bicycles","🚭":"no_smoking","🚯":"no_littering","🚱":"non_potable_water","🚷":"no_pedestrians","📵":"no_mobile_phones","🔞":"no_one_under_eighteen","☢":"radioactive","☣":"biohazard","⬆":"up_arrow","↗":"up_right_arrow","➡":"right_arrow","↘":"down_right_arrow","⬇":"down_arrow","↙":"down_left_arrow","⬅":"left_arrow","↖":"up_left_arrow","↕":"up_down_arrow","↩":"right_arrow_curving_left","↪":"left_arrow_curving_right","⤴":"right_arrow_curving_up","⤵":"right_arrow_curving_down","🔃":"clockwise_vertical_arrows","🔄":"counterclockwise_arrows_button","🔙":"back_arrow","🔚":"end_arrow","🔛":"on_arrow","🔜":"soon_arrow","🔝":"top_arrow","🛐":"place_of_worship","⚛":"atom_symbol","🕉":"om","✡":"star_of_david","☸":"wheel_of_dharma","☯":"yin_yang","✝":"latin_cross","☦":"orthodox_cross","☪":"star_and_crescent","☮":"peace_symbol","🕎":"menorah","🔯":"dotted_six_pointed_star","🪯":"khanda","♈":"aries","♉":"taurus","♊":"gemini","♋":"cancer","♌":"leo","♍":"virgo","♎":"libra","♏":"scorpio","♐":"sagittarius","♑":"capricorn","♒":"aquarius","♓":"pisces","⛎":"ophiuchus","🔀":"shuffle_tracks_button","🔁":"repeat_button","🔂":"repeat_single_button","▶":"play_button","⏩":"fast_forward_button","⏭":"next_track_button","⏯":"play_or_pause_button","◀":"reverse_button","⏪":"fast_reverse_button","⏮":"last_track_button","🔼":"upwards_button","⏫":"fast_up_button","🔽":"downwards_button","⏬":"fast_down_button","⏸":"pause_button","⏹":"stop_button","⏺":"record_button","⏏":"eject_button","🎦":"cinema","🔅":"dim_button","🔆":"bright_button","📶":"antenna_bars","🛜":"wireless","📳":"vibration_mode","📴":"mobile_phone_off","♀":"female_sign","♂":"male_sign","⚧":"transgender_symbol","✖":"multiply","➕":"plus","➖":"minus","➗":"divide","🟰":"heavy_equals_sign","♾":"infinity","‼":"double_exclamation_mark","⁉":"exclamation_question_mark","❓":"red_question_mark","❔":"white_question_mark","❕":"white_exclamation_mark","❗":"red_exclamation_mark","〰":"wavy_dash","💱":"currency_exchange","💲":"heavy_dollar_sign","⚕":"medical_symbol","♻":"recycling_symbol","⚜":"fleur_de_lis","🔱":"trident_emblem","📛":"name_badge","🔰":"japanese_symbol_for_beginner","⭕":"hollow_red_circle","✅":"white_check_mark","☑":"check_box_with_check","✔":"check_mark","❌":"cross_mark","❎":"cross_mark_button","➰":"curly_loop","➿":"double_curly_loop","〽":"part_alternation_mark","✳":"eight_spoked_asterisk","✴":"eight_pointed_star","❇":"sparkle","™":"trade_mark","🫟":"splatter","#️⃣":"hash","*️⃣":"asterisk","0️⃣":"zero","1️⃣":"one","2️⃣":"two","3️⃣":"three","4️⃣":"four","5️⃣":"five","6️⃣":"six","7️⃣":"seven","8️⃣":"eight","9️⃣":"nine","🔟":"ten","🔠":"input_latin_uppercase","🔡":"input_latin_lowercase","🔢":"1234","🔣":"input_symbols","🔤":"input_latin_letters","🅰":"a_button_blood_type","🆎":"ab_button_blood_type","🅱":"b_button_blood_type","🆑":"cl_button","🆒":"cool_button","🆓":"free_button",ℹ:"information_source","🆔":"id_button","Ⓜ":"circled_m","🆕":"new_button","🆖":"ng_button","🅾":"o_button_blood_type","🆗":"ok_button","🅿":"p_button","🆘":"sos_button","🆙":"up_button","🆚":"vs_button","🈁":"japanese_here_button","🈂":"japanese_service_charge_button","🈷":"japanese_monthly_amount_button","🈶":"japanese_not_free_of_charge_button","🈯":"japanese_reserved_button","🉐":"japanese_bargain_button","🈹":"japanese_discount_button","🈚":"japanese_free_of_charge_button","🈲":"japanese_prohibited_button","🉑":"japanese_acceptable_button","🈸":"japanese_application_button","🈴":"japanese_passing_grade_button","🈳":"japanese_vacancy_button","㊗":"japanese_congratulations_button","㊙":"japanese_secret_button","🈺":"japanese_open_for_business_button","🈵":"japanese_no_vacancy_button","🔴":"red_circle","🟠":"orange_circle","🟡":"yellow_circle","🟢":"green_circle","🔵":"blue_circle","🟣":"purple_circle","🟤":"brown_circle","⚫":"black_circle","⚪":"white_circle","🟥":"red_square","🟧":"orange_square","🟨":"yellow_square","🟩":"green_square","🟦":"blue_square","🟪":"purple_square","🟫":"brown_square","⬛":"black_large_square","⬜":"white_large_square","◼":"black_medium_square","◻":"white_medium_square","◾":"black_medium_small_square","◽":"white_medium_small_square","▪":"black_small_square","▫":"white_small_square","🔶":"large_orange_diamond","🔷":"large_blue_diamond","🔸":"small_orange_diamond","🔹":"small_blue_diamond","🔺":"red_triangle_pointed_up","🔻":"red_triangle_pointed_down","💠":"diamond_with_a_dot","🔘":"radio_button","🔳":"white_square_button","🔲":"black_square_button","🏁":"chequered_flag","🚩":"triangular_flag","🎌":"crossed_flags","🏴":"black_flag","🏳":"white_flag","🏳️‍🌈":"rainbow_flag","🏳️‍⚧️":"transgender_flag","🏴‍☠️":"pirate_flag","🇦🇨":"ascension_island","🇦🇩":"andorra","🇦🇪":"united_arab_emirates","🇦🇫":"afghanistan","🇦🇬":"antigua_barbuda","🇦🇮":"anguilla","🇦🇱":"albania","🇦🇲":"armenia","🇦🇴":"angola","🇦🇶":"antarctica","🇦🇷":"argentina","🇦🇸":"american_samoa","🇦🇹":"austria","🇦🇺":"australia","🇦🇼":"aruba","🇦🇽":"åland_islands","🇦🇿":"azerbaijan","🇧🇦":"bosnia_herzegovina","🇧🇧":"barbados","🇧🇩":"bangladesh","🇧🇪":"belgium","🇧🇫":"burkina_faso","🇧🇬":"bulgaria","🇧🇭":"bahrain","🇧🇮":"burundi","🇧🇯":"benin","🇧🇱":"st_barthelemy","🇧🇲":"bermuda","🇧🇳":"brunei","🇧🇴":"bolivia","🇧🇶":"caribbean_netherlands","🇧🇷":"brazil","🇧🇸":"bahamas","🇧🇹":"bhutan","🇧🇻":"bouvet_island","🇧🇼":"botswana","🇧🇾":"belarus","🇧🇿":"belize","🇨🇦":"canada","🇨🇨":"cocos_keeling_islands","🇨🇩":"congo_kinshasa","🇨🇫":"central_african_republic","🇨🇬":"congo_brazzaville","🇨🇭":"switzerland","🇨🇮":"côte_d_ivoire","🇨🇰":"cook_islands","🇨🇱":"chile","🇨🇲":"cameroon","🇨🇳":"china","🇨🇴":"colombia","🇨🇵":"clipperton_island","🇨🇷":"costa_rica","🇨🇺":"cuba","🇨🇻":"cape_verde","🇨🇼":"curaçao","🇨🇽":"christmas_island","🇨🇾":"cyprus","🇨🇿":"czechia","🇩🇪":"germany","🇩🇬":"diego_garcia","🇩🇯":"djibouti","🇩🇰":"denmark","🇩🇲":"dominica","🇩🇴":"dominican_republic","🇩🇿":"algeria","🇪🇦":"ceuta_melilla","🇪🇨":"ecuador","🇪🇪":"estonia","🇪🇬":"egypt","🇪🇭":"western_sahara","🇪🇷":"eritrea","🇪🇸":"spain","🇪🇹":"ethiopia","🇪🇺":"european_union","🇫🇮":"finland","🇫🇯":"fiji","🇫🇰":"falkland_islands","🇫🇲":"micronesia","🇫🇴":"faroe_islands","🇫🇷":"france","🇬🇦":"gabon","🇬🇧":"united_kingdom","🇬🇩":"grenada","🇬🇪":"georgia","🇬🇫":"french_guiana","🇬🇬":"guernsey","🇬🇭":"ghana","🇬🇮":"gibraltar","🇬🇱":"greenland","🇬🇲":"gambia","🇬🇳":"guinea","🇬🇵":"guadeloupe","🇬🇶":"equatorial_guinea","🇬🇷":"greece","🇬🇸":"south_georgia_south_sandwich_islands","🇬🇹":"guatemala","🇬🇺":"guam","🇬🇼":"guinea_bissau","🇬🇾":"guyana","🇭🇰":"hong_kong_sar_china","🇭🇲":"heard_mcdonald_islands","🇭🇳":"honduras","🇭🇷":"croatia","🇭🇹":"haiti","🇭🇺":"hungary","🇮🇨":"canary_islands","🇮🇩":"indonesia","🇮🇪":"ireland","🇮🇱":"israel","🇮🇲":"isle_of_man","🇮🇳":"india","🇮🇴":"british_indian_ocean_territory","🇮🇶":"iraq","🇮🇷":"iran","🇮🇸":"iceland","🇮🇹":"italy","🇯🇪":"jersey","🇯🇲":"jamaica","🇯🇴":"jordan","🇯🇵":"japan","🇰🇪":"kenya","🇰🇬":"kyrgyzstan","🇰🇭":"cambodia","🇰🇮":"kiribati","🇰🇲":"comoros","🇰🇳":"st_kitts_nevis","🇰🇵":"north_korea","🇰🇷":"south_korea","🇰🇼":"kuwait","🇰🇾":"cayman_islands","🇰🇿":"kazakhstan","🇱🇦":"laos","🇱🇧":"lebanon","🇱🇨":"st_lucia","🇱🇮":"liechtenstein","🇱🇰":"sri_lanka","🇱🇷":"liberia","🇱🇸":"lesotho","🇱🇹":"lithuania","🇱🇺":"luxembourg","🇱🇻":"latvia","🇱🇾":"libya","🇲🇦":"morocco","🇲🇨":"monaco","🇲🇩":"moldova","🇲🇪":"montenegro","🇲🇫":"st_martin","🇲🇬":"madagascar","🇲🇭":"marshall_islands","🇲🇰":"north_macedonia","🇲🇱":"mali","🇲🇲":"myanmar_burma","🇲🇳":"mongolia","🇲🇴":"macao_sar_china","🇲🇵":"northern_mariana_islands","🇲🇶":"martinique","🇲🇷":"mauritania","🇲🇸":"montserrat","🇲🇹":"malta","🇲🇺":"mauritius","🇲🇻":"maldives","🇲🇼":"malawi","🇲🇽":"mexico","🇲🇾":"malaysia","🇲🇿":"mozambique","🇳🇦":"namibia","🇳🇨":"new_caledonia","🇳🇪":"niger","🇳🇫":"norfolk_island","🇳🇬":"nigeria","🇳🇮":"nicaragua","🇳🇱":"netherlands","🇳🇴":"norway","🇳🇵":"nepal","🇳🇷":"nauru","🇳🇺":"niue","🇳🇿":"new_zealand","🇴🇲":"oman","🇵🇦":"panama","🇵🇪":"peru","🇵🇫":"french_polynesia","🇵🇬":"papua_new_guinea","🇵🇭":"philippines","🇵🇰":"pakistan","🇵🇱":"poland","🇵🇲":"st_pierre_miquelon","🇵🇳":"pitcairn_islands","🇵🇷":"puerto_rico","🇵🇸":"palestinian_territories","🇵🇹":"portugal","🇵🇼":"palau","🇵🇾":"paraguay","🇶🇦":"qatar","🇷🇪":"reunion","🇷🇴":"romania","🇷🇸":"serbia","🇷🇺":"russia","🇷🇼":"rwanda","🇸🇦":"saudi_arabia","🇸🇧":"solomon_islands","🇸🇨":"seychelles","🇸🇩":"sudan","🇸🇪":"sweden","🇸🇬":"singapore","🇸🇭":"st_helena","🇸🇮":"slovenia","🇸🇯":"svalbard_jan_mayen","🇸🇰":"slovakia","🇸🇱":"sierra_leone","🇸🇲":"san_marino","🇸🇳":"senegal","🇸🇴":"somalia","🇸🇷":"suriname","🇸🇸":"south_sudan","🇸🇹":"sao_tome_principe","🇸🇻":"el_salvador","🇸🇽":"sint_maarten","🇸🇾":"syria","🇸🇿":"eswatini","🇹🇦":"tristan_da_cunha","🇹🇨":"turks_caicos_islands","🇹🇩":"chad","🇹🇫":"french_southern_territories","🇹🇬":"togo","🇹🇭":"thailand","🇹🇯":"tajikistan","🇹🇰":"tokelau","🇹🇱":"timor_leste","🇹🇲":"turkmenistan","🇹🇳":"tunisia","🇹🇴":"tonga","🇹🇷":"türkiye","🇹🇹":"trinidad_tobago","🇹🇻":"tuvalu","🇹🇼":"taiwan","🇹🇿":"tanzania","🇺🇦":"ukraine","🇺🇬":"uganda","🇺🇲":"us_outlying_islands","🇺🇳":"united_nations","🇺🇸":"united_states","🇺🇾":"uruguay","🇺🇿":"uzbekistan","🇻🇦":"vatican_city","🇻🇨":"st_vincent_grenadines","🇻🇪":"venezuela","🇻🇬":"british_virgin_islands","🇻🇮":"us_virgin_islands","🇻🇳":"vietnam","🇻🇺":"vanuatu","🇼🇫":"wallis_futuna","🇼🇸":"samoa","🇽🇰":"kosovo","🇾🇪":"yemen","🇾🇹":"mayotte","🇿🇦":"south_africa","🇿🇲":"zambia","🇿🇼":"zimbabwe","🏴󠁧󠁢󠁥󠁮󠁧󠁿":"england","🏴󠁧󠁢󠁳󠁣󠁴󠁿":"scotland","🏴󠁧󠁢󠁷󠁬󠁳󠁿":"wales","☻":"slight_smile","♡":"heart"}},11403:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(36376),n=i(52095),r=i(83716),a=i(77598),o=i(41277),l=i(93810),u=i(60110);class d extends(0,n.buildCategoryPanel)("images"){backgroundImageUrl(e){return e||""}static #e=(()=>dt7948.n(this.prototype,"backgroundImageUrl",[(0,a.default)("category.uploaded_background.url")]))();backgroundDarkImageUrl(e){return e||""}static #t=(()=>dt7948.n(this.prototype,"backgroundDarkImageUrl",[(0,a.default)("category.uploaded_background_dark.url")]))();logoImageUrl(e){return e||""}static #r=(()=>dt7948.n(this.prototype,"logoImageUrl",[(0,a.default)("category.uploaded_logo.url")]))();logoImageDarkUrl(e){return e||""}static #a=(()=>dt7948.n(this.prototype,"logoImageDarkUrl",[(0,a.default)("category.uploaded_logo_dark.url")]))();logoUploadDone(e){this._setFromUpload("category.uploaded_logo",e)}static #d=(()=>dt7948.n(this.prototype,"logoUploadDone",[s.action]))();logoUploadDeleted(){this._deleteUpload("category.uploaded_logo")}static #g=(()=>dt7948.n(this.prototype,"logoUploadDeleted",[s.action]))();logoDarkUploadDone(e){this._setFromUpload("category.uploaded_logo_dark",e)}static #T=(()=>dt7948.n(this.prototype,"logoDarkUploadDone",[s.action]))();logoDarkUploadDeleted(){this._deleteUpload("category.uploaded_logo_dark")}static #C=(()=>dt7948.n(this.prototype,"logoDarkUploadDeleted",[s.action]))();backgroundUploadDone(e){this._setFromUpload("category.uploaded_background",e)}static #A=(()=>dt7948.n(this.prototype,"backgroundUploadDone",[s.action]))();backgroundUploadDeleted(){this._deleteUpload("category.uploaded_background")}static #D=(()=>dt7948.n(this.prototype,"backgroundUploadDeleted",[s.action]))();backgroundDarkUploadDone(e){this._setFromUpload("category.uploaded_background_dark",e)}static #M=(()=>dt7948.n(this.prototype,"backgroundDarkUploadDone",[s.action]))();backgroundDarkUploadDeleted(){this._deleteUpload("category.uploaded_background_dark")}static #E=(()=>dt7948.n(this.prototype,"backgroundDarkUploadDeleted",[s.action]))();_deleteUpload(e){this.set(e,s.default.create({id:null,url:null}))}_setFromUpload(e,t){this.set(e,s.default.create({url:t.url,id:t.id}))}static #P=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"5wFU3McG",block:'[[[1,"\\n "],[10,"section"],[14,0,"field category-logo"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.logo"],null]],[13],[1,"\\n "],[8,[32,1],[[24,0,"no-repeat contain-image"]],[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,0,["logoImageUrl"]],[30,0,["logoUploadDone"]],[30,0,["logoUploadDeleted"]],"category_logo","category-logo-uploader"]],null],[1,"\\n "],[10,0],[14,0,"category-logo-description"],[12],[1,"\\n "],[1,[28,[32,0],["category.logo_description"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field category-logo"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.logo_dark"],null]],[13],[1,"\\n "],[8,[32,1],[[24,0,"no-repeat contain-image"]],[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,0,["logoImageDarkUrl"]],[30,0,["logoDarkUploadDone"]],[30,0,["logoDarkUploadDeleted"]],"category_logo_dark","category-dark-logo-uploader"]],null],[1,"\\n "],[10,0],[14,0,"category-logo-description"],[12],[1,"\\n "],[1,[28,[32,0],["category.logo_description"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field category-background-image"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.background_image"],null]],[13],[1,"\\n "],[8,[32,1],null,[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,0,["backgroundImageUrl"]],[30,0,["backgroundUploadDone"]],[30,0,["backgroundUploadDeleted"]],"category_background","category-background-uploader"]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field category-background-image"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.background_image_dark"],null]],[13],[1,"\\n "],[8,[32,1],null,[["@imageUrl","@onUploadDone","@onUploadDeleted","@type","@id"],[[30,0,["backgroundDarkImageUrl"]],[30,0,["backgroundDarkUploadDone"]],[30,0,["backgroundDarkUploadDeleted"]],"category_background_dark","category-dark-background-uploader"]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-images.js",scope:()=>[o.i18n,r.default],isStrictMode:!0}),this))()}},11561:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(83770),n=i(25164),r=i(3558),a=i(92161),o=i(63779),l=i(41277);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[s.service]))();#l=(()=>void dt7948.i(this,"dialog"))();async showConfirm(e,t){if((0,n.isEmpty)(t))return Promise.resolve(!0);if(t.split("|").length>o.MAX_AUTO_MEMBERSHIP_DOMAINS_LOOKUP)return new Promise(e=>{this.dialog.confirm({message:(0,l.i18n)("admin.groups.manage.membership.automatic_membership_user_unknown_count"),didConfirm:()=>e(!0),didCancel:()=>e(!1)})});let i={automatic_membership_email_domains:t};e&&(i.id=e);try{let e=(await (0,r.ajax)("/admin/groups/automatic_membership_count.json",{type:"PUT",data:i})).user_count;if(e>0)return new Promise(t=>{this.dialog.confirm({message:(0,l.i18n)("admin.groups.manage.membership.automatic_membership_user_count",{count:e}),didConfirm:()=>t(!0),didCancel:()=>t(!1)})});return Promise.resolve(!0)}catch(e){(0,a.popupAjaxError)(e)}}}},11565:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(21044),n=i(42371),r=i(36376),a=i(42946),o=i(87116),l=i(55129),u=i(88874),d=i(39532),c=i(93810),p=i(60110);class h extends s.default{remove(e){this.args.remove(this.name,e)}static #e=(()=>dt7948.n(this.prototype,"remove",[r.action]))();componentFor(e,t){let i=this,s={collectionIndex:t,addError:i.args.addError,set:i.args.set,triggerRevalidationFor:i.args.triggerRevalidationFor,parentName:`${i.name}.${t}`,registerField:i.args.registerField,unregisterField:i.args.unregisterField,get errors(){return i.args.errors},get data(){return i.args.data}};return(e===h||e===u.default)&&(s.remove=i.args.remove),(0,o.A)(e,s,(0,a.getOwner)(this))}static #t=(()=>dt7948.n(this.prototype,"componentFor",[r.action]))();get collectionData(){return this.args.data.get(this.name).map((e,t)=>({identifier:`${this.name}-${t}`,item:e}))}get name(){return this.args.name?`${this.args.parentName?this.args.parentName+".":""}${this.args.name}`:this.args.parentName}get tagName(){return this.args.tagName||"div"}static #r=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"cqCfouT7",block:'[[[1,"\\n"],[44,[[28,[32,0],[[30,0,["tagName"]]],null]],[[[1," "],[8,[30,1],[[24,0,"form-kit__collection"]],null,[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["collectionData"]]],null]],null],"identifier",[[[1," "],[18,4,[[28,[32,1],null,[["Field","Object","Collection","remove"],[[28,[30,0,["componentFor"]],[[32,2],[30,3]],null],[28,[30,0,["componentFor"]],[[32,3],[30,3]],null],[28,[30,0,["componentFor"]],[[32,4],[30,3]],null],[30,0,["remove"]]]]],[30,3],[30,2,["item"]]]],[1,"\\n"]],[2,3]],null],[1," "]],[]]]]],[1,"\\n"]],[1]]],[1," "]],["Wrapper","data","index","&default"],false,["let","each","-track-array","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/collection.js",scope:()=>[d.default,n.hash,l.default,u.default,h],isStrictMode:!0}),this))()}},11661:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+i},week:{dow:1,doy:4}})})},11674:(e,t,i)=>{"use strict";i.r(t),i.d(t,{updatePosition:()=>c});var s=i(47826),n=i(78646),r=i.n(n),a=i(6456),o=i(61592),l=i(72767),u=i(33428);let d=(0,s.cY)(e=>{let{rects:t}=e;return-t.reference.height/2-t.floating.height/2});async function c(e,t,i){let n,c=0;(0,a.isTesting)()||(c=i.padding||{top:(0,l.headerOffset)(),left:10,right:10,bottom:10});let p={fallbackPlacements:i.fallbackPlacements??u.FLOAT_UI_PLACEMENTS,padding:c},h=[],m="center"===i.placement;m?h.push(d):(h.push((0,s.cY)(i.offset?parseInt(i.offset,10):10)),i.inline&&h.push((0,s.mG)()),h.push((0,s.UU)(p)),h.push((0,s.BN)({padding:c}))),i.arrow&&((n=t.querySelector(".arrow"))||(n=r()((0,o.iconHTML)("tippy-rounded-arrow",{class:"arrow"}))[0],t.appendChild(n)),h.push((0,s.UE)({element:n}))),t.dataset.strategy=i.strategy||"absolute";let{x:g,y:f,placement:_,middlewareData:y}=await (0,s.rD)(e,t,{placement:m?"bottom":i.placement,strategy:i.strategy||"absolute",middleware:h});if(i.computePosition)i.computePosition(t,{x:g,y:f,placement:_,middlewareData:y,arrowElement:n});else if(t.dataset.placement=_,Object.assign(t.style,{left:`${g}px`,top:`${f}px`}),y.arrow&&n){let e=y.arrow.x,t=y.arrow.y;Object.assign(n.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:""})}}},11705:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(1933);let n=/^discourse\/plugins\/([^\/]+)\/(.*)$/,r=/^discourse\/theme-([^\/]+)\/(.*)$/,a=["discourse/","admin/"];class o{coreTemplates=(()=>new Map)();pluginTemplates=(()=>new Map)();themeTemplates=(()=>new Map)();prioritizedCaches=[this.themeTemplates,this.pluginTemplates,this.coreTemplates];setModuleNames(e){for(let t of(this.coreTemplates.clear(),this.pluginTemplates.clear(),this.themeTemplates.clear(),e))(function(e){for(let t of a)if(e.startsWith(t))return!0;return!1})(t)&&function(e){return e.includes("/templates/")}(t)&&this.#ip(t)}#ip(e){let t,i,s,a=e;(t=a.match(n))?(a=t[2],s=this.pluginTemplates):(i=a.match(r))?(a=i[2],s=this.themeTemplates):s=this.coreTemplates,function(e,t,i){let s=e.get(t);(s??=[]).push(i),e.set(t,s)}(s,a=a.replace(/^discourse\/templates\//,""),e)}resolve(e){let[t,i,n]=this.prioritizedCaches.map(t=>{let i=t.get(e);if(i)return i[i.length-1]});return(t||i)&&n&&(0,s.default)(`[${t||i}] Overriding templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead.`,{id:"discourse.resolver-template-overrides",url:"https://meta.discourse.org/t/247487"}),t||i||n}keys(){return[...new Set([...this.coreTemplates.keys(),...this.pluginTemplates.keys(),...this.themeTemplates.keys()])]}}let l=new o},11745:(e,t,i)=>{"use strict";i.r(t),i.d(t,{LATER_TODAY_CUTOFF_HOUR:()=>r,LATER_TODAY_MAX_HOUR:()=>a,MOMENT_FRIDAY:()=>p,MOMENT_MONDAY:()=>l,MOMENT_SATURDAY:()=>h,MOMENT_SUNDAY:()=>o,MOMENT_THURSDAY:()=>c,MOMENT_TUESDAY:()=>u,MOMENT_WEDNESDAY:()=>d,START_OF_DAY_HOUR:()=>n,fourMonths:()=>x,inNDays:()=>T,laterThisWeek:()=>S,laterToday:()=>w,nextBusinessWeekStart:()=>F,nextMonth:()=>C,now:()=>m,oneHour:()=>f,oneYear:()=>L,parseCustomDatetime:()=>I,sixMonths:()=>E,startOfDay:()=>g,thisWeekend:()=>b,thousandYears:()=>P,threeMonths:()=>M,tomorrow:()=>y,twoDays:()=>k,twoHours:()=>_,twoMonths:()=>D,twoWeeks:()=>A});var s=i(25164);let n=8,r=17,a=18,o=0,l=1,u=2,d=3,c=4,p=5,h=6;function m(e){return moment.tz(e)}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;return e.hour(t).startOf("hour")}function f(e){return m(e).add(1,"hours")}function _(e){return m(e).add(2,"hours")}function y(e){return g(m(e).add(1,"day"))}function b(e){return g(m(e).day(h))}function w(e){let t=m(e).add(3,"hours");return t.hour()>=a?t.hour(a).startOf("hour"):30>t.minutes()?t.startOf("hour"):t.add(30,"minutes").startOf("hour")}function k(e){return g(m(e).add(2,"days"))}function T(e,t){return g(m(e).add(t,"days"))}function S(e){return k(e)}function C(e){return g(m(e).add(1,"month").startOf("month"))}function A(e){return g(m(e).add(2,"weeks").day(l))}function D(e){return g(m(e).add(2,"months").startOf("month"))}function M(e){return g(m(e).add(3,"months").startOf("month"))}function x(e){return g(m(e).add(4,"months").startOf("month"))}function E(e){return g(m(e).add(6,"months").startOf("month"))}function L(e){return g(m(e).add(1,"years").startOf("month"))}function P(e){return g(m(e).add(1e3,"years").startOf("month"))}function F(e){return g(m(e).add(7,"days")).day(l)}function I(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e||new Date().toISOString().split("T")[0];let r=(0,s.isPresent)(t)?`${e} ${t}`:e;n=n||i;let a=moment.tz(r,n);return n!==i&&(a=a.tz(i)),a}},11780:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addBeforeLoadMoreCallback:()=>w,default:()=>k});var s=i(77632),n=i(18891),r=i(36376),a=i(83770),o=i(6809),l=i(59999),u=i(99444),d=i(3558),c=i(77598),p=i(15330),h=i(54583),m=i(51629),g=i(41277),f=i(93810),_=i(60110),y=i(29681);let b=[];function w(e){b.push(e)}class k extends n.default{static #e=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #t=(()=>dt7948.g(this.prototype,"appEvents",[a.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #r=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #d=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #g=(()=>dt7948.g(this.prototype,"filter",[s.tracked],function(){return"all"}))();#t5=(()=>void dt7948.i(this,"filter"))();queryParams=["filter"];get listContainerClassNames(){return`user-notifications-list ${this.siteSettings.show_user_menu_avatars?"show-avatars":""}`}isFiltered(){return this.filter&&"all"!==this.filter}static #T=(()=>dt7948.n(this.prototype,"isFiltered",[(0,c.default)("filter")]))();items(){return this.model.map(e=>{let t={appEvents:this.appEvents,currentUser:this.currentUser,siteSettings:this.siteSettings,site:this.site,notification:e,endComponent:(0,f.setComponentTemplate)((0,_.createTemplateFactory)({id:"Nwrbyhur",block:'[[[1,"\\n "],[8,[32,0],null,[["@date"],[[32,1,["created_at"]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/controllers/user-notifications.js",scope:()=>[u.default,e],isStrictMode:!0}),(0,y.default)(void 0,void 0))};return new m.default(t)})}static #C=(()=>dt7948.n(this.prototype,"items",[(0,c.default)("model.content.@each")]))();allNotificationsRead(){return!this.get("model.content").some(e=>!e.get("read"))}static #A=(()=>dt7948.n(this.prototype,"allNotificationsRead",[(0,c.default)("model.content.@each.read")]))();doesNotHaveNotifications(e,t,i){return!i&&!e&&0===t}static #D=(()=>dt7948.n(this.prototype,"doesNotHaveNotifications",[(0,c.default)("isFiltered","model.content.length","loading")]))();nothingFound(e,t){return e&&0===t}static #M=(()=>dt7948.n(this.prototype,"nothingFound",[(0,c.default)("isFiltered","model.content.length")]))();emptyStateBody(){return(0,o.htmlSafe)((0,g.i18n)("user.no_notifications_page_body",{preferencesUrl:(0,p.default)("/my/preferences/notifications"),icon:(0,h.iconHTML)("bell")}))}static #E=(()=>dt7948.n(this.prototype,"emptyStateBody",[(0,c.default)()]))();async markRead(){await (0,d.ajax)("/notifications/mark-read",{type:"PUT"}),this.model.forEach(e=>e.set("read",!0))}updateFilter(e){this.loading=!0,this.filter=e}static #P=(()=>dt7948.n(this.prototype,"updateFilter",[r.action]))();async resetNew(){this.currentUser.unread_high_priority_notifications>0?this.modal.show(l.default,{model:{confirmationMessage:(0,g.i18n)("notifications.dismiss_confirmation.body.default",{count:this.currentUser.unread_high_priority_notifications}),dismissNotifications:()=>this.markRead()}}):this.markRead()}static #I=(()=>dt7948.n(this.prototype,"resetNew",[r.action]))();loadMore(){(!b.length||b.some(e=>e(this)))&&this.model.loadMore()}static #j=(()=>dt7948.n(this.prototype,"loadMore",[r.action]))()}},11798:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>Y});var s=i(42371),n=i(93558),r=i(36376),a=i(34229),o=i(54695),l=i(65053),u=i(6809),d=i(25164),c=i(14547),p=i(26962),h=i(43820),m=i(44612),g=i(85707),f=i(20936),_=i(33839),y=i(51246),b=i(56776),w=i(37420),k=i(47290),T=i(60102),S=i(53290),C=i(29421),A=i(86483),D=i(90916),M=i(6272),x=i(85831),E=i(77598),L=i(60964),P=i(15330),F=i(64301),I=i(53729),N=i(37507),j=i(76998),O=i(72818),R=i(41277),U=i(93810),B=i(60110);let Y=dt7948.c(class extends h.default{elementId="user-card";avatarSelector="[data-user-card]";avatarDataAttrKey="userCard";mentionSelector="a.mention";ariaLabel=(()=>(0,R.i18n)("user.card"))();static #e=(()=>dt7948.g(this.prototype,"allowBackgrounds",[(0,x.setting)("allow_profile_backgrounds")]))();#ih=(()=>void dt7948.i(this,"allowBackgrounds"))();static #t=(()=>dt7948.g(this.prototype,"showBadges",[(0,x.setting)("enable_badges")]))();#im=(()=>void dt7948.i(this,"showBadges"))();static #r=(()=>dt7948.g(this.prototype,"showUserLocalTime",[(0,x.setting)("display_local_time_in_user_card")]))();#ig=(()=>void dt7948.i(this,"showUserLocalTime"))();static #a=(()=>dt7948.g(this.prototype,"canModeratorsViewEmails",[(0,x.setting)("moderators_view_emails")]))();#i_=(()=>void dt7948.i(this,"canModeratorsViewEmails"))();static #d=(()=>dt7948.g(this.prototype,"postStream",[(0,a.alias)("topic.postStream")]))();#iy=(()=>void dt7948.i(this,"postStream"))();static #g=(()=>dt7948.g(this.prototype,"enoughPostsForFiltering",[(0,a.gte)("topicPostCount",2)]))();#ib=(()=>void dt7948.i(this,"enoughPostsForFiltering"))();static #T=(()=>dt7948.g(this.prototype,"showFilter",[(0,a.and)("viewingTopic","postStream.hasNoFilters","enoughPostsForFiltering")]))();#iv=(()=>void dt7948.i(this,"showFilter"))();static #C=(()=>dt7948.g(this.prototype,"hasUserFilters",[(0,a.gt)("postStream.userFilters.length",0)]))();#iw=(()=>void dt7948.i(this,"hasUserFilters"))();static #A=(()=>dt7948.g(this.prototype,"showMoreBadges",[(0,a.gt)("moreBadgesCount",0)]))();#ik=(()=>void dt7948.i(this,"showMoreBadges"))();static #D=(()=>dt7948.g(this.prototype,"showDelete",[(0,a.and)("viewingAdmin","showName","user.canBeDeleted")]))();#iT=(()=>void dt7948.i(this,"showDelete"))();static #M=(()=>dt7948.g(this.prototype,"linkWebsite",[(0,a.not)("user.isBasic")]))();#iS=(()=>void dt7948.i(this,"linkWebsite"))();static #E=(()=>dt7948.g(this.prototype,"isSuspendedOrHasBio",[(0,a.or)("user.suspend_reason","user.bio_excerpt")]))();#iC=(()=>void dt7948.i(this,"isSuspendedOrHasBio"))();static #P=(()=>dt7948.g(this.prototype,"showCheckEmail",[(0,a.and)("user.staged","canCheckEmails")]))();#iA=(()=>void dt7948.i(this,"showCheckEmail"))();user=null;topicPostCount=null;static #I=(()=>dt7948.g(this.prototype,"showFeaturedTopic",[(0,a.and)("user.featured_topic","siteSettings.allow_featured_topic_on_user_profiles")]))();#iD=(()=>void dt7948.i(this,"showFeaturedTopic"))();get showName(){return this.user.name!==this.user.username}static #j=(()=>dt7948.n(this.prototype,"showName",[(0,r.computed)("user.name","user.username")]))();get canCheckEmails(){return new M.default(this.model,this.canModeratorsViewEmails,this.currentUser).canCheckEmails}static #R=(()=>dt7948.n(this.prototype,"canCheckEmails",[(0,r.computed)("model.id","currentUser.id")]))();hasLocaleOrWebsite(e){return e.location||e.website_name||this.userTimezone}static #B=(()=>dt7948.n(this.prototype,"hasLocaleOrWebsite",[(0,E.default)("user")]))();hasStatus(){return this.siteSettings.enable_user_status&&this.user.status}static #H=(()=>dt7948.n(this.prototype,"hasStatus",[(0,E.default)("user.status")]))();userStatusEmoji(e){return(0,N.emojiUnescape)((0,j.escapeExpression)(`:${e}:`))}static #$=(()=>dt7948.n(this.prototype,"userStatusEmoji",[(0,E.default)("user.status.emoji")]))();staff(e){return e?"staff":""}static #V=(()=>dt7948.n(this.prototype,"staff",[(0,E.default)("user.staff")]))();newUser(e){return 0===e?"new-user":""}static #K=(()=>dt7948.n(this.prototype,"newUser",[(0,E.default)("user.trust_level")]))();nameFirst(e){return(0,I.prioritizeNameInUx)(e)}static #J=(()=>dt7948.n(this.prototype,"nameFirst",[(0,E.default)("user.name")]))();userTimezone(e){if(this.showUserLocalTime)return e.get("user_option.timezone")}static #X=(()=>dt7948.n(this.prototype,"userTimezone",[(0,E.default)("user")]))();formattedUserLocalTime(e){return moment.tz(e).format((0,R.i18n)("dates.time"))}static #Z=(()=>dt7948.n(this.prototype,"formattedUserLocalTime",[(0,E.default)("userTimezone")]))();usernameClass(e){return e?`user-card-${e}`:""}static #ee=(()=>dt7948.n(this.prototype,"usernameClass",[(0,E.default)("username")]))();filterPostsLabel(e,t){return(0,R.i18n)("topic.filter_to",{username:e,count:t})}static #et=(()=>dt7948.n(this.prototype,"filterPostsLabel",[(0,E.default)("username","topicPostCount")]))();publicUserFields(){let e=this.site.get("user_fields");if(!(0,d.isEmpty)(e)){let t=this.get("user.user_fields");return e.filterBy("show_on_user_card",!0).sortBy("position").map(e=>{(0,r.set)(e,"dasherized_name",(0,l.dasherize)(e.get("name")));let i=t?t[e.get("id")]:null;return(0,d.isEmpty)(i)?null:r.default.create({value:i,field:e})}).compact()}}static #ei=(()=>dt7948.n(this.prototype,"publicUserFields",[(0,E.default)("user.user_fields.@each.value")]))();removeNoFollow(e){return e>2&&!this.siteSettings.tl3_links_no_follow}static #es=(()=>dt7948.n(this.prototype,"removeNoFollow",[(0,E.default)("user.trust_level")]))();moreBadgesCount(e,t){return e-t}static #en=(()=>dt7948.n(this.prototype,"moreBadgesCount",[(0,E.default)("user.badge_count","user.featured_user_badges.length")]))();showRecentTimeRead(e,t){return e!==t&&0!==t}static #er=(()=>dt7948.n(this.prototype,"showRecentTimeRead",[(0,E.default)("user.time_read","user.recent_time_read")]))();recentTimeRead(e){return(0,L.durationTiny)(e)}static #ea=(()=>dt7948.n(this.prototype,"recentTimeRead",[(0,E.default)("user.recent_time_read")]))();timeReadTooltip(e,t,i){return e?(0,R.i18n)("time_read_recently_tooltip",{time_read:(0,L.durationTiny)(t),recent_time_read:i}):(0,R.i18n)("time_read_tooltip",{time_read:(0,L.durationTiny)(t)})}static #eo=(()=>dt7948.n(this.prototype,"timeReadTooltip",[(0,E.default)("showRecentTimeRead","user.time_read","recentTimeRead")]))();addBackground(){if(!this.allowBackgrounds||!this.element)return;let e=this.get("user.card_background_upload_url"),t=(0,d.isEmpty)(e)?"":`url(${(0,P.getURLWithCDN)(e)})`;this.element.style.backgroundImage=t}static #el=(()=>dt7948.n(this.prototype,"addBackground",[(0,p.observes)("user.card_background_upload_url")]))();primaryGroup(e){return`group-${e}`}static #eu=(()=>dt7948.n(this.prototype,"primaryGroup",[(0,E.default)("user.primary_group_name")]))();contentHidden(e,t){return e||t}static #ed=(()=>dt7948.n(this.prototype,"contentHidden",[(0,E.default)("user.profile_hidden","user.inactive")]))();_inserted(){this.appEvents.on("dom:clean",this,this.cleanUp)}static #ec=(()=>dt7948.n(this.prototype,"_inserted",[(0,p.on)("didInsertElement")]))();_destroyed(){this.appEvents.off("dom:clean",this,this.cleanUp)}static #ep=(()=>dt7948.n(this.prototype,"_destroyed",[(0,p.on)("didDestroyElement")]))();async _showCallback(e){this.setProperties({visible:!0,loading:!0});let t={forCard:!0,include_post_count_for:this.get("topic.id")};try{let i=await O.default.findByUsername(e,t);return i.topic_post_count&&this.set("topicPostCount",i.topic_post_count[t.include_post_count_for]),this.setProperties({user:i}),this.user.statusManager.trackStatus(),i}catch{this._close()}finally{this.set("loading",null)}}_close(){this.user?.statusManager.stopTrackingStatus(),this.setProperties({user:null,topicPostCount:null}),super._close(...arguments)}cleanUp(){this._close()}refreshRoute(e){this.router.transitionTo({queryParams:{name:e}})}static #eh=(()=>dt7948.n(this.prototype,"refreshRoute",[r.action]))();handleShowUser(e){(0,F.wantsNewWindow)(e)||(e.preventDefault(),this.showUser(this.user),this._close())}static #em=(()=>dt7948.n(this.prototype,"handleShowUser",[r.action]))();close(){this._close()}static #eg=(()=>dt7948.n(this.prototype,"close",[r.action]))();composePM(e,t){this._close(),this.composePrivateMessage(e,t)}static #ef=(()=>dt7948.n(this.prototype,"composePM",[r.action]))();cancelFilter(){this.postStream.cancelFilter(),this.postStream.refresh(),this._close()}static #e_=(()=>dt7948.n(this.prototype,"cancelFilter",[r.action]))();handleFilterPosts(){this.filterPosts(this.user),this._close()}static #ey=(()=>dt7948.n(this.prototype,"handleFilterPosts",[r.action]))();deleteUser(){this.user.delete(),this._close()}static #eb=(()=>dt7948.n(this.prototype,"deleteUser",[r.action]))();checkEmail(e){e.checkEmail()}static #ev=(()=>dt7948.n(this.prototype,"checkEmail",[r.action]))();static #ew=(()=>(0,U.setComponentTemplate)((0,B.createTemplateFactory)({id:"cQMoCFik",block:'[[[1,"\\n"],[41,[30,0,["visible"]],[[[1," "],[8,[32,0],null,[["@name","@outletArgs"],["before-user-card-content",[28,[32,1],null,[["user"],[[30,0,["user"]]]]]]],null],[1,"\\n "],[10,0],[14,0,"card-content"],[12],[1,"\\n"],[41,[30,0,["loading"]],[[[1," "],[10,0],[14,0,"card-row first-row"],[12],[1,"\\n "],[10,0],[14,0,"user-card-avatar"],[12],[1,"\\n "],[10,0],[14,0,"card-avatar-placeholder animated-placeholder placeholder-animation"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"card-row second-row"],[12],[1,"\\n "],[10,0],[14,0,"animated-placeholder placeholder-animation"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"card-row"],[12],[1,"\\n "],[10,0],[14,0,"animated-placeholder placeholder-animation"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"card-row"],[12],[1,"\\n "],[10,0],[14,0,"animated-placeholder placeholder-animation"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"card-row"],[12],[1,"\\n "],[10,0],[14,0,"animated-placeholder placeholder-animation"],[12],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"card-row first-row"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-card-main-info",[28,[32,1],null,[["user","post","contentHidden","handleShowUser"],[[30,0,["user"]],[30,0,["post"]],[30,0,["contentHidden"]],[30,0,["handleShowUser"]]]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"user-card-avatar"],[14,"aria-hidden","true"],[12],[1,"\\n"],[41,[30,0,["contentHidden"]],[[[1," "],[10,1],[14,0,"card-huge-avatar"],[12],[1,[28,[32,2],[[30,0,["user"]],"huge"],null]],[13],[1,"\\n"]],[]],[[[1," "],[11,3],[16,6,[30,0,["user","path"]]],[24,0,"card-huge-avatar"],[24,"tabindex","-1"],[4,[32,3],["click",[30,0,["handleShowUser"]]],null],[12],[1,[28,[32,2],[[30,0,["user"]],"huge"],null]],[13],[1,"\\n"]],[]]],[1,"\\n "],[8,[32,4],null,[["@user"],[[30,0,["user"]]]],null],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-avatar-flair","div",[28,[32,1],null,[["user"],[[30,0,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"names"],[12],[1,"\\n "],[10,0],[15,0,[29,["names__primary\\n ",[30,0,["staff"]],"\\n ",[30,0,["newUser"]],"\\n ",[52,[30,0,["nameFirst"]],"full-name","username"]]]],[12],[1,"\\n"],[41,[30,0,["contentHidden"]],[[[1," "],[10,1],[14,0,"name-username-wrapper"],[12],[1,"\\n "],[1,[52,[30,0,["nameFirst"]],[30,0,["user","name"]],[28,[32,5],[[30,0,["user","username"]]],null]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[11,3],[16,6,[30,0,["user","path"]]],[24,0,"user-profile-link"],[16,"aria-label",[28,[32,6],["user.profile_link"],[["username"],[[30,0,["user","username"]]]]]],[4,[32,3],["click",[30,0,["handleShowUser"]]],null],[12],[1,"\\n "],[10,1],[14,0,"name-username-wrapper"],[12],[1,"\\n "],[1,[52,[30,0,["nameFirst"]],[30,0,["user","name"]],[28,[32,5],[[30,0,["user","username"]]],null]]],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,7],[[30,0,["user"]]],[["currentUser"],[[30,0,["currentUser"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-after-username","div",[28,[32,1],null,[["user","showUser"],[[30,0,["user"]],[30,0,["handleShowUser"]]]]]]],null],[1,"\\n"],[41,[30,0,["nameFirst"]],[[[1," "],[10,0],[14,0,"names__secondary username"],[12],[1,[30,0,["user","username"]]],[13],[1,"\\n"]],[]],[[[41,[30,0,["user","name"]],[[[1," "],[10,0],[14,0,"names__secondary full-name"],[12],[1,[30,0,["user","name"]]],[13],[1,"\\n"]],[]],null]],[]]],[41,[30,0,["user","title"]],[[[1," "],[10,0],[14,0,"names__secondary"],[12],[1,[30,0,["user","title"]]],[13],[1,"\\n"]],[]],null],[41,[30,0,["user","staged"]],[[[1," "],[10,0],[14,0,"names__secondary staged"],[12],[1,[28,[32,6],["user.staged"],null]],[13],[1,"\\n"]],[]],null],[41,[30,0,["hasStatus"]],[[[1," "],[10,0],[14,0,"user-status"],[12],[1,"\\n "],[1,[28,[32,8],[[30,0,["userStatusEmoji"]]],null]],[1,"\\n "],[10,1],[14,0,"user-status__description"],[12],[1,"\\n "],[1,[30,0,["user","status","description"]]],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,9],[[30,0,["user","status","ends_at"]]],[["format"],["tiny"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-post-names","div",[28,[32,1],null,[["user"],[[30,0,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[10,"ul"],[14,0,"usercard-controls"],[12],[1,"\\n"],[41,[30,0,["user","can_send_private_message_to_user"]],[[[1," "],[10,"li"],[14,0,"compose-pm"],[12],[1,"\\n "],[8,[32,10],[[24,0,"btn-primary"]],[["@action","@icon","@label"],[[28,[32,11],[[30,0,["composePM"]],[30,0,["user"]],[30,0,["post"]]],null],"envelope","user.private_message"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-below-message-button","li",[28,[32,1],null,[["user","close"],[[30,0,["user"]],[30,0,["close"]]]]]]],null],[1,"\\n"],[41,[30,0,["showFilter"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,10],[[24,0,"btn-default"]],[["@action","@icon","@translatedLabel"],[[28,[32,11],[[30,0,["handleFilterPosts"]],[30,0,["user"]]],null],"filter",[30,0,["filterPostsLabel"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["hasUserFilters"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,10],null,[["@action","@icon","@label"],[[30,0,["cancelFilter"]],"xmark","topic.filters.cancel"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["showDelete"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,10],[[24,0,"btn-danger"]],[["@action","@icon","@label"],[[28,[32,11],[[30,0,["deleteUser"]],[30,0,["user"]]],null],"triangle-exclamation","admin.user.delete"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-additional-buttons","li",[28,[32,1],null,[["user","close"],[[30,0,["user"]],[30,0,["close"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-additional-controls","div",[28,[32,1],null,[["user","close"],[[30,0,["user"]],[30,0,["close"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["user","profile_hidden"]],[[[1," "],[10,0],[14,0,"card-row second-row"],[12],[1,"\\n "],[10,0],[14,0,"profile-hidden"],[12],[1,"\\n "],[10,1],[14,"role","alert"],[12],[1,[28,[32,6],["user.profile_hidden"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["user","inactive"]],[[[1," "],[10,0],[14,0,"card-row second-row"],[12],[1,"\\n "],[10,0],[14,0,"inactive-user"],[12],[1,"\\n "],[10,1],[14,"role","alert"],[12],[1,[28,[32,6],["user.inactive_user"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]],[1,"\\n"],[41,[30,0,["isSuspendedOrHasBio"]],[[[1," "],[10,0],[14,0,"card-row second-row"],[12],[1,"\\n"],[41,[30,0,["user","suspend_reason"]],[[[1," "],[10,0],[14,0,"suspended"],[12],[1,"\\n "],[10,0],[14,0,"suspension-date"],[12],[1,"\\n "],[1,[28,[32,12],["ban"],null]],[1,"\\n"],[41,[30,0,["user","suspendedForever"]],[[[1," "],[1,[28,[32,6],["user.suspended_permanently"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,6],["user.suspended_notice"],[["date"],[[30,0,["user","suspendedTillDate"]]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"suspension-reason"],[12],[1,"\\n "],[10,1],[14,0,"suspension-reason-title"],[12],[1,[28,[32,6],["user.suspended_reason"],null]],[13],[1,"\\n "],[10,1],[14,0,"suspension-reason-description"],[12],[1,[30,0,["user","suspend_reason"]]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["user","bio_excerpt"]],[[[1," "],[10,0],[14,0,"bio"],[12],[1,"\\n "],[8,[32,13],null,null,[["default"],[[[[1,"\\n "],[1,[28,[32,8],[[30,0,["user","bio_excerpt"]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showFeaturedTopic"]],[[[1," "],[10,0],[14,0,"card-row"],[12],[1,"\\n "],[10,0],[14,0,"featured-topic"],[12],[1,"\\n "],[10,1],[14,0,"desc"],[12],[1,[28,[32,6],["user.featured_topic"],null]],[13],[1,"\\n "],[8,[32,14],null,[["@route","@models"],["topic",[28,[32,15],[[30,0,["user","featured_topic","slug"]],[30,0,["user","featured_topic","id"]]],null]]],[["default"],[[[[1,[28,[32,16],[[28,[32,8],[[30,0,["user","featured_topic","fancy_title"]]],null]],null]]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["hasLocaleOrWebsite"]],[[[1," "],[10,0],[14,0,"card-row"],[12],[1,"\\n "],[10,0],[14,0,"location-and-website"],[12],[1,"\\n"],[41,[30,0,["user","website_name"]],[[[1," "],[10,1],[14,0,"website-name"],[12],[1,"\\n "],[1,[28,[32,12],["globe"],null]],[1,"\\n"],[41,[30,0,["linkWebsite"]],[[[1," "],[10,3],[15,6,[30,0,["user","website"]]],[15,"rel",[29,["noopener ",[52,[51,[30,0,["removeNoFollow"]]],"nofollow ugc"]]]],[14,"target","_blank"],[12],[1,[30,0,["user","website_name"]]],[13],[1,"\\n"]],[]],[[[1," "],[10,1],[15,"title",[30,0,["user","website"]]],[12],[1,[30,0,["user","website_name"]]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[41,[30,0,["user","location"]],[[[1," "],[10,1],[14,0,"location"],[12],[1,"\\n "],[1,[28,[32,12],["location-dot"],null]],[1,"\\n "],[10,1],[12],[1,[30,0,["user","location"]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["showUserLocalTime"]],[[[1," "],[10,1],[14,0,"local-time"],[15,"title",[28,[32,6],["local_time"],null]],[12],[1,"\\n "],[1,[28,[32,12],["far-clock"],null]],[1,"\\n "],[10,1],[12],[1,[30,0,["formattedUserLocalTime"]]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-location-and-website","div",[28,[32,1],null,[["user"],[[30,0,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"card-row metadata-row"],[12],[1,"\\n"],[41,[51,[30,0,["contentHidden"]]],[[[1," "],[10,0],[14,0,"metadata"],[12],[1,"\\n"],[41,[30,0,["user","last_posted_at"]],[[[1," "],[10,0],[14,0,"metadata__last-posted"],[12],[1,"\\n "],[10,1],[14,0,"desc"],[12],[1,[28,[32,6],["last_post"],null]],[13],[1,"\\n "],[1,[28,[32,9],[[30,0,["user","last_posted_at"]]],[["leaveAgo"],["true"]]]],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"metadata__user-created"],[12],[1,"\\n "],[10,1],[14,0,"desc"],[12],[1,[28,[32,6],["joined"],null]],[13],[1,"\\n "],[1,[28,[32,9],[[30,0,["user","created_at"]]],[["leaveAgo"],["true"]]]],[13],[1,"\\n"],[41,[30,0,["user","time_read"]],[[[1," "],[10,0],[14,0,"metadata__time-read"],[15,"title",[30,0,["timeReadTooltip"]]],[12],[1,"\\n "],[10,1],[14,0,"desc"],[12],[1,[28,[32,6],["time_read"],null]],[13],[1,"\\n "],[1,[28,[32,17],[[30,0,["user","time_read"]]],null]],[1,"\\n"],[41,[30,0,["showRecentTimeRead"]],[[[1," "],[10,1],[12],[1,"\\n ("],[1,[28,[32,6],["time_read_recently"],[["time_read"],[[30,0,["recentTimeRead"]]]]]],[1,")\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[41,[30,0,["showCheckEmail"]],[[[1," "],[10,0],[14,0,"metadata__email"],[12],[1,"\\n "],[1,[28,[32,12],["envelope"],[["title"],["user.email.title"]]]],[1,"\\n"],[41,[30,0,["user","email"]],[[[1," "],[1,[30,0,["user","email"]]],[1,"\\n"]],[]],[[[1," "],[8,[32,10],[[24,0,"btn-primary"]],[["@action","@icon","@label"],[[28,[32,11],[[30,0,["checkEmail"]],[30,0,["user"]]],null],"envelope","admin.users.check_email.text"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-metadata","div",[28,[32,1],null,[["user"],[[30,0,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-after-metadata","div",[28,[32,1],null,[["user"],[[30,0,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["publicUserFields"]],[[[1," "],[10,0],[14,0,"card-row"],[12],[1,"\\n "],[10,0],[14,0,"public-user-fields"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["publicUserFields"]]],null]],null],null,[[[41,[30,1,["value"]],[[[1," "],[10,0],[15,0,[29,["public-user-field public-user-field__",[30,1,["field","dasherized_name"]]]]],[12],[1,"\\n "],[10,1],[14,0,"user-field-name"],[12],[1,[30,1,["field","name"]]],[1,":"],[13],[1,"\\n "],[10,1],[14,0,"user-field-value"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["value"]]],null]],null],null,[[[1," "],[10,1],[14,0,"user-field-value-list-item"],[12],[1,"\\n"],[41,[30,1,["field","searchable"]],[[[1," "],[8,[32,14],[[4,[32,3],["click",[28,[32,11],[[30,0,["refreshRoute"]],[30,2]],null]],null]],[["@route","@query"],["users",[28,[32,18],null,[["name"],[[30,2]]]]]],[["default"],[[[[1,[30,2]]],[]]]]],[1,"\\n"]],[]],[[[1," "],[1,[30,2]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[2]],[[[1," "],[1,[30,1,["value"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[1]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["user-card-before-badges","div",[28,[32,1],null,[["user"],[[30,0,["user"]]]]]]],null],[1,"\\n\\n"],[41,[30,0,["showBadges"]],[[[1," "],[10,0],[14,0,"card-row"],[12],[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["user-card-badges",[28,[32,1],null,[["user","post"],[[30,0,["user"]],[30,0,["post"]]]]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["user","featured_user_badges"]],[[[1," "],[10,0],[14,0,"badge-section"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["user","featured_user_badges"]]],null]],null],null,[[[1," "],[8,[32,19],null,[["@badge","@user"],[[30,3,["badge"]],[30,0,["user"]]]],null],[1,"\\n"]],[3]],null],[41,[30,0,["showMoreBadges"]],[[[1," "],[10,1],[14,0,"more-user-badges"],[12],[1,"\\n "],[8,[32,14],null,[["@route","@model"],["user.badges",[30,0,["user"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,6],["badges.more_badges"],[["count"],[[30,0,["moreBadgesCount"]]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["uf","v","ub"],false,["if","unless","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-card-contents.js",scope:()=>[f.default,C.default,b.default,n.on,_.default,S.default,R.i18n,D.default,u.htmlSafe,k.default,m.default,s.fn,w.default,g.default,o.LinkTo,s.array,A.default,T.default,s.hash,y.default],isStrictMode:!0}),this))()},[(0,c.attributeBindings)("ariaLabel:aria-label"),(0,c.classNameBindings)("visible:show","showBadges","user.card_background_upload_url::no-bg","isFixed:fixed","usernameClass","primaryGroup"),(0,c.classNames)("user-card")])},11846:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(42371),n=i(93558),r=i(6809),a=i(62069),o=i(44612),l=i(65038),u=i(19310),d=i(90938),c=i(25815),p=i(41277),h=i(93810),m=i(60110),g=i(29681);let f=(0,a.default)((0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"ZsOSnrNg",block:'[[[1,"\\n "],[10,0],[14,0,"container email-login clearfix"],[12],[1,"\\n "],[10,0],[14,0,"content-wrapper"],[12],[1,"\\n "],[10,0],[14,0,"image-wrapper"],[12],[1,"\\n "],[10,"img"],[15,"src",[30,1,["lockImageUrl"]]],[14,0,"password-reset-img"],[14,"alt",""],[12],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"form"],[12],[1,"\\n"],[41,[30,1,["model","error"]],[[[1," "],[10,0],[14,0,"error-info"],[12],[1,"\\n "],[1,[28,[32,0],[[30,1,["model","error"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","can_login"]],[[[1," "],[10,0],[14,0,"email-login-form"],[12],[1,"\\n"],[41,[30,1,["secondFactorRequired"]],[[[41,[30,1,["model","security_key_required"]],[[[1," "],[8,[32,1],null,[["@setShowSecurityKey","@setSecondFactorMethod","@backupEnabled","@totpEnabled","@otherMethodAllowed","@action"],[[28,[32,2],[[28,[31,1],[[30,1,["model","security_key_required"]]],null]],null],[28,[32,2],[[28,[31,1],[[30,1,["secondFactorMethod"]]],null]],null],[30,1,["model","backup_codes_enabled"]],[30,1,["model","totp_enabled"]],[30,1,["secondFactorRequired"]],[30,1,["authenticateSecurityKey"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,3],null,[["@secondFactorMethod","@secondFactorToken","@backupEnabled","@totpEnabled","@isLogin"],[[30,1,["secondFactorMethod"]],[30,1,["secondFactorToken"]],[30,1,["model","backup_codes_enabled"]],[30,1,["model","totp_enabled"]],true]],[["default"],[[[[1,"\\n "],[8,[32,4],[[16,2,[30,1,["secondFactorToken"]]],[4,[32,5],["input",[28,[32,6],[[28,[32,2],[[28,[31,1],[[30,1,["secondFactorToken"]]],null]],null]],null]],null]],[["@secondFactorMethod"],[[30,1,["secondFactorMethod"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]],[]],[[[1," "],[10,"h2"],[12],[1,[28,[32,7],["email_login.confirm_title"],[["site_name"],[[30,1,["siteSettings","title"]]]]]],[13],[1,"\\n "],[10,2],[12],[1,[28,[32,7],["email_login.logging_in_as"],[["email"],[[30,1,["model","token_email"]]]]]],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[51,[30,1,["model","security_key_required"]]],[[[1," "],[8,[32,8],[[24,0,"btn-primary"],[24,4,"submit"]],[["@label","@action"],["email_login.confirm_button",[30,1,["finishLogin"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["if","mut","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/email-login.js",scope:()=>[r.htmlSafe,d.default,s.fn,l.default,u.default,n.on,c.default,p.i18n,o.default],isStrictMode:!0}),(0,g.default)(void 0,void 0)))},11912:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(62069),n=i(80543),r=i(93810),a=i(60110),o=i(29681);let l=(0,s.default)((0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"aoAa9aw1",block:'[[[8,[32,0],null,[["@reviewable"],[[30,1,["reviewable"]]]],null]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/review-show.js",scope:()=>[n.default],isStrictMode:!0}),(0,o.default)(void 0,void 0)))},11986:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(6809),n=i(37420),r=i(4316),a=i(41277),o=i(93810),l=i(60110),u=i(29681);let d=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"WMGUaN0k",block:'[[[1,"\\n "],[10,0],[14,0,"empty-state"],[12],[1,"\\n "],[10,1],[14,0,"empty-state-title"],[12],[1,"\\n "],[1,[28,[32,0],["user.no_notifications_title"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"empty-state-body"],[12],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,1],[[28,[32,0],["user.no_notifications_body"],[["icon","preferencesUrl"],[[28,[32,2],["bell"],null],[28,[32,3],["/my/preferences/notifications"],null]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-menu/notifications-list-empty-state.js",scope:()=>[a.i18n,s.htmlSafe,n.default,r.default],isStrictMode:!0}),(0,u.default)(void 0,"notifications-list-empty-state:NotificationsListEmptyState"))},12003:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_hasDestroyableChildren:()=>_,assertDestroyablesDestroyed:()=>a,associateDestroyableChild:()=>p,destroy:()=>g,destroyChildren:()=>f,enableDestroyableTracking:()=>r,isDestroyed:()=>b,isDestroying:()=>y,registerDestructor:()=>h,unregisterDestructor:()=>m});var s=i(58602);i(82851);var n=function(e){return e[e.Live=0]="Live",e[e.Destroying=1]="Destroying",e[e.Destroyed=2]="Destroyed",e}(n||{});let r,a,o=new WeakMap;function l(e,t){return null===e?t:Array.isArray(e)?(e.push(t),e):[e,t]}function u(e,t){Array.isArray(e)?e.forEach(t):null!==e&&t(e)}function d(e,t,i){if(Array.isArray(e)&&e.length>1){let i=e.indexOf(t);return e.splice(i,1),e}return null}function c(e){let t=o.get(e);return void 0===t&&(t={parents:null,children:null,eagerDestructors:null,destructors:null,state:n.Live},o.set(e,t)),t}function p(e,t){let i=c(e),s=c(t);return i.children=l(i.children,t),s.parents=l(s.parents,e),t}function h(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=c(e),n=!0===i?"eagerDestructors":"destructors";return s[n]=l(s[n],t),t}function m(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=c(e),n=!0===i?"eagerDestructors":"destructors";s[n]=d(s[n],t,!1)}function g(e){let t=c(e);if(t.state>=n.Destroying)return;let{parents:i,children:r,eagerDestructors:a,destructors:o}=t;t.state=n.Destroying,u(r,g),u(a,t=>t(e)),u(o,t=>(0,s.scheduleDestroy)(e,t)),(0,s.scheduleDestroyed)(()=>{u(i,t=>(function(e,t){let i=c(t);i.state===n.Live&&(i.children=d(i.children,e,!1))})(e,t)),t.state=n.Destroyed})}function f(e){let{children:t}=c(e);u(t,g)}function _(e){let t=o.get(e);return void 0!==t&&null!==t.children}function y(e){let t=o.get(e);return void 0!==t&&t.state>=n.Destroying}function b(e){let t=o.get(e);return void 0!==t&&t.state>=n.Destroyed}},12025:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(83770),n=i(21772),r=i(41277);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#i=(()=>void dt7948.i(this,"router"))();titleToken(){return(0,r.i18n)("groups.manage.membership.title")}afterModel(e){e.get("automatic")&&this.router.replaceWith("group.manage.interaction",e)}}},12076:(e,t,i)=>{"use strict";i.r(t),i.d(t,{a:()=>l});var s=i(63847);i(7950);var n=i(5963),r=i(14675),a=i(64130),o=i(55358);function l(e){return(0,r.F)(new d(e),u)}class u extends Function{readOnly(){return(0,r.E)(this).readOnly(),this}oneWay(){return(0,r.E)(this).oneWay(),this}meta(e){let t=(0,r.E)(this);if(0==arguments.length)return t._meta||{};t._meta=e}}class d extends r.J{altKey;constructor(e){super(),this.altKey=e}setup(e,t,i,s){super.setup(e,t,i,s),r.K.add(this)}get(e,t){let i,a=(0,s.meta)(e),o=(0,n.tagMetaFor)(e),l=(0,n.tagFor)(e,t,o);(0,n.untrack)(()=>{i=(0,r.g)(e,this.altKey)});let u=a.revisionFor(t);return void 0!==u&&(0,n.validateTag)(l,u)||((0,n.updateTag)(l,(0,r.L)(e,this.altKey,o,a)),a.setRevisionFor(t,(0,n.valueForTag)(l)),(0,r.M)(a,t,i)),(0,n.consumeTag)(l),i}set(e,t,i){return(0,a.s)(e,this.altKey,i)}readOnly(){this.set=c}oneWay(){this.set=p}}function c(e,t){throw Error(`Cannot set read-only property '${t}' on object: ${(0,o.default)(e)}`)}function p(e,t,i){return(0,r.d)(e,t,null),(0,a.s)(e,t,i)}},12106:(e,t,i)=>{"use strict";i.d(t,{a:()=>n,i:()=>a,r:()=>o});let s=new WeakMap;function n(e,t,i,n){let r={configurable:!0,enumerable:!0,writable:!0,initializer:null};for(let s of(n&&(r.initializer=n),i))r=s(e,t,r)||r;void 0===r.initializer?Object.defineProperty(e,t,r):function(e,t,i){let n=s.get(e);n||(n=new Map,s.set(e,n)),n.set(t,i)}(e,t,r)}function r(e,t,i){let s={...Object.getOwnPropertyDescriptor(e,t)};for(let n of i)s=n(e,t,s)||s;void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(e):void 0,s.initializer=void 0),Object.defineProperty(e,t,s)}function a(e,t){let i=function(e,t){var i;let n=e.prototype;for(;n;){let e=null==(i=s.get(n))?void 0:i.get(t);if(e)return e;n=n.prototype}}(e.constructor,t);i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(e):void 0})}let o=Object.freeze(Object.defineProperty({__proto__:null,c:function(e,t){return t.reduce((e,t)=>t(e)||e,e)},f:function(e,t,i,s){return n(e.prototype,t,i,s)},g:n,i:a,m:function(e,t,i){let{prototype:s}=e;return r(s,t,i)},n:r,p:function(e,t){for(let[i,s,n]of t)"field"===i?function(e,t,i){let s={configurable:!0,enumerable:!0,writable:!0,initializer:()=>{var i;return null==(i=Object.getOwnPropertyDescriptor(e,t))?void 0:i.value}};for(let n of i)s=n(e,t,s)||s;s.initializer&&(s.value=s.initializer.call(e),delete s.initializer),Object.defineProperty(e,t,s)}(e,s,n):r(e,s,n);return e}},Symbol.toStringTag,{value:"Module"}))},12177:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{default:()=>r});var n=i(3558);async function r(){return s??=(0,n.ajax)("/emojis/search-aliases.json"),await s}},12228:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var s=i(99554),n=i(39964),r=i(45259),a=i(61959),o=i(28791),l=i(14762),u=i(39640),d=i(30145),c=i(96744),p=i(60046);let h={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,h=e.name,m=i.mainAxis,g=i.altAxis,f=i.boundary,_=i.rootBoundary,y=i.altBoundary,b=i.padding,w=i.tether,k=void 0===w||w,T=i.tetherOffset,S=void 0===T?0:T,C=(0,u.A)(t,{boundary:f,rootBoundary:_,padding:b,altBoundary:y}),A=(0,n.A)(t.placement),D=(0,d.A)(t.placement),M=!D,x=(0,r.A)(A),E=function(e){return"x"===e?"y":"x"}(x),L=t.modifiersData.popperOffsets,P=t.rects.reference,F=t.rects.popper,I="function"==typeof S?S(Object.assign({},t.rects,{placement:t.placement})):S,N="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(L){if(void 0===m||m){var R,U="y"===x?s.Mn:s.kb,B="y"===x?s.sQ:s.pG,Y="y"===x?"height":"width",H=L[x],q=H+C[U],$=H-C[B],z=k?-F[Y]/2:0,V=D===s.ni?P[Y]:F[Y],W=D===s.ni?-F[Y]:-P[Y],K=t.elements.arrow,G=k&&K?(0,o.A)(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,c.A)(),Q=J[U],X=J[B],Z=(0,a.u)(0,P[Y],G[Y]),ee=M?P[Y]/2-z-Z-Q-N.mainAxis:V-Z-Q-N.mainAxis,et=M?-P[Y]/2+z+Z+X+N.mainAxis:W+Z+X+N.mainAxis,ei=t.elements.arrow&&(0,l.A)(t.elements.arrow),es=ei?"y"===x?ei.clientTop||0:ei.clientLeft||0:0,en=null!=(R=null==j?void 0:j[x])?R:0,er=(0,a.u)(k?(0,p.jk)(q,H+ee-en-es):q,H,k?(0,p.T9)($,H+et-en):$);L[x]=er,O[x]=er-H}if(void 0!==g&&g){var ea,eo="x"===x?s.Mn:s.kb,el="x"===x?s.sQ:s.pG,eu=L[E],ed="y"===E?"height":"width",ec=eu+C[eo],ep=eu-C[el],eh=-1!==[s.Mn,s.kb].indexOf(A),em=null!=(ea=null==j?void 0:j[E])?ea:0,eg=eh?ec:eu-P[ed]-F[ed]-em+N.altAxis,ef=eh?eu+P[ed]+F[ed]-em-N.altAxis:ep,e_=k&&eh?(0,a.P)(eg,eu,ef):(0,a.u)(k?eg:ec,eu,k?ef:ep);L[E]=e_,O[E]=e_-eu}t.modifiersData[h]=O}},requiresIfExists:["offset"]}},12289:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(36376),n=i(14547),r=i(41277),a=i(66026),o=i(66185);let l=dt7948.c(class extends a.default{get content(){let e=[{id:"removeMember",name:(0,r.i18n)("groups.members.remove_member"),description:(0,r.i18n)("groups.members.remove_member_description",{username:this.get("member.username")}),icon:"user-xmark"}];return this.canAdminGroup?this.member.owner?e.push({id:"removeOwner",name:(0,r.i18n)("groups.members.remove_owner"),description:(0,r.i18n)("groups.members.remove_owner_description",{username:this.get("member.username")}),icon:"shield-halved"}):e.push({id:"makeOwner",name:(0,r.i18n)("groups.members.make_owner"),description:(0,r.i18n)("groups.members.make_owner_description",{username:this.get("member.username")}),icon:"shield-halved"}):this.canEditGroup&&!this.member.owner&&e.push({id:"makeOwner",name:(0,r.i18n)("groups.members.make_owner"),description:(0,r.i18n)("groups.members.make_owner_description",{username:this.get("member.username")}),icon:"shield-halved"}),this.currentUser.staff&&(this.member.primary?e.push({id:"removePrimary",name:(0,r.i18n)("groups.members.remove_primary"),description:(0,r.i18n)("groups.members.remove_primary_description",{username:this.get("member.username")}),icon:"id-card"}):e.push({id:"makePrimary",name:(0,r.i18n)("groups.members.make_primary"),description:(0,r.i18n)("groups.members.make_primary_description",{username:this.get("member.username")}),icon:"id-card"})),e}static #e=(()=>dt7948.n(this.prototype,"content",[(0,s.computed)("member.owner","member.primary")]))()},[(0,o.pluginApiIdentifiers)("group-member-dropdown"),(0,o.selectKitOptions)({icon:"wrench",showFullTitle:!1}),(0,n.classNames)("group-member-dropdown")])},12308:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d,incrementSequence:()=>u});var s=i(72388),n=i(42946),r=i(83770),a=i(55984),o=i(37507);let l=1;function u(){return l++}class d{static #e=(()=>dt7948.g(this.prototype,"store",[r.service]))();#x=(()=>void dt7948.i(this,"store"))();constructor(e){if(e&&!(e instanceof s.default))throw Error("First argument of CoreFabricators constructor must be the owning ApplicationInstance");(0,n.setOwner)(this,e)}post(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("post",{id:e.id||u(),topic:e.topic||this.topic()})}tag(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("tag",{id:e.id||u(),name:e.name??(0,a.getLoadedFaker)().faker.word.noun(),description:e.description??(0,a.getLoadedFaker)().faker.lorem.sentence(),count:e.count??0,pm_count:e.pm_count??0})}topic(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id||u();return this.store.createRecord("topic",{id:t,created_at:e.created_at||moment().subtract(2,"day"),updated_at:e.updated_at||moment().subtract(1,"day"),slug:e.slug||(0,a.getLoadedFaker)().faker.lorem.slug(),title:e.title||(0,a.getLoadedFaker)().faker.commerce.productName(),tags:e.tags||[],category:e.category,image_url:e.image_url??"/images/bubbles-bg.png",excerpt:e.excerpt??(0,o.excerpt)((0,a.getLoadedFaker)().faker.lorem.sentences(5),100)})}category(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name||(0,a.getLoadedFaker)().faker.commerce.product();return this.store.createRecord("category",{id:e.id||u(),color:e.color||(0,a.getLoadedFaker)().faker.color.rgb({prefix:""}),read_restricted:e.read_restricted??!1,name:t,slug:e.slug||t.toLowerCase()})}user(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("user",{id:e.id||u(),username:e.username||(0,a.getLoadedFaker)().faker.internet.domainWord(),name:e.name,avatar_template:"/letter_avatar_proxy/v3/letter/t/41988e/{size}.png",suspended_till:e.suspended_till,can_send_private_message_to_user:e.can_send_private_message_to_user??!0})}bookmark(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("bookmark",{id:e.id||u()})}group(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("group",{name:e.name||(0,a.getLoadedFaker)().faker.word.noun()})}webhook(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.createRecord("web-hook",e)}upload(){return{extension:"jpeg",filesize:126177,height:800,human_filesize:"123 KB",id:u(),original_filename:"avatar.PNG.jpg",retain_hours:null,short_path:"/images/avatar.png",short_url:"upload://yoj8pf9DdIeHRRULyw7i57GAYdz.jpeg",thumbnail_height:320,thumbnail_width:690,url:"/images/avatar.png",width:1920}}}},12329:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(93810),n=i(34229),r=i(14547),a=i(13446),o=i(20936),l=i(33839),u=i(73001),d=i(58259),c=i(53290),p=i(29421),h=i(77598),m=i(53729),g=i(94611),f=i(60110);let _=dt7948.c(class extends s.default{size="small";includeLink=!0;includeAvatar=!0;static #e=(()=>dt7948.g(this.prototype,"dataUsername",[(0,n.alias)("user.username")]))();#iM=(()=>void dt7948.i(this,"dataUsername"))();didInsertElement(){super.didInsertElement(...arguments),this.user?.statusManager?.trackStatus()}willDestroyElement(){super.willDestroyElement(...arguments),this.user?.statusManager?.stopTrackingStatus()}userPath(e){return(0,g.userPath)(e)}static #t=(()=>dt7948.n(this.prototype,"userPath",[(0,h.default)("user.username")]))();nameFirst(e){return(0,m.prioritizeNameInUx)(e)}static #r=(()=>dt7948.n(this.prototype,"nameFirst",[(0,h.default)("user.name")]))();static #a=(()=>(0,s.setComponentTemplate)((0,f.createTemplateFactory)({id:"1z9XsEes",block:'[[[1,"\\n"],[41,[30,0,["includeAvatar"]],[[[1," "],[10,0],[14,0,"user-image"],[12],[1,"\\n "],[10,0],[14,0,"user-image-inner"],[12],[1,"\\n "],[10,3],[15,6,[30,0,["userPath"]]],[15,"data-user-card",[30,1,["username"]]],[14,"aria-hidden","true"],[12],[1,[28,[32,0],[[30,1]],[["imageSize"],["large"]]]],[13],[1,"\\n "],[8,[32,1],null,[["@user"],[[30,1]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"user-detail"],[12],[1,"\\n "],[10,0],[14,0,"name-line"],[12],[1,"\\n"],[41,[30,0,["includeLink"]],[[[1," "],[10,3],[15,6,[30,0,["userPath"]]],[15,"data-user-card",[30,1,["username"]]],[14,"role","heading"],[12],[1,"\\n "],[10,1],[15,0,[52,[30,0,["nameFirst"]],"name","username"]],[12],[1,"\\n "],[1,[52,[30,0,["nameFirst"]],[30,1,["name"]],[28,[32,2],[[30,1,["username"]]],null]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[15,0,[52,[30,0,["nameFirst"]],"username","name"]],[12],[1,"\\n "],[1,[52,[30,0,["nameFirst"]],[28,[32,2],[[30,1,["username"]]],null],[30,1,["name"]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,1],[15,0,[52,[30,0,["nameFirst"]],"name","username"]],[12],[1,"\\n "],[1,[52,[30,0,["nameFirst"]],[30,1,["name"]],[28,[32,2],[[30,1,["username"]]],null]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[15,0,[52,[30,0,["nameFirst"]],"username","name"]],[12],[1,"\\n "],[1,[52,[30,0,["nameFirst"]],[28,[32,2],[[30,1,["username"]]],null],[30,1,["name"]]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[41,[28,[32,3],[[30,2],[30,1,["status"]]],null],[[[1," "],[8,[32,4],null,[["@status","@showDescription"],[[30,1,["status"]],[30,3]]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,5],null,[["@name","@connectorTagName","@outletArgs"],["after-user-name","span",[28,[32,6],null,[["user"],[[30,0,["user"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"title"],[12],[1,[30,1,["title"]]],[13],[1,"\\n"],[41,[48,[30,4]],[[[1," "],[10,0],[14,0,"details"],[12],[1,"\\n "],[18,4,null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,5],null,[["@name","@connectorTagName","@outletArgs"],["after-user-info","div",[28,[32,6],null,[["user"],[[30,0,["user"]]]]]]],null],[1,"\\n "]],["@user","@showStatus","@showStatusDescription","&default"],false,["if","has-block","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-info.js",scope:()=>[d.default,l.default,c.default,a.and,u.default,o.default,p.default],isStrictMode:!0}),this))()},[(0,r.attributeBindings)("dataUsername:data-username"),(0,r.classNameBindings)(":user-info","size")])},12371:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(7950),n=i(25989);let r=!1,a={initialize(){r||((0,s.registerDeprecationHandler)((e,t,i)=>{let s=(0,n.consolePrefix)();i(s?`${s} ${e}`:e,t)}),r=!0)}}},12383:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(6809),n=i(37507),r=i(94611),a=i(76998),o=i(41277);class l{constructor(e){let{notification:t,currentUser:i,siteSettings:s,site:n}=e;this.notification=t,this.currentUser=i,this.siteSettings=s,this.site=n}get classNames(){let e=["notification"];return this.notification.read?e.push("read"):e.push("unread"),this.notificationName&&e.push(this.notificationName.replace(/_/g,"-")),this.notification.is_warning&&e.push("is-warning"),e}get linkHref(){return this.topicId?(0,a.postUrl)(this.notification.slug,this.topicId,this.notification.post_number):this.notification.data.group_id?(0,r.userPath)(`${this.notification.data.username}/messages/${this.notification.data.group_name}`):void 0}get linkTitle(){return this.notificationName?(0,o.i18n)(`notifications.titles.${this.notificationName}`):""}get icon(){return`notification.${this.notificationName}`}get label(){return this.siteSettings.prioritize_full_name_in_ux&&this.notification.acting_user_name||this.username}get description(){let e=(0,n.emojiUnescape)(this.notification.fancy_title);return e?(0,s.htmlSafe)(e):this.notification.data.topic_title}get labelClasses(){return[]}get descriptionClasses(){return[]}get topicId(){return this.notification.topic_id}get username(){return(0,a.formatUsername)(this.notification.data.display_username)}get notificationName(){return this.site.notificationLookup[this.notification.notification_type]}}},12466:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={offset:function(e){let t=e.getBoundingClientRect();return{top:t.top+window.scrollY,left:t.left+window.scrollX}},position:function(e){return{top:e.offsetTop,left:e.offsetLeft}}}},12473:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(83770),n=i(21772);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#i=(()=>void dt7948.i(this,"router"))();beforeModel(){this.router.transitionTo("group.manage.profile")}}},12521:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(93810),n=i(42371),r=i(36376),a=i(34229),o=i(14547),l=i(79651),u=i.n(l),d=i(51663),c=i.n(d),p=i(60110);let h=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"selectedTags",[(0,a.reads)("collection.content.selectedTags.[]")]))();#ix=(()=>void dt7948.i(this,"selectedTags"))();get tags(){if(!this.selectedTags)return[];let e=this.selectedTags;return e.length>=20&&this.selectKit.filter?e=e.filter(e=>e.includes(this.selectKit.filter)):e.length>=20&&(e=e.slice(0,20)),e.map(e=>({value:e,classNames:"selected-tag"}))}static #t=(()=>dt7948.n(this.prototype,"tags",[(0,r.computed)("selectedTags.[]","selectKit.filter")]))();static #r=(()=>(0,s.setComponentTemplate)((0,p.createTemplateFactory)({id:"4+VZ9I+p",block:'[[[1,"\\n"],[41,[30,0,["tags"]],[[[1," "],[10,0],[14,0,"mini-tag-chooser-selected-collection selected-tags"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["tags"]]],null]],null],null,[[[1," "],[8,[32,0],[[24,"tabindex","0"],[16,0,[30,1,["classNames"]]]],[["@translatedTitle","@icon","@action"],[[30,1,["value"]],"xmark",[28,[32,1],[[30,0,["selectKit","deselect"]],[30,1,["value"]]],null]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],[[30,1,["value"]]],[["noHref"],[true]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["tag"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/mini-tag-chooser/selected-collection.js",scope:()=>[u(),n.fn,c()],isStrictMode:!0}),this))()},[(0,o.tagName)("")])},12544:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(12383),n=i(94611),r=i(41277);let a=class extends s.default{get description(){return(0,r.i18n)("notifications.group_message_summary",{count:this.notification.data.inbox_count,group_name:this.notification.data.group_name})}get label(){return null}get linkHref(){return(0,n.userPath)(`${this.notification.data.username}/messages/group/${this.notification.data.group_name}`)}}},12611:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(62069),n=i(44315),r=i(20936),a=i(9015),o=i(41277),l=i(93810),u=i(60110),d=i(29681);let c=(0,s.default)((0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"u5NBEZwF",block:'[[[1,"\\n "],[1,[28,[32,0],["badges-page"],null]],[1,"\\n\\n "],[10,"section"],[12],[1,"\\n "],[10,0],[14,0,"container badges"],[12],[1,"\\n "],[10,"h1"],[12],[1,[28,[32,1],["badges.title"],null]],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,2],null,[["@name","@connectorTagName"],["below-badges-title","div"]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"badge-groups"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["badgeGroups"]]],null]],null],null,[[[1," "],[10,0],[14,0,"badge-grouping"],[12],[1,"\\n "],[10,0],[14,0,"title"],[12],[1,"\\n "],[10,"h2"],[12],[1,[30,2,["badgeGrouping","displayName"]]],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"badge-group-list"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,2,["badges"]]],null]],null],null,[[[1," "],[8,[32,3],null,[["@badge","@username"],[[30,3],[30,1,["currentUser","username"]]]],null],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller","bg","b"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/badges/index.js",scope:()=>[a.default,o.i18n,r.default,n.default],isStrictMode:!0}),(0,d.default)(void 0,void 0)))},12644:(e,t,i)=>{"use strict";i.r(t),i.d(t,{renderSettled:()=>s.r}),i(32537);var s=i(38263);i(97122),i(7950),i(16565),i(31862),i(34408),i(5963),i(56742)},12676:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addBeforeAuthCompleteCallback:()=>c,default:()=>h,resetBeforeAuthCompleteCallbacks:()=>p});var s=i(36376),n=i(31862),r=i(6809),a=i(25910),o=i(94611),l=i(41277);let u=["requires_invite","awaiting_approval","awaiting_activation","admin_not_allowed_from_ip_address","not_allowed_from_ip_address"],d=[];function c(e){d.push(e)}function p(){d.length=0}let h={after:"inject-objects",initialize(e){let t;if(document.getElementById("data-authentication")&&(t=document.getElementById("data-authentication").dataset.authenticationData),t){let i=e.lookup("service:router");i.one("routeDidChange",()=>{(0,n.next)(()=>{let c=JSON.parse(t);if(d.every(e=>e(c)))if("invites.show"===i.currentRouteName)e.lookup("controller:invites-show").authenticationComplete(c);else{let t=e.lookup("service:site-settings"),d=(t,s,r,a)=>{let o={canSignUp:e.lookup("controller:application").canSignUp,flash:t,flashType:s||"success",awaitingApproval:c.awaiting_approval,...r};i.transitionTo("login").then(e=>{Object.keys(o||{}).forEach(t=>{e.controller.set(t,o[t])})}),(0,n.next)(()=>a?.())};if(c.omniauth_disallow_totp)return d((0,l.i18n)("login.omniauth_disallow_totp"),"error",{loginName:c.email,showLoginButtons:!1},()=>document.getElementById("login-account-password").focus());for(let e=0;e{let n={accountEmail:c.email,accountUsername:c.username,accountName:c.name,authOptions:s.default.create(c),skipConfirmation:t.auth_skip_create_confirm};i.transitionTo("signup").then(t=>{let i=t.controller||e.lookup("controller:signup");Object.assign(i,n),i.handleSkipConfirmation()})})}})})}}}},12693:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CompileTimeConstantImpl:()=>c,ConstantsImpl:()=>h,HeapImpl:()=>y,RuntimeConstantsImpl:()=>p,RuntimeHeapImpl:()=>f,RuntimeOpImpl:()=>m,RuntimeProgramImpl:()=>b,artifacts:()=>w,hydrateHeap:()=>_});var s=i(56742),n=i(32537),r=i(82851),a=i(43914);let o={id:"1b32f5c2-7623-43d6-a0ad-9672898920a1",moduleName:"__default__.hbs",block:JSON.stringify([[[i(68658).SexpOpcodes.Yield,1,null]],["&default"],!1,[]]),scope:null,isStrictMode:!0},l=Object.freeze([]),u=(0,r.constants)(l),d=u.indexOf(l);class c{values=(()=>u.slice())();indexMap=(()=>new Map(this.values.map((e,t)=>[e,t])))();value(e){let t=this.indexMap,i=t.get(e);return void 0===i&&(i=this.values.push(e)-1,t.set(e,i)),i}array(e){if(0===e.length)return d;let t=Array(e.length);for(let i=0;i({[d]:l}))();defaultTemplate=(()=>(0,n.templateFactory)(o)())();helperDefinitionCount=0;modifierDefinitionCount=0;componentDefinitionCount=0;helperDefinitionCache=(()=>new WeakMap)();modifierDefinitionCache=(()=>new WeakMap)();componentDefinitionCache=(()=>new WeakMap)();helper(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];let t=arguments.length>2?arguments[2]:void 0,i=this.helperDefinitionCache.get(e);if(void 0===i){let n=(0,s.getInternalHelperManager)(e,t);if(null===n)return this.helperDefinitionCache.set(e,null),null;(0,r.assert)(n,"BUG: expected manager or helper");let a="function"==typeof n?n:n.getHelper(e);i=this.value(a),this.helperDefinitionCache.set(e,i),this.helperDefinitionCount++}return i}modifier(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0,n=this.modifierDefinitionCache.get(e);if(void 0===n){let r=(0,s.getInternalModifierManager)(e,i);if(null===r)return this.modifierDefinitionCache.set(e,null),null;n=this.value({resolvedName:t,manager:r,state:e}),this.modifierDefinitionCache.set(e,n),this.modifierDefinitionCount++}return n}component(e,t,i){let n=this.componentDefinitionCache.get(e);if(void 0===n){let o=(0,s.getInternalComponentManager)(e,i);if(null===o)return this.componentDefinitionCache.set(e,null),null;(0,r.assert)(o,"BUG: expected manager");let l,u=(0,s.capabilityFlagsFrom)(o.getCapabilities(e)),d=(0,s.getComponentTemplate)(e),c=null;void 0!==(l=(0,s.managerHasCapability)(o,u,a.InternalComponentCapabilities.dynamicLayout)?d?.(t):d?.(t)??this.defaultTemplate)&&(l=(0,r.unwrapTemplate)(l),c=(0,s.managerHasCapability)(o,u,a.InternalComponentCapabilities.wrapped)?l.asWrappedLayout():l.asLayout()),(n={resolvedName:null,handle:-1,manager:o,capabilities:u,state:e,compilable:c}).handle=this.value(n),this.componentDefinitionCache.set(e,n),this.componentDefinitionCount++}return n}resolvedComponent(e,t){let i=this.componentDefinitionCache.get(e);if(void 0===i){let{manager:n,state:o,template:l}=e,u=(0,s.capabilityFlagsFrom)(n.getCapabilities(e)),d=null;(0,s.managerHasCapability)(n,u,a.InternalComponentCapabilities.dynamicLayout)||(l=l??this.defaultTemplate),null!==l&&(l=(0,r.unwrapTemplate)(l),d=(0,s.managerHasCapability)(n,u,a.InternalComponentCapabilities.wrapped)?l.asWrappedLayout():l.asLayout()),(i={resolvedName:t,handle:-1,manager:n,capabilities:u,state:o,compilable:d}).handle=this.value(i),this.componentDefinitionCache.set(e,i),this.componentDefinitionCount++}return(0,r.expect)(i,"BUG: resolved component definitions cannot be null")}getValue(e){return(0,r.assert)(e>=0,`cannot get value for handle: ${e}`),this.values[e]}getArray(e){let t=this.reifiedArrs,i=t[e];if(void 0===i){let s=this.getValue(e);for(let[e,t]of(i=Array(s.length),(0,r.enumerate)(s)))i[e]=this.getValue(t);t[e]=i}return i}}class m{offset=0;constructor(e){this.heap=e}get size(){return 1+((this.heap.getbyaddr(this.offset)&a.OPERAND_LEN_MASK)>>a.ARG_SHIFT)}get isMachine(){return this.heap.getbyaddr(this.offset)&a.MACHINE_MASK?1:0}get type(){return this.heap.getbyaddr(this.offset)&a.TYPE_MASK}get op1(){return this.heap.getbyaddr(this.offset+1)}get op2(){return this.heap.getbyaddr(this.offset+2)}get op3(){return this.heap.getbyaddr(this.offset+3)}}var g=function(e){return e[e.Allocated=0]="Allocated",e[e.Freed=1]="Freed",e[e.Purged=2]="Purged",e[e.Pointer=3]="Pointer",e}(g||{});class f{heap;table;constructor(e){let{buffer:t,table:i}=e;this.heap=new Int32Array(t),this.table=i}getaddr(e){return(0,r.unwrap)(this.table[e])}getbyaddr(e){return(0,r.expect)(this.heap[e],"Access memory out of bounds of the heap")}sizeof(e){return this.table,-1}}function _(e){return new f(e)}class y{offset=0;heap;handleTable;handleState;handle=0;constructor(){this.heap=new Int32Array(1048576),this.handleTable=[],this.handleState=[]}pushRaw(e){this.sizeCheck(),this.heap[this.offset++]=e}pushOp(e){this.pushRaw(e)}pushMachine(e){this.pushRaw(e|a.MACHINE_MASK)}sizeCheck(){let{heap:e}=this;if(this.offset===this.heap.length){let t=new Int32Array(e.length+1048576);t.set(e,0),this.heap=t}}getbyaddr(e){return(0,r.unwrap)(this.heap[e])}setbyaddr(e,t){this.heap[e]=t}malloc(){return this.handleTable.push(this.offset),this.handleTable.length-1}finishMalloc(e){}size(){return this.offset}getaddr(e){return(0,r.unwrap)(this.handleTable[e])}sizeof(e){return this.handleTable,-1}free(e){this.handleState[e]=g.Freed}compact(){let e=0,{handleTable:t,handleState:i,heap:s}=this;for(let n=0;n0&&void 0!==arguments[0]?arguments[0]:this.offset,t=function(e,t,i){if(void 0!==e.slice)return e.slice(t,i);let s=new Int32Array(i);for(;t{"use strict";i.r(t),i.d(t,{decorateHashtags:()=>p,fetchUnseenHashtagsInContext:()=>u,generatePlaceholderHashtagHTML:()=>c,linkSeenHashtagsInContext:()=>d});var s=i(3558),n=i(45017),r=i(69275),a=i(37507);let o=new Set,l={};function u(e,t){return(0,s.ajax)("/hashtags",{data:{slugs:t,order:e}}).then(e=>{Object.keys(e).forEach(t=>{l[t]=l[t]||{},e[t].forEach(e=>{l[t][e.ref]=l[t][e.ref]||e})}),t.forEach(o.add,o)})}function d(e,t){let i=[...t?.querySelectorAll("span.hashtag-raw")||[]];if(0===i.length)return[];let s=[...i.map(e=>e.innerText.replace("#",""))];return i.forEach((t,i)=>{!function(e,t,i){t.forEach(t=>{let s=l[t]?.[e];s&&c(t,i,{preloaded:!0,...s})})}(s[i],e,t)}),s.map(e=>e.toLowerCase()).uniq().filter(e=>!o.has(e))}function c(e,t,i){let s=document.createElement("a");s.classList.add("hashtag-cooked"),s.href=i.relative_url,s.dataset.type=e,s.dataset.id=i.id,s.dataset.slug=i.slug,s.dataset.style_type=i.style_type,"icon"===i.style_type&&(s.dataset.icon=i.icon),"emoji"===i.style_type&&(s.dataset.emoji=i.emoji);let n=new r.getHashtagTypeClasses()[e];s.innerHTML=`${n.generateIconHTML(i)}${(0,a.emojiUnescape)(i.text)}`,t.replaceWith(s)}function p(e,t){e.querySelectorAll(".hashtag-cooked").forEach(e=>{let i=e.querySelector(".hashtag-icon-placeholder"),s=e.dataset.type,a=(0,r.getHashtagTypeClasses)()[s];if(i&&a){let r={icon:t.hashtag_icons[s],id:e.dataset.id,slug:e.dataset.slug,style_type:e.dataset.styleType||"square"};"icon"===r.style_type&&(r.icon=e.dataset.icon),"emoji"===r.style_type&&(r.emoji=e.dataset.emoji);let o=a.generateIconHTML(r).trim();i.replaceWith((0,n.default)(o)[0])}e.setAttribute("aria-label",`${e.innerText.trim()}`)})}},12759:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(2802),n=i(83770);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#i=(()=>void dt7948.i(this,"router"))();beforeModel(){this.router.transitionTo("tag.show",this.paramsFor("tags.legacyRedirect").tag_id)}}},12800:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(21044),n=i(41277),r=i(93810),a=i(60110);class o extends s.default{adjustAggregatedData(e){let t=[];return e.forEach(e=>{let i=new Date(`${e.viewed_at}T00:00:00Z`),s=i.toLocaleDateString(n.default.currentBcp47Locale,{year:"numeric",month:"2-digit",day:"2-digit"}),r=t.find(e=>e.dateStr===s);r?r.views+=e.views:t.push({dateStr:s,views:e.views,localDate:i})}),t.map(e=>({viewed_at:e.localDate.toISOString().split("T")[0],views:e.views}))}formatDate(e){return e.toLocaleDateString(n.default.currentBcp47Locale,{month:"2-digit",day:"2-digit"})}get updatedStats(){let e=this.adjustAggregatedData(this.args.views.stats).map(e=>{let t=new Date(new Date(`${e.viewed_at}T00:00:00`).getTime());return{...e,statDate:t,label:this.formatDate(t)}}),t=e[e.length-1];return t.views=Math.max(t.views,1),e}static #e=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"bsuWRop4",block:'[[[1,"\\n "],[10,0],[14,0,"topic-views__wrapper"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["updatedStats"]]],null]],null],null,[[[1," "],[10,0],[14,0,"topic-views"],[12],[1,"\\n "],[10,0],[14,0,"topic-views__count"],[12],[1,"\\n "],[1,[30,1,["views"]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"topic-views__date"],[12],[1,"\\n "],[1,[30,1,["label"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "]],["stat"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/topic-views.js",isStrictMode:!0}),this))()}},12802:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(93558),r=i(36376),a=i(83770),o=i(44612),l=i(76998),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"sidebarState",[a.service]))();#tD=(()=>void dt7948.i(this,"sidebarState"))();get shouldDisplay(){return this.sidebarState.currentPanel.searchable}get sidebarShortcutCombo(){return`${(0,l.translateModKey)("Meta")}+/`}onClick(e){return e?.preventDefault(),this.sidebarState.currentPanel.onSearchClick}static #t=(()=>dt7948.n(this.prototype,"onClick",[r.action]))();static #r=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"LtV4tHSP",block:'[[[1,"\\n"],[41,[30,0,["shouldDisplay"]],[[[1," "],[10,0],[14,0,"sidebar-search"],[12],[1,"\\n "],[10,0],[14,0,"sidebar-search__input-container"],[12],[1,"\\n "],[8,[32,0],[[24,0,"btn-transparent sidebar-search__icon"]],[["@action","@icon"],[[30,0,["onClick"]],"magnifying-glass"]],null],[1,"\\n"],[1," "],[11,"input"],[16,"placeholder",[28,[32,1],["sidebar.search"],null]],[24,"enterkeyhint","done"],[24,0,"sidebar-search__input"],[24,4,"text"],[4,[32,2],["mousedown",[30,0,["onClick"]]],null],[12],[13],[1,"\\n "],[10,1],[14,0,"sidebar-search__shortcut-hint"],[12],[1,[30,0,["sidebarShortcutCombo"]]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/search.js",scope:()=>[o.default,u.i18n,n.on],isStrictMode:!0}),this))()}},12859:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addListener:()=>s.G,removeListener:()=>s.H,sendEvent:()=>s.k}),i(63847),i(71620),i(7950),i(12003),i(5963),i(56742);var s=i(14675);i(5840)},12873:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(36376),n=i(42946),r=i(31862),a=i(83770),o=i(94204),l=i(24447);class u extends a.default{registeredTooltips=(()=>new o.TrackedSet)();async show(){let e;if(arguments[0]instanceof l.default){if(e=arguments[0],e.expanded)return}else e=[...this.registeredTooltips].find(e=>e.trigger===arguments[0]),e||(e=new l.default((0,n.getOwner)(this),arguments[1]),e.trigger=arguments[0],e.detachedTrigger=!0);if(e.options.identifier)for(let t of this.registeredTooltips)t.options.identifier===e.options.identifier&&t!==e&&await this.close(t);return e.expanded?void await this.close(e):(this.registeredTooltips.has(e)||this.registeredTooltips.add(e),e.expanded=!0,await new Promise(e=>(0,r.schedule)("afterRender",e)),e)}static #e=(()=>dt7948.n(this.prototype,"show",[s.action]))();async close(e){"string"==typeof e&&(e=[...this.registeredTooltips].find(t=>t.options.identifier===e)),e&&(e.expanded=!1,this.registeredTooltips.has(e)&&this.registeredTooltips.delete(e),await new Promise(e=>(0,r.schedule)("afterRender",e)))}static #t=(()=>dt7948.n(this.prototype,"close",[s.action]))();register(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new l.default((0,n.getOwner)(this),{...t,listeners:!0});return i.trigger=e,i.detachedTrigger=!0,i}static #r=(()=>dt7948.n(this.prototype,"register",[s.action]))()}},12908:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(15330),n=i(94611);let r={initialize(e){let t=document.querySelector("meta[property='og:title']"),i=document.querySelector("meta[property='og:url']"),r=document.querySelector("meta[name='twitter:title']"),a=document.querySelector("meta[name='twitter:url']"),o=document.querySelector("link[rel='canonical']");e.lookup("service:app-events").on("page:changed",e=>{let{title:l,url:u}=e,d=(0,s.getAbsoluteURL)(u);t?.setAttribute("content",l),i?.setAttribute("content",d),r?.setAttribute("content",l),a?.setAttribute("content",d),o&&o.setAttribute("href",(0,n.getCanonicalUrl)(d))})}}},13014:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>P});var s=i(93810),n=i(42371),r=i(36376),a=i(34229),o=i(42946),l=i(14547),u=i(13446),d=i(65899),c=i(44612),p=i(78312),h=i(20936),m=i(60720),g=i(29588),f=i(85703),_=i(37420),y=i(29421),b=i(77598),w=i(88687),k=i(88808),T=i(49045),S=i(22588),C=i(41277),A=i(66026),D=i(67123),M=i(2021),x=i(37256),E=i(60110);function L(e,t){return e.bind(t)}let P=dt7948.c(class extends s.default{elementId="topic-footer-buttons";role="region";static #e=(()=>dt7948.g(this.prototype,"inlineButtons",[(0,k.getTopicFooterButtons)()]))();#iE=(()=>void dt7948.i(this,"inlineButtons"))();static #t=(()=>dt7948.g(this.prototype,"inlineDropdowns",[(0,T.getTopicFooterDropdowns)()]))();#iL=(()=>void dt7948.i(this,"inlineDropdowns"))();static #r=(()=>dt7948.g(this.prototype,"canSendPms",[(0,a.alias)("currentUser.can_send_private_messages")]))();#iP=(()=>void dt7948.i(this,"canSendPms"))();static #a=(()=>dt7948.g(this.prototype,"canInviteTo",[(0,a.alias)("topic.details.can_invite_to")]))();#iF=(()=>void dt7948.i(this,"canInviteTo"))();static #d=(()=>dt7948.g(this.prototype,"canDefer",[(0,a.alias)("currentUser.user_option.enable_defer")]))();#iI=(()=>void dt7948.i(this,"canDefer"))();static #g=(()=>dt7948.g(this.prototype,"inviteDisabled",[(0,a.or)("topic.archived","topic.closed","topic.deleted")]))();#iN=(()=>void dt7948.i(this,"inviteDisabled"))();canArchive(e,t){return e&&t}static #T=(()=>dt7948.n(this.prototype,"canArchive",[(0,b.default)("canSendPms","topic.isPrivateMessage")]))();get inlineActionables(){return this.inlineButtons.filterBy("dropdown",!1).filterBy("anonymousOnly",!1).concat(this.inlineDropdowns).sortBy("priority").reverse()}static #C=(()=>dt7948.n(this.prototype,"inlineActionables",[(0,r.computed)("inlineButtons.[]","inlineDropdowns.[]")]))();get topicBookmarkManager(){return new S.default((0,o.getOwner)(this),this.topic)}static #A=(()=>dt7948.n(this.prototype,"topicBookmarkManager",[(0,r.computed)("topic")]))();dropdownButtons(e){return e.filter(e=>e.dropdown)}static #D=(()=>dt7948.n(this.prototype,"dropdownButtons",[(0,b.default)("inlineButtons.[]","topic.assigned_to_user")]))();loneDropdownButton(e){return 1===e.length?e[0]:null}static #M=(()=>dt7948.n(this.prototype,"loneDropdownButton",[(0,b.default)("dropdownButtons.[]")]))();showNotificationsButton(e){return!e||this.canSendPms}static #E=(()=>dt7948.n(this.prototype,"showNotificationsButton",[(0,b.default)("topic.isPrivateMessage")]))();showNotificationUserTip(e){return e>=w.NotificationLevels.TRACKING}static #P=(()=>dt7948.n(this.prototype,"showNotificationUserTip",[(0,b.default)("topic.details.notification_level")]))();archiveIcon(e){return e?"envelope":"folder"}static #I=(()=>dt7948.n(this.prototype,"archiveIcon",[(0,b.default)("topic.message_archived")]))();archiveTitle(e){return e?"topic.move_to_inbox.help":"topic.archive_message.help"}static #j=(()=>dt7948.n(this.prototype,"archiveTitle",[(0,b.default)("topic.message_archived")]))();archiveLabel(e){return e?"topic.move_to_inbox.title":"topic.archive_message.title"}static #R=(()=>dt7948.n(this.prototype,"archiveLabel",[(0,b.default)("topic.message_archived")]))();showBookmarkLabel(e){return!e}static #B=(()=>dt7948.n(this.prototype,"showBookmarkLabel",[(0,b.default)("topic.isPrivateMessage")]))();static #H=(()=>(0,s.setComponentTemplate)((0,E.createTemplateFactory)({id:"8w6hxbQ3",block:'[[[1,"\\n "],[10,0],[14,0,"topic-footer-main-buttons"],[12],[1,"\\n "],[10,0],[14,0,"topic-footer-main-buttons__actions"],[12],[1,"\\n "],[8,[32,0],null,[["@topic","@toggleMultiSelect","@showTopicSlowModeUpdate","@deleteTopic","@recoverTopic","@toggleFeaturedOnProfile","@toggleClosed","@toggleArchived","@toggleVisibility","@showTopicTimerModal","@showFeatureTopic","@showChangeTimestamp","@resetBumpDate","@convertToPublicTopic","@convertToPrivateMessage","@buttonClasses"],[[30,0,["topic"]],[30,0,["toggleMultiSelect"]],[30,0,["showTopicSlowModeUpdate"]],[30,0,["deleteTopic"]],[30,0,["recoverTopic"]],[30,0,["toggleFeaturedOnProfile"]],[30,0,["toggleClosed"]],[30,0,["toggleArchived"]],[30,0,["toggleVisibility"]],[30,0,["showTopicTimerModal"]],[30,0,["showFeatureTopic"]],[30,0,["showChangeTimestamp"]],[30,0,["resetBumpDate"]],[30,0,["convertToPublicTopic"]],[30,0,["convertToPrivateMessage"]],"topic-footer-button"]],null],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["inlineActionables"]]],null]],null],null,[[[41,[28,[32,1],[[30,1,["type"]],"inline-button"],null],[[[41,[28,[32,1],[[30,1,["id"]],"bookmark"],null],[[[1," "],[8,[32,2],null,[["@showLabel","@bookmarkManager","@buttonClasses"],[[30,0,["showBookmarkLabel"]],[30,0,["topicBookmarkManager"]],"btn-default topic-footer-button"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,3],[[16,1,[28,[32,4],["topic-footer-button-",[30,1,["id"]]],null]],[16,0,[28,[32,5],["btn-default","topic-footer-button",[30,1,["classNames"]]],null]]],[["@action","@icon","@translatedLabel","@translatedTitle","@translatedAriaLabel","@disabled"],[[30,1,["action"]],[30,1,["icon"]],[30,1,["label"]],[30,1,["title"]],[30,1,["ariaLabel"]],[30,1,["disabled"]]]],null],[1,"\\n"]],[]]]],[]],[[[1," "],[8,[32,6],[[16,0,[28,[32,5],["topic-footer-dropdown",[30,1,["classNames"]]],null]]],[["@id","@value","@content","@onChange","@options"],[[28,[32,4],["topic-footer-dropdown-",[30,1,["id"]]],null],[30,1,["value"]],[30,1,["content"]],[28,[32,7],[[30,1,["action"]],[30,0]],null],[28,[32,8],null,[["icon","none","disabled"],[[30,1,["icon"]],[30,1,["noneItem"]],[30,1,["disabled"]]]]]]],null],[1,"\\n"]],[]]]],[1]],null],[1,"\\n"],[41,[30,0,["site","mobileView"]],[[[41,[30,0,["loneDropdownButton"]],[[[1," "],[8,[32,3],[[16,1,[28,[32,4],["topic-footer-button-",[30,0,["loneDropdownButton","id"]]],null]],[16,0,[28,[32,5],["btn-default","topic-footer-button",[30,0,["loneDropdownButton","classNames"]]],null]]],[["@action","@icon","@translatedLabel","@translatedTitle","@translatedAriaLabel","@disabled"],[[30,0,["loneDropdownButton","action"]],[30,0,["loneDropdownButton","icon"]],[30,0,["loneDropdownButton","label"]],[30,0,["loneDropdownButton","title"]],[30,0,["loneDropdownButton","ariaLabel"]],[30,0,["loneDropdownButton","disabled"]]]],null],[1,"\\n"]],[]],[[[41,[28,[32,9],[[30,0,["dropdownButtons","length"]],1],null],[[[1," "],[8,[32,10],[[24,0,"topic-footer-button btn-default"]],[["@modalForMobile","@identifier"],[true,"topic-footer-mobile-dropdown"]],[["trigger","content"],[[[[1,"\\n "],[1,[28,[32,11],["ellipsis-vertical"],null]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,12],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["dropdownButtons"]]],null]],null],null,[[[1," "],[8,[30,2,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,3],[[16,1,[28,[32,4],["topic-footer-button-",[30,3,["id"]]],null]],[16,0,[28,[32,5],["btn-default","topic-footer-button",[30,3,["classNames"]]],null]]],[["@action","@icon","@translatedLabel","@translatedTitle","@translatedAriaLabel","@disabled"],[[30,3,["action"]],[30,3,["icon"]],[30,3,["label"]],[30,3,["title"]],[30,3,["ariaLabel"]],[30,3,["disabled"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[3]],null],[1," "]],[2]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],null]],[]]],[1,"\\n "],[8,[32,13],null,[["@pinned","@topic","@appendReason"],[[30,0,["topic","pinned"]],[30,0,["topic"]],false]],null],[1,"\\n\\n"],[41,[30,0,["showNotificationsButton"]],[[[1," "],[8,[32,14],null,[["@topic","@appendReason"],[[30,0,["topic"]],false]],null],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,15],null,[["@name","@outletArgs","@connectorTagName"],["topic-footer-main-buttons-before-create",[28,[32,16],null,[["topic"],[[30,0,["topic"]]]]],"span"]],null],[1,"\\n\\n"],[41,[30,0,["topic","details","can_create_post"]],[[[1," "],[8,[32,3],[[24,0,"btn-primary create topic-footer-button"]],[["@icon","@action","@label","@title"],["reply",[30,0,["replyToPost"]],"topic.reply.title","topic.reply.help"]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,15],null,[["@name","@outletArgs","@connectorTagName"],["after-topic-footer-main-buttons",[28,[32,16],null,[["topic"],[[30,0,["topic"]]]]],"span"]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["site","desktopView"]],[[[1," "],[8,[32,13],null,[["@pinned","@topic","@appendReason"],[[30,0,["topic","pinned"]],[30,0,["topic"]],true]],null],[1,"\\n\\n"],[41,[30,0,["showNotificationsButton"]],[[[1," "],[8,[32,14],[[24,0,"notifications-button-footer"]],[["@topic","@expanded"],[[30,0,["topic"]],true]],null],[1,"\\n\\n"],[41,[30,0,["showNotificationUserTip"]],[[[1," "],[8,[32,17],null,[["@id","@triggerSelector","@titleText","@contentText","@priority"],["topic_notification_levels",".notifications-button-footer details",[28,[32,18],["user_tips.topic_notification_levels.title"],null],[28,[32,18],["user_tips.topic_notification_levels.content"],null],800]],null],[1,"\\n"]],[]],null]],[]],null]],[]],null],[1,"\\n "],[8,[32,15],null,[["@name","@outletArgs","@connectorTagName"],["after-topic-footer-buttons",[28,[32,16],null,[["topic"],[[30,0,["topic"]]]]],"span"]],null],[1,"\\n "]],["actionable","dropdown","button"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-footer-buttons.js",scope:()=>[m.default,u.eq,d.default,c.default,n.concat,f.default,A.default,L,n.hash,u.gt,x.default,_.default,p.default,D.default,M.default,h.default,y.default,g.default,C.i18n],isStrictMode:!0}),this))()},[(0,l.attributeBindings)("role")])},13048:(e,t,i)=>{"use strict";i.r(t),i.d(t,{clearRegisteredTabs:()=>_,default:()=>y,registeredTabs:()=>f});var s=i(21044),n=i(77632),r=i(42371),a=i(36376),o=i(83770),l=i(13446),u=i(44612),d=i(20832),c=i(85703),p=i(45577),h=i(93810),m=i(60110);let g=(0,i(89689).A)(i(77632)).cached,f=[];function _(){f.length=0}class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"keyValueStore",[o.service]))();#w=(()=>void dt7948.i(this,"keyValueStore"))();static #r=(()=>dt7948.g(this.prototype,"selectedTab",[n.tracked],function(){return this.initialTab}))();#ij=(()=>void dt7948.i(this,"selectedTab"))();get initialTab(){let e=this.keyValueStore.get(`more-topics-preference-${this.context}`);return(e||=this.keyValueStore.get("more-topics-list-preference"))&&this.tabs.find(t=>t.id===e)||this.tabs[0]}get activeTab(){return this.tabs.find(e=>e===this.selectedTab)||this.tabs[0]}get context(){return this.args.topic.get("isPrivateMessage")?"pm":"topic"}get tabs(){let e=f.filter(e=>e.condition({topic:this.args.topic,context:this.context}));return(0,p.applyValueTransformer)("more-topics-tabs",e,{currentContext:this.context,user:this.currentUser,topic:this.args.topic})}static #a=(()=>dt7948.n(this.prototype,"tabs",[g]))();selectTab(e){this.selectedTab=e,this.keyValueStore.set({key:`more-topics-preference-${this.context}`,value:e.id})}static #d=(()=>dt7948.n(this.prototype,"selectTab",[a.action]))();isActiveTab(e){return e?.id===this.selectedTab?.id}static #g=(()=>dt7948.n(this.prototype,"isActiveTab",[a.action]))();static #T=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"/YO2HlOL",block:'[[[1,"\\n "],[10,0],[14,0,"more-topics__container"],[12],[1,"\\n"],[41,[28,[32,0],[[30,0,["tabs","length"]],1],null],[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,"ul"],[14,0,"nav nav-pills"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["tabs"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,1],[[16,0,[52,[28,[30,0,["isActiveTab"]],[[30,1]],null],"active"]],[16,"tabindex",[52,[28,[30,0,["isActiveTab"]],[[30,1]],null],-1,0]]],[["@action","@translatedLabel","@translatedTitle","@icon"],[[28,[32,2],[[30,0,["selectTab"]],[30,1]],null],[30,1,["name"]],[30,1,["name"]],[30,1,["icon"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["activeTab"]],[[[1," "],[10,0],[15,0,[28,[32,3],["more-topics__lists",[52,[28,[32,4],[[30,0,["tabs","length"]],1],null],"single-list"]],null]],[12],[1,"\\n "],[8,[30,0,["activeTab","component"]],null,[["@topic"],[[30,2]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,2,["suggestedTopics","length"]],[[[1," "],[8,[32,5],null,[["@topic"],[[30,2]]],null],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n "]],["tab","@topic"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/more-topics.js",scope:()=>[l.gt,u.default,r.fn,c.default,l.eq,d.default],isStrictMode:!0}),this))()}},13072:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(95386);let n=new Proxy(i(32986).default,{get:(e,t,i)=>("string"==typeof t&&(0,s.deprecateUntil)(`importing ${t} from the 'ember' barrel file is deprecated.`,s.DEPRECATIONS.DEPRECATE_IMPORT_EMBER(t)),Reflect.get(e,t,i)),getOwnPropertyDescriptor:(e,t)=>("string"==typeof t&&(0,s.deprecateUntil)(`importing ${t} from the 'ember' barrel file is deprecated.`,s.DEPRECATIONS.DEPRECATE_IMPORT_EMBER(t)),Object.getOwnPropertyDescriptor(e,t))})},13084:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(6809),n=i(62069),r=i(93810),a=i(60110),o=i(29681);let l=(0,n.default)((0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"dvlqScBF",block:'[[[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[1,[28,[32,0],[[30,1,["model"]]],null]],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/unknown.js",scope:()=>[s.htmlSafe],isStrictMode:!0}),(0,o.default)(void 0,void 0)))},13150:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(93810),n=i(85703),r=i(41277),a=i(60110),o=i(29681);let l=(0,s.setComponentTemplate)((0,a.createTemplateFactory)({id:"+ZIE8+2G",block:'[[[1,"\\n "],[11,0],[16,0,[28,[32,0],["controls",[30,1]],null]],[17,2],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,1],[[16,"disabled",[30,3]]],[["@type","@checked"],["checkbox",[30,4]]],null],[1,"\\n\\n"],[41,[30,5],[[[1," "],[1,[28,[32,2],[[30,6]],[["count"],[[30,5]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],[[30,6]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],["@class","&attrs","@disabled","@checked","@labelCount","@labelKey"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/preference-checkbox.js",scope:()=>[n.default,s.Input,r.i18n],isStrictMode:!0}),(0,o.default)(void 0,"preference-checkbox:PreferenceCheckbox"))},13211:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(93558),r=i(36376),a=i(80021),o=i(93810),l=i(60110);class u extends s.default{static controlType="toggle";handleInput(){this.args.field.set(!this.args.field.value)}static #e=(()=>dt7948.n(this.prototype,"handleInput",[r.action]))();static #t=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"WA+g4Vh1",block:'[[[1,"\\n "],[8,[32,0],[[16,"disabled",[30,1,["disabled"]]],[24,0,"form-kit__control-toggle"],[4,[32,1],["click",[30,0,["handleInput"]]],null]],[["@state"],[[30,1,["value"]]]],null],[1,"\\n "]],["@field"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/toggle.js",scope:()=>[a.default,n.on],isStrictMode:!0}),this))()}},13248:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(36376),n=i(83770),r=i(89120),a=i(3558),o=i(63779),l=i(21847),u=i(76998),d=i(39689),c=i(21430),p=i(27099),h=i(21772),m=i(41277);class g extends h.default{static #e=(()=>dt7948.g(this.prototype,"modal",[n.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #t=(()=>dt7948.g(this.prototype,"router",[n.service]))();#i=(()=>void dt7948.i(this,"router"))();static #r=(()=>dt7948.g(this.prototype,"session",[n.service]))();#tt=(()=>void dt7948.i(this,"session"))();templateName="discovery/categories";controllerName="discovery/categories";async findCategories(e){let t,i=this.site.desktopView&&this.siteSettings.desktop_category_page_style;return this.site.categories.length>o.MAX_UNOPTIMIZED_CATEGORIES&&(i="categories_only"),"categories_and_latest_topics"===i||"categories_and_latest_topics_created_date"===i?t=await this._findCategoriesAndTopics("latest",e):"categories_and_top_topics"===i?t=await this._findCategoriesAndTopics("top",e):(l.default.remove("topic_list"),t=await c.default.list(this.store,e)),t}async model(e){let t;return e.category_slug_path_with_id&&(t=this.site.lazy_load_categories?await d.default.asyncFindBySlugPathWithID(e.category_slug_path_with_id):d.default.findBySlugPathWithID(e.category_slug_path_with_id)),this.findCategories(t).then(e=>{let t=this.topicTrackingState;return t&&(t.sync(e,"categories"),t.trackIncoming("categories")),e})}_loadBefore(e){let t=this.session;return function(i,s){this.topics.removeObjects(this.topics.filter(e=>i.includes(e.id)));let n=`/latest.json?topic_ids=${i.join(",")}`;return(0,a.ajax)({url:n,data:this.params}).then(i=>{let n=new Set;this.topics.forEach(e=>n.add(e.id));let r=0;p.default.topicsFrom(e,i).forEach(e=>{!n.has(e.id)&&(e.set("highlight",!0),this.topics.insertAt(r,e),r++)}),s&&t.set("topicList",this)})}}async _findCategoriesAndTopics(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.hash)({categoriesList:l.default.getAndRemove("categories_list"),topicsList:l.default.getAndRemove("topic_list")}).then(i=>{if(i.categoriesList?.category_list&&i.topicsList?.topic_list)return{...i.categoriesList,...i.topicsList};{let i={};return t&&(i.parent_category_id=t.id),(0,a.ajax)(`/categories_and_${e}`,{data:i})}}).then(e=>(e.topic_list?.top_tags&&this.site.set("top_tags",e.topic_list.top_tags),c.default.create({store:this.store,categories:c.default.categoriesFrom(this.store,e,t),parentCategory:t,topics:p.default.topicsFrom(this.store,e),can_create_category:e.category_list.can_create_category,can_create_topic:e.category_list.can_create_topic,loadBefore:this._loadBefore(this.store)})))}titleToken(){if("categories"!==(0,u.defaultHomepage)())return(0,m.i18n)("filters.categories.title")}setupController(e){e.setProperties({discovery:this.controllerFor("discovery")}),super.setupController(...arguments)}triggerRefresh(){this.refresh()}static #a=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))()}},13281:(e,t,i)=>{"use strict";function s(e){let t=Object.create(e);return t._dict=null,delete t._dict,t}i.r(t),i.d(t,{m:()=>s})},13323:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(37338),n=i(83770);class r extends n.default{static #e=(()=>dt7948.g(this.prototype,"activeTooltip",[s.tracked]))();#iO=(()=>void dt7948.i(this,"activeTooltip"))()}},13338:(e,t,i)=>{"use strict";i.r(t),i.d(t,{applyDecorators:()=>b,changeSetting:()=>T,createWidget:()=>C,createWidgetFrom:()=>S,decorateWidget:()=>y,default:()=>D,deleteFromRegistry:()=>f,queryRegistry:()=>g,reopenWidget:()=>A,resetDecorators:()=>w,traverseCustomWidgets:()=>function e(t,i){t&&("CustomWidget"===t.__type&&i(t),(t.children||(t.vnode?t.vnode.children:[])).forEach(t=>{e(t,i)}))}});var s=i(36376),n=i(42946),r=i(65053),a=i(89120),o=i(29054),l=i(131),u=i(66831),d=i(25989),c=i(80902),p=i(33028),h=i(41277);let m={};function g(e){return m[e]}function f(e){return delete m[e]}let _={};function y(e,t){let i=e.split(":")[0];m[i]||console.error((0,d.consolePrefix)(),`decorateWidget: Could not find widget '${i}' in registry`),_[e]??=[],_[e].push(t)}function b(e,t,i,s){let n=_[`${e.name}:${t}`]||[];if(n.length){let t=new c.default(e,i,s);return n.map(e=>e(t))}return[]}function w(){Object.keys(_).forEach(e=>delete _[e])}let k={};function T(e,t,i){k[e]=k[e]||{},k[e][t]=i}function S(e,t,i){let s=class extends e{};return s.prototype.__type="CustomWidget",t&&(m[t]=s),i.name=t,i.template&&(i.html=i.template),Object.keys(i).forEach(e=>s.prototype[e]=i[e]),s}function C(e,t){return S(D,e,t)}function A(e,t){let i=m[e];return i?(t.template&&(t.html=t.template),Object.keys(t).forEach(e=>{let s=i.prototype[e];s instanceof Function?i.prototype[e]=function(){var i=this;let n=Object.create(this);n._super=function(){for(var e=arguments.length,t=Array(e),n=0;n{this[(0,r.camelize)(e)]=t.lookup(`service:${e}`)}),this.init(this.attrs),this.name){let e=k[this.name];e&&Object.keys(e).forEach(t=>this.settings[t]=e[t])}}init(){}transform(){return{}}defaultState(){return{}}destroy(){}get(e){return(0,s.get)(this,e)}render(e){let{dirtyKeys:t}=this;if(e&&e.key&&e.key===this.key)this.state=e.state;else if(this.state=this.defaultState(this.attrs,this.state),!(0,l.isProduction)()){if("object"!=typeof this.state)throw Error("defaultState must return an object");else if(Object.keys(this.state).length>0&&!this.key)throw Error(`you need a key when using state in ${this.name}`)}if(this.mergeState&&(this.state=(0,u.deepMerge)(this.state,this.mergeState)),e){let i=t.optionsFor(e.key);if(e.shadowTree&&(this.shadowTree=!0,!i.dirty&&!t.allDirty()))return e.vnode;e.key&&t.renderedKey(e.key);let s=i.onRefresh;s&&this.sendWidgetAction(s,i.refreshArg)}return this.draw(o.h,this.attrs,this.state)}_findAncestorWithProperty(e){let t=this;for(;t;){if(t[e])return t;t=t.parentWidget}}_findView(){let e=this._findAncestorWithProperty("_emberView");if(e)return e._emberView}lookupWidgetClass(e){let t=m[e];return t||(this.register?(t=this.register.lookupFactory(`widget:${e}`))&&t.class?t.class:null:(console.error("couldn't find register"),null))}attach(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=this.lookupWidgetClass(e);if(!n&&s.fallbackWidgetName&&(n=this.lookupWidgetClass(s.fallbackWidgetName)),n){let e=new n(t,this.register,i);return e.parentWidget=this,e.dirtyKeys=this.dirtyKeys,s.tagName&&(e.tagName=s.tagName),e}throw Error(`Couldn't find ${e} or fallback ${s.fallbackWidgetName}`)}didRenderWidget(){}willRerenderWidget(){}scheduleRerender(){let e=this;for(;e;){e.shadowTree&&this.dirtyKeys.keyDirty(e.key);let t=e._rerenderable;if(t)return t.queueRerender();e=e.parentWidget}}_sendComponentAction(e,t){let i,s=this._findView();if(s){let n;if("function"==typeof e)n=e;else if(!(n=s.get(e)))return void console.warn(`${e} not found`);if("string"==typeof n)s[n](t),i=a.Promise.resolve();else{let e=s.get("target")||s;(i=n.call(e,t))&&i.then||(i=a.Promise.resolve(i))}}return this.rerenderResult(()=>i)}findAncestorModel(){let e=this._findAncestorWithProperty("model");if(e)return e.model}rerenderResult(e){this.scheduleRerender();let t=e();return t&&t.then?t.then(()=>this.scheduleRerender()):t}sendWidgetEvent(e,t){let i=`${e}Event`;return this.rerenderResult(()=>{let e=this._findAncestorWithProperty(i);if(e)return e[i](t)})}callWidgetFunction(e,t){let i=this._findAncestorWithProperty(e);if(i)return i[e].call(i,t)}sendWidgetAction(e,t){return this.rerenderResult(()=>{let i=this._findAncestorWithProperty(e);return i?i[e].call(i,t):this._sendComponentAction(e,t||this.findAncestorModel())})}html(){}draw(e,t,i){let s={};if(this.buildClasses){let e=this.buildClasses(t,i)||[];Array.isArray(e)||(e=[e]);let n=b(this,"classNames",t,i);n&&n.length&&(e=e.concat(n)),e.length&&(s.className=e.join(" "))}this.buildId&&(s.id=this.buildId(t)),this.buildAttributes&&(s.attributes=this.buildAttributes(t)),this.keyUp&&(s["widget-key-up"]=new p.WidgetKeyUpHook(this)),this.keyDown&&(s["widget-key-down"]=new p.WidgetKeyDownHook(this)),this.clickOutside&&(s["widget-click-outside"]=new p.WidgetClickOutsideHook(this)),this.click&&(s["widget-click"]=new p.WidgetClickHook(this)),this.doubleClick&&(s["widget-double-click"]=new p.WidgetDoubleClickHook(this)),this.mouseDownOutside&&(s["widget-mouse-down-outside"]=new p.WidgetMouseDownOutsideHook(this)),this.drag&&(s["widget-drag"]=new p.WidgetDragHook(this)),this.input&&(s["widget-input"]=new p.WidgetInputHook(this)),this.change&&(s["widget-change"]=new p.WidgetChangeHook(this)),this.mouseDown&&(s["widget-mouse-down"]=new p.WidgetMouseDownHook(this)),this.mouseUp&&(s["widget-mouse-up"]=new p.WidgetMouseUpHook(this)),this.mouseMove&&(s["widget-mouse-move"]=new p.WidgetMouseMoveHook(this)),this.mouseOver&&(s["widget-mouse-over"]=new p.WidgetMouseOverHook(this)),this.pointerOver&&(s["widget-pointer-over"]=new p.WidgetPointerOverHook(this)),this.pointerOut&&(s["widget-pointer-out"]=new p.WidgetPointerOutHook(this)),this.mouseOut&&(s["widget-mouse-out"]=new p.WidgetMouseOutHook(this)),this.touchStart&&(s["widget-touch-start"]=new p.WidgetTouchStartHook(this)),this.touchEnd&&(s["widget-touch-end"]=new p.WidgetTouchEndHook(this)),this.touchMove&&(s["widget-touch-move"]=new p.WidgetTouchMoveHook(this));let n=s.attributes||{};s.attributes=n,this.title&&("function"==typeof this.title?n.title=this.title(t,i):n.title=(0,h.i18n)(this.title)),this.transformed=this.transform(this.attrs,this.state);let r=this.html(t,i);if(this.name){let e=b(this,"before",t,i)||[],s=b(this,"after",t,i)||[];r=e.concat(r).concat(s)}return(0,o.h)(this.tagName||"div",s,r)}}D.prototype.type="Thunk"},13353:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(83770),n=i(15330),r=i(47182),a=i(20453);let o=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[s.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[s.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #r=(()=>dt7948.g(this.prototype,"session",[s.service]))();#tt=(()=>void dt7948.i(this,"session"))();static #a=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();contextCount=0;notificationCount=0;#iR=null;#iU=null;getTitle(){return this.#iR}setTitle(e){this.#iR=e,this._renderTitle()}setFocus(e){let{session:t}=this;t.hasFocus=e,t.hasFocus&&this.#iU&&this.updateContextCount(0),this.#iU=!1,t.hasFocus&&(this.notificationCount=0),this.appEvents.trigger("discourse:focus-changed",t.hasFocus),this._renderFavicon(),this._renderTitle()}updateContextCount(e){this.contextCount=e,this._renderTitle()}updateNotificationCount(e){let{forced:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(!this.session.hasFocus||t)&&(this.notificationCount=e,this._renderFavicon(),this._renderTitle())}incrementBackgroundContextCount(){this.session.hasFocus||(this.#iU=!0,this.contextCount+=1,this._renderFavicon(),this._renderTitle())}_displayCount(){return this.currentUser?.user_option.title_count_mode==="notifications"?this.notificationCount:this.contextCount}_renderTitle(){let e=this.#iR||this.siteSettings.title,t=this._displayCount(),i=this.currentUser?.user_option.dynamic_favicon;if(this.currentUser?.isInDoNotDisturb()){document.title=e;return}t>0&&!i&&(e=`(${t}) ${e}`),document.title=e}_renderFavicon(){if(this.currentUser?.user_option.dynamic_favicon){let e=this.siteSettings.site_favicon_url;/^http/.test(e)&&(e=(0,n.default)("/favicon/proxied?"+encodeURIComponent(e))),(0,a.default)(e,this._displayCount())}}},[r.disableImplicitInjections])},13395:(e,t,i)=>{"use strict";let s,n,r,a,o,l;i.r(t),i.d(t,{_impl:()=>l,registerAsyncHelper:()=>s,registerHelper:()=>n,registerTestImplementation:()=>d,registerWaiter:()=>r,unregisterHelper:()=>a,unregisterWaiter:()=>o});let u=()=>{throw Error("Attempted to use test utilities, but `ember-testing` was not included")};function d(e){let{Test:t}=e;s=t.registerAsyncHelper,n=t.registerHelper,r=t.registerWaiter,a=t.unregisterHelper,o=t.unregisterWaiter,l=e}s=u,n=u,r=u,a=u,o=u},13497:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{configureEyeline:()=>d,default:()=>c});var r=i(36376),a=i(53921),o=i(27494),l=i.n(o),u=i(131);function d(e){e?(s=e.skipUpdate,n=e.rootElement):(s=(0,u.isTesting)(),n=null)}d();class c extends r.default.extend(a.default){update(){if(s)return;let e=n?l()(n).scrollTop():l()(window).scrollTop(),t=e+(n?l()(n).height():l()(window).height()),i=l()(this.selector),r=n?i.last().position():i.last().offset(),a=r&&r.top<=t&&r.top>=e;return i.each((s,r)=>{let o=l()(r),u=n?o.position().top:o.offset().top,d=u+o.height(),c=!1;return!o.is(":visible")||(u<=t&&u>=e&&(c=!0),u<=e&&d>=t&&(c=!0),a&&d>=e&&(c=!0),!c||!!a&&(s===i.length-1?this.trigger("sawBottom",{detail:o}):void 0))})}}},13506:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(62354),n=i(39284);let r=(0,s.default)("group",n.INBOX_FILTER)},13528:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(42371),n=i(62069),r=i(44612),a=i(41277),o=i(65644),l=i(93810),u=i(60110),d=i(29681);let c=(0,n.default)((0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"5ARwDBgY",block:'[[[1,"\\n "],[10,0],[14,0,"reviewable-settings"],[12],[1,"\\n "],[10,"h4"],[12],[1,[28,[32,0],["review.settings.priorities.title"],null]],[13],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["scoreTypes"]]],null]],null],null,[[[1," "],[10,0],[14,0,"reviewable-score-type"],[12],[1,"\\n "],[10,0],[14,0,"title"],[12],[1,[30,2,["title"]]],[13],[1,"\\n "],[10,0],[14,0,"field"],[12],[1,"\\n "],[8,[32,1],null,[["@value","@content","@onChange"],[[30,2,["reviewable_priority"]],[30,1,["settings","reviewable_priorities"]],[28,[32,2],[[28,[31,2],[[30,2,["reviewable_priority"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1,"\\n "],[10,0],[14,0,"reviewable-score-type"],[12],[1,"\\n "],[10,0],[14,0,"title"],[12],[13],[1,"\\n "],[10,0],[14,0,"field"],[12],[1,"\\n "],[8,[32,3],[[24,0,"btn-primary save-settings"]],[["@icon","@label","@action","@disabled"],["check","review.settings.save_changes",[30,1,["save"]],[30,1,["saving"]]]],null],[1,"\\n\\n"],[41,[30,1,["saved"]],[[[1," "],[10,1],[14,0,"saved"],[12],[1,[28,[32,0],["review.settings.saved"],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller","rst"],false,["each","-track-array","mut","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/review-settings.js",scope:()=>[a.i18n,o.default,s.fn,r.default],isStrictMode:!0}),(0,d.default)(void 0,void 0)))},13635:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(93558),r=i(36376),a=i(34143),o=i(83770),l=i(20936),u=i(29421),d=i(76998),c=i(16993),p=i(93810),h=i(60110);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"header",[o.service]))();#tT=(()=>void dt7948.i(this,"header"))();keyDown(e){"Escape"===e.key?(e.preventDefault(),this.args.cancelled()):"Enter"===e.key&&(e.ctrlKey||e.metaKey||(0,d.isiPad)()&&e.altKey)&&(e.preventDefault(),this.args.save(void 0,e))}static #t=(()=>dt7948.n(this.prototype,"keyDown",[r.action]))();handleIntersectionChange(e){this.header.mainTopicTitleVisible=e.isIntersecting||e.boundingClientRect.top>0}static #r=(()=>dt7948.n(this.prototype,"handleIntersectionChange",[r.action]))();handleTitleDestroy(){this.header.mainTopicTitleVisible=!1}static #a=(()=>dt7948.n(this.prototype,"handleTitleDestroy",[r.action]))();static #d=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"0/v2pNxy",block:'[[[1,"\\n"],[1," "],[11,0],[24,1,"topic-title"],[24,0,"container"],[4,[32,0],["keydown",[30,0,["keyDown"]]],null],[4,[32,1],[[30,0,["handleIntersectionChange"]]],null],[4,[32,2],[[30,0,["handleTitleDestroy"]]],null],[12],[1,"\\n "],[10,0],[14,0,"title-wrapper"],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,3],null,[["@name","@connectorTagName","@outletArgs"],["topic-title","div",[28,[32,4],null,[["model"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@model","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-title.js",scope:()=>[n.on,c.default,a.default,l.default,u.default],isStrictMode:!0}),this))()}},13641:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Result:()=>l,default:()=>d});var s=i(36376),n=i(65053),r=i(3558),a=i(85752);let o=["plugin","theme","embeddable-host","web-hook","web-hook-event","flagged-topic"];function l(e,t){this.payload=e,this.responseJson=t,this.target=null}function u(e){if(404===e.status)throw Error("404: "+e.responseText);throw e}class d extends s.default{primaryKey="id";jsonMode=!1;storageKey(e,t,i){if(i&&i.cacheKey)return i.cacheKey;let s=Math.abs((0,a.hashString)(JSON.stringify(t)));return`${e}_${s}`}basePath(e,t){return o.includes(t.replace("_","-"))?"/admin/":"/"}appendQueryParams(e,t,i){if(t)if("object"!=typeof t)return`${e}/${encodeURIComponent(t)}${i||""}`;else{let s=new URLSearchParams;for(let[e,i]of Object.entries(t))i&&s.set(e,i);let n=s.toString();if(n)return`${e}${i||""}?${n}`}return e}pathFor(e,t,i){let s=this.basePath(e,t,i)+(0,n.underscore)(e.pluralize(this.apiNameFor(t)));return this.appendQueryParams(s,i)}apiNameFor(e){return e}findAll(e,t,i){return(0,r.ajax)(this.pathFor(e,t,i)).catch(u)}find(e,t,i){return(0,r.ajax)(this.pathFor(e,t,i)).catch(u)}findStale(e,t,i,s){if(this.cached)return this.cached[this.storageKey(t,i,s)]}cacheFind(e,t,i,s,n){this.cached=this.cached||{},this.cached[this.storageKey(t,i,s)]=n}getPayload(e,t){let i={method:e,data:t};return this.jsonMode&&(i.contentType="application/json",i.data=JSON.stringify(t)),i}update(e,t,i,s){let a={},o=(0,n.underscore)(this.apiNameFor(t));return a[o]=s,(0,r.ajax)(this.pathFor(e,t,i),this.getPayload("PUT",a)).then(function(e){return new l(e[o],e)})}createRecord(e,t,i){let s={},a=(0,n.underscore)(this.apiNameFor(t));return s[a]=i,(0,r.ajax)(this.pathFor(e,t),this.getPayload("POST",s)).then(function(e){return new l(e[a],e)})}destroyRecord(e,t,i){return(0,r.ajax)(this.pathFor(e,t,i.get(this.primaryKey)),{type:"DELETE"})}}},13667:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+i},week:{dow:1,doy:4}})})},13673:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(20936),r=i(29421),a=i(93810),o=i(60110);class l extends s.default{static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"K+Jz+69p",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs","@defaultGlimmer"],["group-info-details",[28,[32,1],null,[["group"],[[30,1]]]],true]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"group-info-details"],[12],[1,"\\n "],[10,1],[14,0,"group-info-name"],[12],[1,"\\n "],[1,[30,0,["name"]]],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["mentionName"]],[[[1," "],[10,1],[14,0,"group-info-mention-name"],[12],[1,"\\n "],[1,[30,0,["mentionName"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@group"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-info.js",scope:()=>[n.default,r.default],isStrictMode:!0}),this))();get names(){let{full_name:e,display_name:t,name:i}=this.args.group;return[...new Set([e,t,i].filter(Boolean))]}get name(){return this.names[0]}get mentionName(){return this.names[1]?`@${this.names[1]}`:null}}},13697:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(42371),r=i(93558),a=i(36376),o=i(83770),l=i(94611),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"search",[o.service]))();#tC=(()=>void dt7948.i(this,"search"))();get topicResults(){return this.args.resultTypes.filter(e=>"topic"===e.type)[0]}get moreUrl(){return this.topicResults.moreUrl&&this.topicResults.moreUrl()}transitionToMoreUrl(e){return e.preventDefault(),this.args.closeSearchMenu(),l.default.routeTo(this.moreUrl),!1}static #t=(()=>dt7948.n(this.prototype,"transitionToMoreUrl",[a.action]))();moreOfType(e){this.args.updateTypeFilter(e),this.args.triggerSearch(),this.args.closeSearchMenu()}static #r=(()=>dt7948.n(this.prototype,"moreOfType",[a.action]))();onKeyup(e){if("Escape"===e.key)return this.args.closeSearchMenu(),e.preventDefault(),!1;this.search.handleArrowUpOrDown(e)}static #a=(()=>dt7948.n(this.prototype,"onKeyup",[a.action]))();static #d=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"EWhXHYPn",block:'[[[1,"\\n"],[41,[30,0,["topicResults"]],[[[1," "],[11,0],[24,0,"search-menu__show-more"],[4,[32,0],["keyup",[30,0,["onKeyup"]]],null],[12],[1,"\\n"],[41,[30,0,["moreUrl"]],[[[1," "],[11,3],[16,6,[30,0,["moreUrl"]]],[24,0,"filter search-link"],[4,[32,0],["click",[30,0,["transitionToMoreUrl"]]],null],[12],[1,"\\n "],[1,[28,[32,1],["more"],null]],[1,"...\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["topicResults","more"]],[[[1," "],[11,3],[24,0,"filter search-link"],[4,[32,0],["click",[28,[32,2],[[30,0,["moreOfType"]],[30,0,["topicResults","type"]]],null]],null],[12],[1,"\\n "],[1,[28,[32,1],["more"],null]],[1,"...\\n "],[13],[1,"\\n "]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/results/more-link.js",scope:()=>[r.on,u.i18n,n.fn],isStrictMode:!0}),this))()}},13876:(e,t,i)=>{"use strict";i.r(t),i.d(t,{af:()=>s.af,ak:()=>s.ak,am:()=>s.am,an:()=>s.an,ar:()=>s.ar,ars:()=>s.ars,as:()=>s.as,asa:()=>s.asa,ast:()=>s.ast,az:()=>s.az,bal:()=>s.bal,be:()=>s.be,bem:()=>s.bem,bez:()=>s.bez,bg:()=>s.bg,bho:()=>s.bho,blo:()=>s.blo,bm:()=>s.bm,bn:()=>s.bn,bo:()=>s.bo,br:()=>s.br,brx:()=>s.brx,bs:()=>s.bs,ca:()=>s.ca,ce:()=>s.ce,ceb:()=>s.ceb,cgg:()=>s.cgg,chr:()=>s.chr,ckb:()=>s.ckb,cs:()=>s.cs,cy:()=>s.cy,da:()=>s.da,de:()=>s.de,doi:()=>s.doi,dsb:()=>s.dsb,dv:()=>s.dv,dz:()=>s.dz,ee:()=>s.ee,el:()=>s.el,en:()=>s.en,eo:()=>s.eo,es:()=>s.es,et:()=>s.et,eu:()=>s.eu,fa:()=>s.fa,ff:()=>s.ff,fi:()=>s.fi,fil:()=>s.fil,fo:()=>s.fo,fr:()=>s.fr,fur:()=>s.fur,fy:()=>s.fy,ga:()=>s.ga,gd:()=>s.gd,gl:()=>s.gl,gsw:()=>s.gsw,gu:()=>s.gu,guw:()=>s.guw,gv:()=>s.gv,ha:()=>s.ha,haw:()=>s.haw,he:()=>s.he,hi:()=>s.hi,hnj:()=>s.hnj,hr:()=>s.hr,hsb:()=>s.hsb,hu:()=>s.hu,hy:()=>s.hy,ia:()=>s.ia,id:()=>s.id,ig:()=>s.ig,ii:()=>s.ii,io:()=>s.io,is:()=>s.is,it:()=>s.it,iu:()=>s.iu,ja:()=>s.ja,jbo:()=>s.jbo,jgo:()=>s.jgo,jmc:()=>s.jmc,jv:()=>s.jv,jw:()=>s.jw,ka:()=>s.ka,kab:()=>s.kab,kaj:()=>s.kaj,kcg:()=>s.kcg,kde:()=>s.kde,kea:()=>s.kea,kk:()=>s.kk,kkj:()=>s.kkj,kl:()=>s.kl,km:()=>s.km,kn:()=>s.kn,ko:()=>s.ko,ks:()=>s.ks,ksb:()=>s.ksb,ksh:()=>s.ksh,ku:()=>s.ku,kw:()=>s.kw,ky:()=>s.ky,lag:()=>s.lag,lb:()=>s.lb,lg:()=>s.lg,lij:()=>s.lij,lkt:()=>s.lkt,ln:()=>s.ln,lo:()=>s.lo,lt:()=>s.lt,lv:()=>s.lv,mas:()=>s.mas,mg:()=>s.mg,mgo:()=>s.mgo,mk:()=>s.mk,ml:()=>s.ml,mn:()=>s.mn,mo:()=>s.mo,mr:()=>s.mr,ms:()=>s.ms,mt:()=>s.mt,my:()=>s.my,nah:()=>s.nah,naq:()=>s.naq,nb:()=>s.nb,nd:()=>s.nd,ne:()=>s.ne,nl:()=>s.nl,nn:()=>s.nn,nnh:()=>s.nnh,no:()=>s.no,nqo:()=>s.nqo,nr:()=>s.nr,nso:()=>s.nso,ny:()=>s.ny,nyn:()=>s.nyn,om:()=>s.om,or:()=>s.or,os:()=>s.os,osa:()=>s.osa,pa:()=>s.pa,pap:()=>s.pap,pcm:()=>s.pcm,pl:()=>s.pl,prg:()=>s.prg,ps:()=>s.ps,pt:()=>s.pt,pt_PT:()=>s.pt_PT,rm:()=>s.rm,ro:()=>s.ro,rof:()=>s.rof,ru:()=>s.ru,rwk:()=>s.rwk,sah:()=>s.sah,saq:()=>s.saq,sat:()=>s.sat,sc:()=>s.sc,scn:()=>s.scn,sd:()=>s.sd,sdh:()=>s.sdh,se:()=>s.se,seh:()=>s.seh,ses:()=>s.ses,sg:()=>s.sg,sh:()=>s.sh,shi:()=>s.shi,si:()=>s.si,sk:()=>s.sk,sl:()=>s.sl,sma:()=>s.sma,smi:()=>s.smi,smj:()=>s.smj,smn:()=>s.smn,sms:()=>s.sms,sn:()=>s.sn,so:()=>s.so,sq:()=>s.sq,sr:()=>s.sr,ss:()=>s.ss,ssy:()=>s.ssy,st:()=>s.st,su:()=>s.su,sv:()=>s.sv,sw:()=>s.sw,syr:()=>s.syr,ta:()=>s.ta,te:()=>s.te,teo:()=>s.teo,th:()=>s.th,ti:()=>s.ti,tig:()=>s.tig,tk:()=>s.tk,tl:()=>s.tl,tn:()=>s.tn,to:()=>s.to,tpi:()=>s.tpi,tr:()=>s.tr,ts:()=>s.ts,tzm:()=>s.tzm,ug:()=>s.ug,uk:()=>s.uk,und:()=>s.und,ur:()=>s.ur,uz:()=>s.uz,ve:()=>s.ve,vec:()=>s.vec,vi:()=>s.vi,vo:()=>s.vo,vun:()=>s.vun,wa:()=>s.wa,wae:()=>s.wae,wo:()=>s.wo,xh:()=>s.xh,xog:()=>s.xog,yi:()=>s.yi,yo:()=>s.yo,yue:()=>s.yue,zh:()=>s.zh,zu:()=>s.zu});var s=i(78958)},13901:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(21044),n=i(77632),r=i(36376),a=i(41825),o=i(34143),l=i(46297),u=i(29054),d=i(44612),c=i(28431),p=i(54583),h=i(41277),m=i(93810),g=i(60110);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"editor",[n.tracked],function(){return null}))();#iB=(()=>void dt7948.i(this,"editor"))();static #t=(()=>dt7948.g(this.prototype,"value",[n.tracked],function(){return this.args.model.value}))();#tV=(()=>void dt7948.i(this,"value"))();static #r=(()=>dt7948.g(this.prototype,"flash",[n.tracked]))();#b=(()=>void dt7948.i(this,"flash"))();static #a=(()=>dt7948.g(this.prototype,"flashType",[n.tracked]))();#iY=(()=>void dt7948.i(this,"flashType"))();get settingName(){return this.args.model.settingName.replace(/\_/g," ")}teardownJsonEditor(){this.editor?.destroy()}static #d=(()=>dt7948.n(this.prototype,"teardownJsonEditor",[r.action]))();saveChanges(){let e=this.editor.validate();e.length?(this.flash=e.mapBy("message").join(` `),this.flashType="error"):(this.value=JSON.stringify(this.editor.getValue()),this.args.model.updateValue(this.value),this.args.closeModal())}static #g=(()=>dt7948.n(this.prototype,"saveChanges",[r.action]))();async buildJsonEditor(e){let t=i.e(195).then(i.t.bind(i,29195,23));(0,l.YZ)(t);let{JSONEditor:s}=await t;s.defaults.options.theme="barebones",s.defaults.iconlibs={discourseIcons:_},s.defaults.options.iconlib="discourseIcons",this.editor=new s(e,{schema:this.args.model.jsonSchema,disable_array_delete_all_rows:!0,disable_array_delete_last_row:!0,disable_array_reorder:!1,disable_array_copy:!1,enable_array_copy:!0,disable_edit_json:!0,disable_properties:!0,disable_collapse:!1,show_errors:"never",startval:this.value?JSON.parse(this.value):null})}static #T=(()=>dt7948.n(this.prototype,"buildJsonEditor",[r.action]))();static #C=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"hOGVrMuw",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"json-schema-editor-modal"]],[["@flash","@flashType","@closeModal","@title","@inline"],[[30,0,["flash"]],[30,0,["flashType"]],[30,1],[28,[32,1],["admin.site_settings.json_schema.modal_title"],[["name"],[[30,2,["settingName"]]]]],[30,3]]],[["body","footer"],[[[[1,"\\n "],[11,0],[24,1,"json-editor-holder"],[4,[32,2],[[30,0,["buildJsonEditor"]]],null],[4,[32,3],[[30,0,["teardownJsonEditor"]]],null],[12],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,4],[[24,0,"btn-primary"]],[["@action","@label"],[[30,0,["saveChanges"]],"save"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model","@inline"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/json-schema-editor.js",scope:()=>[c.default,h.i18n,a.default,o.default,d.default],isStrictMode:!0}),this))()}class _{constructor(){this.mapping={delete:"trash-can",add:"plus",moveup:"arrow-up",movedown:"arrow-down",moveleft:"chevron-left",moveright:"chevron-right",copy:"copy",collapse:"chevron-down",expand:"chevron-up"}}getIcon(e){if(this.mapping[e])return(0,u.create)((0,p.iconNode)(this.mapping[e]))}}},13913:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(21044),n=i(77632),r=i(93810),a=i(36376),o=i(83770),l=i(44612),u=i(3558),d=i(92161),c=i(41277),p=i(60110);class h extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[o.service]))();#i=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"dialog",[o.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #r=(()=>dt7948.g(this.prototype,"passkeyName",[n.tracked]))();#iH=(()=>void dt7948.i(this,"passkeyName"))();static #a=(()=>dt7948.g(this.prototype,"errorMessage",[n.tracked]))();#iq=(()=>void dt7948.i(this,"errorMessage"))();instructions=(()=>(0,c.i18n)("user.passkeys.rename_passkey_instructions"))();constructor(){super(...arguments),this.passkeyName=this.args.model.name}async saveRename(){try{await (0,u.ajax)(`/u/rename_passkey/${this.args.model.id}`,{type:"PUT",data:{name:this.passkeyName}}),this.errorMessage=null,this.router.refresh(),this.dialog.didConfirmWrapped()}catch(e){this.errorMessage=(0,d.extractError)(e)}}static #d=(()=>dt7948.n(this.prototype,"saveRename",[a.action]))();static #g=(()=>(0,r.setComponentTemplate)((0,p.createTemplateFactory)({id:"RNNTbKZI",block:'[[[1,"\\n"],[41,[30,0,["errorMessage"]],[[[1," "],[10,0],[14,0,"alert alert-error"],[12],[1,"\\n "],[1,[30,0,["errorMessage"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"rename-passkey__form"],[12],[1,"\\n "],[10,0],[14,0,"rename-passkey__message"],[12],[1,"\\n "],[10,2],[12],[1,[30,0,["instructions"]]],[13],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[10,0],[14,0,"rename-passkey__form inline-form"],[12],[1,"\\n "],[8,[32,0],[[16,"autofocus",true]],[["@value","@type"],[[30,0,["passkeyName"]],"text"]],null],[1,"\\n "],[8,[32,1],[[24,0,"btn-primary"]],[["@type","@action","@label"],["submit",[30,0,["saveRename"]],"user.passkeys.save"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-preferences/rename-passkey.js",scope:()=>[r.Input,l.default],isStrictMode:!0}),this))()}},13918:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(21044),n=i(77632),r=i(36376),a=i(31862),o=i(83770),l=i(2845),u=i(62088),d=i(32343),c=i(77598),p=i(131),h=i(45921),m=i(75008),g=i(61455),f=i(45577),_=i(76998),y=i(6317),b=i(93810),w=i(60110);let k=(0,i(89689).A)(i(77632)).cached;class T extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[o.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"capabilities",[o.service]))();#v=(()=>void dt7948.i(this,"capabilities"))();static #r=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #a=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #d=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #g=(()=>dt7948.g(this.prototype,"menu",[o.service]))();#tU=(()=>void dt7948.i(this,"menu"))();static #T=(()=>dt7948.g(this.prototype,"isSelecting",[n.tracked],function(){return!1}))();#i$=(()=>void dt7948.i(this,"isSelecting"))();static #C=(()=>dt7948.g(this.prototype,"preventClose",[n.tracked],function(){return(0,f.applyValueTransformer)("post-text-selection-prevent-close",!1)}))();#iz=(()=>void dt7948.i(this,"preventClose"))();prevSelectedText;runLoopHandlers=(()=>(0,l.modifier)(()=>()=>{(0,a.cancel)(this.selectionChangeHandler)}))();documentListeners=(()=>(0,l.modifier)(()=>(document.addEventListener("mousedown",this.mousedown,{passive:!0}),document.addEventListener("mouseup",this.mouseup,{passive:!0}),document.addEventListener("selectionchange",this.onSelectionChanged),()=>{document.removeEventListener("mousedown",this.mousedown),document.removeEventListener("mouseup",this.mouseup),document.removeEventListener("selectionchange",this.onSelectionChanged)})))();appEventsListeners=(()=>(0,l.modifier)(()=>(this.appEvents.on("topic:current-post-scrolled",this,"handleTopicScroll"),this.appEvents.on("quote-button:quote",this,"insertQuote"),()=>{this.appEvents.off("topic:current-post-scrolled",this,"handleTopicScroll"),this.appEvents.off("quote-button:quote",this,"insertQuote")})))();willDestroy(){super.willDestroy(...arguments),(0,a.cancel)(this.debouncedSelectionChanged),this.menuInstance?.close()}async hideToolbar(){this.preventClose||(this.args.quoteState.clear(),await this.menuInstance?.close())}static #A=(()=>dt7948.n(this.prototype,"hideToolbar",[c.bind]))();async selectionChanged(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isSelecting)return;let i=(0,_.selectedText)(),s=window.getSelection();if(s.isCollapsed||""===i){this.menuInstance?.expanded||this.args.quoteState.clear();return}if(!t.force&&this.menuInstance?.expanded&&this.prevSelectedText===i)return;this.prevSelectedText=i;for(let t=0;t0)&&i===(0,g.default)(r.innerHTML)};for(let e=n;e&&"ARTICLE"!==e.tagName;e=e.parentElement)if("ASIDE"===e.tagName&&e.classList.contains("quote")){a.username=e.dataset.username||function(e){let t=e.querySelector(".title");if(!t)return;let i=t.querySelector("a:not(.back)");return i?i.textContent.trim():t.textContent.trim().replace(/:$/,"")}(e),a.post=e.dataset.post,a.topic=e.dataset.topic;break}let o=this.args.quoteState;o.selected(e,i,a);let l=this.canEditPost,d=(0,_.getElement)(s.getRangeAt(0).startContainer);if((!d||d.closest("aside.quote,aside.onebox,.cooked-date,body.encrypted-topic-page"))&&(l=!1),l){let e=RegExp((0,h.default)(o.buffer),"gi"),t=r.innerHTML.match(e);(0===o.buffer.length||o.buffer.includes("|")||o.buffer.match(/\n/g)||o.buffer.match(/[‚‘’„“”«»‹›™±…→←↔¶]/g)||t?.length!==1)&&(l=!1)}let c=3;this.shouldRenderUnder&&(c=20,(0,m.default)((0,_.selectedRange)().startContainer.parentNode)&&(0,m.default)((0,_.selectedRange)().endContainer.parentNode)||(c=70));let p={identifier:"post-text-selection-toolbar",component:u.default,inline:!0,placement:this.shouldRenderUnder?"bottom-start":"top-start",fallbackPlacements:this.shouldRenderUnder?["bottom-end","top-start"]:["bottom-start"],offset:c,trapTab:!1,closeOnScroll:!1,data:{canEditPost:this.canEditPost,canCopyQuote:this.canCopyQuote,editPost:this.args.editPost,supportsFastEdit:l,topic:this.args.topic,quoteState:o,insertQuote:this.insertQuote,buildQuote:this.buildQuote,hideToolbar:this.hideToolbar}};await this.menuInstance?.destroy(),this.menuInstance=await this.menu.show((0,y.default)(),p)}onSelectionChanged(){if(this.isSelecting)return;let{isIOS:e,isWinphone:t,isAndroid:i}=this.capabilities,s=e||t||i?p.INPUT_DELAY:25;this.selectionChangeHandler=(0,d.default)(this,this.selectionChanged,s)}static #D=(()=>dt7948.n(this.prototype,"onSelectionChanged",[c.bind]))();mousedown(){this.isSelecting=!0}static #M=(()=>dt7948.n(this.prototype,"mousedown",[c.bind]))();mouseup(){this.isSelecting=!1,this.onSelectionChanged()}static #E=(()=>dt7948.n(this.prototype,"mouseup",[c.bind]))();get post(){return this.args.topic.postStream.findLoadedPost(this.args.quoteState.postId)}get canEditPost(){return this.siteSettings.enable_fast_edit&&this.post?.can_edit}get canCopyQuote(){return this.currentUser?.get("user_option.enable_quoting")}get shouldRenderUnder(){let{isIOS:e,isAndroid:t,isOpera:i}=this.capabilities;return this.site.isMobileDevice||e||t||i}static #P=(()=>dt7948.n(this.prototype,"shouldRenderUnder",[k]))();handleTopicScroll(){this.site.mobileView&&(this.debouncedSelectionChanged=(0,a.debounce)(this,this.selectionChanged,{force:!0},250,!1))}static #I=(()=>dt7948.n(this.prototype,"handleTopicScroll",[r.action]))();async insertQuote(){await this.args.selectText(),await this.hideToolbar()}static #j=(()=>dt7948.n(this.prototype,"insertQuote",[r.action]))();async buildQuote(){return await this.args.buildQuoteMarkdown()}static #R=(()=>dt7948.n(this.prototype,"buildQuote",[r.action]))();static #B=(()=>(0,b.setComponentTemplate)((0,w.createTemplateFactory)({id:"JaetaXsH",block:'[[[1,"\\n "],[11,0],[4,[30,0,["documentListeners"]],null,null],[4,[30,0,["appEventsListeners"]],null,null],[4,[30,0,["runLoopHandlers"]],null,null],[12],[13],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post-text-selection.js",isStrictMode:!0}),this))()}},13944:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(62069),n=i(93810),r=i(60110),a=i(29681);let o=(0,s.default)((0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"wxUBNXT4",block:'[[[46,[28,[31,1],null,null],null,null,null]],[],false,["component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/invites.js",isStrictMode:!0}),(0,a.default)(void 0,void 0)))},14039:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(62069),n=i(57209),r=i(54978),a=i(41277),o=i(93810),l=i(60110),u=i(29681);let d=(0,s.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"2bRo2akR",block:'[[[1,"\\n "],[8,[32,0],null,[["@canSee","@model","@selectedCategories","@hideMutedTags","@save","@siteSettings"],[[30,1,["canSee"]],[30,1,["model"]],[30,1,["selectedCategories"]],[30,1,["hideMutedTags"]],[30,1,["save"]],[30,1,["siteSettings"]]]],null],[1,"\\n\\n"],[41,[30,1,["canSave"]],[[[1," "],[8,[32,1],null,[["@model","@action","@saved"],[[30,1,["model"]],[30,1,["save"]],[30,1,["saved"]]]],null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["user.no_category_access"],null]],[1,"\\n"]],[]]],[1," "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/categories.js",scope:()=>[r.default,n.default,a.i18n],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},14075:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addBulkDropdownAction:()=>m,default:()=>g});var s=i(36376),n=i(83770),r=i(14547),a=i(76830),o=i(10178),l=i.n(o),u=i(41277),d=i(66026),c=i(66185);let p=[],h={};function m(e,t){h[e]=t}let g=dt7948.c(class extends d.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#i=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"toasts",[n.service]))();#L=(()=>void dt7948.i(this,"toasts"))();static #r=(()=>dt7948.g(this.prototype,"dialog",[n.service]))();#l=(()=>void dt7948.i(this,"dialog"))();headerIcon=null;get content(){let e=[];return[...e=e.concat([{id:"clear-reminders",icon:"tag",name:(0,u.i18n)("bookmark_bulk_actions.clear_reminders.name")},{id:"delete-bookmarks",icon:"trash-can",name:(0,u.i18n)("bookmark_bulk_actions.delete_bookmarks.name")}]),...p]}getSelectedBookmarks(){return this.bulkSelectHelper.selected}onSelect(e){switch(e){case"clear-reminders":this.dialog.yesNoConfirm({message:(0,u.i18n)("js.bookmark_bulk_actions.clear_reminders.description",{count:this.getSelectedBookmarks().length}),didConfirm:()=>{l().bulkOperation(this.getSelectedBookmarks(),{type:"clear_reminder"}).then(()=>{this.router.refresh(),this.bulkSelectHelper.clear(),this.toasts.success({duration:"short",data:{message:(0,u.i18n)("bookmarks.bulk.reminders_cleared")}})}).catch(a.popupAjaxError)}});break;case"delete-bookmarks":this.dialog.deleteConfirm({message:(0,u.i18n)("js.bookmark_bulk_actions.delete_bookmarks.description",{count:this.getSelectedBookmarks().length}),didConfirm:()=>{l().bulkOperation(this.getSelectedBookmarks(),{type:"delete"}).then(()=>{this.router.refresh(),this.bulkSelectHelper.clear(),this.toasts.success({duration:"short",data:{message:(0,u.i18n)("bookmarks.bulk.delete_completed")}})}).catch(a.popupAjaxError)}})}}static #a=(()=>dt7948.n(this.prototype,"onSelect",[s.action]))()},[(0,c.selectKitOptions)({showCaret:!0,showFullTitle:!0,none:"select_kit.components.bulk_select_bookmarks_dropdown.title"}),(0,r.classNames)("bulk-select-bookmarks-dropdown")])},14081:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DEFAULT_DIVERSITY:()=>h,MAX_DISPLAYED_EMOJIS:()=>c,MAX_TRACKED_EMOJIS:()=>p,SKIN_TONE_STORE_KEY:()=>l,STORE_NAMESPACE:()=>u,USER_EMOJIS_STORE_KEY:()=>d,default:()=>m});var s=i(77632),n=i(83770),r=i(94204),a=i(76700),o=i(86321);let l="emojiSelectedDiversity",u="discourse_emoji_reaction_",d="emojiUsage",c=20,p=40,h=1;class m extends n.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #t=(()=>dt7948.g(this.prototype,"list",[s.tracked]))();#iV=(()=>void dt7948.i(this,"list"))();store=(()=>new o.default(u))();contexts=(()=>new r.TrackedObject)();static #r=(()=>dt7948.g(this.prototype,"_diversity",[s.tracked]))();#iW=(()=>void dt7948.i(this,"_diversity"))();get diversity(){return this._diversity??this.store.getObject(l)??1}set diversity(e){this._diversity=e,this.store.setObject({key:l,value:e})}trackEmojiForContext(e,t){let i=this.#iK(e,t);return this.contexts[t]=new r.TrackedArray(i),this.#iG(i,t),i}favoritesForContext(e){return this.#iJ(this.#iQ(e)).slice(0,c).map(e=>this.diversity!==h&&(0,a.isSkinTonableEmoji)(e)?`${e}:t${this.diversity}`:e)}reset(){Object.keys(this.contexts).forEach(e=>{this.resetContext(e)}),this.diversity=h}resetContext(e){this.contexts[e]=[],this.#iG([],e)}#iQ(e){return this.contexts[e]??this.store.getObject(this.#iX(e))??[]}#iK(e,t){let i=this.#iQ(t);return i.unshift(this.#iZ(e)),i.length=Math.min(i.length,p),i}#iG(e,t){let i=this.#iX(t);this.store.setObject({key:i,value:e})}#iZ(e){return e.replace(/(^:)|(:$)/g,"")}#iX(e){return`${e}_${d}`}#iJ(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>(e[t]=(e[t]||0)+1,e),{});return Object.keys(t).sort((e,i)=>t[i]-t[e])}}},14093:(e,t,i)=>{"use strict";i.r(t),i.d(t,{capabilities:()=>d,default:()=>c});var s=i(91456);let n=/iPhone|iPod|iPad|Macintosh|MacIntel/,r=/macOS/,a=navigator.userAgent,o={sm:new s.default("(min-width: 40rem)"),md:new s.default("(min-width: 48rem)"),lg:new s.default("(min-width: 64rem)"),xl:new s.default("(min-width: 80rem)"),"2xl":new s.default("(min-width: 96rem)")},l=new s.default("(any-pointer: coarse)");class u{isAndroid=(()=>a.includes("Android"))();isWinphone=(()=>a.includes("Windows Phone"))();isIpadOS=(()=>a.includes("Mac OS")&&!/iPhone|iPod/.test(a)&&this.touch)();isIOS=(()=>(/iPhone|iPod/.test(a)||this.isIpadOS)&&!window.MSStream)();isApple=(()=>n.test(navigator.platform)||navigator.userAgentData&&r.test(navigator.userAgentData.platform))();isOpera=(()=>!!window.opera||a.includes(" OPR/"))();isFirefox=(()=>a.includes("Firefox"))();isChrome=(()=>!!window.chrome&&!this.isOpera)();isSafari=(()=>/Constructor/.test(window.HTMLElement)||window.safari?.pushNotification?.toString()==="[object SafariRemoteNotification]")();hasContactPicker=(()=>"contacts"in navigator&&"ContactsManager"in window)();canVibrate=(()=>"vibrate"in navigator)();isPwa=(()=>window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone||document.referrer.includes("android-app://"))();isiOSPWA=(()=>this.isPwa&&this.isIOS)();wasLaunchedFromDiscourseHub=(()=>window.location.search.includes("discourse_app=1"))();isAppWebview=(()=>void 0!==window.ReactNativeWebView)();viewport={get sm(){return o.sm.matches},get md(){return o.md.matches},get lg(){return o.lg.matches},get xl(){return o.xl.matches},get"2xl"(){return o["2xl"].matches}};get touch(){return l.matches}get userHasBeenActive(){return!("userActivation"in navigator)||navigator.userActivation.hasBeenActive}get supportsServiceWorker(){return"serviceWorker"in navigator&&"undefined"!=typeof ServiceWorkerRegistration&&!this.isAppWebview&&navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state}}let d=new u;class c{static isServiceFactory=!0;static create(){return d}}},14118:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(85703),n=i(93810),r=i(60110),a=i(29681);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"wG10/z8Q",block:'[[[1,"\\n "],[11,0],[16,0,[28,[32,0],["form-kit__section",[30,1]],null]],[17,2],[12],[1,"\\n"],[41,[30,3],[[[1," "],[10,"h2"],[14,0,"form-kit__section-title"],[12],[1,[30,3]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,4],[[[1," "],[10,1],[14,0,"form-kit__section-subtitle"],[12],[1,[30,4]],[13],[1,"\\n"]],[]],null],[1,"\\n "],[18,5,null],[1,"\\n "],[13],[1,"\\n"]],["@class","&attrs","@title","@subtitle","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/section.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"section:FKSection"))},14127:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),s=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],n=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?i[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},14145:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(6809),n=i(62069),r=i(13446),a=i(73241),o=i(44612),l=i(13673),u=i(36754),d=i(46243),c=i(20936),p=i(37420),h=i(29421),m=i(64760),g=i(41277),f=i(61556),_=i(93810),y=i(60110),b=i(29681);let w=(0,n.default)((0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"yntMWmZY",block:'[[[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["before-group-container","div",[28,[32,1],null,[["group"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,["container group group-",[30,1,["model","name"]]]]],[12],[1,"\\n"],[41,[30,1,["showTooltip"]],[[[1," "],[10,0],[14,0,"group-delete-tooltip"],[12],[1,"\\n "],[10,2],[12],[1,[28,[32,2],["admin.groups.delete_automatic_group"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"group-details-container"],[12],[1,"\\n "],[10,0],[14,0,"group-info"],[12],[1,"\\n"],[41,[28,[32,3],[[30,1,["model","flair_icon"]],[30,1,["model","flair_url"]],[30,1,["model","flair_bg_color"]]],null],[[[1," "],[10,0],[14,0,"group-avatar-flair"],[12],[1,"\\n "],[8,[32,4],null,[["@flairName","@flairUrl","@flairBgColor","@flairColor"],[[30,1,["model","name"]],[28,[32,3],[[30,1,["model","flair_icon"]],[30,1,["model","flair_url"]]],null],[30,1,["model","flair_bg_color"]],[30,1,["model","flair_color"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"group-info-names"],[12],[1,"\\n "],[8,[32,5],null,[["@group"],[[30,1,["model"]]]],null],[1,"\\n\\n"],[41,[28,[32,6],[[30,1,["canManageGroup"]],[30,1,["model","automatic"]]],null],[[[1," "],[8,[32,7],[[24,0,"group-automatic-tooltip"]],null,[["trigger","content"],[[[[1,"\\n "],[1,[28,[32,8],["gear"],null]],[1,"\\n "],[1,[28,[32,2],["admin.groups.manage.membership.automatic"],null]],[1,"\\n "]],[]],[[[1,"\\n "],[1,[28,[32,2],["admin.groups.manage.membership.automatic_tooltip"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"group-details-button"],[12],[1,"\\n "],[8,[32,9],null,[["@tagName","@model","@showLogin"],["",[30,1,["model"]],[28,[32,10],["showLogin"],null]]],null],[1,"\\n\\n"],[41,[30,1,["currentUser","admin"]],[[[41,[30,1,["model","automatic"]],[[[1," "],[8,[32,11],[[24,0,"btn-default"]],[["@action","@icon","@label"],[[30,1,["toggleDeleteTooltip"]],"circle-question","admin.groups.delete"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,11],[[24,0,"btn-danger"]],[["@action","@disabled","@icon","@label"],[[30,1,["destroyGroup"]],[30,1,["destroying"]],"trash-can","admin.groups.delete"]],null],[1,"\\n"]],[]]]],[]],null],[1,"\\n"],[41,[30,1,["displayGroupMessageButton"]],[[[1," "],[8,[32,11],[[24,0,"btn-primary group-message-button"]],[["@action","@icon","@label"],[[30,1,["messageGroup"]],"envelope","groups.message"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["group-details-after","div",[28,[32,1],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["model","bio_cooked"]],[[[1," "],[10,0],[14,0,"group-bio"],[12],[1,"\\n "],[1,[28,[32,12],[[30,1,["model","bio_cooked"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"user-content-wrapper"],[12],[1,"\\n "],[10,"section"],[14,0,"user-primary-navigation"],[12],[1,"\\n "],[8,[32,13],null,[["@group","@currentPath","@tabs"],[[30,1,["model"]],[30,1,["currentPath"]],[30,1,["tabs"]]]],null],[1,"\\n "],[13],[1,"\\n "],[46,[28,[31,2],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["if","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group.js",scope:()=>[c.default,h.default,g.i18n,r.or,a.default,l.default,r.and,f.default,p.default,u.default,m.default,o.default,s.htmlSafe,d.default],isStrictMode:!0}),(0,b.default)(void 0,void 0)))},14277:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var s=i(37338);i(7950);var n=i(46297),r=i(12106);let a=(0,n.lQ)("ember-async-data"),o=["PENDING"];class l{static #e=(()=>(0,r.a)(this.prototype,"data",[s.tracked],function(){return o}))();#i1=(()=>void(0,r.i)(this,"data"))()}class u{#i0;constructor(e){if(this.constructor!==u)throw Error("tracked-async-data cannot be subclassed");if(!function(e){return"object"==typeof e&&null!==e&&function(e,t){return e in t}("then",e)&&"function"==typeof e.then}(e)){this.#i3.data=["RESOLVED",e];return}this.#i0=a.beginAsync(),e.then(e=>{this.#i3.data=["RESOLVED",e],a.endAsync(this.#i0)},e=>{this.#i3.data=["REJECTED",e],a.endAsync(this.#i0)})}#i3=(()=>new l)();get state(){return this.#i3.data[0]}get value(){return"RESOLVED"===this.#i3.data[0]?this.#i3.data[1]:null}get error(){return"REJECTED"===this.#i3.data[0]?this.#i3.data[1]:null}get isPending(){return"PENDING"===this.state}get isResolved(){return"RESOLVED"===this.state}get isRejected(){return"REJECTED"===this.state}toJSON(){let{isPending:e,isResolved:t,isRejected:i}=this;return e?{isPending:e,isResolved:t,isRejected:i}:t?{isPending:e,isResolved:t,value:this.value,isRejected:i}:{isPending:e,isResolved:t,isRejected:i,error:this.error}}toString(){return JSON.stringify(this.toJSON(),null,2)}}let d=u},14287:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(85703),r=i(93810),a=i(60110);let o=["success","error","warning","info"];class l extends s.default{get flashClass(){if(this.args.type&&!o.includes(this.args.type))throw`@type must be one of ${o.join(", ")}`;return this.args.type?`alert-${this.args.type}`:null}static #e=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"ZYOewSyP",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[11,0],[16,0,[28,[32,0],["alert",[30,0,["flashClass"]]],null]],[17,2],[12],[1,[30,1]],[13],[1,"\\n"]],[]],null],[1," "]],["@flash","&attrs"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/flash-message.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},14369:(e,t,i)=>{"use strict";function s(e){return s[e]||(s[e]=new Intl.NumberFormat(e))}function n(e,t,i){return s(e).format(t-i)}function r(e,t,i,n){var r=t-i;if(isNaN(r))throw Error("`"+n+"` or its offset is not a number");return s(e).format(r)}function a(e,t,i,s,n){if(({}).hasOwnProperty.call(s,e))return s[e];t&&(e-=t);var r=i(e,n);return r in s?s[r]:s.other}function o(e,t){return({}).hasOwnProperty.call(t,e)?t[e]:t.other}function l(e,t){for(var i=0;is,number:()=>n,plural:()=>a,reqArgs:()=>l,select:()=>o,strictNumber:()=>r})},14371:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(13641);class n extends s.default{jsonMode=!0;pathFor(e,t,i){return this.appendQueryParams("/review",i)}}},14452:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w,isHex:()=>b});var s=i(21044),n=i(42371),r=i(93558),a=i(41825),o=i(74129),l=i(54695),u=i(31862),d=i(83770),c=i(13446),p=i(85703),h=i(37420),m=i(77598),g=i(1933),f=i(42997),_=i(93810),y=i(60110);function b(e){let t=e?.match(/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/);return t?t[1]:void 0}class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[d.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();constructor(){super(...arguments),this.args.didInsert?.()}willDestroy(){super.willDestroy(...arguments),this.args.willDestroy?.()}get shouldDisplay(){return void 0===this.args.shouldDisplay||this.args.shouldDisplay}get linkClass(){let e=["sidebar-section-link","sidebar-row"];return this.args.linkClass&&e.push(this.args.linkClass),this.args.class&&((0,g.default)("SectionLink's @class arg has been renamed to @linkClass",{id:"discourse.section-link-class-arg",since:"3.2.0.beta4",dropFrom:"3.3.0.beta1"}),e.push(this.args.class)),this.args.href&&"boolean"==typeof this.args.currentWhen&&this.args.currentWhen&&e.push("active"),e.join(" ")}get target(){return this.currentUser?.user_option?.external_links_in_new_tab&&this.isExternal?"_blank":"_self"}get isExternal(){return this.args.href&&new URL(this.args.href,window.location.href).origin!==window.location.origin}get models(){return this.args.model?[this.args.model]:this.args.models?this.args.models:[]}get prefixColor(){let e=b(this.args.prefixColor);return e?`#${e}`:void 0}maybeScrollIntoView(e){this.args.scrollIntoView&&(0,u.schedule)("afterRender",()=>{let t=e.getBoundingClientRect();t.top<=window.innerHeight&&t.bottom>=0||e.scrollIntoView({block:"center"})})}static #t=(()=>dt7948.n(this.prototype,"maybeScrollIntoView",[m.bind]))();static #r=(()=>(0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"QDmyEiJi",block:'[[[1,"\\n"],[41,[30,0,["shouldDisplay"]],[[[1," "],[11,"li"],[16,"data-list-item-name",[30,1]],[24,0,"sidebar-section-link-wrapper"],[17,2],[4,[32,0],[[30,0,["maybeScrollIntoView"]]],null],[4,[32,1],[[30,0,["maybeScrollIntoView"]],[30,3]],null],[12],[1,"\\n"],[41,[30,4],[[[1," "],[10,3],[15,6,[30,4]],[14,"rel","noopener noreferrer"],[15,"target",[30,0,["target"]]],[15,"title",[30,5]],[15,"data-link-name",[30,1]],[15,0,[30,0,["linkClass"]]],[12],[1,"\\n "],[8,[32,2],null,[["@prefixType","@prefixValue","@prefixCSSClass","@prefixColor","@prefixBadge"],[[30,6],[30,7],[30,8],[30,0,["prefixColor"]],[30,9]]],null],[1,"\\n\\n "],[10,1],[14,0,"sidebar-section-link-content-text"],[12],[1,"\\n "],[1,[30,10]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,3],[[16,"title",[30,5]],[16,"data-link-name",[30,1]],[16,0,[30,0,["linkClass"]]]],[["@route","@query","@models","@current-when"],[[30,11],[28,[32,4],[[30,12],[28,[32,5],null,null]],null],[30,0,["models"]],[30,13]]],[["default"],[[[[1,"\\n "],[8,[32,2],null,[["@prefixType","@prefixValue","@prefixCSSClass","@prefixColor","@prefixBadge"],[[30,6],[30,7],[30,8],[30,0,["prefixColor"]],[30,9]]],null],[1,"\\n\\n "],[10,1],[15,0,[28,[32,6],["sidebar-section-link-content-text",[30,14]],null]],[12],[1,"\\n "],[1,[30,10]],[1,"\\n "],[8,[30,15],null,null,null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,16],[[[1," "],[10,1],[14,0,"sidebar-section-link-content-badge"],[12],[1,"\\n "],[1,[30,16]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,17],[[[1," "],[10,1],[15,0,[28,[32,6],["sidebar-section-link-suffix",[30,18],[30,19]],null]],[12],[1,"\\n"],[41,[28,[32,7],[[30,18],"icon"],null],[[[1," "],[1,[28,[32,8],[[30,17]],null]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,20],[[[1," "],[10,1],[14,0,"sidebar-section-link-hover"],[12],[1,"\\n "],[11,"button"],[16,"title",[30,21]],[24,0,"sidebar-section-hover-button"],[24,4,"button"],[4,[32,9],["click",[30,22]],null],[12],[1,"\\n"],[41,[28,[32,7],[[30,23],"icon"],null],[[[1," "],[1,[28,[32,8],[[30,20]],[["class"],["hover-icon"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["@linkName","&attrs","@scrollIntoView","@href","@title","@prefixType","@prefixValue","@prefixCSSClass","@prefixBadge","@content","@route","@query","@currentWhen","@contentCSSClass","@contentComponent","@badgeText","@suffixValue","@suffixType","@suffixCSSClass","@hoverValue","@hoverTitle","@hoverAction","@hoverType"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/section-link.js",scope:()=>[a.default,o.default,f.default,l.LinkTo,c.or,n.hash,p.default,c.eq,h.default,r.on],isStrictMode:!0}),this))()}},14453:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(6809),n=i(28431),r=i(41277),a=i(93810),o=i(60110),l=i(29681);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"//nKASTG",block:'[[[1,"\\n "],[8,[32,0],null,[["@title","@closeModal"],[[28,[32,1],["log_in"],null],[30,1]]],[["body"],[[[[1,"\\n "],[1,[28,[32,2],[[28,[32,1],["login.sent_activation_email_again"],[["currentEmail"],[[30,2,["currentEmail"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/activation-resent.js",scope:()=>[n.default,r.i18n,s.htmlSafe],isStrictMode:!0}),(0,l.default)(void 0,"activation-resent:ActivationResent"))},14465:(e,t,i)=>{"use strict";i.r(t),i.d(t,{clearPresenceCallbacks:()=>_,default:()=>d,onPresenceChange:()=>c,removeOnPresenceChange:()=>p,seenUser:()=>m,setTestPresence:()=>f,visibilityChanged:()=>g});var s=i(131);let n=[],r=null,a=Date.now(),o=!1,l=!1,u=!0;function d(){let{browserHiddenTime:e=0,userUnseenTime:t=6e4}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.isTesting)()?u:!(r&&Date.now()-r>=e)&&!(Date.now()-a>=t)}function c(){let{userUnseenTime:e=6e4,browserHiddenTime:t=0,callback:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e<6e4)throw"userUnseenTime must be at least 60000";n.push({userUnseenTime:e,browserHiddenTime:t,lastState:!0,callback:i})}function p(e){let t=n.findIndex(t=>t.callback===e);n.splice(t,1)}function h(){let e=document.hidden;for(let t of(!!r!==e&&(r=e?Date.now():null),o&&(a=Date.now(),o=!1),l=!1,n)){let e=d({userUnseenTime:t.userUnseenTime,browserHiddenTime:t.browserHiddenTime});if(t.lastState!==e)try{t.callback(e)}finally{t.lastState=e}e||(l=!0)}}function m(){o=!0,l&&h()}function g(){document.hidden?h():m()}function f(e){if(!(0,s.isTesting)())throw"Only available in test mode";u=e}function _(){n.length=0}(0,s.isTesting)()||(document.addEventListener("touchmove",m,{passive:!0}),document.addEventListener("click",m,{passive:!0}),window.addEventListener("scroll",m,{passive:!0}),window.addEventListener("focus",m,{passive:!0}),document.addEventListener("visibilitychange",g,{passive:!0}),setInterval(h,1e4))},14519:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";function t(e){if(e%100==11);else if(e%10==1)return!1;return!0}function i(e,i,s,n){var r=e+" ";switch(s){case"s":return i||n?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":if(t(e))return r+(i||n?"sekúndur":"sekúndum");return r+"sekúnda";case"m":return i?"mínúta":"mínútu";case"mm":if(t(e))return r+(i||n?"mínútur":"mínútum");if(i)return r+"mínúta";return r+"mínútu";case"hh":if(t(e))return r+(i||n?"klukkustundir":"klukkustundum");return r+"klukkustund";case"d":if(i)return"dagur";return n?"dag":"degi";case"dd":if(t(e)){if(i)return r+"dagar";return r+(n?"daga":"dögum")}if(i)return r+"dagur";return r+(n?"dag":"degi");case"M":if(i)return"mánuður";return n?"mánuð":"mánuði";case"MM":if(t(e)){if(i)return r+"mánuðir";return r+(n?"mánuði":"mánuðum")}if(i)return r+"mánuður";return r+(n?"mánuð":"mánuði");case"y":return i||n?"ár":"ári";case"yy":if(t(e))return r+(i||n?"ár":"árum");return r+(i||n?"ár":"ári")}}return e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},14524:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(13446),r=i(85703),a=i(93810),o=i(60110);class l extends s.default{get currentLength(){return this.args.value?.length||0}static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"4J/bO9r/",block:'[[[1,"\\n "],[11,1],[16,0,[28,[32,0],["form-kit__char-counter",[52,[28,[32,1],[[30,0,["currentLength"]],[30,1]],null],"--exceeded"],[52,[28,[32,2],[[30,0,["currentLength"]],[30,2]],null],"--insufficient"]],null]],[17,3],[12],[1,"\\n "],[1,[30,0,["currentLength"]]],[1,"/"],[1,[30,1]],[1,"\\n "],[13],[1,"\\n "]],["@maxLength","@minLength","&attrs"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/char-counter.js",scope:()=>[r.default,n.gt,n.lt],isStrictMode:!0}),this))()}},14535:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(86683);let n={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=(0,s.A)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},14547:(e,t,i)=>{"use strict";i.r(t),i.d(t,{attribute:()=>r,attributeBindings:()=>d,className:()=>a,classNameBindings:()=>u,classNames:()=>l,layout:()=>p,tagName:()=>c}),i(7950);var s=i(20643),n=i(23534);let r=(0,n.decoratorWithParams)(function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if((0,s.default)(e),!e.hasOwnProperty("attributeBindings")){let t=e.attributeBindings;e.attributeBindings=Array.isArray(t)?t.slice():[]}let r=n[0]?`${t}:${n[0]}`:t;return e.attributeBindings.push(r),i&&(i.configurable=!0),i}),a=(0,n.decoratorWithParams)(function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if((0,s.default)(e),!e.hasOwnProperty("classNameBindings")){let t=e.classNameBindings;e.classNameBindings=Array.isArray(t)?t.slice():[]}let r=n.length>0?`${t}:${n.join(":")}`:t;return e.classNameBindings.push(r),i&&(i.configurable=!0),i});function o(e){return(0,n.decoratorWithRequiredParams)((t,i)=>{if((0,s.default)(t.prototype),e in t.prototype){let s=t.prototype[e];i.unshift(...s)}return t.prototype[e]=i,t},e)}let l=o("classNames"),u=o("classNameBindings"),d=o("attributeBindings"),c=(0,n.decoratorWithRequiredParams)((e,t)=>{let[i]=t;return e.prototype.tagName=i,e},"tagName"),p=function(){for(var e=arguments.length,t=Array(e),i=0;i{let[i]=t;return e.prototype.layout=i,e}}},14576:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(42371),n=i(41825),r=i(6809),a=i(13446),o=i(79651),l=i.n(o),u=i(30544),d=i.n(u),c=i(81651),p=i.n(c),h=i(93810),m=i(29681),g=i(60110);let f=(0,h.setComponentTemplate)((0,g.createTemplateFactory)({id:"q33VFDV3",block:'[[[1,"\\n "],[11,0],[16,0,[28,[32,0],["fk-d-default-toast",[28,[32,1],["-",[28,[32,2],[[30,1,["theme"]],"default"],null]],null]],null]],[17,2],[12],[1,"\\n"],[41,[30,3],[[[1," "],[11,0],[24,0,"fk-d-default-toast__progress-bar"],[4,[32,3],[[30,4]],null],[12],[13],[1,"\\n"]],[]],null],[41,[30,1,["icon"]],[[[1," "],[10,0],[14,0,"fk-d-default-toast__icon-container"],[12],[1,"\\n "],[1,[28,[32,4],[[30,1,["icon"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"fk-d-default-toast__main-container"],[12],[1,"\\n "],[10,0],[14,0,"fk-d-default-toast__texts"],[12],[1,"\\n"],[41,[30,1,["title"]],[[[1," "],[10,0],[14,0,"fk-d-default-toast__title"],[12],[1,"\\n "],[1,[30,1,["title"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,1,["message"]],[[[1," "],[10,0],[14,0,"fk-d-default-toast__message"],[12],[1,"\\n"],[41,[30,1,["isHtmlMessage"]],[[[1," "],[1,[28,[32,5],[[30,1,["message"]]],null]],[1,"\\n"]],[]],[[[1," "],[1,[30,1,["message"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,1,["actions"]],[[[1," "],[10,0],[14,0,"fk-d-default-toast__actions"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["actions"]]],null]],null],null,[[[41,[30,5,["action"]],[[[1," "],[8,[32,6],[[16,0,[30,5,["class"]]],[24,"tabindex","0"]],[["@icon","@translatedLabel","@action"],[[30,5,["icon"]],[30,5,["label"]],[28,[32,7],[[30,5,["action"]],[28,[32,8],null,[["data","close"],[[30,1],[30,6]]]]],null]]],null],[1,"\\n"]],[]],null]],[5]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[14,0,"fk-d-default-toast__close-container"],[12],[1,"\\n "],[8,[32,6],[[24,0,"btn-transparent"]],[["@icon","@action"],["xmark",[30,6]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["@data","&attrs","@showProgressBar","@onRegisterProgressBar","toastAction","@close"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-default-toast.js",scope:()=>[d(),s.concat,a.or,n.default,p(),r.htmlSafe,l(),s.fn,s.hash],isStrictMode:!0}),(0,m.default)(void 0,"d-default-toast:DDefaultToast"))},14632:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(64301),n=i(94611);let r={initialize(e){this.selector=e.rootElement,document.querySelector(this.selector).addEventListener("click",s.default),window.addEventListener("hashchange",this.hashChanged)},hashChanged(){n.default.routeTo(document.location.hash)},teardown(){document.querySelector(this.selector).removeEventListener("click",s.default),window.removeEventListener("hashchange",this.hashChanged)}}},14639:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(18891),n=i(36376),r=i(31862),a=i(83770),o=i(65053),l=i(25164),u=i(3558),d=i(92161),c=i(63779),p=i(77598),h=i(41277);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #r=(()=>dt7948.g(this.prototype,"toasts",[a.service]))();#L=(()=>void dt7948.i(this,"toasts"))();queryParams=["priority","type","status","category_id","topic_id","username","reviewed_by","from_date","to_date","sort_order","additional_filters","flagged_by","score_type"];type=null;status="pending";priority=this.siteSettings.reviewable_default_visibility;category_id=null;reviewables=null;topic_id=null;filtersExpanded=this.site.desktopView;username="";reviewed_by="";flagged_by="";from_date=null;to_date=null;sort_order=null;additional_filters=null;filterScoreType=null;unknownTypeSource=(()=>c.REVIEWABLE_UNKNOWN_TYPE_SOURCE)();allTypes(){return(this.reviewableTypes||[]).map(e=>{let t=(0,o.underscore)(e).replace(/[^\w]+/g,"_");return{id:e,name:(0,h.i18n)(`review.types.${t}.title`)}})}static #a=(()=>dt7948.n(this.prototype,"allTypes",[(0,p.default)("reviewableTypes")]))();allScoreTypes(){return this.scoreTypes||[]}static #d=(()=>dt7948.n(this.prototype,"allScoreTypes",[(0,p.default)("scoreTypes")]))();priorities(){return["any","low","medium","high"].map(e=>({id:e,name:(0,h.i18n)(`review.filters.priority.${e}`)}))}static #g=(()=>dt7948.n(this.prototype,"priorities",[p.default]))();sortOrders(){return["score","score_asc","created_at","created_at_asc"].map(e=>({id:e,name:(0,h.i18n)(`review.filters.orders.${e}`)}))}static #T=(()=>dt7948.n(this.prototype,"sortOrders",[p.default]))();statuses(){return["pending","approved","rejected","deleted","ignored","reviewed","all"].map(e=>({id:e,name:(0,h.i18n)(`review.statuses.${e}.title`)}))}static #C=(()=>dt7948.n(this.prototype,"statuses",[p.default]))();toggleFiltersIcon(e){return e?"chevron-up":"chevron-down"}static #A=(()=>dt7948.n(this.prototype,"toggleFiltersIcon",[(0,p.default)("filtersExpanded")]))();setRange(e){this.setProperties(e)}refreshModel(){(0,r.next)(()=>this.send("refreshRoute"))}displayUnknownReviewableTypesWarning(e){return e?.length>0&&this.currentUser.admin}static #D=(()=>dt7948.n(this.prototype,"displayUnknownReviewableTypesWarning",[(0,p.default)("unknownReviewableTypes")]))();remove(e){if(!e)return;let t=this.reviewables.reject(t=>e.includes(t.id));0===t.length?this.refreshModel():this.reviewables.setObjects(t)}static #M=(()=>dt7948.n(this.prototype,"remove",[n.action]))();resetTopic(){this.set("topic_id",null),this.refreshModel()}static #E=(()=>dt7948.n(this.prototype,"resetTopic",[n.action]))();ignoreAllUnknownTypes(){return this.dialog.deleteConfirm({message:(0,h.i18n)("review.unknown.delete_confirm"),didConfirm:async()=>{try{await (0,u.ajax)("/admin/unknown_reviewables/destroy",{type:"delete"}),this.set("unknownReviewableTypes",[]),this.toasts.success({data:{message:(0,h.i18n)("review.unknown.ignore_success")}})}catch(e){(0,d.popupAjaxError)(e)}}})}static #P=(()=>dt7948.n(this.prototype,"ignoreAllUnknownTypes",[n.action]))();refresh(){let e=this.status,t=this.filterStatus,i=this.sort_order,s=this.filterSortOrder,n=["reviewed","all"],r=["approved","rejected","deleted","ignored","pending"];n.includes(e)&&"created_at"===i&&r.includes(t)&&"created_at"===s&&(s="score"),r.includes(e)&&"score"===i&&n.includes(t)&&"score"===s&&(s="created_at"),this.setProperties({type:this.filterType,priority:this.filterPriority,status:this.filterStatus,category_id:this.filterCategoryId,username:this.filterUsername,reviewed_by:this.filterReviewedBy,flagged_by:this.filterFlaggedBy,score_type:this.filterScoreType,from_date:(0,l.isPresent)(this.filterFromDate)?this.filterFromDate.toISOString(!0).split("T")[0]:null,to_date:(0,l.isPresent)(this.filterToDate)?this.filterToDate.toISOString(!0).split("T")[0]:null,sort_order:s,additional_filters:JSON.stringify(this.additionalFilters)}),this.refreshModel()}static #I=(()=>dt7948.n(this.prototype,"refresh",[n.action]))();loadMore(){return this.reviewables.loadMore()}static #j=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();toggleFilters(){this.toggleProperty("filtersExpanded")}static #R=(()=>dt7948.n(this.prototype,"toggleFilters",[n.action]))();updateFilterReviewedBy(e){this.set("filterReviewedBy",e.firstObject)}static #B=(()=>dt7948.n(this.prototype,"updateFilterReviewedBy",[n.action]))();updateFilterFlaggedBy(e){this.set("filterFlaggedBy",e.firstObject)}static #H=(()=>dt7948.n(this.prototype,"updateFilterFlaggedBy",[n.action]))();updateFilterUsername(e){this.set("filterUsername",e.firstObject)}static #$=(()=>dt7948.n(this.prototype,"updateFilterUsername",[n.action]))()}},14654:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(27494),n=i.n(s);let r=!1,a=n().Callbacks(),o={initialize(e){let t=e.lookup("service:session");t.set("csrfToken",document.head.querySelector("meta[name=csrf-token]")?.content),r||(n().ajaxPrefilter(a.fire),r=!0),a.add(function(e,i,s){e.crossDomain||s.setRequestHeader("X-CSRF-Token",t.get("csrfToken"))})},teardown(){a.empty()}}},14669:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addGlobalNotice:()=>f,default:()=>b});var s=i(93810),n=i(42371),r=i(36376),a=i(83770),o=i(6809),l=i(14547),u=i(44612),d=i(25910),c=i(77598),p=i(92830),h=i(41277),m=i(60110);let g=new p.DeferredTrackedSet;function f(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};g.add(y.create({text:e,id:t,options:i}))}let _="dismissed-global-notice-v2";class y extends r.default{static #e=(()=>dt7948.g(this.prototype,"logsNoticeService",[(0,a.service)("logsNotice")]))();#i2=(()=>void dt7948.i(this,"logsNoticeService"))();text=null;id=null;options=null;init(){super.init(...arguments),this.options=this.set("options",Object.assign({dismissable:!1,html:null,level:"info",persistentDismiss:!0,onDismiss:null,visibility:null,dismissDuration:null},this.options||{}))}}let b=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"keyValueStore",[a.service]))();#w=(()=>void dt7948.i(this,"keyValueStore"))();static #t=(()=>dt7948.g(this.prototype,"logsNoticeService",[(0,a.service)("logsNotice")]))();#i2=(()=>void dt7948.i(this,"logsNoticeService"))();static #r=(()=>dt7948.g(this.prototype,"router",[a.service]))();#i=(()=>void dt7948.i(this,"router"))();logNotice=null;constructor(){super(...arguments),this.logsNoticeService.addObserver("hidden",this._handleLogsNoticeUpdate),this.logsNoticeService.addObserver("text",this._handleLogsNoticeUpdate)}willDestroyElement(){super.willDestroyElement(...arguments),this.logsNoticeService.removeObserver("text",this._handleLogsNoticeUpdate),this.logsNoticeService.removeObserver("hidden",this._handleLogsNoticeUpdate)}get visible(){return!this.router.currentRouteName.startsWith("wizard.")}get notices(){let e=[];return"1"===(0,d.default)("dosp")&&((0,d.removeCookie)("dosp",{path:"/"}),e.push(y.create({text:this.siteSettings.login_required?(0,h.i18n)("forced_anonymous_login_required"):(0,h.i18n)("forced_anonymous"),id:"forced-anonymous"}))),this.session.get("safe_mode")&&e.push(y.create({text:(0,h.i18n)("safe_mode.enabled"),id:"safe-mode"})),this.site.get("isStaffWritesOnly")?e.push(y.create({text:(0,h.i18n)("staff_writes_only_mode.enabled"),id:"alert-staff-writes-only"})):this.site.get("isReadOnly")&&e.push(y.create({text:(0,h.i18n)("read_only_mode.enabled"),id:"alert-read-only"})),this.router.currentRoute?.queryParams?.preview_theme_id&&e.push(y.create({text:(0,h.i18n)("theme_preview_notice"),id:"theme-preview"})),"yes"===this.siteSettings.disable_emails?e.push(y.create({text:(0,h.i18n)("emails_are_disabled"),id:"alert-emails-disabled",options:{dismissable:!0,persistentDismiss:!1}})):"non-staff"===this.siteSettings.disable_emails&&e.push(y.create({text:(0,h.i18n)("emails_are_disabled_non_staff"),id:"alert-emails-disabled",options:{dismissable:!0,persistentDismiss:!1}})),this.siteSettings.global_notice?.length>0&&e.push(y.create({text:this.siteSettings.global_notice,id:"alert-global-notice"})),this.get("logNotice")&&e.push(this.get("logNotice")),e.concat(Array.from(g)).filter(e=>{if(e.options.visibility)return e.options.visibility(e);let t=`${_}-${e.id}`,i=this.keyValueStore.get(t);if(!i||!e.options.persistentDismiss)return!0;if(!e.options.dismissDuration)return!1;{let t=moment(i).add(e.options.dismissDuration);return moment().isAfter(t)}})}dismissNotice(e){e.options.onDismiss?.(e),e.options.persistentDismiss&&this.keyValueStore.set({key:`${_}-${e.id}`,value:moment().toISOString(!0)});let t=document.getElementById(`global-notice-${e.id}`);t&&(t.style.display="none")}static #a=(()=>dt7948.n(this.prototype,"dismissNotice",[r.action]))();_handleLogsNoticeUpdate(){let e=y.create({text:(0,o.htmlSafe)(this.logsNoticeService.message),id:"alert-logs-notice",options:{dismissable:!0,persistentDismiss:!1,visibility:()=>!this.logsNoticeService.hidden,onDismiss:()=>this.logsNoticeService.set("text","")}});this.set("logNotice",e)}static #d=(()=>dt7948.n(this.prototype,"_handleLogsNoticeUpdate",[c.bind]))();static #g=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"Qb4dhtk5",block:'[[[1,"\\n "],[10,0],[14,0,"global-notice"],[12],[1,"\\n"],[41,[30,0,["visible"]],[[[42,[28,[31,2],[[28,[31,2],[[30,0,["notices"]]],null]],null],null,[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,0],[15,1,[29,["global-notice-",[30,1,["id"]]]]],[15,0,[29,["alert alert-",[30,1,["options","level"]]," ",[30,1,["id"]]]]],[12],[1,"\\n"],[41,[30,1,["options","html"]],[[[1," "],[1,[28,[32,0],[[30,1,["options","html"]]],null]],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"text"],[12],[1,[28,[32,0],[[30,1,["text"]]],null]],[13],[1,"\\n\\n"],[41,[30,1,["options","dismissable"]],[[[1," "],[8,[32,1],[[24,0,"btn-transparent close"]],[["@icon","@action"],["xmark",[28,[32,2],[[30,0,["dismissNotice"]],[30,1]],null]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null]],[]],null],[1," "],[13],[1,"\\n "]],["notice"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/global-notice.js",scope:()=>[o.htmlSafe,u.default,n.fn],isStrictMode:!0}),this))()},[(0,l.tagName)("")])},14675:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{$:()=>ej,A:()=>ei,B:()=>E,C:()=>em,D:()=>n,E:()=>j,F:()=>F,G:()=>H,H:()=>q,I:()=>en,J:()=>L,K:()=>S,L:()=>D,M:()=>C,N:()=>V,O:()=>eP,P:()=>eC,Q:()=>eo,R:()=>ey,S:()=>eI,T:()=>ep,U:()=>eb,V:()=>eM,W:()=>eL,X:()=>G,Y:()=>K,Z:()=>T,_:()=>ex,a:()=>w,b:()=>N,c:()=>e_,d:()=>ev,e:()=>B,f:()=>O,g:()=>eD,h:()=>eA,i:()=>x,j:()=>X,k:()=>$,l:()=>ec,m:()=>ed,n:()=>eu,o:()=>y,p:()=>eF,q:()=>eS,r:()=>P,s:()=>R,t:()=>k,u:()=>s,v:()=>J,w:()=>Q,x:()=>z,y:()=>ek,z:()=>ew});var r=i(63847),a=i(71620);i(7950);var o=i(12003),l=i(5963),u=i(56742),d=i(5840),c=i(7378),p=i(29552),h=i(71185),m=i(63482),g=i(98204),f=i(23568),_=i(55358);function y(e,t){return Array.isArray(e)?e[t]:e.objectAt(t)}let b=(0,c.s)("SELF_TAG");function w(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3?arguments[3]:void 0,n=(0,u.getCustomTagFor)(e);return void 0!==n?n(e,t,i):(0,l.tagFor)(e,t,s)}function k(e){return(0,a.e)(e)?(0,l.tagFor)(e,b):l.CONSTANT_TAG}function T(e,t){(0,l.dirtyTagFor)(e,t),(0,l.dirtyTagFor)(e,b)}let S=new WeakSet;function C(e,t,i){let s=e.readableLazyChainsFor(t);if(void 0!==s){if((0,a.e)(i))for(let[e,t]of s)(0,l.updateTag)(e,D(i,t,(0,l.tagMetaFor)(i),(0,r.peekMeta)(i)));s.length=0}}function A(e,t,i,s){let n=[];for(let r of t)M(n,e,r,i,s);return(0,l.combine)(n)}function D(e,t,i,s){return(0,l.combine)(M([],e,t,i,s))}function M(e,t,i,s,n){let o,u,d=t,c=s,p=n,h=i.length,m=-1;for(;;){let t=m+1;if(-1===(m=i.indexOf(".",t))&&(m=h),"@each"===(o=i.slice(t,m))&&m!==h){t=m+1,m=i.indexOf(".",t);let s=d.length;if("number"==typeof s&&(Array.isArray(d)||"objectAt"in d)){if(0===s){e.push(w(d,"[]"));break}}else break;o=-1===m?i.slice(t):i.slice(t,m);for(let t=0;tvoid 0)();_meta=(()=>void 0)();setup(e,t,i,s){s.writeDescriptors(t,this)}teardown(e,t,i){i.removeDescriptors(t)}}let P=new WeakSet;function F(e,t){let i=function(t,i,s,n,a){let o=3==arguments.length?(0,r.meta)(t):n;return e.setup(t,i,s,o),{enumerable:e.enumerable,configurable:e.configurable,get:function(e,t){return function(){return t.get(this,e)}}(i,e),set:function(e,t){let i=function(i){return t.set(this,e,i)};return P.add(i),i}(i,e)}};return R(i,e),Object.setPrototypeOf(i,t.prototype),i}let I=new WeakMap;function N(e,t,i){let s=void 0===i?(0,r.peekMeta)(e):i;if(null!==s)return s.peekDescriptors(t)}function j(e){return I.get(e)}function O(e){return"function"==typeof e&&I.has(e)}function R(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];I.set(e,t)}let U=/\.@each$/;function B(e,t){let i=e.indexOf("{");i<0?t(e.replace(U,".[]")):function e(t,i,s,n){let r=i.indexOf("}"),a=0,o,l,u=i.substring(s+1,r).split(","),d=i.substring(r+1);for(t+=i.substring(0,s),l=u.length;a5)||void 0===arguments[5]||arguments[5];s||"function"!=typeof i||(s=i,i=null),(0,r.meta)(e).addToListeners(t,i,s,!0===n,a)}function q(e,t,i,s){let n,a;"object"==typeof i?(n=i,a=s):(n=null,a=i),(0,r.meta)(e).removeFromListeners(t,n,a)}function $(e,t,i,s,n){if(void 0===s){let i=void 0===n?(0,r.peekMeta)(e):n;s=null!==i?i.matchingListeners(t):void 0}if(void 0===s||0===s.length)return!1;for(let n=s.length-3;n>=0;n-=3){let r=s[n],a=s[n+1],o=s[n+2];if(!a)continue;o&&q(e,t,r,a),r||(r=e);let l=typeof a;("string"===l||"symbol"===l)&&(a=r[a]),a.apply(r,i)}return!0}function z(e,t){let i=(0,r.peekMeta)(e);if(null===i)return!1;let s=i.matchingListeners(t);return void 0!==s&&s.length>0}function V(){for(var e=arguments.length,t=Array(e),i=0;i4&&void 0!==arguments[4]?arguments[4]:W,a=Y(t);H(e,a,i,s,!1,n);let o=(0,r.peekMeta)(e);null!==o&&(o.isPrototypeMeta(e)||o.isInitializing())||X(e,a,n)}function Q(e,t,i,s){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:W,a=Y(t),o=(0,r.peekMeta)(e);null!==o&&(o.isPrototypeMeta(e)||o.isInitializing())||et(e,a,n),q(e,a,i,s)}function X(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=function(e,t){let i=!0===t?K:G;return i.has(e)||(i.set(e,new Map),(0,o.registerDestructor)(e,()=>(function(e){K.size>0&&K.delete(e),G.size>0&&G.delete(e)})(e),!0)),i.get(e)}(e,i);if(s.has(t))s.get(t).count++;else{let i=t.substring(0,t.lastIndexOf(":")),n=D(e,i,(0,l.tagMetaFor)(e),(0,r.peekMeta)(e));s.set(t,{count:1,path:i,tag:n,lastRevision:(0,l.valueForTag)(n),suspended:!1})}}let Z=!1,ee=[];function et(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!0===Z)return void ee.push([e,t,i]);let s=!0===i?K:G,n=s.get(e);if(void 0!==n){let i=n.get(t);i.count--,0===i.count&&(n.delete(t),0===n.size&&s.delete(e))}}function ei(e){G.has(e)&&G.get(e).forEach(t=>{t.tag=D(e,t.path,(0,l.tagMetaFor)(e),(0,r.peekMeta)(e)),t.lastRevision=(0,l.valueForTag)(t.tag)}),K.has(e)&&K.get(e).forEach(t=>{t.tag=D(e,t.path,(0,l.tagMetaFor)(e),(0,r.peekMeta)(e)),t.lastRevision=(0,l.valueForTag)(t.tag)})}let es=0;function en(e){let t=(0,l.valueForTag)(l.CURRENT_TAG);es!==t&&(es=t,G.forEach((t,i)=>{let s=(0,r.peekMeta)(i);t.forEach((t,n)=>{if(!(0,l.validateTag)(t.tag,t.lastRevision)){let a=()=>{try{$(i,n,[i,t.path],void 0,s)}finally{t.tag=D(i,t.path,(0,l.tagMetaFor)(i),(0,r.peekMeta)(i)),t.lastRevision=(0,l.valueForTag)(t.tag)}};e?e("actions",a):a()}})}))}function er(){K.forEach((e,t)=>{let i=(0,r.peekMeta)(t);e.forEach((e,s)=>{if(!e.suspended&&!(0,l.validateTag)(e.tag,e.lastRevision))try{e.suspended=!0,$(t,s,[t,e.path],void 0,i)}finally{e.tag=D(t,e.path,(0,l.tagMetaFor)(t),(0,r.peekMeta)(t)),e.lastRevision=(0,l.valueForTag)(e.tag),e.suspended=!1}})})}function ea(e,t,i){let s=K.get(e);if(!s)return;let n=s.get(Y(t));n&&(n.suspended=i)}let eo=Symbol("PROPERTY_DID_CHANGE"),el=0;function eu(e,t,i,s){let n=void 0===i?(0,r.peekMeta)(e):i;!(null!==n&&(n.isInitializing()||n.isPrototypeMeta(e)))&&(T(e,t),el<=0&&er(),eo in e&&(4==arguments.length?e[eo](t,s):e[eo](t)))}function ed(){el++,function(){Z=!0}()}function ec(){--el<=0&&(er(),function(){for(let[e,t,i]of(Z=!1,ee))et(e,t,i);ee=[]}())}function ep(e){ed();try{e()}finally{ec()}}function eh(){}class em extends L{_readOnly=!1;_hasConfig=!1;_getter=(()=>void 0)();_setter=(()=>void 0)();constructor(e){super();let t=e[e.length-1];if("function"==typeof t||null!==t&&"object"==typeof t){this._hasConfig=!0;let t=e.pop();"function"==typeof t?this._getter=t:(this._getter=t.get||eh,this._setter=t.set)}e.length>0&&this._property(...e)}setup(e,t,i,s){if(super.setup(e,t,i,s),!1===this._hasConfig){let{get:e,set:t}=i;void 0!==e&&(this._getter=e),void 0!==t&&(this._setter=function(i,s){let n=t.call(this,s);return void 0!==e&&void 0===n?e.call(this):n})}}_property(){let e=[];function t(t){e.push(t)}for(var i=arguments.length,s=Array(i),n=0;n{i=r.call(e,t)}),void 0!==o&&(0,l.updateTag)(a,A(e,o,n,s)),s.setValueFor(t,i),s.setRevisionFor(t,(0,l.valueForTag)(a)),C(s,t,i)}return(0,l.consumeTag)(a),Array.isArray(i)&&(0,l.consumeTag)((0,l.tagFor)(i,"[]")),i}set(e,t,i){let s;this._readOnly&&this._throwReadOnlyError(e,t);let n=(0,r.meta)(e);n.isInitializing()&&void 0!==this._dependentKeys&&this._dependentKeys.length>0&&"function"==typeof e[eo]&&e.isComponent&&J(e,t,()=>{e[eo](t)},void 0,!0);try{ed(),s=this._set(e,t,i,n),C(n,t,s);let r=(0,l.tagMetaFor)(e),a=(0,l.tagFor)(e,t,r),{_dependentKeys:o}=this;void 0!==o&&(0,l.updateTag)(a,A(e,o,r,n)),n.setRevisionFor(t,(0,l.valueForTag)(a))}finally{ec()}return s}_throwReadOnlyError(e,t){throw Error(`Cannot set read-only property "${t}" on object: ${(0,_.default)(e)}`)}_set(e,t,i,s){let n,r=void 0!==s.revisionFor(t),a=s.valueFor(t),{_setter:o}=this;ea(e,t,!0);try{n=o.call(e,t,i,a)}finally{ea(e,t,!1)}return r&&a===n||(s.setValueFor(t,n),eu(e,t,s,i)),n}teardown(e,t,i){void 0!==i.revisionFor(t)&&(i.setRevisionFor(t,void 0),i.setValueFor(t,void 0)),super.teardown(e,t,i)}}class eg extends em{get(e,t){let i,s=(0,r.meta)(e),n=(0,l.tagMetaFor)(e),a=(0,l.tagFor)(e,t,n),o=s.revisionFor(t);if(void 0!==o&&(0,l.validateTag)(a,o))i=s.valueFor(t);else{let{_getter:n}=this,r=(0,l.track)(()=>{i=n.call(e,t)});(0,l.updateTag)(a,r),s.setValueFor(t,i),s.setRevisionFor(t,(0,l.valueForTag)(a)),C(s,t,i)}return(0,l.consumeTag)(a),Array.isArray(i)&&(0,l.consumeTag)((0,l.tagFor)(i,"[]",n)),i}}class ef extends Function{readOnly(){return j(this)._readOnly=!0,this}meta(e){let t=j(this);return 0==arguments.length?t._meta||{}:(t._meta=e,this)}get _getter(){return j(this)._getter}set enumerable(e){j(this).enumerable=e}}function e_(){for(var e=arguments.length,t=Array(e),i=0;i4)||void 0===arguments[4]||arguments[4];return!0===s||!1===n?Object.defineProperty(e,t,{configurable:!0,enumerable:n,writable:!0,value:i}):e[t]=i,i}let eT=new m.C(1e3,e=>e.indexOf("."));function eS(e){return"string"==typeof e&&-1!==eT.get(e)}let eC=(0,c.s)("PROXY_CONTENT");function eA(e){return"object"==typeof e&&null!==e&&"function"==typeof e.unknownProperty}function eD(e,t){return eS(t)?ex(e,t):eM(e,t)}function eM(e,t){let i;if(null!=e)return"object"==typeof e||"function"==typeof e?(void 0===(i=e[t])&&"object"==typeof e&&!(t in e)&&eA(e)&&(i=e.unknownProperty(t)),(0,l.isTracking)()&&((0,l.consumeTag)((0,l.tagFor)(e,t)),(Array.isArray(i)||(0,h.isEmberArray)(i))&&(0,l.consumeTag)((0,l.tagFor)(i,"[]")))):i=e[t],i}function ex(e,t,i){for(let s of"string"==typeof t?t.split("."):t){if(null==e||e.isDestroyed||i&&("__proto__"===s||"constructor"===s))return;e=eM(e,s)}return e}eM("foo","a"),eM("foo",1),eM({},"a"),eM({},1),eM({unknownProperty(){}},"a"),eM({unknownProperty(){}},1),eD({},"foo"),eD({},"foo.bar");let eE={};(0,p.s)(eE),(0,l.track)(()=>eM({},"a")),(0,l.track)(()=>eM({},1)),(0,l.track)(()=>eM({a:[]},"a")),(0,l.track)(()=>eM({a:eE},"a"));class eL{_registry;_coreLibIndex;constructor(){this._registry=[],this._coreLibIndex=0}_getLibraryByName(e){for(let t of this._registry)if(t.name===e)return t}register(e,t,i){let s=this._registry.length;this._getLibraryByName(e)||(i&&(s=this._coreLibIndex++),this._registry.splice(s,0,{name:e,version:t}))}registerCoreLibrary(e,t){this.register(e,t,!0)}deRegister(e){let t,i=this._getLibraryByName(e);i&&(t=this._registry.indexOf(i),this._registry.splice(t,1))}isRegistered;logVersions}let eP=new eL;function eF(e){let t,i;for(var s=arguments.length,n=Array(s>1?s-1:0),r=1;rs)}])};return R(n),n}return eN(t)}function eN(e){let[t,i,s]=e,{getter:n,setter:a}=(0,l.trackedData)(i,s?s.initializer:void 0);function o(){let e=n(this);return(Array.isArray(e)||(0,h.isEmberArray)(e))&&(0,l.consumeTag)((0,l.tagFor)(e,"[]")),e}function u(e){a(this,e),(0,l.dirtyTagFor)(this,b)}return P.add(u),(0,r.meta)(t).writeDescriptors(i,new ej(o,u)),{enumerable:!0,configurable:!0,isTracked:!0,get:o,set:u}}eP.registerCoreLibrary("Ember",g.default);class ej{constructor(e,t){this._get=e,this._set=t,S.add(this)}get(e){return this._get.call(e)}set(e,t,i){this._set.call(e,i)}}},14684:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})})},14728:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(21772),n=i(41277);class r extends s.default{titleToken(){return(0,n.i18n)("groups.manage.tags.title")}}},14729:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";function t(e,t,i,s){var n={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return s?n[i][0]:n[i][1]}return e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return(12===e&&(e=0),"राती"===t)?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})})},14738:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(88572);class n extends s.default{get models(){return[this.currentUser,this.tagName]}get route(){return"userPrivateMessages.tags.show"}}},14762:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var s=i(98175),n=i(22112),r=i(9843),a=i(46337),o=i(24623),l=i(25818);function u(e){return(0,a.sb)(e)&&"fixed"!==(0,r.A)(e).position?e.offsetParent:null}function d(e){for(var t=(0,s.A)(e),i=u(e);i&&function(e){return["table","td","th"].indexOf((0,n.A)(e))>=0}(i)&&"static"===(0,r.A)(i).position;)i=u(i);return i&&("html"===(0,n.A)(i)||"body"===(0,n.A)(i)&&"static"===(0,r.A)(i).position)?t:i||function(e){var t=/firefox/i.test((0,l.A)());if(/Trident/i.test((0,l.A)())&&(0,a.sb)(e)&&"fixed"===(0,r.A)(e).position)return null;var i=(0,o.A)(e);for((0,a.Ng)(i)&&(i=i.host);(0,a.sb)(i)&&0>["html","body"].indexOf((0,n.A)(i));){var s=(0,r.A)(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return i;i=i.parentNode}return null}(e)||t}},14770:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(8625);let n={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object AsyncFunction]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regexp","[object Object]":"object","[object FileList]":"filelist"},{toString:r}=Object.prototype;function a(e){if(null===e)return"null";if(void 0===e)return"undefined";let t=n[r.call(e)]||"object";return"function"===t?s.default.detect(e)&&(t="class"):"object"===t&&(e instanceof Error?t="error":e instanceof s.default?t="instance":e instanceof Date&&(t="date")),t}},14773:(e,t,i)=>{"use strict";i.r(t),i.d(t,{currentThemeId:()=>u,currentThemeIds:()=>l,currentThemeKey:()=>o,extendThemeCookie:()=>c,listThemes:()=>p,setLocalTheme:()=>d});var s=i(25910),n=i(1933),r=i(41277);let a="theme_ids";function o(){console&&console.warn&&console.trace&&(0,n.default)("'currentThemeKey' is deprecated use 'currentThemeId' instead. A theme component may require updating.",{id:"discourse.current-theme-key"})}function l(){let e=[],t=document.querySelector("meta[name=discourse_theme_id]");return t&&t.content.split(",").forEach(t=>{isNaN(t=parseInt(t,10))||e.push(t)}),e}function u(){return l()[0]}function d(e,t){(e=e.reject(e=>!e))&&e.length>0?(0,s.default)(a,`${e.join(",")}|${t}`,{path:"/",expires:365}):(0,s.removeCookie)(a,{path:"/"})}function c(){let e=(0,s.default)(a);e&&(0,s.default)(a,e,{path:"/",expires:365})}function p(e){let t=e.get("user_themes");if(!t)return null;let i=!!t.findBy("default",!0),s=[];return i||s.push({name:(0,r.i18n)("themes.default_description"),id:null}),t.forEach(e=>{s.push({name:e.name,id:e.theme_id,color_scheme_id:e.color_scheme_id})}),0===s.length?null:s}},14798:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y,setNotificationsLimit:()=>_});var s=i(36376),n=i(83770),r=i(59999),a=i(95558),o=i(3558),l=i(63779),u=i(51629),d=i(64728),c=i(76998),p=i(78598),h=i(86817),m=i(41277);let g=l.MAX_NOTIFICATIONS_LIMIT_PARAMS,f=30;function _(e){if(e<=0||e>g)return void console.error(`Error: Invalid limit of ${e} passed to setNotificationsLimit. Must be greater than 0 and less than ${g}`);f=e}class y extends a.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[n.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #r=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #a=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();static #d=(()=>dt7948.g(this.prototype,"store",[n.service]))();#x=(()=>void dt7948.i(this,"store"))();static #g=(()=>dt7948.g(this.prototype,"modal",[n.service]))();#S=(()=>void dt7948.i(this,"modal"))();get filterByTypes(){return this.args.filterByTypes}get dismissTypes(){return null}get showAllHref(){return`${this.currentUser.path}/notifications`}get showAllTitle(){return(0,m.i18n)("user_menu.view_all_notifications")}get showDismiss(){return Object.keys(this.currentUser.get("grouped_unread_notifications")||{}).any(e=>this.currentUser.get(`grouped_unread_notifications.${e}`)>0)}get dismissTitle(){return(0,m.i18n)("user.dismiss_notifications_tooltip")}get itemsCacheKey(){let e="recent-notifications",t=this.filterByTypes;return t?.length>0&&(e+=`-type-${t.join(",")}`),e}get emptyStateComponent(){return this.constructor===y?"user-menu/notifications-list-empty-state":super.emptyStateComponent}get renderDismissConfirmation(){return!0}get dismissConfirmationText(){return(0,m.i18n)("notifications.dismiss_confirmation.body.default",{count:this.currentUser.unread_high_priority_notifications})}get alwaysRenderDismissConfirmation(){return!1}async fetchItems(){let e={limit:f,recent:!0,bump_last_seen_reviewable:!0};this.currentUser.enforcedSecondFactor&&(e.silent=!0);let t=this.filterByTypes;t?.length>0&&(e.filter_by_types=t.join(","),e.silent=!0);let i=[],s=await (0,o.ajax)("/notifications",{data:e}),n=await p.default.initializeNotifications(s.notifications),r=s.pending_reviewables?.map(e=>h.default.create(e));if(r?.length){let e=n.findIndex(e=>e.read),t=n.splice(0,e);(0,c.mergeSortedLists)(t,r,(e,t)=>{let i=new Date(e.created_at);return new Date(t.created_at)>i}).forEach(e=>{let t={appEvents:this.appEvents,currentUser:this.currentUser,siteSettings:this.siteSettings,site:this.site};e instanceof p.default?(t.notification=e,i.push(new u.default(t))):(t.reviewable=e,i.push(new d.default(t)))})}return n.forEach(e=>{i.push(new u.default({notification:e,appEvents:this.appEvents,currentUser:this.currentUser,siteSettings:this.siteSettings,site:this.site}))}),i}async performDismiss(){let e={type:"PUT"},t=this.dismissTypes;if(t?.length>0&&(e.data={dismiss_types:t.join(",")}),await (0,o.ajax)("/notifications/mark-read",e),t){let e={...this.currentUser.grouped_unread_notifications};t.forEach(t=>{let i=this.site.notification_types[t];i&&delete e[i]}),this.currentUser.set("grouped_unread_notifications",e)}else this.currentUser.set("all_unread_notifications_count",0),this.currentUser.set("unread_high_priority_notifications",0),this.currentUser.set("grouped_unread_notifications",{});this.refreshList(),(0,c.postRNWebviewMessage)("markRead","1")}dismissWarningModal(){this.modal.show(r.default,{model:{confirmationMessage:this.dismissConfirmationText,dismissNotifications:()=>this.performDismiss()}})}dismissButtonClick(){(this.renderDismissConfirmation||this.alwaysRenderDismissConfirmation)&&(this.currentUser.unread_high_priority_notifications>0||this.alwaysRenderDismissConfirmation)?this.dismissWarningModal():this.performDismiss()}static #T=(()=>dt7948.n(this.prototype,"dismissButtonClick",[s.action]))()}},14875:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{addSidebarPanel:()=>p,addSidebarSection:()=>h,currentPanelKey:()=>n,customPanels:()=>s,resetPanelSections:()=>m,resetSidebarPanels:()=>g});var r=i(75068),a=i(22109),o=i(75666),l=i(36470),u=i(41277),d=i(97971);class c{sections=[];get key(){return"main"}get switchButtonLabel(){return(0,u.i18n)("sidebar.panels.forum.label")}get switchButtonIcon(){return"shuffle"}get switchButtonDefaultUrl(){return this?.lastKnownURL||"/"}}function p(e){let t=e.call(this,r.default);s.push(new t)}function h(e,t){let i=s.findBy("key",t);if(!i)return console.warn(`Error adding section to ${t} because panel doesn't exist. Check addSidebarPanel API.`);i.sections.push(e.call(this,a.default,o.default))}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=s.findBy("key",e);t?(n.sections=[],i(t)):n.sections=[]}function g(){s=[new c,new d.default],n=l.MAIN_PANEL}g()},14897:(e,t,i)=>{"use strict";i.r(t),i.d(t,{FrameworkObject:()=>a,cacheFor:()=>n.g,guidFor:()=>s.g}),i(63847),i(7378);var s=i(71620);i(7950),i(12003),i(5963),i(56742),i(14675);var n=i(76949);i(5840);var r=i(36376);let a=class extends r.default{}},14934:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var s=i(93558),n=i(36376),r=i(34229),a=i(83770),o=i(6809),l=i(14547),u=i(26962),d=i(73241),c=i(43820),p=i(44612),h=i(36754),m=i(56776),g=i(64760),f=i(85831),_=i(77598),y=i(64301),b=i(94611),w=i(41277),k=i(93810),T=i(60110);let S=dt7948.c(class extends c.default{static #e=(()=>dt7948.g(this.prototype,"composer",[a.service]))();#c=(()=>void dt7948.i(this,"composer"))();static #t=(()=>dt7948.g(this.prototype,"allowBackgrounds",[(0,f.setting)("allow_profile_backgrounds")]))();#ih=(()=>void dt7948.i(this,"allowBackgrounds"))();static #r=(()=>dt7948.g(this.prototype,"showBadges",[(0,f.setting)("enable_badges")]))();#im=(()=>void dt7948.i(this,"showBadges"))();static #a=(()=>dt7948.g(this.prototype,"postStream",[(0,r.alias)("topic.postStream")]))();#iy=(()=>void dt7948.i(this,"postStream"))();static #d=(()=>dt7948.g(this.prototype,"showMoreMembers",[(0,r.gt)("moreMembersCount",0)]))();#i8=(()=>void dt7948.i(this,"showMoreMembers"))();elementId="group-card";mentionSelector="a.mention-group";group=null;highlightedMembers(e){return e.slice(0,10)}static #g=(()=>dt7948.n(this.prototype,"highlightedMembers",[(0,_.default)("group.members.[]")]))();moreMembersCount(e){return Math.max(e-10,0)}static #T=(()=>dt7948.n(this.prototype,"moreMembersCount",[(0,_.default)("group.user_count","group.members.[]")]))();groupClass(e){return e?`group-card-${e}`:""}static #C=(()=>dt7948.n(this.prototype,"groupClass",[(0,_.default)("group.name")]))();groupPath(e){return(0,b.groupPath)(e.name)}static #A=(()=>dt7948.n(this.prototype,"groupPath",[(0,_.default)("group")]))();_inserted(){this.appEvents.on("dom:clean",this,this._close)}static #D=(()=>dt7948.n(this.prototype,"_inserted",[(0,u.on)("didInsertElement")]))();_destroyed(){this.appEvents.off("dom:clean",this,this._close)}static #M=(()=>dt7948.n(this.prototype,"_destroyed",[(0,u.on)("didDestroyElement")]))();async _showCallback(e){this.setProperties({visible:!0,loading:!0});try{let t=await this.store.find("group",e);if(this.setProperties({group:t}),t.flair_url||t.flair_bg_color||t.set("flair_url","users"),t.can_see_members&&t.members.length<10)return t.reloadMembers({limit:10},!0)}catch{this._close()}finally{this.set("loading",null)}}_close(){this.set("group",null),super._close(...arguments)}close(e){e?.preventDefault(),this._close()}static #E=(()=>dt7948.n(this.prototype,"close",[n.action]))();handleShowGroup(e){(0,y.wantsNewWindow)(e)||(e.preventDefault(),this.showGroup(this.group),this._close())}static #P=(()=>dt7948.n(this.prototype,"handleShowGroup",[n.action]))();cancelFilter(){this.postStream.cancelFilter(),this.postStream.refresh(),this._close()}static #I=(()=>dt7948.n(this.prototype,"cancelFilter",[n.action]))();messageGroup(){this.composer.openNewMessage({recipients:this.get("group.name"),hasGroups:!0})}static #j=(()=>dt7948.n(this.prototype,"messageGroup",[n.action]))();static #R=(()=>(0,k.setComponentTemplate)((0,T.createTemplateFactory)({id:"WGsm0hpc",block:'[[[1,"\\n"],[41,[30,0,["visible"]],[[[1," "],[10,0],[14,0,"card-content"],[12],[1,"\\n"],[41,[30,0,["loading"]],[[[1," "],[10,0],[14,0,"card-row first-row"],[12],[1,"\\n "],[10,0],[14,0,"group-card-avatar"],[12],[1,"\\n "],[10,0],[14,0,"card-avatar-placeholder animated-placeholder placeholder-animation"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"card-row second-row"],[12],[1,"\\n "],[10,0],[14,0,"animated-placeholder placeholder-animation"],[12],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"card-row first-row"],[12],[1,"\\n "],[10,0],[14,0,"group-card-avatar"],[12],[1,"\\n "],[11,3],[16,6,[30,0,["groupPath"]]],[24,0,"card-huge-avatar"],[4,[32,0],["click",[30,0,["handleShowGroup"]]],null],[12],[1,"\\n "],[8,[32,1],null,[["@flairName","@flairUrl","@flairBgColor","@flairColor"],[[30,0,["group","name"]],[30,0,["group","flair_url"]],[30,0,["group","flair_bg_color"]],[30,0,["group","flair_color"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"names"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[10,0],[15,0,[29,["names__primary ",[30,0,["group","name"]]]]],[12],[1,"\\n "],[11,3],[16,6,[30,0,["groupPath"]]],[24,0,"group-page-link"],[4,[32,0],["click",[30,0,["handleShowGroup"]]],null],[12],[1,[30,0,["group","name"]]],[13],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["group","full_name"]],[[[1," "],[10,0],[14,0,"names__secondary full-name"],[12],[1,"\\n "],[1,[30,0,["group","full_name"]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"names__secondary username"],[12],[1,[30,0,["group","name"]]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"ul"],[14,0,"usercard-controls group-details-button"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,2],null,[["@model","@showLogin"],[[30,0,["group"]],[28,[32,3],["showLogin"],null]]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["group","messageable"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,4],[[24,0,"btn-primary group-message-button inline"]],[["@action","@icon","@label"],[[30,0,["messageGroup"]],"envelope","groups.message"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["group","bio_excerpt"]],[[[1," "],[10,0],[14,0,"card-row second-row"],[12],[1,"\\n "],[10,0],[14,0,"bio"],[12],[1,"\\n "],[1,[28,[32,5],[[30,0,["group","bio_excerpt"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["group","members"]],[[[1," "],[10,0],[14,0,"card-row third-row"],[12],[1,"\\n "],[10,0],[14,0,"members metadata"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["highlightedMembers"]]],null]],null],null,[[[1," "],[11,3],[16,6,[30,1,["path"]]],[24,0,"card-tiny-avatar"],[4,[32,0],["click",[30,0,["close"]]],null],[12],[1,[28,[32,6],[[30,1],"tiny"],null]],[13],[1,"\\n"]],[1]],null],[41,[30,0,["showMoreMembers"]],[[[1," "],[11,3],[16,6,[30,0,["groupPath"]]],[24,0,"more-members-link"],[4,[32,0],["click",[30,0,["handleShowGroup"]]],null],[12],[1,"\\n "],[10,1],[14,0,"more-members-count"],[12],[1,"+"],[1,[30,0,["moreMembersCount"]]],[1,"\\n "],[1,[28,[32,7],["more"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["user"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-card-contents.js",scope:()=>[s.on,d.default,h.default,g.default,p.default,o.htmlSafe,m.default,w.i18n],isStrictMode:!0}),this))()},[(0,l.classNameBindings)("visible:show","showBadges","hasCardBadgeImage","isFixed:fixed","groupClass"),(0,l.classNames)("no-bg","group-card")])},14940:(e,t,i)=>{"use strict";i.r(t),i.d(t,{setOwner:()=>s.setOwner});var s=i(98951)},15086:(e,t,i)=>{var s=i(51679);function n(e){this.text=String(e)}e.exports=n,n.prototype.version=s,n.prototype.type="VirtualText"},15135:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(15330);function n(){return(0,s.default)("")}},15172:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(36376),n=i(89120),r=i(3558),a=i(92161),o=i(77598),l=i(37902),u=i(17586),d=i(72818);class c extends s.default{static createFromJson(e){void 0===e.users&&(e.users=[]);let t={};e.users.forEach(function(e){t[e.id]=d.default.create(e)}),e.granted_bies=e.granted_bies??[],e.granted_bies.forEach(function(e){t[e.id]=d.default.create(e)}),void 0===e.topics&&(e.topics=[]);let i={};e.topics.forEach(function(e){i[e.id]=u.default.create(e)}),void 0===e.badges&&(e.badges=[]);let s={};l.default.createFromJson(e).forEach(function(e){s[e.get("id")]=e});let n=[];return(n=(n="user_badge"in e?[e.user_badge]:e.user_badge_info&&e.user_badge_info.user_badges||e.user_badges).map(function(e){let n=c.create(e),r=Date.parse(n.get("granted_at"));return n.set("grantedAt",r),n.set("badge",s[n.get("badge_id")]),n.get("user_id")&&n.set("user",t[n.get("user_id")]),n.get("granted_by_id")&&n.set("granted_by",t[n.get("granted_by_id")]),n.get("topic_id")&&n.set("topic",i[n.get("topic_id")]),n}),"user_badge"in e)?n[0]:(e.user_badge_info&&(n.grant_count=e.user_badge_info.grant_count,n.username=e.user_badge_info.username),n)}static findByUsername(e,t){if(!e)return n.Promise.resolve([]);let i="/user-badges/"+e+".json";return t&&t.grouped&&(i+="?grouped=true"),(0,r.ajax)(i).then(function(e){return c.createFromJson(e)})}static findByBadgeId(e,t){return t||(t={}),t.badge_id=e,(0,r.ajax)("/user_badges.json",{data:t}).then(function(e){return c.createFromJson(e)})}static grant(e,t,i){return(0,r.ajax)("/user_badges",{type:"POST",data:{username:t,badge_id:e,reason:i}}).then(function(e){return c.createFromJson(e)})}postUrl(){if(this.topic_title)return"/t/-/"+this.topic_id+"/"+this.post_number}static #e=(()=>dt7948.n(this.prototype,"postUrl",[o.default]))();revoke(){return(0,r.ajax)("/user_badges/"+this.id,{type:"DELETE"})}favorite(){return this.toggleProperty("is_favorite"),(0,r.ajax)(`/user_badges/${this.id}/toggle_favorite`,{type:"PUT"}).catch(e=>{this.toggleProperty("is_favorite"),(0,a.popupAjaxError)(e)})}}},15178:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var s=i(96744);function n(e){return Object.assign({},(0,s.A)(),e)}},15222:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(92161);class n{targetsTopic(){return!1}editable(){return!0}create(e,t){let i=this.postActionFor(e);e.appEvents.trigger(this.flagCreatedEvent(),e.args.model.flagModel,i,t),e.args.closeModal(),i.act(e.args.model.flagModel,t).then(()=>{e.appEvents.trigger("post-stream:refresh",{id:e.args.model.flagModel.id})}).catch(e=>(0,s.popupAjaxError)(e))}}},15246:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(77632),n=i(36376),r=i(42946),a=i(83770),o=i(94204),l=i(88687),u=i(17586);class d{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#i=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #r=(()=>dt7948.g(this.prototype,"pmTopicTrackingState",[a.service]))();#i4=(()=>void dt7948.i(this,"pmTopicTrackingState"))();static #a=(()=>dt7948.g(this.prototype,"topicTrackingState",[a.service]))();#tA=(()=>void dt7948.i(this,"topicTrackingState"))();static #d=(()=>dt7948.g(this.prototype,"bulkSelectEnabled",[s.tracked],function(){return!1}))();#i7=(()=>void dt7948.i(this,"bulkSelectEnabled"))();static #g=(()=>dt7948.g(this.prototype,"autoAddTopicsToBulkSelect",[s.tracked],function(){return!1}))();#i9=(()=>void dt7948.i(this,"autoAddTopicsToBulkSelect"))();static #T=(()=>dt7948.g(this.prototype,"autoAddBookmarksToBulkSelect",[s.tracked],function(){return!1}))();#i6=(()=>void dt7948.i(this,"autoAddBookmarksToBulkSelect"))();static #C=(()=>dt7948.g(this.prototype,"lastCheckedElementId",[s.tracked],function(){return null}))();#i5=(()=>void dt7948.i(this,"lastCheckedElementId"))();selected=(()=>new o.TrackedArray)();constructor(e){(0,r.setOwner)(this,(0,r.getOwner)(e))}clear(){this.selected.length=0,this.lastCheckedElementId=null}addTopics(e){this.selected.concat(e)}get selectedCategoryIds(){return this.selected.mapBy("category_id").uniq()}toggleBulkSelect(e){e?.preventDefault(),this.bulkSelectEnabled=!this.bulkSelectEnabled,this.clear()}static #A=(()=>dt7948.n(this.prototype,"toggleBulkSelect",[n.action]))();dismissRead(e,t){let i="posts"===e?{type:"dismiss_posts"}:{type:"change_notification_level",notification_level_id:l.NotificationLevels.REGULAR},s="tracked"===(this.router.currentRoute.queryParams.f||this.router.currentRoute.queryParams.filter);(this.selected.length?u.default.bulkOperation(this.selected,i,{},s):u.default.bulkOperationByFilter("unread",i,t,s)).then(e=>{e?.topic_ids&&(t?.private_message_inbox?this.pmTopicTrackingState.removeTopics(e.topic_ids):this.topicTrackingState.removeTopics(e.topic_ids)),this.modal.close(),this.router.refresh()})}}},15308:(e,t,i)=>{var s=i(87659),n=/[^a-zA-Z0-9\\_:.-]/gim;function r(e){return!function(e){return'"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]}(e)?e:e.substr(1,e.length-2)}t.parseTag=function(e,t,i){"use strict";var n="",r=0,a=!1,o=!1,l=0,u=e.length,d="",c="";e:for(l=0;l"===p||l===u-1){n+=i(e.slice(r,a)),d=function(e){var t,i=s.spaceIndex(e);return t=-1===i?e.slice(1,-1):e.slice(1,i+1),"/"===(t=s.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(c=e.slice(a,l+1)),n+=t(a,n.length,d,c,function(e){return"0;t--){var i=e[t];if(" "!==i){if("="===i)return t;return -1}}}(e,c-1)))continue;d(l,r(s.trim(e.slice(i,c)))),l=!1,i=c+1;continue}}return i{"use strict";let s,n,r,a,o,l,u;function d(e){return(void 0===r&&g(document.querySelector('meta[name="discourse-base-uri"]')?.getAttribute("content")||""),e)?"/"!==e&&!/^\/[^\/]/.test(e)||a.test(e)?e:("/"!==e[0]&&(e="/"+e),r+e):"/"===r?"":r}function c(e){return e=d(e),s&&/^\/[^\/]/.test(e)?e=s+e:l&&e.startsWith(o)&&(e=e.replace(o,l)),e}function p(e){return n+m(e)}function h(e){return e.startsWith(n)}function m(e){return r?e.replace(a,"$1"):e}function g(e){r=e,a=RegExp(`^${r}(/|$)`)}function f(e,t,i,o){o=o||{},s=e,n=t,g(i),o?.snapshot&&(u={cdn:s,baseUri:r,baseUrl:n,configBaseUrl:t,baseUriMatcher:a})}function _(){u&&(s=u.cdn,r=u.baseUri,n=u.baseUrl,a=u.baseUriMatcher,o=u.S3BaseUrl,l=u.S3CDN)}function y(e,t,i){o=e,l=t,i?.snapshot&&((u=u||{}).S3BaseUrl=o,u.S3CDN=l)}function b(e){void 0===r&&g(document.querySelector('meta[name="discourse-base-uri"]')?.getAttribute("content")||"");let t=window.location.origin,i="/"===e[0]?r||"/":t+r||t;return e.startsWith(i)}i.r(t),i.d(t,{default:()=>d,getAbsoluteURL:()=>p,getURLWithCDN:()=>c,isAbsoluteURL:()=>h,restoreBaseUri:()=>_,samePrefix:()=>b,setPrefix:()=>g,setupS3CDN:()=>y,setupURL:()=>f,withoutPrefix:()=>m})},15414:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(41277);function n(e,t){return(0,s.i18n)(e?"yes_value":"no_value",t)}},15485:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(6809),n=i(41277);function r(e,t){return(0,s.htmlSafe)((0,n.i18n)(e,t))}},15486:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(26351),n=i(76998),r=i(41277);function a(e,t){return(0,r.i18n)(e)===t?null:e}class o{constructor(e){let{siteSettings:t,capabilities:i}=e;this.shortcuts={},this.context=null,this.groups=[{group:"fontStyles",buttons:[]},{group:"insertions",buttons:[]},{group:"extras",buttons:[]}];let s=a("composer.bold_label","B");this.addButton({id:"bold",group:"fontStyles",icon:s?null:"bold",label:s,shortcut:"B",preventFocus:!0,trimLeading:!0,perform:e=>e.applySurround("**","**","bold_text")});let n=a("composer.italic_label","I");this.addButton({id:"italic",group:"fontStyles",icon:n?null:"italic",label:n,shortcut:"I",preventFocus:!0,trimLeading:!0,perform:e=>e.applySurround("*","*","italic_text")}),e.showLink&&this.addButton({id:"link",icon:"link",group:"insertions",shortcut:"K",preventFocus:!0,trimLeading:!0,sendAction:e=>this.context.send("showLinkModal",e)}),this.addButton({id:"blockquote",group:"insertions",icon:"quote-right",shortcut:"Shift+9",preventFocus:!0,perform:e=>e.applyList("> ","blockquote_text",{applyEmptyLines:!0,multiline:!0})}),i.touch||(this.addButton({id:"code",group:"insertions",shortcut:"E",icon:"code",preventFocus:!0,trimLeading:!0,perform:e=>e.formatCode()}),this.addButton({id:"bullet",group:"extras",icon:"list-ul",shortcut:"Shift+8",title:"composer.ulist_title",preventFocus:!0,perform:e=>e.applyList("* ","list_item")}),this.addButton({id:"list",group:"extras",icon:"list-ol",shortcut:"Shift+7",title:"composer.olist_title",preventFocus:!0,perform:e=>e.applyList(e=>e?`${parseInt(e,10)+1}. `:"1. ","list_item")})),t.support_mixed_text_direction&&this.addButton({id:"toggle-direction",group:"extras",icon:"right-left",shortcut:"Shift+6",title:"composer.toggle_direction",preventFocus:!0,perform:e=>e.toggleDirection()}),this.groups[this.groups.length-1].lastGroup=!0}addButton(e){let t=this.groups.findBy("group",e.group);if(!t)throw Error(`Couldn't find toolbar group ${e.group}`);let i={id:e.id,tabindex:e.tabindex||"-1",className:e.className||e.id,label:e.label,icon:e.icon,action:t=>{e.action?e.action(t):this.context.send("toolbarButton",t),this.context.appEvents.trigger("d-editor:toolbar-button-clicked",t)},perform:e.perform||function(){},trimLeading:e.trimLeading,popupMenu:e.popupMenu||!1,preventFocus:e.preventFocus||!1,condition:e.condition||(()=>!0),shortcutAction:e.shortcutAction,hideShortcutInTitle:e.hideShortcutInTitle||!1};e.sendAction&&(i.sendAction=e.sendAction);let a=(0,r.i18n)(e.title||`composer.${e.id}_title`);if(e.shortcut){let t=`${(0,n.translateModKey)(s.PLATFORM_KEY_MODIFIER+"+")}${(0,n.translateModKey)(e.shortcut)}`;e.hideShortcutInTitle?i.title=a:i.title=`${a} (${t})`,this.shortcuts[`${s.PLATFORM_KEY_MODIFIER}+${e.shortcut}`.toLowerCase()]=i}else i.title=a;e.unshift?t.buttons.unshift(i):t.buttons.push(i)}}},15491:(e,t,i)=>{var s=i(61062),n=i(15308),r=i(65593);function a(e,t){return new r(t).process(e)}(t=e.exports=a).filterXSS=a,t.FilterXSS=r,function(){for(var e in s)t[e]=s[e];for(var i in n)t[i]=n[i]}(),"undefined"!=typeof window&&(window.filterXSS=e.exports),function(){return"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope}()&&(self.filterXSS=e.exports)},15494:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(18891),n=i(36376),r=i(34229),a=i(83770),o=i(1916),l=i(92161),u=i(26220),d=i(85831),c=i(77598),p=i(14773),h=i(76998),m=i(47361),g=i(41277);let f={1:"latest",2:"categories",3:"unread",4:"new",5:"top",6:"bookmarks",7:"unseen",8:"hot"},_=["smallest","smaller","normal","larger","largest"],y=["notifications","contextual"];class b extends s.default{static #e=(()=>dt7948.g(this.prototype,"session",[a.service]))();#tt=(()=>void dt7948.i(this,"session"))();static #t=(()=>dt7948.g(this.prototype,"preferencesController",[(0,s.inject)("preferences")]))();#se=(()=>void dt7948.i(this,"preferencesController"))();currentThemeId=(()=>(0,p.currentThemeId)())();previewingColorScheme=!1;selectedDarkColorSchemeId=null;makeColorSchemeDefault=!0;static #r=(()=>dt7948.g(this.prototype,"canPreviewColorScheme",[(0,d.propertyEqual)("model.id","currentUser.id")]))();#st=(()=>void dt7948.i(this,"canPreviewColorScheme"))();subpageTitle=(()=>(0,g.i18n)("user.preferences_nav.interface"))();static #a=(()=>dt7948.g(this.prototype,"showColorSchemeSelector",[(0,r.reads)("userSelectableColorSchemes.length")]))();#si=(()=>void dt7948.i(this,"showColorSchemeSelector"))();static #d=(()=>dt7948.g(this.prototype,"showColorSchemeNoneItem",[(0,r.not)("currentSchemeCanBeSelected")]))();#ss=(()=>void dt7948.i(this,"showColorSchemeNoneItem"))();selectedColorSchemeNoneLabel=(()=>(0,g.i18n)("user.color_schemes.default_description"))();init(){super.init(...arguments),this.set("selectedDarkColorSchemeId",this.session.userDarkSchemeId),this.set("selectedColorSchemeId",this.getSelectedColorSchemeId())}saveAttrNames(e){let t=["locale","external_links_in_new_tab","dynamic_favicon","enable_quoting","enable_smart_lists","enable_defer","automatically_unpin_topics","allow_private_messages","enable_allowed_pm_users","homepage_id","hide_presence","text_size","title_count_mode","skip_new_user_tips","seen_popups","color_scheme_id","dark_scheme_id","bookmark_auto_delete_preference"];return e&&t.push("theme_ids"),t}static #g=(()=>dt7948.n(this.prototype,"saveAttrNames",[(0,c.default)("makeThemeDefault")]))();availableLocales(){return JSON.parse(this.siteSettings.available_locales)}static #T=(()=>dt7948.n(this.prototype,"availableLocales",[(0,c.default)()]))();defaultDarkSchemeId(){return this.siteSettings.default_dark_mode_color_scheme_id}static #C=(()=>dt7948.n(this.prototype,"defaultDarkSchemeId",[c.default]))();textSizes(){return _.map(e=>({name:(0,g.i18n)(`user.text_size.${e}`),value:e}))}static #A=(()=>dt7948.n(this.prototype,"textSizes",[c.default]))();get homepageId(){return this.model.user_option.homepage_id||this.userSelectableHome.firstObject.value}static #D=(()=>dt7948.n(this.prototype,"homepageId",[(0,n.computed)("model.user_option.homepage_id","userSelectableHome.[]")]))();titleCountModes(){return y.map(e=>({name:(0,g.i18n)(`user.title_count_mode.${e}`),value:e}))}static #M=(()=>dt7948.n(this.prototype,"titleCountModes",[c.default]))();bookmarkAfterNotificationModes(){return Object.keys(m.AUTO_DELETE_PREFERENCES).map(e=>({value:m.AUTO_DELETE_PREFERENCES[e],name:(0,g.i18n)(`bookmarks.auto_delete_preference.${e.toLowerCase()}`)}))}static #E=(()=>dt7948.n(this.prototype,"bookmarkAfterNotificationModes",[c.default]))();userSelectableThemes(){return(0,p.listThemes)(this.site)}static #P=(()=>dt7948.n(this.prototype,"userSelectableThemes",[c.default]))();showThemeSelector(e){return e&&e.length>1}static #I=(()=>dt7948.n(this.prototype,"showThemeSelector",[(0,c.default)("userSelectableThemes")]))();themeIdChanged(e){return -1===this.currentThemeId?(this.set("currentThemeId",e),!1):this.currentThemeId!==e}static #j=(()=>dt7948.n(this.prototype,"themeIdChanged",[(0,c.default)("themeId")]))();userSelectableColorSchemes(){return(0,u.listColorSchemes)(this.site)}static #R=(()=>dt7948.n(this.prototype,"userSelectableColorSchemes",[c.default]))();currentSchemeCanBeSelected(e,t,i){if(!e||!i)return!1;let s=e.findBy("id",i);return!!s&&t.findBy("id",s.color_scheme_id)}static #B=(()=>dt7948.n(this.prototype,"currentSchemeCanBeSelected",[(0,c.default)("userSelectableThemes","userSelectableColorSchemes","themeId")]))();showThemeSetDefault(e,t){return!e||e[0]!==t}static #H=(()=>dt7948.n(this.prototype,"showThemeSetDefault",[(0,c.default)("model.user_option.theme_ids","themeId")]))();showTextSetDefault(e,t){return e!==t}static #$=(()=>dt7948.n(this.prototype,"showTextSetDefault",[(0,c.default)("model.user_option.text_size","textSize")]))();homeChanged(){let e=this.siteSettings.top_menu.split("|")[0].split(",")[0];this.model.canPickThemeWithCustomHomepage&&(f[-1]="custom");let t=f[this.get("model.user_option.homepage_id")];(0,h.setDefaultHomepage)(t||e)}userSelectableHome(){let e={};Object.keys(f).forEach(t=>{e[f[t]]=t});let t=[];this.model.canPickThemeWithCustomHomepage&&t.push({name:(0,g.i18n)("user.homepage.default"),value:-1});let i=this.siteSettings.top_menu.split("|"),s=f[this.get("model.user_option.homepage_id")];return s&&!i.includes(s)&&i.push(f[this.homepageId]),i.forEach(i=>{let s=e[i];s&&t.push({name:(0,g.i18n)(`filters.${i}.title`),value:Number(s)})}),t}static #V=(()=>dt7948.n(this.prototype,"userSelectableHome",[(0,c.default)()]))();showDarkModeToggle(){return this.defaultDarkSchemeId>0&&!this.showDarkColorSchemeSelector}static #K=(()=>dt7948.n(this.prototype,"showDarkModeToggle",[c.default]))();userSelectableDarkColorSchemes(){return(0,u.listColorSchemes)(this.site,{darkOnly:!0})}static #J=(()=>dt7948.n(this.prototype,"userSelectableDarkColorSchemes",[c.default]))();showDarkColorSchemeSelector(e){let t=this.defaultDarkSchemeId>0?2:1;return e&&e.length>t}static #X=(()=>dt7948.n(this.prototype,"showDarkColorSchemeSelector",[(0,c.default)("userSelectableDarkColorSchemes")]))();getSelectedColorSchemeId(){if(!this.session.userColorSchemeId)return;let e=this.userSelectableThemes?.findBy("id",this.themeId);if(e?.color_scheme_id!==this.session.userColorSchemeId||this.userSelectableColorSchemes.findBy("id",this.session.userColorSchemeId))return this.session.userColorSchemeId}save(){this.set("saved",!1);let e=this.makeThemeDefault;e&&this.set("model.user_option.theme_ids",[this.themeId]);let t=this.makeTextSizeDefault;return t&&this.set("model.user_option.text_size",this.textSize),this.showColorSchemeSelector?this.makeColorSchemeDefault&&this.set("model.user_option.color_scheme_id",this.selectedColorSchemeId):this.set("model.user_option.color_scheme_id",null),this.showDarkModeToggle?this.set("model.user_option.dark_scheme_id",this.enableDarkMode?null:-1):this.defaultDarkSchemeId>0&&this.selectedDarkColorSchemeId===this.defaultDarkSchemeId?this.set("model.user_option.dark_scheme_id",null):this.set("model.user_option.dark_scheme_id",this.selectedDarkColorSchemeId),this.model.save(this.saveAttrNames).then(()=>{this.set("saved",!0),e?(0,p.setLocalTheme)([]):(0,p.setLocalTheme)([this.themeId],this.get("model.user_option.theme_key_seq")),t?this.model.updateTextSizeCookie(null):this.model.updateTextSizeCookie(this.textSize),this.makeColorSchemeDefault?((0,u.updateColorSchemeCookie)(null),(0,u.updateColorSchemeCookie)(null,{dark:!0})):((0,u.updateColorSchemeCookie)(this.selectedColorSchemeId),this.defaultDarkSchemeId>0&&this.selectedDarkColorSchemeId===this.defaultDarkSchemeId?(0,u.updateColorSchemeCookie)(null,{dark:!0}):(0,u.updateColorSchemeCookie)(this.selectedDarkColorSchemeId,{dark:!0})),this.homeChanged(),this.themeId&&this.themeId!==this.currentThemeId&&(0,o.reload)()}).catch(l.popupAjaxError)}static #Z=(()=>dt7948.n(this.prototype,"save",[n.action]))();selectTextSize(e){let t=document.documentElement.classList;_.forEach(i=>{let s=`text-size-${i}`;e===i?t.add(s):t.remove(s)}),this.session.requiresRefresh=!0,this.set("textSize",e)}static #ee=(()=>dt7948.n(this.prototype,"selectTextSize",[n.action]))();loadColorScheme(e){if(this.setProperties({selectedColorSchemeId:e,previewingColorScheme:this.canPreviewColorScheme}),this.canPreviewColorScheme){if(e<0){let t=this.userSelectableThemes.findBy("id",this.themeId);t&&t.color_scheme_id&&(e=t.color_scheme_id)}(0,u.loadColorSchemeStylesheet)(e,this.themeId),-1===this.selectedDarkColorSchemeId&&(0,u.loadColorSchemeStylesheet)(e,this.themeId,!0)}}static #et=(()=>dt7948.n(this.prototype,"loadColorScheme",[n.action]))();loadDarkColorScheme(e){this.setProperties({selectedDarkColorSchemeId:e,previewingColorScheme:this.canPreviewColorScheme}),this.canPreviewColorScheme&&(-1===e?((0,u.loadColorSchemeStylesheet)(this.selectedColorSchemeId,this.themeId,!0),this.session.set("darkModeAvailable",!1)):((0,u.loadColorSchemeStylesheet)(e,this.themeId,!0),this.session.set("darkModeAvailable",!0)))}static #ei=(()=>dt7948.n(this.prototype,"loadDarkColorScheme",[n.action]))();undoColorSchemePreview(){this.setProperties({selectedColorSchemeId:this.session.userColorSchemeId,selectedDarkColorSchemeId:this.session.userDarkSchemeId,previewingColorScheme:!1});let e=document.querySelector("link#cs-preview-dark"),t=document.querySelector("link#cs-preview-light");e&&e.remove(),t&&t.remove()}static #es=(()=>dt7948.n(this.prototype,"undoColorSchemePreview",[n.action]))();resetSeenUserTips(){return this.model.set("user_option.skip_new_user_tips",!1),this.model.set("user_option.seen_popups",null),this.model.save(["skip_new_user_tips","seen_popups"])}static #en=(()=>dt7948.n(this.prototype,"resetSeenUserTips",[n.action]))()}},15713:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(14798),n=i(3558),r=i(61800),a=i(51629),o=i(47361),l=i(78598),u=i(41277);class d extends s.default{get dismissTypes(){return["bookmark_reminder"]}get showAllHref(){return`${this.currentUser.path}/activity/bookmarks`}get showAllTitle(){return(0,u.i18n)("user_menu.view_all_bookmarks")}get showDismiss(){return this.#sn>0}get dismissTitle(){return(0,u.i18n)("user.dismiss_bookmarks_tooltip")}get itemsCacheKey(){return"user-menu-bookmarks-tab"}get emptyStateComponent(){return"user-menu/bookmarks-list-empty-state"}get #sn(){let e=`grouped_unread_notifications.${this.site.notification_types.bookmark_reminder}`;return this.currentUser.get(e)||0}get dismissConfirmationText(){return(0,u.i18n)("notifications.dismiss_confirmation.body.bookmarks",{count:this.#sn})}async fetchItems(){let e=await (0,n.ajax)(`/u/${this.currentUser.username}/user-menu-bookmarks`),t=[],i=e.notifications.map(e=>l.default.create(e));await l.default.applyTransformations(i),i.forEach(e=>{t.push(new a.default({notification:e,currentUser:this.currentUser,siteSettings:this.siteSettings,site:this.site}))});let s=e.bookmarks.map(e=>o.default.create(e));return await o.default.applyTransformations(s),t.push(...s.map(e=>new r.default({bookmark:e,siteSettings:this.siteSettings,site:this.site}))),t}}},15720:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default});var s=i(98386)},15741:(e,t,i)=>{"use strict";i.r(t),i.d(t,{NO_VALUE_OPTION:()=>n,VALIDATION_TYPES:()=>s});let s={submit:"submit",change:"change",focusout:"focusout",input:"input"},n="__NONE__"},15784:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(42371),n=i(43654),r=i(74811),a=i(41277),o=i(93810),l=i(60110),u=i(29681);let d=(e,t,i)=>{let s=(0,r.default)(e);if(t){let e=moment.tz(t,i).format((0,a.i18n)("dates.long_date_without_year"));s+=` ${(0,a.i18n)("until")} ${e}`}return s},c=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"Z3BF1mca",block:'[[[1,"\\n "],[10,0],[14,0,"user-status-background"],[12],[1,"\\n "],[1,[28,[32,0],[[30,1,["emoji"]]],[["title","alt"],[[28,[32,1],[[30,1,["description"]],[30,1,["ends_at"]],[30,2]],null],[28,[32,2],[":",[30,1,["emoji"]],":"],null]]]]],[1,"\\n "],[13],[1,"\\n"]],["@status","@timezone"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/user-dropdown/user-status-bubble.js",scope:()=>[n.default,d,s.concat],isStrictMode:!0}),(0,u.default)(void 0,"user-status-bubble:UserStatusBubble"))},15792:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=function(){try{var e="discourse/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),i={default:JSON.parse(decodeURIComponent(t))};return Object.defineProperty(i,"__esModule",{value:!0}),i}catch(t){throw Error('Could not read config from meta tag with name "'+e+'".')}}().default},15843:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,i=e%100;if(0===e)return e+"-ев";if(0===i)return e+"-ен";if(i>10&&i<20)return e+"-ти";if(1===t)return e+"-ви";if(2===t)return e+"-ри";else if(7===t||8===t)return e+"-ми";else return e+"-ти"},week:{dow:1,doy:7}})})},15864:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(54695),n=i(62069),r=i(82938),a=i(41277),o=i(93810),l=i(60110),u=i(29681);let d=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"vnbGDiUU",block:'[[[1,"\\n "],[10,"section"],[14,0,"user-secondary-navigation"],[12],[1,"\\n "],[8,[32,0],[[24,0,"messages-nav"]],null,[["default"],[[[[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,1],null,[["@route","@model"],["group.messages.inbox",[30,1,["model","name"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["user.messages.inbox"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,1],null,[["@route","@model"],["group.messages.archive",[30,1,["model","name"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["user.messages.archive"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"section"],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n "],[46,[28,[31,1],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/messages.js",scope:()=>[r.default,s.LinkTo,a.i18n],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},15886:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},i={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};return e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return(12===e&&(e=0),"ਰਾਤ"===t)?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})})},15894:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(83770),r=i(59046),a=i(15330),o=i(93810),l=i(60110);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"session",[n.service]))();#tt=(()=>void dt7948.i(this,"session"))();static #t=(()=>dt7948.g(this.prototype,"interfaceColor",[n.service]))();#td=(()=>void dt7948.i(this,"interfaceColor"))();get isDarkImageAvailable(){return this.args.lightImg?.url&&this.args.darkImg?.url&&(this.session.defaultColorSchemeIsDark||this.session.darkModeAvailable)}get defaultImg(){return this.session.defaultColorSchemeIsDark&&this.args.darkImg?this.args.darkImg:this.args.lightImg}get darkImgCdnSrc(){return(0,a.getURLWithCDN)(this.args.darkImg.url)}get darkMediaQuery(){return this.interfaceColor.darkModeForced?"all":this.interfaceColor.lightModeForced?"none":"(prefers-color-scheme: dark)"}static #r=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"cuLhbJ2K",block:'[[[1,"\\n"],[41,[30,0,["isDarkImageAvailable"]],[[[1," "],[10,"picture"],[12],[1,"\\n "],[10,"source"],[15,"srcset",[30,0,["darkImgCdnSrc"]]],[15,"width",[30,1,["width"]]],[15,"height",[30,1,["height"]]],[15,"media",[30,0,["darkMediaQuery"]]],[12],[13],[1,"\\n "],[8,[32,0],[[17,2]],[["@src","@width","@height"],[[30,0,["defaultImg","url"]],[30,0,["defaultImg","width"]],[30,0,["defaultImg","height"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,3,["url"]],[[[1," "],[8,[32,0],[[17,2]],[["@src","@width","@height"],[[30,3,["url"]],[30,3,["width"]],[30,3,["height"]]]],null],[1,"\\n "]],[]],null]],[]]],[1," "]],["@darkImg","&attrs","@lightImg"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/light-dark-img.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},16026:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(36376),n=i(21772),r=i(41277);class a extends n.default{titleToken(){return(0,r.i18n)("groups.manage.logs.title")}model(){return this.modelFor("group").findLogs()}setupController(e,t){this.controllerFor("group-manage-logs").setProperties({model:t})}willTransition(){this.controllerFor("group-manage-logs").reset()}static #e=(()=>dt7948.n(this.prototype,"willTransition",[s.action]))()}},16044:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(36376),n=i(25164),r=i(77598),a=i(21772);class o extends a.default{model(e){return null===e.sort_order&&("reviewed"===e.status||"all"===e.status?e.sort_order="created_at":e.sort_order="score"),this.store.findAll("reviewable",e)}setupController(e,t){let i=t.resultSetMeta;void 0!==i.reviewable_count&&this.currentUser.set("reviewable_count",i.reviewable_count),void 0!==i.unseen_reviewable_count&&this.currentUser.set("unseen_reviewable_count",i.unseen_reviewable_count),e.setProperties({reviewables:t,type:i.type,filterType:i.type,filterStatus:i.status,filterTopic:i.topic_id,filterCategoryId:i.category_id,filterPriority:i.priority,reviewableTypes:i.reviewable_types,unknownReviewableTypes:i.unknown_reviewable_types_and_sources,scoreTypes:i.score_types,filterUsername:i.username,filterReviewedBy:i.reviewed_by,filterFlaggedBy:i.flagged_by,filterFromDate:(0,n.isPresent)(i.from_date)?moment(i.from_date):null,filterToDate:(0,n.isPresent)(i.to_date)?moment(i.to_date):null,filterSortOrder:i.sort_order,sort_order:i.sort_order,additionalFilters:i.additional_filters||{}}),e.reviewables.setEach("last_performing_username",null)}activate(){this.messageBus.subscribe(this._reviewableCountsChannel,this._updateReviewables)}deactivate(){this.messageBus.unsubscribe(this._reviewableCountsChannel,this._updateReviewables)}_updateReviewables(e){e.updates&&this.controller.reviewables.forEach(t=>{let i=e.updates[t.id];i&&t.setProperties(i)})}static #e=(()=>dt7948.n(this.prototype,"_updateReviewables",[r.bind]))();get _reviewableCountsChannel(){return`/reviewable_counts/${this.currentUser.id}`}refreshRoute(){this.refresh()}static #t=(()=>dt7948.n(this.prototype,"refreshRoute",[s.action]))()}},16067:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(93558),r=i(36376),a=i(13446),o=i(81895),l=i(86427),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{static controlType="question";handleInput(e){this.args.field.set("true"===e.target.value)}static #e=(()=>dt7948.n(this.prototype,"handleInput",[r.action]))();static #t=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"2JyI9QHP",block:'[[[1,"\\n "],[10,0],[14,0,"form-kit__inline-radio"],[12],[1,"\\n"],[44,[[28,[32,0],null,null]],[[[1," "],[8,[32,1],[[24,0,"form-kit__control-radio-label --yes"]],[["@fieldId"],[[30,1]]],[["default"],[[[[1,"\\n "],[11,"input"],[16,3,[30,2,["name"]]],[24,4,"radio"],[24,2,"true"],[16,"checked",[28,[32,2],[[30,2,["value"]],true],null]],[24,0,"form-kit__control-radio"],[16,"disabled",[30,2,["disabled"]]],[17,3],[16,1,[30,1]],[4,[32,3],["change",[30,0,["handleInput"]]],null],[12],[13],[1,"\\n\\n"],[41,[30,4],[[[1," "],[1,[30,4]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,4],["yes_value"],null]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[1]]],[1,"\\n"],[44,[[28,[32,0],null,null]],[[[1," "],[8,[32,1],[[24,0,"form-kit__control-radio-label --no"]],[["@fieldId"],[[30,5]]],[["default"],[[[[1,"\\n "],[11,"input"],[16,3,[30,2,["name"]]],[24,4,"radio"],[24,2,"false"],[16,"checked",[28,[32,2],[[30,2,["value"]],false],null]],[24,0,"form-kit__control-radio"],[16,"disabled",[30,2,["disabled"]]],[17,3],[16,1,[30,5]],[4,[32,3],["change",[30,0,["handleInput"]]],null],[12],[13],[1,"\\n\\n"],[41,[30,6],[[[1," "],[1,[30,6]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,4],["no_value"],null]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[5]]],[1," "],[13],[1,"\\n "]],["uuid","@field","&attrs","@yesLabel","uuid","@noLabel"],false,["let","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/question.js",scope:()=>[l.default,o.default,a.eq,n.on,u.i18n],isStrictMode:!0}),this))()}},16100:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});class s extends Error{constructor(e,t){void 0===t&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t}}let n=s},16178:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(13446),n=i(39139),r=i(14452),a=i(93810),o=i(60110),l=i(29681);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"xgiL4VCl",block:'[[[1,"\\n"],[41,[30,1,["filtered"]],[[[1," "],[8,[32,0],null,[["@sectionName","@headerLinkText","@headerLinkTitle","@headerActionsIcon","@headerActions","@willDestroy","@collapsable","@displaySection","@hideSectionHeader","@collapsedByDefault","@activeLink","@expandWhenActive","@scrollActiveLinkIntoView"],[[30,1,["name"]],[30,1,["text"]],[30,1,["title"]],[30,1,["actionsIcon"]],[30,1,["actions"]],[30,1,["willDestroy"]],[30,2],[30,1,["displaySection"]],[30,1,["hideSectionHeader"]],[30,1,["collapsedByDefault"]],[30,1,["activeLink"]],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[41,[28,[32,1],[[30,1,["emptyStateComponent"]],[28,[32,2],[[30,1,["filteredLinks","length"]]],null]],null],[[[1," "],[8,[30,1,["emptyStateComponent"]],null,null,null],[1,"\\n"]],[]],null],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["filteredLinks"]]],null]],null],"name",[[[1," "],[8,[32,3],null,[["@linkName","@linkClass","@route","@model","@query","@models","@currentWhen","@href","@title","@contentCSSClass","@prefixColor","@prefixBadge","@prefixType","@prefixValue","@prefixCSSClass","@suffixType","@suffixValue","@suffixCSSClass","@hoverType","@hoverValue","@hoverAction","@hoverTitle","@didInsert","@willDestroy","@content","@contentComponent","@scrollIntoView"],[[30,5,["name"]],[30,5,["classNames"]],[30,5,["route"]],[30,5,["model"]],[30,5,["query"]],[30,5,["models"]],[30,5,["currentWhen"]],[30,5,["href"]],[30,5,["title"]],[30,5,["contentCSSClass"]],[30,5,["prefixColor"]],[30,5,["prefixBadge"]],[30,5,["prefixType"]],[30,5,["prefixValue"]],[30,5,["prefixCSSClass"]],[30,5,["suffixType"]],[30,5,["suffixValue"]],[30,5,["suffixCSSClass"]],[30,5,["hoverType"]],[30,5,["hoverValue"]],[30,5,["hoverAction"]],[30,5,["hoverTitle"]],[30,5,["didInsert"]],[30,5,["willDestroy"]],[30,5,["text"]],[50,[30,5,["contentComponent"]],0,null,[["status"],[[30,5,["contentComponentArgs"]]]]],[28,[32,1],[[30,4],[28,[32,4],[[30,5,["name"]],[30,1,["activeLink","name"]]],null]],null]]],null],[1,"\\n"]],[5]],null],[1," "]],[]]]]],[1,"\\n"]],[]],null]],["@section","@collapsable","@expandWhenActive","@scrollActiveLinkIntoView","link"],false,["if","each","-track-array","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/api-section.js",scope:()=>[n.default,s.and,s.not,r.default,s.eq],isStrictMode:!0}),(0,l.default)(void 0,"api-section:SidebarApiSection"))},16181:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DEFAULT_FEATURES:()=>n,FEATURES:()=>r,isEnabled:()=>a});var s=i(5840);let n={},r=Object.assign(n,s.E.FEATURES);function a(e){let t=r[e];return!0===t||!1===t?t:!!s.E.ENABLE_OPTIONAL_FEATURES}},16225:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(60889),r=i(45017),a=i(93810),o=i(60110);class l extends s.default{get title(){let e=this.args.badge?.description;if(e)return(0,r.default)(`
    ${e}
    `)[0].innerText}get showName(){return this.args.showName??!0}static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"YmgWTQpp",block:'[[[1,"\\n "],[11,1],[16,"title",[30,0,["title"]]],[16,"data-badge-name",[30,1,["name"]]],[16,0,[29,["user-badge\\n ",[30,1,["badgeTypeClassName"]],"\\n ",[52,[51,[30,1,["enabled"]]],"disabled"]]]],[17,2],[12],[1,"\\n "],[1,[28,[32,0],[[30,1]],null]],[1,"\\n"],[41,[30,0,["showName"]],[[[1," "],[10,1],[14,0,"badge-display-name"],[12],[1,[30,1,["name"]]],[13],[1,"\\n"]],[]],null],[1," "],[18,3,null],[1,"\\n "],[13],[1,"\\n "]],["@badge","&attrs","&default"],false,["unless","if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/badge-button.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},16397:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(89120),n=i(96299),r=i(62833);let a={initialize(e){let t=e.lookup("service:site-settings"),i=e.lookup("service:capabilities");if(t.composer_media_optimization_image_enabled){if(i.isIOS&&!t.composer_ios_media_optimisation_image_enabled||"undefined"==typeof OffscreenCanvas||!("createImageBitmap"in self))return;(0,n.addComposerUploadPreProcessor)(r.default,t=>{let{isMobileDevice:i}=t;return{optimizeFn:(t,i)=>e.isDestroyed||e.isDestroying?s.Promise.resolve():e.lookup("service:media-optimization-worker").optimizeImage(t,i),runParallel:!i}})}}}},16400:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(83770),n=i(89120),r=i(15330),a=i(47182),o=i(17510);let l=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[s.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[s.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #r=(()=>dt7948.g(this.prototype,"capabilities",[s.service]))();#v=(()=>void dt7948.i(this,"capabilities"))();worker=null;workerUrl=(()=>(0,r.getAbsoluteURL)("/javascripts/media-optimization-worker.js"))();currentComposerUploadData=null;promiseResolvers=null;workerDoneCount=0;workerPendingCount=0;async optimizeImage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.promiseResolvers=this.promiseResolvers||{},this.stopWorkerOnError=!t.hasOwnProperty("stopWorkerOnError")||t.stopWorkerOnError,/(\.|\/)(jpe?g|png)$/i.test(e.type)?e.size{let i;this.logIfDebug(`Transforming ${e.name}`),this.currentComposerUploadData=e,this.promiseResolvers[e.id]=t;try{i=await (0,o.fileToImageData)(e.data,this.capabilities.isIOS)}catch(e){return this.logIfDebug(e),t()}this.worker.postMessage({type:"compress",fileId:e.id,file:i.data.buffer,fileName:e.name,width:i.width,height:i.height,settings:{resize_threshold:this.siteSettings.composer_media_optimization_image_resize_dimensions_threshold,resize_target:this.siteSettings.composer_media_optimization_image_resize_width_target,resize_pre_multiply:this.siteSettings.composer_media_optimization_image_resize_pre_multiply,resize_linear_rgb:this.siteSettings.composer_media_optimization_image_resize_linear_rgb,encode_quality:this.siteSettings.composer_media_optimization_image_encode_quality,debug_mode:this.siteSettings.composer_media_optimization_debug_mode}},[i.data.buffer]),this.workerPendingCount++})):n.Promise.resolve()}async ensureAvailableWorker(){return this.worker&&this.workerInstalled?n.Promise.resolve():this.installPromise?this.installPromise:this.install()}async install(){return this.installPromise=new n.Promise((e,t)=>{this.afterInstalled=e,this.failedInstall=t,this.logIfDebug("Installing worker."),this.startWorker(),this.registerMessageHandler(),this.worker.postMessage({type:"install",settings:{mozjpeg_script:(0,r.getURLWithCDN)("/javascripts/squoosh/mozjpeg_enc.js"),mozjpeg_wasm:(0,r.getURLWithCDN)("/javascripts/squoosh/mozjpeg_enc.wasm"),resize_script:(0,r.getURLWithCDN)("/javascripts/squoosh/squoosh_resize.js"),resize_wasm:(0,r.getURLWithCDN)("/javascripts/squoosh/squoosh_resize_bg.wasm")}}),this.appEvents.on("composer:closed",this,"stopWorker")}),this.installPromise}startWorker(){this.logIfDebug("Starting media-optimization-worker"),this.worker=new Worker(this.workerUrl)}stopWorker(){this.worker&&(this.logIfDebug("Stopping media-optimization-worker..."),this.workerInstalled=!1,this.worker.terminate(),this.worker=null,this.workerDoneCount=0),this.workerPendingCount=0}registerMessageHandler(){this.worker.onmessage=e=>{switch(e.data.type){case"file":let t=new File([e.data.file],e.data.fileName,{type:"image/jpeg"});this.logIfDebug(`Finished optimization of ${t.name} new size: ${t.size}.`),this.promiseResolvers[e.data.fileId](t),this.workerDoneCount++,this.workerPendingCount--,this.workerDoneCount>4&&0===this.workerPendingCount&&(this.logIfDebug("Terminating worker to release memory in WASM."),this.stopWorker());break;case"error":this.logIfDebug(`Handling error message from image optimization for ${e.data.fileName}.`),this.stopWorkerOnError&&this.stopWorker(),this.promiseResolvers[e.data.fileId](),this.workerPendingCount--;break;case"installed":this.logIfDebug("Worker installed."),this.workerInstalled=!0,this.afterInstalled(),this.cleanupInstallPromises();break;case"installFailed":this.logIfDebug("Worker failed to install."),this.failedInstall(e.data.errorMessage),this.cleanupInstallPromises();break;default:this.logIfDebug(`Sorry, we are out of ${e}.`)}}}cleanupInstallPromises(){this.afterInstalled=null,this.failedInstall=null,this.installPromise=null}logIfDebug(){this.siteSettings.composer_media_optimization_debug_mode&&console.log(...arguments)}},[a.disableImplicitInjections])},16403:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{createHelperContext:()=>m,findHelper:()=>p,helperContext:()=>g,htmlHelper:()=>u,makeArray:()=>l,registerHelper:()=>c,registerHelpers:()=>h,registerRawHelper:()=>_,registerUnbound:()=>f});var n=i(22908),r=i(65053),a=i(6809),o=i(1933);function l(e){return null==e?[]:Array.isArray(e)?e:[e]}function u(e){return(0,o.default)('htmlHelper is deprecated. Use a plain function and `htmlSafe()` from "@ember/template" instead.',{id:"discourse.html-helper"}),n.default.helper(function(){for(var t=arguments.length,i=Array(t),s=0;s1?i[0].concat({hash:i[i.length-1]}):i,(0,a.htmlSafe)(e.apply(this,i)||"")})}let d={};function c(e,t){d[e]=n.default.helper(t)}function p(e){return d[e]||d[(0,r.dasherize)(e)]}function h(e){Object.keys(d).forEach(t=>{e.register(`helper:${t}`,d[t],{singleton:!1})})}function m(e){s=e}function g(){return s}function f(e,t){(0,o.default)(`[registerUnbound ${e}] registerUnbound is deprecated. Instead, you should export a default function from 'discourse/helpers/${e}.js'.`,{id:"discourse.register-unbound"}),d[e]=class extends n.default{compute(e,i){return t(...e,i)}}}function _(e){(0,o.default)(`[registerRawHelper ${e}] the raw handlebars system has been removed, so calls to registerRawHelper should be removed.`,{id:"discourse.register-raw-helper"})}},16422:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(45682);class n extends s.default{}},16428:(e,t,i)=>{"use strict";e.exports=i(79006).extend({implicit:[i(78146),i(89194)],explicit:[i(36857),i(81925),i(55407),i(40362)]})},16468:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(85703),n=i(37420),r=i(96393),a=i(93810),o=i(60110),l=i(29681);let u=(0,r.translateSize)("medium"),d=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"XPfRti71",block:'[[[1,"\\n "],[10,0],[15,0,[28,[32,0],["icon-avatar",[30,1,["classNames"]]],null]],[12],[1,"\\n"],[1," "],[10,"img"],[14,"lazy","lazy"],[15,"src",[28,[32,1],[[30,1,["avatarTemplate"]],"medium"],null]],[15,"width",[32,2]],[15,"height",[32,2]],[14,0,"avatar"],[12],[13],[1,"\\n "],[10,0],[14,0,"icon-avatar__icon-wrapper"],[12],[1,"\\n "],[1,[28,[32,3],[[30,1,["icon"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["@data"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-menu/icon-avatar.js",scope:()=>[s.default,r.avatarUrl,u,n.default],isStrictMode:!0}),(0,l.default)(void 0,"icon-avatar:IconAvatar"))},16516:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.default}),i(269);var s=i(55177)},16526:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(83770),n=i(27618),r=i(21772),a=i(41277);class o extends r.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#i=(()=>void dt7948.i(this,"router"))();titleToken(){return(0,a.i18n)("admin.groups.new.title")}model(){return n.default.create({automatic:!1,visibility_level:0,can_admin_group:!0})}afterModel(){this.get("currentUser.can_create_group")||this.router.transitionTo("groups")}}},16560:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{mapRoutes:()=>m});var n=i(5986),r=i(45365);{let e=(0,r.buildWaiter)("@embroider/router:lazy-route-waiter");function a(){return window}class t extends n.default{seenByRoute=(()=>new Set)();lazyRoute(e){let t=a();if(t._embroiderRouteBundles_)return t._embroiderRouteBundles_.find(t=>-1!==t.names.indexOf(e))}lazyEngine(e){let t=a(),i=this._engineInfoByRoute[e];if(i&&t._embroiderEngineBundles_){let e=i.name;return t._embroiderEngineBundles_.find(t=>-1!==t.names.indexOf(e))}}isEngine(e){return!!this._engineInfoByRoute[e]}_getQPMeta(e){let t=this.lazyRoute(e.name);if(!(t&&!t.loaded||this.isEngine(e.name)&&!this.seenByRoute.has(e.name))&&(!(t=this.lazyEngine(e.name))||t.loaded)){for(var i=arguments.length,s=Array(i>1?i-1:0),n=1;n{let s=this.lazyRoute(i)??this.lazyEngine(i);if(this.seenByRoute.add(i),!s||s.loaded)return t(i);let n=e.beginAsync();return s.load().then(()=>(e.endAsync(n),s.loaded=!0,t(i)),t=>{throw e.endAsync(n),t})};return i.isEmbroiderRouterHandler=!0,i}}s=t}var o=s,l=i(131),u=i(15330),d=i(46694),c=i(65456);class p extends o{location=(()=>(0,l.isTesting)()?"none":"history")();setupRouter(){let e=super.setupRouter(...arguments);return e&&(0,c.default)(this),e}}class h{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.name=e,this.opts=t,this.depth=i,this.children=[],this.childrenByName={},this.paths={},this.site=d.default.current(),t.path||(t.path=e),this.paths[t.path]=!0}route(e,t,i){"function"==typeof t?(i=t,t={}):t=t||{};let s=this.childrenByName[e];if(s)t.path&&(s.paths[t.path]=!0),s.extract(i);else{let s=new h(e,t,this.depth+1);s.extract(i),this.childrenByName[e]=s,this.children.push(s)}}extract(e){e&&e.call(this)}mapRoutes(e){let t=this.children;if("root"===this.name)t.forEach(t=>t.mapRoutes(e));else{let i=0===t.length?void 0:function(){t.forEach(e=>e.mapRoutes(this))};e.route(this.name,this.opts,i)}}findSegment(e){if(e&&e.length){let t=e.shift(),i=this.childrenByName[t];if(i)return 0===e.length?i:i.findSegment(e)}}findPath(e){if(e)return this.findSegment(e.split("."))}}function m(){let e=new h("root"),t=[];return Object.keys(requirejs.entries).forEach(function(i){if(/route-map$/.test(i)){let s=requirejs(i,null,null,!0);if(!s||!s.default)throw Error(i+" must export a route map.");let n=s.default;"function"==typeof n?e.extract(n):t.push(n)}}),t.forEach(t=>{let i=e.findPath(t.resource);i&&i.extract(t.map)}),(class extends p{rootURL=(()=>(0,u.default)("/"))()}).map(function(){e.mapRoutes(this),this.route("unknown",{path:"*path"})})}},16565:(e,t,i)=>{"use strict";let s;i.r(t),i.d(t,{ConcreteBounds:()=>S,CurriedValue:()=>ey,CursorImpl:()=>T,DOMChanges:()=>ty,DOMTreeConstruction:()=>tp,DynamicAttribute:()=>V,DynamicScopeImpl:()=>h,EMPTY_ARGS:()=>eZ,EMPTY_NAMED:()=>eQ,EMPTY_POSITIONAL:()=>eX,EnvironmentImpl:()=>tS,IDOMChanges:()=>tf,LowLevelVM:()=>t1,NewElementBuilder:()=>es,PartialScopeImpl:()=>m,RehydrateBuilder:()=>ie,RemoteLiveBlock:()=>er,SERIALIZATION_FIRST_NODE_STRING:()=>t9,SimpleDynamicAttribute:()=>W,TEMPLATE_ONLY_COMPONENT_MANAGER:()=>ti,TemplateOnlyComponent:()=>ts,TemplateOnlyComponentManager:()=>tt,UpdatableBlockImpl:()=>ea,UpdatingVM:()=>t$,array:()=>tM,clear:()=>A,clientBuilder:()=>el,concat:()=>tE,createCapturedArgs:()=>e$,curry:()=>ev,destroy:()=>o.destroy,dynamicAttribute:()=>$,fn:()=>tP,get:()=>tF,hash:()=>tI,inTransaction:()=>tA,invokeHelper:()=>tO,isDestroyed:()=>o.isDestroyed,isDestroying:()=>o.isDestroying,isSerializationFirstNode:()=>t6,isWhitespace:()=>tg,normalizeProperty:()=>P,on:()=>tH,registerDestructor:()=>o.registerDestructor,rehydrationBuilder:()=>id,reifyArgs:()=>eW,reifyNamed:()=>ez,reifyPositional:()=>eV,renderComponent:()=>t7,renderMain:()=>t4,renderSync:()=>t8,resetDebuggerCallback:()=>e6,runtimeContext:()=>tC,setDebuggerCallback:()=>e9,templateOnlyComponent:()=>tn});var n=i(43914),r=i(34408),a=i(82851),o=i(12003),l=i(58602),u=i(56742),d=i(5963),c=i(12693),p=i(54178);Array(n.Op.Size).fill(null),Array(n.Op.Size).fill(null);class h{bucket;constructor(e){this.bucket=e?(0,a.assign)({},e):{}}get(e){return(0,a.unwrap)(this.bucket[e])}set(e,t){return this.bucket[e]=t}child(){return new h(this.bucket)}}class m{static root(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return new m(Array(t+1).fill(r.UNDEFINED_REFERENCE),i,null,null,null).init({self:e})}static sized(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return new m(Array(e+1).fill(r.UNDEFINED_REFERENCE),t,null,null,null)}constructor(e,t,i,s,n){this.slots=e,this.owner=t,this.callerScope=i,this.evalScope=s,this.partialMap=n}init(e){let{self:t}=e;return this.slots[0]=t,this}getSelf(){return this.get(0)}getSymbol(e){return this.get(e)}getBlock(e){let t=this.get(e);return t===r.UNDEFINED_REFERENCE?null:t}getEvalScope(){return this.evalScope}getPartialMap(){return this.partialMap}bind(e,t){this.set(e,t)}bindSelf(e){this.set(0,e)}bindSymbol(e,t){this.set(e,t)}bindBlock(e,t){this.set(e,t)}bindEvalScope(e){this.evalScope=e}bindPartialMap(e){this.partialMap=e}bindCallerScope(e){this.callerScope=e}getCallerScope(){return this.callerScope}child(){return new m(this.slots.slice(),this.owner,this.callerScope,this.evalScope,this.partialMap)}get(e){if(e>=this.slots.length)throw RangeError(`BUG: cannot get $${e} from scope; length=${this.slots.length}`);return this.slots[e]}set(e,t){if(e>=this.slots.length)throw RangeError(`BUG: cannot get $${e} from scope; length=${this.slots.length}`);this.slots[e]=t}}let g=Symbol("INNER_VM"),f=Symbol("DESTROYABLE_STACK"),_=Symbol("STACKS"),y=Symbol("REGISTERS"),b=Symbol("HEAP"),w=Symbol("CONSTANTS"),k=Symbol("ARGS");class T{constructor(e,t){this.element=e,this.nextSibling=t}}class S{constructor(e,t,i){this.parentNode=e,this.first=t,this.last=i}parentElement(){return this.parentNode}firstNode(){return this.first}lastNode(){return this.last}}function C(e,t){let i=e.parentElement(),s=e.firstNode(),n=e.lastNode(),r=s;for(;;){let e=r.nextSibling;if(i.insertBefore(r,t),r===n)return e;r=(0,a.expect)(e,"invalid bounds")}}function A(e){let t=e.parentElement(),i=e.firstNode(),s=e.lastNode(),n=i;for(;;){let e=n.nextSibling;if(t.removeChild(n),n===s)return e;n=(0,a.expect)(e,"invalid bounds")}}function D(e){return M(e)?"":String(e)}function M(e){return null==e||"function"!=typeof e.toString}function x(e){return"object"==typeof e&&null!==e&&"function"==typeof e.toHTML}function E(e){return"object"==typeof e&&null!==e&&"number"==typeof e.nodeType}function L(e){return"string"==typeof e}function P(e,t){let i,s;if(t in e)s=t,i="prop";else{let n=t.toLowerCase();n in e?(i="prop",s=n):(i="attr",s=t)}return"prop"!==i||"style"!==s.toLowerCase()&&!function(e,t){let i=F[e.toUpperCase()];return i&&i[t.toLowerCase()]||!1}(e.tagName,s)||(i="attr"),{normalized:s,type:i}}let F={INPUT:{form:!0,autocorrect:!0,list:!0},SELECT:{form:!0},OPTION:{form:!0},TEXTAREA:{form:!0},LABEL:{form:!0},FIELDSET:{form:!0},LEGEND:{form:!0},OBJECT:{form:!0},OUTPUT:{form:!0},BUTTON:{form:!0}},I=["javascript:","vbscript:"],N=["A","BODY","LINK","IMG","IFRAME","BASE","FORM"],j=["EMBED"],O=["href","src","background","action"],R=["src"];function U(e,t){return -1!==e.indexOf(t)}function B(e,t){return(null===e||U(N,e))&&U(O,t)}function Y(e,t){return null!==e&&U(j,e)&&U(R,t)}function H(e,t){return B(e,t)||Y(e,t)}function q(e,t,i){let n=null;if(null==i)return i;if(x(i))return i.toHTML();n=e?e.tagName.toUpperCase():null;let r=D(i);return B(n,t)&&U(I,(s||(s=function(){if("object"==typeof URL&&null!==URL&&"function"==typeof URL.parse){let e=URL;return t=>{let i=null;return"string"==typeof t&&(i=e.parse(t).protocol),null===i?":":i}}if("function"==typeof URL)return e=>{try{return new URL(e).protocol}catch(e){return":"}};throw Error('@glimmer/runtime needs a valid "globalThis.URL"')}()),s(r)))?`unsafe:${r}`:Y(n,t)?`unsafe:${r}`:r}function $(e,t,i){arguments.length>3&&void 0!==arguments[3]&&arguments[3];let{tagName:s,namespaceURI:n}=e,r={element:e,name:t,namespace:i};if(n===a.NS_SVG)return z(s,t,r);let{type:o,normalized:l}=P(e,t);return"attr"===o?z(s,l,r):function(e,t,i){return H(e,t)?new G(t,i):!function(e,t){return("INPUT"===e||"TEXTAREA"===e)&&"value"===t}(e,t)?!function(e,t){return"OPTION"===e&&"selected"===t}(e,t)?new K(t,i):new X(t,i):new Q(t,i)}(s,l,r)}function z(e,t,i){return H(e,t)?new J(i):new W(i)}class V{constructor(e){this.attribute=e}}class W extends V{set(e,t,i){let s=Z(t);if(null!==s){let{name:t,namespace:i}=this.attribute;e.__setAttribute(t,s,i)}}update(e,t){let i=Z(e),{element:s,name:n}=this.attribute;null===i?s.removeAttribute(n):s.setAttribute(n,i)}}class K extends V{constructor(e,t){super(t),this.normalizedName=e}value;set(e,t,i){null!=t&&(this.value=t,e.__setProperty(this.normalizedName,t))}update(e,t){let{element:i}=this.attribute;this.value!==e&&(i[this.normalizedName]=this.value=e,null==e&&this.removeAttribute())}removeAttribute(){let{element:e,namespace:t}=this.attribute;t?e.removeAttributeNS(t,this.normalizedName):e.removeAttribute(this.normalizedName)}}class G extends K{set(e,t,i){let{element:s,name:n}=this.attribute,r=q(s,n,t);super.set(e,r,i)}update(e,t){let{element:i,name:s}=this.attribute,n=q(i,s,e);super.update(n,t)}}class J extends W{set(e,t,i){let{element:s,name:n}=this.attribute,r=q(s,n,t);super.set(e,r,i)}update(e,t){let{element:i,name:s}=this.attribute,n=q(i,s,e);super.update(n,t)}}class Q extends K{set(e,t){e.__setProperty("value",D(t))}update(e){let t=(0,a.castToBrowser)(this.attribute.element,["input","textarea"]),i=t.value,s=D(e);i!==s&&(t.value=s)}}class X extends K{set(e,t){null!=t&&!1!==t&&e.__setProperty("selected",!0)}update(e){(0,a.castToBrowser)(this.attribute.element,"option").selected=!!e}}function Z(e){return!1===e||null==e||void 0===e.toString?null:!0===e?"":"function"==typeof e?null:String(e)}class ee{constructor(e){this.node=e}firstNode(){return this.node}}class et{constructor(e){this.node=e}lastNode(){return this.node}}let ei=Symbol("CURSOR_STACK");class es{dom;updateOperations;constructing=null;operations=null;env;[ei]=(()=>new a.Stack)();modifierStack=(()=>new a.Stack)();blockStack=(()=>new a.Stack)();static forInitialRender(e,t){return new this(e,t.element,t.nextSibling).initialize()}static resume(e,t){let i=new this(e,t.parentElement(),t.reset(e)).initialize();return i.pushLiveBlock(t),i}constructor(e,t,i){this.pushElement(t,i),this.env=e,this.dom=e.getAppendOperations(),this.updateOperations=e.getDOM()}initialize(){return this.pushSimpleBlock(),this}debugBlocks(){return this.blockStack.toArray()}get element(){return this[ei].current.element}get nextSibling(){return this[ei].current.nextSibling}get hasBlocks(){return this.blockStack.size>0}block(){return(0,a.expect)(this.blockStack.current,"Expected a current live block")}popElement(){this[ei].pop(),(0,a.expect)(this[ei].current,"can't pop past the last element")}pushSimpleBlock(){return this.pushLiveBlock(new en(this.element))}pushUpdatableBlock(){return this.pushLiveBlock(new ea(this.element))}pushBlockList(e){return this.pushLiveBlock(new eo(this.element,e))}pushLiveBlock(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.blockStack.current;return null!==i&&(t||i.didAppendBounds(e)),this.__openBlock(),this.blockStack.push(e),e}popBlock(){return this.block().finalize(this),this.__closeBlock(),(0,a.expect)(this.blockStack.pop(),"Expected popBlock to return a block")}__openBlock(){}__closeBlock(){}openElement(e){let t=this.__openElement(e);return this.constructing=t,t}__openElement(e){return this.dom.createElement(e,this.element)}flushElement(e){let t=this.element,i=(0,a.expect)(this.constructing,"flushElement should only be called when constructing an element");this.__flushElement(t,i),this.constructing=null,this.operations=null,this.pushModifiers(e),this.pushElement(i,null),this.didOpenElement(i)}__flushElement(e,t){this.dom.insertBefore(e,t,this.nextSibling)}closeElement(){return this.willCloseElement(),this.popElement(),this.popModifiers()}pushRemoteElement(e,t,i){return this.__pushRemoteElement(e,t,i)}__pushRemoteElement(e,t,i){if(this.pushElement(e,i),void 0===i)for(;e.lastChild;)e.removeChild(e.lastChild);let s=new er(e);return this.pushLiveBlock(s,!0)}popRemoteElement(){let e=this.popBlock();return(0,a.assert)(e instanceof er,"[BUG] expecting a RemoteLiveBlock"),this.popElement(),e}pushElement(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this[ei].push(new T(e,t))}pushModifiers(e){this.modifierStack.push(e)}popModifiers(){return this.modifierStack.pop()}didAppendBounds(e){return this.block().didAppendBounds(e),e}didAppendNode(e){return this.block().didAppendNode(e),e}didOpenElement(e){return this.block().openElement(e),e}willCloseElement(){this.block().closeElement()}appendText(e){return this.didAppendNode(this.__appendText(e))}__appendText(e){let{dom:t,element:i,nextSibling:s}=this,n=t.createTextNode(e);return t.insertBefore(i,n,s),n}__appendNode(e){return this.dom.insertBefore(this.element,e,this.nextSibling),e}__appendFragment(e){let t=e.firstChild;if(t){let i=new S(this.element,t,e.lastChild);return this.dom.insertBefore(this.element,e,this.nextSibling),i}{let e=this.__appendComment("");return new S(this.element,e,e)}}__appendHTML(e){return this.dom.insertHTMLBefore(this.element,this.nextSibling,e)}appendDynamicHTML(e){let t=this.trustedContent(e);this.didAppendBounds(t)}appendDynamicText(e){let t=this.untrustedContent(e);return this.didAppendNode(t),t}appendDynamicFragment(e){let t=this.__appendFragment(e);this.didAppendBounds(t)}appendDynamicNode(e){let t=this.__appendNode(e),i=new S(this.element,t,t);this.didAppendBounds(i)}trustedContent(e){return this.__appendHTML(e)}untrustedContent(e){return this.__appendText(e)}appendComment(e){return this.didAppendNode(this.__appendComment(e))}__appendComment(e){let{dom:t,element:i,nextSibling:s}=this,n=t.createComment(e);return t.insertBefore(i,n,s),n}__setAttribute(e,t,i){this.dom.setAttribute(this.constructing,e,t,i)}__setProperty(e,t){this.constructing[e]=t}setStaticAttribute(e,t,i){this.__setAttribute(e,t,i)}setDynamicAttribute(e,t,i,s){let n=$(this.constructing,e,s,i);return n.set(this,t,this.env),n}}class en{first=null;last=null;nesting=0;constructor(e){this.parent=e}parentElement(){return this.parent}firstNode(){return(0,a.expect)(this.first,"cannot call `firstNode()` while `SimpleLiveBlock` is still initializing").firstNode()}lastNode(){return(0,a.expect)(this.last,"cannot call `lastNode()` while `SimpleLiveBlock` is still initializing").lastNode()}openElement(e){this.didAppendNode(e),this.nesting++}closeElement(){this.nesting--}didAppendNode(e){0===this.nesting&&(this.first||(this.first=new ee(e)),this.last=new et(e))}didAppendBounds(e){0===this.nesting&&(this.first||(this.first=e),this.last=e)}finalize(e){null===this.first&&e.appendComment("")}}class er extends en{constructor(e){super(e),(0,o.registerDestructor)(this,()=>{this.parentElement()===this.firstNode().parentNode&&A(this)})}}class ea extends en{reset(){(0,o.destroy)(this);let e=A(this);return this.first=null,this.last=null,this.nesting=0,e}}class eo{constructor(e,t){this.parent=e,this.boundList=t,this.parent=e,this.boundList=t}parentElement(){return this.parent}firstNode(){return(0,a.expect)(this.boundList[0],"cannot call `firstNode()` while `LiveBlockList` is still initializing").firstNode()}lastNode(){let e=this.boundList;return(0,a.expect)(e[e.length-1],"cannot call `lastNode()` while `LiveBlockList` is still initializing").lastNode()}openElement(e){(0,a.assert)(!1,"Cannot openElement directly inside a block list")}closeElement(){(0,a.assert)(!1,"Cannot closeElement directly inside a block list")}didAppendNode(e){(0,a.assert)(!1,"Cannot create a new node directly inside a block list")}didAppendBounds(e){}finalize(e){(0,a.assert)(this.boundList.length>0,"boundsList cannot be empty")}}function el(e,t){return es.forInitialRender(e,t)}let eu=new class{evaluateOpcode=(()=>Array(n.Op.Size).fill(null))();add(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"syscall";this.evaluateOpcode[e]={syscall:"machine"!==i,evaluate:t}}debugBefore(e,t){return{sp:void 0,pc:e.fetchValue(n.$pc),name:void 0,params:void 0,type:t.type,isMachine:t.isMachine,size:t.size,state:void 0}}debugAfter(e,t){}evaluate(e,t,i){let s=(0,a.unwrap)(this.evaluateOpcode[i]);s.syscall?((0,a.assert)(!t.isMachine,`BUG: Mismatch between operation.syscall (${s.syscall}) and opcode.isMachine (${t.isMachine}) for ${t.type}`),s.evaluate(e,t)):((0,a.assert)(t.isMachine,`BUG: Mismatch between operation.syscall (${s.syscall}) and opcode.isMachine (${t.isMachine}) for ${t.type}`),s.evaluate(e[g],t))}},ed=Symbol("TYPE"),ec=Symbol("INNER"),ep=Symbol("OWNER"),eh=Symbol("ARGS"),em=Symbol("RESOLVED"),eg=new WeakSet;function ef(e){return eg.has(e)}function e_(e,t){return ef(e)&&e[ed]===t}class ey{[ed];[ec];[ep];[eh];[em];constructor(e,t,i,s){let n=arguments.length>4&&void 0!==arguments[4]&&arguments[4];eg.add(this),this[ed]=e,this[ec]=t,this[ep]=i,this[eh]=s,this[em]=n}}function eb(e){let t,i,s,n,r,a=e;for(;;){let{[eh]:e,[ec]:o}=a;if(null!==e){let{named:s,positional:n}=e;n.length>0&&(t=void 0===t?n:n.concat(t)),void 0===i&&(i=[]),i.unshift(s)}if(!ef(o)){s=o,n=a[ep],r=a[em];break}a=o}return{definition:s,owner:n,resolved:r,positional:t,named:i}}function ev(e,t,i,s){let n=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return new ey(e,t,i,s,n)}function ew(e){return"getDebugCustomRenderTree"in e}eu.add(n.Op.ChildScope,e=>e.pushChildScope()),eu.add(n.Op.PopScope,e=>e.popScope()),eu.add(n.Op.PushDynamicScope,e=>e.pushDynamicScope()),eu.add(n.Op.PopDynamicScope,e=>e.popDynamicScope()),eu.add(n.Op.Constant,(e,t)=>{let{op1:i}=t;e.stack.push(e[w].getValue((0,a.decodeHandle)(i)))}),eu.add(n.Op.ConstantReference,(e,t)=>{let{op1:i}=t;e.stack.push((0,r.createConstRef)(e[w].getValue((0,a.decodeHandle)(i)),!1))}),eu.add(n.Op.Primitive,(e,t)=>{let{op1:i}=t,s=e.stack;if((0,a.isHandle)(i)){let t=e[w].getValue((0,a.decodeHandle)(i));s.push(t)}else s.push((0,a.decodeImmediate)(i))}),eu.add(n.Op.PrimitiveReference,e=>{let t,i=e.stack,s=i.pop();t=void 0===s?r.UNDEFINED_REFERENCE:null===s?r.NULL_REFERENCE:!0===s?r.TRUE_REFERENCE:!1===s?r.FALSE_REFERENCE:(0,r.createPrimitiveRef)(s),i.push(t)}),eu.add(n.Op.Dup,(e,t)=>{let{op1:i,op2:s}=t,n=e.fetchValue(i)-s;e.stack.dup(n)}),eu.add(n.Op.Pop,(e,t)=>{let{op1:i}=t;e.stack.pop(i)}),eu.add(n.Op.Load,(e,t)=>{let{op1:i}=t;e.load(i)}),eu.add(n.Op.Fetch,(e,t)=>{let{op1:i}=t;e.fetch(i)}),eu.add(n.Op.BindDynamicScope,(e,t)=>{let{op1:i}=t,s=e[w].getArray(i);e.bindDynamicScope(s)}),eu.add(n.Op.Enter,(e,t)=>{let{op1:i}=t;e.enter(i)}),eu.add(n.Op.Exit,e=>{e.exit()}),eu.add(n.Op.PushSymbolTable,(e,t)=>{let{op1:i}=t;e.stack.push(e[w].getValue(i))}),eu.add(n.Op.PushBlockScope,e=>{e.stack.push(e.scope())}),eu.add(n.Op.CompileBlock,e=>{let t=e.stack,i=t.pop();i?t.push(e.compile(i)):t.push(null)}),eu.add(n.Op.InvokeYield,e=>{let{stack:t}=e,i=t.pop(),s=t.pop(),n=t.pop();(0,a.assert)(null===n||n&&"object"==typeof n&&Array.isArray(n.parameters),`Expected top of stack to be Option, was ${String(n)}`);let r=t.pop();if(null===n)return e.pushFrame(),void e.pushScope(s??e.scope());let o=(0,a.expect)(s,"BUG: expected scope");{let e=n.parameters,t=e.length;if(t>0){o=o.child();for(let i=0;i{let{op1:i}=t,s=e.stack.pop(),n=!!(0,r.valueForRef)(s);(0,r.isConstRef)(s)?!0===n&&e.goto(i):(!0===n&&e.goto(i),e.updateWith(new ek(s)))}),eu.add(n.Op.JumpUnless,(e,t)=>{let{op1:i}=t,s=e.stack.pop(),n=!!(0,r.valueForRef)(s);(0,r.isConstRef)(s)?!1===n&&e.goto(i):(!1===n&&e.goto(i),e.updateWith(new ek(s)))}),eu.add(n.Op.JumpEq,(e,t)=>{let{op1:i,op2:s}=t;e.stack.peek()===s&&e.goto(i)}),eu.add(n.Op.AssertSame,e=>{let t=e.stack.peek();!1===(0,r.isConstRef)(t)&&e.updateWith(new ek(t))}),eu.add(n.Op.ToBoolean,e=>{let{stack:t}=e,i=t.pop();t.push((0,r.createComputeRef)(()=>(0,l.toBool)((0,r.valueForRef)(i))))});class ek{last;constructor(e){this.ref=e,this.last=(0,r.valueForRef)(e)}evaluate(e){let{last:t,ref:i}=this;t!==(0,r.valueForRef)(i)&&e.throw()}}class eT{last;constructor(e,t){this.ref=e,this.filter=t,this.last=t((0,r.valueForRef)(e))}evaluate(e){let{last:t,ref:i,filter:s}=this;t!==s((0,r.valueForRef)(i))&&e.throw()}}class eS{tag=(()=>d.CONSTANT_TAG)();lastRevision=(()=>d.INITIAL)();target;finalize(e,t){this.target=t,this.didModify(e)}evaluate(e){let{tag:t,target:i,lastRevision:s}=this;!e.alwaysRevalidate&&(0,d.validateTag)(t,s)&&((0,d.consumeTag)(t),e.goto((0,a.expect)(i,"VM BUG: Target must be set before attempting to jump")))}didModify(e){this.tag=e,this.lastRevision=(0,d.valueForTag)(this.tag),(0,d.consumeTag)(e)}}class eC{constructor(e){this.debugLabel=e}evaluate(){(0,d.beginTrackFrame)(this.debugLabel)}}class eA{constructor(e){this.target=e}evaluate(){let e=(0,d.endTrackFrame)();this.target.didModify(e)}}eu.add(n.Op.Text,(e,t)=>{let{op1:i}=t;e.elements().appendText(e[w].getValue(i))}),eu.add(n.Op.Comment,(e,t)=>{let{op1:i}=t;e.elements().appendComment(e[w].getValue(i))}),eu.add(n.Op.OpenElement,(e,t)=>{let{op1:i}=t;e.elements().openElement(e[w].getValue(i))}),eu.add(n.Op.OpenDynamicElement,e=>{let t=(0,r.valueForRef)(e.stack.pop());e.elements().openElement(t)}),eu.add(n.Op.PushRemoteElement,e=>{let t=e.stack.pop(),i=e.stack.pop(),s=e.stack.pop(),n=(0,r.valueForRef)(t),a=(0,r.valueForRef)(i),l=(0,r.valueForRef)(s);(0,r.isConstRef)(t)||e.updateWith(new ek(t)),void 0===a||(0,r.isConstRef)(i)||e.updateWith(new ek(i));let u=e.elements().pushRemoteElement(n,l,a);if(u&&e.associateDestroyable(u),void 0!==e.env.debugRenderTree){let s=e$(void 0===a?{}:{insertBefore:i},[t]);e.env.debugRenderTree.create(u,{type:"keyword",name:"in-element",args:s,instance:null}),(0,o.registerDestructor)(u,()=>{e.env.debugRenderTree?.willDestroy(u)})}}),eu.add(n.Op.PopRemoteElement,e=>{let t=e.elements().popRemoteElement();void 0!==e.env.debugRenderTree&&e.env.debugRenderTree.didRender(t,t)}),eu.add(n.Op.FlushElement,e=>{let t=e.fetchValue(n.$t0),i=null;t&&(i=t.flush(e),e.loadValue(n.$t0,null)),e.elements().flushElement(i)}),eu.add(n.Op.CloseElement,e=>{let t=e.elements().closeElement();null!==t&&t.forEach(t=>{e.env.scheduleInstallModifier(t);let i=t.manager.getDestroyable(t.state);null!==i&&e.associateDestroyable(i)})}),eu.add(n.Op.Modifier,(e,t)=>{let{op1:i}=t;if(!1===e.env.isInteractive)return;let s=e.getOwner(),r=e.stack.pop(),o=e[w].getValue(i),{manager:l}=o,{constructing:u}=e.elements(),c=r.capture(),p=l.create(s,(0,a.expect)(u,"BUG: ElementModifier could not find the element it applies to"),o.state,c),h={manager:l,state:p,definition:o};(0,a.expect)(e.fetchValue(n.$t0),"BUG: ElementModifier could not find operations to append to").addModifier(e,h,c);let m=l.getTag(p);return null!==m?((0,d.consumeTag)(m),e.updateWith(new eD(m,h))):void 0}),eu.add(n.Op.DynamicModifier,e=>{if(!1===e.env.isInteractive)return;let{stack:t}=e,i=t.pop(),s=t.pop().capture(),{positional:o,named:l}=s,{constructing:c}=e.elements(),p=e.getOwner(),h=(0,r.createComputeRef)(()=>{let e,t,d=(0,r.valueForRef)(i);if(!(0,a.isObject)(d))return;if(e_(d,n.CurriedType.Modifier)){let{definition:i,owner:n,positional:r,named:a}=eb(d);t=i,e=n,void 0!==r&&(s.positional=r.concat(o)),void 0!==a&&(s.named=Object.assign({},...a,l))}else t=d,e=p;let h=(0,u.getInternalModifierManager)(t,!0);if(null===h)throw Error("BUG: modifier manager expected");let m={resolvedName:null,manager:h,state:t},g=h.create(e,(0,a.expect)(c,"BUG: ElementModifier could not find the element it applies to"),m.state,s);return{manager:h,state:g,definition:m}}),m=(0,r.valueForRef)(h),g=null;return void 0!==m&&((0,a.expect)(e.fetchValue(n.$t0),"BUG: ElementModifier could not find operations to append to").addModifier(e,m,s),null!==(g=m.manager.getTag(m.state))&&(0,d.consumeTag)(g)),!(0,r.isConstRef)(i)||g?e.updateWith(new eM(g,m,h)):void 0});class eD{lastUpdated;constructor(e,t){this.tag=e,this.modifier=t,this.lastUpdated=(0,d.valueForTag)(e)}evaluate(e){let{modifier:t,tag:i,lastUpdated:s}=this;(0,d.consumeTag)(i),(0,d.validateTag)(i,s)||(e.env.scheduleUpdateModifier(t),this.lastUpdated=(0,d.valueForTag)(i))}}class eM{lastUpdated;constructor(e,t,i){this.tag=e,this.instance=t,this.instanceRef=i,this.lastUpdated=(0,d.valueForTag)(e??d.CURRENT_TAG)}evaluate(e){let{tag:t,lastUpdated:i,instance:s,instanceRef:n}=this,a=(0,r.valueForRef)(n);if(a!==s){if(void 0!==s){let e=s.manager.getDestroyable(s.state);null!==e&&(0,o.destroy)(e)}if(void 0!==a){let{manager:i,state:s}=a,n=i.getDestroyable(s);null!==n&&(0,o.associateDestroyableChild)(this,n),null!==(t=i.getTag(s))&&(this.lastUpdated=(0,d.valueForTag)(t)),this.tag=t,e.env.scheduleInstallModifier(a)}this.instance=a}else null===t||(0,d.validateTag)(t,i)||(e.env.scheduleUpdateModifier(s),this.lastUpdated=(0,d.valueForTag)(t));null!==t&&(0,d.consumeTag)(t)}}eu.add(n.Op.StaticAttr,(e,t)=>{let{op1:i,op2:s,op3:n}=t,r=e[w].getValue(i),a=e[w].getValue(s),o=n?e[w].getValue(n):null;e.elements().setStaticAttribute(r,a,o)}),eu.add(n.Op.DynamicAttr,(e,t)=>{let{op1:i,op2:s,op3:n}=t,a=e[w].getValue(i),o=e[w].getValue(s),l=e.stack.pop(),u=(0,r.valueForRef)(l),d=n?e[w].getValue(n):null,c=e.elements().setDynamicAttribute(a,u,o,d);(0,r.isConstRef)(l)||e.updateWith(new ex(l,c,e.env))});class ex{updateRef;constructor(e,t,i){let s=!1;this.updateRef=(0,r.createComputeRef)(()=>{let n=(0,r.valueForRef)(e);!0===s?t.update(n,i):s=!0}),(0,r.valueForRef)(this.updateRef)}evaluate(){(0,r.valueForRef)(this.updateRef)}}eu.add(n.Op.PushComponentDefinition,(e,t)=>{let{op1:i}=t,s=e[w].getValue(i);(0,a.assert)(!!s,`Missing component for ${i}`);let{manager:n,capabilities:r}=s;e.stack.push({definition:s,manager:n,capabilities:r,state:null,handle:null,table:null,lookup:null})}),eu.add(n.Op.ResolveDynamicComponent,(e,t)=>{let{op1:i}=t,s,o=e.stack,l=(0,r.valueForRef)(o.pop()),u=e[w],d=e.getOwner();if(u.getValue(i),e.loadValue(n.$t1,null),"string"==typeof l){let t=function(e,t,i,s){let n=e.lookupComponent(i,(0,a.expect)(s,"BUG: expected owner when looking up component"));return t.resolvedComponent(n,i)}(e.runtime.resolver,u,l,d);s=(0,a.expect)(t,`Could not find a component named "${l}"`)}else s=ef(l)?l:u.component(l,d);o.push(s)}),eu.add(n.Op.ResolveCurriedComponent,e=>{let t,i=e.stack,s=i.pop(),n=(0,r.valueForRef)(s),o=e[w];if(ef(n))t=n;else if(t=o.component(n,e.getOwner(),!0),0)throw Error(`Expected a dynamic component definition, but received an object or function that did not have a component manager associated with it. The dynamic invocation was \`<${s.debugLabel}>\` or \`{{${s.debugLabel}}}\`, and the incorrect definition is the value at the path \`${s.debugLabel}\`, which was: ${(0,a.debugToString)(n)}`);i.push(t)}),eu.add(n.Op.PushDynamicComponentInstance,e=>{let t,i,{stack:s}=e,n=s.pop();ef(n)?i=t=null:(i=n.manager,t=n.capabilities),s.push({definition:n,capabilities:t,manager:i,state:null,handle:null,table:null})}),eu.add(n.Op.PushArgs,(e,t)=>{let{op1:i,op2:s,op3:n}=t,r=e.stack,o=e[w].getArray(i),l=7&n?e[w].getArray(s):a.EMPTY_STRING_ARRAY;e[k].setup(r,o,l,n>>4,!!(8&n)),r.push(e[k])}),eu.add(n.Op.PushEmptyArgs,e=>{let{stack:t}=e;t.push(e[k].empty(t))}),eu.add(n.Op.CaptureArgs,e=>{let t=e.stack,i=t.pop().capture();t.push(i)}),eu.add(n.Op.PrepareArgs,(e,t)=>{let{op1:i}=t,s=e.stack,r=e.fetchValue(i),o=s.pop(),{definition:l}=r;if(e_(l,n.CurriedType.Component)){(0,a.assert)(!l.manager,"If the component definition was curried, we don't yet have a manager");let t=e[w],{definition:i,owner:s,resolved:u,positional:d,named:c}=eb(l);if(!0===u)l=i;else if("string"==typeof i){let n=e.runtime.resolver.lookupComponent(i,s);l=t.resolvedComponent((0,a.expect)(n,"BUG: expected resolved component"),i)}else l=t.component(i,s);void 0!==c&&o.named.merge((0,a.assign)({},...c)),void 0!==d&&(o.realloc(d.length),o.positional.prepend(d));let{manager:p}=l;(0,a.assert)(null===r.manager,"component instance manager should not be populated yet"),(0,a.assert)(null===r.capabilities,"component instance manager should not be populated yet"),r.definition=l,r.manager=p,r.capabilities=l.capabilities,e.loadValue(n.$t1,s)}let{manager:d,state:c}=l,p=r.capabilities;if(!(0,u.managerHasCapability)(d,p,n.InternalComponentCapabilities.prepareArgs))return void s.push(o);let h=o.blocks.values,m=o.blocks.names,g=d.prepareArgs(c,o);if(g){o.clear();for(let e=0;e{let{op1:i,op2:s}=t,r=e.fetchValue(s),{definition:a,manager:o,capabilities:l}=r;if(!(0,u.managerHasCapability)(o,l,n.InternalComponentCapabilities.createInstance))return;let d=null;(0,u.managerHasCapability)(o,l,n.InternalComponentCapabilities.dynamicScope)&&(d=e.dynamicScope());let c=null;(0,u.managerHasCapability)(o,l,n.InternalComponentCapabilities.createArgs)&&(c=e.stack.peek());let p=null;(0,u.managerHasCapability)(o,l,n.InternalComponentCapabilities.createCaller)&&(p=e.getSelf());let h=o.create(e.getOwner(),a.state,c,e.env,d,p,!!(1&i));r.state=h,(0,u.managerHasCapability)(o,l,n.InternalComponentCapabilities.updateHook)&&e.updateWith(new eP(h,o,d))}),eu.add(n.Op.RegisterComponentDestructor,(e,t)=>{let{op1:i}=t,{manager:s,state:n,capabilities:r}=e.fetchValue(i),a=s.getDestroyable(n);a&&e.associateDestroyable(a)}),eu.add(n.Op.BeginComponentTransaction,(e,t)=>{let i,{op1:s}=t;e.beginCacheGroup(i),e.elements().pushSimpleBlock()}),eu.add(n.Op.PutComponentOperations,e=>{e.loadValue(n.$t0,new eE)}),eu.add(n.Op.ComponentAttr,(e,t)=>{let{op1:i,op2:s,op3:r}=t,a=e[w].getValue(i),o=e[w].getValue(s),l=e.stack.pop(),u=r?e[w].getValue(r):null;e.fetchValue(n.$t0).setAttribute(a,l,o,u)}),eu.add(n.Op.StaticComponentAttr,(e,t)=>{let{op1:i,op2:s,op3:r}=t,a=e[w].getValue(i),o=e[w].getValue(s),l=r?e[w].getValue(r):null;e.fetchValue(n.$t0).setStaticAttribute(a,o,l)});class eE{attributes=(()=>(0,a.dict)())();classes=[];modifiers=[];setAttribute(e,t,i,s){"class"===e&&this.classes.push(t),this.attributes[e]={value:t,namespace:s,trusting:i}}setStaticAttribute(e,t,i){"class"===e&&this.classes.push(t),this.attributes[e]={value:t,namespace:i}}addModifier(e,t,i){if(this.modifiers.push(t),void 0!==e.env.debugRenderTree){let{manager:s,definition:n,state:r}=t;if(null===r||"object"!=typeof r&&"function"!=typeof r)return;let{element:l,constructing:u}=e.elements(),d=s.getDebugName(n.state),c=s.getDebugInstance(r);(0,a.assert)(u,"Expected a constructing element in addModifier");let p=new S(l,u,u);e.env.debugRenderTree.create(r,{type:"modifier",name:d,args:i,instance:c}),e.env.debugRenderTree.didRender(r,p),e.associateDestroyable(r),e.updateWith(new eI(r)),e.updateWith(new eN(r,p)),(0,o.registerDestructor)(r,()=>{e.env.debugRenderTree?.willDestroy(r)})}}flush(e){let t,i=this.attributes;for(let s in this.attributes){if("type"===s){t=i[s];continue}let n=(0,a.unwrap)(this.attributes[s]);"class"===s?eL(e,"class",function(e){var t;return 0===e.length?"":1===e.length?(0,a.unwrap)(e[0]):!function(e){return e.every(e=>"string"==typeof e)}(e)?(0,r.createComputeRef)(()=>{let t=[];for(let i of e){let e=D("string"==typeof i?i:(0,r.valueForRef)(i));e&&t.push(e)}return 0===t.length?null:t.join(" ")}):e.join(" ")}(this.classes),n.namespace,n.trusting):eL(e,s,n.value,n.namespace,n.trusting)}return void 0!==t&&eL(e,"type",t.value,t.namespace,t.trusting),this.modifiers}}function eL(e,t,i,s){let n=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if("string"==typeof i)e.elements().setStaticAttribute(t,i,s);else{let a=e.elements().setDynamicAttribute(t,(0,r.valueForRef)(i),n,s);(0,r.isConstRef)(i)||e.updateWith(new ex(i,a,e.env))}}eu.add(n.Op.DidCreateElement,(e,t)=>{let{op1:i}=t,{definition:s,state:r}=e.fetchValue(i),{manager:o}=s,l=e.fetchValue(n.$t0);o.didCreateElement(r,(0,a.expect)(e.elements().constructing,"Expected a constructing element in DidCreateOpcode"),l)}),eu.add(n.Op.GetComponentSelf,(e,t)=>{let{op1:i,op2:s}=t,{definition:l,state:d}=e.fetchValue(i),{manager:c}=l,p=c.getSelf(d);if(void 0!==e.env.debugRenderTree){let t,l,c=e.fetchValue(i),{definition:h,manager:m}=c;if(e.stack.peek()===e[k])t=e[k].capture();else{let i=e[w].getArray(s);e[k].setup(e.stack,i,[],0,!0),t=e[k].capture()}let g=h.compilable;if(null===g?((0,a.assert)((0,u.managerHasCapability)(m,c.capabilities,n.InternalComponentCapabilities.dynamicLayout),"BUG: No template was found for this component, and the component did not have the dynamic layout capability"),l=null!==(g=m.getDynamicLayout(d,e.runtime.resolver))?g.moduleName:"__default__.hbs"):l=g.moduleName,e.associateDestroyable(c),ew(m))m.getDebugCustomRenderTree(c.definition.state,c.state,t,l).forEach(t=>{let{bucket:i}=t;e.env.debugRenderTree.create(i,t),(0,o.registerDestructor)(c,()=>{e.env.debugRenderTree?.willDestroy(i)}),e.updateWith(new eI(i))});else{let i=h.resolvedName??m.getDebugName(h.state);e.env.debugRenderTree.create(c,{type:"component",name:i,args:t,template:l,instance:(0,r.valueForRef)(p)}),(0,o.registerDestructor)(c,()=>{e.env.debugRenderTree?.willDestroy(c)}),e.updateWith(new eI(c))}}e.stack.push(p)}),eu.add(n.Op.GetComponentTagName,(e,t)=>{let{op1:i}=t,{definition:s,state:n}=e.fetchValue(i),{manager:r}=s,a=r.getTagName(n);e.stack.push(a)}),eu.add(n.Op.GetComponentLayout,(e,t)=>{let{op1:i}=t,s=e.fetchValue(i),{manager:r,definition:o}=s,{stack:l}=e,{compilable:d}=o;if(null===d){let{capabilities:t}=s;(0,a.assert)((0,u.managerHasCapability)(r,t,n.InternalComponentCapabilities.dynamicLayout),"BUG: No template was found for this component, and the component did not have the dynamic layout capability"),null===(d=r.getDynamicLayout(s.state,e.runtime.resolver))&&(d=(0,u.managerHasCapability)(r,t,n.InternalComponentCapabilities.wrapped)?(0,a.unwrapTemplate)(e[w].defaultTemplate).asWrappedLayout():(0,a.unwrapTemplate)(e[w].defaultTemplate).asLayout())}let c=d.compile(e.context);l.push(d.symbolTable),l.push(c)}),eu.add(n.Op.Main,(e,t)=>{let{op1:i}=t,s=e.stack.pop(),n=e.stack.pop(),{manager:r,capabilities:a}=s,o={definition:s,manager:r,capabilities:a,state:null,handle:n.handle,table:n.symbolTable,lookup:null};e.loadValue(i,o)}),eu.add(n.Op.PopulateLayout,(e,t)=>{let{op1:i}=t,{stack:s}=e,n=s.pop(),r=s.pop(),a=e.fetchValue(i);a.handle=n,a.table=r}),eu.add(n.Op.VirtualRootScope,(e,t)=>{let{op1:i}=t,s,{table:r,manager:a,capabilities:o,state:l}=e.fetchValue(i);(0,u.managerHasCapability)(a,o,n.InternalComponentCapabilities.hasSubOwner)?(s=a.getOwner(l),e.loadValue(n.$t1,null)):null===(s=e.fetchValue(n.$t1))?s=e.getOwner():e.loadValue(n.$t1,null),e.pushRootScope(r.symbols.length+1,s)}),eu.add(n.Op.SetupForEval,(e,t)=>{let{op1:i}=t,s=e.fetchValue(i);if(s.table.hasEval){let t=s.lookup=(0,a.dict)();e.scope().bindEvalScope(t)}}),eu.add(n.Op.SetNamedVariables,(e,t)=>{let{op1:i}=t,s=e.fetchValue(i),n=e.scope(),r=e.stack.peek(),o=r.named.atNames;for(let e=o.length-1;e>=0;e--){let t=(0,a.unwrap)(o[e]),i=s.table.symbols.indexOf(t),l=r.named.get(t,!0);-1!==i&&n.bindSymbol(i+1,l),s.lookup&&(s.lookup[t]=l)}}),eu.add(n.Op.SetBlocks,(e,t)=>{let{op1:i}=t,s=e.fetchValue(i),{blocks:n}=e.stack.peek();for(let[t]of(0,a.enumerate)(n.names))!function(e,t,i,s,n){let r=i.table.symbols.indexOf(e),a=s.get(t);-1!==r&&n.scope().bindBlock(r+1,a),i.lookup&&(i.lookup[e]=a)}((0,a.unwrap)(n.symbolNames[t]),(0,a.unwrap)(n.names[t]),s,n,e)}),eu.add(n.Op.InvokeComponentLayout,(e,t)=>{let{op1:i}=t,s=e.fetchValue(i);e.call(s.handle)}),eu.add(n.Op.DidRenderLayout,(e,t)=>{let{op1:i}=t,s=e.fetchValue(i),{manager:r,state:a,capabilities:o}=s,l=e.elements().popBlock();void 0!==e.env.debugRenderTree&&(ew(r)?r.getDebugCustomRenderTree(s.definition.state,a,eZ).reverse().forEach(t=>{let{bucket:i}=t;e.env.debugRenderTree.didRender(i,l),e.updateWith(new eN(i,l))}):(e.env.debugRenderTree.didRender(s,l),e.updateWith(new eN(s,l)))),(0,u.managerHasCapability)(r,o,n.InternalComponentCapabilities.createInstance)&&(r.didRenderLayout(a,l),e.env.didCreate(s),e.updateWith(new eF(s,l)))}),eu.add(n.Op.CommitComponentTransaction,e=>{e.commitCacheGroup()});class eP{constructor(e,t,i){this.component=e,this.manager=t,this.dynamicScope=i}evaluate(e){let{component:t,manager:i,dynamicScope:s}=this;i.update(t,s)}}class eF{constructor(e,t){this.component=e,this.bounds=t}evaluate(e){let{component:t,bounds:i}=this,{manager:s,state:n}=t;s.didUpdateLayout(n,i),e.env.didUpdate(t)}}class eI{constructor(e){this.bucket=e}evaluate(e){e.env.debugRenderTree?.update(this.bucket)}}class eN{constructor(e,t){this.bucket=e,this.bounds=t}evaluate(e){e.env.debugRenderTree?.didRender(this.bucket,this.bounds)}}class ej{stack=null;positional=(()=>new eR)();named=(()=>new eU)();blocks=(()=>new eH)();empty(e){let t=e[y][n.$sp]+1;return this.named.empty(e,t),this.positional.empty(e,t),this.blocks.empty(e,t),this}setup(e,t,i,s,r){this.stack=e;let a=this.named,o=t.length,l=e[y][n.$sp]-o+1;a.setup(e,l,o,t,r);let u=l-s;this.positional.setup(e,u,s);let d=this.blocks,c=i.length;d.setup(e,u-3*c,c,i)}get base(){return this.blocks.base}get length(){return this.positional.length+this.named.length+3*this.blocks.length}at(e){return this.positional.at(e)}realloc(e){let{stack:t}=this;if(e>0&&null!==t){let{positional:i,named:s}=this,r=i.base+e;for(let e=i.length+s.length-1;e>=0;e--)t.copy(e+i.base,e+r);i.base+=e,s.base+=e,t[y][n.$sp]+=e}}capture(){let e=0===this.positional.length?eX:this.positional.capture();return{named:0===this.named.length?eQ:this.named.capture(),positional:e}}clear(){let{stack:e,length:t}=this;t>0&&null!==e&&e.pop(t)}}let eO=(0,a.emptyArray)();class eR{base=0;length=0;stack=null;_references=null;empty(e,t){this.stack=e,this.base=t,this.length=0,this._references=eO}setup(e,t,i){this.stack=e,this.base=t,this.length=i,this._references=0===i?eO:null}at(e){let{base:t,length:i,stack:s}=this;return e<0||e>=i?r.UNDEFINED_REFERENCE:s.get(e,t)}capture(){return this.references}prepend(e){let t=e.length;if(t>0){let{base:i,length:s,stack:n}=this;this.base=i-=t,this.length=s+t;for(let s=0;sa.EMPTY_STRING_ARRAY)();_atNames=(()=>a.EMPTY_STRING_ARRAY)();empty(e,t){this.stack=e,this.base=t,this.length=0,this._references=eO,this._names=a.EMPTY_STRING_ARRAY,this._atNames=a.EMPTY_STRING_ARRAY}setup(e,t,i,s,n){this.stack=e,this.base=t,this.length=i,0===i?(this._references=eO,this._names=a.EMPTY_STRING_ARRAY,this._atNames=a.EMPTY_STRING_ARRAY):(this._references=null,n?(this._names=null,this._atNames=s):(this._names=s,this._atNames=null))}get names(){let e=this._names;return e||(e=this._names=this._atNames.map(this.toSyntheticName)),e}get atNames(){let e=this._atNames;return e||(e=this._atNames=this._names.map(this.toAtName)),e}has(e){return -1!==this.names.indexOf(e)}get(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{base:i,stack:s}=this,n=(t?this.atNames:this.names).indexOf(e);return -1===n?r.UNDEFINED_REFERENCE:s.get(n,i)}capture(){let{names:e,references:t}=this,i=(0,a.dict)();for(let[s,n]of(0,a.enumerate)(e))i[n]=(0,a.unwrap)(t[s]);return i}merge(e){let t=Object.keys(e);if(t.length>0){let{names:i,length:s,stack:n}=this,r=i.slice();for(let i of t)-1===r.indexOf(i)&&(s=r.push(i),n.push(e[i]));this.length=s,this._references=null,this._names=r,this._atNames=null}}get references(){let e=this._references;if(!e){let{base:t,length:i,stack:s}=this;e=this._references=s.slice(t,t+i)}return e}toSyntheticName(e){return e.slice(1)}toAtName(e){return`@${e}`}}function eB(e){return`&${e}`}let eY=(0,a.emptyArray)();class eH{internalValues=null;_symbolNames=null;internalTag=null;names=(()=>a.EMPTY_STRING_ARRAY)();length=0;base=0;empty(e,t){this.stack=e,this.names=a.EMPTY_STRING_ARRAY,this.base=t,this.length=0,this._symbolNames=null,this.internalTag=d.CONSTANT_TAG,this.internalValues=eY}setup(e,t,i,s){this.stack=e,this.names=s,this.base=t,this.length=i,this._symbolNames=null,0===i?(this.internalTag=d.CONSTANT_TAG,this.internalValues=eY):(this.internalTag=null,this.internalValues=null)}get values(){let e=this.internalValues;if(!e){let{base:t,length:i,stack:s}=this;e=this.internalValues=s.slice(t,t+3*i)}return e}has(e){return -1!==this.names.indexOf(e)}get(e){let t=this.names.indexOf(e);if(-1===t)return null;let{base:i,stack:s}=this,n=s.get(3*t,i),r=s.get(3*t+1,i),a=s.get(3*t+2,i);return null===a?null:[a,r,n]}capture(){return new eq(this.names,this.values)}get symbolNames(){let e=this._symbolNames;return null===e&&(e=this._symbolNames=this.names.map(eB)),e}}class eq{length;constructor(e,t){this.names=e,this.values=t,this.length=e.length}has(e){return -1!==this.names.indexOf(e)}get(e){let t=this.names.indexOf(e);return -1===t?null:[this.values[3*t+2],this.values[3*t+1],this.values[3*t]]}}function e$(e,t){return{named:e,positional:t}}function ez(e){let t=(0,a.dict)();for(let[i,s]of Object.entries(e))t[i]=(0,r.valueForRef)(s);return t}function eV(e){return e.map(r.valueForRef)}function eW(e){return{named:ez(e.named),positional:eV(e.positional)}}let eK=Symbol("ARGUMENT_ERROR");function eG(e){return null!==e&&"object"==typeof e&&e[eK]}function eJ(e){return{[eK]:!0,error:e}}let eQ=Object.freeze(Object.create(null)),eX=eO,eZ=e$(eQ,eX);function e1(e,t){let i,s=(0,u.getInternalHelperManager)(e,!0);return null===s?i=null:(i="function"==typeof s?s:s.getHelper(e),(0,a.assert)(s,"BUG: expected manager or helper")),i}function e0(e){return(0,a.assert)(Array.isArray(e)||e===r.UNDEFINED_REFERENCE,"a reference other than UNDEFINED_REFERENCE is illegal here"),e===r.UNDEFINED_REFERENCE}eu.add(n.Op.Curry,(e,t)=>{let{op1:i,op2:s}=t,o=e.stack,l=o.pop(),u=o.pop(),d=e.getOwner();e.runtime.resolver,e.loadValue(n.$v0,function(e,t,i,s,o,l){let u,d;return(0,r.createComputeRef)(()=>{let o=(0,r.valueForRef)(t);return o===u||(d=e_(o,e)?s?ev(e,o,i,s):s:e===n.CurriedType.Component&&"string"==typeof o&&o||(0,a.isObject)(o)?ev(e,o,i,s):null,u=o),d})}(i,l,d,u,0,0))}),eu.add(n.Op.DynamicHelper,e=>{let t,i=e.stack,s=i.pop(),l=i.pop().capture(),u=e.getOwner(),d=(0,r.createComputeRef)(()=>{void 0!==t&&(0,o.destroy)(t);let e=(0,r.valueForRef)(s);if(e_(e,n.CurriedType.Helper)){let{definition:i,owner:n,positional:r,named:u}=eb(e),c=e1(i,s);void 0!==u&&(l.named=(0,a.assign)({},...u,l.named)),void 0!==r&&(l.positional=r.concat(l.positional)),t=c(l,n),(0,o.associateDestroyableChild)(d,t)}else(0,a.isObject)(e)?(t=e1(e,s)(l,u),(0,o._hasDestroyableChildren)(t)&&(0,o.associateDestroyableChild)(d,t)):t=r.UNDEFINED_REFERENCE}),c=(0,r.createComputeRef)(()=>((0,r.valueForRef)(d),(0,r.valueForRef)(t)));e.associateDestroyable(d),e.loadValue(n.$v0,c)}),eu.add(n.Op.Helper,(e,t)=>{let{op1:i}=t,s=e.stack,r=e[w].getValue(i)(s.pop().capture(),e.getOwner(),e.dynamicScope());(0,o._hasDestroyableChildren)(r)&&e.associateDestroyable(r),e.loadValue(n.$v0,r)}),eu.add(n.Op.GetVariable,(e,t)=>{let{op1:i}=t,s=e.referenceForSymbol(i);e.stack.push(s)}),eu.add(n.Op.SetVariable,(e,t)=>{let{op1:i}=t,s=e.stack.pop();e.scope().bindSymbol(i,s)}),eu.add(n.Op.SetBlock,(e,t)=>{let{op1:i}=t,s=e.stack.pop(),n=e.stack.pop(),r=e.stack.pop();e.scope().bindBlock(i,[s,n,r])}),eu.add(n.Op.ResolveMaybeLocal,(e,t)=>{let{op1:i}=t,s=e[w].getValue(i),n=e.scope().getPartialMap()[s];void 0===n&&(n=(0,r.childRefFor)(e.getSelf(),s)),e.stack.push(n)}),eu.add(n.Op.RootScope,(e,t)=>{let{op1:i}=t;e.pushRootScope(i,e.getOwner())}),eu.add(n.Op.GetProperty,(e,t)=>{let{op1:i}=t,s=e[w].getValue(i),n=e.stack.pop();e.stack.push((0,r.childRefFor)(n,s))}),eu.add(n.Op.GetBlock,(e,t)=>{let{op1:i}=t,{stack:s}=e,n=e.scope().getBlock(i);s.push(n)}),eu.add(n.Op.SpreadBlock,e=>{let{stack:t}=e,i=t.pop();if(i&&!e0(i)){let[e,s,n]=i;t.push(n),t.push(s),t.push(e)}else t.push(null),t.push(null),t.push(null)}),eu.add(n.Op.HasBlock,e=>{let{stack:t}=e,i=t.pop();i&&!e0(i)?t.push(r.TRUE_REFERENCE):t.push(r.FALSE_REFERENCE)}),eu.add(n.Op.HasBlockParams,e=>{e.stack.pop(),e.stack.pop();let t=e.stack.pop(),i=t&&t.parameters.length;e.stack.push(i?r.TRUE_REFERENCE:r.FALSE_REFERENCE)}),eu.add(n.Op.Concat,(e,t)=>{let{op1:i}=t,s=Array(i);for(let t=i;t>0;t--)s[t-1]=e.stack.pop();e.stack.push((0,r.createComputeRef)(()=>{let e=[];for(let t of s){let i=(0,r.valueForRef)(t);null!=i&&e.push(function(e){return"string"==typeof e?e:"function"!=typeof e.toString?"":String(e)}(i))}return e.length>0?e.join(""):null}))}),eu.add(n.Op.IfInline,e=>{let t=e.stack.pop(),i=e.stack.pop(),s=e.stack.pop();e.stack.push((0,r.createComputeRef)(()=>!0===(0,l.toBool)((0,r.valueForRef)(t))?(0,r.valueForRef)(i):(0,r.valueForRef)(s)))}),eu.add(n.Op.Not,e=>{let t=e.stack.pop();e.stack.push((0,r.createComputeRef)(()=>!(0,l.toBool)((0,r.valueForRef)(t))))}),eu.add(n.Op.GetDynamicVar,e=>{let t=e.dynamicScope(),i=e.stack,s=i.pop();i.push((0,r.createComputeRef)(()=>{let e=String((0,r.valueForRef)(s));return(0,r.valueForRef)(t.get(e))}))}),eu.add(n.Op.Log,e=>{let{positional:t}=e.stack.pop().capture();e.loadValue(n.$v0,(0,r.createComputeRef)(()=>{console.log(...eV(t))}))});class e3{constructor(e,t,i){this.node=e,this.reference=t,this.lastValue=i}evaluate(){let e,t=(0,r.valueForRef)(this.reference),{lastValue:i}=this;t!==i&&(e=M(t)?"":L(t)?t:String(t))!==i&&(this.node.nodeValue=this.lastValue=e)}}function e2(e){return!function(e){return L(e)||M(e)||"boolean"==typeof e||"number"==typeof e}(e)?e_(e,n.CurriedType.Component)||(0,u.hasInternalComponentManager)(e)?n.ContentType.Component:e_(e,n.CurriedType.Helper)||(0,u.hasInternalHelperManager)(e)?n.ContentType.Helper:x(e)?n.ContentType.SafeString:!function(e){return E(e)&&11===e.nodeType}(e)?E(e)?n.ContentType.Node:n.ContentType.String:n.ContentType.Fragment:n.ContentType.String}function e8(e){return(0,a.isObject)(e)?e_(e,n.CurriedType.Component)||(0,u.hasInternalComponentManager)(e)?n.ContentType.Component:n.ContentType.Helper:n.ContentType.String}function e4(e,t){console.info("Use `context`, and `get()` to debug this template."),t("this")}eu.add(n.Op.ContentType,e=>{let t=e.stack.peek();e.stack.push(e2((0,r.valueForRef)(t))),(0,r.isConstRef)(t)||e.updateWith(new eT(t,e2))}),eu.add(n.Op.DynamicContentType,e=>{let t=e.stack.peek();e.stack.push(e8((0,r.valueForRef)(t))),(0,r.isConstRef)(t)||e.updateWith(new eT(t,e8))}),eu.add(n.Op.AppendHTML,e=>{let t=e.stack.pop(),i=(0,r.valueForRef)(t),s=M(i)?"":String(i);e.elements().appendDynamicHTML(s)}),eu.add(n.Op.AppendSafeHTML,e=>{let t=e.stack.pop(),i=(0,r.valueForRef)(t).toHTML(),s=M(i)?"":i;e.elements().appendDynamicHTML(s)}),eu.add(n.Op.AppendText,e=>{let t=e.stack.pop(),i=(0,r.valueForRef)(t),s=M(i)?"":String(i),n=e.elements().appendDynamicText(s);(0,r.isConstRef)(t)||e.updateWith(new e3(n,t,s))}),eu.add(n.Op.AppendDocumentFragment,e=>{let t=e.stack.pop(),i=(0,r.valueForRef)(t);e.elements().appendDynamicFragment(i)}),eu.add(n.Op.AppendNode,e=>{let t=e.stack.pop(),i=(0,r.valueForRef)(t);e.elements().appendDynamicNode(i)});let e7=e4;function e9(e){e7=e}function e6(){e7=e4}class e5{locals=(()=>(0,a.dict)())();constructor(e,t,i){for(let s of(this.scope=e,i)){let i=(0,a.unwrap)(t[s-1]),n=e.getSymbol(s);this.locals[i]=n}}get(e){let t,{scope:i,locals:s}=this,n=e.split("."),[o,...l]=e.split("."),u=i.getEvalScope();return"this"===o?t=i.getSelf():s[o]?t=(0,a.unwrap)(s[o]):0===o.indexOf("@")&&u[o]?t=u[o]:(t=this.scope.getSelf(),l=n),l.reduce((e,t)=>(0,r.childRefFor)(e,t),t)}}eu.add(n.Op.Debugger,(e,t)=>{let{op1:i,op2:s}=t,n=e[w].getArray(i),o=e[w].getArray((0,a.decodeHandle)(s)),l=new e5(e.scope(),n,o);e7((0,r.valueForRef)(e.getSelf()),e=>(0,r.valueForRef)(l.get(e)))}),eu.add(n.Op.EnterList,(e,t)=>{let{op1:i,op2:s}=t,n=e.stack,a=n.pop(),o=n.pop(),l=(0,r.valueForRef)(o),u=null===l?"@identity":String(l),d=(0,r.createIteratorRef)(a,u),c=(0,r.valueForRef)(d);e.updateWith(new eT(d,e=>e.isEmpty())),!0===c.isEmpty()?e.goto(s+1):(e.enterList(d,i),e.stack.push(c))}),eu.add(n.Op.ExitList,e=>{e.exitList()}),eu.add(n.Op.Iterate,(e,t)=>{let{op1:i}=t,s=e.stack.peek().next();null!==s?e.registerItem(e.enterItem(s)):e.goto(i)});let te={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!1,attributeHook:!1,elementHook:!1,createCaller:!1,dynamicScope:!1,updateHook:!1,createInstance:!1,wrapped:!1,willDestroy:!1,hasSubOwner:!1};class tt{getCapabilities(){return te}getDebugName(e){let{name:t}=e;return t}getSelf(){return r.NULL_REFERENCE}getDestroyable(){return null}}let ti=new tt;class ts{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"@glimmer/component/template-only",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"(unknown template-only component)";this.moduleName=e,this.name=t}toString(){return this.moduleName}}function tn(e,t){return new ts(e,t)}(0,u.setInternalComponentManager)(ti,ts.prototype);let tr={foreignObject:1,desc:1,title:1},ta=Object.create(null);class to{constructor(e){this.document=e,this.setupUselessElement()}setupUselessElement(){this.uselessElement=this.document.createElement("div")}createElement(e,t){let i,s;if(t?(i=t.namespaceURI===a.NS_SVG||"svg"===e,s=!!tr[t.tagName]):(i="svg"===e,s=!1),i&&!s){if(ta[e])throw Error(`Cannot create a ${e} inside an SVG context`);return this.document.createElementNS(a.NS_SVG,e)}return this.document.createElement(e)}insertBefore(e,t,i){e.insertBefore(t,i)}insertHTMLBefore(e,t,i){let s;if(""===i){let i=this.createComment("");return e.insertBefore(i,t),new S(e,i,i)}let n=t?t.previousSibling:e.lastChild;if(null===t)e.insertAdjacentHTML(a.INSERT_BEFORE_END,i),s=(0,a.expect)(e.lastChild,"bug in insertAdjacentHTML?");else if(t instanceof HTMLElement)t.insertAdjacentHTML("beforebegin",i),s=(0,a.expect)(t.previousSibling,"bug in insertAdjacentHTML?");else{let{uselessElement:n}=this;e.insertBefore(n,t),n.insertAdjacentHTML(a.INSERT_BEFORE_BEGIN,i),s=(0,a.expect)(n.previousSibling,"bug in insertAdjacentHTML?"),e.removeChild(n)}let r=(0,a.expect)(n?n.nextSibling:e.firstChild,"bug in insertAdjacentHTML?");return new S(e,r,s)}createTextNode(e){return this.document.createTextNode(e)}createComment(e){return this.document.createComment(e)}}function tl(e,t,i){if(!e||!function(e,t){let i=e.createElementNS(t,"svg");try{i.insertAdjacentHTML(a.INSERT_BEFORE_END,"")}catch(e){}finally{return 1!==i.childNodes.length||(0,a.castToBrowser)((0,a.unwrap)(i.firstChild),"SVG").namespaceURI!==a.NS_SVG}}(e,i))return t;let s=e.createElement("div");return class extends t{insertHTMLBefore(e,t,n){return""===n||e.namespaceURI!==i?super.insertHTMLBefore(e,t,n):function(e,t,i,s){let n;return((0,a.assert)(""!==i,"html cannot be empty"),"FOREIGNOBJECT"===e.tagName.toUpperCase())?((0,a.clearElement)(t),t.insertAdjacentHTML(a.INSERT_AFTER_BEGIN,""+i+""),n=t.firstChild.firstChild):((0,a.clearElement)(t),t.insertAdjacentHTML(a.INSERT_AFTER_BEGIN,""+i+""),n=t.firstChild),function(e,t,i){let s=(0,a.expect)(e.firstChild,"source is empty"),n=s,r=s;for(;r;){let e=r.nextSibling;t.insertBefore(r,i),n=r,r=e}return new S(t,s,n)}(n,e,s)}(e,s,n,t)}}}function tu(e,t){return e&&function(e){let t=e.createElement("div");return t.appendChild(e.createTextNode("first")),t.insertAdjacentHTML(a.INSERT_BEFORE_END,"second"),2!==t.childNodes.length}(e)?class extends t{uselessComment;constructor(e){super(e),this.uselessComment=e.createComment("")}insertHTMLBefore(e,t,i){if(""===i)return super.insertHTMLBefore(e,t,i);let s=!1,n=t?t.previousSibling:e.lastChild;n&&n instanceof Text&&(s=!0,e.insertBefore(this.uselessComment,t));let r=super.insertHTMLBefore(e,t,i);return s&&e.removeChild(this.uselessComment),r}}:t}let td="undefined"==typeof document?null:(0,a.castToSimple)(document),tc=class extends to{createElementNS(e,t){return this.document.createElementNS(e,t)}setAttribute(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;s?e.setAttributeNS(s,t,i):e.setAttribute(t,i)}};tc=tu(td,tc);let tp=tc=tl(td,tc,a.NS_SVG);["b","big","blockquote","body","br","center","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","head","hr","i","img","li","listing","main","meta","nobr","ol","p","pre","ruby","s","small","span","strong","strike","sub","sup","table","tt","u","ul","var"].forEach(e=>ta[e]=1);let th=/[\t\n\v\f\r \xA0\u{1680}\u{180e}\u{2000}-\u{200a}\u{2028}\u{2029}\u{202f}\u{205f}\u{3000}\u{feff}]/u,tm="undefined"==typeof document?null:(0,a.castToSimple)(document);function tg(e){return th.test(e)}class tf extends to{namespace;constructor(e){super(e),this.document=e,this.namespace=null}setAttribute(e,t,i){e.setAttribute(t,i)}removeAttribute(e,t){e.removeAttribute(t)}insertAfter(e,t,i){this.insertBefore(e,t,i.nextSibling)}}let t_=tf;t_=tu(tm,t_);let ty=t_=tl(tm,t_,a.NS_SVG),tb=0;class tv{id=(()=>tb++)();value;constructor(e){this.value=e}get(){return this.value}release(){this.value=null}toString(){let e=`Ref ${this.id}`;if(null===this.value)return`${e} (released)`;try{return`${e}: ${this.value}`}catch{return e}}}class tw{stack=(()=>new a.Stack)();refs=(()=>new WeakMap)();roots=(()=>new Set)();nodes=(()=>new WeakMap)();begin(){this.reset()}create(e,t){let i=(0,a.assign)({},t,{bounds:null,refs:new Set});this.nodes.set(e,i),this.appendChild(i,e),this.enter(e)}update(e){this.enter(e)}didRender(e,t){this.nodeFor(e).bounds=t,this.exit()}willDestroy(e){(0,a.expect)(this.refs.get(e),"BUG: missing ref").release()}commit(){this.reset()}capture(){return this.captureRefs(this.roots)}reset(){if(0!==this.stack.size){let e=(0,a.expect)(this.stack.toArray()[0],"expected root state when resetting render tree"),t=this.refs.get(e);for(void 0!==t&&this.roots.delete(t);!this.stack.isEmpty();)this.stack.pop()}}enter(e){this.stack.push(e)}exit(){this.stack.pop()}nodeFor(e){return(0,a.expect)(this.nodes.get(e),"BUG: missing node")}appendChild(e,t){let i=this.stack.current,s=new tv(t);if(this.refs.set(t,s),i){let t=this.nodeFor(i);t.refs.add(s),e.parent=t}else this.roots.add(s)}captureRefs(e){let t=[];return e.forEach(i=>{let s=i.get();s?t.push(this.captureNode(`render-node:${i.id}`,s)):e.delete(i)}),t}captureNode(e,t){let i=this.nodeFor(t),{type:s,name:n,args:o,instance:l,refs:u}=i,d=this.captureTemplate(i),c=this.captureBounds(i),p=this.captureRefs(u);return{id:e,type:s,name:n,args:function(e){return{named:function(e){let t=(0,a.dict)();for(let[i,s]of Object.entries(e))try{t[i]=(0,r.valueForRef)(s)}catch(e){t[i]=eJ(e)}return t}(e.named),positional:e.positional.map(e=>{try{return(0,r.valueForRef)(e)}catch(e){return eJ(e)}})}}(o),instance:l,template:d,bounds:c,children:p}}captureTemplate(e){let{template:t}=e;return t||null}captureBounds(e){let t=(0,a.expect)(e.bounds,"BUG: missing bounds");return{parentElement:t.parentElement(),firstNode:t.firstNode(),lastNode:t.lastNode()}}}let tk=Symbol("TRANSACTION");class tT{scheduledInstallModifiers=[];scheduledUpdateModifiers=[];createdComponents=[];updatedComponents=[];didCreate(e){this.createdComponents.push(e)}didUpdate(e){this.updatedComponents.push(e)}scheduleInstallModifier(e){this.scheduledInstallModifiers.push(e)}scheduleUpdateModifier(e){this.scheduledUpdateModifiers.push(e)}commit(){let{createdComponents:e,updatedComponents:t}=this;for(let{manager:t,state:i}of e)t.didCreate(i);for(let{manager:e,state:i}of t)e.didUpdate(i);let{scheduledInstallModifiers:i,scheduledUpdateModifiers:s}=this;for(let{manager:e,state:t,definition:s}of i){let i=e.getTag(t);if(null!==i){let s=(0,d.track)(()=>e.install(t),!1);(0,d.updateTag)(i,s)}else e.install(t)}for(let{manager:e,state:t,definition:i}of s){let i=e.getTag(t);if(null!==i){let s=(0,d.track)(()=>e.update(t),!1);(0,d.updateTag)(i,s)}else e.update(t)}}}class tS{[tk]=null;updateOperations;isInteractive;isArgumentCaptureError;debugRenderTree;constructor(e,t){(this.delegate=t,this.isInteractive=t.isInteractive,this.debugRenderTree=this.delegate.enableDebugTooling?new tw:void 0,this.isArgumentCaptureError=this.delegate.enableDebugTooling?eG:void 0,e.appendOperations)?(this.appendOperations=e.appendOperations,this.updateOperations=e.updateOperations):e.document&&(this.appendOperations=new tp(e.document),this.updateOperations=new tf(e.document))}getAppendOperations(){return this.appendOperations}getDOM(){return(0,a.expect)(this.updateOperations,"Attempted to get DOM updateOperations, but they were not provided by the environment. You may be attempting to rerender in an environment which does not support rerendering, such as SSR.")}begin(){(0,a.assert)(!this[tk],"A glimmer transaction was begun, but one already exists. You may have a nested transaction, possibly caused by an earlier runtime exception while rendering. Please check your console for the stack trace of any prior exceptions."),this.debugRenderTree?.begin(),this[tk]=new tT}get transaction(){return(0,a.expect)(this[tk],"must be in a transaction")}didCreate(e){this.transaction.didCreate(e)}didUpdate(e){this.transaction.didUpdate(e)}scheduleInstallModifier(e){this.isInteractive&&this.transaction.scheduleInstallModifier(e)}scheduleUpdateModifier(e){this.isInteractive&&this.transaction.scheduleUpdateModifier(e)}commit(){let e=this.transaction;this[tk]=null,e.commit(),this.debugRenderTree?.commit(),this.delegate.onTransactionCommit()}}function tC(e,t,i,s){return{env:new tS(e,t),program:new c.RuntimeProgramImpl(i.constants,i.heap),resolver:s}}function tA(e,t){if(e[tk])t();else{e.begin();try{t()}finally{e.commit()}}}function tD(e){return(0,u.setInternalHelperManager)(e,{})}let tM=tD(e=>{let{positional:t}=e;return(0,r.createComputeRef)(()=>eV(t),null,"array")}),tx=e=>(e=>null==e||"function"!=typeof e.toString)(e)?"":String(e),tE=tD(e=>{let{positional:t}=e;return(0,r.createComputeRef)(()=>eV(t).map(tx).join(""),null,"concat")}),tL=(0,a.buildUntouchableThis)("`fn` helper"),tP=tD(e=>{let{positional:t}=e,i=t[0];return(0,r.createComputeRef)(()=>function(){let[e,...s]=eV(t);for(var n=arguments.length,a=Array(n),o=0;o0?s[0]:a[0];return(0,r.updateRef)(i,e)}return e.call(tL,...s,...a)},null,"fn")}),tF=tD(e=>{let{positional:t}=e,i=t[0]??r.UNDEFINED_REFERENCE,s=t[1]??r.UNDEFINED_REFERENCE;return(0,r.createComputeRef)(()=>{let e=(0,r.valueForRef)(i);if((0,a.isDict)(e))return(0,l.getPath)(e,String((0,r.valueForRef)(s)))},e=>{let t=(0,r.valueForRef)(i);if((0,a.isDict)(t))return(0,l.setPath)(t,String((0,r.valueForRef)(s)),e)},"get")}),tI=tD(e=>{let{named:t}=e,i=(0,r.createComputeRef)(()=>ez(t),null,"hash"),s=new Map;for(let e in t)s.set(e,t[e]);return i.children=s,i});function tN(e){return(0,d.getValue)(e.argsCache)}class tj{argsCache;constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>eZ,i=(0,d.createCache)(()=>t(e));this.argsCache=i}get named(){return tN(this).named||eQ}get positional(){return tN(this).positional||eX}}function tO(e,t,i){let s=(0,p.getOwner)(e),n=(0,u.getInternalHelperManager)(t).getDelegateFor(s),r,a=new tj(e,i),l=n.createHelper(t,a);if(!(0,u.hasValue)(n))throw Error("TODO: unreachable, to be implemented with hasScheduledEffect");if(r=(0,d.createCache)(()=>n.getValue(l)),(0,o.associateDestroyableChild)(e,r),(0,u.hasDestroyable)(n)){let e=n.getDestroyable(l);(0,o.associateDestroyableChild)(r,e)}return r}(0,a.buildUntouchableThis)("`on` modifier");class tR{tag=(()=>(0,d.createUpdatableTag)())();element;args;listener=null;constructor(e,t){this.element=e,this.args=t,(0,o.registerDestructor)(this,()=>{let{element:e,listener:t}=this;if(t){let{eventName:i,callback:s,options:n}=t;tY(e,i,s,n)}})}updateListener(){let{element:e,args:t,listener:i}=this;(0,a.assert)(t.positional[0],"You must pass a valid DOM event name as the first argument to the `on` modifier");let s=(0,r.valueForRef)(t.positional[0]);(0,a.assert)(t.positional[1],"You must pass a function as the second argument to the `on` modifier");let n,o,l,u=(0,r.valueForRef)(t.positional[1]);{let{once:e,passive:i,capture:s}=t.named;e&&(n=(0,r.valueForRef)(e)),i&&(o=(0,r.valueForRef)(i)),s&&(l=(0,r.valueForRef)(s))}let d,c=!1;(c=null===i||s!==i.eventName||u!==i.userProvidedCallback||n!==i.once||o!==i.passive||l!==i.capture)&&(void 0===n&&void 0===o&&void 0===l||(d={once:n,passive:o,capture:l})),c&&(this.listener={eventName:s,callback:u,userProvidedCallback:u,once:n,passive:o,capture:l,options:d},i&&tY(e,i.eventName,i.callback,i.options),function(e,t,i,s){tU++,e.addEventListener(t,i,s)}(e,s,u,d))}}let tU=0,tB=0;function tY(e,t,i,s){tB++,e.removeEventListener(t,i,s)}let tH=(0,u.setInternalModifierManager)(new class{getDebugName(){return"on"}getDebugInstance(){return null}get counters(){return{adds:tU,removes:tB}}create(e,t,i,s){return new tR(t,s)}getTag(e){let{tag:t}=e;return t}install(e){e.updateListener()}update(e){e.updateListener()}getDestroyable(e){return e}},{});class tq{currentOpSize=0;constructor(e,t,i,s,n){this.stack=e,this.heap=t,this.program=i,this.externs=s,this.registers=n}fetchRegister(e){return this.registers[e]}loadRegister(e,t){this.registers[e]=t}setPc(e){(0,a.assert)("number"==typeof e&&!isNaN(e),"pc is set to a number"),this.registers[n.$pc]=e}pushFrame(){this.stack.push(this.registers[n.$ra]),this.stack.push(this.registers[n.$fp]),this.registers[n.$fp]=this.registers[n.$sp]-1}popFrame(){this.registers[n.$sp]=this.registers[n.$fp]-1,this.registers[n.$ra]=this.stack.get(0),this.registers[n.$fp]=this.stack.get(1)}pushSmallFrame(){this.stack.push(this.registers[n.$ra])}popSmallFrame(){this.registers[n.$ra]=this.stack.pop()}goto(e){this.setPc(this.target(e))}target(e){return this.registers[n.$pc]+e-this.currentOpSize}call(e){(0,a.assert)(e<0xffffffff,"Jumping to placeholder address"),this.registers[n.$ra]=this.registers[n.$pc],this.setPc(this.heap.getaddr(e))}returnTo(e){this.registers[n.$ra]=this.target(e)}return(){this.setPc(this.registers[n.$ra])}nextStatement(){let{registers:e,program:t}=this,i=e[n.$pc];if((0,a.assert)("number"==typeof i,"pc is a number"),-1===i)return null;let s=t.opcode(i),r=this.currentOpSize=s.size;return this.registers[n.$pc]+=r,s}evaluateOuter(e,t){this.evaluateInner(e,t)}evaluateInner(e,t){e.isMachine?this.evaluateMachine(e):this.evaluateSyscall(e,t)}evaluateMachine(e){switch(e.type){case n.MachineOp.PushFrame:return this.pushFrame();case n.MachineOp.PopFrame:return this.popFrame();case n.MachineOp.InvokeStatic:return this.call(e.op1);case n.MachineOp.InvokeVirtual:return this.call(this.stack.pop());case n.MachineOp.Jump:return this.goto(e.op1);case n.MachineOp.Return:return this.return();case n.MachineOp.ReturnTo:return this.returnTo(e.op1)}}evaluateSyscall(e,t){eu.evaluate(t,e,e.type)}}class t${env;dom;alwaysRevalidate;frameStack=(()=>new a.Stack)();constructor(e,t){let{alwaysRevalidate:i=!1}=t;this.env=e,this.dom=e.getDOM(),this.alwaysRevalidate=i}execute(e,t){this._execute(e,t)}_execute(e,t){let{frameStack:i}=this;for(this.try(e,t);!i.isEmpty();){let e=this.frame.nextStatement();void 0!==e?e.evaluate(this):i.pop()}}get frame(){return(0,a.expect)(this.frameStack.current,"bug: expected a frame")}goto(e){this.frame.goto(e)}try(e,t){this.frameStack.push(new tJ(e,t))}throw(){this.frame.handleException(),this.frameStack.pop()}}class tz{constructor(e,t){this.state=e,this.resumeCallback=t}resume(e,t){return this.resumeCallback(e,this.state,t)}}class tV{children;bounds;constructor(e,t,i,s){this.state=e,this.runtime=t,this.children=s,this.bounds=i}parentElement(){return this.bounds.parentElement()}firstNode(){return this.bounds.firstNode()}lastNode(){return this.bounds.lastNode()}evaluate(e){e.try(this.children,null)}}class tW extends tV{type="try";evaluate(e){e.try(this.children,this)}handleException(){let{state:e,bounds:t,runtime:i}=this;(0,o.destroyChildren)(this);let s=es.resume(i.env,t),n=e.resume(i,s),r=[],a=this.children=[],l=n.execute(e=>{e.pushUpdating(r),e.updateWith(this),e.pushUpdating(a)});(0,o.associateDestroyableChild)(this,l.drop)}}class tK extends tW{retained=(()=>!1)();index=(()=>-1)();constructor(e,t,i,s,n,r){super(e,t,i,[]),this.key=s,this.memo=n,this.value=r}updateReferences(e){this.retained=!0,(0,r.updateRef)(this.value,e.value),(0,r.updateRef)(this.memo,e.memo)}shouldRemove(){return!this.retained}reset(){this.retained=!1}}class tG extends tV{type="list-block";opcodeMap=(()=>new Map)();marker=null;lastIterator;constructor(e,t,i,s,n){super(e,t,i,s),this.iterableRef=n,this.lastIterator=(0,r.valueForRef)(n)}initializeChild(e){e.index=this.children.length-1,this.opcodeMap.set(e.key,e)}evaluate(e){let t=(0,r.valueForRef)(this.iterableRef);if(this.lastIterator!==t){let{bounds:i}=this,{dom:s}=e,n=this.marker=s.createComment("");s.insertAfter(i.parentElement(),n,(0,a.expect)(i.lastNode(),"can't insert after an empty bounds")),this.sync(t),this.parentElement().removeChild(n),this.marker=null,this.lastIterator=t}super.evaluate(e)}sync(e){let{opcodeMap:t,children:i}=this,s=0,n=0;for(this.children=this.bounds.boundList=[];;){let r=e.next();if(null===r)break;let o=i[s],{key:l}=r;for(;void 0!==o&&!0===o.retained;)o=i[++s];if(void 0!==o&&o.key===l)this.retainItem(o,r),s++;else if(t.has(l)){let e=t.get(l);if(e.index{t.pushUpdating();let s=t.enterItem(e);s.index=a.length,a.push(s),i.set(l,s),(0,o.associateDestroyableChild)(this,s)})}moveItem(e,t,i){let s,{children:n}=this;(0,r.updateRef)(e.memo,t.memo),(0,r.updateRef)(e.value,t.value),e.retained=!0,void 0===i?C(e,this.marker):e.lastNode().nextSibling!==(s=i.firstNode())&&C(e,s),e.index=n.length,n.push(e)}deleteItem(e){(0,o.destroy)(e),A(e),this.opcodeMap.delete(e.key)}}class tJ{current=0;constructor(e,t){this.ops=e,this.exceptionHandler=t}goto(e){this.current=e}nextStatement(){return this.ops[this.current++]}handleException(){this.exceptionHandler&&this.exceptionHandler.handleException()}}class tQ{constructor(e,t,i,s){this.env=e,this.updating=t,this.bounds=i,this.drop=s,(0,o.associateDestroyableChild)(this,s),(0,o.registerDestructor)(this,()=>A(this.bounds))}rerender(){let{alwaysRevalidate:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{alwaysRevalidate:!1},{env:t,updating:i}=this;new t$(t,{alwaysRevalidate:e}).execute(i,this)}parentElement(){return this.bounds.parentElement()}firstNode(){return this.bounds.firstNode()}lastNode(){return this.bounds.lastNode()}handleException(){throw"this should never happen"}}class tX{static restore(e){return new this(e.slice(),[0,-1,e.length-1,0])}[y];constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;this.stack=e,this[y]=t}push(e){this.stack[++this[y][n.$sp]]=e}dup(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this[y][n.$sp];this.stack[++this[y][n.$sp]]=this.stack[e]}copy(e,t){this.stack[t]=this.stack[e]}pop(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.stack[this[y][n.$sp]];return this[y][n.$sp]-=e,t}peek(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.stack[this[y][n.$sp]-e]}get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this[y][n.$fp];return this.stack[t+e]}set(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this[y][n.$fp];this.stack[i+t]=e}slice(e,t){return this.stack.slice(e,t)}capture(e){let t=this[y][n.$sp]+1;return this.stack.slice(t-e,t)}reset(){this.stack.length=0}toArray(){return this.stack.slice(this[y][n.$fp],this[y][n.$sp]+1)}}class tZ{scope=(()=>new a.Stack)();dynamicScope=(()=>new a.Stack)();updating=(()=>new a.Stack)();cache=(()=>new a.Stack)();list=(()=>new a.Stack)()}class t1{[_]=(()=>new tZ)();[b];destructor;[f]=(()=>new a.Stack)();[w];[k];[g];get stack(){return this[g].stack}get pc(){return this[g].fetchRegister(n.$pc)}s0=null;s1=null;t0=null;t1=null;v0=null;fetch(e){let t=this.fetchValue(e);this.stack.push(t)}load(e){let t=this.stack.pop();this.loadValue(e,t)}fetchValue(e){if((0,n.isLowLevelRegister)(e))return this[g].fetchRegister(e);switch(e){case n.$s0:return this.s0;case n.$s1:return this.s1;case n.$t0:return this.t0;case n.$t1:return this.t1;case n.$v0:return this.v0}}loadValue(e,t){switch((0,n.isLowLevelRegister)(e)&&this[g].loadRegister(e,t),e){case n.$s0:this.s0=t;break;case n.$s1:this.s1=t;break;case n.$t0:this.t0=t;break;case n.$t1:this.t1=t;break;case n.$v0:this.v0=t}}pushFrame(){this[g].pushFrame()}popFrame(){this[g].popFrame()}goto(e){this[g].goto(e)}call(e){this[g].call(e)}returnTo(e){this[g].returnTo(e)}return(){this[g].return()}constructor(e,t,i,s){let{pc:r,scope:o,dynamicScope:l,stack:u}=t;this.runtime=e,this.elementStack=i,this.context=s,this.resume=t3(s);let d=tX.restore(u);(0,a.assert)("number"==typeof r,"pc is a number"),d[y][n.$pc]=r,d[y][n.$sp]=u.length-1,d[y][n.$fp]=-1,this[b]=this.program.heap,this[w]=this.program.constants,this.elementStack=i,this[_].scope.push(o),this[_].dynamicScope.push(l),this[k]=new ej,this[g]=new tq(d,this[b],e.program,{debugBefore:e=>eu.debugBefore(this,e),debugAfter:e=>{eu.debugAfter(this,e)}},d[y]),this.destructor={},this[f].push(this.destructor)}static initial(e,t,i){let{handle:s,self:n,dynamicScope:r,treeBuilder:a,numSymbols:o,owner:l}=i,u=m.root(n,o,l),d=t0(e.program.heap.getaddr(s),u,r),c=t3(t)(e,d,a);return c.pushUpdating(),c}static empty(e,t,i){let{handle:s,treeBuilder:n,dynamicScope:a,owner:o}=t,l=t3(i)(e,t0(e.program.heap.getaddr(s),m.root(r.UNDEFINED_REFERENCE,0,o),a),n);return l.pushUpdating(),l}resume;compile(e){return(0,a.unwrapHandle)(e.compile(this.context))}get program(){return this.runtime.program}get env(){return this.runtime.env}captureState(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this[g].fetchRegister(n.$pc);return{pc:t,scope:this.scope(),dynamicScope:this.dynamicScope(),stack:this.stack.capture(e)}}capture(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this[g].fetchRegister(n.$pc);return new tz(this.captureState(e,t),this.resume)}beginCacheGroup(e){let t=this.updating(),i=new eS;t.push(i),t.push(new eC(e)),this[_].cache.push(i),(0,d.beginTrackFrame)(e)}commitCacheGroup(){let e=this.updating(),t=(0,a.expect)(this[_].cache.pop(),"VM BUG: Expected a cache group"),i=(0,d.endTrackFrame)();e.push(new eA(t)),t.finalize(i,e.length)}enter(e){let t=this.capture(e),i=this.elements().pushUpdatableBlock(),s=new tW(t,this.runtime,i,[]);this.didEnter(s)}enterItem(e){let{key:t,value:i,memo:s}=e,{stack:n}=this,a=(0,r.createIteratorItemRef)(i),o=(0,r.createIteratorItemRef)(s);n.push(a),n.push(o);let l=this.capture(2),u=this.elements().pushUpdatableBlock(),d=new tK(l,this.runtime,u,t,o,a);return this.didEnter(d),d}registerItem(e){this.listBlock().initializeChild(e)}enterList(e,t){let i=[],s=this[g].target(t),n=this.capture(0,s),r=this.elements().pushBlockList(i),a=new tG(n,this.runtime,r,i,e);this[_].list.push(a),this.didEnter(a)}didEnter(e){this.associateDestroyable(e),this[f].push(e),this.updateWith(e),this.pushUpdating(e.children)}exit(){this[f].pop(),this.elements().popBlock(),this.popUpdating()}exitList(){this.exit(),this[_].list.pop()}pushUpdating(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this[_].updating.push(e)}popUpdating(){return(0,a.expect)(this[_].updating.pop(),"can't pop an empty stack")}updateWith(e){this.updating().push(e)}listBlock(){return(0,a.expect)(this[_].list.current,"expected a list block")}associateDestroyable(e){let t=(0,a.expect)(this[f].current,"Expected destructor parent");(0,o.associateDestroyableChild)(t,e)}tryUpdating(){return this[_].updating.current}updating(){return(0,a.expect)(this[_].updating.current,"expected updating opcode on the updating opcode stack")}elements(){return this.elementStack}scope(){return(0,a.expect)(this[_].scope.current,"expected scope on the scope stack")}dynamicScope(){return(0,a.expect)(this[_].dynamicScope.current,"expected dynamic scope on the dynamic scope stack")}pushChildScope(){this[_].scope.push(this.scope().child())}pushDynamicScope(){let e=this.dynamicScope().child();return this[_].dynamicScope.push(e),e}pushRootScope(e,t){let i=m.sized(e,t);return this[_].scope.push(i),i}pushScope(e){this[_].scope.push(e)}popScope(){this[_].scope.pop()}popDynamicScope(){this[_].dynamicScope.pop()}getOwner(){return this.scope().owner}getSelf(){return this.scope().getSelf()}referenceForSymbol(e){return this.scope().getSymbol(e)}execute(e){return this._execute(e)}_execute(e){let t;e&&e(this);do t=this.next();while(!t.done)return t.value}next(){let e,{env:t,elementStack:i}=this,s=this[g].nextStatement();return null!==s?(this[g].evaluateOuter(s,this),e={done:!1,value:null}):(this.stack.reset(),e={done:!0,value:new tQ(t,this.popUpdating(),i.popBlock(),this.destructor)}),e}bindDynamicScope(e){let t=this.dynamicScope();for(let i of(0,a.reverse)(e))t.set(i,this.stack.pop())}}function t0(e,t,i){return{pc:e,scope:t,dynamicScope:i,stack:[]}}function t3(e){return(t,i,s)=>new t1(t,i,s,e)}class t2{constructor(e){this.vm=e}next(){return this.vm.next()}sync(){return this.vm.execute()}}function t8(e,t){let i;return tA(e,()=>i=t.sync()),i}function t4(e,t,i,s,n,r){let o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:new h,l=(0,a.unwrapHandle)(r.compile(t)),u=r.symbolTable.symbols.length;return new t2(t1.initial(e,t,{self:s,dynamicScope:o,treeBuilder:n,handle:l,numSymbols:u,owner:i}))}function t7(e,t,i,s,n){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:new h;return function(e,t,i,s,n){let r=Object.keys(n).map(e=>[e,n[e]]),o=["main","else","attrs"],l=r.map(e=>{let[t]=e;return`@${t}`}),u=e[w].component(s,i);e.pushFrame();for(let t=0;t<3*o.length;t++)e.stack.push(null);e.stack.push(null),r.forEach(t=>{let[,i]=t;e.stack.push(i)}),e[k].setup(e.stack,l,o,0,!0);let d=(0,a.expect)(u.compilable,"BUG: Expected the root component rendered with renderComponent to have an associated template, set with setComponentTemplate"),c={handle:(0,a.unwrapHandle)(d.compile(t)),symbolTable:d.symbolTable};return e.stack.push(e[k]),e.stack.push(c),e.stack.push(u),new t2(e)}(t1.empty(e,{treeBuilder:t,handle:i.stdlib.main,dynamicScope:l,owner:s},i),i,s,n,function(e){let t=(0,r.createConstRef)(e,"args");return Object.keys(e).reduce((e,i)=>(e[i]=(0,r.childRefFor)(t,i),e),{})}(o))}let t9="%+b:0%";function t6(e){return"%+b:0%"===e.nodeValue}class t5 extends T{candidate=null;openBlockDepth;injectedOmittedNode=(()=>!1)();constructor(e,t,i){super(e,t),this.startingBlockDepth=i,this.openBlockDepth=i-1}}class ie extends es{unmatchedAttributes=null;blockDepth=0;startingBlockOffset;constructor(e,t,i){if(super(e,t,i),i)throw Error("Rehydration with nextSibling not supported");let s=this.currentCursor.element.firstChild;for(;null!==s&&!it(s);)s=s.nextSibling;(0,a.assert)(s,"Must have opening comment for rehydration."),this.candidate=s;let n=is(s);if(0!==n){let e=n-1,t=this.dom.createComment(`%+b:${e}%`);s.parentNode.insertBefore(t,this.candidate);let i=s.nextSibling;for(;null!==i&&(!ii(i)||is(i)!==n);)i=i.nextSibling;(0,a.assert)(i,"Must have closing comment for starting block comment");let r=this.dom.createComment(`%-b:${e}%`);s.parentNode.insertBefore(r,i.nextSibling),this.candidate=t,this.startingBlockOffset=e}else this.startingBlockOffset=0}get currentCursor(){return this[ei].current}get candidate(){return this.currentCursor?this.currentCursor.candidate:null}set candidate(e){this.currentCursor.candidate=e}disableRehydration(e){let t=this.currentCursor;t.candidate=null,t.nextSibling=e}enableRehydration(e){let t=this.currentCursor;t.candidate=e,t.nextSibling=null}pushElement(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=new t5(e,t,this.blockDepth||0);null!==this.candidate&&(i.candidate=e.firstChild,this.candidate=e.nextSibling),this[ei].push(i)}clearMismatch(e){let t=e,i=this.currentCursor;if(null!==i){let e=i.openBlockDepth;if(e>=i.startingBlockDepth)for(;t&&!(ii(t)&&e>=ir(t,this.startingBlockOffset));)t=this.remove(t);else for(;null!==t;)t=this.remove(t);this.disableRehydration(t)}}__openBlock(){let{currentCursor:e}=this;if(null===e)return;let t=this.blockDepth;this.blockDepth++;let{candidate:i}=e;if(null===i)return;let{tagName:s}=e.element;it(i)&&ir(i,this.startingBlockOffset)===t?(this.candidate=this.remove(i),e.openBlockDepth=t):"TITLE"!==s&&"SCRIPT"!==s&&"STYLE"!==s&&this.clearMismatch(i)}__closeBlock(){let{currentCursor:e}=this;if(null===e)return;let t=e.openBlockDepth;this.blockDepth--;let{candidate:i}=e,s=!1;if(null!==i)if(s=!0,ii(i)&&ir(i,this.startingBlockOffset)===t){let t=this.remove(i);this.candidate=t,e.openBlockDepth--}else this.clearMismatch(i),s=!1;if(!1===s){let t=e.nextSibling;if(null!==t&&ii(t)&&ir(t,this.startingBlockOffset)===this.blockDepth){let i=this.remove(t);this.enableRehydration(i),e.openBlockDepth--}}}__appendNode(e){let{candidate:t}=this;return t||super.__appendNode(e)}__appendHTML(e){let t=this.markerBounds();if(t){let e=t.firstNode(),i=t.lastNode(),s=new S(this.element,e.nextSibling,i.previousSibling),n=this.remove(e);return this.remove(i),null!==n&&il(n)&&(this.candidate=this.remove(n),null!==this.candidate&&this.clearMismatch(this.candidate)),s}return super.__appendHTML(e)}remove(e){let t=(0,a.expect)(e.parentNode,"cannot remove a detached node"),i=e.nextSibling;return t.removeChild(e),i}markerBounds(){let e=this.candidate;if(e&&io(e)){let t=(0,a.expect)(e.nextSibling,"BUG: serialization markers must be paired");for(;t&&!io(t);)t=(0,a.expect)(t.nextSibling,"BUG: serialization markers must be paired");return new S(this.element,e,t)}return null}__appendText(e){let{candidate:t}=this;return t?3===t.nodeType?(t.nodeValue!==e&&(t.nodeValue=e),this.candidate=t.nextSibling,t):8===t.nodeType&&"%|%"===t.nodeValue||il(t)&&""===e?(this.candidate=this.remove(t),this.__appendText(e)):(this.clearMismatch(t),super.__appendText(e)):super.__appendText(e)}__appendComment(e){let t=this.candidate;return t&&8===t.nodeType?(t.nodeValue!==e&&(t.nodeValue=e),this.candidate=t.nextSibling,t):(t&&this.clearMismatch(t),super.__appendComment(e))}__openElement(e){let t=this.candidate;if(t&&ia(t)&&function(e,t){return e.namespaceURI===a.NS_SVG?e.tagName===t:e.tagName===t.toUpperCase()}(t,e))return this.unmatchedAttributes=[].slice.call(t.attributes),t;if(t){if(ia(t)&&"TBODY"===t.tagName)return this.pushElement(t,null),this.currentCursor.injectedOmittedNode=!0,this.__openElement(e);this.clearMismatch(t)}return super.__openElement(e)}__setAttribute(e,t,i){let s=this.unmatchedAttributes;if(s){let i=iu(s,e);if(i)return i.value!==t&&(i.value=t),void s.splice(s.indexOf(i),1)}return super.__setAttribute(e,t,i)}__setProperty(e,t){let i=this.unmatchedAttributes;if(i){let s=iu(i,e);if(s)return s.value!==t&&(s.value=t),void i.splice(i.indexOf(s),1)}return super.__setProperty(e,t)}__flushElement(e,t){let{unmatchedAttributes:i}=this;if(i){for(let e of i)this.constructing.removeAttribute(e.name);this.unmatchedAttributes=null}else super.__flushElement(e,t)}willCloseElement(){let{candidate:e,currentCursor:t}=this;null!==e&&this.clearMismatch(e),t&&t.injectedOmittedNode&&this.popElement(),super.willCloseElement()}getMarker(e,t){let i=e.querySelector(`script[glmr="${t}"]`);return i?(0,a.castToSimple)(i):null}__pushRemoteElement(e,t,i){let s=this.getMarker((0,a.castToBrowser)(e,"HTML"),t);if((0,a.assert)(!s||s.parentNode===e,"expected remote element marker's parent node to match remote element"),void 0===i){for(;null!==e.firstChild&&e.firstChild!==s;)this.remove(e.firstChild);i=null}let n=new t5(e,null,this.blockDepth);this[ei].push(n),null===s?this.disableRehydration(i):this.candidate=this.remove(s);let r=new er(e);return this.pushLiveBlock(r,!0)}didAppendBounds(e){if(super.didAppendBounds(e),this.candidate){let t=e.lastNode();this.candidate=t&&t.nextSibling}return e}}function it(e){return e.nodeType===a.COMMENT_NODE&&0===e.nodeValue.lastIndexOf("%+b:",0)}function ii(e){return e.nodeType===a.COMMENT_NODE&&0===e.nodeValue.lastIndexOf("%-b:",0)}function is(e){return parseInt(e.nodeValue.slice(4),10)}function ir(e,t){return is(e)-t}function ia(e){return 1===e.nodeType}function io(e){return 8===e.nodeType&&"%glmr%"===e.nodeValue}function il(e){return 8===e.nodeType&&"% %"===e.nodeValue}function iu(e,t){for(let i of e)if(i.name===t)return i}function id(e,t){return ie.forInitialRender(e,t)}},16666:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(80212),n=i(76998);let r={after:"inject-objects",retryCount:0,isAppWebview:void 0,mediaQuery:"(prefers-color-scheme: dark)",initialize(e){if(void 0===this.isAppWebview){let t=e.lookup("service:capabilities");this.isAppWebview=t.isAppWebview}this.isAppWebview&&(window.matchMedia(this.mediaQuery).addEventListener("change",this.updateAppBackground.bind(this)),this.updateAppBackground())},updateAppBackground(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500;(0,s.default)(()=>{this.headerBgColor()?(0,n.postRNWebviewMessage)("headerBg",this.headerBgColor()):this.retry()},e)},headerBgColor(){let e=document.querySelector(".d-header-wrap .d-header");if(e)return window.getComputedStyle(e)?.backgroundColor},retry(){this.retryCount<2&&(this.retryCount++,this.updateAppBackground(1e3))},teardown(){this.isAppWebview&&window.matchMedia(this.mediaQuery).removeEventListener("change",this.updateAppBackground.bind(this))}}},16668:(e,t,i)=>{"use strict";i.r(t),i.d(t,{dependentKeyCompat:()=>a}),i(63847),i(71620),i(7950),i(12003);var s=i(5963);i(56742);var n=i(14675);i(5840);let r=function(e,t,i){let{get:n}=i;return void 0!==n&&(i.get=function(){let e,i=(0,s.tagFor)(this,t),r=(0,s.track)(()=>{e=n.call(this)});return(0,s.updateTag)(i,r),(0,s.consumeTag)(r),e}),i};function a(){for(var e=arguments.length,t=Array(e),i=0;i{"use strict";function s(e,t){return e&&"function"==typeof e.isEqual?e.isEqual(t):e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():e===t}i.r(t),i.d(t,{default:()=>s})},16875:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(83770),r=i(6809),a=i(25164),o=i(28431),l=i(15330),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();get description(){return(0,u.i18n)("anonymous_flagging.description",{email:this.#sr,topic_title:this.args.model.flagModel.topic.title,url:(0,l.getAbsoluteURL)(this.args.model.flagModel.url)})}get #sr(){return(0,a.isEmpty)(this.siteSettings.email_address_to_report_illegal_content)?this.siteSettings.contact_email:this.siteSettings.email_address_to_report_illegal_content}static #t=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"3rdzQ5Am",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"anonymous-flag-modal"]],[["@title","@closeModal","@bodyClass"],[[28,[32,1],["anonymous_flagging.title"],null],[30,1],"anonymous-flag-modal__body"]],[["body"],[[[[1,"\\n "],[10,2],[12],[1,[28,[32,2],[[28,[32,1],["flagging.review_process_description"],null]],null]],[13],[1,"\\n "],[10,2],[12],[1,[28,[32,2],[[30,0,["description"]]],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/anonymous-flag.js",scope:()=>[o.default,u.i18n,r.htmlSafe],isStrictMode:!0}),this))()}},16969:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(1615),n=i(21772);class r extends n.default{model(){return s.default.find("login")}}},16993:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=(0,i(2845).modifier)((e,t,i)=>{let[s]=t,{threshold:n=1,rootMargin:r="0px 0px 0px 0px",root:a=null}=i,o=new IntersectionObserver(e=>{e.forEach(s)},{threshold:n,rootMargin:r,root:a?document.querySelector(a):null});return o.observe(e),()=>{o.disconnect()}})},17043:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(42371),n=i(83770),r=i(13446),a=i(52095),o=i(41277),l=i(93810),u=i(60110);class d extends(0,a.buildCategoryPanel)("localizations"){static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();get availableLocales(){return JSON.parse(this.siteSettings.available_locales)}static #t=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"yA4IZYPE",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,1,["localizations","length"]],0],null],[[[1," "],[8,[30,2,["Alert"]],null,[["@icon"],["circle-info"]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["category.localization.hint"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[30,2,["Collection"]],null,[["@name"],["localizations"]],[["default"],[[[[1,"\\n "],[8,[30,3,["Field"]],null,[["@name","@title","@showTitle","@disabled"],["category_id","category_id",false,true]],[["default"],[[[[1,"\\n "],[8,[30,5,["Input"]],null,[["@value","@type"],[[30,0,["category","id"]],"hidden"]],null],[1,"\\n "]],[5]]]]],[1,"\\n\\n "],[8,[30,2,["Row"]],null,null,[["default"],[[[[1,"\\n "],[8,[30,6,["Col"]],null,[["@size"],[2]],[["default"],[[[[1,"\\n "],[8,[30,3,["Field"]],null,[["@name","@title","@format","@validation"],["locale",[28,[32,1],["category.localization.locale"],null],"full","required"]],[["default"],[[[[1,"\\n "],[8,[30,7,["Select"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["availableLocales"]]],null]],null],null,[[[1," "],[8,[30,8,["Option"]],null,[["@value"],[[30,9,["value"]]]],[["default"],[[[[1,[30,9,["name"]]]],[]]]]],[1,"\\n"]],[9]],null],[1," "]],[8]]]]],[1,"\\n "]],[7]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,6,["Col"]],null,[["@size"],[4]],[["default"],[[[[1,"\\n "],[8,[30,3,["Field"]],null,[["@name","@title","@validation"],["name",[28,[32,1],["category.localization.name"],null],"required|length:1,50"]],[["default"],[[[[1,"\\n "],[8,[30,10,["Input"]],[[16,"placeholder",[28,[32,1],["category.name_placeholder"],null]],[24,0,"category-name"]],[["@maxlength"],["50"]],null],[1,"\\n "]],[10]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,6,["Col"]],null,[["@size"],[5]],[["default"],[[[[1,"\\n "],[8,[30,3,["Field"]],null,[["@name","@title"],["description",[28,[32,1],["category.localization.description"],null]]],[["default"],[[[[1,"\\n "],[8,[30,11,["Textarea"]],null,[["@height"],[60]],null],[1,"\\n "]],[11]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,6,["Col"]],null,[["@size"],[1]],[["default"],[[[[1,"\\n "],[8,[30,2,["Button"]],[[24,0,"btn-danger remove-localization"]],[["@icon","@title","@action"],["trash-can","category.localization.remove",[28,[32,2],[[30,3,["remove"]],[30,4]],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[6]]]]],[1,"\\n "]],[3,4]]]]],[1,"\\n\\n "],[8,[30,2,["Button"]],[[24,0,"add-localization"]],[["@icon","@label","@action"],["plus","category.localization.add",[28,[32,2],[[30,2,["addItemToCollection"]],"localizations",[28,[32,3],null,[["category_id","locale","name","description"],[[30,0,["category","id"]],"","",""]]]],null]]],null],[1,"\\n "]],["@transientData","@form","collection","index","field","row","field","select","locale","field","field"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-localizations.js",scope:()=>[r.eq,o.i18n,s.fn,s.hash],isStrictMode:!0}),this))()}},17046:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(36376),r=i(44612),a=i(28431),o=i(41277),l=i(93810),u=i(60110);class d extends s.default{updateExistingUsers(){this.args.model.setUpdateExistingUsers(!0),this.args.closeModal()}static #e=(()=>dt7948.n(this.prototype,"updateExistingUsers",[n.action]))();cancel(){this.args.model.setUpdateExistingUsers(null),this.args.closeModal()}static #t=(()=>dt7948.n(this.prototype,"cancel",[n.action]))();static #r=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"n9rhJbSm",block:'[[[1,"\\n "],[8,[32,0],null,[["@title","@closeModal"],[[28,[32,1],["admin.config.fonts.backfill_modal.title"],null],[30,1]]],[["body","footer"],[[[[1,"\\n "],[1,[28,[32,1],["admin.config.fonts.backfill_modal.description"],[["count"],[[30,2,["count"]]]]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,2],[[24,0,"btn-primary"]],[["@action","@label"],[[30,0,["updateExistingUsers"]],"admin.config.fonts.backfill_modal.modal_yes"]],null],[1,"\\n "],[8,[32,2],null,[["@action","@label"],[[30,0,["cancel"]],"admin.config.fonts.backfill_modal.modal_no"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/update-default-text-size.js",scope:()=>[a.default,o.i18n,r.default],isStrictMode:!0}),this))()}},17064:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},s=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];return e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:s,longMonthsParse:s,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return(12===e&&(e=0),"रात"===t)?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})})},17141:(e,t,i)=>{"use strict";i.r(t),i.d(t,{buildPlatform:()=>a,default:()=>q});let s=setTimeout,n=()=>{};function r(e){if("function"==typeof Promise){let t=Promise.resolve();return()=>t.then(e)}if("function"!=typeof MutationObserver)return()=>s(e,0);{let t=0,i=new MutationObserver(e),s=document.createTextNode("");return i.observe(s,{characterData:!0}),()=>(s.data=""+(t=++t%2),t)}}function a(e){return{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),now:()=>Date.now(),next:r(e),clearNext:n}}let o=/\d+/;function l(e){let t=typeof e;return"number"===t&&e==e||"string"===t&&o.test(e)}function u(e){return e.onError||e.onErrorTarget&&e.onErrorTarget[e.onErrorMethod]}function d(e,t,i){let s=-1;for(let n=0,r=i.length;n2&&void 0!==arguments[2]?arguments[2]:0,s=[];for(let n=0;n=t[i=n+s-s%6]?n=i+6:r=i;return e>=t[n]?n+6:n}class m{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this._queueBeingFlushed=[],this.targetQueues=new Map,this.index=0,this._queue=[],this.name=e,this.options=t,this.globalOptions=i}stackFor(e){if(e0){let e=u(this.globalOptions);s=e?this.invokeWithOnError:this.invoke;for(let n=this.index;n0&&this.flush(!0)}hasWork(){return this._queueBeingFlushed.length>0||this._queue.length>0}cancel(e){let{target:t,method:i}=e,s=this._queue,n=this.targetQueues.get(t);void 0!==n&&n.delete(i);let r=d(t,i,s);return!!(r>-1||(r=d(t,i,s=this._queueBeingFlushed))>-1)&&(s[r+1]=null,!0)}push(e,t,i,s){return this._queue.push(e,t,i,s),{queue:this,target:e,method:t}}pushUnique(e,t,i,s){let n=this.targetQueues.get(e);void 0===n&&(n=new Map,this.targetQueues.set(e,n));let r=n.get(t);if(void 0===r){let r=this._queue.push(e,t,i,s)-4;n.set(t,r)}else{let e=this._queue;e[r+2]=i,e[r+3]=s}return{queue:this,target:e,method:t}}_getDebugInfo(e){if(e)return p(this._queue,4)}invoke(e,t,i){void 0===i?t.call(e):t.apply(e,i)}invokeWithOnError(e,t,i,s,n){try{void 0===i?t.call(e):t.apply(e,i)}catch(e){s(e,n)}}}class g{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;this.queues={},this.queueNameIndex=0,this.queueNames=e,e.reduce(function(e,i){return e[i]=new m(i,t[i],t),e},this.queues)}schedule(e,t,i,s,n,r){let a=this.queues[e];if(void 0===a)throw Error(`You attempted to schedule an action in a queue (${e}) that doesn't exist`);if(null==i)throw Error(`You attempted to schedule an action in a queue (${e}) for a method that doesn't exist`);return(this.queueNameIndex=0,n)?a.pushUnique(t,i,s,r):a.push(t,i,s,r)}flush(){let e,t,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=this.queueNames.length;for(;this.queueNameIndexn){let t=s-n;e=Array(t);for(let i=0;i{B++,!1!==this._autorun&&(this._autorun=!1,this._autorunStack=null,this._end(!0))};let i=this.options._buildPlatform||a;this._platform=i(this._boundAutorunEnd)}get counters(){return{begin:T,end:S,events:{begin:C,end:0},autoruns:{created:U,completed:B},run:A,join:D,defer:M,schedule:x,scheduleIterable:E,deferOnce:L,scheduleOnce:P,setTimeout:F,later:I,throttle:N,debounce:j,cancelTimers:O,cancel:R,loops:{total:Y,nested:H}}}get defaultQueue(){return this._defaultQueue}begin(){let e;T++;let t=this.options,i=this.currentInstance;return!1!==this._autorun?(e=i,this._cancelAutorun()):(null!==i&&(H++,this.instanceStack.push(i)),Y++,e=this.currentInstance=new g(this.queueNames,t),C++,this._trigger("begin",e,i)),this._onBegin(e,i),e}end(){S++,this._end(!1)}on(e,t){if("function"!=typeof t)throw TypeError("Callback must be a function");let i=this._eventCallbacks[e];if(void 0!==i)i.push(t);else throw TypeError(`Cannot on() event ${e} because it does not exist`)}off(e,t){let i=this._eventCallbacks[e];if(!e||void 0===i)throw TypeError(`Cannot off() event ${e} because it does not exist`);let s=!1;if(t)for(let e=0;e3?s-3:0),r=3;r1?t-1:0),s=1;s3?s-3:0),r=3;r1?t-1:0),s=1;s0&&l(i[n-1])&&(s=parseInt(i.pop(),10)),[e,t,i,s]}(...arguments);return this._later(e,t,i,s)}throttle(){let e;N++;let[t,i,s,n,r=!0]=w(...arguments),a=c(t,i,this._timers);if(-1===a)e=this._later(t,i,r?y:s,n),r&&this._join(t,i,s);else{e=this._timers[a+1];let t=a+4;this._timers[t]!==y&&(this._timers[t]=s)}return e}debounce(){let e;j++;let[t,i,s,n,r=!1]=w(...arguments),a=this._timers,o=c(t,i,a);if(-1===o)e=this._later(t,i,r?y:s,n),r&&this._join(t,i,s);else{let r=this._platform.now()+n,l=o+4;a[l]===y&&(s=y),e=a[o+1];let u=h(r,a);if(o+6===u)a[o]=r,a[l]=s;else{let n=this._timers[o+5];this._timers.splice(u,0,r,e,t,i,s,n),this._timers.splice(o,6)}0===o&&this._reinstallTimerTimeout()}return e}cancelTimers(){O++,this._clearTimerTimeout(),this._timers=[],this._cancelAutorun()}hasTimers(){return this._timers.length>0||this._autorun}cancel(e){if(R++,null==e)return!1;let t=typeof e;return"number"===t?this._cancelLaterTimer(e):"object"===t&&!!e.queue&&!!e.method&&e.queue.cancel(e)}ensureInstance(){this._ensureInstance()}getDebugInfo(){if(this.DEBUG)return{autorun:this._autorunStack,counters:this.counters,timers:p(this._timers,6,2),instanceStack:[this.currentInstance,...this.instanceStack].map(e=>e&&e._getDebugInfo(this.DEBUG))}}_end(e){let t,i=this.currentInstance,s=null;if(null===i)throw Error("end called without begin");let n=!1;try{t=i.flush(e)}finally{if(!n)if(n=!0,1===t){let e=this.queueNames[i.queueNameIndex];this._scheduleAutorun(e)}else this.currentInstance=null,this.instanceStack.length>0&&(s=this.instanceStack.pop(),this.currentInstance=s),this._trigger("end",i,s),this._onEnd(i,s)}}_join(e,t,i){return null===this.currentInstance?this._run(e,t,i):void 0===e&&void 0===i?t():t.apply(e,i)}_run(e,t,i){let s=u(this.options);if(this.begin(),s)try{return t.apply(e,i)}catch(e){s(e)}finally{this.end()}else try{return t.apply(e,i)}finally{this.end()}}_cancelAutorun(){this._autorun&&(this._platform.clearNext(),this._autorun=!1,this._autorunStack=null)}_later(e,t,i,s){let n=this.DEBUG?Error():void 0,r=this._platform.now()+s,a=k++;if(0===this._timers.length)this._timers.push(r,a,e,t,i,n),this._installTimerTimeout();else{let s=h(r,this._timers);this._timers.splice(s,0,r,a,e,t,i,n),this._reinstallTimerTimeout()}return a}_cancelLaterTimer(e){for(let t=1;t0&&(this.begin(),this._scheduleExpiredTimers(),this.end())}_scheduleExpiredTimers(){let e=this._timers,t=0,i=e.length,s=this._defaultQueue,n=this._platform.now();for(;tn);t+=6){let i=e[t+4];if(i!==y){let n=e[t+2],r=e[t+3],a=e[t+5];this.currentInstance.schedule(s,n,r,i,!1,a)}}e.splice(0,t),this._installTimerTimeout()}_reinstallTimerTimeout(){this._clearTimerTimeout(),this._installTimerTimeout()}_clearTimerTimeout(){null!==this._timerTimeoutId&&(this._platform.clearTimeout(this._timerTimeoutId),this._timerTimeoutId=null)}_installTimerTimeout(){if(0===this._timers.length)return;let e=Math.max(0,this._timers[0]-this._platform.now());this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,e)}_ensureInstance(){let e=this.currentInstance;return null===e&&(this._autorunStack=this.DEBUG?Error():void 0,e=this.begin(),this._scheduleAutorun(this.queueNames[0])),e}_scheduleAutorun(e){U++;let t=this._platform.next,i=this.options.flush;i?i(e,t):t(),this._autorun=!0}}q.Queue=m,q.buildPlatform=a,q.buildNext=r},17148:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(21772);class n extends s.default{serialize(){return""}}},17206:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(42946),n=i(83770),r=i(27494),a=i.n(r),o=i(10151),l=i(77598),u=i(74811),d=i(15330),c=i(47182),p=i(25989),h=i(41277);let m=new Set,g=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();constructor(){super(...arguments),(0,o.getAndClearUnhandledThemeErrors)().forEach(e=>this.reportThemeError(e)),document.addEventListener("discourse-error",this.handleDiscourseError)}willDestroy(){document.removeEventListener("discourse-error",this.handleDiscourseError),this.rootElement.querySelectorAll(".broken-theme-alert-banner").forEach(e=>e.remove())}get rootElement(){return document.querySelector((0,s.getOwner)(this).rootElement)}handleDiscourseError(e){e.detail?.themeId?this.reportThemeError(e):this.reportGenericError(e),e.preventDefault()}static #t=(()=>dt7948.n(this.prototype,"handleDiscourseError",[l.bind]))();reportThemeError(e){let{themeId:t,error:i}=e.detail,s={type:"theme",...(0,p.getThemeInfo)(t)};f(i,s),function(e,t){let i={message:`${e} theme/component is throwing errors: ${t.name}: ${t.message}`,stacktrace:t.stack};a().ajax((0,d.default)("/logs/report_js_error"),{data:i,type:"POST"})}(s.name,i);let n=(0,h.i18n)("themes.broken_theme_alert");this.displayErrorNotice(n,s)}reportGenericError(e){let{messageKey:t,error:i}=e.detail,s=(0,h.i18n)(t),n=(0,p.default)(i);f(i,n),t&&!m.has(t)&&(m.add(t),this.displayErrorNotice(s,n))}displayErrorNotice(e,t){if(!this.currentUser?.admin)return;let i=`⚠️ ${(0,u.default)(e)}`;t?.type==="theme"?i+=`
    ${(0,h.i18n)("themes.error_caused_by",{name:(0,u.default)(t.name),path:t.path})}`:t?.type==="plugin"&&(i+=`
    ${(0,h.i18n)("broken_plugin_alert",{name:(0,u.default)(t.name)})}`),i+=`
    ${(0,h.i18n)("themes.only_admins")}`;let s=document.createElement("div");s.classList.add("broken-theme-alert-banner"),s.innerHTML=i,this.rootElement.prepend(s)}},[c.disableImplicitInjections]);function f(e,t){let i=(0,p.consolePrefix)(e,t);i?console.error(i,e):console.error(e)}},17211:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(62069),n=i(44612),r=i(41277),a=i(93810),o=i(60110),l=i(29681);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"gysEgiLG",block:'[[[1,"\\n "],[10,0],[14,1,"simple-container"],[12],[1,"\\n "],[10,0],[14,0,"confirm-old-email"],[12],[1,"\\n "],[10,"h2"],[12],[1,[28,[32,0],["user.change_email.authorizing_old.title"],null]],[13],[1,"\\n "],[10,2],[12],[1,"\\n"],[41,[30,1,["model","old_email"]],[[[1," "],[1,[28,[32,0],["user.change_email.authorizing_old.description"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["user.change_email.authorizing_old.description_add"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"],[41,[30,1,["model","old_email"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,0],["user.change_email.authorizing_old.old_email"],[["email"],[[30,1,["model","old_email"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,0],["user.change_email.authorizing_old.new_email"],[["email"],[[30,1,["model","new_email"]]]]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],[[24,0,"btn-primary"]],[["@translatedLabel","@action"],[[28,[32,0],["user.change_email.confirm"],null],[30,1,["confirm"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/confirm-old-email.js",scope:()=>[r.i18n,n.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},17251:(e,t,i)=>{"use strict";var s=i(88828);e.exports=new(i(27297))("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,i=e.length,s=0,n=!1;if(!i)return!1;if(("-"===(t=e[s])||"+"===t)&&(t=e[++s]),"0"===t){if(s+1===i)return!0;if("b"===(t=e[++s])){for(s++;s=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},17290:(e,t,i)=>{"use strict";i.r(t),i.d(t,{WidgetDropdownBodyClass:()=>u,WidgetDropdownClass:()=>d,WidgetDropdownHeaderClass:()=>o,WidgetDropdownItemClass:()=>l,default:()=>c});var s=i(31862),n=i(10332),r=i(13338),a=i(41277);let o={tagName:"button",transform(e){return{label:this._buildLabel(e)}},buildAttributes(e){return{title:this._buildLabel(e)}},buildClasses(e){let t=["widget-dropdown-header","btn","btn-default"];return e.class&&(t=t.concat(e.class.split(" "))),t.filter(Boolean).join(" ")},click(e){e.preventDefault(),this.sendWidgetAction("_onTrigger")},template:function(e,t){var i=__widget_helpers.iconNode,s=[];s.push(` `),e.icon&&(s.push(" "),s.push(i(e.icon)),s.push(` `)),s.push(" ");var n=[];return n.push(` `),n.push(this.transformed.label),n.push(` `),s.push(virtualDom.h("span",{className:"label",attributes:{}},n)),s.push(` `),e.caret&&(s.push(" "),s.push(i("caret-down")),s.push(` `)),s.push(" "),s},_buildLabel:e=>e.translatedLabel?e.translatedLabel:(0,a.i18n)(e.label)};(0,r.createWidget)("widget-dropdown-header",o);let l={tagName:"div",transform:e=>({content:"separator"===e.item?"
    ":e.item.html?e.item.html:e.item.translatedLabel?e.item.translatedLabel:(0,a.i18n)(e.item.label)}),buildAttributes:e=>({"data-id":e.item.id,tabindex:"separator"===e.item?-1:0}),buildClasses(e){let t=["widget-dropdown-item","separator"===e.item?"separator":`item-${e.item.id}`];return t.push(e.item.disabled?"disabled":""),t.join(" ")},keyDown(e){"Enter"===e.key&&(e.preventDefault(),this.sendWidgetAction("_onChange",this.attrs.item))},click(e){e.preventDefault(),this.sendWidgetAction("_onChange",this.attrs.item)},template:function(e,t){var i=__widget_helpers.iconNode,s=__widget_helpers.rawHtml,n=[];return n.push(` `),e.item.icon&&(n.push(" "),n.push(i(e.item.icon)),n.push(` `)),n.push(" "),n.push(new s({html:""+this.transformed.content+""})),n.push(` `),n}};(0,r.createWidget)("widget-dropdown-item",l);let u={tagName:"div",buildClasses:e=>`widget-dropdown-body ${e.class||""}`,clickOutside(){this.sendWidgetAction("hideBody")},template:function(e,t){var i=[];return i.push(` `),e.content&&e.content.length&&e.content.forEach(e=>{i.push(" "),i.push(this.attach("widget-dropdown-item",{item:e},void 0,void 0)),i.push(` `)}),i.push(" "),i}};(0,r.createWidget)("widget-dropdown-body",u);let d={tagName:"div",init(e){if(!e)throw"A widget-dropdown expects attributes.";if(!e.id)throw"A widget-dropdown expects a unique `id` attribute.";if(!e.label&&!e.translatedLabel)throw"A widget-dropdown expects at least a `label` or `translatedLabel`"},buildKey:e=>e.id,buildAttributes:e=>({id:e.id}),defaultState:e=>({opened:!1,disabled:e.options&&e.options.disabled||!1}),buildClasses(e){let t=["widget-dropdown"];return t.push(this.state.opened?"opened":"closed"),t.push(this.state.disabled?"disabled":""),t.join(" ")+" "+(e.class||"")},transform(e){return{options:e.options||{},isDropdownVisible:!this.state.disabled&&this.state.opened}},hideBody(){this.state.opened=!1},_onChange(e){!e.disabled&&(this.state.opened=!1,this.attrs.onChange&&("string"==typeof this.attrs.onChange?this.sendWidgetAction(this.attrs.onChange,e):this.attrs.onChange(e)))},destroy(){this._popper&&(this._popper.destroy(),this._popper=null)},willRerenderWidget(){this._popper&&this._popper.destroy()},didRenderWidget(){this.state.opened&&(0,s.schedule)("afterRender",()=>{let e=document.querySelector(`#${this.attrs.id} .widget-dropdown-header`);if(!e)return;let t=document.querySelector(`#${this.attrs.id} .widget-dropdown-body`);t&&(this._popper=(0,n.n4)(e,t,{strategy:"absolute",placement:"bottom-start",modifiers:[{name:"preventOverflow"},{name:"offset",options:{offset:[0,5]}}]}))})},_onTrigger(){this.state.opened=!this.state.opened},template:function(e,t){var i=[];return i.push(` `),e.content&&(i.push(" "),i.push(this.attach("widget-dropdown-header",{icon:e.icon,label:e.label,translatedLabel:e.translatedLabel,class:this.transformed.options.headerClass,caret:this.transformed.options.caret},void 0,void 0)),i.push(` `),this.transformed.isDropdownVisible&&(i.push(" "),i.push(this.attach("widget-dropdown-body",{id:e.id,class:this.transformed.options.bodyClass,content:e.content},void 0,void 0)),i.push(` `))),i.push(" "),i}},c=(0,r.createWidget)("widget-dropdown",d)},17342:(e,t,i)=>{"use strict";i.r(t),i.d(t,{getRenderDirector:()=>l});var s=i(11118),n=i(46568),r=i(94769),a=i(63496);let o={ReviewableFlaggedPost:n.default,ReviewableQueuedPost:r.default,ReviewableUser:a.default};function l(e,t,i,n,r){return new(o[e]||s.default)({reviewable:t,currentUser:i,siteSettings:n,site:r})}},17343:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(18891),n=i(36376),r=i(26962),a=i(77598);class o extends s.default{static #e=(()=>dt7948.g(this.prototype,"group",[s.inject]))();#tJ=(()=>void dt7948.i(this,"group"))();static #t=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#ti=(()=>void dt7948.i(this,"application"))();loading=!1;offset=0;filters=(()=>n.default.create())();filterParams(e,t,i,s){return{action:e,acting_user:t,target_user:i,subject:s}}static #r=(()=>dt7948.n(this.prototype,"filterParams",[(0,a.default)("filters.action","filters.acting_user","filters.target_user","filters.subject")]))();_refreshModel(){this.get("group.model").findLogs(0,this.filterParams).then(e=>{this.set("offset",0),this.model.setProperties({logs:e.logs,all_loaded:e.all_loaded})})}static #a=(()=>dt7948.n(this.prototype,"_refreshModel",[(0,r.observes)("filters.action","filters.acting_user","filters.target_user","filters.subject")]))();reset(){this.setProperties({offset:0,filters:n.default.create()})}loadMore(){this.get("model.all_loaded")||(this.set("loading",!0),this.get("group.model").findLogs(this.offset+1,this.filterParams).then(e=>{e.logs.forEach(e=>this.get("model.logs").addObject(e)),this.incrementProperty("offset"),this.set("model.all_loaded",e.all_loaded)}).finally(()=>this.set("loading",!1)))}static #d=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();clearFilter(e){this.set(`filters.${e}`,"")}static #g=(()=>dt7948.n(this.prototype,"clearFilter",[n.action]))()}},17349:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(93810),n=i(6809),r=i(25164),a=i(14547),o=i(89601),l=i(80947),u=i(77014),d=i(20936),c=i(17505),p=i(675),h=i(29421),m=i(77598),g=i(60110);let f=dt7948.c(class extends s.default{anyLogos(){return this.categories.any(e=>!(0,r.isEmpty)(e.get("uploaded_logo.url")))}static #e=(()=>dt7948.n(this.prototype,"anyLogos",[(0,m.default)("categories.[].uploaded_logo.url")]))();categoryName(e){return(0,n.htmlSafe)((0,p.categoryBadgeHTML)(e,{allowUncategorized:!0,link:!1}))}static #t=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"lEzqurV+",block:'[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["categories"]]],null]],null],null,[[[1," "],[10,0],[15,"data-notification-level",[30,1,["notificationLevelString"]]],[15,5,[28,[32,0],[[30,1,["color"]]],null]],[15,0,[29,["category category-box category-box-",[30,1,["slug"]],"\\n ",[52,[30,1,["isMuted"]],"muted"]]]],[12],[1,"\\n "],[10,0],[14,0,"category-box-inner"],[12],[1,"\\n "],[10,0],[14,0,"category-box-heading"],[12],[1,"\\n "],[10,3],[14,0,"parent-box-link"],[15,6,[30,1,["url"]]],[12],[1,"\\n"],[41,[51,[30,1,["isMuted"]]],[[[41,[30,1,["uploaded_logo","url"]],[[[1," "],[8,[32,1],null,[["@category"],[[30,1]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[10,"h3"],[12],[1,"\\n "],[8,[32,2],null,[["@category"],[[30,1]]],null],[1,"\\n "],[1,[28,[30,0,["categoryName"]],[[30,1]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,1,["isMuted"]]],[[[1," "],[10,0],[14,0,"featured-topics"],[12],[1,"\\n"],[41,[30,1,["topics"]],[[[1," "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["topics"]]],null]],null],null,[[[1," "],[8,[32,3],null,[["@topic"],[[30,2]]],null],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs"],["category-box-below-each-category",[28,[32,5],null,[["category"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "]],["c","topic"],false,["each","-track-array","if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/categories-boxes-with-topics.js",scope:()=>[c.default,l.default,u.default,o.default,d.default,h.default],isStrictMode:!0}),this))()},[(0,a.classNameBindings)(":category-boxes-with-topics","anyLogos:with-logos:no-logos"),(0,a.tagName)("section")])},17423:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function i(e,t,i,s){return t?n(i)[0]:s?n(i)[1]:n(i)[2]}function s(e){return e%10==0||e>10&&e<20}function n(e){return t[e].split("_")}function r(e,t,r,a){var o=e+" ";return 1===e?o+i(e,t,r[0],a):t?o+(s(e)?n(r)[1]:n(r)[0]):a?o+n(r)[1]:o+(s(e)?n(r)[1]:n(r)[2])}return e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,i,s){return t?"kelios sekundės":s?"kelių sekundžių":"kelias sekundes"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})})},17459:(e,t,i)=>{"use strict";function s(e){return e&&e.length>0?"value-entered":""}i.r(t),i.d(t,{default:()=>s})},17474:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(43402),n=i(31745),r=i(20936),a=i(29421),o=i(93810),l=i(60110),u=i(29681);let d=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"62CTi8AW",block:'[[[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[8,[32,0],null,null,null],[1,"\\n"],[41,[30,1,["category"]],[[[1," "],[8,[32,1],null,[["@category","@readOnly"],[[30,1,["category"]],[30,2]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,2],null,[["@name","@connectorTagName","@outletArgs"],["discovery-list-controls-above","div",[28,[32,3],null,[["category","tag","toggleTagInfo"],[[30,1,["category"]],[30,1,["tag"]],[30,3]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"list-controls"],[12],[1,"\\n "],[8,[32,2],null,[["@name","@connectorTagName","@outletArgs"],["discovery-navigation-bar-above","div",[28,[32,3],null,[["category","tag"],[[30,1,["category"]],[30,1,["tag"]]]]]]],null],[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[18,4,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,2],null,[["@name","@connectorTagName","@outletArgs"],["discovery-above","div",[28,[32,3],null,[["category","tag"],[[30,1,["category"]],[30,1,["tag"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"container list-container"],[12],[1,"\\n "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,0],[14,0,"full-width"],[12],[1,"\\n "],[10,0],[14,1,"header-list-area"],[12],[1,"\\n "],[18,5,null],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["header-list-container-bottom",[28,[32,3],null,[["category","tag"],[[30,1,["category"]],[30,1,["tag"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,0],[14,0,"full-width"],[12],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["before-list-area",[28,[32,3],null,[["category","tag"],[[30,1,["category"]],[30,1,["tag"]]]]]]],null],[1,"\\n "],[10,0],[14,1,"list-area"],[12],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs","@defaultGlimmer"],["discovery-list-area",[28,[32,3],null,[["category","tag","model"],[[30,1,["category"]],[30,1,["tag"]],[30,1]]]],true]],[["default"],[[[[1,"\\n "],[8,[32,2],null,[["@name","@connectorTagName","@outletArgs"],["discovery-list-container-top","span",[28,[32,3],null,[["category","tag"],[[30,1,["category"]],[30,1,["tag"]]]]]]],null],[1,"\\n "],[18,6,null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,2],null,[["@name","@connectorTagName","@outletArgs"],["discovery-below","div",[28,[32,3],null,[["category","tag"],[[30,1,["category"]],[30,1,["tag"]]]]]]],null],[1,"\\n"]],["@model","@createTopicDisabled","@toggleTagInfo","&navigation","&header","&list"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/discovery/layout.js",scope:()=>[n.default,s.default,r.default,a.default],isStrictMode:!0}),(0,u.default)(void 0,"layout:Layout"))},17484:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(83770),r=i(951),a=i(73743),o=i(93810),l=i(60110);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();get animationClass(){return this.site.mobileView||this.site.narrowDesktopView?"slide-in":"drop-down"}static #t=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"BNX/9Ged",block:'[[[1,"\\n "],[8,[32,0],null,[["@animationClass","@panelClass"],[[30,0,["animationClass"]],"search-menu-panel"]],[["default"],[[[[1,"\\n "],[8,[32,1],null,[["@onClose","@inlineResults","@autofocusInput","@location","@searchInputId"],[[30,1],true,true,"header",[30,2]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeSearchMenu","@searchInputId"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu-panel.js",scope:()=>[r.default,a.default],isStrictMode:!0}),this))()}},17490:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AutocompleteHandler:()=>r,PlaceholderHandler:()=>n,TextManipulation:()=>s});let s={},n={},r={}},17505:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(6809);function n(e){return(0,s.htmlSafe)(`--category-badge-color: #${e};`)}},17510:(e,t,i)=>{"use strict";async function s(e,t){if(!t)return await createImageBitmap(e);{let t=URL.createObjectURL(e);return await function(e){return new Promise((t,i)=>{let s=new Image;s.onload=()=>{URL.revokeObjectURL(e),t(s)},s.onerror=t=>{URL.revokeObjectURL(e),i(t)},s.src=e})}(t)}}async function n(e,t){let i=function(e,t){let i=e.width,s=e.height,n=new OffscreenCanvas(i,s);if(t&&i*s>0x1000000){let e=Math.min(4096/i,4096/s);n.width=Math.floor(i*e),n.height=Math.floor(s*e)}let r=n.getContext("2d");if(!r)throw"Could not create canvas context";r.drawImage(e,0,0,i,s,0,0,n.width,n.height);let a=r.getImageData(0,0,n.width,n.height);return t&&(n.width=1,n.height=1,r&&r.clearRect(0,0,1,1)),a}(await s(e,t),t);if(function(e,t){if(!/(\.|\/)(png|webp)$/i.test(e))return!1;for(let e=0;en})},17582:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(93810),n=i(42371),r=i(34229),a=i(14547),o=i(20936),l=i(65110),u=i(29421),d=i(77598),c=i(1933),p=i(35192),h=i(79938),m=i(56571),g=i(60110);let f=dt7948.c(class extends s.default{editingCategory=!1;editingCategoryTab=null;static #e=(()=>dt7948.g(this.prototype,"parentCategories",[(0,r.filter)("categories",function(e){return(0,c.default)("The parentCategories property of the bread-crumbs component is deprecated",{id:"discourse.breadcrumbs.parentCategories"}),(e.id!==this.site.get("uncategorized_category_id")||!!this.siteSettings.allow_uncategorized_topics)&&!e.get("parentCategory")})]))();#sa=(()=>void dt7948.i(this,"parentCategories"))();categoryBreadcrumbs(e,t,i){let s=e?.ancestors||[],n=[void 0,...s],r=[...s,void 0];return n.map((e,t)=>[e,r[t]]).map(e=>{let[s,n]=e,r=t.filter(e=>e.get("parentCategory.id")===(s&&s.id));return{category:n,parentCategory:s,options:r,isSubcategory:!!s,noSubcategories:!n&&i,hasOptions:!s||s.has_children}})}static #t=(()=>dt7948.n(this.prototype,"categoryBreadcrumbs",[(0,d.default)("category","categories","noSubcategories")]))();showTagsSection(e,t){return e&&!t}static #r=(()=>dt7948.n(this.prototype,"showTagsSection",[(0,d.default)("siteSettings.tagging_enabled","editingCategory")]))();parentCategory(e){return(0,c.default)("The parentCategory property of the bread-crumbs component is deprecated",{id:"discourse.breadcrumbs.parentCategory"}),e&&e.parentCategory}static #a=(()=>dt7948.n(this.prototype,"parentCategory",[(0,d.default)("category")]))();parentCategoriesSorted(e){return((0,c.default)("The parentCategoriesSorted property of the bread-crumbs component is deprecated",{id:"discourse.breadcrumbs.parentCategoriesSorted"}),this.siteSettings.fixed_category_positions)?e:e.sortBy("totalTopicCount").reverse()}static #d=(()=>dt7948.n(this.prototype,"parentCategoriesSorted",[(0,d.default)("parentCategories")]))();hidden(e){return this.site.mobileView&&!e}static #g=(()=>dt7948.n(this.prototype,"hidden",[(0,d.default)("category")]))();firstCategory(e,t){return(0,c.default)("The firstCategory property of the bread-crumbs component is deprecated",{id:"discourse.breadcrumbs.firstCategory"}),t||e}static #T=(()=>dt7948.n(this.prototype,"firstCategory",[(0,d.default)("category","parentCategory")]))();secondCategory(e,t){return(0,c.default)("The secondCategory property of the bread-crumbs component is deprecated",{id:"discourse.breadcrumbs.secondCategory"}),t&&e}static #C=(()=>dt7948.n(this.prototype,"secondCategory",[(0,d.default)("category","parentCategory")]))();childCategories(e,t){return((0,c.default)("The childCategories property of the bread-crumbs component is deprecated",{id:"discourse.breadcrumbs.childCategories"}),t||!e)?[]:this.categories.filter(t=>t.get("parentCategory")===e)}static #A=(()=>dt7948.n(this.prototype,"childCategories",[(0,d.default)("firstCategory","hideSubcategories")]))();static #D=(()=>(0,s.setComponentTemplate)((0,g.createTemplateFactory)({id:"dtnHhsTj",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["bread-crumbs-left","li",[28,[32,1],null,[["tagId","additionalTags","noSubcategories","showTagsSection","currentCategory","categoryBreadcrumbs","editingCategory","editingCategoryTab"],[[30,0,["tag","id"]],[30,0,["additionalTags"]],[30,0,["noSubcategories"]],[30,0,["showTagsSection"]],[30,0,["category"]],[30,0,["categoryBreadcrumbs"]],[30,0,["editingCategory"]],[30,0,["editingCategoryTab"]]]]]]],null],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["categoryBreadcrumbs"]]],null]],null],null,[[[41,[30,1,["hasOptions"]],[[[1," "],[10,"li"],[15,5,[52,[30,1,["category"]],[28,[32,2],[[30,1,["category"]]],null]]],[12],[1,"\\n "],[8,[32,3],null,[["@category","@categories","@tagId","@editingCategory","@editingCategoryTab","@options"],[[30,1,["category"]],[30,1,["options"]],[30,0,["tag","id"]],[30,0,["editingCategory"]],[30,0,["editingCategoryTab"]],[28,[32,4],null,[["parentCategory","subCategory","noSubcategories","autoFilterable","shouldDisplayIcon"],[[30,1,["parentCategory"]],[30,1,["isSubcategory"]],[30,1,["noSubcategories"]],true,false]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[1]],null],[1,"\\n"],[41,[30,0,["showTagsSection"]],[[[41,[30,0,["additionalTags"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,5],null,[["@currentCategory","@mainTag","@additionalTags","@options"],[[30,0,["category"]],[30,0,["tag","id"]],[30,0,["additionalTags"]],[28,[32,4],null,[["categoryId"],[[30,0,["category","id"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,6],null,[["@currentCategory","@noSubcategories","@tagId"],[[30,0,["category"]],[30,0,["noSubcategories"]],[30,0,["tag","id"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]],null],[1,"\\n "],[8,[32,0],null,[["@name","@connectorTagName","@outletArgs"],["bread-crumbs-right","li",[28,[32,1],null,[["tagId","additionalTags","noSubcategories","showTagsSection","currentCategory","categoryBreadcrumbs","editingCategory","editingCategoryTab"],[[30,0,["tag","id"]],[30,0,["additionalTags"]],[30,0,["noSubcategories"]],[30,0,["showTagsSection"]],[30,0,["category"]],[30,0,["categoryBreadcrumbs"]],[30,0,["editingCategory"]],[30,0,["editingCategoryTab"]]]]]]],null],[1,"\\n "]],["breadcrumb"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/bread-crumbs.js",scope:()=>[o.default,u.default,l.default,p.default,n.hash,m.default,h.default],isStrictMode:!0}),this))()},[(0,a.classNameBindings)("hidden:hidden",":category-breadcrumb"),(0,a.tagName)("ol")])},17586:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ID_CONSTRAINT:()=>N,clearCustomLastUnreadUrlCallbacks:()=>H,default:()=>O,loadTopicView:()=>I,mergeTopic:()=>B,movePosts:()=>U,registerCustomLastUnreadUrlCallback:()=>Y});var s=i(77632),n=i(36376),r=i(16668),a=i(34229),o=i(83770),l=i(89120),u=i(78903),d=i(3558),c=i(92161),p=i(85831),h=i(63779),m=i(77598),g=i(1933),f=i(60964),_=i(15330),y=i(30936),b=i(66831),w=i(21847),k=i(37507),T=i(82554),S=i(94611),C=i(58502),A=i(47361),D=i(95163),M=i(46694),x=i(87733),E=i(84630),L=i(41277),P=i(39689);let F=(0,i(89689).A)(i(77632)).cached;function I(e,t){let i=(0,b.deepMerge)({},t),s=`/t/${e.id}`,n=(i.nearPost?`${s}/${i.nearPost}`:s)+".json";return delete i.nearPost,delete i.__type,delete i.store,w.default.getAndRemove(`topic_${e.id}`,()=>(0,d.ajax)(n,{data:i})).then(async t=>(t.categories?.forEach(t=>e.site.updateCategory(t)),e.updateFromJson(t),await O.applyTransformations([e]),t))}let N=/^\d+$/,j=[];class O extends D.default{static NotificationLevel={WATCHING:3,TRACKING:2,REGULAR:1,MUTED:0};static munge(e){return delete e.category,e.bookmarks=e.bookmarks||[],e}static createActionSummary(e){if(e.actions_summary){let t=n.default.create();e.actions_summary=e.actions_summary.map(i=>{i.post=e,i.actionType=M.default.current().postActionTypeById(i.id);let s=C.default.create(i);return t.set(i.actionType.get("name_key"),s),s}),e.set("actionByName",t)}}static update(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};void 0!==t.categoryId&&(t.category_id=t.categoryId,delete t.categoryId),e.get("isPrivateMessage")&&delete t.category_id;let s={...t};return i.fastEdit&&(s.keep_existing_draft=!0),(0,d.ajax)(e.get("url"),{type:"PUT",data:JSON.stringify(s),contentType:"application/json"}).then(i=>{t.title=i.basic_topic.title,t.fancy_title=i.basic_topic.fancy_title,e.is_shared_draft&&(t.destination_category_id=t.category_id,delete t.category_id),e.setProperties(t)})}static create(){let e=super.create.apply(this,arguments);return this.createActionSummary(e),e}static find(e,t){let i=(0,_.default)("/t/")+e;t.nearPost&&(i+=`/${t.nearPost}`);let s={};return t.postsAfter&&(s.posts_after=t.postsAfter),t.postsBefore&&(s.posts_before=t.postsBefore),t.trackVisit&&(s.track_visit=!0),t.userFilters&&t.userFilters.length>0&&(s.username_filters=[],t.userFilters.forEach(function(e){s.username_filters.push(e)})),!0===t.summary&&(s.summary=!0),(0,d.ajax)(`${i}.json`,{data:s})}static changeOwners(e,t){let i=(0,d.ajax)(`/t/${e}/change-owner`,{type:"POST",data:t}).then(e=>{if(e.success)return e;i.reject(Error("error changing ownership of posts"))});return i}static changeTimestamp(e,t){let i=(0,d.ajax)(`/t/${e}/change-timestamp`,{type:"PUT",data:{timestamp:t}}).then(e=>{if(e.success)return e;i.reject(Error("error updating timestamp of topic"))});return i}static bulkOperation(e,t,i,s){let n={topic_ids:e.mapBy("id"),operation:t,tracked:s};return i&&i.silent&&(n.silent=!0),(0,d.ajax)("/topics/bulk",{type:"PUT",data:n})}static bulkOperationByFilter(e,t,i,s){let n={filter:e,operation:t,tracked:s};return i&&(i.categoryId&&(n.category_id=i.categoryId),i.includeSubcategories&&(n.include_subcategories=!0),i.tagName&&(n.tag_name=i.tagName),i.private_message_inbox&&(n.private_message_inbox=i.private_message_inbox,i.group_name&&(n.group_name=i.group_name))),(0,d.ajax)("/topics/bulk",{type:"PUT",data:n})}static resetNew(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{tracked:s,tag:n,topicIds:r}={tracked:!1,tag:null,topicIds:null,...i},a={tracked:s};return e&&(a.category_id=e.id,a.include_subcategories=t),n&&(a.tag_id=n.id),r&&(a.topic_ids=r),i.dismissPosts&&(a.dismiss_posts=i.dismissPosts),i.dismissTopics&&(a.dismiss_topics=i.dismissTopics),i.untrack&&(a.untrack=i.untrack),(0,d.ajax)("/topics/reset-new",{type:"PUT",data:a})}static pmResetNew(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return e.topicIds&&(t.topic_ids=e.topicIds),e.inbox&&(t.inbox=e.inbox,e.groupName&&(t.group_name=e.groupName)),(0,d.ajax)("/topics/pm-reset-new",{type:"PUT",data:t})}static idForSlug(e){return(0,d.ajax)(`/t/id_for/${e}`)}static setSlowMode(e,t,i){let s={seconds:t};return s.enabled_until=i,(0,d.ajax)(`/t/${e}/slow_mode`,{type:"PUT",data:s})}static async applyTransformations(e){await (0,y.applyModelTransformations)("topic",e)}static #e=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #r=(()=>dt7948.g(this.prototype,"deleted_by",[s.tracked]))();#so=(()=>void dt7948.i(this,"deleted_by"))();static #a=(()=>dt7948.g(this.prototype,"deleted_at",[s.tracked]))();#sl=(()=>void dt7948.i(this,"deleted_at"))();message=null;errorLoading=!1;static #d=(()=>dt7948.g(this.prototype,"lastPosterUser",[(0,a.alias)("lastPoster.user")]))();#su=(()=>void dt7948.i(this,"lastPosterUser"))();static #g=(()=>dt7948.g(this.prototype,"lastPosterGroup",[(0,a.alias)("lastPoster.primary_group")]))();#sd=(()=>void dt7948.i(this,"lastPosterGroup"))();static #T=(()=>dt7948.g(this.prototype,"allowedGroups",[(0,a.alias)("details.allowed_groups")]))();#sc=(()=>void dt7948.i(this,"allowedGroups"))();static #C=(()=>dt7948.g(this.prototype,"deleted",[(0,a.notEmpty)("deleted_at")]))();#sp=(()=>void dt7948.i(this,"deleted"))();static #A=(()=>dt7948.g(this.prototype,"printUrl",[(0,p.fmt)("url","%@/print")]))();#sh=(()=>void dt7948.i(this,"printUrl"))();static #D=(()=>dt7948.g(this.prototype,"isPrivateMessage",[(0,a.equal)("archetype","private_message")]))();#sm=(()=>void dt7948.i(this,"isPrivateMessage"))();static #M=(()=>dt7948.g(this.prototype,"isBanner",[(0,a.equal)("archetype","banner")]))();#sg=(()=>void dt7948.i(this,"isBanner"))();static #E=(()=>dt7948.g(this.prototype,"bookmarkCount",[(0,a.alias)("bookmarks.length")]))();#sf=(()=>void dt7948.i(this,"bookmarkCount"))();static #P=(()=>dt7948.g(this.prototype,"isPinnedUncategorized",[(0,a.and)("pinned","category.isUncategorizedCategory")]))();#s_=(()=>void dt7948.i(this,"isPinnedUncategorized"))();static #I=(()=>dt7948.g(this.prototype,"hasExcerpt",[(0,a.notEmpty)("excerpt")]))();#sy=(()=>void dt7948.i(this,"hasExcerpt"))();static #j=(()=>dt7948.g(this.prototype,"readLastPost",[(0,p.propertyEqual)("last_read_post_number","highest_post_number")]))();#sb=(()=>void dt7948.i(this,"readLastPost"))();static #R=(()=>dt7948.g(this.prototype,"canClearPin",[(0,a.and)("pinned","readLastPost")]))();#sv=(()=>void dt7948.i(this,"canClearPin"))();static #B=(()=>dt7948.g(this.prototype,"canEditTags",[(0,a.or)("details.can_edit","details.can_edit_tags")]))();#sw=(()=>void dt7948.i(this,"canEditTags"))();static #H=(()=>dt7948.g(this.prototype,"_details",[s.tracked],function(){return this.store.createRecord("topicDetails",{id:this.id,topic:this})}))();#sk=(()=>void dt7948.i(this,"_details"))();visited(e,t){return e>=t}static #$=(()=>dt7948.n(this.prototype,"visited",[(0,m.default)("last_read_post_number","highest_post_number")]))();creator(e){return e&&e.user}static #V=(()=>dt7948.n(this.prototype,"creator",[(0,m.default)("posters.firstObject")]))();lastPoster(e){if(e&&e.length>0)return e.filter(e=>e.extras?.includes("latest"))[0]||e.firstObject}static #K=(()=>dt7948.n(this.prototype,"lastPoster",[(0,m.default)("posters.[]")]))();featuredUsers(e,t,i){let s=e.length;if(this.isPrivateMessage&&t&&s<5){let i=0;if(s>1){let t=e[s-1];t.extras&&t.extras.includes("latest")&&(i=1)}let n=e.map(e=>e.user&&e.user.id).filter(e=>e);t.some(t=>!n.includes(t.user_id)&&(e.splice(e.length-i,0,t),5===e.length)||!1)}return this.isPrivateMessage&&i>5&&(e.splice(3,1),e.push({moreCount:`+${i-5+1}`})),e}static #J=(()=>dt7948.n(this.prototype,"featuredUsers",[(0,m.default)("posters.[]","participants.[]","allowed_user_count")]))();fancyTitle(e){return(0,T.fancyTitle)(e,this.siteSettings.support_mixed_text_direction)}static #X=(()=>dt7948.n(this.prototype,"fancyTitle",[(0,m.default)("fancy_title")]))();bumpedAt(e,t){return e?new Date(e):t}static #Z=(()=>dt7948.n(this.prototype,"bumpedAt",[(0,m.default)("bumped_at","createdAt")]))();bumpedAtTitle(e,t){let i="YYYY-MM-DDTHH:mm:ss";if(moment(e).isValid()&&moment(t).isValid())return moment(e).format(i)!==moment(t).format(i)?`${(0,L.i18n)("topic.created_at",{date:(0,f.longDate)(t)})} ${(0,L.i18n)("topic.bumped_at",{date:(0,f.longDate)(e)})}`:(0,L.i18n)("topic.created_at",{date:(0,f.longDate)(t)})}static #ee=(()=>dt7948.n(this.prototype,"bumpedAtTitle",[(0,m.default)("bumpedAt","createdAt")]))();createdAt(e){return new Date(e)}static #et=(()=>dt7948.n(this.prototype,"createdAt",[(0,m.default)("created_at")]))();postStream(){return this.store.createRecord("postStream",{id:this.id,topic:this})}static #ei=(()=>dt7948.n(this.prototype,"postStream",[m.default]))();visibleListTags(e){if(!e||!this.siteSettings.suppress_overlapping_tags_in_list)return e;let t=this.title.toLowerCase(),i=[];return e.forEach(function(e){t.includes(e.toLowerCase())||i.push(e)}),i}static #es=(()=>dt7948.n(this.prototype,"visibleListTags",[(0,m.default)("tags")]))();get relatedMessages(){return this.get("related_messages")?.map(e=>this.store.createRecord("topic",e))}static #en=(()=>dt7948.n(this.prototype,"relatedMessages",[F,r.dependentKeyCompat]))();get suggestedTopics(){return this.get("suggested_topics")?.map(e=>this.store.createRecord("topic",e))}static #er=(()=>dt7948.n(this.prototype,"suggestedTopics",[F,r.dependentKeyCompat]))();replyCount(e){return e-1}static #ea=(()=>dt7948.n(this.prototype,"replyCount",[(0,m.default)("posts_count")]))();get details(){return this._details}set details(e){if(e instanceof x.default){this._details=e;return}this._details=this.store.createRecord("topicDetails",e)}invisible(e){return void 0!==e?!e:void 0}static #eo=(()=>dt7948.n(this.prototype,"invisible",[(0,m.default)("visible")]))();visibilityReasonTranslated(){if(this.visibility_reason_id&&this.visibility_reason_id!==h.TOPIC_VISIBILITY_REASONS.unknown){let e=Object.keys(h.TOPIC_VISIBILITY_REASONS).find(e=>h.TOPIC_VISIBILITY_REASONS[e]===this.visibility_reason_id);return(0,L.i18n)(`topic_statuses.visibility_reasons.${e}`)}return""}static #el=(()=>dt7948.n(this.prototype,"visibilityReasonTranslated",[(0,m.default)("visibility_reason_id")]))();searchContext(e){return{type:"topic",id:e}}static #eu=(()=>dt7948.n(this.prototype,"searchContext",[(0,m.default)("id")]))();get category(){return P.default.findById(this.category_id)}static #ed=(()=>dt7948.n(this.prototype,"category",[(0,n.computed)("category_id","site.categoriesById.[]")]))();set category(e){this.set("category_id",e?.id)}shareUrl(e){return(0,u.resolveShareUrl)(e,this.currentUser)}static #ec=(()=>dt7948.n(this.prototype,"shareUrl",[(0,m.default)("url")]))();url(e,t){return 0===(t=t||"").trim().length&&(t="topic"),`${(0,_.default)("/t/")}${t}/${e}`}static #ep=(()=>dt7948.n(this.prototype,"url",[(0,m.default)("id","slug")]))();urlForPostNumber(e){let t=this.url;return e>0&&(t+=`/${e}`),t}totalUnread(e,t){return(0,g.default)("The totalUnread property of the topic model is deprecated",{id:"discourse.topic.totalUnread"}),e||t}static #eh=(()=>dt7948.n(this.prototype,"totalUnread",[(0,m.default)("unread_posts","new_posts")]))();displayNewPosts(e,t){return(0,g.default)("The displayNewPosts property of the topic model is deprecated",{id:"discourse.topic.totalUnread"}),e||t}static #em=(()=>dt7948.n(this.prototype,"displayNewPosts",[(0,m.default)("unread_posts","new_posts")]))();lastReadUrl(e){return this.urlForPostNumber(e)}static #eg=(()=>dt7948.n(this.prototype,"lastReadUrl",[(0,m.default)("last_read_post_number","url")]))();lastUnreadUrl(e,t){let i=null;if(j.some(e=>{let t=e(this);if(t)return i=t,!0}),i)return i;if(e>=t&&this.get("category.navigate_to_first_post_after_read"))return this.urlForPostNumber(1);let s=e+1;return s>t&&(s=t),this.urlForPostNumber(s)}static #ef=(()=>dt7948.n(this.prototype,"lastUnreadUrl",[(0,m.default)("last_read_post_number","highest_post_number","url")]))();lastPostUrl(e){return this.urlForPostNumber(e)}static #e_=(()=>dt7948.n(this.prototype,"lastPostUrl",[(0,m.default)("highest_post_number","url")]))();firstPostUrl(){return this.urlForPostNumber(1)}static #ey=(()=>dt7948.n(this.prototype,"firstPostUrl",[(0,m.default)("url")]))();summaryUrl(){let e=this.has_summary?"?filter=summary":"";return`${this.urlForPostNumber(1)}${e}`}static #eb=(()=>dt7948.n(this.prototype,"summaryUrl",[(0,m.default)("url")]))();lastPosterUrl(e){return(0,S.userPath)(e)}static #ev=(()=>dt7948.n(this.prototype,"lastPosterUrl",[(0,m.default)("last_poster.username")]))();viewsHeat(e){return e>=this.siteSettings.topic_views_heat_high?"heatmap-high":e>=this.siteSettings.topic_views_heat_medium?"heatmap-med":e>=this.siteSettings.topic_views_heat_low?"heatmap-low":null}static #ew=(()=>dt7948.n(this.prototype,"viewsHeat",[(0,m.default)("views")]))();archetypeObject(e){return M.default.currentProp("archetypes").findBy("id",e)}static #ek=(()=>dt7948.n(this.prototype,"archetypeObject",[(0,m.default)("archetype")]))();toggleStatus(e){return this.toggleProperty(e),this.saveStatus(e,!!this.get(e))}saveStatus(e,t,i){return"closed"===e&&this.incrementProperty("posts_count"),(0,d.ajax)(`${this.url}/status`,{type:"PUT",data:{status:e,enabled:!!t,until:i}})}makeBanner(){return(0,d.ajax)(`/t/${this.id}/make-banner`,{type:"PUT"}).then(()=>this.set("archetype","banner"))}removeBanner(){return(0,d.ajax)(`/t/${this.id}/remove-banner`,{type:"PUT"}).then(()=>this.set("archetype","regular"))}afterPostBookmarked(e){e.set("bookmarked",!0)}firstPost(){let e=this.postStream,t=e.get("posts.firstObject");if(t&&1===t.post_number)return l.Promise.resolve(t);let i=e.findPostIdForPostNumber(1);return i?this.postById(i):this.postStream.loadPostByPostNumber(1)}postById(e){let t=this.postStream.findLoadedPost(e);return t?l.Promise.resolve(t):this.postStream.loadPost(e)}deleteBookmarks(){return(0,d.ajax)(`/t/${this.id}/remove_bookmarks`,{type:"PUT"})}removeBookmark(e){this.bookmarks||this.set("bookmarks",[]),this.set("bookmarks",this.bookmarks.filter(t=>(t.id===e&&"Topic"===t.bookmarkable_type&&this.appEvents.trigger("bookmarks:changed",null,t.attachedTo()),t.id!==e))),this.set("bookmarked",this.bookmarks.length),this.incrementProperty("bookmarksWereChanged")}clearBookmarks(){this.toggleProperty("bookmarked");let e=this.bookmarks.filterBy("bookmarkable_type","Post").mapBy("bookmarkable_id");return e.forEach(e=>{let t=this.postStream.findLoadedPost(e);t&&t.clearBookmark()}),this.set("bookmarks",[]),e}createGroupInvite(e){return(0,d.ajax)(`/t/${this.id}/invite-group`,{type:"POST",data:{group:e}})}createInvite(e,t,i){return(0,d.ajax)(`/t/${this.id}/invite`,{type:"POST",data:{user:e,group_ids:t,custom_message:i}})}generateInviteLink(e,t,i){return(0,d.ajax)("/invites",{type:"POST",data:{email:e,skip_email:!0,group_ids:t,topic_id:i}})}destroy(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,d.ajax)(`/t/${this.id}`,{data:{context:window.location.pathname,...t},type:"DELETE"}).then(()=>{this.setProperties({deleted_at:new Date,deleted_by:e,"details.can_delete":!1,"details.can_recover":!0,"details.can_permanently_delete":this.siteSettings.can_permanently_delete&&e.admin}),!t.force_destroy&&(e.staff||e.groups.some(e=>this.category?.moderating_group_ids?.includes(e.id))||e.can_delete_all_posts_and_topics)||S.default.redirectTo("/")}).catch(c.popupAjaxError)}recover(){return this.setProperties({deleted_at:null,deleted_by:null,"details.can_delete":!0,"details.can_recover":!1}),(0,d.ajax)(`/t/${this.id}/recover`,{data:{context:window.location.pathname},type:"PUT"})}updateFromJson(e){let t=Object.keys(e);return!e.view_hidden&&(this.details.updateFromJson(e.details),t.removeObjects(["details","post_stream"]),e.published_page&&this.set("publishedPage",this.store.createRecord("published-page",e.published_page))),t.forEach(t=>this.set(t,e[t])),this.bookmarks.length&&this.set("bookmarks",this.bookmarks.map(e=>A.default.create(e))),this}reload(){return(0,d.ajax)(`/t/${this.id}`,{type:"GET"}).then(e=>this.updateFromJson(e))}clearPin(){this.setProperties({pinned:!1,unpinned:!0}),(0,d.ajax)(`/t/${this.id}/clear-pin`,{type:"PUT"}).then(null,()=>{this.setProperties({pinned:!0,unpinned:!1})})}togglePinnedForUser(){this.pinned?this.clearPin():this.rePin()}rePin(){this.setProperties({pinned:!0,unpinned:!1}),(0,d.ajax)(`/t/${this.id}/re-pin`,{type:"PUT"}).then(null,()=>{this.setProperties({pinned:!0,unpinned:!1})})}escapedExcerpt(e){return(0,k.emojiUnescape)(e)}static #eT=(()=>dt7948.n(this.prototype,"escapedExcerpt",[(0,m.default)("excerpt")]))();excerptTruncated(e){return e&&"…"===e.slice(-8)}static #eS=(()=>dt7948.n(this.prototype,"excerptTruncated",[(0,m.default)("excerpt")]))();archiveMessage(){this.set("archiving",!0);let e=(0,d.ajax)(`/t/${this.id}/archive-message`,{type:"PUT"});return e.then(e=>{this.set("message_archived",!0),e&&e.group_name&&this.set("inboxGroupName",e.group_name)}).finally(()=>this.set("archiving",!1)),e}moveToInbox(){this.set("archiving",!0);let e=(0,d.ajax)(`/t/${this.id}/move-to-inbox`,{type:"PUT"});return e.then(e=>{this.set("message_archived",!1),e&&e.group_name&&this.set("inboxGroupName",e.group_name)}).finally(()=>this.set("archiving",!1)),e}publish(){return(0,d.ajax)(`/t/${this.id}/publish`,{type:"PUT",data:this.getProperties("destination_category_id")}).then(()=>this.set("destination_category_id",null)).catch(c.popupAjaxError)}updateDestinationCategory(e){return this.set("destination_category_id",e),(0,d.ajax)(`/t/${this.id}/shared-draft`,{type:"PUT",data:{category_id:e}})}convertTopic(e,t){let i={type:"PUT"};return t&&t.categoryId&&(i.data={category_id:t.categoryId}),(0,d.ajax)(`/t/${this.id}/convert-topic/${e}`,i)}resetBumpDate(){return(0,d.ajax)(`/t/${this.id}/reset-bump-date`,{type:"PUT"}).catch(c.popupAjaxError)}updateTags(e){return e&&0!==e.length||(e=[""]),(0,d.ajax)(`/t/${this.id}/tags`,{type:"PUT",data:{tags:e}})}}function R(e){if(e.success)return(0,E.flushMap)(),e;throw Error("error moving posts topic")}function U(e,t){return(0,d.ajax)(`/t/${e}/move-posts`,{type:"POST",data:t}).then(R)}function B(e,t){return(0,d.ajax)(`/t/${e}/merge-topic`,{type:"POST",data:t}).then(R)}function Y(e){j.push(e)}function H(){j.clear()}},17634:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(22908),n=i(83770);class r extends s.default{static #e=(()=>dt7948.g(this.prototype,"elementClasses",[n.service]))();#it=(()=>void dt7948.i(this,"elementClasses"))();compute(e){let[...t]=e;this.elementClasses.registerClasses(this,document.documentElement,t.flatMap(e=>e?.split(" ")).filter(Boolean))}}},17664:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(93810),n=i(93558),r=i(36376),a=i(26962),o=i(44612),l=i(86483),u=i(64760),d=i(80212),c=i(41277),p=i(60110);class h extends s.default{action="showCreateAccount";neverShow(e){e?.preventDefault(),this.keyValueStore.setItem("anon-cta-never","t"),this.session.set("showSignupCta",!1)}static #e=(()=>dt7948.n(this.prototype,"neverShow",[r.action]))();hideForSession(){this.session.set("hideSignupCta",!0),this.keyValueStore.setItem("anon-cta-hidden",Date.now()),(0,d.default)(()=>this.session.set("showSignupCta",!1),2e4)}static #t=(()=>dt7948.n(this.prototype,"hideForSession",[r.action]))();_turnOffIfHidden(){this.session.get("hideSignupCta")&&this.session.set("showSignupCta",!1)}static #r=(()=>dt7948.n(this.prototype,"_turnOffIfHidden",[(0,a.on)("willDestroyElement")]))();static #a=(()=>(0,s.setComponentTemplate)((0,p.createTemplateFactory)({id:"FpwifOM1",block:'[[[1,"\\n "],[10,0],[14,0,"signup-cta alert alert-info"],[12],[1,"\\n"],[41,[30,0,["session","hideSignupCta"]],[[[1," "],[10,"h3"],[12],[1,"\\n "],[1,[28,[32,0],["signup_cta.hidden_for_session"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"h3"],[12],[1,[28,[32,1],[[28,[32,0],["signup_cta.intro"],null]],null]],[13],[1,"\\n "],[10,2],[12],[1,[28,[32,1],[[28,[32,0],["signup_cta.value_prop"],null]],null]],[13],[1,"\\n\\n "],[10,0],[14,0,"buttons"],[12],[1,"\\n "],[8,[32,2],[[24,0,"btn-primary"]],[["@action","@label","@icon"],[[28,[32,3],["showCreateAccount"],null],"signup_cta.sign_up","user"]],null],[1,"\\n "],[8,[32,2],[[24,0,"no-icon"]],[["@action","@label"],[[30,0,["hideForSession"]],"signup_cta.hide_session"]],null],[1,"\\n "],[11,3],[24,6,""],[4,[32,4],["click",[30,0,["neverShow"]]],null],[12],[1,[28,[32,0],["signup_cta.hide_forever"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/signup-cta.js",scope:()=>[c.i18n,l.default,o.default,u.default,n.on],isStrictMode:!0}),this))()}},17695:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})})},17713:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(42371),r=i(83770),a=i(13446),o=i(46476),l=i.n(o),u=i(30544),d=i.n(u),c=i(52954),p=i(93810),h=i(60110);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[r.service]))();#s=(()=>void dt7948.i(this,"site"))();static #t=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"C/kPxXsc",block:'[[[1,"\\n"],[41,[30,1,["expanded"]],[[[41,[28,[32,0],[[30,0,["site","mobileView"]],[30,1,["options","modalForMobile"]]],null],[[[1," "],[8,[32,1],[[16,"data-identifier",[30,1,["options","identifier"]]],[24,"data-content",""],[16,0,[28,[32,2],["fk-d-menu-modal",[28,[32,3],[[30,1,["options","identifier"]],"-content"],null]],null]]],[["@closeModal","@hideHeader"],[[30,1,["close"]],true]],[["default"],[[[[1,"\\n"],[41,[30,1,["options","component"]],[[[1," "],[8,[30,1,["options","component"]],null,[["@data","@close"],[[30,1,["options","data"]],[30,1,["close"]]]],null],[1,"\\n"]],[]],[[[1," "],[1,[30,1,["options","content"]]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,4],null,[["@instance","@trapTab","@mainClass","@innerClass","@role","@portalOutletElement","@inline"],[[30,1],[30,2],[30,3],[30,4],[30,5],[30,1,["portalOutletElement"]],[30,6]]],[["default"],[[[[1,"\\n"],[41,[30,1,["options","component"]],[[[1," "],[8,[30,1,["options","component"]],null,[["@data","@close"],[[30,1,["options","data"]],[30,1,["close"]]]],null],[1,"\\n"]],[]],[[[1," "],[1,[30,1,["options","content"]]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]]]],[]],null],[1," "]],["@instance","@trapTab","@mainClass","@innerClass","@role","@inline"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-inline-float.js",scope:()=>[a.and,l(),d(),n.concat,c.default],isStrictMode:!0}),this))()}},17789:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(12383);let n=class extends s.default{get label(){return`${this.username} @${this.notification.data.group_name}`}get labelClasses(){return["mention-group","notify"]}}},17804:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],i=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];return e.defineLocale("ur",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,i){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})})},17808:(e,t,i)=>{"use strict";async function s(){return await i.e(495).then(i.bind(i,35495))}i.r(t),i.d(t,{default:()=>s})},17835:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(93810),n=i(36376),r=i(34229),a=i(83770),o=i(13446),l=i(44612),u=i(27159),d=i(92161),c=i(77598),p=i(41277),h=i(60110);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #t=(()=>dt7948.g(this.prototype,"groupAutomaticMembersDialog",[a.service]))();#sT=(()=>void dt7948.i(this,"groupAutomaticMembersDialog"))();saving=null;disabled=!1;updateExistingUsers=null;static #r=(()=>dt7948.g(this.prototype,"hasFlair",[(0,r.or)("model.flair_icon","model.flair_upload_id")]))();#sS=(()=>void dt7948.i(this,"hasFlair"))();savingText(e){return e?(0,p.i18n)("saving"):(0,p.i18n)("save")}static #a=(()=>dt7948.n(this.prototype,"savingText",[(0,c.default)("saving")]))();privateGroupNameNotice(e,t,i){if(0!==e){if(t)return(0,p.i18n)("admin.groups.manage.alert.primary_group",{group_name:this.model.name});else if(i)return(0,p.i18n)("admin.groups.manage.alert.flair_group",{group_name:this.model.name})}}static #d=(()=>dt7948.n(this.prototype,"privateGroupNameNotice",[(0,c.default)("model.visibility_level","model.primary_group","hasFlair")]))();setUpdateExistingUsers(e){this.updateExistingUsers=e}static #g=(()=>dt7948.n(this.prototype,"setUpdateExistingUsers",[n.action]))();async save(){this.beforeSave&&this.beforeSave(),this.set("saving",!0);let e=this.model;if(!await this.groupAutomaticMembersDialog.showConfirm(e.id,e.automatic_membership_email_domains))return void this.set("saving",!1);let t={};return null!==this.updateExistingUsers&&(t.update_existing_users=this.updateExistingUsers),e.save(t).then(()=>{this.setProperties({saved:!0,updateExistingUsers:null}),this.afterSave&&this.afterSave()}).catch(e=>{let t=e.jqXHR.responseJSON;422===e.jqXHR.status&&t.user_count?this.editGroupNotifications(t):(0,d.popupAjaxError)(e)}).finally(()=>this.set("saving",!1))}static #T=(()=>dt7948.n(this.prototype,"save",[n.action]))();async editGroupNotifications(e){await this.modal.show(u.default,{model:{count:e.user_count,setUpdateExistingUsers:this.setUpdateExistingUsers}}),this.save()}static #C=(()=>dt7948.n(this.prototype,"editGroupNotifications",[n.action]))();static #A=(()=>(0,s.setComponentTemplate)((0,h.createTemplateFactory)({id:"Ri1CHTHy",block:'[[[1,"\\n"],[41,[30,0,["privateGroupNameNotice"]],[[[1," "],[10,0],[14,0,"row"],[12],[1,"\\n "],[10,0],[14,0,"alert alert-warning alert-private-group-name"],[12],[1,"\\n "],[1,[30,0,["privateGroupNameNotice"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"control-group buttons group-manage-save-button"],[12],[1,"\\n "],[8,[32,0],[[24,0,"btn-primary group-manage-save"]],[["@action","@disabled","@translatedLabel"],[[30,0,["save"]],[28,[32,1],[[30,0,["disabled"]],[30,0,["saving"]]],null],[30,0,["savingText"]]]],null],[1,"\\n"],[41,[30,0,["saved"]],[[[1," "],[10,1],[12],[1,[28,[32,2],["saved"],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-manage-save-button.js",scope:()=>[l.default,o.or,p.i18n],isStrictMode:!0}),this))()}},17881:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(21772),n=i(41277);class r extends s.default{titleToken(){return(0,n.i18n)("review.title")}}},17913:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(45682);class n extends s.default{}},17928:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(84893),n=i(46694),r=i(35814),a=i(72818);let o={after:"discourse-bootstrap",initialize(e){let t=e.__container__.lookup("service:site-settings"),i=a.default.current();e.register("service:current-user",i,{instantiate:!1}),this.topicTrackingState=r.default.create({messageBus:e.__container__.lookup("service:message-bus"),siteSettings:t,currentUser:i}),e.register("service:topic-tracking-state",this.topicTrackingState,{instantiate:!1});let o=n.default.current();e.register("service:site",o,{instantiate:!1});let l=s.default.current();e.register("service:session",l,{instantiate:!1}),(0,r.startTracking)(this.topicTrackingState)},teardown(){this.topicTrackingState.willDestroy()}}},18164:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(31862),n=i(26220),r=i(131),a=i(14773),o=i(72818);let l=5e3*!(0,r.isTesting)(),u={initialize(){(0,s.later)(()=>{(0,a.extendThemeCookie)(),(0,n.extendColorSchemeCookies)(),(0,o.extendTextSizeCookie)()},l)}}},18236:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BookmarkFormData:()=>o});var s=i(77632),n=i(54164),r=i(46592),a=i(47361);class o{static #e=(()=>dt7948.g(this.prototype,"selectedDatetime",[s.tracked]))();#sC=(()=>void dt7948.i(this,"selectedDatetime"))();static #t=(()=>dt7948.g(this.prototype,"selectedReminderType",[s.tracked],function(){return r.TIME_SHORTCUT_TYPES.NONE}))();#sA=(()=>void dt7948.i(this,"selectedReminderType"))();static #r=(()=>dt7948.g(this.prototype,"id",[s.tracked]))();#sD=(()=>void dt7948.i(this,"id"))();static #a=(()=>dt7948.g(this.prototype,"reminderAt",[s.tracked]))();#sM=(()=>void dt7948.i(this,"reminderAt"))();static #d=(()=>dt7948.g(this.prototype,"autoDeletePreference",[s.tracked]))();#sx=(()=>void dt7948.i(this,"autoDeletePreference"))();static #g=(()=>dt7948.g(this.prototype,"name",[s.tracked]))();#sE=(()=>void dt7948.i(this,"name"))();static #T=(()=>dt7948.g(this.prototype,"bookmarkableId",[s.tracked]))();#sL=(()=>void dt7948.i(this,"bookmarkableId"))();static #C=(()=>dt7948.g(this.prototype,"bookmarkableType",[s.tracked]))();#sP=(()=>void dt7948.i(this,"bookmarkableType"))();constructor(e){this.id=e.id,this.reminderAt=e.reminder_at,this.name=e.name,this.bookmarkableId=e.bookmarkable_id,this.bookmarkableType=e.bookmarkable_type,this.autoDeletePreference=e.auto_delete_preference??a.AUTO_DELETE_PREFERENCES.CLEAR_REMINDER}get reminderAtISO(){if(this.selectedReminderType===r.TIME_SHORTCUT_TYPES.NONE)return null;if(!this.selectedReminderType||!this.selectedDatetime)if(this.reminderAt)return this.reminderAt.toISOString();else return null;return this.selectedDatetime.toISOString()}get saveData(){return{reminder_at:this.reminderAtISO,name:this.name,id:this.id,auto_delete_preference:this.autoDeletePreference,bookmarkable_id:this.bookmarkableId,bookmarkable_type:this.bookmarkableType}}formattedReminder(e){return(0,n.formattedReminderTime)(this.reminderAt,e)}}},18327:(e,t,i)=>{"use strict";i.r(t),i.d(t,{and:()=>w,bool:()=>h,deprecatingAlias:()=>C,empty:()=>u,equal:()=>g,gt:()=>f,gte:()=>_,lt:()=>y,lte:()=>b,match:()=>m,none:()=>c,not:()=>p,notEmpty:()=>d,oneWay:()=>T,or:()=>k,readOnly:()=>S});var s=i(14675);i(63847);var n=i(12076);i(7950);var r=i(64130);i(71620),i(12003),i(56742),i(5963),i(5840),i(36376);var a=i(89315),o=i(5280);function l(e,t){return function(e){for(var i=arguments.length,n=Array(i>1?i-1:0),r=1;rt})}function _(e,t){return(0,s.c)(e,function(){return(0,s.g)(this,e)>=t})}function y(e,t){return(0,s.c)(e,function(){return(0,s.g)(this,e)e),k=l("or",e=>!e);function T(e){return(0,n.a)(e).oneWay()}function S(e){return(0,n.a)(e).readOnly()}function C(e,t){return(0,s.c)(e,{get(t){return(0,s.g)(this,e)},set(t,i){return(0,r.s)(this,e,i),i}})}},18337:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(29980),n=i(60964),r=i(41277);function a(e,t){let{data:i}=t,a=i.post.link_counts;if(!a?.length)return;let o=new Map;e.querySelectorAll("aside.onebox").forEach(e=>{for(let t=1;t<=6;++t){let i=e.querySelectorAll(`h${t} a[href]`);if(i.length>0)return void o.set(e,i[0])}let t=e.querySelectorAll("header a[href]");t.length>0&&o.set(e,t[0])}),a.forEach(t=>{t.clicks&&!(t.clicks<1)&&e.querySelectorAll("a[href]").forEach(e=>{let i=e.getAttribute("href"),a=i===t.url;if(t.internal&&/^\/uploads\//.test(t.url)&&(a=i.includes(t.url)),t.internal&&/\?/.test(i)&&(a=i.split("?")[0]===t.url),a&&(0,s.isValidLink)(e)){let i=e.closest(".onebox");if(!i||!o.has(i)||o.get(i)===e){e.setAttribute("data-clicks",(0,n.number)(t.clicks));let i=(0,r.i18n)("post.link_clicked",{count:t.clicks}),s=`${e.textContent.trim()} ${i}`;e.setAttribute("aria-label",s)}}})})}},18377:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(93558),r=i(36376),a=i(85703),o=i(37420),l=i(76998),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{mouseDown(e){this.args.preventFocus&&e.preventDefault()}static #e=(()=>dt7948.n(this.prototype,"mouseDown",[r.action]))();get label(){let e=`${(0,l.translateModKey)("ctrl")}+M`;return this.args.state?(0,u.i18n)("composer.switch_to_markdown",{keyboardShortcut:e}):(0,u.i18n)("composer.switch_to_rich_text",{keyboardShortcut:e})}static #t=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"F4vEJDIA",block:'[[[1,"\\n"],[1," "],[11,"button"],[16,0,[28,[32,0],["composer-toggle-switch",[52,[30,1],"--rte","--markdown"]],null]],[24,4,"button"],[24,"role","switch"],[16,"disabled",[30,2]],[16,"aria-checked",[52,[30,1],"true","false"]],[16,"aria-label",[30,0,["label"]]],[16,"title",[30,0,["label"]]],[16,"data-rich-editor",[30,1]],[17,3],[4,[32,1],["mousedown",[30,0,["mouseDown"]]],null],[12],[1,"\\n "],[10,1],[14,0,"composer-toggle-switch__slider"],[12],[1,"\\n "],[10,1],[15,0,[28,[32,0],["composer-toggle-switch__left-icon",[52,[51,[30,1]],"--active"]],null]],[14,"aria-hidden","true"],[12],[1,[28,[32,2],["fab-markdown"],null]],[13],[1,"\\n "],[10,1],[15,0,[28,[32,0],["composer-toggle-switch__right-icon",[52,[30,1],"--active"]],null]],[14,"aria-hidden","true"],[12],[1,[28,[32,2],["a"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@state","@disabled","&attrs"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/composer/toggle-switch.js",scope:()=>[a.default,n.on,o.default],isStrictMode:!0}),this))()}},18429:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>C});var s=i(21044);i(77632);var n=i(42371),r=i(36376),a=i(83770),o=i(6809),l=i(13446),u=i(20936),d=i(20676),c=i(675),p=i(29421),h=i(63779),m=i(15330),g=i(39689),f=i(41277),_=i(609),y=i.n(_),b=i(71100),w=i(80879),k=i(93810),T=i(60110);let S=(0,i(89689).A)(i(77632)).cached;class C extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#i=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #r=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();uncategorizedSiteSettingLink=(()=>(0,m.default)("/admin/site_settings/category/all_results?filter=allow_uncategorized_topics"))();customizeTextContentLink=(()=>(0,m.default)("/admin/customize/site_texts?q=uncategorized"))();get styleTypes(){return Object.keys(h.CATEGORY_STYLE_TYPES).map(e=>({id:e,name:(0,f.i18n)(`category.styles.options.${e}`)}))}get showWarning(){return this.args.category.isUncategorizedCategory}get backgroundColors(){let e=this.site.get("categoriesList");return this.siteSettings.category_colors.split("|").filter(Boolean).map(e=>e.toUpperCase()).concat(e.map(e=>e.color.toUpperCase())).uniq()}static #a=(()=>dt7948.n(this.prototype,"backgroundColors",[S]))();get usedBackgroundColors(){let e=this.site.get("categoriesList"),t=this.args.category.id,i=this.args.category.color;return e.map(e=>t&&i.toUpperCase()===e.color.toUpperCase()?null:e.color.toUpperCase()).compact()}static #d=(()=>dt7948.n(this.prototype,"usedBackgroundColors",[S]))();get parentCategories(){return this.site.get("categoriesList").filter(e=>e.level+1dt7948.n(this.prototype,"parentCategories",[S]))();categoryBadgePreview(e){let t=this.args.category,i=g.default.create({name:e.name||(0,f.i18n)("category.untitled"),color:e.color,id:t.id,text_color:t.text_color,parent_category_id:parseInt(t.get("parent_category_id"),10),read_restricted:t.get("read_restricted")});return(0,c.categoryBadgeHTML)(i,{link:!1,previewColor:!0,styleType:e.style_type,emoji:e.emoji,icon:e.icon})}static #T=(()=>dt7948.n(this.prototype,"categoryBadgePreview",[r.action]))();get subCategories(){return this.args.category.isNew?null:g.default.list().filter(e=>e.get("parent_category_id")===this.args.category.id)}static #C=(()=>dt7948.n(this.prototype,"subCategories",[S]))();get showDescription(){let e=this.args.category;return!e.isUncategorizedCategory&&e.id&&e.topic_url}static #A=(()=>dt7948.n(this.prototype,"showDescription",[S]))();showCategoryTopic(){window.open(this.args.category.get("topic_url"),"_blank").focus()}static #D=(()=>dt7948.n(this.prototype,"showCategoryTopic",[r.action]))();updateColor(e,t){e.set(t.replace("#",""))}static #M=(()=>dt7948.n(this.prototype,"updateColor",[r.action]))();get categoryDescription(){return this.args.category.description?(0,o.htmlSafe)(this.args.category.description):(0,f.i18n)("category.no_description")}get canSelectParentCategory(){return!this.args.category.isUncategorizedCategory}get panelClass(){let e="general"===this.args.selectedTab?"active":"";return`edit-category-tab edit-category-tab-general ${e}`}static #E=(()=>(0,k.setComponentTemplate)((0,T.createTemplateFactory)({id:"BeM79Ee3",block:'[[[1,"\\n "],[10,0],[15,0,[30,0,["panelClass"]]],[12],[1,"\\n"],[41,[30,0,["showWarning"]],[[[1," "],[8,[30,1,["Alert"]],null,[["@type","@icon"],["warning","triangle-exclamation"]],[["default"],[[[[1,"\\n "],[1,[28,[32,0],[[28,[32,1],["category.uncategorized_general_warning"],[["settingLink","customizeLink"],[[30,0,["uncategorizedSiteSettingLink"]],[30,0,["customizeTextContentLink"]]]]]],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["category-name-fields-details",[28,[32,3],null,[["form","category"],[[30,1],[30,2]]]]]],[["default"],[[[[1,"\\n"],[41,[51,[30,2,["isUncategorizedCategory"]]],[[[1," "],[8,[30,1,["Field"]],null,[["@name","@title","@format","@validation"],["name",[28,[32,1],["category.name"],null],"large","required"]],[["default"],[[[[1,"\\n "],[8,[30,3,["Input"]],[[16,"placeholder",[28,[32,1],["category.name_placeholder"],null]],[24,0,"category-name"]],[["@maxlength"],["50"]],null],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@format"],["slug",[28,[32,1],["category.slug"],null],"large"]],[["default"],[[[[1,"\\n "],[8,[30,4,["Input"]],[[16,"placeholder",[28,[32,1],["category.slug_placeholder"],null]]],[["@maxlength"],["255"]],null],[1,"\\n "]],[4]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,0,["canSelectParentCategory"]],[[[1," "],[8,[30,1,["Field"]],[[24,0,"parent-category"]],[["@name","@title","@format"],["parent_category_id",[28,[32,1],["category.parent"],null],"large"]],[["default"],[[[[1,"\\n "],[8,[30,5,["Custom"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@value","@allowSubCategories","@allowRestrictedCategories","@onChange","@options"],[[30,6,["parent_category_id"]],true,true,[30,5,["set"]],[28,[32,5],null,[["allowUncategorized","excludeCategoryId","autoInsertNoneItem","none"],[false,[30,2,["id"]],true,true]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[5]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["subCategories"]],[[[1," "],[8,[30,1,["Container"]],null,[["@title"],[[28,[32,1],["categories.subcategories"],null]]],[["default"],[[[[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["subCategories"]]],null]],null],null,[[[1," "],[1,[28,[32,6],[[30,7]],[["hideParent"],["true"]]]],[1,"\\n"]],[7]],null],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showDescription"]],[[[1," "],[8,[30,1,["Section"]],null,[["@title"],[[28,[32,1],["category.description"],null]]],[["default"],[[[[1,"\\n"],[41,[30,2,["topic_url"]],[[[1," "],[8,[30,1,["Container"]],null,[["@subtitle"],[[30,0,["categoryDescription"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Button"]],[[24,0,"btn-default edit-category-description"]],[["@action","@icon","@label"],[[30,0,["showCategoryTopic"]],"pencil","category.change_in_category_topic"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[8,[30,1,["Section"]],[[24,0,"category-style"]],[["@title"],[[28,[32,1],["category.style"],null]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@format","@validation"],["style_type",[28,[32,1],["category.styles.type"],null],"large","required"]],[["default"],[[[[1,"\\n "],[1,[28,[32,0],[[28,[30,0,["categoryBadgePreview"]],[[30,6]],null]],null]],[1,"\\n "],[8,[30,8,["Select"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["styleTypes"]]],null]],null],null,[[[1," "],[8,[30,9,["Option"]],null,[["@value"],[[30,10,["id"]]]],[["default"],[[[[1,"\\n "],[1,[30,10,["name"]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[10]],null],[1," "]],[9]]]]],[1,"\\n "]],[8]]]]],[1,"\\n\\n"],[41,[28,[32,7],[[30,6,["style_type"]],"emoji"],null],[[[1," "],[8,[30,1,["Field"]],null,[["@name","@title","@format","@validation"],["emoji",[28,[32,1],["category.styles.emoji"],null],"small","required"]],[["default"],[[[[1,"\\n "],[8,[30,11,["Emoji"]],null,null,null],[1,"\\n "]],[11]]]]],[1,"\\n"]],[]],[[[41,[28,[32,7],[[30,6,["style_type"]],"icon"],null],[[[1," "],[8,[30,1,["Field"]],null,[["@name","@title","@format","@validation"],["icon",[28,[32,1],["category.styles.icon"],null],"small","required"]],[["default"],[[[[1,"\\n "],[8,[30,12,["Icon"]],null,null,null],[1,"\\n "]],[12]]]]],[1,"\\n "]],[]],null]],[]]],[1,"\\n "],[8,[30,1,["Field"]],null,[["@name","@title","@format"],["color",[28,[32,1],["category.background_color"],null],"full"]],[["default"],[[[[1,"\\n "],[8,[30,13,["Custom"]],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"category-color-editor"],[12],[1,"\\n "],[10,0],[14,0,"colorpicker-wrapper edit-background-color"],[12],[1,"\\n "],[8,[32,8],null,[["@hexValue","@valid","@ariaLabelledby","@onChangeColor"],[[28,[31,4],[[30,13,["value"]]],null],[30,2,["colorValid"]],"background-color-label",[28,[32,9],[[30,0,["updateColor"]],[30,13]],null]]],null],[1,"\\n "],[8,[32,10],null,[["@colors","@usedColors","@value","@ariaLabel","@onSelectColor"],[[30,0,["backgroundColors"]],[30,0,["usedBackgroundColors"]],[28,[31,4],[[30,13,["value"]]],null],[28,[32,1],["category.predefined_colors"],null],[28,[32,9],[[30,0,["updateColor"]],[30,13]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[13]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["@form","@category","field","field","field","@transientData","s","field","select","styleType","field","field","field"],false,["if","unless","each","-track-array","readonly"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-general.js",scope:()=>[o.htmlSafe,f.i18n,u.default,p.default,b.default,n.hash,d.default,l.eq,y(),n.fn,w.default],isStrictMode:!0}),this))()}},18601:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(44612),n=i(93810),r=i(60110),a=i(29681);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"BaLKAVvX",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-default bulk-select"]],[["@action","@icon"],[[30,1,["toggleBulkSelect"]],"list"]],null],[1,"\\n"]],["@bulkSelectHelper"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/bulk-select-toggle.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"bulk-select-toggle:BulkSelectToggle"))},18667:(e,t,i)=>{"use strict";let s,n,r,a;i.r(t),i.d(t,{getHighestReadCache:()=>h,nextTopicUrl:()=>d,previousTopicUrl:()=>c,resetHighestReadCache:()=>m,setHighestReadCache:()=>p,setTopicId:()=>f,setTopicList:()=>u});var o=i(89120),l=i(88687);function u(e){s=e,s?.topics?.forEach(e=>{if(e.notification_level>=l.NotificationLevels.TRACKING){let t=h(e.id);if(t&&t>=e.last_read_post_number){let i=Math.max(e.highest_post_number-t,0);e.setProperties({unread_posts:i,new_posts:i}),m()}}}),n=null}function d(){return g(1)}function c(){return g(-1)}function p(e,t){r=e,a=t}function h(e){if(e===r)return a}function m(){r=void 0,a=void 0}function g(e){if(!s||!s.topics)return o.Promise.resolve(null);let t=function(){if(n&&s&&s.topics){let e=s.topics.findIndex(e=>e.id===n);if(e>-1)return e}return -1}();-1===t?t=0:t+=e;let i=s.topics[t];return!i&&t>0&&s.more_topics_url&&s.loadMore?s.loadMore().then(()=>g(e)):i?(n=i.id,o.Promise.resolve(i.lastUnreadUrl)):o.Promise.resolve(null)}function f(e){n=e}},18740:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(83770),r=i(95145),a=i(58259),o=i(85703),l=i(93810),u=i(60110);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();get ariaHidden(){return null!==this.args.ariaHidden?this.args.ariaHidden:!this.args.ariaLabel&&(this.args.ariaHidden??!0)}get hideFromAnonUser(){return this.siteSettings.hide_user_profiles_from_public&&!this.currentUser}static #r=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"VUJWj9Sy",block:'[[[1,"\\n "],[8,[32,0],[[17,1]],[["@ariaHidden","@ariaLabel","@href","@user"],[[30,2],[30,3],[30,4],[30,5]]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],[[30,5]],[["extraClasses","imageSize","hideTitle","loading"],[[28,[32,2],[[30,6],[52,[30,0,["hideFromAnonUser"]],"non-clickable"]],null],[30,7],[30,8],[52,[30,9],"lazy"]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@ariaHidden","@ariaLabel","@href","@user","@avatarClasses","@size","@hideTitle","@lazy"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-avatar.js",scope:()=>[r.default,a.default,o.default],isStrictMode:!0}),this))()}},18781:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(83770),r=i(6809),a=i(41277),o=i(93810),l=i(60110);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();get fullKey(){let e=this.args.key;return this.args.suffix&&(e+=this.args.suffix),this.currentUser?.new_new_view_enabled&&"topic_count_new"===e&&(e="topic_count_latest"),e}static #t=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"lROKUEwj",block:'[[[1,"\\n "],[10,1],[12],[1,[28,[32,0],[[28,[32,1],[[30,0,["fullKey"]]],[["count"],[[30,1]]]]],null]],[13],[1,"\\n "]],["@count"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/count-i18n.js",scope:()=>[r.htmlSafe,a.i18n],isStrictMode:!0}),this))()}},18801:(e,t,i)=>{var s=i(8324),n=i(42698);for(var r in(t=e.exports=function(e,t){return new n(t).process(e)}).FilterCSS=n,s)t[r]=s[r];"undefined"!=typeof window&&(window.filterCSS=e.exports)},18875:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(36376);i(7950);var n=i(98116);let r=!1;function a(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t;return t=16*Math.random()|0,("x"===e?t:3&t|8).toString(16)})}class o extends s.default{history;_previousURL;_popstateHandler;rootURL="/";getHash(){return(0,n.getHash)(this.location)}init(){this._super(...arguments);let e=document.querySelector("base"),t="";null!==e&&e.hasAttribute("href")&&(t=e.getAttribute("href")??""),this.baseURL=t,this.location=this.location??window.location,this._popstateHandler=void 0}initState(){let e=this.history??window.history;this.history=e;let{state:t}=e,i=this.formatURL(this.getURL());t&&t.path===i?this._previousURL=this.getURL():this.replaceState(i)}getURL(){let{location:e,rootURL:t,baseURL:i}=this,s=e.pathname;t=t.replace(/\/$/,""),i=i.replace(/\/$/,"");let n=s.replace(RegExp(`^${i}(?=/|$)`),"").replace(RegExp(`^${t}(?=/|$)`),"").replace(/\/\//g,"/");return n+((e.search||"")+this.getHash())}setURL(e){let{state:t}=this.history;e=this.formatURL(e),t&&t.path===e||this.pushState(e)}replaceURL(e){let{state:t}=this.history;e=this.formatURL(e),t&&t.path===e||this.replaceState(e)}pushState(e){let t={path:e,uuid:a()};this.history.pushState(t,"",e),this._previousURL=this.getURL()}replaceState(e){let t={path:e,uuid:a()};this.history.replaceState(t,"",e),this._previousURL=this.getURL()}onUpdateURL(e){this._removeEventListener(),this._popstateHandler=()=>{(r||(r=!0,this.getURL()!==this._previousURL))&&e(this.getURL())},window.addEventListener("popstate",this._popstateHandler)}formatURL(e){let{rootURL:t,baseURL:i}=this;return""!==e?(t=t.replace(/\/$/,""),i=i.replace(/\/$/,"")):"/"===i[0]&&"/"===t[0]&&(i=i.replace(/\/$/,"")),i+t+e}willDestroy(){this._removeEventListener()}_removeEventListener(){this._popstateHandler&&window.removeEventListener("popstate",this._popstateHandler)}}},18891:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ControllerMixin:()=>d,default:()=>c,inject:()=>p});var s=i(23568);i(36376);var n=i(14897),r=i(14675);i(63847),i(7950),i(5963);var a=i(7378);i(71620),i(12003),i(56742),i(5840);var o=i(37349);i(91292),i(69902),i(93660);var l=i(76053);i(78849),i(87079),i(92194),i(71790);let u=(0,a.s)("MODEL"),d=o.default.create(l.default,{isController:!0,concatenatedProperties:["queryParams"],target:null,store:null,init(){this._super(...arguments);let e=(0,s.getOwner)(this);e&&(this.namespace=e.lookup("application:main"),this.target=e.lookup("router:main"))},model:(0,r.c)({get(){return this[u]},set(e,t){return this[u]=t}}),queryParams:null,_qpDelegate:null,_qpChanged(e,t){let i=t.indexOf(".[]"),s=-1===i?t:t.slice(0,i),n=e._qpDelegate,a=(0,r.g)(e,s);n(s,a)}});class c extends n.FrameworkObject.extend(d){}function p(){for(var e=arguments.length,t=Array(e),i=0;i{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(18891);class n extends s.default{static #e=(()=>dt7948.g(this.prototype,"application",[s.inject]))();#ti=(()=>void dt7948.i(this,"application"))()}},18963:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(93558),n=new Map;function r(e){var t=n.get(e);t&&t.destroy()}function a(e){var t=n.get(e);t&&t.update()}var o=null;"undefined"==typeof window?((o=function(e){return e}).destroy=function(e){return e},o.update=function(e){return e}):((o=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!n.has(e)){var t,i=null,s=window.getComputedStyle(e),r=(t=e.value,function(){o({testForHeightReduction:""===t||!e.value.startsWith(t),restoreTextAlign:null}),t=e.value}),a=(function(t){e.removeEventListener("autosize:destroy",a),e.removeEventListener("autosize:update",l),e.removeEventListener("input",r),window.removeEventListener("resize",l),Object.keys(t).forEach(function(i){return e.style[i]=t[i]}),n.delete(e)}).bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a),e.addEventListener("autosize:update",l),e.addEventListener("input",r),window.addEventListener("resize",l),e.style.overflowX="hidden",e.style.wordWrap="break-word",n.set(e,{destroy:a,update:l}),l()}function o(t){var n,r,a=t.restoreTextAlign,l=void 0===a?null:a,u=t.testForHeightReduction,d=s.overflowY;if(0!==e.scrollHeight&&("vertical"===s.resize?e.style.resize="none":"both"===s.resize&&(e.style.resize="horizontal"),(void 0===u||u)&&(n=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return function(){return t.forEach(function(e){var t=e[0],i=e[1];t.style.scrollBehavior="auto",t.scrollTop=i,t.style.scrollBehavior=null})}}(e),e.style.height=""),r="content-box"===s.boxSizing?e.scrollHeight-(parseFloat(s.paddingTop)+parseFloat(s.paddingBottom)):e.scrollHeight+parseFloat(s.borderTopWidth)+parseFloat(s.borderBottomWidth),"none"!==s.maxHeight&&r>parseFloat(s.maxHeight)?("hidden"===s.overflowY&&(e.style.overflow="scroll"),r=parseFloat(s.maxHeight)):"hidden"!==s.overflowY&&(e.style.overflow="hidden"),e.style.height=r+"px",l&&(e.style.textAlign=l),n&&n(),i!==r&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=r),d!==s.overflow&&!l)){var c=s.textAlign;"hidden"===s.overflow&&(e.style.textAlign="start"===c?"end":"start"),o({restoreTextAlign:c,testForHeightReduction:!0})}}function l(){o({testForHeightReduction:!0,restoreTextAlign:null})}}(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},o.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e});var l=o,u=i(2845),d=i(77285),c=i(93810),p=i(60110),h=i(29681);let m=(0,u.modifier)(e=>(l(e),()=>l.destroy(e))),g=(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"k3lthKwc",block:'[[[1,"\\n "],[11,"textarea"],[16,"autocorrect",[30,1]],[16,0,[30,2]],[16,"maxlength",[30,3]],[16,3,[30,4]],[16,"rows",[30,5]],[16,2,[30,6]],[17,7],[4,[32,0],null,null],[4,[32,1],null,null],[4,[52,[30,8],[50,[32,2],2,["input",[30,8]],null]],null,null],[12],[13],[1,"\\n"]],["@autocorrect","@class","@maxlength","@name","@rows","@value","&attrs","@input"],false,["if","modifier"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/expanding-text-area.js",scope:()=>[d.default,m,s.on],isStrictMode:!0}),(0,h.default)(void 0,"expanding-text-area:ExpandingTextArea"))},19070:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(83770),r=i(68499),a=i(12802),o=i(5756),l=i(45801),u=i(25565),d=i(93810),c=i(60110);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"sidebarState",[n.service]))();#tD=(()=>void dt7948.i(this,"sidebarState"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();get shouldDisplay(){return this.sidebarState.currentPanel.displayHeader}static #r=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"SAkKM721",block:'[[[1,"\\n"],[41,[30,0,["shouldDisplay"]],[[[1," "],[10,0],[14,0,"sidebar-panel-header"],[12],[1,"\\n "],[10,0],[14,0,"sidebar-panel-header__row"],[12],[1,"\\n "],[8,[32,0],null,null,null],[1,"\\n "],[8,[32,1],null,[["@sections"],[[30,1]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"sidebar-panel-header__row"],[12],[1,"\\n "],[8,[32,2],null,null,null],[1,"\\n "],[8,[32,3],null,null,null],[1,"\\n "],[13],[1,"\\n "],[8,[32,4],null,[["@sections"],[[30,1]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["@sections"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/panel-header.js",scope:()=>[r.default,u.default,a.default,o.default,l.default],isStrictMode:!0}),this))()}},19100:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DSelectOption:()=>h,NO_VALUE_OPTION:()=>p,default:()=>m});var s=i(21044),n=i(42371),r=i(93558),a=i(36376),o=i(25164),l=i(13446),u=i(41277),d=i(93810),c=i(60110);let p="__NONE__";class h extends s.default{get value(){return(0,o.isNone)(this.args.value)?p:this.args.value}static #e=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"Gd19FDlZ",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,1],[30,2]],null],[[[1," "],[11,"option"],[24,0,"d-select__option --selected"],[16,2,[30,0,["value"]]],[24,"selected",""],[17,3],[12],[1,"\\n "],[18,4,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[11,"option"],[24,0,"d-select__option"],[16,2,[30,0,["value"]]],[17,3],[12],[1,"\\n "],[18,4,null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "]],["@selected","@value","&attrs","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-select.js",scope:()=>[l.eq],isStrictMode:!0}),this))()}class m extends s.default{handleInput(e){this.args.onChange(e.target.value===p?void 0:e.target.value)}static #e=(()=>dt7948.n(this.prototype,"handleInput",[a.action]))();get hasSelectedValue(){return this.args.value&&this.args.value!==p}get includeNone(){return this.args.includeNone??!0}static #t=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"wT05FrDo",block:'[[[1,"\\n "],[11,"select"],[16,2,[30,1]],[17,2],[24,0,"d-select"],[4,[32,0],["input",[30,0,["handleInput"]]],null],[12],[1,"\\n"],[41,[30,0,["includeNone"]],[[[1," "],[8,[32,1],null,[["@value"],[[32,2]]],[["default"],[[[[1,"\\n"],[41,[30,0,["hasSelectedValue"]],[[[1," "],[1,[28,[32,3],["none_placeholder"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,3],["select_placeholder"],null]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[18,3,[[28,[32,4],null,[["Option"],[[50,[32,1],0,null,[["selected"],[[30,1]]]]]]]]],[1,"\\n "],[13],[1,"\\n "]],["@value","&attrs","&default"],false,["if","yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-select.js",scope:()=>[r.on,h,p,u.i18n,n.hash],isStrictMode:!0}),this))()}},19139:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(54695),n=i(62069),r=i(82938),a=i(41277),o=i(93810),l=i(60110),u=i(29681);let d=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"kKhf0Ex0",block:'[[[1,"\\n "],[10,"section"],[14,0,"user-secondary-navigation"],[12],[1,"\\n "],[8,[32,0],[[24,0,"activity-nav"]],null,[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,1,["tabs"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,1],null,[["@route","@model"],[[30,2,["route"]],[30,1,["model","name"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],[[30,2,["title"]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"section"],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n "],[46,[28,[31,3],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "]],["@controller","tab"],false,["each","-track-array","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/manage.js",scope:()=>[r.default,s.LinkTo,a.i18n],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},19168:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(21044),n=i(37338),r=i(36376),a=i(83770),o=i(13446),l=i(30544),u=i.n(l),d=i(17790),c=i.n(d),p=i(13383),h=i(49686),m=i.n(h),g=i(68162),f=i(93810),_=i(60110);class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"progressBar",[n.tracked]))();#sF=(()=>void dt7948.i(this,"progressBar"))();registerProgressBar(e){this.progressBar=e}static #r=(()=>dt7948.n(this.prototype,"registerProgressBar",[r.action]))();async didSwipe(e){if(e.deltaY>=0)return void this.#sI(e.element,0);e.velocityY<-1.2?await this.#sN(e.element):await this.#sI(e.element,e.deltaY)}static #a=(()=>dt7948.n(this.prototype,"didSwipe",[r.action]))();async didEndSwipe(e){e.velocityY<-1.2?await this.#sN(e.element):await this.#sI(e.element,0)}static #d=(()=>dt7948.n(this.prototype,"didEndSwipe",[r.action]))();async #sN(e){await this.#sj(e),this.args.toast.close()}async #sj(e){await e.animate([{transform:"translateY(-150px)"}],{fill:"forwards",duration:(0,p.getMaxAnimationTimeMs)()}).finished}async #sI(e,t){await e.animate([{transform:`translateY(${t}px)`}],{fill:"forwards"}).finished}get duration(){let e=this.args.toast.options.duration;return"long"===e?5e3:"short"===e?3e3:(c()("Using an integer for the duration property of the d-toast component is deprecated. Use `short` or `long` instead.",{id:"float-kit.d-toast.duration"}),e)}static #g=(()=>(0,f.setComponentTemplate)((0,_.createTemplateFactory)({id:"WpY1+qk5",block:'[[[1,"\\n "],[11,"output"],[16,"role",[52,[30,1,["options","autoClose"]],"status","log"]],[16,"key",[30,1,["id"]]],[16,0,[28,[32,0],["fk-d-toast",[30,1,["options","class"]]],null]],[4,[32,1],null,[["close","duration","progressBar","enabled"],[[30,1,["close"]],[30,0,["duration"]],[30,0,["progressBar"]],[30,1,["options","autoClose"]]]]],[4,[32,2],null,[["onDidSwipe","onDidEndSwipe"],[[30,0,["didSwipe"]],[30,0,["didEndSwipe"]]]]],[12],[1,"\\n "],[8,[30,1,["options","component"]],null,[["@data","@close","@showProgressBar","@onRegisterProgressBar"],[[30,1,["options","data"]],[30,1,["close"]],[28,[32,3],[[30,1,["options","showProgressBar"]],[30,1,["options","autoClose"]]],null],[30,0,["registerProgressBar"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@toast"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-toast.js",scope:()=>[u(),g.default,m(),o.and],isStrictMode:!0}),this))()}},19181:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(21044);i(37338);var n=i(93558),r=i(36376),a=i(10218),o=i(83770),l=i(6809),u=i(25164),d=i(81772),c=i(30544),p=i.n(c),h=i(2715),m=i.n(h),g=i(86402),f=i.n(g),_=i(93810),y=i(60110);let b=(0,i(89689).A)(i(86874)).cached;class w extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[o.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();get isNone(){return this.rowValue===this.args.selectKit?.noneItem}get highlightedValue(){return this.args.selectKit.get("highlighted.id")}get isHighlighted(){return this.rowValue===this.highlightedValue}get isSelected(){return this.rowValue===this.args.value}get hideParentCategory(){return this.args.selectKit.options.hideParentCategory}get categoryLink(){return this.args.selectKit.options.categoryLink}get countSubcategories(){return this.args.selectKit.options.countSubcategories}get allowUncategorizedTopics(){return this.siteSettings.hideParentCategory}get allowUncategorized(){return this.args.selectKit.options.allowUncategorized}get rowName(){return this.args.item?.name}get rowValue(){return this.args.item?.id}get guid(){return(0,a.guidFor)(this.args.item)}get label(){return this.args.item?.name||this.args.item?.label}get displayCategoryDescription(){let e=this.args.selectKit.options.displayCategoryDescription;return!!(0,u.isNone)(e)||e}get title(){if(this.category)return this.categoryName}get categoryName(){return this.category.displayName}get categoryDescriptionText(){return this.category.descriptionText}get category(){if(!(0,u.isEmpty)(this.rowValue))return f().findById(parseInt(this.rowValue,10));{let e=f().findUncategorized();if(e&&e.name===this.rowName)return e}}static #r=(()=>dt7948.n(this.prototype,"category",[b]))();get badgeForCategory(){return(0,l.htmlSafe)((0,d.categoryBadgeHTML)(this.category,{link:!1,allowUncategorized:this.allowUncategorizedTopics||this.allowUncategorized,hideParent:!!this.parentCategory,topicCount:this.topicCount,subcategoryCount:this.args.item?.category?this.category.subcategory_count:0}))}static #a=(()=>dt7948.n(this.prototype,"badgeForCategory",[b]))();get badgeForParentCategory(){return(0,l.htmlSafe)((0,d.categoryBadgeHTML)(this.parentCategory,{link:!1,allowUncategorized:this.allowUncategorizedTopics||this.allowUncategorized,recursive:!0}))}static #d=(()=>dt7948.n(this.prototype,"badgeForParentCategory",[b]))();get parentCategory(){return f().findById(this.parentCategoryId)}get hasParentCategory(){return this.parentCategoryId}get parentCategoryId(){return this.category?.parent_category_id}get categoryTotalTopicCount(){return this.category?.totalTopicCount}get categoryTopicCount(){return this.category?.topic_count}get topicCount(){return this.countSubcategories?this.categoryTotalTopicCount:this.categoryTopicCount}get shouldDisplayDescription(){return this.displayCategoryDescription&&this.categoryDescriptionText&&"null"!==this.categoryDescriptionText}get descriptionText(){if(this.categoryDescriptionText)return this._formatDescription(this.categoryDescriptionText)}static #g=(()=>dt7948.n(this.prototype,"descriptionText",[b]))();handleMouseEnter(){if(!this.site.mobileView)return this.isDestroying&&this.isDestroyed||this.args.selectKit.onHover(this.rowValue,this.args.item),!1}static #T=(()=>dt7948.n(this.prototype,"handleMouseEnter",[r.action]))();handleClick(e){return e.preventDefault(),e.stopPropagation(),this.args.selectKit.select(this.rowValue,this.args.item),!1}static #C=(()=>dt7948.n(this.prototype,"handleClick",[r.action]))();handleMouseDown(e){this.args.selectKit.options.preventHeaderFocus&&e.preventDefault()}static #A=(()=>dt7948.n(this.prototype,"handleMouseDown",[r.action]))();handleFocusIn(e){e.stopImmediatePropagation()}static #D=(()=>dt7948.n(this.prototype,"handleFocusIn",[r.action]))();handleKeyDown(e){this.args.selectKit.isExpanded&&("Backspace"===e.key?this.args.selectKit.isFilterExpanded&&(this.args.selectKit.set("filter",this.args.selectKit.filter.slice(0,-1)),this.args.selectKit.triggerSearch(),this.args.selectKit.focusFilter(),e.preventDefault(),e.stopPropagation()):"ArrowUp"===e.key?(this.args.selectKit.highlightPrevious(),e.preventDefault()):"ArrowDown"===e.key?(this.args.selectKit.highlightNext(),e.preventDefault()):"Enter"===e.key?(e.stopImmediatePropagation(),this.args.selectKit.select(this.args.selectKit.highlighted.id,this.args.selectKit.highlighted),e.preventDefault()):"Escape"===e.key?(this.args.selectKit.close(e),this.args.selectKit.headerElement().focus(),e.preventDefault(),e.stopPropagation()):this._isValidInput(e.key)&&(this.args.selectKit.set("filter",e.key),this.args.selectKit.triggerSearch(),this.args.selectKit.focusFilter(),e.preventDefault(),e.stopPropagation()))}static #M=(()=>dt7948.n(this.prototype,"handleKeyDown",[r.action]))();_formatDescription(e){return`${e.slice(0,200)}${e.length>200?"…":""}`}_isValidInput(e){return!/F\d+|Arrow.+|Meta|Alt|Control|Shift|Delete|Enter|Escape|Tab|Space|Insert|Backspace/.test(e)}static #E=(()=>(0,_.setComponentTemplate)((0,y.createTemplateFactory)({id:"9e2bABAN",block:'[[[1,"\\n"],[1," "],[11,0],[16,0,[28,[32,0],["category-row","select-kit-row",[52,[30,0,["isSelected"]],"is-selected"],[52,[30,0,["isHighlighted"]],"is-highlighted"],[52,[30,0,["isNone"]],"is-none"]],null]],[24,"role","menuitemradio"],[16,"data-index",[30,1]],[16,"data-name",[30,0,["rowName"]]],[16,"data-value",[30,0,["rowValue"]]],[16,"data-title",[30,0,["title"]]],[16,"title",[30,0,["title"]]],[16,"data-guid",[30,0,["guid"]]],[16,"aria-checked",[30,0,["isSelected"]]],[24,"tabindex","-1"],[4,[32,1],["focusin",[30,0,["handleFocusIn"]]],null],[4,[32,1],["mousedown",[30,0,["handleMouseDown"]]],null],[4,[32,1],["mouseenter",[30,0,["handleMouseEnter"]]],[["passive"],[true]]],[4,[32,1],["click",[30,0,["handleClick"]]],null],[4,[32,1],["keydown",[30,0,["handleKeyDown"]]],null],[12],[1,"\\n\\n"],[41,[30,0,["category"]],[[[1," "],[10,0],[14,0,"category-status"],[12],[1,"\\n"],[41,[30,0,["hasParentCategory"]],[[[41,[51,[30,0,["hideParentCategory"]]],[[[1," "],[1,[30,0,["badgeForParentCategory"]]],[1,"\\n"]],[]],null]],[]],null],[1," "],[1,[30,0,["badgeForCategory"]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["shouldDisplayDescription"]],[[[1," "],[10,0],[14,0,"category-desc"],[14,"aria-hidden","true"],[12],[1,"\\n "],[1,[28,[32,2],[[30,0,["descriptionText"]]],[["htmlSafe"],["true"]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[1,[28,[32,3],[[30,0,["label"]]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@index"],false,["if","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/category-row.js",scope:()=>[p(),n.on,m(),l.htmlSafe],isStrictMode:!0}),this))()}},19192:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addPostClassesCallback:()=>N,avatarFor:()=>P,avatarImg:()=>L,default:()=>O,resetPostClassesCallback:()=>j});var s=i(42946),n=i(89120),r=i(29054),a=i(65260),o=i(2799),l=i(35958),u=i(54165),d=i(96393),c=i(131),p=i(60964),h=i(15330),m=i(54583),g=i(74085),f=i(97034),_=i(53729),y=i(89573),b=i(94611),w=i(76998),k=i(80902),T=i(87588),S=i(28109),C=i(81726),A=i(35004),D=i(13338),M=i(41277),x=i(60110);function E(e,t,i){let s=(0,y.transformBasicPost)(e);return(0,S.postTransformCallbacks)(s),s.customShare=`${t}/${e.post_number}`,s.asPost=i.createRecord("post",e),s}function L(e,t){let i,s=(0,d.translateSize)(e),n=(0,d.avatarUrl)(t.template,s);if(!n||0===n.length)return;t.hideTitle||(i=t.name||(0,w.formatUsername)(t.username));let a="";t.alt&&(a=(0,M.i18n)(t.alt));let o="avatar"+(t.extraClasses?" "+t.extraClasses:""),l={attributes:{alt:a,width:s,height:s,src:(0,h.getURLWithCDN)(n),title:i,"aria-hidden":!0,loading:"lazy",tabindex:"-1"},className:o};return(0,r.h)("img",l)}function P(e,t,i){let s={href:t.url,"data-user-card":t.username};return!1===t.ariaHidden?s["aria-label"]=(0,M.i18n)("user.profile_possessive",{username:t.username}):s["aria-hidden"]=!0,i&&Object.assign(s,i),(0,r.h)("a",{className:`trigger-user-card ${t.className||""}`,attributes:s},L(e,t))}function F(e,t){return e.replyToUsername&&(!e.replyDirectlyAbove||!t.suppress_reply_directly_above)}(0,D.createWidget)("select-post",{tagName:"div.select-posts",html(e){let t=[];!e.selected&&e.post_number>1&&(e.replyCount>0&&t.push(this.attach("button",{label:"topic.multi_select.select_replies.label",title:"topic.multi_select.select_replies.title",action:"selectReplies",className:"select-replies"})),t.push(this.attach("button",{label:"topic.multi_select.select_below.label",title:"topic.multi_select.select_below.title",action:"selectBelow",className:"select-below"})));let i=`topic.multi_select.${e.selected?"selected":"select"}_post`;return t.push(this.attach("button",{label:i+".label",title:i+".title",action:"togglePostSelection",className:"select-post"})),t}}),(0,D.createWidget)("reply-to-tab",{tagName:"a.reply-to-tab",buildKey:e=>`reply-to-tab-${e.id}`,title:"post.in_reply_to",defaultState:()=>({loading:!1}),buildAttributes(e){let t={tabindex:"0"};return e.mobileView||(t.role="button",t["aria-controls"]=`embedded-posts__top--${e.post_number}`,t["aria-expanded"]=(e.repliesAbove.length>0).toString()),t},html(e,t){let i=t.loading?(0,r.h)("div.spinner.small"):(0,m.iconNode)("share"),s=(0,_.prioritizeNameFallback)(e.replyToName,e.replyToUsername);return[i," ",L("small",{template:e.replyToAvatarTemplate,username:s})," ",(0,r.h)("span",(0,w.formatUsername)(s))]},click(){this.state.loading=!0,this.sendWidgetAction("toggleReplyAbove").then(()=>this.state.loading=!1)}}),(0,D.createWidget)("post-avatar-user-info",{tagName:"div.post-avatar-user-info",html(e){return this.attach("poster-name",e)}}),(0,D.createWidget)("post-avatar",{tagName:"div.topic-avatar",settings:{size:"large",displayPosterName:!1},html(e){let t,i=this.siteSettings.hide_user_profiles_from_public&&!this.currentUser,s=[e.user_id?P.call(this,this.settings.size,{template:e.avatar_template,username:e.username,name:e.name,url:e.usernameUrl,className:`main-avatar ${i?"non-clickable":""}`,hideTitle:!0},{tabindex:"-1"}):(0,m.iconNode)("trash-can",{class:"deleted-user-avatar"})];if(e.flair_group_id)if(e.flair_url||e.flair_bg_color)s.push(this.attach("avatar-flair",e));else{let t=(0,u.default)(this.site,e);t&&s.push(this.attach("avatar-flair",t))}let n=[(0,r.h)("div.post-avatar",s)];return this.settings.displayPosterName&&n.push(this.attach("post-avatar-user-info",e)),n}}),(0,D.createWidget)("post-locked-indicator",{tagName:"div.post-info.post-locked",template:function(e,t){var i=__widget_helpers.iconNode,s=[];return s.push(i("lock")),s},title:()=>(0,M.i18n)("post.locked")}),(0,D.createWidget)("post-email-indicator",{tagName:"div.post-info.via-email",title:e=>e.isAutoGenerated?(0,M.i18n)("post.via_auto_generated_email"):(0,M.i18n)("post.via_email"),buildClasses:e=>e.canViewRawEmail?"raw-email":null,html:e=>e.isAutoGenerated?(0,m.iconNode)("envelope"):(0,m.iconNode)("far-envelope"),click(){this.attrs.canViewRawEmail&&this.sendWidgetAction("showRawEmail")}}),(0,D.createWidget)("post-meta-data",{tagName:"div.topic-meta-data",buildAttributes:()=>({role:"heading","aria-level":"2"}),settings:{displayPosterName:!0},html(e){let t=[];if(e.isWhisper){let e=this.site.get("whispers_allowed_groups_names"),i="";i=e?.length>0?(0,M.i18n)("post.whisper_groups",{groupNames:e.join(", ")}):(0,M.i18n)("post.whisper"),t.push((0,r.h)("div.post-info.whisper",{attributes:{title:i}},(0,m.iconNode)("far-eye-slash")))}e.via_email&&t.push(this.attach("post-email-indicator",e)),e.locked&&t.push(this.attach("post-locked-indicator",e)),(e.version>1||e.wiki)&&t.push(this.attach("post-edits-indicator",e)),e.multiSelect&&t.push(this.attach("select-post",e)),F(e,this.siteSettings)&&t.push(this.attach("reply-to-tab",e)),e.language&&e.is_localized&&t.push(this.attach("post-language",e)),t.push(this.attach("post-date",e)),t.push((0,r.h)("div.read-state",{className:e.read?"read":null,attributes:{title:(0,M.i18n)("post.unread")}},(0,m.iconNode)("circle")));let i=[];return this.settings.displayPosterName&&i.push(this.attach("poster-name",e)),i.push((0,r.h)("div.post-infos",t)),i}}),(0,D.createWidget)("expand-hidden",{tagName:"a.expand-hidden",html:()=>(0,M.i18n)("post.show_hidden"),click(){this.sendWidgetAction("expandHidden")}}),(0,D.createWidget)("post-date",{tagName:"div.post-info.post-date",html(e){let t,i="post-date";return e.wiki&&e.lastWikiEdit?(i+=" last-wiki-edit",t=new Date(e.lastWikiEdit)):t=new Date(e.created_at),this.attach("link",{rawLabel:(0,l.dateNode)(t),className:i,omitSpan:!0,title:"post.sr_date",href:e.shareUrl,action:"showShareModal"})},showShareModal(){let e=this.findAncestorModel(),t=e.topic;(0,s.getOwner)(this).lookup("service:modal").show(a.default,{model:{category:t.category,topic:t,post:e}})}}),(0,D.createWidget)("post-language",{tagName:"div.post-info.post-language",html(e){return[new A.default(this,"div",o.default,{language:e.language})]}}),(0,D.createWidget)("expand-post-button",{tagName:"button.btn.expand-post",buildKey:e=>`expand-post-button-${e.id}`,defaultState:()=>({loadingExpanded:!1}),html:(e,t)=>t.loadingExpanded?(0,M.i18n)("loading"):[(0,M.i18n)("post.show_full"),"..."],click(){this.state.loadingExpanded=!0,this.sendWidgetAction("expandFirstPost")}}),(0,D.createWidget)("post-group-request",{buildKey:e=>`post-group-request-${e.id}`,buildClasses:()=>["group-request"],html(e){let t=(0,h.default)("/g/"+e.requestedGroupName+"/requests?filter="+e.username);return(0,r.h)("a",{attributes:{href:t}},(0,M.i18n)("groups.requests.handle"))}}),(0,D.createWidget)("post-contents",{buildKey:e=>`post-contents-${e.id}`,defaultState(e){let t={expandedFirstPost:!1,repliesBelow:[]};if(this.siteSettings.enable_filtered_replies_view){let i=this.register.lookup("controller:topic");e.post_number&&(t.filteredRepliesShown=i.replies_to_post_number===e.post_number.toString())}return t},buildClasses(e){let t=["regular"];return this.state.repliesShown||t.push("contents"),F(e,this.siteSettings)&&t.push("avoid-tab"),t},html(e,t){let i=[new T.default(e,new k.default(this),this.currentUser)];e.requestedGroupName&&i.push(this.attach("post-group-request",e)),i=i.concat((0,D.applyDecorators)(this,"after-cooked",e,t)),e.cooked_hidden&&e.canSeeHiddenPost&&i.push(this.attach("expand-hidden",e)),!t.expandedFirstPost&&e.expandablePost&&i.push(this.attach("expand-post-button",e));let s={state:{repliesShown:t.repliesBelow.length>0,filteredRepliesShown:t.filteredRepliesShown}},n=this.siteSettings.enable_filtered_replies_view;i.push(new A.default(this,"section.post-menu-area.clearfix",(0,x.createTemplateFactory)({id:"jW8V4urG",block:'[[[1,"\\n "],[8,[39,0],null,[["@canCreatePost","@filteredRepliesView","@nextPost","@post","@prevPost","@repliesShown","@showReadIndicator","@changeNotice","@changePostOwner","@copyLink","@deletePost","@editPost","@grantBadge","@lockPost","@permanentlyDeletePost","@rebakePost","@recoverPost","@replyToPost","@share","@showFlags","@showLogin","@showPagePublish","@toggleLike","@togglePostType","@toggleReplies","@toggleWiki","@unhidePost","@unlockPost"],[[30,1,["canCreatePost"]],[30,1,["filteredRepliesView"]],[30,1,["nextPost"]],[30,1,["post"]],[30,1,["prevPost"]],[30,1,["repliesShown"]],[30,1,["showReadIndicator"]],[30,1,["changeNotice"]],[30,1,["changePostOwner"]],[30,1,["copyLink"]],[30,1,["deletePost"]],[30,1,["editPost"]],[30,1,["grantBadge"]],[30,1,["lockPost"]],[30,1,["permanentlyDeletePost"]],[30,1,["rebakePost"]],[30,1,["recoverPost"]],[30,1,["replyToPost"]],[30,1,["share"]],[30,1,["showFlags"]],[30,1,["showLogin"]],[30,1,["showPagePublish"]],[30,1,["toggleLike"]],[30,1,["togglePostType"]],[30,1,["toggleReplies"]],[30,1,["toggleWiki"]],[30,1,["unhidePost"]],[30,1,["unlockPost"]]]],null]],["@data"],false,["post/menu"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/post.js",isStrictMode:!1}),{canCreatePost:e.canCreatePost,filteredRepliesView:n,nextPost:e.nextPost,post:this.findAncestorModel(),prevPost:e.prevPost,repliesShown:n?s.state.filteredRepliesShown:s.state.repliesShown,showReadIndicator:e.showReadIndicator,changeNotice:()=>this.sendWidgetAction("changeNotice"),changePostOwner:()=>this.sendWidgetAction("changePostOwner"),copyLink:()=>this.sendWidgetAction("copyLink"),deletePost:()=>this.sendWidgetAction("deletePost"),editPost:()=>this.sendWidgetAction("editPost"),expandHidden:()=>this.sendWidgetAction("editPost"),grantBadge:()=>this.sendWidgetAction("grantBadge"),lockPost:()=>this.sendWidgetAction("lockPost"),permanentlyDeletePost:()=>this.sendWidgetAction("permanentlyDeletePost"),rebakePost:()=>this.sendWidgetAction("rebakePost"),recoverPost:()=>this.sendWidgetAction("recoverPost"),replyToPost:()=>this.sendWidgetAction("replyToPost"),share:()=>this.sendWidgetAction("share"),showFlags:()=>this.sendWidgetAction("showFlags"),showLogin:()=>this.sendWidgetAction("showLogin"),showPagePublish:()=>this.sendWidgetAction("showPagePublish"),toggleLike:()=>this.sendWidgetAction("toggleLike"),togglePostType:()=>this.sendWidgetAction("togglePostType"),toggleReplies:n?()=>this.sendWidgetAction("toggleFilteredRepliesView"):()=>this.sendWidgetAction("toggleRepliesBelow"),toggleWiki:()=>this.sendWidgetAction("toggleWiki"),unhidePost:()=>this.sendWidgetAction("unhidePost"),unlockPost:()=>this.sendWidgetAction("unlockPost")}));let a=t.repliesBelow;if(a.length){let t=[];a.forEach(i=>{t.push(this.attach("embedded-post",i,{model:i.asPost,state:{role:"region","aria-label":(0,M.i18n)("post.sr_embedded_reply_description",{post_number:e.post_number,username:i.username})}}))}),t.push(this.attach("button",{title:"post.collapse",icon:"chevron-up",action:"toggleRepliesBelow",actionParam:!0,className:"btn collapse-up",translatedAriaLabel:(0,M.i18n)("post.sr_collapse_replies")})),a.length{t.updateQueryParams()}))},loadMoreReplies(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.store.find("post-reply",{postId:this.attrs.id,after:e}).then(e=>{e.forEach(e=>{this.state.repliesBelow.push(E(e,this.attrs.topicUrl,this.store))})})},toggleRepliesBelow(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.state.repliesBelow.length)return this.loadMoreReplies();if(this.state.repliesBelow=[],!0===e){let{topicUrl:e,post_number:t}=this.attrs;b.default.routeTo(`${e}/${t}`)}},expandFirstPost(){return this.findAncestorModel().expand().then(()=>this.state.expandedFirstPost=!0)},share(){let e=this.findAncestorModel();(0,f.nativeShare)(this.capabilities,{url:e.shareUrl}).catch(()=>{let t=e.topic;(0,s.getOwner)(this).lookup("service:modal").show(a.default,{model:{category:t.category,topic:t,post:e}})})},copyLink(){if(this.site.mobileView)return this.share();let e=this.findAncestorModel(),t=e.id,i=()=>(0,w.clipboardCopy)((0,h.getAbsoluteURL)(e.shareUrl));(0,c.isTesting)()&&(i=()=>{}),(0,g.default)({postId:t,actionClass:"post-action-menu__copy-link",messageKey:"post.controls.link_copied",actionCallback:i,errorCallback:()=>this.share()})},init(){this.postContentsDestroyCallbacks=[]},destroy(){this.postContentsDestroyCallbacks.forEach(e=>e())}}),(0,D.createWidget)("post-notice",{tagName:"div.post-notice",buildClasses(e){let t=[e.notice.type.replace(/_/g,"-")];return new Date-new Date(e.created_at)>864e5*this.siteSettings.old_post_notice_days&&t.push("old"),t},html(e){if("custom"===e.notice.type){let t="";if(e.noticeCreatedByUser){let i=(0,w.escapeExpression)((0,_.prioritizeNameInUx)(e.noticeCreatedByUser.name)?e.noticeCreatedByUser.name:e.noticeCreatedByUser.username);t=(0,M.i18n)("post.notice.custom_created_by",{userLinkHTML:`${i}`})}return[(0,m.iconNode)("user-shield"),new C.default({html:`
    ${e.notice.cooked} ${t}
    `})]}let t=this.siteSettings.display_name_on_posts&&(0,_.prioritizeNameInUx)(e.name)?e.name:e.username;if("new_user"===e.notice.type)return[(0,m.iconNode)("handshake-angle"),(0,r.h)("p",(0,M.i18n)("post.notice.new_user",{user:t}))];if("returning_user"===e.notice.type){let i=(new Date-new Date(e.notice.lastPostedAt))/1e3,s=(0,p.relativeAgeMediumSpan)(i,!0);return[(0,m.iconNode)("far-face-smile"),(0,r.h)("p",(0,M.i18n)("post.notice.returning_user",{user:t,time:s}))]}}}),(0,D.createWidget)("post-body",{tagName:"div.topic-body.clearfix",html(e,t){let i=this.attach("post-contents",e),s=[this.attach("post-meta-data",e)];return(s=s.concat((0,D.applyDecorators)(this,"after-meta-data",e,t))).push(i),s.push(this.attach("actions-summary",e)),s.push(this.attach("post-links",e)),s}}),(0,D.createWidget)("post-article",{tagName:"article.boxed.onscreen-post",buildKey:e=>`post-article-${e.id}`,defaultState:()=>({repliesAbove:[]}),buildId:e=>`post_${e.post_number}`,buildClasses(e,t){let i=[];return t.repliesAbove.length&&i.push("replies-above"),e.via_email&&i.push("via-email"),e.isAutoGenerated&&i.push("is-auto-generated"),i},buildAttributes:e=>({"aria-label":(0,M.i18n)("share.post",{postNumber:e.post_number,username:e.username}),role:"region","data-post-id":e.id,"data-topic-id":e.topicId,"data-user-id":e.user_id}),html(e,t){let i=[];if(t.repliesAbove.length){let s=t.repliesAbove.map(e=>this.attach("embedded-post",e,{model:e.asPost,state:{above:!0}}));i.push((0,r.h)("div.row",(0,r.h)(`section.embedded-posts.top.topic-body#embedded-posts__top--${e.post_number}`,[this.attach("button",{title:"post.collapse",icon:"chevron-down",action:"toggleReplyAbove",actionParam:!0,className:"btn collapse-down"}),s])))}return!e.deleted_at&&e.notice&&i.push((0,r.h)("div.row",[this.attach("post-notice",e)])),i.push((0,r.h)("div.row",[this.attach("post-avatar",e),this.attach("post-body",{...e,repliesAbove:t.repliesAbove})])),this.shouldShowTopicMap(e)&&i.push(this.buildTopicMap(e)),i},_getTopicUrl(){let e=this.findAncestorModel();return e?e.get("topic.url"):null},toggleReplyAbove(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.attrs.reply_to_post_number;if(this.siteSettings.enable_filtered_replies_view){let e=this.findAncestorModel(),t=this.register.lookup("controller:topic");return e.get("topic.postStream").filterUpwards(this.attrs.id).then(()=>{t.updateQueryParams()})}if(this.attrs.mobileView){let e=this._getTopicUrl();return e&&b.default.routeTo(`${e}/${t}`),n.Promise.resolve()}if(this.state.repliesAbove.length){if(this.state.repliesAbove=[],!0===e){let{topicUrl:e,post_number:t}=this.attrs;b.default.routeTo(`${e}/${t}`)}return n.Promise.resolve()}{let e=this._getTopicUrl();return this.store.find("post-reply-history",{postId:this.attrs.id}).then(t=>{t.forEach(t=>{this.state.repliesAbove.push(E(t,e,this.store))})})}},shouldShowTopicMap(e){if(1!==e.post_number)return!1;let t="private_message"===e.topic.archetype,i="regular"===e.topic.archetype,s=this.siteSettings.show_topic_map_in_topics_without_replies;return e.topicMap||t||i&&(e.topic.posts_count>1||s)},buildTopicMap(e){return new A.default(this,"div.topic-map.--op",(0,x.createTemplateFactory)({id:"dcLVi/IO",block:'[[[1,"\\n "],[8,[39,0],null,[["@model","@topicDetails","@postStream","@showPMMap","@showInvite","@removeAllowedGroup","@removeAllowedUser"],[[30,1,["model"]],[30,1,["topicDetails"]],[30,1,["postStream"]],[30,1,["showPMMap"]],[30,1,["showInvite"]],[30,1,["removeAllowedGroup"]],[30,1,["removeAllowedUser"]]]],null]],["@data"],false,["topic-map"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/post.js",isStrictMode:!1}),{model:e.topic,topicDetails:e.topic.get("details"),postStream:e.topic.postStream,showPMMap:"private_message"===e.topic.archetype,showInvite:()=>this.sendWidgetAction("showInvite"),removeAllowedGroup:e=>this.sendWidgetAction("removeAllowedGroup",e),removeAllowedUser:e=>this.sendWidgetAction("removeAllowedUser",e)})}});let I=[];function N(e){I.push(e)}function j(){I.length=0}let O=(0,D.createWidget)("post",{buildKey:e=>`post-${e.id}`,services:["dialog","user-tips"],shadowTree:!0,buildAttributes:e=>e.height?{style:`min-height: ${e.height}px`}:void 0,buildId:e=>e.cloaked?`post_${e.post_number}`:void 0,buildClasses(e){if(e.cloaked)return"cloaked-post";let t=["topic-post","clearfix"];if((-1===e.id||e.isSaving||e.staged)&&t.push("staged"),e.selected&&t.push("selected"),e.topicOwner&&t.push("topic-owner"),this.currentUser&&e.user_id===this.currentUser.id&&t.push("current-user-post"),e.groupModerator&&t.push("category-moderator"),e.hidden&&t.push("post-hidden"),e.deleted&&t.push("deleted"),e.primary_group_name&&t.push(`group-${e.primary_group_name}`),e.wiki&&t.push("wiki"),e.isWhisper&&t.push("whisper"),e.isModeratorAction||e.isWarning&&e.firstPost?t.push("moderator"):t.push("regular"),e.userSuspended&&t.push("user-suspended"),I)for(let i=0;is)return;let{remaining:n,max:r}=e;n===Math.ceil(.1*r)&&(this.dialog.alert((0,M.i18n)("post.few_likes_left")),t.set({key:"lastWarnedLikes",value:Date.now()}))}});(0,A.registerWidgetShim)("glimmer-post","div",(0,x.createTemplateFactory)({id:"lD4yjIVO",block:'[[[1,"\\n "],[8,[39,0],null,[["@canCreatePost","@cancelFilter","@changeNotice","@changePostOwner","@deletePost","@editPost","@expandHidden","@filteringRepliesToPostNumber","@grantBadge","@lockPost","@multiSelect","@nextPost","@permanentlyDeletePost","@post","@prevPost","@rebakePost","@recoverPost","@replyToPost","@selectBelow","@selectReplies","@selected","@showFlags","@showHistory","@showInvite","@showLogin","@showPagePublish","@showRawEmail","@showReadIndicator","@togglePostSelection","@togglePostType","@toggleReplies","@toggleReplyAbove","@toggleWiki","@topicPageQueryParams","@unhidePost","@unlockPost","@updateTopicPageQueryParams"],[[30,1,["canCreatePost"]],[30,1,["cancelFilter"]],[30,1,["changeNotice"]],[30,1,["changePostOwner"]],[30,1,["deletePost"]],[30,1,["editPost"]],[30,2],[30,1,["filteringRepliesToPostNumber"]],[30,1,["grantBadge"]],[30,1,["lockPost"]],[30,1,["multiSelect"]],[30,1,["nextPost"]],[30,1,["permanentlyDeletePost"]],[30,1,["post"]],[30,1,["prevPost"]],[30,1,["rebakePost"]],[30,1,["recoverPost"]],[30,1,["replyToPost"]],[30,1,["selectBelow"]],[30,1,["selectReplies"]],[30,1,["selected"]],[30,1,["showFlags"]],[30,1,["showHistory"]],[30,1,["showInvite"]],[30,1,["showLogin"]],[30,1,["showPagePublish"]],[30,1,["showRawEmail"]],[30,1,["showReadIndicator"]],[30,1,["togglePostSelection"]],[30,1,["togglePostType"]],[30,3],[30,1,["toggleReplyAbove"]],[30,1,["toggleWiki"]],[30,1,["topicPageQueryParams"]],[30,1,["unhidePost"]],[30,1,["unlockPost"]],[30,1,["updateTopicPageQueryParams"]]]],null]],["@data","@expandHidden","@toggleReplies"],false,["post"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/widgets/post.js",isStrictMode:!1}))},19307:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(93810),n=i(6809),r=i(14547),a=i(77598),o=i(41277);let l=dt7948.c(class extends s.default{isUsed(e,t){return(t||[]).includes(e.toUpperCase())}static #e=(()=>dt7948.n(this.prototype,"isUsed",[(0,a.default)("color","usedColors")]))();title(e){return e?(0,o.i18n)("category.already_used"):null}static #t=(()=>dt7948.n(this.prototype,"title",[(0,a.default)("isUsed")]))();style(e){return(0,n.htmlSafe)(`background-color: #${e};`)}static #r=(()=>dt7948.n(this.prototype,"style",[(0,a.default)("color")]))();click(e){e.preventDefault(),this.selectColor(this.color)}},[(0,r.classNameBindings)(":colorpicker","isUsed:used-color:unused-color"),(0,r.attributeBindings)("style","title","ariaLabel:aria-label"),(0,r.tagName)("button")])},19310:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(41825),r=i(72818),a=i(93810),o=i(60110);class l extends s.default{_focusInput(e){e.focus()}get isTotp(){return this.args.secondFactorMethod===r.SECOND_FACTOR_METHODS.TOTP}get isBackupCode(){return this.args.secondFactorMethod===r.SECOND_FACTOR_METHODS.BACKUP_CODE}get type(){return this.isTotp?"tel":this.isBackupCode?"text":void 0}get pattern(){return this.isTotp?"[0-9]{6}":this.isBackupCode?"[a-z0-9]{16}":void 0}get maxlength(){return this.isTotp?"6":this.isBackupCode?"32":void 0}static #e=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"IzpPqvOP",block:'[[[1,"\\n "],[11,"input"],[16,4,[30,0,["type"]]],[16,"pattern",[30,0,["pattern"]]],[16,"maxlength",[30,0,["maxlength"]]],[24,"autocomplete","one-time-code"],[24,"autocapitalize","off"],[24,"autocorrect","off"],[24,"autofocus","autofocus"],[24,0,"second-factor-token-input"],[17,1],[4,[32,0],[[30,0,["_focusInput"]]],null],[12],[13],[1,"\\n "]],["&attrs"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/second-factor-input.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},19362:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(12383),n=i(94611),r=i(41277);let a=class extends s.default{get linkHref(){return(0,n.groupPath)(this.notification.data.group_name)}get description(){return(0,r.i18n)("notifications.membership_request_accepted",{group_name:this.notification.data.group_name})}get label(){return null}}},19419:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(83770),r=i(79974),a=i(93810),o=i(60110);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"tooltip",[n.service]))();#sO=(()=>void dt7948.i(this,"tooltip"))();static #t=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"Ep6zmKXY",block:'[[[1,"\\n "],[10,0],[14,1,"d-tooltip-portals"],[12],[13],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["tooltip","registeredTooltips"]]],null]],null],"id",[[[41,[30,1,["detachedTrigger"]],[[[1," "],[8,[32,0],null,[["@tooltip"],[[30,1]]],null],[1,"\\n"]],[]],null]],[1]],null],[1," "]],["tooltip"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-tooltips.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},19448:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BucketCache:()=>o.default,DSL:()=>l.default,RouterState:()=>s.default,RoutingService:()=>n.default,controllerFor:()=>u.default,generateController:()=>a.default,generateControllerFactory:()=>a.generateControllerFactory,prefixRouteNameArg:()=>r.prefixRouteNameArg});var s=i(66452),n=i(72643),r=i(67650),a=i(76267),o=i(44753),l=i(54076),u=i(42387)},19519:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(83770),r=i(19168),a=i(93810),o=i(60110);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"toasts",[n.service]))();#L=(()=>void dt7948.i(this,"toasts"))();static #t=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"7Pk7P/6k",block:'[[[1,"\\n "],[10,"section"],[14,0,"fk-d-toasts"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["toasts","activeToasts"]]],null]],null],null,[[[1," "],[8,[32,0],null,[["@toast"],[[30,1]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "]],["toast"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-toasts.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},19533:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(21044),n=i(42371),r=i(83770),a=i(6809),o=i(20936),l=i(37420),u=i(78123),d=i(45577),c=i(41277),p=i(29588),h=i(15784),m=i(93810),g=i(60110);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();get avatar(){let e=(0,u.addExtraUserClasses)(this.currentUser,{});return(0,a.htmlSafe)((0,u.renderAvatar)(this.currentUser,{imageSize:this.avatarSize,hideTitle:!0,template:this.currentUser.avatar_template,username:this.currentUser.username,name:this.siteSettings.enable_names&&this.currentUser.name,...e}))}get avatarSize(){return(0,d.applyValueTransformer)("header-notifications-avatar-size","medium")}get _shouldHighlightAvatar(){return!this.currentUser.read_first_notification&&!this.currentUser.enforcedSecondFactor&&!this.args.active}get isInDoNotDisturb(){return this.currentUser.isInDoNotDisturb()}static #r=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"wVPZGRDn",block:'[[[1,"\\n "],[8,[32,0],null,[["@name"],["user-dropdown-notifications__before"]],null],[1,"\\n "],[1,[30,0,["avatar"]]],[1,"\\n\\n"],[41,[30,0,["_shouldHighlightAvatar"]],[[[1," "],[8,[32,1],null,[["@id","@triggerSelector","@placement","@titleText","@contentText","@showSkipButton","@priority"],["first_notification",".header-dropdown-toggle.current-user","bottom-end",[28,[32,2],["user_tips.first_notification.title"],null],[28,[32,2],["user_tips.first_notification.content"],null],true,1000]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["currentUser","status"]],[[[1," "],[8,[32,3],null,[["@timezone","@status"],[[30,0,["currentUser","user_option","timezone"]],[30,0,["currentUser","status"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isInDoNotDisturb"]],[[[1," "],[10,0],[14,0,"do-not-disturb-background"],[15,"title",[28,[32,2],["notifications.paused"],null]],[12],[1,[28,[32,4],["discourse-dnd"],null]],[13],[1,"\\n"]],[]],[[[41,[30,0,["currentUser","new_personal_messages_notifications_count"]],[[[1," "],[10,3],[14,6,"#"],[14,0,"badge-notification with-icon new-pms"],[15,"title",[28,[32,2],["notifications.tooltip.new_message_notification",[28,[32,5],null,[["count"],[[30,0,["currentUser","new_personal_messages_notifications_count"]]]]]],null]],[15,"aria-label",[28,[32,2],["notifications.tooltip.new_message_notification",[28,[32,5],null,[["count"],[[30,0,["currentUser","new_personal_messages_notifications_count"]]]]]],null]],[12],[1,"\\n "],[1,[28,[32,4],["envelope"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["currentUser","unseen_reviewable_count"]],[[[1," "],[10,3],[14,6,"#"],[14,0,"badge-notification with-icon new-reviewables"],[15,"title",[28,[32,2],["notifications.tooltip.new_reviewable",[28,[32,5],null,[["count"],[[30,0,["currentUser","unseen_reviewable_count"]]]]]],null]],[15,"aria-label",[28,[32,2],["notifications.tooltip.new_reviewable",[28,[32,5],null,[["count"],[[30,0,["currentUser","unseen_reviewable_count"]]]]]],null]],[12],[1,"\\n "],[1,[28,[32,4],["flag"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["currentUser","all_unread_notifications_count"]],[[[1," "],[10,3],[14,6,"#"],[14,0,"badge-notification unread-notifications"],[15,"title",[28,[32,2],["notifications.tooltip.regular",[28,[32,5],null,[["count"],[[30,0,["currentUser","all_unread_notifications_count"]]]]]],null]],[15,"aria-label",[28,[32,2],["user.notifications",[28,[32,5],null,[["count"],[[30,0,["currentUser","all_unread_notifications_count"]]]]]],null]],[12],[1,"\\n "],[1,[30,0,["currentUser","all_unread_notifications_count"]]],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]]],[]]]],[]]],[1," "],[8,[32,0],null,[["@name"],["user-dropdown-notifications__after"]],null],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/user-dropdown/notifications.js",scope:()=>[o.default,p.default,c.i18n,h.default,l.default,n.hash],isStrictMode:!0}),this))()}},19642:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(42371),r=i(36376),a=i(131),o=i(80212),l=i(5875),u=i(76998),d=i(51230),c=i(21462),p=i(93810),h=i(60110);class m extends s.default{clickOutside(e){if(e.target.classList.contains("header-cloak")&&!(0,u.prefersReducedMotion)()){let e=document.querySelector(".menu-panel"),t=document.querySelector(".header-cloak"),i=(0,l.isDocumentRTL)()?"-340px":"340px";e.animate([{transform:`translate3d(${i}, 0, 0)`}],{duration:200,fill:"forwards",easing:"ease-in"}).finished.then(()=>{(0,a.isTesting)()?this.args.toggleUserMenu():(0,o.default)(()=>this.args.toggleUserMenu())}),t.animate([{opacity:0}],{duration:200,fill:"forwards",easing:"ease-in"})}else this.args.toggleUserMenu()}static #e=(()=>dt7948.n(this.prototype,"clickOutside",[r.action]))();static #t=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"S7Hkd1b8",block:'[[[1,"\\n "],[11,0],[24,0,"user-menu-dropdown-wrapper"],[17,1],[4,[32,0],[[30,0,["clickOutside"]],[28,[32,1],null,[["targetSelector","secondaryTargetSelector"],[".user-menu-panel",".user-menu-panel"]]]],null],[12],[1,"\\n "],[8,[32,2],null,[["@closeUserMenu"],[[28,[32,3],[[30,2],false],null]]],null],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@toggleUserMenu"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/user-menu-wrapper.js",scope:()=>[d.default,n.hash,c.default,n.fn],isStrictMode:!0}),this))()}},19655:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(21044);i(77632);var n=i(42371),r=i(6809),a=i(5365),o=i(89120),l=i(13446),u=i(65774),d=i(14287),c=i(92161),p=i(32343),h=i(77598),m=i(131),g=i(93810),f=i(60110);let _=(0,i(89689).A)(i(77632)).cached,y=["flash","popup"];class b extends s.default{#sR=!1;get data(){let e,t=this.args.asyncData,i=this.args.context;if(!this.isDestroying&&!this.isDestroyed){if(t instanceof a.n)return t;if(this.#sU(t)?e=t:"function"==typeof t&&(e=this.#sR?new Promise((e,s)=>{(0,p.default)(this,this.#sB,t,i,e,s,this.#sR)}):this.#sB(t,i)),!this.#sU(e))throw Error("`` expects @asyncData to be an async function or a promise");return new a.n(e)}}static #e=(()=>dt7948.n(this.prototype,"data",[_]))();get errorMessage(){let e=(0,c.extractErrorInfo)(this.data.error);return e.html?(0,r.htmlSafe)(e.message):e.message}get errorMode(){return this.args.errorMode??"flash"}verifyParameters(e){let{hasErrorBlock:t}=e;if(t&&this.args.errorMode)throw'@errorMode cannot be used when a block named "error" is provided';if(this.errorMode&&!y.includes(this.errorMode))throw`@errorMode must be one of \`${y.join("`, `")}\``}static #t=(()=>dt7948.n(this.prototype,"verifyParameters",[h.bind]))();#sU(e){return e instanceof Promise||e instanceof o.Promise}#sB(e,t,i,s){return this.#sR=!0===this.args.debounce?m.INPUT_DELAY:this.args.debounce,i?e(t).then(i).catch(s):e(t)}static #r=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"RM6zKi0a",block:'[[[1,"\\n "],[1,[28,[30,0,["verifyParameters"]],[[28,[32,0],null,[["hasErrorBlock"],[[48,[30,1]]]]]],null]],[1,"\\n"],[41,[30,0,["data","isPending"]],[[[41,[48,[30,2]],[[[1," "],[18,2,null],[1,"\\n"]],[]],[[[1," "],[8,[32,1],null,[["@condition"],[[30,0,["data","isPending"]]]],null],[1,"\\n"]],[]]]],[]],[[[41,[30,0,["data","isResolved"]],[[[41,[30,0,["data","value"]],[[[1," "],[18,3,[[30,0,["data","value"]]]],[1,"\\n"]],[]],[[[41,[48,[30,4]],[[[1," "],[18,4,null],[1,"\\n"]],[]],[[[1," "],[18,3,[[30,0,["data","value"]]]],[1,"\\n "]],[]]]],[]]]],[]],[[[41,[30,0,["data","isRejected"]],[[[41,[48,[30,1]],[[[1," "],[18,1,[[30,0,["data","error"]]]],[1,"\\n"]],[]],[[[41,[28,[32,2],[[30,0,["errorMode"]],"flash"],null],[[[1," "],[8,[32,3],[[24,"role","alert"]],[["@flash","@type"],[[30,0,["errorMessage"]],"error"]],null],[1,"\\n"]],[]],[[[41,[28,[32,2],[[30,0,["errorMode"]],"popup"],null],[[[1," "],[1,[28,[32,4],[[30,0,["data","error"]]],null]],[1,"\\n "]],[]],null]],[]]]],[]]],[1," "]],[]],null]],[]]]],[]]],[1," "]],["&error","&loading","&content","&empty"],false,["has-block","if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/async-content.js",scope:()=>[n.hash,u.default,l.eq,d.default,c.popupAjaxError],isStrictMode:!0}),this))()}},19681:(e,t,i)=>{"use strict";i.r(t),i.d(t,{InstructionEncoderImpl:()=>n});var s=i(43914);class n{constructor(e){this.buffer=e}size=0;encode(e,t){for(var i=arguments.length,n=Array(i>2?i-2:0),r=2;rs.TYPE_SIZE)throw Error(`Opcode type over 8-bits. Got ${e}.`);let a=e|t|arguments.length-2<{"use strict";i.r(t),i.d(t,{clearPluginHeaderActionComponents:()=>r,headerActionComponentForPlugin:()=>a,registerPluginHeaderActionComponent:()=>n});let s=new Map;function n(e,t){s.set(e,t)}function r(){s=new Map}function a(e){return s.get(e)}},19767:(e,t,i)=>{"use strict";function s(e){return e._current=null,e.createCurrent||(e.createCurrent=function(){return this.create()}),e.current=function(){return this._current||(this._current=this.createCurrent()),this._current},e.currentProp=function(e,t){let i=this.current();if(i)return void 0!==t?(i.set(e,t),t):i.get(e)},e.resetCurrent=function(e){return this._current=e,e},e}i.r(t),i.d(t,{default:()=>s})},19769:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s.A});var s=i(68151)},20008:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(36376),n=i(34229),r=i(14547),a=i(54469),o=i(41277),l=i(25360);let u=dt7948.c(class extends l.default{static #e=(()=>dt7948.g(this.prototype,"i18nPrefix",[(0,n.readOnly)("selectKit.options.i18nPrefix")]))();#sY=(()=>void dt7948.i(this,"i18nPrefix"))();static #t=(()=>dt7948.g(this.prototype,"i18nPostfix",[(0,n.readOnly)("selectKit.options.i18nPostfix")]))();#sH=(()=>void dt7948.i(this,"i18nPostfix"))();get label(){return(0,a.escapeExpression)((0,o.i18n)(`${this._start}.title`))}static #r=(()=>dt7948.n(this.prototype,"label",[(0,s.computed)("_start")]))();get icons(){return[(0,a.escapeExpression)(this.item.icon)]}static #a=(()=>dt7948.n(this.prototype,"icons",[(0,s.computed)("item.icon")]))();get description(){return(0,a.escapeExpression)((0,o.i18n)(`${this._start}.description`))}static #d=(()=>dt7948.n(this.prototype,"description",[(0,s.computed)("_start")]))();get _start(){return`${this.i18nPrefix}.${this.rowName}${this.i18nPostfix}`}static #g=(()=>dt7948.n(this.prototype,"_start",[(0,s.computed)("i18nPrefix","i18nPostfix","rowName")]))()},[(0,r.classNames)("notifications-button-row")])},20017:(e,t,i)=>{"use strict";function s(e){let t=e.match(/\//g);return t&&3===t.length&&(e=e.replace(/\/$/,"")),(e=(e=e.replace(/^https?:\/\//,"")).replace(/^www\./,"")).substring(0,80)}i.r(t),i.d(t,{default:()=>s})},20018:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o,replaceEmoji:()=>a});var s=i(37507),n=i(76998),r=i(81726);function a(e){let t=(0,s.emojiUnescape)((0,n.escapeExpression)(e));return[new r.default({html:`${t}`})]}let o=(0,i(13338).createWidget)("emoji",{tagName:"img.emoji",buildAttributes(e){let t={src:(0,s.emojiUrlFor)(e.name),alt:`:${e.alt||e.name}:`};return e.title&&(t.title="string"==typeof e.title?e.title:e.name),t}})},20033:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(83770),n=i(21772),r=i(41277);class a extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[s.service]))();#i=(()=>void dt7948.i(this,"router"))();beforeModel(){if(!this.siteSettings.enable_smtp)return this.router.transitionTo("group.manage.profile")}titleToken(){return(0,r.i18n)("groups.manage.email.title")}}},20067:(e,t,i)=>{"use strict";i.r(t),i.d(t,{shaRegExp:()=>r,versionExtendedRegExp:()=>n,versionRegExp:()=>s});let s=/\d+[.]\d+[.]\d+/,n=/\d+[.]\d+[.]\d+-[a-z]*([.]\d+)?/,r=/[a-z\d]{8}$/},20099:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(83770),r=i(44612),a=i(93810),o=i(60110);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"header",[n.service]))();#tT=(()=>void dt7948.i(this,"header"))();get showSignupButton(){return this.args.canSignUp&&!this.header.headerButtonsHidden.includes("signup")&&!this.args.topicInfoVisible}get showLoginButton(){return!this.header.headerButtonsHidden.includes("login")}static #t=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"RsH2KzG3",block:'[[[1,"\\n "],[10,1],[14,0,"auth-buttons"],[12],[1,"\\n"],[41,[30,0,["showSignupButton"]],[[[1," "],[8,[32,0],[[24,0,"btn-primary btn-small sign-up-button"]],[["@action","@label"],[[30,1],"sign_up"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showLoginButton"]],[[[1," "],[8,[32,0],[[24,0,"btn-primary btn-small login-button"]],[["@action","@label","@icon"],[[30,2],"log_in","user"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@showCreateAccount","@showLogin"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/header/auth-buttons.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},20142:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(93810),n=i(93558),r=i(6809),a=i(37420),o=i(60110),l=i(29681);let u=(0,s.setComponentTemplate)((0,o.createTemplateFactory)({id:"wGFvMdhi",block:'[[[1,"\\n "],[10,0],[14,0,"control-group form-template-field"],[14,"data-field-type","textarea"],[12],[1,"\\n"],[41,[30,1,["label"]],[[[1," "],[10,"label"],[14,0,"form-template-field__label"],[12],[1,"\\n "],[1,[30,1,["label"]]],[1,"\\n"],[41,[30,2,["required"]],[[[1," "],[1,[28,[32,0],["asterisk"],[["class"],["form-template-field__required-indicator"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["description"]],[[[1," "],[10,1],[14,0,"form-template-field__description"],[12],[1,"\\n "],[1,[28,[32,1],[[30,1,["description"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,2],[[16,3,[30,3]],[24,0,"form-template-field__textarea"],[16,"placeholder",[30,1,["placeholder"]]],[16,"pattern",[30,2,["pattern"]]],[16,"minlength",[30,2,["minimum"]]],[16,"maxlength",[30,2,["maximum"]]],[16,"required",[52,[30,2,["required"]],"required",""]],[4,[32,3],["input",[30,5]],null]],[["@value"],[[30,4]]],null],[1," "],[13],[1,"\\n"]],["@attributes","@validations","@id","@value","@onChange"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/form-template-field/textarea.js",scope:()=>[a.default,r.htmlSafe,s.Textarea,n.on],isStrictMode:!0}),(0,l.default)(void 0,"textarea:Textarea0"))},20171:(e,t,i)=>{var s=i(91960),n=i(43652);e.exports=function(e,t,i){var r=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return n(i)&&(r="leading"in i?!!i.leading:r,a="trailing"in i?!!i.trailing:a),s(e,t,{leading:r,maxWait:t,trailing:a})}},20180:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};return e.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,function(e){return i[e]}).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})})},20196:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(77632),r=i(36376),a=i(83770),o=i(44612),l=i(93810),u=i(60110);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"keyValueStore",[a.service]))();#w=(()=>void dt7948.i(this,"keyValueStore"))();static #t=(()=>dt7948.g(this.prototype,"hidden",[n.tracked],function(){return!1}))();#tM=(()=>void dt7948.i(this,"hidden"))();constructor(){if(super(...arguments),this.popupKey){let e=this.keyValueStore.getItem(this.popupKey);!0===e||e>+new Date?this.hidden=!0:this.keyValueStore.removeItem(this.popupKey)}}get popupKey(){if(this.args.popupId)return`dismiss_topic_nav_popup_${this.args.popupId}`}close(){if(this.hidden=!0,this.popupKey)if(this.args.dismissDuration){let e=+new Date+this.args.dismissDuration;this.keyValueStore.setItem(this.popupKey,e)}else this.keyValueStore.setItem(this.popupKey,!0)}static #r=(()=>dt7948.n(this.prototype,"close",[r.action]))();static #a=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"4FFptR8s",block:'[[[1,"\\n"],[41,[51,[30,0,["hidden"]]],[[[1," "],[10,0],[14,0,"topic-navigation-popup"],[12],[1,"\\n "],[8,[32,0],[[24,0,"close btn-flat"]],[["@action","@icon"],[[30,0,["close"]],"xmark"]],null],[1,"\\n "],[18,1,null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["&default"],false,["unless","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-navigation-popup.js",scope:()=>[o.default],isStrictMode:!0}),this))()}},20202:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>M});var s=i(21044),n=i(77632),r=i(93810),a=i(42371),o=i(36376),l=i(83770),u=i(25164),d=i(7172),c=i(57260),p=i(44612),h=i(28431),m=i(20936),g=i(38633),f=i(71425),_=i(92357),y=i(29421),b=i(45577),w=i(94611),k=i(17586),T=i(41277),S=i(71100),C=i(61542),A=i(27086),D=i(60110);class M extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"site",[l.service]))();#s=(()=>void dt7948.i(this,"site"))();static #r=(()=>dt7948.g(this.prototype,"topicName",[n.tracked]))();#sq=(()=>void dt7948.i(this,"topicName"))();static #a=(()=>dt7948.g(this.prototype,"saving",[n.tracked],function(){return!1}))();#y=(()=>void dt7948.i(this,"saving"))();static #d=(()=>dt7948.g(this.prototype,"categoryId",[n.tracked]))();#s$=(()=>void dt7948.i(this,"categoryId"))();static #g=(()=>dt7948.g(this.prototype,"tags",[n.tracked]))();#sz=(()=>void dt7948.i(this,"tags"))();static #T=(()=>dt7948.g(this.prototype,"participants",[n.tracked],function(){return[]}))();#sV=(()=>void dt7948.i(this,"participants"))();static #C=(()=>dt7948.g(this.prototype,"chronologicalOrder",[n.tracked],function(){return!1}))();#sW=(()=>void dt7948.i(this,"chronologicalOrder"))();static #A=(()=>dt7948.g(this.prototype,"selection",[n.tracked],function(){return"new_topic"}))();#sK=(()=>void dt7948.i(this,"selection"))();static #D=(()=>dt7948.g(this.prototype,"selectedTopic",[n.tracked]))();#sG=(()=>void dt7948.i(this,"selectedTopic"))();static #M=(()=>dt7948.g(this.prototype,"flash",[n.tracked]))();#b=(()=>void dt7948.i(this,"flash"))();constructor(){super(...arguments),this.args.model.topic.isPrivateMessage?this.selection=this.canSplitToPM?"new_message":"existing_message":this.canSplitTopic||(this.selection="existing_topic")}get newTopic(){return"new_topic"===this.selection}get existingTopic(){return"existing_topic"===this.selection}get newMessage(){return"new_message"===this.selection}get existingMessage(){return"existing_message"===this.selection}get buttonDisabled(){return this.saving||(0,u.isEmpty)(this.selectedTopic)&&(0,u.isEmpty)(this.topicName)}get buttonTitle(){return this.newTopic?"topic.split_topic.title":this.existingTopic?"topic.merge_topic.title":this.newMessage?"topic.move_to_new_message.title":this.existingMessage?"topic.move_to_existing_message.title":"saving"}get canSplitTopic(){return!this.args.model.selectedAllPosts&&this.args.model.selectedPosts.length>0&&this.args.model.selectedPosts.sort((e,t)=>e.post_number-t.post_number)[0].post_type===this.site.get("post_types.regular")}get canSplitToPM(){return this.canSplitTopic&&this.currentUser?.admin}get canAddTags(){return this.site.can_create_tag}get canTagMessages(){return this.site.can_tag_pms}performMove(){this.newTopic?this.movePostsTo("newTopic"):this.existingTopic?this.movePostsTo("existingTopic"):this.newMessage?this.movePostsTo("newMessage"):this.existingMessage&&this.movePostsTo("existingMessage")}static #E=(()=>dt7948.n(this.prototype,"performMove",[o.action]))();async movePostsTo(e){let t,i;this.saving=!0,this.flash=null,"existingTopic"===e?(t={destination_topic_id:this.selectedTopic.id,chronological_order:this.chronologicalOrder},i={post_ids:this.args.model.selectedPostIds,...t}):"existingMessage"===e?(t={destination_topic_id:this.selectedTopic.id,participants:this.participants.join(","),archetype:"private_message",chronological_order:this.chronologicalOrder},i={post_ids:this.args.model.selectedPostIds,...t}):"newTopic"===e?(t={},i={title:this.topicName,post_ids:this.args.model.selectedPostIds,category_id:this.categoryId,tags:this.tags}):(t={},i={title:this.topicName,post_ids:this.args.model.selectedPostIds,tags:this.tags,archetype:"private_message"}),t=(0,b.applyValueTransformer)("move-to-topic-merge-options",t),i=(0,b.applyValueTransformer)("move-to-topic-move-options",i);try{let e;e=this.args.model.selectedAllPosts?await (0,k.mergeTopic)(this.args.model.topic.id,t):await (0,k.movePosts)(this.args.model.topic.id,i),this.args.closeModal(),this.args.model.toggleMultiSelect(),w.default.routeTo(e.url)}catch{this.flash=(0,T.i18n)("topic.move_to.error")}finally{this.saving=!1}}static #P=(()=>dt7948.n(this.prototype,"movePostsTo",[o.action]))();updateTopicName(e){this.topicName=e}static #I=(()=>dt7948.n(this.prototype,"updateTopicName",[o.action]))();updateCategoryId(e){this.categoryId=e}static #j=(()=>dt7948.n(this.prototype,"updateCategoryId",[o.action]))();updateTags(e){this.tags=e}static #R=(()=>dt7948.n(this.prototype,"updateTags",[o.action]))();newTopicSelected(e){this.selectedTopic=e}static #B=(()=>dt7948.n(this.prototype,"newTopicSelected",[o.action]))();static #H=(()=>(0,r.setComponentTemplate)((0,D.createTemplateFactory)({id:"WB2aPGRH",block:'[[[1,"\\n "],[8,[32,0],[[24,1,"choosing-topic"],[24,0,"choose-topic-modal"]],[["@title","@closeModal","@flash","@flashType"],[[28,[32,1],["topic.move_to.title"],null],[30,1],[30,0,["flash"]],"error"]],[["body","footer"],[[[[1,"\\n"],[41,[30,2,["topic","isPrivateMessage"]],[[[1," "],[10,0],[14,0,"radios"],[12],[1,"\\n"],[41,[30,0,["canSplitToPM"]],[[[1," "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-new-message"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-new-message"]],[["@name","@value","@selection"],["move-to-entity","new_message",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.move_to_new_message.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-existing-message"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-existing-message"]],[["@name","@value","@selection"],["move-to-entity","existing_message",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.move_to_existing_message.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["canSplitTopic"]],[[[41,[30,0,["newMessage"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.move_to_new_message.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["topic.move_to_new_message.message_title"],null]],[13],[1,"\\n "],[8,[32,4],[[24,1,"split-topic-name"]],[["@value","@placeholderKey"],[[30,0,["topicName"]],"composer.title_placeholder"]],null],[1,"\\n\\n"],[41,[30,0,["canTagMessages"]],[[[1," "],[10,"label"],[12],[1,[28,[32,1],["tagging.tags"],null]],[13],[1,"\\n "],[8,[32,5],null,[["@tags"],[[30,0,["tags"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["existingMessage"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.move_to_existing_message.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[8,[32,6],null,[["@currentTopicId","@setSelectedTopicId","@selectedTopicId"],[[30,2,["topic","id"]],[28,[32,7],[[28,[31,1],[[30,0,["selectedTopic"]]],null]],null],[30,0,["selectedTopic","id"]]]],null],[1,"\\n\\n "],[10,"label"],[12],[1,[28,[32,1],["topic.move_to_new_message.participants"],null]],[13],[1,"\\n "],[8,[32,8],[[24,0,"participant-selector"]],[["@value","@onChange"],[[30,0,["participants"]],[28,[32,7],[[28,[31,1],[[30,0,["participants"]]],null]],null]]],null],[1,"\\n\\n"],[41,[30,0,["selectedTopic"]],[[[1," "],[10,"hr"],[12],[13],[1,"\\n "],[10,"label"],[14,"for","chronological-order"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,9],[[24,1,"chronological-order"]],[["@type","@checked"],["checkbox",[30,0,["chronologicalOrder"]]]],null],[1,"\\n "],[1,[28,[32,1],["topic.merge_topic.chronological_order"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"radios"],[12],[1,"\\n"],[41,[30,0,["canSplitTopic"]],[[[1," "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-new-topic"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-new-topic"]],[["@name","@value","@selection"],["move-to-entity","new_topic",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.split_topic.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-existing-topic"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-existing-topic"]],[["@name","@value","@selection"],["move-to-entity","existing_topic",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.merge_topic.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["canSplitToPM"]],[[[1," "],[10,"label"],[14,0,"radio-label"],[14,"for","move-to-new-message"],[12],[1,"\\n "],[8,[32,2],[[24,1,"move-to-new-message"]],[["@name","@value","@selection"],["move-to-entity","new_message",[30,0,["selection"]]]],null],[1,"\\n "],[10,"b"],[12],[1,[28,[32,1],["topic.move_to_new_message.radio_label"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,10],null,[["@name"],["move-to-topic-after-radio-buttons"]],null],[1,"\\n\\n"],[41,[30,0,["existingTopic"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.merge_topic.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[8,[32,11],null,[["@topicChangedCallback","@currentTopicId","@selectedTopicId"],[[30,0,["newTopicSelected"]],[30,2,["topic","id"]],[30,0,["selectedTopic","id"]]]],null],[1,"\\n\\n"],[41,[30,0,["selectedTopic"]],[[[1," "],[10,"hr"],[12],[13],[1,"\\n "],[10,"label"],[14,"for","chronological-order"],[14,0,"checkbox-label"],[12],[1,"\\n "],[8,[32,9],[[24,1,"chronological-order"]],[["@type","@checked"],["checkbox",[30,0,["chronologicalOrder"]]]],null],[1,"\\n "],[1,[28,[32,1],["topic.merge_topic.chronological_order"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["canSplitTopic"]],[[[41,[30,0,["newTopic"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.split_topic.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[14,0,"split-new-topic-form"],[12],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["topic.split_topic.topic_name"],null]],[13],[1,"\\n "],[8,[32,4],[[24,1,"split-topic-name"]],[["@value","@placeholderKey"],[[30,0,["topicName"]],"composer.title_placeholder"]],null],[1,"\\n "],[8,[32,10],null,[["@name","@outletArgs"],["split-new-topic-title-after",[28,[32,12],null,[["selectedPosts","updateTopicName"],[[30,2,["selectedPosts"]],[30,0,["updateTopicName"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["categories.category"],null]],[13],[1,"\\n "],[8,[32,13],[[24,0,"small"]],[["@value","@onChange"],[[30,0,["categoryId"]],[28,[32,7],[[28,[31,1],[[30,0,["categoryId"]]],null]],null]]],null],[1,"\\n "],[8,[32,10],null,[["@name","@outletArgs"],["split-new-topic-category-after",[28,[32,12],null,[["selectedPosts","updateCategoryId"],[[30,2,["selectedPosts"]],[30,0,["updateCategoryId"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["canAddTags"]],[[[1," "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["tagging.tags"],null]],[13],[1,"\\n "],[8,[32,5],null,[["@tags","@categoryId"],[[30,0,["tags"]],[30,0,["categoryId"]]]],null],[1,"\\n "],[8,[32,10],null,[["@name","@outletArgs"],["split-new-topic-tag-after",[28,[32,12],null,[["selectedPosts","updateTags","tags"],[[30,2,["selectedPosts"]],[30,0,["updateTags"]],[30,0,["tags"]]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["canSplitTopic"]],[[[41,[30,0,["newMessage"]],[[[1," "],[10,2],[12],[1,"\\n "],[1,[28,[32,3],[[28,[32,1],["topic.move_to_new_message.instructions"],[["count"],[[30,2,["selectedPostsCount"]]]]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,"form"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["topic.move_to_new_message.message_title"],null]],[13],[1,"\\n "],[8,[32,4],[[24,1,"split-topic-name"]],[["@value","@placeholderKey"],[[30,0,["topicName"]],"composer.title_placeholder"]],null],[1,"\\n\\n"],[41,[30,0,["canTagMessages"]],[[[1," "],[10,"label"],[12],[1,[28,[32,1],["tagging.tags"],null]],[13],[1,"\\n "],[8,[32,5],null,[["@tags"],[[30,0,["tags"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null]],[]],null]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[32,14],[[24,0,"btn-primary"]],[["@disabled","@action","@icon","@label"],[[30,0,["buttonDisabled"]],[30,0,["performMove"]],"right-from-bracket",[30,0,["buttonTitle"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,["if","mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/move-to-topic.js",scope:()=>[h.default,T.i18n,g.default,_.default,f.default,A.default,d.default,a.fn,C.default,r.Input,m.default,c.default,y.default,S.default,p.default],isStrictMode:!0}),this))()}},20211:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(21044),n=i(77632),r=i(93558),a=i(36376),o=i(31862),l=i(83770),u=i(6809),d=i(13446),c=i(85703),p=i(77598),h=i(93810),m=i(60110);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"loadingSlider",[l.service]))();#sJ=(()=>void dt7948.i(this,"loadingSlider"))();static #t=(()=>dt7948.g(this.prototype,"capabilities",[l.service]))();#v=(()=>void dt7948.i(this,"capabilities"))();static #r=(()=>dt7948.g(this.prototype,"state",[n.tracked],function(){return"ready"}))();#i3=(()=>void dt7948.i(this,"state"))();constructor(){super(...arguments),this.loadingSlider.on("stateChanged",this.stateChanged)}willDestroy(){super.willDestroy(...arguments),this.loadingSlider.off("stateChange",this,"stateChange"),this._deferredStateChange&&(cancelAnimationFrame(this._deferredStateChange),this._deferredStateChange=null)}stateChanged(e){this._deferredStateChange&&(cancelAnimationFrame(this._deferredStateChange),this._deferredStateChange=null),e&&this.ready?this.state="loading":e?(this.state="ready",this._deferredStateChange=requestAnimationFrame(()=>{(0,o.run)(()=>this.state="loading")})):this.state="done"}static #a=(()=>dt7948.n(this.prototype,"stateChanged",[p.bind]))();get containerStyle(){let e=this.loadingSlider.averageLoadingDuration.toFixed(2);return(0,u.htmlSafe)(`--loading-duration: ${e}s`)}onContainerTransitionEnd(e){e.target===e.currentTarget&&"opacity"===e.propertyName&&(this.state="ready")}static #d=(()=>dt7948.n(this.prototype,"onContainerTransitionEnd",[a.action]))();onBarTransitionEnd(e){e.target===e.currentTarget&&"transform"===e.propertyName&&"loading"===this.state&&(this.state="still-loading")}static #g=(()=>dt7948.n(this.prototype,"onBarTransitionEnd",[a.action]))();static #T=(()=>(0,h.setComponentTemplate)((0,m.createTemplateFactory)({id:"FycjnmDY",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,0,["loadingSlider","mode"]],"slider"],null],[[[1," "],[11,0],[16,5,[30,0,["containerStyle"]]],[16,0,[28,[32,1],["loading-indicator-container",[30,0,["state"]],[52,[30,0,["capabilities","isAppWebview"]],"discourse-hub-webview"]],null]],[4,[32,2],["transitionend",[30,0,["onContainerTransitionEnd"]]],null],[12],[1,"\\n "],[11,0],[24,0,"loading-indicator"],[4,[32,2],["transitionend",[30,0,["onBarTransitionEnd"]]],null],[12],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/page-loading-slider.js",scope:()=>[d.eq,c.default,r.on],isStrictMode:!0}),this))()}},20227:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BEHAVIOR_TRANSFORMERS:()=>s,VALUE_TRANSFORMERS:()=>n});let s=Object.freeze(["composer-position:correct-scroll-position","composer-position:editor-touch-move","discovery-topic-list-load-more","full-page-search-load-more","post-menu-toggle-like-action","topic-list-item-click"]),n=Object.freeze(["admin-reports-show-query-params","bulk-select-in-nav-controls","category-available-views","category-description-text","category-display-name","category-text-color","composer-editor-reply-placeholder","composer-save-button-label","composer-service-cannot-submit-post","create-topic-label","flag-description","flag-custom-placeholder","flag-formatted-name","hamburger-dropdown-click-outside-exceptions","header-notifications-avatar-size","home-logo-href","home-logo-image-url","home-logo-minimized","invite-simple-mode-topic","latest-topic-list-item-class","mentions-class","more-topics-tabs","move-to-topic-merge-options","move-to-topic-move-options","navigation-bar-dropdown-icon","navigation-bar-dropdown-mode","parent-category-row-class","parent-category-row-class-mobile","post-class","post-flag-available-flags","post-flag-title","post-menu-buttons","post-menu-collapsed","post-meta-data-poster-name-suppress-similar-name","post-notice-component","post-show-topic-map","post-small-action-class","post-small-action-custom-component","post-small-action-icon","post-text-selection-prevent-close","site-setting-enable-welcome-banner","site-setting-search-experience","small-user-attrs","tag-separator","topic-list-class","topic-list-columns","topic-list-header-sortable-column","topic-list-item-class","topic-list-item-expand-pinned","topic-list-item-mobile-layout","topic-list-item-style","user-field-components"])},20233:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(83770),n=i(86483),r=i(54583),a=i(47752);class o extends a.default{static #e=(()=>dt7948.g(this.prototype,"site",[s.service]))();#s=(()=>void dt7948.i(this,"site"))();get type(){return"category"}get preloadedData(){return this.site.categories||[]}generatePreloadedCssClasses(){return[".hashtag-category-square { background-color: var(--primary-medium); }",...super.generatePreloadedCssClasses()]}generateColorCssClasses(e){let t,i,s;if(e.colors?1===e.colors.length?t=e.colors[0]:(i=e.colors[0],t=e.colors[1]):(t=e.color,e.parentCategory&&"square"===e.styleType&&(i=e.parentCategory.color)),i)s=`background: linear-gradient(-90deg, #${t} 50%, #${i} 50%);`;else if("icon"===e.styleType)s=`color: #${t};`;else{if("square"!==e.styleType)return[];s=`background-color: #${t};`}return[`.hashtag-color--category-${e.id} { ${s} }`]}generateIconHTML(e){e.preloaded?this.onLoad(e):this.load(e.id);let t="";"icon"===e.style_type&&e.icon&&(t=(0,r.iconHTML)(e.icon)),"emoji"===e.style_type&&e.emoji&&(t=(0,n.default)(`:${e.emoji}:`));let i=`hashtag-color--${this.type}-${e.id}`;return`${t}`}isLoaded(e){return!this.site.lazy_load_categories||super.isLoaded(e)}}},20257:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(97276),n=i(54583),r=i(80212),a=i(87102),o=i(37507),l=i(41277);let u={initialize(e){(0,a.withPluginApi)("0.8.7",t=>{function i(e){try{let t=new URL(e,window.location.origin);if(["http:","https:"].includes(t.protocol)||e.startsWith("/")){let t=(0,o.sanitize)(e);if(t&&""!==t.trim()&&!t.includes(">")&&!t.includes("<"))return t}}catch(t){console.warn("Invalid URL encountered:",e,t.message)}return null}t.decorateCookedElement(function(t,a){a&&t.querySelectorAll(".video-placeholder-container").forEach(t=>{if(t.dataset.thumbnailSrc){let e=new Image;e.onload=function(){t.style.backgroundImage="url('"+e.src+"')"},e.src=t.dataset.thumbnailSrc}let o=document.createElement("div"),u=document.createElement("div");o.classList.add("video-placeholder-wrapper"),t.appendChild(o),u.classList.add("video-placeholder-overlay"),t.style.cursor="pointer",t.addEventListener("click",(function t(a,o){let u=o.target.closest(".video-placeholder-container"),d=u.querySelector(".video-placeholder-wrapper"),c=d.querySelector(".video-placeholder-overlay");u.style.cursor="",c.innerHTML=s.spinnerHTML;let p=i(u.dataset.videoSrc),h=i(u.dataset.origSrc),m=null!==h?`data-orig-src="${h}"`:"";if(null===p){let e=d.querySelector(".notice.error");e&&e.remove();let i=document.createElement("div");i.className="notice error",i.innerHTML=(0,n.iconHTML)("triangle-exclamation")+" "+(0,l.i18n)("invalid_video_url"),d.appendChild(i),c.innerHTML=(0,n.iconHTML)("play"),u.style.cursor="pointer",u.addEventListener("click",e=>t(a,e),{once:!0});return}let g=` `;u.insertAdjacentHTML("beforeend",g),u.classList.add("video-container");let f=u.querySelector("video"),_=e.lookup("service:capabilities");if(_.isSafari||_.isIOS){let e=f.querySelector("source");e&&e.parentElement.load()}f.addEventListener("loadeddata",()=>{(0,r.default)(()=>{if(0===f.videoWidth||0===f.videoHeight){let e=document.createElement("div");e.className="notice",e.innerHTML=(0,n.iconHTML)("triangle-exclamation")+" "+(0,l.i18n)("cannot_render_video"),u.appendChild(e)}},500)}),f.addEventListener("canplay",function(){_.isIOS?(0,r.default)(()=>{f.play()},100):f.play(),d.remove(),f.style.display="",u.classList.remove("video-placeholder-container"),u.style.backgroundImage="none"})}).bind(null,a),{once:!0}),u.innerHTML=`${(0,n.iconHTML)("play")}`,o.appendChild(u)})},{onlyStream:!0})})}}},20273:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(36376),n=i(89120),r=i(3558),a=i(85831),o=i(60657);class l extends s.default{loaded=!1;itemsLoaded=0;canLoadMore=!0;content=[];static #e=(()=>dt7948.g(this.prototype,"url",[(0,a.url)("user.username_lower","filter","itemsLoaded","/posts/%@/%@?offset=%@")]))();#sQ=(()=>void dt7948.i(this,"url"))();filterBy(e){return this.loaded&&this.filter===e.filter?n.Promise.resolve():(this.setProperties(Object.assign({itemsLoaded:0,content:[],lastLoadedUrl:null},e)),this.findItems())}findItems(){return this.loading||!this.canLoadMore?n.Promise.reject():(this.set("loading",!0),(0,r.ajax)(this.url).then(e=>{if(e){let t=e.map(e=>o.default.create(e));this.content.pushObjects(t),this.setProperties({loaded:!0,itemsLoaded:this.itemsLoaded+t.length,canLoadMore:t.length>0})}}).finally(()=>this.set("loading",!1)))}}},20281:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function n(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":if(t||n)return r+(s(e)?"sekundy":"sekund");return r+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":if(t||n)return r+(s(e)?"minuty":"minut");return r+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":if(t||n)return r+(s(e)?"hodiny":"hodin");return r+"hodinami";case"d":return t||n?"den":"dnem";case"dd":if(t||n)return r+(s(e)?"dny":"dní");return r+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":if(t||n)return r+(s(e)?"měsíce":"měsíců");return r+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":if(t||n)return r+(s(e)?"roky":"let");return r+"lety"}}return e.defineLocale("cs",{months:{standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},20283:(e,t,i)=>{"use strict";e.exports=i(22644).extend({implicit:[i(67609),i(93076),i(17251),i(68932)]})},20292:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(3558),n=i(21772),r=i(41277);class a extends n.default{titleToken(){return(0,r.i18n)("user.change_email.title")}model(e){return(0,s.ajax)(`/u/confirm-old-email/${e.token}.json`)}}},20317:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{static parse(e){return new s().parse(e)}parse(e){let t={};return(e?.split("|")??[]).forEach(e=>{let[i,s]=e.split(":").filter(Boolean);this[i+"Rule"]?t[i]=this[i+"Rule"](s):t[i]={}}),t}dateBeforeOrEqualRule(e){return{date:new Date(e)}}dateAfterOrEqualRule(e){return{date:new Date(e)}}requiredRule(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t]=e.split(",");return{trim:"trim"===t}}betweenRule(e){if(!e)throw Error("`between` rule expects min/max, eg: between:1,10");let[t,i]=e.split(",").map(Number);return{min:t,max:i}}lengthRule(e){if(!e)throw Error("`length` rule expects min/max, eg: length:1,10");let[t,i]=e.split(",").map(Number);return{min:t,max:i}}}},20362:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(36376),n=i(83770),r=i(47182),a=i(90260);let o=dt7948.c(class extends n.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();async externalLogin(e){let{signup:t=!1,setLoggingIn:i=null}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{i?.(!0),await e.doLogin({signup:t})}catch{i?.(!1)}}static #t=(()=>dt7948.n(this.prototype,"externalLogin",[s.action]))();async singleExternalLogin(e){await this.externalLogin(this.externalLoginMethods[0],e)}static #r=(()=>dt7948.n(this.prototype,"singleExternalLogin",[s.action]))();get isOnlyOneExternalLoginMethod(){return!this.siteSettings.enable_local_logins&&1===this.externalLoginMethods.length}get externalLoginMethods(){return(0,a.findAll)()}},[r.disableImplicitInjections])},20389:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},20400:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>T});var s=i(21044),n=i(42371),r=i(20936),a=i(67685),o=i(35304),l=i(715),u=i(33839),d=i(95145),c=i(58259),p=i(675),h=i(85703),m=i(39671),g=i(47290),f=i(29421),_=i(73147),y=i(58732),b=i(45577),w=i(93810),k=i(60110);class T extends s.default{get tagClassNames(){return this.args.topic.tags?.map(e=>`tag-${e}`)}get additionalClasses(){return(0,b.applyValueTransformer)("latest-topic-list-item-class",[],{topic:this.args.topic})}static #e=(()=>(0,w.setComponentTemplate)((0,k.createTemplateFactory)({id:"GINnRvuQ",block:'[[[1,"\\n "],[10,0],[15,"data-topic-id",[30,1,["id"]]],[15,0,[28,[32,0],["latest-topic-list-item",[30,0,["tagClassNames"]],[52,[30,1,["category"]],[28,[32,1],["category-",[30,1,["category","fullSlug"]]],null]],[52,[30,1,["liked"]],"liked"],[52,[30,1,["archived"]],"archived"],[52,[30,1,["bookmarked"]],"bookmarked"],[52,[30,1,["pinned"]],"pinned"],[52,[30,1,["closed"]],"closed"],[52,[30,1,["visited"]],"visited"],[30,0,["additionalClasses"]]],null]],[12],[1,"\\n "],[8,[32,2],null,[["@name","@connectorTagName","@outletArgs"],["above-latest-topic-list-item","div",[28,[32,3],null,[["topic"],[[30,1]]]]]],null],[1,"\\n\\n "],[8,[32,2],null,[["@name","@outletArgs"],["latest-topic-list-item-topic-poster",[28,[32,3],null,[["topic"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"topic-poster"],[12],[1,"\\n "],[8,[32,4],null,[["@user"],[[30,1,["lastPosterUser"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,5],[[30,1,["lastPosterUser"]]],[["imageSize"],["large"]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,6],null,[["@user"],[[30,1,["lastPosterUser"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,0],[14,0,"main-link"],[12],[1,"\\n "],[10,0],[14,0,"top-row"],[12],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["latest-topic-list-item-main-link-top-row",[28,[32,3],null,[["topic"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@topic","@context"],[[30,1],"topic-list"]],null],[1,"\\n\\n "],[1,[28,[32,8],[[30,1]],null]],[41,[30,1,["featured_link"]],[[[1,"  "],[1,[28,[32,9],[[30,1]],null]],[1,"\\n"]],[]],null],[8,[32,10],null,[["@unreadPosts","@unseen","@url"],[[30,1,["unread_posts"]],[30,1,["unseen"]],[30,1,["lastUnreadUrl"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"bottom-row"],[12],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["latest-topic-list-item-main-link-bottom-row",[28,[32,3],null,[["topic"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,11],[[30,1,["category"]]],null]],[1,[28,[32,12],[[30,1]],[["mode"],["list"]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,2],null,[["@name","@connectorTagName","@outletArgs"],["below-latest-topic-list-item-bottom-row","span",[28,[32,3],null,[["topic"],[[30,1]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"topic-stats"],[12],[1,"\\n "],[8,[32,2],null,[["@name","@connectorTagName","@outletArgs"],["above-latest-topic-list-item-post-count","div",[28,[32,3],null,[["topic"],[[30,1]]]]]],null],[1,"\\n "],[8,[32,2],null,[["@name","@outletArgs"],["latest-topic-list-item-topic-stats",[28,[32,3],null,[["topic"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[8,[32,13],null,[["@topic","@tagName"],[[30,1],"div"]],null],[1,"\\n "],[10,0],[14,0,"topic-last-activity"],[12],[1,"\\n "],[10,3],[15,6,[30,1,["lastPostUrl"]]],[15,"title",[30,1,["bumpedAtTitle"]]],[12],[1,[28,[32,14],[[30,1,["bumpedAt"]]],[["format","noTitle"],["tiny","true"]]]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/latest-topic-list-item.js",scope:()=>[h.default,n.concat,r.default,f.default,d.default,c.default,u.default,l.default,y.default,_.default,o.default,p.default,m.default,a.default,g.default],isStrictMode:!0}),this))()}},20438:(e,t,i)=>{"use strict";i.r(t),i.d(t,{registerOption:()=>r});var s=i(17790),n=i.n(s);function r(){n()("`registerOption() from `pretty-text` is deprecated. Use `helper.registerOptions()` instead.",{since:"2.8.0.beta9",dropFrom:"2.9.0.beta1",id:"discourse.pretty-text.registerOption"})}},20446:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(77632),r=i(93810),a=i(36376),o=i(13446),l=i(44612),u=i(28431),d=i(4445),c=i(64087),p=i(41277),h=i(60110);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"rawEmail",[n.tracked],function(){return this.args.model.rawEmail||""}))();#sX=(()=>void dt7948.i(this,"rawEmail"))();static #t=(()=>dt7948.g(this.prototype,"textPart",[n.tracked],function(){return""}))();#sZ=(()=>void dt7948.i(this,"textPart"))();static #r=(()=>dt7948.g(this.prototype,"htmlPart",[n.tracked],function(){return""}))();#s1=(()=>void dt7948.i(this,"htmlPart"))();static #a=(()=>dt7948.g(this.prototype,"tab",[n.tracked],function(){return"raw"}))();#s0=(()=>void dt7948.i(this,"tab"))();constructor(){super(...arguments),this.args.model.id&&this.loadRawEmail(this.args.model.id)}async loadRawEmail(e){let t=await c.default.loadRawEmail(e);this.rawEmail=t.raw_email,this.textPart=t.text_part,this.htmlPart=t.html_part}static #d=(()=>dt7948.n(this.prototype,"loadRawEmail",[a.action]))();displayRaw(){this.tab="raw"}static #g=(()=>dt7948.n(this.prototype,"displayRaw",[a.action]))();displayTextPart(){this.tab="text_part"}static #T=(()=>dt7948.n(this.prototype,"displayTextPart",[a.action]))();displayHtmlPart(){this.tab="html_part"}static #C=(()=>dt7948.n(this.prototype,"displayHtmlPart",[a.action]))();static #A=(()=>(0,r.setComponentTemplate)((0,h.createTemplateFactory)({id:"fY3pfVw8",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"incoming-email-modal"]],[["@title","@closeModal"],[[28,[32,1],["raw_email.title"],null],[30,1]]],[["body"],[[[[1,"\\n "],[10,0],[14,0,"incoming-email-tabs"],[12],[1,"\\n "],[8,[32,2],[[16,0,[52,[28,[32,3],[[30,0,["tab"]],"raw"],null],"active"]]],[["@action","@label","@title"],[[30,0,["displayRaw"]],"post.raw_email.displays.raw.button","post.raw_email.displays.raw.title"]],null],[1,"\\n\\n"],[41,[30,0,["textPart"]],[[[1," "],[8,[32,2],[[16,0,[52,[28,[32,3],[[30,0,["tab"]],"text_part"],null],"active"]]],[["@action","@label","@title"],[[30,0,["displayTextPart"]],"post.raw_email.displays.text_part.button","post.raw_email.displays.text_part.title"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["htmlPart"]],[[[1," "],[8,[32,2],[[16,0,[52,[28,[32,3],[[30,0,["tab"]],"html_part"],null],"active"]]],[["@action","@label","@title"],[[30,0,["displayHtmlPart"]],"post.raw_email.displays.html_part.button","post.raw_email.displays.html_part.title"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"incoming-email-content"],[12],[1,"\\n"],[41,[28,[32,3],[[30,0,["tab"]],"raw"],null],[[[41,[30,0,["rawEmail"]],[[[1," "],[8,[32,4],null,[["@value"],[[30,0,["rawEmail"]]]],null],[1,""]],[]],[[[1," "],[1,[28,[32,1],["raw_email.not_available"],null]],[1,""]],[]]]],[]],null],[41,[28,[32,3],[[30,0,["tab"]],"text_part"],null],[[[1," "],[8,[32,4],null,[["@value"],[[30,0,["textPart"]]]],null],[1,""]],[]],null],[41,[28,[32,3],[[30,0,["tab"]],"html_part"],null],[[[1," "],[8,[32,5],[[24,0,"incoming-email-html-part"]],[["@html"],[[30,0,["htmlPart"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/raw-email.js",scope:()=>[u.default,p.i18n,l.default,o.eq,r.Textarea,d.default],isStrictMode:!0}),this))()}},20453:(e,t,i)=>{"use strict";function s(e,t){let i=document.createElement("canvas");if(i.getContext){let s=document.createElement("img");s.crossOrigin="anonymous",s.onload=()=>(function(e,t,i){isNaN(i=Math.round(i))||i<1?i="":i<10?i=" "+i:i>99&&(i="99");let s=t.width/16,n=11*s;e.height=e.width=t.width;let r=e.getContext("2d");r.font=`bold ${n}px Arial, sans-serif`,i&&(r.globalAlpha=.4),r.drawImage(t,0,0),r.globalAlpha=1,r.shadowColor="#FFF",r.shadowBlur=2*s,r.shadowOffsetX=0,r.shadowOffsetY=0,r.fillStyle="#FFF",r.fillText(i,s,n),r.fillText(i,s+s,n),r.fillText(i,s,n+s),r.fillText(i,s+s,n+s),r.fillStyle="#000",r.fillText(i,s+s/2,n+s/2);let a=document.createElement("link");a.rel="icon",a.href=e.toDataURL("image/png");let o=document.querySelector("link[rel=icon]"),l=document.querySelector("head");o&&l.removeChild(o),l.appendChild(a)})(i,s,t),s.src=e}}i.r(t),i.d(t,{default:()=>s})},20468:(e,t,i)=>{var s=i(5757),n=i(57955),r=i(39132),a=i(42991),o=i(37984),l=i(36146),u=i(9140),d=i(75483);function c(e,t){var i={a:e};return function e(t,i,s,u){if(t!==i){var c=s[u],_=!1;if(l(t)||l(i))h(t,i,s,u);else if(null==i)o(t)||(p(t,s,u),c=s[u]),c=f(c,new n(n.REMOVE,t,i));else if(r(i))if(r(t))if(t.tagName===i.tagName&&t.namespace===i.namespace&&t.key===i.key){var y=d(t.properties,i.properties);y&&(c=f(c,new n(n.PROPS,t,y))),c=function(t,i,s,a,o){for(var l=t.children,u=function(e,t){var i,s=g(t),n=s.keys,r=s.free;if(r.length===t.length)return{children:t,moves:null};var a=g(e),o=a.keys;if(a.free.length===e.length)return{children:t,moves:null};for(var l=[],u=0,d=r.length,c=0,p=0;p=r.length?t.length:r[u],y=0;y=_&&l.push(b)}var w=l.slice(),k=0,T=[],S=[],C=t.length-e.length;if(C>0&&w.length===t.length){for(var A=!0,p=0;A&&pp?c:p,_=0;_{"use strict";i.r(t),i.d(t,{clearPendingRequests:()=>r,decrementPendingRequests:()=>o,incrementPendingRequests:()=>a,pendingRequests:()=>n});let s=[];function n(){return s.length}function r(){s.length=0}function a(e,t){s.push(t)}function o(e,t){setTimeout(function(){for(let e=0;e9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,i){return e<12?"a.m.":"g.m."}})})},20590:(e,t,i)=>{"use strict";i.r(t),i(93729);var s=i(27494),n=i.n(s),r=i(29054),a=i.n(r),o=i(3028);window.__widget_helpers=o.default,window.virtualDom=a(),window.$||(window.$=window.jQuery=n())},20643:(e,t,i)=>{"use strict";function s(e){"function"==typeof e.constructor.proto&&e.constructor.proto()}i.r(t),i.d(t,{default:()=>s})},20676:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(25164),n=i(675);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,n.categoryLinkHTML)(e,{hideParent:t.hideParent,allowUncategorized:t.allowUncategorized,categoryStyle:t.categoryStyle,link:!!(0,s.isPresent)(t.link)&&t.link})}},20726:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(80387),n=i(2845),r=i(36093);class a extends n.default{constructor(e,t){super(e,t),(0,s.registerDestructor)(this,e=>e.cleanup())}modify(e,t){let[i]=t;this.closeFn=i,this.element=e,document.addEventListener("keydown",this.check,{capture:!0})}check(e){"Escape"===e.key&&(e.stopPropagation(),e.preventDefault(),this.closeFn())}static #e=(()=>dt7948.n(this.prototype,"check",[r.bind]))();cleanup(){document.removeEventListener("keydown",this.check,{capture:!0})}}},20729:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(28431),n=i(41277),r=i(93810),a=i(60110),o=i(29681);let l=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"X46oBiVi",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"fullscreen-table-modal -max"]],[["@title","@closeModal"],[[28,[32,1],["fullscreen_table.view_table"],null],[30,1]]],[["body"],[[[[1,"\\n "],[1,[30,2,["tableHtml"]]],[1,"\\n "]],[]]]]],[1,"\\n"]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/fullscreen-table.js",scope:()=>[s.default,n.i18n],isStrictMode:!0}),(0,o.default)(void 0,"fullscreen-table:FullscreenTable"))},20747:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(42371),n=i(85703),r=i(41277),a=i(93810),o=i(60110),l=i(29681);let u=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"Yj7xPUaG",block:'[[[1,"\\n "],[10,0],[14,0,"small-action topic-post-visited"],[12],[1,"\\n "],[10,0],[15,0,[28,[32,0],["topic-post-visited-line",[28,[32,1],["post-",[30,1,["post_number"]]],null]],null]],[12],[1,"\\n "],[10,1],[14,0,"topic-post-visited-message"],[12],[1,"\\n "],[1,[28,[32,2],["topics.new_messages_marker"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["@post"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/visited-line.js",scope:()=>[n.default,s.concat,r.i18n],isStrictMode:!0}),(0,l.default)(void 0,"visited-line:PostVisitedLine"))},20750:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(36376),n=i(42946),r=i(83770),a=i(77598),o=i(21847);class l{static #e=(()=>dt7948.g(this.prototype,"site",[r.service]))();#s=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"messageBus",[r.service]))();#k=(()=>void dt7948.i(this,"messageBus"))();constructor(e){(0,n.setOwner)(this,e);let t=s.default.create(o.default.get("banner")||{});this.site.set("banner",t),this.messageBus.subscribe("/site/banner",this.onMessage)}teardown(){this.messageBus.unsubscribe("/site/banner",this.onMessage)}onMessage(e){e?this.site.set("banner",s.default.create(e)):this.site.set("banner",null)}static #r=(()=>dt7948.n(this.prototype,"onMessage",[a.bind]))()}let u={after:"message-bus",initialize(e){this.instance=new l(e)},teardown(){this.instance.teardown(),this.instance=null}}},20794:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>x});var s=i(77632),n=i(39352),r=i(93810),a=i(42371),o=i(93558),l=i(36376),u=i(83770),d=i(25164),c=i(13446),p=i(44612),h=i(28431),m=i(66083),g=i(37420),f=i(25815),_=i(3558),y=i(92161),b=i(63779),w=i(77598),k=i(37507),T=i(41277),S=i(61556),C=i(60110);let A=(0,i(89689).A)(i(77632)).cached;class D{static #e=(()=>dt7948.g(this.prototype,"title",[s.tracked]))();#iR=(()=>void dt7948.i(this,"title"))();static #t=(()=>dt7948.g(this.prototype,"links",[s.tracked]))();#s3=(()=>void dt7948.i(this,"links"))();static #r=(()=>dt7948.g(this.prototype,"secondaryLinks",[s.tracked]))();#s2=(()=>void dt7948.i(this,"secondaryLinks"))();constructor(e){let{title:t,links:i,secondaryLinks:s,id:n,publicSection:r,sectionType:a,hideTitleInput:o}=e;this.title=t,this.public=r,this.sectionType=a,this.links=i,this.secondaryLinks=s,this.id=n,this.hideTitleInput=o}get valid(){let e=this.links.filter(e=>!e._destroy).concat(this.secondaryLinks?.filter(e=>!e._destroy)||[]),t=e.length>0&&e.every(e=>e.valid);return this.validTitle&&t}get validTitle(){return!this.#s8&&!this.#s4}get invalidTitleMessage(){if(void 0!==this.title){if(this.#s8)return(0,T.i18n)("sidebar.sections.custom.title.validation.blank");if(this.#s4)return(0,T.i18n)("sidebar.sections.custom.title.validation.maximum",{count:b.SIDEBAR_SECTION.max_title_length})}}get titleCssClass(){return void 0===this.title||this.validTitle?"":"warning"}get #s8(){return(0,d.isEmpty)(this.title)}get #s4(){return this.title.length>b.SIDEBAR_SECTION.max_title_length}}class M{static #e=(()=>dt7948.g(this.prototype,"icon",[s.tracked]))();#s7=(()=>void dt7948.i(this,"icon"))();static #t=(()=>dt7948.g(this.prototype,"name",[s.tracked]))();#sE=(()=>void dt7948.i(this,"name"))();static #r=(()=>dt7948.g(this.prototype,"value",[s.tracked]))();#tV=(()=>void dt7948.i(this,"value"))();static #a=(()=>dt7948.g(this.prototype,"_destroy",[s.tracked]))();#s9=(()=>void dt7948.i(this,"_destroy"))();constructor(e){let{router:t,icon:i,name:s,value:n,id:r,objectId:a,segment:o}=e;this.router=t,this.icon=i||"link",this.name=s,this.value=n,this.id=r,this.httpHost="http://"+window.location.host,this.httpsHost="https://"+window.location.host,this.objectId=a,this.segment=o}get path(){return this.value?.replace(this.httpHost,"").replace(this.httpsHost,"")}get valid(){return this.validIcon&&this.validName&&this.validValue}get validIcon(){return!this.#s6&&!this.#s5}get validName(){return!this.#ne&&!this.#nt}get validValue(){return!this.#ni&&!this.#ns&&!this.#nn}get invalidIconMessage(){return this.#s6?(0,T.i18n)("sidebar.sections.custom.links.icon.validation.blank"):this.#s5?(0,T.i18n)("sidebar.sections.custom.links.icon.validation.maximum",{count:b.SIDEBAR_URL.max_icon_length}):void 0}get invalidNameMessage(){if(void 0!==this.name){if(this.#ne)return(0,T.i18n)("sidebar.sections.custom.links.name.validation.blank");if(this.#nt)return(0,T.i18n)("sidebar.sections.custom.links.name.validation.maximum",{count:b.SIDEBAR_URL.max_name_length})}}get invalidValueMessage(){if(void 0!==this.value){if(this.#ni)return(0,T.i18n)("sidebar.sections.custom.links.value.validation.blank");if(this.#ns)return(0,T.i18n)("sidebar.sections.custom.links.value.validation.maximum",{count:b.SIDEBAR_URL.max_value_length});if(this.#nn)return(0,T.i18n)("sidebar.sections.custom.links.value.validation.invalid")}}get iconCssClass(){return void 0===this.icon||this.validIcon?"":"warning"}get nameCssClass(){return void 0===this.name||this.validName?"":"warning"}get valueCssClass(){return void 0===this.value||this.validValue?"":"warning"}get isPrimary(){return"primary"===this.segment}get #s6(){return(0,d.isEmpty)(this.icon)}get #s5(){return this.icon.length>b.SIDEBAR_URL.max_icon_length}get #ne(){return(0,d.isEmpty)(this.name)}get #nt(){return this.name.length>b.SIDEBAR_URL.max_name_length}get #ni(){return(0,d.isEmpty)(this.value)}get #ns(){return this.value.length>b.SIDEBAR_URL.max_value_length}get #nn(){return this.path&&!this.#nr()}#nr(){try{return new URL(this.value,document.location.origin)}catch{return!1}}}class x extends r.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[u.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"router",[u.service]))();#i=(()=>void dt7948.i(this,"router"))();static #r=(()=>dt7948.g(this.prototype,"flash",[s.tracked]))();#b=(()=>void dt7948.i(this,"flash"))();static #a=(()=>dt7948.g(this.prototype,"flashType",[s.tracked]))();#iY=(()=>void dt7948.i(this,"flashType"))();nextObjectId=0;get transformedModel(){let e=this.model?.section;return new D(e?{title:e.title,publicSection:e.public,sectionType:e.section_type,links:e.links.reduce((e,t)=>("primary"===t.segment&&(this.nextObjectId++,e.push(this.initLink(t))),e),(0,n.A)()),secondaryLinks:e.links.reduce((e,t)=>("secondary"===t.segment&&(this.nextObjectId++,e.push(this.initLink(t))),e),(0,n.A)()),id:e.id,hideTitleInput:this.model.hideSectionHeader}:{links:(0,n.A)([new M({router:this.router,objectId:this.nextObjectId,segment:"primary"})])})}static #d=(()=>dt7948.n(this.prototype,"transformedModel",[A]))();initLink(e){return new M({router:this.router,icon:e.icon,name:e.name,value:e.value,id:e.id,objectId:this.nextObjectId,segment:e.segment})}create(){return(0,_.ajax)("/sidebar_sections",{type:"POST",contentType:"application/json",dataType:"json",data:JSON.stringify({title:this.transformedModel.title,public:this.transformedModel.public,links:this.transformedModel.links.map(e=>({icon:e.icon,name:e.name,value:e.path}))})}).then(e=>{this.currentUser.set("sidebar_sections",this.currentUser.sidebar_sections.concat(e.sidebar_section)),this.closeModal()}).catch(e=>{this.flash=(0,k.sanitize)((0,y.extractError)(e)),this.flashType="error"})}update(){this.wasPublic||this.isPublic?this.#na():this.#no()}#na(){return this.dialog.yesNoConfirm({message:this.isPublic?(0,T.i18n)("sidebar.sections.custom.update_public_confirm"):(0,T.i18n)("sidebar.sections.custom.mark_as_private_confirm"),didConfirm:()=>this.#no()})}#no(){return(0,_.ajax)(`/sidebar_sections/${this.transformedModel.id}`,{type:"PUT",contentType:"application/json",dataType:"json",data:JSON.stringify({title:this.transformedModel.title,public:this.transformedModel.public,links:this.transformedModel.links.concat(this.transformedModel?.secondaryLinks||[]).map(e=>({id:e.id,icon:e.icon,name:e.name,value:e.path,segment:e.segment,_destroy:e._destroy}))})}).then(e=>{let t=this.currentUser.sidebar_sections.map(t=>t.id===e.sidebar_section.id?e.sidebar_section:t);this.currentUser.set("sidebar_sections",t),this.closeModal()}).catch(e=>{this.flash=(0,k.sanitize)((0,y.extractError)(e)),this.flashType="error"})}get activeLinks(){return this.transformedModel.links.filter(e=>!e._destroy)}get activeSecondaryLinks(){return this.transformedModel.secondaryLinks?.filter(e=>!e._destroy)}get header(){return this.transformedModel.id?"sidebar.sections.custom.edit":"sidebar.sections.custom.add"}get isPublic(){return this.transformedModel.public}get wasPublic(){return this.model?.section?.public}focusNewRowInput(e){document.querySelector(`[data-row-id="${e}"] .icon-picker summary`).focus()}static #g=(()=>dt7948.n(this.prototype,"focusNewRowInput",[w.afterRender]))();setDraggedLink(e){this.draggedLink=e}static #T=(()=>dt7948.n(this.prototype,"setDraggedLink",[w.bind]))();reorder(e,t){if(this.draggedLink!==e)if(this.draggedLink.isPrimary?this.transformedModel.links.removeObject(this.draggedLink):this.transformedModel.secondaryLinks?.removeObject(this.draggedLink),e.isPrimary){let i=this.transformedModel.links.indexOf(e);this.draggedLink.segment="primary",this.transformedModel.links.insertAt(t?i:i+1,this.draggedLink)}else{this.draggedLink.segment="secondary";let i=this.transformedModel.secondaryLinks.indexOf(e);this.transformedModel.secondaryLinks.insertAt(t?i:i+1,this.draggedLink)}}static #C=(()=>dt7948.n(this.prototype,"reorder",[w.bind]))();get canDelete(){return this.transformedModel.id&&!this.transformedModel.sectionType}deleteLink(e){e.id?e._destroy="1":e.isPrimary?this.transformedModel.links.removeObject(e):this.transformedModel.secondaryLinks.removeObject(e)}static #A=(()=>dt7948.n(this.prototype,"deleteLink",[w.bind]))();addLink(){this.nextObjectId=this.nextObjectId+1,this.transformedModel.links.pushObject(new M({router:this.router,objectId:this.nextObjectId,segment:"primary"})),this.focusNewRowInput(this.nextObjectId)}static #D=(()=>dt7948.n(this.prototype,"addLink",[l.action]))();addSecondaryLink(){this.nextObjectId=this.nextObjectId+1,this.transformedModel.secondaryLinks.pushObject(new M({router:this.router,objectId:this.nextObjectId,segment:"secondary"})),this.focusNewRowInput(this.nextObjectId)}static #M=(()=>dt7948.n(this.prototype,"addSecondaryLink",[l.action]))();resetToDefault(){return this.dialog.yesNoConfirm({message:(0,T.i18n)("sidebar.sections.custom.reset_confirm"),didConfirm:()=>(0,_.ajax)(`/sidebar_sections/reset/${this.transformedModel.id}`,{type:"PUT"}).then(e=>{this.currentUser.sidebar_sections.shiftObject(),this.currentUser.sidebar_sections.unshiftObject(e.sidebar_section),this.closeModal()}).catch(e=>{this.flash=(0,k.sanitize)((0,y.extractError)(e)),this.flashType="error"}),didCancel:()=>{this.closeModal()}})}static #E=(()=>dt7948.n(this.prototype,"resetToDefault",[l.action]))();save(){this.transformedModel.id?this.update():this.create()}static #P=(()=>dt7948.n(this.prototype,"save",[l.action]))();delete(){return this.dialog.yesNoConfirm({message:this.model.section.public?(0,T.i18n)("sidebar.sections.custom.delete_public_confirm"):(0,T.i18n)("sidebar.sections.custom.delete_confirm"),didConfirm:()=>(0,_.ajax)(`/sidebar_sections/${this.transformedModel.id}`,{type:"DELETE"}).then(()=>{let e=this.currentUser.sidebar_sections.filter(e=>e.id!==this.transformedModel.id);this.currentUser.set("sidebar_sections",e),this.closeModal()}).catch(e=>{this.flash=(0,k.sanitize)((0,y.extractError)(e)),this.flashType="error"})})}static #I=(()=>dt7948.n(this.prototype,"delete",[l.action]))();static #j=(()=>(0,r.setComponentTemplate)((0,C.createTemplateFactory)({id:"skFDswWr",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"sidebar-section-form-modal"]],[["@closeModal","@flash","@flashType","@title"],[[30,1],[30,0,["flash"]],[30,0,["flashType"]],[28,[32,1],[[30,0,["header"]]],null]]],[["body","footer"],[[[[1,"\\n "],[10,"form"],[14,0,"form-horizontal sidebar-section-form"],[12],[1,"\\n"],[41,[51,[30,0,["transformedModel","hideTitleInput"]]],[[[1," "],[10,0],[14,0,"sidebar-section-form__input-wrapper"],[12],[1,"\\n "],[10,"label"],[14,"for","section-name"],[12],[1,"\\n "],[1,[28,[32,1],["sidebar.sections.custom.title.label"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,2],[[24,3,"section-name"],[16,0,[30,0,["transformedModel","titleCssClass"]]],[24,1,"section-name"],[4,[32,3],["input",[28,[32,4],[[28,[32,5],[[28,[31,1],[[30,0,["transformedModel","title"]]],null]],null]],null]],null]],[["@type","@value"],["text",[30,0,["transformedModel","title"]]]],null],[1,"\\n\\n"],[41,[30,0,["transformedModel","invalidTitleMessage"]],[[[1," "],[10,0],[14,0,"title warning"],[12],[1,"\\n "],[1,[30,0,["transformedModel","invalidTitleMessage"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,"role","table"],[15,"aria-rowcount",[30,0,["activeLinks","length"]]],[14,0,"sidebar-section-form__links-wrapper"],[12],[1,"\\n\\n "],[10,0],[14,0,"row-wrapper header"],[14,"role","row"],[12],[1,"\\n "],[10,0],[14,0,"input-group link-icon"],[14,"role","columnheader"],[14,"aria-sort","none"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["sidebar.sections.custom.links.icon.label"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"input-group link-name"],[14,"role","columnheader"],[14,"aria-sort","none"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["sidebar.sections.custom.links.name.label"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"input-group link-url"],[14,"role","columnheader"],[14,"aria-sort","none"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["sidebar.sections.custom.links.value.label"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[42,[28,[31,4],[[28,[31,4],[[30,0,["activeLinks"]]],null]],null],null,[[[1," "],[8,[32,6],null,[["@link","@deleteLink","@reorderCallback","@setDraggedLinkCallback"],[[30,2],[30,0,["deleteLink"]],[30,0,["reorder"]],[30,0,["setDraggedLink"]]]],null],[1,"\\n"]],[2]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,7],[[24,0,"btn-flat btn-text add-link"]],[["@action","@title","@icon","@label","@ariaLabel"],[[30,0,["addLink"]],"sidebar.sections.custom.links.add","plus","sidebar.sections.custom.links.add","sidebar.sections.custom.links.add"]],null],[1,"\\n\\n"],[41,[30,0,["transformedModel","sectionType"]],[[[1," "],[10,"hr"],[12],[13],[1,"\\n "],[10,"h3"],[12],[1,[28,[32,1],["sidebar.sections.custom.more_menu"],null]],[13],[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[30,0,["activeSecondaryLinks"]]],null]],null],null,[[[1," "],[8,[32,6],null,[["@link","@deleteLink","@reorderCallback","@setDraggedLinkCallback"],[[30,3],[30,0,["deleteLink"]],[30,0,["reorder"]],[30,0,["setDraggedLink"]]]],null],[1,"\\n"]],[3]],null],[1," "],[8,[32,7],[[24,0,"btn-flat btn-text add-link"]],[["@action","@title","@icon","@label","@ariaLabel"],[[30,0,["addSecondaryLink"]],"sidebar.sections.custom.links.add","plus","sidebar.sections.custom.links.add","sidebar.sections.custom.links.add"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,7],[[24,1,"save-section"],[24,0,"btn-primary"]],[["@action","@label","@ariaLabel","@disabled"],[[30,0,["save"]],"sidebar.sections.custom.save","sidebar.sections.custom.save",[28,[32,8],[[30,0,["transformedModel","valid"]]],null]]],null],[1,"\\n"],[41,[28,[32,9],[[30,0,["currentUser","admin"]]],null],[[[1," "],[10,0],[15,0,[29,["mark-public-wrapper\\n ",[52,[30,0,["transformedModel","sectionType"]],"-disabled"]]]],[12],[1,"\\n "],[10,"label"],[14,0,"checkbox-label"],[12],[1,"\\n"],[41,[30,0,["transformedModel","sectionType"]],[[[1," "],[8,[32,10],[[24,0,"always-public-tooltip"]],[["@content"],[[28,[32,1],["sidebar.sections.custom.always_public"],null]]],[["trigger"],[[[[1,"\\n "],[1,[28,[32,11],["square-check"],null]],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["sidebar.sections.custom.public"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mark-public"],[16,"disabled",[30,0,["transformedModel","sectionType"]]]],[["@type","@checked"],["checkbox",[30,0,["transformedModel","public"]]]],null],[1,"\\n "],[10,1],[12],[1,[28,[32,1],["sidebar.sections.custom.public"],null]],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["canDelete"]],[[[1," "],[8,[32,7],[[24,1,"delete-section"],[24,0,"btn-danger delete"]],[["@icon","@action","@label","@ariaLabel"],["trash-can",[30,0,["delete"]],"sidebar.sections.custom.delete","sidebar.sections.custom.delete"]],null],[1,"\\n"]],[]],null],[41,[30,0,["transformedModel","sectionType"]],[[[1," "],[8,[32,7],[[24,0,"btn-flat btn-text reset-link"]],[["@action","@icon","@title","@label","@ariaLabel"],[[30,0,["resetToDefault"]],"arrow-rotate-left","sidebar.sections.custom.links.reset","sidebar.sections.custom.links.reset","sidebar.sections.custom.links.reset"]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal","link","link"],false,["unless","mut","if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/sidebar-section-form.js",scope:()=>[h.default,T.i18n,r.Input,o.on,f.default,a.fn,m.default,p.default,c.not,c.and,S.default,g.default],isStrictMode:!0}),this))()}},20816:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(21044),n=i(36376),r=i(83770),a=i(44612),o=i(95306),l=i(18740),u=i(94611),d=i(41277),c=i(93810),p=i(60110);class h extends s.default{get isViewingPostsByUsername(){return this.args.streamFilters.username_filters?.length}get isViewingRepliesToPostNumber(){return!!this.args.streamFilters.replies_to_post_number}get isViewingSubset(){return this.args.streamFilters.filter_upwards_post_id||this.args.streamFilters.mixedHiddenPosts}get isViewingSummary(){return"summary"===this.args.streamFilters.filter}get firstUserPost(){return this.args.posts[1]}get sourcePost(){return this.args.posts.find(e=>e.post_number===this.args.streamFilters.replies_to_post_number)}get userPostsCount(){return parseInt(this.args.filteredPostsCount,10)-1}jumpToPost(){u.default.jumpToPost(this.args.streamFilters.replies_to_post_number)}static #e=(()=>dt7948.n(this.prototype,"jumpToPost",[n.action]))();static #t=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"jIL8h4qE",block:'[[[1,"\\n "],[10,0],[14,0,"posts-filtered-notice"],[12],[1,"\\n"],[41,[30,0,["isViewingSubset"]],[[[1," "],[10,1],[14,0,"filtered-replies-viewing"],[12],[1,"\\n "],[1,[28,[32,0],["post.filtered_replies.viewing_subset"],null]],[1,"\\n "],[8,[32,1],null,[["@streamFilters","@cancelFilter"],[[30,1],[30,2]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["isViewingRepliesToPostNumber"]],[[[1," "],[10,1],[14,0,"filtered-replies-viewing"],[12],[1,"\\n "],[1,[28,[32,0],["post.filtered_replies_viewing"],[["count"],[[30,0,["sourcePost","reply_count"]]]]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"filtered-user-row"],[12],[1,"\\n "],[10,1],[14,0,"filtered-avatar"],[12],[1,"\\n "],[8,[32,2],null,[["@size","@user"],["small",[30,0,["sourcePost"]]]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,3],[[24,0,"filtered-jump-to-post"]],[["@translatedLabel","@action"],[[28,[32,0],["post.filtered_replies.post_number"],[["username","post_number"],[[30,0,["sourcePost","username"]],[30,1,["replies_to_post_number"]]]]],[30,0,["jumpToPost"]]]],null],[1,"\\n "],[8,[32,1],null,[["@streamFilters","@cancelFilter"],[[30,1],[30,2]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["isViewingSummary"]],[[[1," "],[10,1],[14,0,"filtered-replies-viewing"],[12],[1,"\\n "],[1,[28,[32,0],["post.filtered_replies.viewing_summary"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],null,[["@streamFilters","@cancelFilter"],[[30,1],[30,2]]],null],[1,"\\n"]],[]],[[[41,[30,0,["isViewingPostsByUsername"]],[[[1," "],[10,1],[14,0,"filtered-replies-viewing"],[12],[1,"\\n "],[1,[28,[32,0],["post.filtered_replies.viewing_posts_by"],[["post_count"],[[30,0,["userPostsCount"]]]]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"filtered-avatar"],[12],[1,"\\n "],[8,[32,2],null,[["@size","@user"],["small",[30,0,["firstUserPost"]]]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,4],null,[["@post"],[[30,0,["firstUserPost"]]]],null],[1,"\\n "],[8,[32,1],null,[["@streamFilters","@cancelFilter"],[[30,1],[30,2]]],null],[1,"\\n "]],[]],null]],[]]]],[]]]],[]]],[1," "],[13],[1,"\\n "]],["@streamFilters","@cancelFilter"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/filtered-notice.js",scope:()=>[d.i18n,m,l.default,a.default,o.default],isStrictMode:!0}),this))()}class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[r.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();showAll(){this.args.cancelFilter(),this.appEvents.trigger("post-stream:filter-show-all",this.args.streamFilters)}static #t=(()=>dt7948.n(this.prototype,"showAll",[n.action]))();static #r=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"v1CiJaO/",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-primary filtered-replies-show-all"]],[["@icon","@label","@action"],["up-down","post.filtered_replies.show_all",[30,0,["showAll"]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/filtered-notice.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},20832:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(83770),r=i(6809),a=i(675),o=i(15330),l=i(54583),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"pmTopicTrackingState",[n.service]))();#i4=(()=>void dt7948.i(this,"pmTopicTrackingState"))();static #r=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();static #a=(()=>dt7948.g(this.prototype,"topicTrackingState",[n.service]))();#tA=(()=>void dt7948.i(this,"topicTrackingState"))();groupLink(e){return`${(0,l.iconHTML)("users")} ${e}`}get privateMessageBrowseMoreMessage(){let e=this.args.topic.get("suggested_group_name"),t=e?"group":"user",i=this.pmTopicTrackingState.lookupCount("unread",{inboxFilter:t,groupName:e}),s=this.pmTopicTrackingState.lookupCount("new",{inboxFilter:t,groupName:e});if(i+s>0){let t=i>0&&s>0;return e?u.default.messageFormat("user.messages.read_more_group_pm_MF",{HAS_UNREAD_AND_NEW:t,UNREAD:i,NEW:s,username:this.currentUser.username,groupName:e,groupLink:this.groupLink(e),basePath:(0,o.default)("")}):u.default.messageFormat("user.messages.read_more_personal_pm_MF",{HAS_UNREAD_AND_NEW:t,UNREAD:i,NEW:s,username:this.currentUser.username,basePath:(0,o.default)("")})}return e?(0,u.i18n)("user.messages.read_more_in_group",{groupLink:this.groupLink(e)}):(0,u.i18n)("user.messages.read_more",{basePath:(0,o.default)(""),username:this.currentUser.username})}get topicBrowseMoreMessage(){let e=this.args.topic.get("category");e&&e.id===this.site.uncategorized_category_id&&(e=null);let t=0,i=0;return(this.currentUser&&(t=this.topicTrackingState.countUnread(),i=this.topicTrackingState.countNew()),i+t>0)?u.default.messageFormat("topic.read_more_MF",{HAS_UNREAD_AND_NEW:t>0&&i>0,UNREAD:t,NEW:i,HAS_CATEGORY:!!e,categoryLink:e?(0,a.categoryBadgeHTML)(e):null,basePath:(0,o.default)("")}):e?(0,u.i18n)("topic.read_more_in_category",{categoryLink:(0,a.categoryBadgeHTML)(e),latestLink:(0,o.default)("/latest")}):(0,u.i18n)("topic.read_more",{categoryLink:(0,o.default)("/categories"),latestLink:(0,o.default)("/latest")})}static #d=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"xS5DWdKU",block:'[[[1,"\\n "],[10,"h3"],[14,0,"more-topics__browse-more"],[12],[1,"\\n"],[41,[30,1,["isPrivateMessage"]],[[[1," "],[1,[28,[32,0],[[30,0,["privateMessageBrowseMoreMessage"]]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],[[30,0,["topicBrowseMoreMessage"]]],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/more-topics/browse-more.js",scope:()=>[r.htmlSafe],isStrictMode:!0}),this))()}},20848:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addQuickSearchRandomTip:()=>h,default:()=>f,removeDefaultQuickSearchRandomTips:()=>g,resetQuickSearchRandomTips:()=>m});var s=i(21044),n=i(93558),r=i(36376),a=i(83770),o=i(85703),l=i(41277),u=i(93810),d=i(60110);let c=[{label:"#",description:(0,l.i18n)("search.tips.category_tag"),clickable:!0},{label:"@",description:(0,l.i18n)("search.tips.author"),clickable:!0},{label:"in:",description:(0,l.i18n)("search.tips.in"),clickable:!0},{label:"status:",description:(0,l.i18n)("search.tips.status"),clickable:!0},{label:(0,l.i18n)("search.tips.full_search_key",{modifier:"Ctrl"}),description:(0,l.i18n)("search.tips.full_search")},{label:"@me",description:(0,l.i18n)("search.tips.me")}],p=[];function h(e){p.includes(e)||p.push(e)}function m(){p=[].concat(c)}function g(){p=p.filter(e=>!c.includes(e))}m();class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"search",[a.service]))();#tC=(()=>void dt7948.i(this,"search"))();constructor(){super(...arguments),this.randomTip=p[Math.floor(Math.random()*p.length)]}tipSelected(e){e.target.classList.contains("tip-clickable")&&(this.args.searchTermChanged(this.randomTip.label),this.search.focusSearchInput(),e.stopPropagation(),e.preventDefault())}static #t=(()=>dt7948.n(this.prototype,"tipSelected",[r.action]))();static #r=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"I5QpCe4W",block:'[[[1,"\\n "],[10,"li"],[14,0,"search-random-quick-tip"],[12],[1,"\\n "],[11,"button"],[16,0,[28,[32,0],["tip-label",[52,[30,0,["randomTip","clickable"]],"tip-clickable"]],null]],[24,"aria-describedby","tip-description"],[4,[32,1],["click",[30,0,["tipSelected"]]],null],[12],[1,"\\n "],[1,[30,0,["randomTip","label"]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,1],[14,1,"tip-description"],[12],[1,"\\n "],[1,[30,0,["randomTip","description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/search-menu/results/random-quick-tip.js",scope:()=>[o.default,n.on],isStrictMode:!0}),this))()}},20936:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(21044);i(77632);var n=i(93810),r=i(42371),a=i(36376),o=i(42946),l=i(83770),u=i(87116),d=i(13446),c=i(34314),p=i(20936),h=i(77598),m=i(1933),g=i(16403),f=i(80184),_=i(60110);let y=(0,i(89689).A)(i(77632)).cached;class b extends s.default{static #e=(()=>dt7948.g(this.prototype,"clientErrorHandler",[l.service]))();#nl=(()=>void dt7948.i(this,"clientErrorHandler"))();context={...(0,g.helperContext)(),get(){return(0,m.default)("Plugin outlet context is no longer an EmberObject - using `get()` is deprecated.",{id:"discourse.plugin-outlet-context-get"}),(0,a.get)(this,...arguments)}};constructor(){let e=super(...arguments);return this.args.args&&(0,m.default)(`PluginOutlet arguments should now be passed using \`@outletArgs=\` instead of \`@args=\` (outlet: ${this.args.name})`,{id:"discourse.plugin-outlet-args"}),e}getConnectors(){let{hasBlock:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,f.renderedConnectorsFor)(this.args.name,this.outletArgsWithDeprecations,this.context,(0,o.getOwner)(this));if(t.length>1&&e){let e=`Multiple connectors were registered for the ${this.args.name} outlet. Using the first.`;return this.clientErrorHandler.displayErrorNotice(e),console.error(e,t.map(e=>e.humanReadableName)),[t[0]]}return t}static #t=(()=>dt7948.n(this.prototype,"getConnectors",[h.bind]))();connectorsExist(){let{hasBlock:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,f.connectorsExist)(this.args.name)||e&&((0,f.connectorsExist)(this.args.name+"__before")||(0,f.connectorsExist)(this.args.name+"__after"))}static #r=(()=>dt7948.n(this.prototype,"connectorsExist",[h.bind]))();get outletArgs(){return this.args.outletArgs||this.args.args||{}}static #a=(()=>dt7948.n(this.prototype,"outletArgs",[y]))();get outletArgsWithDeprecations(){return this.args.deprecatedArgs?(0,f.buildArgsWithDeprecations)(this.outletArgs,this.args.deprecatedArgs||{},{outletName:this.args.name}):this.outletArgs}static #d=(()=>dt7948.n(this.prototype,"outletArgsWithDeprecations",[y]))();safeCurryComponent(e,t){if(e.prototype instanceof n.default){for(let i of Object.keys(t))if(e.prototype.hasOwnProperty(i)){(0,m.default)(`Unable to set @${i} on connector for ${this.args.name}, because a property on the component class clashes with the argument name. Resolve the clash, or convert to a glimmer component.`,{id:"discourse.plugin-outlet-classic-args-clash"});let e=Object.getOwnPropertyDescriptors(t);delete e[i],t=Object.defineProperties({},e)}}return(0,u.A)(e,t,(0,o.getOwner)(this))}static #g=(()=>dt7948.n(this.prototype,"safeCurryComponent",[h.bind]))();static #T=(()=>(0,n.setComponentTemplate)((0,_.createTemplateFactory)({id:"QLIyc32e",block:'[[[41,[28,[30,0,["connectorsExist"]],null,[["hasBlock"],[[48,[30,7]]]]],[[[41,[48,[30,7]],[[[8,[32,0],null,[["@name","@outletArgs"],[[28,[32,1],[[30,1],"__before"],null],[30,0,["outletArgsWithDeprecations"]]]],null]],[]],null],[42,[28,[31,3],[[28,[31,3],[[28,[30,0,["getConnectors"]],null,[["hasBlock"],[[48,[30,7]]]]]],null]],null],null,[[[41,[30,2,["componentClass"]],[[[44,[[28,[30,0,["safeCurryComponent"]],[[30,2,["componentClass"]],[30,0,["outletArgsWithDeprecations"]]],null]],[[[8,[30,3],null,[["@outletArgs"],[[30,0,["outletArgsWithDeprecations"]]]],[["default"],[[[[18,7,null]],[]]]]]],[3]]]],[]],[[[41,[30,4],[[[8,[30,2,["templateOnly"]],null,[["@outletArgs"],[[30,0,["outletArgsWithDeprecations"]]]],[["default"],[[[[18,7,null]],[]]]]]],[]],[[[8,[32,2],[[16,0,[30,2,["classicClassNames"]]]],[["@connector","@args","@deprecatedArgs","@outletArgs","@tagName","@layout"],[[30,2],[30,0,["outletArgs"]],[30,5],[30,0,["outletArgsWithDeprecations"]],[28,[32,3],[[30,6],""],null],[30,2,["template"]]]],[["default"],[[[[18,7,null]],[]]]]]],[]]]],[]]]],[2]],[[[18,7,null]],[]]],[41,[48,[30,7]],[[[8,[32,0],null,[["@name","@outletArgs"],[[28,[32,1],[[30,1],"__after"],null],[30,0,["outletArgsWithDeprecations"]]]],null]],[]],null]],[]],[[[18,7,null]],[]]]],["@name","c","CurriedComponent","@defaultGlimmer","@deprecatedArgs","@connectorTagName","&default"],false,["if","has-block","each","-track-array","let","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/plugin-outlet.js",scope:()=>[p.default,r.concat,c.default,d.or],isStrictMode:!0}),this))()}},21044:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(93810),n=i(59432);let r=i(45132).default;(0,s.setComponentManager)(e=>new n.default(e),r);let a=r},21249:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(93810),n=i(20936),r=i(71425),a=i(29421),o=i(41277),l=i(60110);class u extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"xR7y0/gE",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["category-name-fields-details",[28,[32,1],null,[["category"],[[30,0,["category"]]]]]]],[["default"],[[[[1,"\\n "],[10,"section"],[14,0,"field category-name-fields"],[12],[1,"\\n"],[41,[51,[30,0,["category","isUncategorizedCategory"]]],[[[1," "],[10,"section"],[14,0,"field-item"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,2],["category.name"],null]],[13],[1,"\\n "],[8,[32,3],[[24,0,"category-name"]],[["@value","@placeholderKey","@maxlength"],[[30,0,["category","name"]],"category.name_placeholder","50"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"section"],[14,0,"field-item"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,2],["category.slug"],null]],[13],[1,"\\n "],[8,[32,3],null,[["@value","@placeholderKey","@maxlength"],[[30,0,["category","slug"]],"category.slug_placeholder","255"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[],false,["unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/category-name-fields.js",scope:()=>[n.default,a.default,o.i18n,r.default],isStrictMode:!0}),this))()}},21315:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(77632);class n{static #e=(()=>dt7948.g(this.prototype,"linkDragCss",[s.tracked]))();#nu=(()=>void dt7948.i(this,"linkDragCss"))();constructor(e,t){let{external:i,icon:s,id:n,name:r,value:a}=e;this.external=i,this.prefixValue=s,this.id=n,this.name=r,this.text=r,this.value=a,this.section=t,this.withAnchor=a.match(/#\w+$/gi)}get shouldDisplay(){return!0}}},21361:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(93810),n=i(93558),r=i(60110);class a extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,r.createTemplateFactory)({id:"s7oOE0o5",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"reviewable-input-textarea"],[4,[32,1],["change",[30,0,["valueChanged"]]],null]],[["@value"],[[30,0,["value"]]]],null],[1," "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-field-textarea.js",scope:()=>[s.Textarea,n.on],isStrictMode:!0}),this))()}},21430:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(77688),n=i(3558),r=i(77598),a=i(1933),o=i(60964),l=i(21847),u=i(46694),d=i(17586),c=i(41277);class p extends s.default{static categoriesFrom(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=["week","month"].find(e=>t.category_list.categories.filter(t=>t[`topics_${e}`]>0).length>=.66*t.category_list.categories.length)||"all";t.category_list.categories.forEach(e=>u.default.current().updateCategory(e));let n=p.create({store:e});return t.category_list.categories.forEach(e=>{e=this._buildCategoryResult(e,s),(!i||e.parent_category_id!==i.id)&&(i||e.parent_category_id)||n.pushObject(e)}),n}static _buildCategoryResult(e,t){e.topics&&(e.topics=e.topics.map(e=>d.default.create(e)));let i=e[`topics_${t}`];if(("week"===t||"month"===t)&&i>0){let s=(0,c.i18n)(`categories.topic_stat_unit.${t}`);e.stat=(0,c.i18n)("categories.topic_stat",{count:i,number:`${(0,o.number)(i)}`,unit:`${s}`}),e.statTitle=(0,c.i18n)(`categories.topic_stat_sentence_${t}`,{count:i}),e.pickAll=!1}else e.stat=`${(0,o.number)(e.topics_all_time)}`,e.statTitle=(0,c.i18n)("categories.topic_sentence",{count:e.topics_all_time}),e.pickAll=!0;u.default.current().mobileView&&(e.statTotal=(0,c.i18n)("categories.topic_stat_all_time",{count:e.topics_all_time,number:`${(0,o.number)(e.topics_all_time)}`}));let s=u.default.current().updateCategory(e);return s.setupGroupsAndPermissions(),s}static listForParent(e,t){return(0,a.default)("The listForParent method of CategoryList is deprecated. Use list instead",{id:"discourse.category-list.listForParent"}),p.list(e,t)}static list(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return l.default.getAndRemove("categories_list",()=>{let e={};return t&&(e.parent_category_id=t?.id),(0,n.ajax)("/categories.json",{data:e})}).then(i=>p.create({store:e,categories:this.categoriesFrom(e,i,t),parentCategory:t,can_create_category:i.category_list.can_create_category,can_create_topic:i.category_list.can_create_topic}))}init(){this.set("content",this.categories||[]),super.init(...arguments),this.set("page",1),this.set("fetchedLastPage",!1)}async loadMore(){if(this.isLoading||this.fetchedLastPage)return;this.set("isLoading",!0);let e={page:this.page+1};this.parentCategory&&(e.parent_category_id=this.parentCategory.id);let t=await (0,n.ajax)("/categories.json",{data:e});this.set("page",e.page),0===t.category_list.categories.length&&this.set("fetchedLastPage",!0),this.set("isLoading",!1),p.categoriesFrom(this.store,t,this.parentCategory).forEach(e=>this.categories.pushObject(e))}static #e=(()=>dt7948.n(this.prototype,"loadMore",[r.bind]))()}},21462:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>R});var s=i(21044),n=i(77632),r=i(42371),a=i(36376),o=i(42946),l=i(41825),u=i(83770),d=i(20936),c=i(51652),p=i(29421),h=i(77598),m=i(1933),g=i(15330),f=i(64301),_=i(83299),y=i(47361),b=i(41277),w=i(15713),k=i(42249),T=i(32326),S=i(14798),C=i(31123),A=i(58510),D=i(94793),M=i(39077),x=i(93810),E=i(60110);let L=(0,i(89689).A)(i(77632)).cached,P="all-notifications",F=S.default,I="review-queue",N=[class extends _.default{id=(()=>P)();icon="bell";panelComponent=(()=>F)();get linkWhenActive(){return`${this.currentUser.path}/notifications`}},class extends _.default{id="replies";icon="user_menu.replies";panelComponent=(()=>D.default)();notificationTypes=["mentioned","group_mentioned","posted","quoted","replied"];get count(){return this.getUnreadCountForType("mentioned")+this.getUnreadCountForType("group_mentioned")+this.getUnreadCountForType("posted")+this.getUnreadCountForType("quoted")+this.getUnreadCountForType("replied")}get linkWhenActive(){return`${this.currentUser.path}/notifications/responses`}},class extends _.default{id="likes";icon="heart";panelComponent=(()=>k.default)();get shouldDisplay(){return!this.currentUser.user_option.likes_notifications_disabled}get count(){return this.getUnreadCountForType("liked")+this.getUnreadCountForType("liked_consolidated")+this.getUnreadCountForType("reaction")}get notificationTypes(){return["liked","liked_consolidated","reaction"]}get linkWhenActive(){return`${this.currentUser.path}/notifications/likes-received`}},class extends _.default{id="messages";icon="notification.private_message";panelComponent=(()=>T.default)();notificationTypes=["private_message","group_message_summary"];get count(){return this.getUnreadCountForType("private_message")}get shouldDisplay(){return this.currentUser?.can_send_private_messages}get linkWhenActive(){return`${this.currentUser.path}/messages`}},class extends _.default{id="bookmarks";icon=(()=>y.NO_REMINDER_ICON)();panelComponent=(()=>w.default)();notificationTypes=["bookmark_reminder"];get count(){return this.getUnreadCountForType("bookmark_reminder")}get linkWhenActive(){return`${this.currentUser.path}/activity/bookmarks`}},class extends _.default{id=(()=>I)();icon="flag";panelComponent=(()=>M.default)();linkWhenActive=(()=>(0,g.default)("/review"))();get shouldDisplay(){return this.currentUser.can_review&&this.currentUser.get("reviewable_count")}get count(){return this.currentUser.get("reviewable_count")}}],j=[class extends _.default{id="profile";icon="user";panelComponent=(()=>A.default)();get linkWhenActive(){return`${this.currentUser.path}/summary`}}],O=class extends _.default{id="other-notifications";icon="discourse-other-tab";panelComponent=(()=>C.default)();constructor(e,t,i,s){super(...arguments),this.otherNotificationTypes=s}get count(){return this.otherNotificationTypes.reduce((e,t)=>e+this.getUnreadCountForType(t),0)}get notificationTypes(){return this.otherNotificationTypes}};class R extends s.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[u.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[u.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #r=(()=>dt7948.g(this.prototype,"router",[u.service]))();#i=(()=>void dt7948.i(this,"router"))();static #a=(()=>dt7948.g(this.prototype,"site",[u.service]))();#s=(()=>void dt7948.i(this,"site"))();static #d=(()=>dt7948.g(this.prototype,"siteSettings",[u.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #g=(()=>dt7948.g(this.prototype,"currentTabId",[n.tracked],function(){return P}))();#nd=(()=>void dt7948.i(this,"currentTabId"))();static #T=(()=>dt7948.g(this.prototype,"currentPanelComponent",[n.tracked],function(){return F}))();#nc=(()=>void dt7948.i(this,"currentPanelComponent"))();static #C=(()=>dt7948.g(this.prototype,"currentNotificationTypes",[n.tracked]))();#np=(()=>void dt7948.i(this,"currentNotificationTypes"))();constructor(){super(...arguments),this.router.on("routeDidChange",this.onRouteChange)}willDestroy(){super.willDestroy(...arguments),this.router.off("routeDidChange",this.onRouteChange)}onRouteChange(){this.args.closeUserMenu()}static #A=(()=>dt7948.n(this.prototype,"onRouteChange",[h.bind]))();get classNames(){let e=["user-menu","revamped","menu-panel","drop-down"];return this.siteSettings.show_user_menu_avatars&&e.push("show-avatars"),e.join(" ")}get topTabs(){let e=[];N.forEach(t=>{let i=new t(this.currentUser,this.siteSettings,this.site);i.shouldDisplay&&e.push(i)});let t=e.findIndex(e=>e.id===I);return _.CUSTOM_TABS_CLASSES.forEach(i=>{let s=new i(this.currentUser,this.siteSettings,this.site);s.shouldDisplay&&(-1===t?e.push(s):(e.insertAt(t,s),t++))}),e.push(new O(this.currentUser,this.siteSettings,this.site,this.#nh(e))),e.map((e,t)=>(e.position=t,e))}static #D=(()=>dt7948.n(this.prototype,"topTabs",[L]))();get bottomTabs(){let e=[];j.forEach(t=>{let i=new t(this.currentUser,this.siteSettings,this.site);i.shouldDisplay&&e.push(i)});let t=this.topTabs.length;return e.map((e,i)=>(e.position=i+t,e))}static #M=(()=>dt7948.n(this.prototype,"bottomTabs",[L]))();#nh(e){let t=e.filter(e=>e.notificationTypes).map(e=>e.notificationTypes).flat();return Object.keys(this.site.notification_types).filter(e=>!t.includes(e))}handleTabClick(e,t){(0,f.wantsNewWindow)(t)||this.currentTabId===e.id||("keydown"!==t.type||13===t.keyCode)&&(t.preventDefault(),this.currentTabId=e.id,this.currentPanelComponent=function(e,t){if("string"==typeof t){let i=JSON.stringify(t);return(0,m.default)(`user-menu tab panelComponent must be passed as a component class (passed ${i})`,{id:"discourse.user-menu.panel-component-class"}),e.resolveRegistration(`component:${t}`)}return t}((0,o.getOwner)(this),e.panelComponent),this.appEvents.trigger("user-menu:tab-click",e.id),this.currentNotificationTypes=e.notificationTypes)}static #E=(()=>dt7948.n(this.prototype,"handleTabClick",[a.action]))();triggerRenderedAppEvent(){this.appEvents.trigger("user-menu:rendered")}static #P=(()=>dt7948.n(this.prototype,"triggerRenderedAppEvent",[a.action]))();focusFirstTab(e){e.querySelector(".btn.active")?.focus()}static #I=(()=>dt7948.n(this.prototype,"focusFirstTab",[a.action]))();static #j=(()=>(0,x.setComponentTemplate)((0,E.createTemplateFactory)({id:"inRhb1SZ",block:'[[[1,"\\n "],[11,0],[16,0,[30,0,["classNames"]]],[16,"data-tab-id",[30,0,["currentTabId"]]],[24,"data-max-width","320"],[4,[32,0],[[30,0,["triggerRenderedAppEvent"]]],null],[12],[1,"\\n "],[10,0],[14,0,"panel-body"],[12],[1,"\\n "],[10,0],[14,0,"panel-body-contents"],[12],[1,"\\n "],[10,0],[14,0,"menu-tabs-container"],[14,"role","tablist"],[14,"aria-orientation","vertical"],[15,"aria-label",[28,[32,1],["user_menu.sr_menu_tabs"],null]],[12],[1,"\\n "],[11,0],[24,0,"top-tabs tabs-list"],[4,[32,0],[[30,0,["focusFirstTab"]]],null],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["topTabs"]]],null]],null],null,[[[1," "],[8,[32,2],null,[["@tab","@currentTabId","@onTabClick"],[[30,1],[30,0,["currentTabId"]],[28,[32,3],[[30,0,["handleTabClick"]],[30,1]],null]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n "],[10,0],[14,0,"bottom-tabs tabs-list"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["bottomTabs"]]],null]],null],null,[[[1," "],[8,[32,2],null,[["@tab","@currentTabId","@onTabClick"],[[30,2],[30,0,["currentTabId"]],[28,[32,3],[[30,0,["handleTabClick"]],[30,2]],null]]],null],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,4],null,[["@name","@outletArgs"],["user-menu-tabs-list__after",[28,[32,5],null,[["user"],[[30,0,["currentUser"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,1,[28,[32,6],["quick-access-",[30,0,["currentTabId"]]],null]],[14,0,"quick-access-panel"],[12],[1,"\\n "],[8,[30,0,["currentPanelComponent"]],null,[["@closeUserMenu","@filterByTypes","@ariaLabelledby"],[[30,3],[30,0,["currentNotificationTypes"]],[28,[32,6],["user-menu-button-",[30,0,["currentTabId"]]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["tab","tab","@closeUserMenu"],false,["each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-menu/menu.js",scope:()=>[l.default,b.i18n,c.default,r.fn,d.default,p.default,r.concat],isStrictMode:!0}),this))()}},21496:(e,t,i)=>{"use strict";i.r(t),i.d(t,{UserStatusMessage:()=>u});var s=i(42946),n=i(83770),r=i(60964),a=i(37507),o=i(76998),l=i(72818);class u{static #e=(()=>dt7948.g(this.prototype,"tooltip",[n.service]))();#sO=(()=>void dt7948.i(this,"tooltip"))();html=null;content=null;constructor(e,t,i){(0,s.setOwner)(this,e),this.html=this.#nm(t,i),this.content=this.#ng(t),this.tooltipInstance=this.tooltip.register(this.html,{identifier:"user-status-message-tooltip",content:this.content})}destroy(){this.tooltip.isDestroyed||this.tooltipInstance.destroy()}#nf(e){let t=(0,o.escapeExpression)(`:${e}:`);return(0,a.emojiUnescape)(t,{skipTitle:!0})}#nm(e,t){let i=document.createElement("span");if(i.classList.add("user-status-message"),t?.class&&i.classList.add(t.class),i.innerHTML=this.#nf(e.emoji),t?.showDescription){let t=document.createElement("span");t.classList.add("user-status-message-description"),t.innerText=e.description,i.appendChild(t)}return i}#ng(e){let t=document.createElement("div");t.classList.add("user-status-message-tooltip-content"),t.innerHTML=this.#nf(e.emoji);let i=document.createElement("span");if(i.classList.add("user-status-tooltip-description"),i.innerText=e.description,t.appendChild(i),e.ends_at){let i=document.createElement("div");i.classList.add("user-status-tooltip-until"),i.innerText=this.#n_(e.ends_at),t.appendChild(i)}return t}#n_(e){let t=l.default.current(),i=t?t.user_option?.timezone:moment.tz.guess();return(0,r.until)(e,i,t?.locale)}}},21510:(e,t,i)=>{"use strict";let s,n;i.r(t),i.d(t,{default:()=>o});var r=i(41421),a=i(15792);a.default.APP&&(s=a.default.APP.name,n=a.default.APP.version);let o={name:"App Version",initialize:(0,r.default)(s,n)}},21536:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>I});var s=i(21044);i(77632);var n=i(83770),r=i(13446),a=i(20936),o=i(11293),l=i(30435),u=i(85703),d=i(29421),c=i(90194),p=i(45577),h=i(41277),m=i(39114),g=i(9954),f=i(90035),_=i(92771),y=i(2029),b=i(72963),w=i(6814),k=i(64989),T=i(25336),S=i(30596),C=i(92325),A=i(36293),D=i(33615),M=i(67685),x=i(57776),E=i(64835),L=i(93810),P=i(60110);let F=(0,i(89689).A)(i(77632)).cached;class I extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"topicTrackingState",[n.service]))();#tA=(()=>void dt7948.i(this,"topicTrackingState"))();get columns(){let e=new c.default({onReplaceItem(e,t,i){t.header??=i.header,t.item??=i.item}});this.bulkSelectEnabled&&e.add("bulk-select",{header:g.default,item:S.default}),e.add("topic",{header:w.default,item:x.default}),this.args.showPosters&&e.add("posters",{header:y.default,item:D.default}),e.add("replies",{header:b.default,item:M.default}),"likes"===this.args.order?e.add("likes",{header:f.default,item:C.default}):"op_likes"===this.args.order&&e.add("op-likes",{header:_.default,item:A.default}),e.add("views",{header:k.default,item:E.default}),e.add("activity",{header:m.default,item:T.default});let t=this;return(0,p.applyMutableValueTransformer)("topic-list-columns",e,{get category(){return t.topicTrackingState.get("filterCategory")},get filter(){return t.topicTrackingState.get("filter")}}).resolve()}static #r=(()=>dt7948.n(this.prototype,"columns",[F]))();get selected(){return this.args.bulkSelectHelper?.selected}get bulkSelectEnabled(){return this.args.bulkSelectHelper?.bulkSelectEnabled&&this.args.canBulkSelect}get canDoBulkActions(){return this.currentUser?.canManageTopic&&this.selected?.length}get toggleInTitle(){return!this.bulkSelectEnabled&&this.args.canBulkSelect}get showTopicPostBadges(){return this.args.showTopicPostBadges??!0}get lastVisitedTopic(){let e,t,{topics:i,order:s,ascending:n,top:r,hot:a}=this.args;if(!this.args.highlightLastVisited||r||a||n||!i||1===i.length||s&&"activity"!==s||!this.currentUser?.get("previous_visit_at"))return;let o=Math.max(i.findIndex(e=>!e.get("pinned")),0);for(let s=i.length-1;s>=o;s--){if(i[s].get("bumpedAt")>this.currentUser.get("previousVisitAt")){e=i[s];break}t=i[s]}if(e&&t&&!(t.get("bumpedAt")>this.currentUser.get("previousVisitAt")))return e}get additionalClasses(){return(0,p.applyValueTransformer)("topic-list-class",[],{topics:this.args.topics})}static #a=(()=>(0,L.setComponentTemplate)((0,P.createTemplateFactory)({id:"bPTP3FB/",block:'[[[1,"\\n"],[1," "],[11,"table"],[16,0,[28,[32,0],["topic-list",[52,[30,0,["bulkSelectEnabled"]],"sticky-header bulk-select-enabled"],[30,0,["additionalClasses"]]],null]],[24,"aria-labelledby","topic-list-heading"],[17,1],[12],[1,"\\n "],[10,"caption"],[14,0,"sr-only"],[12],[1,[28,[32,1],["sr_topic_list_caption"],null]],[13],[1,"\\n "],[10,"thead"],[14,0,"topic-list-header"],[12],[1,"\\n "],[8,[32,2],null,[["@columns","@canBulkSelect","@toggleInTitle","@category","@hideCategory","@order","@changeSort","@ascending","@sortable","@listTitle","@bulkSelectHelper","@bulkSelectEnabled","@canDoBulkActions","@showTopicsAndRepliesToggle","@newListSubset","@newRepliesCount","@newTopicsCount","@changeNewListSubset"],[[30,0,["columns"]],[30,2],[30,0,["toggleInTitle"]],[30,3],[30,4],[30,5],[30,6],[30,7],[30,6],[28,[32,3],[[30,8],"topic.title"],null],[30,9],[30,0,["bulkSelectEnabled"]],[30,0,["canDoBulkActions"]],[30,10],[30,11],[30,12],[30,13],[30,14]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,4],null,[["@name","@outletArgs"],["before-topic-list-body",[28,[32,5],null,[["topics","selected","bulkSelectEnabled","lastVisitedTopic","discoveryList","hideCategory"],[[30,15],[30,0,["selected"]],[30,0,["bulkSelectEnabled"]],[30,0,["lastVisitedTopic"]],[30,16],[30,4]]]]]],null],[1,"\\n\\n "],[10,"tbody"],[14,0,"topic-list-body"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,15]],null]],null],null,[[[1," "],[8,[32,6],null,[["@columns","@topic","@bulkSelectHelper","@bulkSelectEnabled","@showTopicPostBadges","@hideCategory","@expandGloballyPinned","@expandAllPinned","@lastVisitedTopic","@selected","@tagsForUser","@focusLastVisitedTopic","@index"],[[30,0,["columns"]],[30,17],[30,9],[30,0,["bulkSelectEnabled"]],[30,0,["showTopicPostBadges"]],[30,4],[30,19],[30,20],[30,0,["lastVisitedTopic"]],[30,0,["selected"]],[30,21],[30,22],[30,18]]],null],[1,"\\n\\n"],[41,[28,[32,7],[[30,17],[30,0,["lastVisitedTopic"]]],null],[[[1," "],[10,"tr"],[14,0,"topic-list-item-separator"],[12],[1,"\\n "],[10,"td"],[14,0,"topic-list-data"],[14,"colspan","6"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[1,[28,[32,1],["topics.new_messages_marker"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,4],null,[["@name","@outletArgs","@connectorTagName"],["after-topic-list-item",[28,[32,5],null,[["topic","index"],[[30,17],[30,18]]]],"tr"]],null],[1,"\\n"]],[17,18]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,4],null,[["@name","@outletArgs"],["after-topic-list-body",[28,[32,5],null,[["topics","selected","bulkSelectEnabled","lastVisitedTopic","discoveryList","hideCategory"],[[30,15],[30,0,["selected"]],[30,0,["bulkSelectEnabled"]],[30,0,["lastVisitedTopic"]],[30,16],[30,4]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@canBulkSelect","@category","@hideCategory","@order","@changeSort","@ascending","@listTitle","@bulkSelectHelper","@showTopicsAndRepliesToggle","@newListSubset","@newRepliesCount","@newTopicsCount","@changeNewListSubset","@topics","@discoveryList","topic","index","@expandGloballyPinned","@expandAllPinned","@tagsForUser","@focusLastVisitedTopic"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/list.js",scope:()=>[u.default,h.i18n,o.default,r.or,a.default,d.default,l.default,r.eq],isStrictMode:!0}),this))()}},21573:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>J});var s,n=i(77632),r=i(31862),a=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),l=Symbol.for("immer-state");function u(e){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var d=Object.getPrototypeOf;function c(e){return!!e&&!!e[l]}function p(e){return!!e&&(m(e)||Array.isArray(e)||!!e[o]||!!e.constructor?.[o]||w(e)||k(e))}var h=Object.prototype.constructor.toString();function m(e){if(!e||"object"!=typeof e)return!1;let t=d(e);if(null===t)return!0;let i=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===h}function g(e,t){0===f(e)?Reflect.ownKeys(e).forEach(i=>{t(i,e[i],e)}):e.forEach((i,s)=>t(s,i,e))}function f(e){let t=e[l];return t?t.type_:Array.isArray(e)?1:w(e)?2:3*!!k(e)}function _(e,t){return 2===f(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function y(e,t){return 2===f(e)?e.get(t):e[t]}function b(e,t,i){let s=f(e);2===s?e.set(t,i):3===s?e.add(i):e[t]=i}function w(e){return e instanceof Map}function k(e){return e instanceof Set}function T(e){return e.copy_||e.base_}function S(e,t){if(w(e))return new Map(e);if(k(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let i=m(e);if(!0!==t&&("class_only"!==t||i)){let t=d(e);return null!==t&&i?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[l];let i=Reflect.ownKeys(t);for(let s=0;s1&&void 0!==arguments[1]&&arguments[1];return D(e)||c(e)||!p(e)||(f(e)>1&&(e.set=e.add=e.clear=e.delete=A),Object.freeze(e),t&&Object.entries(e).forEach(e=>{let[t,i]=e;return C(i,!0)})),e}function A(){u(2)}function D(e){return Object.isFrozen(e)}var M={};function x(e){let t=M[e];return t||u(0,e),t}function E(){return s}function L(e,t){t&&(x("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function P(e){F(e),e.drafts_.forEach(N),e.drafts_=null}function F(e){e===s&&(s=e.parent_)}function I(e){return s=function(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}(s,e)}function N(e){let t=e[l];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function j(e,t){t.unfinalizedDrafts_=t.drafts_.length;let i=t.drafts_[0];return void 0!==e&&e!==i?(i[l].modified_&&(P(t),u(4)),p(e)&&(e=O(t,e),t.parent_||U(t,e)),t.patches_&&x("Patches").generateReplacementPatches_(i[l].base_,e,t.patches_,t.inversePatches_)):e=O(t,i,[]),P(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==a?e:void 0}function O(e,t,i){if(D(t))return t;let s=t[l];if(!s)return g(t,(n,r)=>R(e,s,t,n,r,i)),t;if(s.scope_!==e)return t;if(!s.modified_)return U(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;let t=s.copy_,n=t,r=!1;3===s.type_&&(n=new Set(t),t.clear(),r=!0),g(n,(n,a)=>R(e,s,t,n,a,i,r)),U(e,t,!1),i&&e.patches_&&x("Patches").generatePatches_(s,i,e.patches_,e.inversePatches_)}return s.copy_}function R(e,t,i,s,n,r,a){if(c(n)){let a=O(e,n,r&&t&&3!==t.type_&&!_(t.assigned_,s)?r.concat(s):void 0);if(b(i,s,a),!c(a))return;e.canAutoFreeze_=!1}else a&&i.add(n);if(p(n)&&!D(n)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;O(e,n),(!t||!t.scope_.parent_)&&"symbol"!=typeof s&&Object.prototype.propertyIsEnumerable.call(i,s)&&U(e,n)}}function U(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&C(t,i)}var B={get(e,t){if(t===l)return e;let i=T(e);if(!_(i,t))return function(e,t,i){let s=q(t,i);return s?"value"in s?s.value:s.get?.call(e.draft_):void 0}(e,i,t);let s=i[t];return e.finalized_||!p(s)?s:s===H(e.base_,t)?(z(e),e.copy_[t]=V(s,e)):s},has:(e,t)=>t in T(e),ownKeys:e=>Reflect.ownKeys(T(e)),set(e,t,i){let s=q(T(e),t);if(s?.set)return s.set.call(e.draft_,i),!0;if(!e.modified_){let s=H(T(e),t),n=s?.[l];if(n&&n.base_===i)return e.copy_[t]=i,e.assigned_[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(i,s)&&(void 0!==i||_(e.base_,t)))return!0;z(e),$(e)}return!!(e.copy_[t]===i&&(void 0!==i||t in e.copy_)||Number.isNaN(i)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=i,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==H(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,z(e),$(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let i=T(e),s=Reflect.getOwnPropertyDescriptor(i,t);return s?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:s.enumerable,value:i[t]}:s},defineProperty(){u(11)},getPrototypeOf:e=>d(e.base_),setPrototypeOf(){u(12)}},Y={};function H(e,t){let i=e[l];return(i?T(i):e)[t]}function q(e,t){if(!(t in e))return;let i=d(e);for(;i;){let e=Object.getOwnPropertyDescriptor(i,t);if(e)return e;i=d(i)}}function $(e){!e.modified_&&(e.modified_=!0,e.parent_&&$(e.parent_))}function z(e){e.copy_||(e.copy_=S(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function V(e,t){let i=w(e)?x("MapSet").proxyMap_(e,t):k(e)?x("MapSet").proxySet_(e,t):function(e,t){let i=Array.isArray(e),s={type_:+!!i,scope_:t?t.scope_:E(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},n=s,r=B;i&&(n=[s],r=Y);let{revoke:a,proxy:o}=Proxy.revocable(n,r);return s.draft_=o,s.revoke_=a,o}(e,t);return(t?t.scope_:E()).drafts_.push(i),i}g(B,(e,t)=>{Y[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Y.deleteProperty=function(e,t){return Y.set.call(this,e,t,void 0)},Y.set=function(e,t,i){return B.set.call(this,e[0],t,i,e[0])};var W=new class{constructor(e){var t=this;this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,i)=>{let s;if("function"==typeof e&&"function"!=typeof t){let i=t;t=e;let s=this;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;at.call(this,e,...r))}}if("function"!=typeof t&&u(6),void 0!==i&&"function"!=typeof i&&u(7),p(e)){let n=I(this),r=V(e,void 0),a=!0;try{s=t(r),a=!1}finally{a?P(n):F(n)}return L(n,i),j(s,n)}if(e&&"object"==typeof e)u(1,e);else{if(void 0===(s=t(e))&&(s=e),s===a&&(s=void 0),this.autoFreeze_&&C(s,!0),i){let t=[],n=[];x("Patches").generateReplacementPatches_(e,s,t,n),i(t,n)}return s}},this.produceWithPatches=(e,i)=>{let s,n;return"function"==typeof e?function(i){for(var s=arguments.length,n=Array(s>1?s-1:0),r=1;re(t,...n))}:[this.produce(e,i,(e,t)=>{s=e,n=t}),s,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){p(e)||u(8),c(e)&&(e=function(e){return c(e)||u(10,e),function e(t){let i;if(!p(t)||D(t))return t;let s=t[l];if(s){if(!s.modified_)return s.base_;s.finalized_=!0,i=S(t,s.scope_.immer_.useStrictShallowCopy_)}else i=S(t,!0);return g(i,(t,s)=>{b(i,t,e(s))}),s&&(s.finalized_=!1),i}(e)}(e));let t=I(this),i=V(e,void 0);return i[l].isManual_=!0,F(t),i}finishDraft(e,t){let i=e&&e[l];i&&i.isManual_||u(9);let{scope_:s}=i;return L(s,t),j(void 0,s)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let i;for(i=t.length-1;i>=0;i--){let s=t[i];if(0===s.path.length&&"replace"===s.op){e=s.value;break}}i>-1&&(t=t.slice(i+1));let s=x("Patches").applyPatches_;return c(e)?s(e,t):this.produce(e,e=>s(e,t))}},K=W.produce;W.produceWithPatches.bind(W),W.setAutoFreeze.bind(W),W.setUseStrictShallowCopy.bind(W);var G=W.applyPatches.bind(W);W.createDraft.bind(W),W.finishDraft.bind(W),!function(){let e="replace",t="remove";function i(e){if(!p(e))return e;if(Array.isArray(e))return e.map(i);if(w(e))return new Map(Array.from(e.entries()).map(e=>{let[t,s]=e;return[t,i(s)]}));if(k(e))return new Set(Array.from(e).map(i));let t=Object.create(d(e));for(let s in e)t[s]=i(e[s]);return _(e,o)&&(t[o]=e[o]),t}function s(e){return c(e)?i(e):e}!function(e,t){M[e]||(M[e]=t)}("Patches",{applyPatches_:function(s,n){return n.forEach(n=>{let{path:r,op:a}=n,o=s;for(let e=0;e{let d=y(o,i),c=y(l,i),p=u?_(o,i)?e:"add":t;if(d===c&&p===e)return;let h=n.concat(i);r.push(p===t?{op:p,path:h}:{op:p,path:h,value:c}),a.push("add"===p?{op:t,path:h}:p===t?{op:"add",path:h,value:s(d)}:{op:e,path:h,value:s(d)})})}(i,n,r,a);case 1:return function(i,n,r,a){let{base_:o,assigned_:l}=i,u=i.copy_;u.length{if(!a.has(e)){let r=i.concat([o]);s.push({op:t,path:r,value:e}),n.unshift({op:"add",path:r,value:e})}o++}),o=0,a.forEach(e=>{if(!r.has(e)){let r=i.concat([o]);s.push({op:"add",path:r,value:e}),n.unshift({op:t,path:r,value:e})}o++})}(i,n,r,a)}},generateReplacementPatches_:function(t,i,s,n){s.push({op:e,path:[],value:i===a?void 0:i}),n.push({op:e,path:[],value:t})}})}();class J{static #e=(()=>dt7948.g(this.prototype,"data",[n.tracked]))();#i1=(()=>void dt7948.i(this,"data"))();static #t=(()=>dt7948.g(this.prototype,"draftData",[n.tracked]))();#ny=(()=>void dt7948.i(this,"draftData"))();static #r=(()=>dt7948.g(this.prototype,"errors",[n.tracked],function(){return{}}))();#nb=(()=>void dt7948.i(this,"errors"))();patches=[];inversePatches=[];constructor(e){try{this.data=K(e,()=>{}),this.draftData=K(e,()=>{})}catch(e){if(e.message.includes("[Immer]"))throw Error("[FormKit]: the @data property expects a POJO.")}}get isValid(){return 0===Object.keys(this.errors).length}get isInvalid(){return!this.isValid}get isPristine(){return this.patches.length+this.inversePatches.length===0}get isDirty(){return!this.isPristine}execute(){this.data=G(this.data,this.patches)}unexecute(){this.data=G(this.data,this.inversePatches)}save(){this.execute(),this.resetPatches()}async rollback(){for(;this.inversePatches.length>0;)this.draftData=G(this.draftData,[this.inversePatches.pop()]);this.resetPatches(),await new Promise(e=>(0,r.next)(e))}addError(e,t){this.errors.hasOwnProperty(e)?(this.errors[e].messages.push(t.message),this.errors={...this.errors}):this.errors={...this.errors,[e]:{title:t.title,messages:[t.message]}}}removeError(e){delete this.errors[e],this.errors={...this.errors}}removeErrors(){this.errors={}}get(e){let t=e.split("."),i=this.draftData[t.shift()];for(;t.length;)i=i[t.shift()];return i}set(e,t){this.draftData=K(this.draftData,i=>{let s=e.split(".");for(;s.length>1;)i=i[s.shift()];i[s[0]]=t},(e,t)=>{this.patches.push(...e),this.inversePatches.push(...t)})}resetPatches(){this.patches=[],this.inversePatches=[]}}},21615:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(3558),n=i(21772),r=i(41277);class a extends n.default{titleToken(){return(0,r.i18n)("user.change_email.title")}model(e){return(0,s.ajax)(`/u/confirm-new-email/${e.token}.json`)}}},21638:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(45682);class n extends s.default{}},21772:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(36376),n=i(2802),r=i(31862),a=i(83770),o=i(14465);class l extends n.default{static #e=(()=>dt7948.g(this.prototype,"router",[a.service]))();#i=(()=>void dt7948.i(this,"router"))();willTransition(){(0,o.seenUser)()}_refreshTitleOnce(){this.send("_collectTitleTokens",[])}_collectTitleTokens(e){if(this.titleToken){let t=this.titleToken();t?.length&&(t instanceof Array?t.forEach(t=>e.push(t)):e.push(t))}return!0}static #t=(()=>dt7948.n(this.prototype,"_collectTitleTokens",[s.action]))();refreshTitle(){(0,r.once)(this,this._refreshTitleOnce)}static #r=(()=>dt7948.n(this.prototype,"refreshTitle",[s.action]))();isCurrentUser(e){return!!this.currentUser&&e.id===this.currentUser.id}}},21824:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};return e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,i){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])},week:{dow:1,doy:7}})})},21847:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(89120);let n={data:new Map,store(e,t){this.data.set(e,t)},getAndRemove(e,t){if(this.data.has(e)){let t=s.Promise.resolve(this.data.get(e));return this.data.delete(e),t}return t?new s.Promise(function(e,i){let s=t();s&&s.then?s.then(t=>e(t)).catch(e=>i(e)):e(s)}):s.Promise.resolve(null)},get(e){return this.data.get(e)},remove(e){this.data.delete(e)},reset(){this.data=new Map}}},21921:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(18891),n=i(77598);function r(e){let t=e.get("badge_grouping.position"),i=e.get("badge_type_id"),s=e.get("name");return("000"+t).slice(-4)+(10-i)+s}class a extends s.default{badgeGroups(e){let t,i=e.sort((e,t)=>r(e).localeCompare(r(t))),s=[],n=[];return i.forEach(function(e){t!==e.badge_grouping_id&&(n&&n.length>0&&s.push({badges:n,badgeGrouping:n[0].badge_grouping}),n=[],t=e.badge_grouping_id),n.push(e)}),n&&n.length>0&&s.push({badges:n,badgeGrouping:n[0].badge_grouping}),s}static #e=(()=>dt7948.n(this.prototype,"badgeGroups",[(0,n.default)("model")]))()}},22e3:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(37338),n=i(36376),r=i(31862),a=i(83770),o=i(36093),l=i(35448),u=i(55259),d=i.n(u);let c={passive:!0,capture:!0};function p(e){e.preventDefault(),e.stopImmediatePropagation()}class h{static #e=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #t=(()=>dt7948.g(this.prototype,"id",[s.tracked],function(){return null}))();#sD=(()=>void dt7948.i(this,"id"))();async show(){await this.options.onShow?.()}static #r=(()=>dt7948.n(this.prototype,"show",[n.action]))();async close(){await this.options.onClose?.()}static #a=(()=>dt7948.n(this.prototype,"close",[n.action]))();async onFocus(e){await this.onTrigger(e)}static #d=(()=>dt7948.n(this.prototype,"onFocus",[n.action]))();async onBlur(e){await this.onTrigger(e)}static #g=(()=>dt7948.n(this.prototype,"onBlur",[n.action]))();async onFocusIn(e){await this.onTrigger(e)}static #T=(()=>dt7948.n(this.prototype,"onFocusIn",[n.action]))();async onFocusOut(e){await this.onTrigger(e)}static #C=(()=>dt7948.n(this.prototype,"onFocusOut",[n.action]))();trapPointerDown(e){this.shouldTrapPointerDown&&e.stopPropagation()}static #A=(()=>dt7948.n(this.prototype,"trapPointerDown",[n.action]))();onTouchStart(e){if(e.touches.length>1)return void this.onTouchCancel();e.stopPropagation(),this.trigger.addEventListener("touchmove",this.onTouchCancel,c),this.trigger.addEventListener("touchcancel",this.onTouchCancel,c),this.trigger.addEventListener("touchend",this.onTouchCancel,c),this.touchTimeout=d()(()=>{this.isDestroying||this.isDestroyed||(this.trigger.addEventListener("touchend",p,{once:!0,capture:!0}),this.onTrigger(e))},500)}static #D=(()=>dt7948.n(this.prototype,"onTouchStart",[n.action]))();onTouchCancel(){(0,r.cancel)(this.touchTimeout),this.trigger.removeEventListener("touchmove",this.onTouchCancel),this.trigger.removeEventListener("touchend",this.onTouchCancel),this.trigger.removeEventListener("touchcancel",this.onTouchCancel)}static #M=(()=>dt7948.n(this.prototype,"onTouchCancel",[o.bind]))();tearDownListeners(){"function"==typeof this.trigger.addEventListener&&this.trigger.removeEventListener("pointerdown",this.trapPointerDown),this.options?.listeners&&((0,l.makeArray)(this.triggers).filter(Boolean).forEach(e=>{switch(e){case"hold":this.trigger.removeEventListener("touchstart",this.onTouchStart);break;case"focus":this.trigger.removeEventListener("focus",this.onFocus),this.trigger.removeEventListener("blur",this.onBlur);break;case"focusin":this.trigger.removeEventListener("focusin",this.onFocusIn),this.trigger.removeEventListener("focusout",this.onFocusOut);break;case"hover":this.trigger.removeEventListener("pointermove",this.onPointerMove),this.options.interactive||this.trigger.removeEventListener("pointerleave",this.onPointerLeave);break;case"click":this.trigger.removeEventListener("click",this.onClick)}}),(0,r.cancel)(this.touchTimeout))}setupListeners(){"function"==typeof this.trigger.addEventListener&&this.trigger.addEventListener("pointerdown",this.trapPointerDown),this.options?.listeners&&(0,l.makeArray)(this.triggers).filter(Boolean).forEach(e=>{switch(e){case"hold":this.trigger.addEventListener("touchstart",this.onTouchStart,c);break;case"focus":this.trigger.addEventListener("focus",this.onFocus,{passive:!0}),this.trigger.addEventListener("blur",this.onBlur,{passive:!0});break;case"focusin":this.trigger.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.trigger.addEventListener("focusout",this.onFocusOut,{passive:!0});break;case"hover":this.trigger.addEventListener("pointermove",this.onPointerMove,{passive:!0}),this.options.interactive||this.trigger.addEventListener("pointerleave",this.onPointerLeave,{passive:!0});break;case"click":this.trigger.addEventListener("click",this.onClick,{passive:!0})}})}get triggers(){return"object"!=typeof this.options.triggers||Array.isArray(this.options.triggers)?this.options.triggers??["click"]:this.site.mobileView?this.options.triggers.mobile??["click"]:this.options.triggers.desktop??["click"]}get untriggers(){return"object"!=typeof this.options.untriggers||Array.isArray(this.options.untriggers)?this.options.untriggers??["click"]:this.site.mobileView?this.options.untriggers.mobile??["click"]:this.options.untriggers.desktop??["click"]}get shouldTrapPointerDown(){return!0}}},22052:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21044),n=i(13446),r=i(85703),a=i(37420),o=i(43654),l=i(93810),u=i(60110),d=i(29681);class c extends s.default{get emojis(){if(this.args.emoji)return this.args.emoji.split("|")}get skipEmojiTitle(){return!this.args.emojiTitle}static #e=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"DnhxGzVF",block:'[[[1,"\\n "],[10,1],[15,0,[28,[32,0],["poster-icon",[30,1]],null]],[15,"title",[30,2]],[12],[1,"\\n"],[41,[30,3],[[[1," "],[10,3],[15,6,[30,3]],[12],[1,"\\n "],[8,[32,1],null,[["@icon","@emojis","@emojiTitle","@text"],[[30,4],[30,0,["emojis"]],[30,5],[30,6]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,1],null,[["@icon","@emojis","@emojiTitle","@text"],[[30,4],[30,0,["emojis"]],[30,5],[30,6]]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@className","@title","@url","@icon","@emojiTitle","@text"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/poster-name/icon.js",scope:()=>[r.default,p],isStrictMode:!0}),this))()}let p=(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"tCO258Bf",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[1,[28,[32,0],[[30,1]],null]],[1,"\\n"]],[]],[[[41,[30,2],[[[42,[28,[31,2],[[28,[31,2],[[30,2]],null]],null],null,[[[1," "],[1,[28,[32,1],[[30,3]],[["skipEmojiTitle"],[[28,[32,2],[[30,4]],null]]]]],[1,"\\n"]],[3]],null],[1," "]],[]],null]],[]]],[1," "],[1,[30,5]],[1,"\\n"]],["@icon","@emojis","emojiName","@emojiTitle","@text"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/meta-data/poster-name/icon.js",scope:()=>[a.default,o.default,n.not],isStrictMode:!0}),(0,d.default)(void 0,"icon:Content"))},22086:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(23568),n=i(31862),r=i(36376),a=i(56908),o=i(3232),l=i(39352),u=i(5963);i(7950);var d=i(14675);i(63847),i(71620),i(12003),i(56742),i(5840);var c=i(47958);function p(e,t){if(Symbol.iterator in e)for(let i of e)t(i);else(0,c.assert)("","function"==typeof e.forEach),e.forEach(t)}class h{recordCaches=(()=>new Map)();added=[];updated=[];removed=[];getCacheForItem(e){let t=this.recordCaches.get(e);if(!t){let i=!1;t=(0,u.createCache)(()=>{i?this.updated.push(this.wrapRecord(e)):(this.added.push(this.wrapRecord(e)),i=!0)}),this.recordCaches.set(e,t)}return t}constructor(e,t,i,s,n,r){this.wrapRecord=n,this.release=r,this.recordArrayCache=(0,u.createCache)(()=>{let r=new Set;(0,u.consumeTag)((0,u.tagFor)(e,"[]")),p(e,e=>{(0,u.getValue)(this.getCacheForItem(e)),r.add(e)}),(0,u.untrack)(()=>{this.recordCaches.forEach((e,t)=>{r.has(t)||(this.removed.push(n(t)),this.recordCaches.delete(t))})}),this.added.length>0&&(t(this.added),this.added=[]),this.updated.length>0&&(i(this.updated),this.updated=[]),this.removed.length>0&&(s(this.removed),this.removed=[])})}revalidate(){(0,u.getValue)(this.recordArrayCache)}}class m{constructor(e,t,i){this.release=i;let s=!1;this.cache=(0,u.createCache)(()=>{p(e,()=>{}),(0,u.consumeTag)((0,u.tagFor)(e,"[]")),!0===s?(0,n.next)(t):s=!0}),this.release=i}revalidate(){(0,u.getValue)(this.cache)}}class g extends r.default{releaseMethods=(()=>(0,l.A)())();recordsWatchers=(()=>new Map)();typeWatchers=(()=>new Map)();flushWatchers=null;constructor(e){super(e),this.containerDebugAdapter=(0,s.getOwner)(this).lookup("container-debug-adapter:main")}attributeLimit=3;acceptsModelName=!0;getFilters(){return(0,l.A)()}watchModelTypes(e,t){let i=this.getModelTypes(),s=(0,l.A)();e(i.map(e=>{let i=e.klass,n=this.wrapModelType(i,e.name);return s.push(this.observeModelType(e.name,t)),n}));let n=()=>{s.forEach(e=>e()),this.releaseMethods.removeObject(n)};return this.releaseMethods.pushObject(n),n}_nameToClass(e){if("string"==typeof e){let t=(0,s.getOwner)(this).factoryFor(`model:${e}`);e=t&&t.class}return e}watchRecords(e,t,i,s){let n=this._nameToClass(e),r=this.getRecords(n,e),{recordsWatchers:a}=this,o=a.get(r);return o||(o=new h(r,t,i,s,e=>this.wrapRecord(e),()=>{a.delete(r),this.updateFlushWatchers()}),a.set(r,o),this.updateFlushWatchers(),o.revalidate()),o.release}updateFlushWatchers(){null===this.flushWatchers?(this.typeWatchers.size>0||this.recordsWatchers.size>0)&&(this.flushWatchers=()=>{this.typeWatchers.forEach(e=>e.revalidate()),this.recordsWatchers.forEach(e=>e.revalidate())},n._backburner.on("end",this.flushWatchers)):0===this.typeWatchers.size&&0===this.recordsWatchers.size&&(n._backburner.off("end",this.flushWatchers),this.flushWatchers=null)}willDestroy(){this._super(...arguments),this.typeWatchers.forEach(e=>e.release()),this.recordsWatchers.forEach(e=>e.release()),this.releaseMethods.forEach(e=>e()),this.flushWatchers&&n._backburner.off("end",this.flushWatchers)}detect(e){return!1}columnsForType(e){return(0,l.A)()}observeModelType(e,t){let i=this._nameToClass(e),s=this.getRecords(i,e),{typeWatchers:n}=this,r=n.get(s);return r||(r=new m(s,()=>{t([this.wrapModelType(i,e)])},()=>{n.delete(s),this.updateFlushWatchers()}),n.set(s,r),this.updateFlushWatchers(),r.revalidate()),r.release}wrapModelType(e,t){let i=this.getRecords(e,t);return{name:t,count:(0,d.g)(i,"length"),columns:this.columnsForType(e),object:e}}getModelTypes(){let e=this.containerDebugAdapter;return(e.canCatalogEntriesByType("model")?e.catalogEntriesByType("model"):this._getObjectsOnNamespaces()).map(e=>({klass:this._nameToClass(e),name:e})).filter(e=>this.detect(e.klass))}_getObjectsOnNamespaces(){let e=o.default.NAMESPACES,t=[];return e.forEach(e=>{for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)||!this.detect(e[i]))continue;let s=(0,a.dasherize)(i);t.push(s)}}),t}getRecords(e,t){return(0,l.A)()}wrapRecord(e){return{object:e,columnValues:this.getRecordColumnValues(e),searchKeywords:this.getRecordKeywords(e),filterValues:this.getRecordFilterValues(e),color:this.getRecordColor(e)}}getRecordColumnValues(e){return{}}getRecordKeywords(e){return(0,l.A)()}getRecordFilterValues(e){return{}}getRecordColor(e){return null}}},22105:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(45682);class n extends s.default{}},22109:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});class s{get name(){this._notImplemented()}get text(){this._notImplemented()}get actions(){}get actionsIcon(){}get links(){}get displaySection(){return!0}get collapsedByDefault(){return!1}_notImplemented(){throw"not implemented"}}},22112:(e,t,i)=>{"use strict";function s(e){return e?(e.nodeName||"").toLowerCase():null}i.d(t,{A:()=>s})},22232:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})})},22247:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(21044),n=i(77632),r=i(36376),a=i(57260),o=i(44612),l=i(28431),u=i(3558),d=i(92161),c=i(41277),p=i(93810),h=i(60110);class m extends s.default{static #e=(()=>dt7948.g(this.prototype,"newFeaturedTopic",[n.tracked],function(){return null}))();#nv=(()=>void dt7948.i(this,"newFeaturedTopic"))();static #t=(()=>dt7948.g(this.prototype,"saving",[n.tracked],function(){return!1}))();#y=(()=>void dt7948.i(this,"saving"))();get noTopicSelected(){return!this.newFeaturedTopic}async save(){try{this.saving=!0,await (0,u.ajax)(`/u/${this.args.model.user.username}/feature-topic`,{type:"PUT",data:{topic_id:this.newFeaturedTopic.id}}),this.args.model.setFeaturedTopic(this.newFeaturedTopic),this.args.closeModal()}catch(e){(0,d.popupAjaxError)(e)}finally{this.saving=!1}}static #r=(()=>dt7948.n(this.prototype,"save",[r.action]))();newTopicSelected(e){this.newFeaturedTopic=e}static #a=(()=>dt7948.n(this.prototype,"newTopicSelected",[r.action]))();static #d=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"K3Nim6ly",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"feature-topic-on-profile choose-topic-modal"],[24,1,"choosing-topic"]],[["@closeModal","@title"],[[30,1],[28,[32,1],["user.feature_topic_on_profile.title"],null]]],[["body","footer"],[[[[1,"\\n "],[8,[32,2],null,[["@topicChangedCallback","@currentTopicId","@loadOnInit","@additionalFilters","@label"],[[30,0,["newTopicSelected"]],[30,2,["user","featured_topic","id"]],true,"status:public","user.feature_topic_on_profile.search_label"]],null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,3],[[24,0,"btn-primary save-featured-topic-on-profile"]],[["@action","@disabled","@label"],[[30,0,["save"]],[30,0,["noTopicSelected"]],"user.feature_topic_on_profile.save"]],null],[1,"\\n "],[8,[32,3],[[24,0,"btn-flat"]],[["@action","@label"],[[30,1],"cancel"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/feature-topic-on-profile.js",scope:()=>[l.default,c.i18n,a.default,o.default],isStrictMode:!0}),this))()}},22351:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PUBLIC_JS_VERSIONS:()=>s});let s={"ace/ace.js":"ace.js/1.4.13/ace.js","ace/theme-chrome.js":"ace.js/1.4.13/theme-chrome.js","ace/theme-chaos.js":"ace.js/1.4.13/theme-chaos.js","jsoneditor.js":"@json-editor/json-editor/2.10.0/jsoneditor.js","chart.min.js":"chart.js/3.5.1/chart.min.js","chartjs-plugin-datalabels.min.js":"chartjs-plugin-datalabels/2.2.0/chartjs-plugin-datalabels.min.js","jquery.magnific-popup.min.js":"magnific-popup/1.1.0/jquery.magnific-popup.min.js","pikaday.js":"pikaday/1.8.2/pikaday.js"}},22413:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(93810),n=i(31862),r=i(6809),a=i(14547),o=i(26962),l=i(44612),u=i(24183),d=i(77598),c=i(131),p=i(54583),h=i(80212),m=i(39689),g=i(41277),f=i(60110);let _=dt7948.c(class extends s.default{clockIcon=(()=>(0,r.htmlSafe)(`${(0,p.iconHTML)("far-clock")}`))();trashLabel=(()=>(0,g.i18n)("post.controls.remove_timer"))();title=null;notice=null;showTopicTimer=null;showTopicTimerModal=null;removeTopicTimer=null;_delayedRerender=null;setupRenderer(){this.renderTopicTimer()}static #e=(()=>dt7948.n(this.prototype,"setupRenderer",[(0,o.on)("didReceiveAttrs")]))();cancelDelayedRenderer(){this._delayedRerender&&(0,n.cancel)(this._delayedRerender)}static #t=(()=>dt7948.n(this.prototype,"cancelDelayedRenderer",[(0,o.on)("willDestroyElement")]))();canModifyTimer(){return this.currentUser&&this.currentUser.get("canManageTopic")}static #r=(()=>dt7948.n(this.prototype,"canModifyTimer",[d.default]))();showTrashCan(e,t){return e&&t}static #a=(()=>dt7948.n(this.prototype,"showTrashCan",[(0,d.default)("canModifyTimer","removeTopicTimer")]))();showEdit(e,t){return e&&t}static #d=(()=>dt7948.n(this.prototype,"showEdit",[(0,d.default)("canModifyTimer","showTopicTimerModal")]))();additionalOpts(){return{}}renderTopicTimer(){let e=this.statusType===u.DELETE_REPLIES_TYPE;if(!e&&!this.basedOnLastPost&&(!this.executeAt||this.executeAtthis.set("executeAt",null));return}let a=moment(this.executeAt),o=moment.duration(a-moment()),l=o.asMinutes();if(l>0||e||this.basedOnLastPost){if(!this.executeAt)return;let e=parseInt(this.durationMinutes,10)||0,t={timeLeft:o.humanize(!0),duration:moment.duration(e,"minutes").humanize({s:60,m:60,h:24})},i=this.categoryId;if(i){let e=m.default.findById(i);t=Object.assign({categoryName:e.get("slug"),categoryUrl:e.get("url")},t)}t=Object.assign(t,this.additionalOpts()),this.setProperties({title:(0,r.htmlSafe)(`${moment(this.executeAt).format("LLLL")}`),notice:(0,r.htmlSafe)(`${(0,g.i18n)(this._noticeKey(),t)}`),showTopicTimer:!0}),(0,c.isTesting)()||(this._delayedRerender=(0,h.default)(()=>{this.renderTopicTimer()},this.rerenderDelay(l)))}else this.set("showTopicTimer",null)}rerenderDelay(e){return e>2160?432e5:e>1410?36e5:e>90?18e5:e>2?6e4:1e3}_noticeKey(){let e=this.statusType;return"silent_close"===e&&(e="close"),this.basedOnLastPost&&"close"===e&&(e="close_after_last_post"),`topic.status_update_notice.auto_${e}`}static #g=(()=>(0,s.setComponentTemplate)((0,f.createTemplateFactory)({id:"Dc8Xxh4I",block:'[[[1,"\\n"],[41,[30,0,["showTopicTimer"]],[[[1," "],[10,"h3"],[14,0,"topic-timer-heading"],[12],[1,"\\n "],[10,1],[15,"title",[30,0,["title"]]],[12],[1,"\\n "],[1,[30,0,["clockIcon"]]],[1,"\\n "],[1,[30,0,["notice"]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"topic-timer-modify"],[12],[1,"\\n"],[41,[30,0,["showEdit"]],[[[1," "],[8,[32,0],[[24,0,"topic-timer-edit no-text"]],[["@title","@icon","@action"],["post.controls.edit_timer","pencil",[30,0,["showTopicTimerModal"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["showTrashCan"]],[[[1," "],[8,[32,0],[[24,0,"topic-timer-remove no-text"]],[["@title","@icon","@action"],["post.controls.remove_timer","trash-can",[30,0,["removeTopicTimer"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-timer-info.js",scope:()=>[l.default],isStrictMode:!0}),this))()},[(0,a.classNames)("topic-timer-info")])},22425:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(55114),n=i(93810),r=i(60110),a=i(29681);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"rrv8SmR9",block:'[[[1,"\\n "],[11,"fieldset"],[16,3,[30,1]],[24,0,"form-kit__fieldset"],[17,2],[12],[1,"\\n"],[41,[30,3],[[[1," "],[10,"legend"],[14,0,"form-kit__fieldset-title"],[12],[1,[30,3]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,4],[[[1," "],[8,[32,0],[[24,0,"form-kit__fieldset-description"]],null,[["default"],[[[[1,"\\n "],[1,[30,4]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[18,5,null],[1,"\\n "],[13],[1,"\\n"]],["@name","&attrs","@title","@description","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/fieldset.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"fieldset:FKFieldset"))},22442:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,i){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})})},22466:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";function t(e,t,i,s){var n={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return s?n[i][0]:n[i][1]}return e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return(12===e&&(e=0),"rati"===t)?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})})},22497:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(56908),n=i(36376);i(63847),i(71620),i(7950),i(12003),i(5963),i(56742),i(14675),i(5840);var r=i(14770);i(91292),i(69902),i(93660),i(76053),i(78849),i(87079),i(92194),i(71790);var a=i(23568),o=i(3232);class l extends n.default{constructor(e){super(e),this.resolver=(0,a.getOwner)(this).lookup("resolver-for-debugging:main")}resolver;canCatalogEntriesByType(e){return"model"!==e&&"template"!==e}catalogEntriesByType(e){let t=o.default.NAMESPACES,i=[],n=RegExp(`${(0,s.classify)(e)}$`);return t.forEach(e=>{for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n.test(t)){let a=e[t];"class"===(0,r.default)(a)&&i.push((0,s.dasherize)(t.replace(n,"")))}}),i}}},22514:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(6809),n=i(62069),r=i(20936),a=i(9015),o=i(93810),l=i(60110),u=i(29681);let d=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"mughXnAe",block:'[[[1,"\\n "],[1,[28,[32,0],["static-privacy"],null]],[1,"\\n\\n "],[10,"section"],[14,0,"container"],[12],[1,"\\n "],[10,0],[14,0,"contents clearfix body-page"],[12],[1,"\\n "],[8,[32,1],null,[["@name"],["above-static"]],null],[1,"\\n "],[1,[28,[32,2],[[30,1,["model","html"]]],null]],[1,"\\n "],[8,[32,1],null,[["@name"],["below-static"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/privacy.js",scope:()=>[a.default,r.default,s.htmlSafe],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},22527:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(21044),n=i(44612),r=i(93810),a=i(60110);class o extends s.default{static shouldRender(e){return e.state.collapsedButtons.length>1&&e.state.collapsed}static #e=(()=>(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"SSaFLpUN",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"post-action-menu__show-more show-more-actions"],[17,1]],[["@action","@icon","@title"],[[30,2,["showMoreActions"]],"ellipsis","show_more"]],null],[1,"\\n "]],["&attrs","@buttonActions"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/post/menu/buttons/show-more.js",scope:()=>[n.default],isStrictMode:!0}),this))()}},22550:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(93810),n=i(93558),r=i(36376),a=i(31862),o=i(14547),l=i(26962),u=i(89120),d=i(77598),c=i(66410),p=i(41277),h=i(60110);let m=dt7948.c(class extends s.default{date=null;useNativePicker=(()=>(function(){let e=document.createElement("input");return e.setAttribute("type","date"),e.setAttribute("value","a"),"a"!==e.value})())();_picker=null;inputType(){return this.useNativePicker?"date":"text"}static #e=(()=>dt7948.n(this.prototype,"inputType",[(0,d.default)("site.mobileView")]))();click(e){e.stopPropagation()}didInsertElement(){super.didInsertElement(...arguments),(0,a.schedule)("afterRender",()=>{let e;if(!this.element||this.isDestroying||this.isDestroying)return;let t=document.getElementById(this.containerId);(this.useNativePicker?this._loadNativePicker(t):this._loadPikadayPicker(t)).then(e=>{if(this._picker=e,this._picker&&this.date){let e=this.date instanceof moment?this.date:moment(this.date);this._picker.setDate(e,!0)}})})}didUpdateAttrs(){if(super.didUpdateAttrs(...arguments),this._picker&&this.date){let e=this.date instanceof moment?this.date:moment(this.date);this._picker.setDate(e,!0)}if(this._picker&&this.relativeDate){let e=this.relativeDate instanceof moment?this.relativeDate:moment(this.relativeDate);this._picker.setMinDate(e,!0)}this._picker&&!this.date&&this._picker.setDate(null)}_loadPikadayPicker(e){return(0,c.default)("/javascripts/pikaday.js").then(()=>{let t={field:this.element.querySelector(".date-picker"),container:e||this.element.querySelector(".picker-container"),bound:null===e,format:"LL",firstDay:1,i18n:{previousMonth:(0,p.i18n)("dates.previous_month"),nextMonth:(0,p.i18n)("dates.next_month"),months:moment.months(),weekdays:moment.weekdays(),weekdaysShort:moment.weekdaysShort()},onSelect:e=>this._handleSelection(e)};return this.relativeDate&&(t.minDate=moment(this.relativeDate).toDate()),new Pikaday({...t,...this._opts()})})}_loadNativePicker(e){let t=(e||this.element).querySelector("input.date-picker");return t.onchange=()=>this._handleSelection(t.value),t.hide=()=>{},t.destroy=()=>{},t.setDate=e=>{t.value=e?moment(e).format("YYYY-MM-DD"):null},t.setMinDate=e=>{t.min=e},this.date&&t.setDate(this.date),u.Promise.resolve(t)}_handleSelection(e){this.element&&!this.isDestroying&&!this.isDestroyed&&this.onChange&&this.onChange(e?moment(e):null)}_destroy(){this._picker&&(this._picker.destroy(),this._picker=null)}static #t=(()=>dt7948.n(this.prototype,"_destroy",[(0,l.on)("willDestroyElement")]))();get placeholder(){return this._placeholder||(0,p.i18n)("dates.placeholder")}static #r=(()=>dt7948.n(this.prototype,"placeholder",[(0,r.computed)("_placeholder")]))();set placeholder(e){this.set("_placeholder",e)}_opts(){return null}_toggleHasValueClass(e){let t=this.element.querySelector(".date-picker");t&&(e?t.classList.add("--has-value"):t.classList.remove("--has-value"))}onChangeDate(e){this._toggleHasValueClass(e.target.value),this._handleSelection(e.target.value)}static #a=(()=>dt7948.n(this.prototype,"onChangeDate",[r.action]))();static #d=(()=>(0,s.setComponentTemplate)((0,h.createTemplateFactory)({id:"4ieVrfch",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"date-picker"],[16,"placeholder",[30,0,["placeholder"]]],[16,1,[30,0,["inputId"]]],[4,[32,1],["input",[30,0,["onChangeDate"]]],null]],[["@type","@value"],[[30,0,["inputType"]],[28,[31,0],[[30,0,["value"]]],null]]],null],[1,"\\n\\n"],[41,[51,[30,0,["useGlobalPickerContainer"]]],[[[1," "],[10,0],[14,0,"picker-container"],[12],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["readonly","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/date-input.js",scope:()=>[s.Input,n.on],isStrictMode:!0}),this))()},[(0,o.classNames)("d-date-input")])},22565:(e,t,i)=>{"use strict";function s(e){return!/F\d+|Arrow.+|Meta|Alt|Control|Shift|Delete|Enter|Escape|Tab|Space|Insert|Backspace/.test(e)}function n(e){return!isNaN(parseFloat(e))&&isFinite(e)}function r(e){return e&&"function"==typeof(e=e.toLowerCase()).normalize&&(e=e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")),e}i.r(t),i.d(t,{isNumeric:()=>n,isValidInput:()=>s,normalize:()=>r})},22588:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(77632),n=i(18891),r=i(42946),a=i(83770),o=i(18236),l=i(47361);class u{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"bookmarkApi",[a.service]))();#ta=(()=>void dt7948.i(this,"bookmarkApi"))();static #r=(()=>dt7948.g(this.prototype,"topicController",[(0,n.inject)("topic")]))();#to=(()=>void dt7948.i(this,"topicController"))();static #a=(()=>dt7948.g(this.prototype,"trackedBookmark",[s.tracked]))();#tl=(()=>void dt7948.i(this,"trackedBookmark"))();static #d=(()=>dt7948.g(this.prototype,"bookmarkModel",[s.tracked]))();#tu=(()=>void dt7948.i(this,"bookmarkModel"))();constructor(e,t){(0,r.setOwner)(this,e),this.model=t,this.type="Topic",this.bookmarkModel=this.topicController.model?.bookmarks.find(e=>e.bookmarkable_id===this.model.id&&e.bookmarkable_type===this.type)||this.bookmarkApi.buildNewBookmark(this.type,this.model.id),this.trackedBookmark=new o.BookmarkFormData(this.bookmarkModel)}create(){return this.bookmarkApi.create(this.trackedBookmark).then(e=>{this.trackedBookmark=e})}delete(){return this.bookmarkApi.delete(this.trackedBookmark.id)}save(){return this.bookmarkApi.update(this.trackedBookmark)}afterModalClose(){}afterSave(e){return this.trackedBookmark=e,this._syncBookmarks(e.saveData),this.topicController.model.set("bookmarking",!1),this.topicController.model.set("bookmarked",!0),this.topicController.model.incrementProperty("bookmarksWereChanged"),this.topicController.model.appEvents.trigger("bookmarks:changed",e.saveData,this.bookmarkModel.attachedTo()),[this.model.id]}afterDelete(e,t){this.topicController.model.removeBookmark(t),this.bookmarkModel=this.bookmarkApi.buildNewBookmark(this.type,this.model.id),this.trackedBookmark=new o.BookmarkFormData(this.bookmarkModel)}_syncBookmarks(e){this.topicController.bookmarks||this.topicController.set("bookmarks",[]);let t=this.topicController.bookmarks.findBy("id",e.id);t?(t.reminder_at=e.reminder_at,t.name=e.name,t.auto_delete_preference=e.auto_delete_preference):this.topicController.bookmarks.pushObject(l.default.create(e))}}},22621:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(62069),n=i(65774),r=i(77851),a=i(86921),o=i(35077),l=i(64353),u=i(41277),d=i(93810),c=i(60110),p=i(29681);let h=(0,s.default)((0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"ap7KJ8CP",block:'[[[1,"\\n"],[41,[51,[30,1,["model","all_loaded"]]],[[[1," "],[1,[32,0]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["model","logs"]],[[[1," "],[10,0],[14,0,"group-manage-logs-controls"],[12],[1,"\\n "],[8,[32,1],null,[["@clearFilter","@value","@type"],[[30,1,["clearFilter"]],[30,1,["filters","action"]],"action"]],null],[1,"\\n "],[8,[32,1],null,[["@clearFilter","@value","@type"],[[30,1,["clearFilter"]],[30,1,["filters","acting_user"]],"acting_user"]],null],[1,"\\n "],[8,[32,1],null,[["@clearFilter","@value","@type"],[[30,1,["clearFilter"]],[30,1,["filters","target_user"]],"target_user"]],null],[1,"\\n "],[8,[32,1],null,[["@clearFilter","@value","@type"],[[30,1,["clearFilter"]],[30,1,["filters","subject"]],"subject"]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,2],null,[["@action"],[[30,1,["loadMore"]]]],[["default"],[[[[1,"\\n "],[10,"table"],[14,0,"group-manage-logs"],[12],[1,"\\n "],[10,"thead"],[12],[1,"\\n "],[10,"th"],[12],[1,[28,[32,3],["groups.manage.logs.action"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,3],["groups.manage.logs.acting_user"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,3],["groups.manage.logs.target_user"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,3],["groups.manage.logs.subject"],null]],[13],[1,"\\n "],[10,"th"],[12],[1,[28,[32,3],["groups.manage.logs.when"],null]],[13],[1,"\\n "],[10,"th"],[12],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["model","logs"]]],null]],null],null,[[[1," "],[8,[32,4],null,[["@log","@filters"],[[30,2],[30,1,["filters"]]]],null],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,5],null,[["@condition"],[[30,1,["loading"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[12],[1,[28,[32,3],["groups.empty.logs"],null]],[13],[1,"\\n"]],[]]],[1," "]],["@controller","logItem"],false,["unless","if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/manage/logs.js",scope:()=>[l.default,r.default,o.default,u.i18n,a.default,n.default],isStrictMode:!0}),(0,p.default)(void 0,void 0)))},22644:(e,t,i)=>{"use strict";e.exports=new(i(92314))({explicit:[i(78837),i(75893),i(48720)]})},22715:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(77632),r=i(36376),a=i(71100),o=i(93810),l=i(60110);let u=class extends s.default{static #e=(()=>dt7948.g(this.prototype,"categoryId",[n.tracked],function(){return this.args.value}))();#s$=(()=>void dt7948.i(this,"categoryId"))();onChange(e){this.categoryId=e,this.args.categoryChanged?.(e)}static #t=(()=>dt7948.n(this.prototype,"onChange",[r.action]))();static #r=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"6L776xeg",block:'[[[1,"\\n "],[8,[32,0],null,[["@value","@onChange"],[[30,0,["categoryId"]],[30,0,["onChange"]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-field-category.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},22811:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(18891),n=i(77598),r=i(41277);class a extends s.default{pendingLabel(e,t){return e>0?(0,r.i18n)("user.invited.pending_tab_with_count",{count:t}):(0,r.i18n)("user.invited.pending_tab")}static #e=(()=>dt7948.n(this.prototype,"pendingLabel",[(0,n.default)("invitesCount.total","invitesCount.pending")]))();expiredLabel(e,t){return e>0?(0,r.i18n)("user.invited.expired_tab_with_count",{count:t}):(0,r.i18n)("user.invited.expired_tab")}static #t=(()=>dt7948.n(this.prototype,"expiredLabel",[(0,n.default)("invitesCount.total","invitesCount.expired")]))();redeemedLabel(e,t){return e>0?(0,r.i18n)("user.invited.redeemed_tab_with_count",{count:t}):(0,r.i18n)("user.invited.redeemed_tab")}static #r=(()=>dt7948.n(this.prototype,"redeemedLabel",[(0,n.default)("invitesCount.total","invitesCount.redeemed")]))()}},22870:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(62069),n=i(675),r=i(41277),a=i(93810),o=i(60110),l=i(29681);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"hg7EapCk",block:'[[[1,"\\n "],[10,"section"],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n"],[41,[30,1,["model","permissions"]],[[[1," "],[10,"label"],[14,0,"group-category-permissions-desc"],[12],[1,"\\n "],[1,[28,[32,0],["groups.permissions.description"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"table"],[14,0,"group-category-permissions"],[12],[1,"\\n "],[10,"tbody"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1,["model","permissions"]]],null]],null],null,[[[1," "],[10,"tr"],[12],[1,"\\n "],[10,"td"],[12],[1,[28,[32,1],[[30,2,["category"]]],null]],[13],[1,"\\n "],[10,"td"],[12],[1,[30,2,["description"]]],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["groups.permissions.none"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@controller","permission"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/permissions.js",scope:()=>[r.i18n,n.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},22907:(e,t,i)=>{"use strict";i.r(t),i.d(t,{_instrumentStart:()=>d,flaggedInstrument:()=>l,instrument:()=>o,reset:()=>h,subscribe:()=>c,subscribers:()=>n,unsubscribe:()=>p});var s=i(5840);i(7950);let n=[],r={},a=(()=>{let e="undefined"!=typeof window&&window.performance||{},t=e.now||e.mozNow||e.webkitNow||e.msNow||e.oNow;return t?t.bind(e):Date.now})();function o(e,t,i,s){let r,a,o;if(arguments.length<=3&&function(e){return"function"==typeof e}(t)?(a=t,o=i):(r=t,a=i,o=s),0===n.length)return a.call(o);let l=r||{},c=d(e,()=>l);return c===u?a.call(o):function(e,t,i,s){try{return e.call(s)}catch(e){throw i.exception=e,e}finally{t()}}(a,c,l,o)}function l(e,t,i){return i()}function u(){}function d(e,t,i){let o;if(0===n.length)return u;let l=r[e];if(l||(l=function(e){let t=[];for(let i of n)i.regex.test(e)&&t.push(i.object);return r[e]=t,t}(e)),0===l.length)return u;let d=t(i),c=s.E.STRUCTURED_PROFILE;c&&console.time(o=`${e}: ${d.object}`);let p=[],h=a();for(let t of l)p.push(t.before(e,h,d));let m=l;return function(){let t=a();for(let i=0;i{"use strict";i.r(t),i.d(t,{default:()=>s.H,helper:()=>s.h}),i(32537);var s=i(38263);i(97122),i(7950),i(16565),i(31862),i(34408),i(5963),i(56742)},22937:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(77598),n=i(81076);let r=["scroll","touchmove","mousedown","wheel","keyup"],a=["mousedown","mousewheel","touchmove","wheel"];function o(e,t,i){return Math.abs(t-i)this.options.originalTopOffset?i-this.options.originalTopOffset:i-(0,n.headerOffset)()}clearLock(){this._removeListener(),window.cancelAnimationFrame(this._requestId),this.options.finished&&this.options.finished()}lock(){this.startedAt=Date.now(),this.previousTop=this.elementTop(),this.previousTop&&window.scrollTo(window.pageXOffset,this.previousTop),this._requestId=window.requestAnimationFrame(this._performLocking),this._removeListener(),this._addListener()}_scrollListener(e){(e.which>0||a.includes(e.type))&&this.clearLock()}static #e=(()=>dt7948.n(this.prototype,"_scrollListener",[s.bind]))();_addListener(){r.forEach(e=>{document.body.addEventListener(e,this._scrollListener,{passive:!0})})}_removeListener(){r.forEach(e=>{document.body.removeEventListener(e,this._scrollListener)})}_performLocking(){let e=this.elementTop();if(!this.previousTop&&!e){Date.now()-this.startedAt>5e3&&this.clearLock(),this._requestId=window.requestAnimationFrame(this._performLocking);return}let t=Math.max(0,e);return isNaN(t)||(o(4,t,this.previousTop)&&o(4,window.scrollY,t)||(window.scrollTo(window.pageXOffset,t),this.previousTop=t),this.options.originalTopOffset||Date.now()-this.startedAt>1e3)?this.clearLock():void(this._requestId=window.requestAnimationFrame(this._performLocking))}static #t=(()=>dt7948.n(this.prototype,"_performLocking",[s.bind]))()}},22939:(e,t,i)=>{e.exports=i(20468)},23e3:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>C});var s=i(21044),n=i(42371),r=i(83770),a=i(6809),o=i(28431),l=i(26351),u=i(76998),d=i(41277),c=i(93810),p=i(60110);let h="keyboard_shortcuts_help",m=(0,d.i18n)("shortcut_modifier_key.shift"),g=(0,u.translateModKey)("Alt"),f=(0,u.translateModKey)("Meta"),_=(0,d.i18n)("shortcut_modifier_key.ctrl"),y=(0,d.i18n)("shortcut_modifier_key.enter"),b=(0,d.i18n)(`${h}.shortcut_key_delimiter_comma`),w=(0,d.i18n)(`${h}.shortcut_key_delimiter_plus`),k={shift:m,alt:g,meta:f,ctrl:_,enter:y,comma:b,plus:w};function T(e,t){return`${e}`}function S(e,t){let{keys1:i=[],keys2:s=[],keysDelimiter:n=b,shortcutsDelimiter:r="or"}=t,a={shortcut:function(e,t,i,s){let n=[e,t].reject(e=>0===e.length).map(e=>e.map(e=>`${e}`).join(i)).map(e=>"space"!==s&&"newline"!==s?T(e,s):e),[r,a]=n;if(1===n.length)return r;if("or"===s)return(0,d.i18n)(`${h}.shortcut_delimiter_or`,{shortcut1:r,shortcut2:a});if("slash"===s)return(0,d.i18n)(`${h}.shortcut_delimiter_slash`,{shortcut1:r,shortcut2:a});if("space"===s)return T((0,d.i18n)(`${h}.shortcut_delimiter_space`,{shortcut1:r,shortcut2:a}),s);if("newline"===s)return T((0,d.i18n)(`${h}.shortcut_delimiter_newline`,{shortcut1:r,shortcut2:a}),s)}(i,s,n,r)};return(0,d.i18n)(`${h}.${e}`,a)}class C extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();get shortcuts(){let e={jump_to:{shortcuts:this._buildJumpToSection()},application:{shortcuts:{hamburger_menu:S("application.hamburger_menu",{keys1:["="]}),user_profile_menu:S("application.user_profile_menu",{keys1:["p"]}),create:S("application.create",{keys1:["c"]}),show_incoming_updated_topics:S("application.show_incoming_updated_topics",{keys1:["."]}),search:S("application.search",{keys1:["/"],keys2:[_,g,"f"],keysDelimiter:w}),filter_sidebar:S("application.filter_sidebar",{keys1:[f,"/"],keysDelimiter:w}),help:S("application.help",{keys1:["?"]}),bulk_select:S("application.toggle_bulk_select",{keys1:[m,"b"],keysDelimiter:w}),dismiss:S("application.dismiss",{keys1:[m,"d"],keysDelimiter:w}),x:S("application.x",{keys1:["x"]}),log_out:S("application.log_out",{keys1:[m,"z"],keys2:[m,"z"],keysDelimiter:w,shortcutsDelimiter:"space"})}},actions:{shortcuts:{bookmark_topic:S("actions.bookmark_topic",{keys1:["f"]}),reply_as_new_topic:S("actions.reply_as_new_topic",{keys1:["t"]}),reply_topic:S("actions.reply_topic",{keys1:[m,"r"],keysDelimiter:w}),reply_post:S("actions.reply_post",{keys1:["r"]}),quote_post:S("actions.quote_post",{keys1:["q"]}),pin_unpin_topic:S("actions.pin_unpin_topic",{keys1:[m,"p"],keysDelimiter:w}),share_topic:S("actions.share_topic",{keys1:[m,"s"],keysDelimiter:w}),share_post:S("actions.share_post",{keys1:["s"]}),like:S("actions.like",{keys1:["l"]}),flag:S("actions.flag",{keys1:["!"]}),bookmark:S("actions.bookmark",{keys1:["b"]}),edit:S("actions.edit",{keys1:["e"]}),delete:S("actions.delete",{keys1:["d"]}),mark_muted:S("actions.mark_muted",{keys1:["m","m"]}),mark_regular:S("actions.mark_regular",{keys1:["m","r"]}),mark_tracking:S("actions.mark_tracking",{keys1:["m","t"]}),mark_watching:S("actions.mark_watching",{keys1:["m","w"]}),print:S("actions.print",{keys1:[f,"p"],keysDelimiter:w}),defer:S("actions.defer",{keys1:[m,"u"],keysDelimiter:w}),topic_admin_actions:S("actions.topic_admin_actions",{keys1:[m,"a"],keysDelimiter:w}),archive_private_message:S("actions.archive_private_message",{keys1:["a"]})}},navigation:{shortcuts:{back:S("navigation.back",{keys1:["u"]}),jump:S("navigation.jump",{keys1:["#"]}),up_down:S("navigation.up_down",{keys1:["k"],keys2:["j"],shortcutsDelimiter:"slash"}),open:S("navigation.open",{keys1:["o"],keys2:[y]}),next_prev:S("navigation.next_prev",{keys1:[m,"j"],keys2:[m,"k"],keysDelimiter:w,shortcutsDelimiter:"slash"}),go_to_unread_post:S("navigation.go_to_unread_post",{keys1:[m,"l"],keysDelimiter:w})}},composing:{shortcuts:{return:S("composing.return",{keys1:[m,"c"],keysDelimiter:w}),fullscreen:S("composing.fullscreen",{keys1:[m,"F11"],keysDelimiter:w}),insertCurrentTime:S("composing.insert_current_time",{keys1:[f,m,"."],keysDelimiter:w})}},bookmarks:{shortcuts:{enter:S("bookmarks.enter",{keys1:[y]}),later_today:S("bookmarks.later_today",{keys1:["l","t"]}),later_this_week:S("bookmarks.later_this_week",{keys1:["l","w"]}),tomorrow:S("bookmarks.tomorrow",{keys1:["n","d"]}),next_business_week:S("bookmarks.next_business_week",{keys1:["n","b","w"]}),next_business_day:S("bookmarks.next_business_day",{keys1:["n","b","d"]}),custom:S("bookmarks.custom",{keys1:["c","r"]}),none:S("bookmarks.none",{keys1:["n","r"]}),delete:S("bookmarks.delete",{keys1:["d","d"]})}},search_menu:{shortcuts:{prev_next:S("search_menu.prev_next",{keys1:["↑"],keys2:["↓"],shortcutsDelimiter:"slash"}),insert_url:S("search_menu.insert_url",{keys1:["a"]}),full_page_search:S("search_menu.full_page_search",{keys1:[f,"Enter"],keysDelimiter:w})}}};return e.admin={shortcuts:{admin_search_open:S("admin.search_open",{keys1:[f,"/"],keysDelimiter:w}),admin_search_prev_next:S("admin.search_prev_next",{keys1:["↑"],keys2:["↓"],shortcutsDelimiter:"slash"}),admin_search_full_page:S("admin.search_full_page",{keys1:["Enter"]})}},this._buildExtraShortcuts(e),this._addCountsToShortcutCategories(e),e}_buildExtraShortcuts(e){for(let[t,i]of Object.entries(l.extraKeyboardShortcutsHelp))i.forEach(i=>{e[t]||(e[t]={}),e[t].shortcuts||(e[t].shortcuts={}),e[t].shortcuts[i.name]=S(i.name,this._transformExtraDefinition(i.definition))})}_addCountsToShortcutCategories(e){for(let[t,i]of Object.entries(e))e[t].count=Object.keys(i.shortcuts).length}_transformExtraDefinition(e){return e.keys1&&(e.keys1=e.keys1.map(e=>this._translateKeys(e))),e.keys2&&(e.keys2=e.keys2.map(e=>this._translateKeys(e))),e.keysDelimiter&&(e.keysDelimiter=this._translateKeys(e.keysDelimiter)),e.shortcutsDelimiter&&(e.shortcutsDelimiter=this._translateKeys(e.shortcutsDelimiter)),e}_translateKeys(e){for(let[t,i]of Object.entries(k))e=e.replace(t,i);return e}_buildJumpToSection(){let e={home:S("jump_to.home",{keys1:["g","h"]}),latest:S("jump_to.latest",{keys1:["g","l"]}),new:S("jump_to.new",{keys1:["g","n"]}),unread:S("jump_to.unread",{keys1:["g","u"]}),categories:S("jump_to.categories",{keys1:["g","c"]}),top:S("jump_to.top",{keys1:["g","t"]}),bookmarks:S("jump_to.bookmarks",{keys1:["g","b"]}),profile:S("jump_to.profile",{keys1:["g","p"]})};return this.currentUser?.can_send_private_messages&&(e.messages=S("jump_to.messages",{keys1:["g","m"]})),Object.assign(e,{drafts:S("jump_to.drafts",{keys1:["g","d"]}),next:S("jump_to.next",{keys1:["g","j"]}),previous:S("jump_to.previous",{keys1:["g","k"]})}),e}static #t=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"6iAKkCrE",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"keyboard-shortcuts-modal -max"]],[["@title","@closeModal"],[[28,[32,1],["keyboard_shortcuts_help.title"],null],[30,1]]],[["body"],[[[[1,"\\n "],[10,0],[14,1,"keyboard-shortcuts-help"],[12],[1,"\\n "],[10,0],[14,0,"keyboard-shortcuts-help__container"],[12],[1,"\\n "],[10,1],[14,"tabindex","0"],[12],[13],[1,"\\n"],[42,[28,[31,1],[[30,0,["shortcuts"]]],null],null,[[[1," "],[10,"section"],[15,0,[29,["shortcut-category span-",[30,2,["count"]],"\\n shortcut-category-",[30,3]]]],[12],[1,"\\n "],[10,"h2"],[12],[1,[28,[32,1],[[28,[32,2],["keyboard_shortcuts_help.",[30,3],".title"],null]],null]],[13],[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,1],[[30,2,["shortcuts"]]],null],null,[[[1," "],[10,"li"],[12],[1,[28,[32,3],[[30,4]],null]],[13],[1,"\\n"]],[4,5]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[2,3]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","shortcutCategory","category","shortcut","name"],false,["each","-each-in"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/keyboard-shortcuts-help.js",scope:()=>[o.default,d.i18n,n.concat,a.htmlSafe],isStrictMode:!0}),this))()}},23011:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(80387),n=i(31862),r=i(2845);class a extends r.default{constructor(e,t){super(e,t),(0,s.registerDestructor)(this,e=>e.cleanup())}modify(e,t){let[i,s={}]=t;this.resizeObserver=new ResizeObserver(e=>{this.throttleHandler=(0,n.throttle)(this,i,e,s.delay??0,s.immediate??!1)}),this.resizeObserver.observe(e)}cleanup(){(0,n.cancel)(this.throttleHandler),this.resizeObserver?.disconnect()}}},23030:(e,t,i)=>{"use strict";function s(e){return parseFloat(e).toFixed(1)}i.r(t),i.d(t,{default:()=>s})},23106:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(6809),n=i(60964);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,s.htmlSafe)((0,n.autoUpdatingRelativeAge)(new Date(e),{...t,title:t.title??!0}))}},23109:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Adapter:()=>n.default,QUnitAdapter:()=>a.default,Test:()=>s.default,setupForTesting:()=>r.default});var s=i(45817),n=i(55177),r=i(25199),a=i(24667);i(57187),i(29464),i(24128),i(34200)},23121:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(21044),n=i(77632),r=i(36376),a=i(31862),o=i(83770),l=i(44612),u=i(85703),d=i(77598),c=i(131),p=i(80212),h=i(41277),m=i(93810),g=i(60110);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"messageBus",[o.service]))();#k=(()=>void dt7948.i(this,"messageBus"))();static #t=(()=>dt7948.g(this.prototype,"session",[o.service]))();#tt=(()=>void dt7948.i(this,"session"))();static #r=(()=>dt7948.g(this.prototype,"showPrompt",[n.tracked],function(){return!1}))();#nw=(()=>void dt7948.i(this,"showPrompt"))();static #a=(()=>dt7948.g(this.prototype,"animatePrompt",[n.tracked],function(){return!1}))();#nk=(()=>void dt7948.i(this,"animatePrompt"))();timeoutHandler;constructor(){super(...arguments),this.messageBus.subscribe("/refresh_client",this.onRefresh),this.messageBus.subscribe("/global/asset-version",this.onAsset)}willDestroy(){super.willDestroy(...arguments),this.messageBus.unsubscribe("/refresh_client",this.onRefresh),this.messageBus.unsubscribe("/global/asset-version",this.onAsset),(0,a.cancel)(this.timeoutHandler)}onRefresh(){this.session.requiresRefresh=!0}static #d=(()=>dt7948.n(this.prototype,"onRefresh",[d.bind]))();onAsset(e){this.session.assetVersion!==e&&(this.session.requiresRefresh=!0),!this.timeoutHandler&&this.session.requiresRefresh&&((0,c.isTesting)()?this.updatePromptState(!0):this.timeoutHandler=(0,p.default)(()=>this.updatePromptState(!0),864e5))}static #g=(()=>dt7948.n(this.prototype,"onAsset",[d.bind]))();updatePromptState(e){let t=e?"animatePrompt":"showPrompt";this[e?"showPrompt":"animatePrompt"]=e,(0,c.isTesting)()?this[t]=e:(0,p.default)(()=>this[t]=e,500)}refreshPage(){document.location.reload()}static #T=(()=>dt7948.n(this.prototype,"refreshPage",[r.action]))();dismiss(){this.updatePromptState(!1)}static #C=(()=>dt7948.n(this.prototype,"dismiss",[r.action]))();static #A=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"QfgYflau",block:'[[[1,"\\n"],[41,[30,0,["showPrompt"]],[[[1," "],[10,0],[15,0,[28,[32,0],["software-update-prompt",[52,[30,0,["animatePrompt"]],"require-software-refresh"]],null]],[12],[1,"\\n "],[10,0],[14,0,"wrap"],[12],[1,"\\n "],[10,0],[14,"aria-live","polite"],[14,0,"update-prompt-main-content"],[12],[1,"\\n "],[8,[32,1],[[24,0,"btn-transparent update-prompt-message"]],[["@action","@icon","@label"],[[30,0,["refreshPage"]],"arrow-rotate-right","software_update_prompt.message"]],null],[1,"\\n\\n "],[10,1],[14,0,"update-prompt-dismiss"],[12],[1,"\\n "],[8,[32,1],[[16,"aria-label",[28,[32,2],["software_update_prompt.dismiss"],null]],[24,0,"btn-transparent"]],[["@action","@icon"],[[30,0,["dismiss"]],"xmark"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/software-update-prompt.js",scope:()=>[u.default,l.default,h.i18n],isStrictMode:!0}),this))()}},23140:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=(0,i(62036).default)("archive")},23167:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(62069),n=i(75721),r=i(93810),a=i(60110),o=i(29681);let l=(0,s.default)((0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"lxoJcZai",block:'[[[8,[32,0],null,[["@stream"],[[30,1,["model"]]]],null]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/posts.js",scope:()=>[n.default],isStrictMode:!0}),(0,o.default)(void 0,void 0)))},23183:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s={after:"inject-objects",initialize(e){e.lookup("service:interface-color").ensureCorrectMode()}}},23209:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(21044),n=i(93810),r=i(60110);class a extends s.default{get name(){return this.args.name||this.args.group?.name}get href(){return this.args.href||this.args.group?.url}static #e=(()=>(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"MyNrkCt8",block:'[[[1,"\\n "],[11,3],[17,1],[24,0,"user-group trigger-group-card"],[16,6,[30,0,["href"]]],[16,"data-group-card",[30,0,["name"]]],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n "]],["&attrs","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/group-link.js",isStrictMode:!0}),this))()}},23254:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(36376);function n(e,t){"category_id"===t&&(t="category.id");let i=(0,s.get)(e,t);return Array.isArray(i)?i.slice(0):i}},23297:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return(12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t)?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var s=100*e+t;if(s<600)return"يېرىم كېچە";if(s<900)return"سەھەر";if(s<1130)return"چۈشتىن بۇرۇن";if(s<1230)return"چۈش";if(s<1800)return"چۈشتىن كېيىن";else return"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})})},23318:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(93810),n=i(42371),r=i(36376),a=i(85798),o=i(60110);class l extends s.default{onChange(e){this.set("value",e),this.valueChanged&&this.valueChanged({target:{value:e}})}static #e=(()=>dt7948.n(this.prototype,"onChange",[r.action]))();static #t=(()=>(0,s.setComponentTemplate)((0,o.createTemplateFactory)({id:"4IkCBHF5",block:'[[[1,"\\n "],[8,[32,0],null,[["@value","@onChange","@options"],[[30,0,["value"]],[30,0,["onChange"]],[28,[32,1],null,[["categoryId"],[[30,0,["tagCategoryId"]]]]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/reviewable-field-tags.js",scope:()=>[a.default,n.hash],isStrictMode:!0}),this))()}},23332:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(77632),n=i(42946),r=i(83770),a=i(64585),o=i(39546),l=i(49733),u=i(89602),d=i(95090),c=i(40738),p=i(73412),h=i(21315),m=i(57997),g=i(48671),f=i(59172),_=i(31052);let y={"/latest":l.default,"/about":a.default,"/u":c.default,"/faq":u.default,"/my/activity":f.default,"/review":_.default,"/badges":o.default,"/admin":m.default,"/g":d.default,"/new-invite":g.default};class b{static #e=(()=>dt7948.g(this.prototype,"appEvents",[r.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"currentUser",[r.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #r=(()=>dt7948.g(this.prototype,"modal",[r.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #a=(()=>dt7948.g(this.prototype,"router",[r.service]))();#i=(()=>void dt7948.i(this,"router"))();static #d=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #g=(()=>dt7948.g(this.prototype,"topicTrackingState",[r.service]))();#tA=(()=>void dt7948.i(this,"topicTrackingState"))();static #T=(()=>dt7948.g(this.prototype,"links",[s.tracked]))();#s3=(()=>void dt7948.i(this,"links"))();static #C=(()=>dt7948.g(this.prototype,"moreLinks",[s.tracked]))();#nT=(()=>void dt7948.i(this,"moreLinks"))();hideSectionHeader=!0;constructor(e){let{section:t,owner:i}=e;(0,n.setOwner)(this,i),this.section=t,this.slug=t.slug,this.callbackId=this.topicTrackingState?.onStateChange(()=>{this.links.forEach(e=>{e.onTopicTrackingStateChange&&e.onTopicTrackingStateChange()})}),this.apiPrimaryLinks=p.customSectionLinks.map(e=>this.#nS(e,{inMoreDrawer:!1})),this.apiSecondaryLinks=p.secondaryCustomSectionLinks.map(e=>this.#nS(e,{inMoreDrawer:!0})),this.links=this.section.links.reduce((e,t)=>{if("primary"===t.segment){let i=this.#nC(t);i&&e.push(i)}return e},[]).concat(this.apiPrimaryLinks).filter(e=>e.shouldDisplay),this.moreLinks=this.section.links.reduce((e,t)=>{if("secondary"===t.segment){let i=this.#nC(t,!0);i&&e.push(i)}return e},[]).concat(this.apiSecondaryLinks).filter(e=>e.shouldDisplay)}teardown(){this.callbackId&&this.topicTrackingState.offStateChange(this.callbackId),[...this.links,...this.moreLinks].forEach(e=>{e.teardown?.()})}#nC(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=y[e.value];return i?this.#nS(i,t,e.name,e.icon):new h.default(e,this,this.router)}#nS(e,t,i,s){if(!this.router.isDestroying)return new e((0,n.getOwner)(this),{inMoreDrawer:t,overridenName:i,overridenIcon:s})}}},23344:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(79256),n=i(60964),r=i(13338),a=i(41277);let o=(0,r.createWidget)("post-edits-indicator",{tagName:"div.post-info.edits",html(e){let t,i="pencil",r=new Date(e.updated_at),o=(0,s.historyHeat)(this.siteSettings,r),l=(0,n.longDate)(r);return e.wiki?(i="far-pen-to-square",o=`${o||""} wiki`.trim(),t=e.version>1?(0,a.i18n)("post.wiki_last_edited_on",{dateTime:l}):(0,a.i18n)("post.wiki.about")):t=(0,a.i18n)("post.last_edited_on",{dateTime:l}),this.attach("flat-button",{icon:i,translatedTitle:t,className:o,action:"onPostEditsIndicatorClick",translatedAriaLabel:(0,a.i18n)("post.edit_history"),translatedLabel:e.version>1?e.version-1:""})},onPostEditsIndicatorClick(){this.attrs.wiki&&1===this.attrs.version?this.sendWidgetAction("editPost"):this.attrs.canViewEditHistory&&this.sendWidgetAction("showHistory")}})},23421:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(14773),n=i(45682);class r extends n.default{setupController(e,t){e.setProperties({model:t,textSize:t.get("currentTextSize"),themeId:(0,s.currentThemeId)(),makeThemeDefault:!t.get("user_option.theme_ids")||(0,s.currentThemeId)()===t.get("user_option.theme_ids")[0],makeTextSizeDefault:t.get("currentTextSize")===t.get("user_option.text_size"),enableDarkMode:-1!==t.get("user_option.dark_scheme_id")})}}},23434:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n}),i(36376),i(63847),i(71620),i(7950),i(12003),i(5963),i(56742);var s=i(14675);function n(e){let t=e.__container__.lookup("service:-routing");return(0,s.g)(t,"currentPath")}i(5840),i(45522),i(55095),i(29113),i(7690),i(72643),i(18891)},23534:(e,t,i)=>{"use strict";i.r(t),i.d(t,{decoratorWithParams:()=>n,decoratorWithRequiredParams:()=>r}),i(7950);var s=i(30801);function n(e){return function(){for(var t=arguments.length,i=Array(t),n=0;n{"use strict";i.r(t),i.d(t,{getOwner:()=>r,isFactory:()=>n,setOwner:()=>a});var s=i(54178);function n(e){return null!=e&&"function"==typeof e.create}function r(e){return(0,s.getOwner)(e)}function a(e,t){(0,s.setOwner)(e,t)}},23571:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(27494),n=i.n(s),r=i(92868),a=i(29757);let o=!1,l={initialize(){o||(n().fn.autocomplete=r.default,n().fn.caret=a.caret,n().fn.caretPosition=a.caretPosition,o=!0)}}},23580:(e,t,i)=>{"use strict";i.r(t),i.d(t,{configNavForPlugin:()=>a,registerAdminPluginConfigNav:()=>n,resetAdminPluginConfigNav:()=>r});let s={};function n(e,t){s[e]={links:t}}function r(){s={}}function a(e){return s[e]}},23585:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21044),n=i(77632),r=i(36376),a=i(94658),o=i(44612),l=i(41277),u=i(93810),d=i(60110);class c extends s.default{static #e=(()=>dt7948.g(this.prototype,"expanded",[n.tracked],function(){return!1}))();#tB=(()=>void dt7948.i(this,"expanded"))();get users(){let e=this.args.users;return this.showViewMoreButton&&!this.expanded&&(e=e.slice(0,this.args.truncateAt)),e}get showViewMoreButton(){return this.args.truncateAt>0&&this.args.users.length>this.args.truncateAt}toggleExpanded(){this.expanded=!this.expanded}static #t=(()=>dt7948.n(this.prototype,"toggleExpanded",[r.action]))();static #r=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"JEDXNCIF",block:'[[[1,"\\n "],[10,0],[14,0,"about-page-users-list"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["users"]]],null]],null],null,[[[1," "],[8,[32,0],null,[["@user"],[[30,1]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"],[41,[30,0,["showViewMoreButton"]],[[[1," "],[8,[32,1],[[24,0,"btn-flat about-page-users-list__expand-button"]],[["@action","@icon","@translatedLabel"],[[30,0,["toggleExpanded"]],[52,[30,0,["expanded"]],"chevron-up","chevron-down"],[52,[30,0,["expanded"]],[28,[32,2],["about.view_less"],null],[28,[32,2],["about.view_more"],null]]]],null],[1,"\\n"]],[]],null],[1," "]],["user"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/about-page-users.js",scope:()=>[a.default,o.default,l.i18n],isStrictMode:!0}),this))()}},23607:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(28431),n=i(64760),r=i(76998),a=i(41277),o=i(93810),l=i(60110),u=i(29681);let d=(0,r.optionalRequire)("admin/components/tags-uploader"),c=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"VswBYvQp",block:'[[[1,"\\n "],[8,[32,0],null,[["@title","@closeModal"],[[28,[32,1],["tagging.upload"],null],[30,1]]],[["body"],[[[[1,"\\n "],[8,[32,2],null,[["@refresh","@closeModal","@id"],[[28,[32,3],["triggerRefresh"],null],[30,1],"tags-uploader"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],["@closeModal"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/tag-upload.js",scope:()=>[s.default,a.i18n,d,n.default],isStrictMode:!0}),(0,u.default)(void 0,"tag-upload:TagUpload"))},23663:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(36376),n=i(6809),r=i(15330),a=i(60657),o=i(55641),l=i(41277);class u extends o.default{userActionType=(()=>a.default.TYPES.topics)();async model(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=await this.store.findFiltered("topicList",{filter:`topics/created-by/${this.modelFor("user").get("username_lower")}`,params:e});return t.set("emptyState",this.emptyState()),t}emptyState(){let e,t,i=this.modelFor("user");return this.isCurrentUser(i)?(e=(0,l.i18n)("user_activity.no_topics_title"),t=(0,n.htmlSafe)((0,l.i18n)("user_activity.no_topics_body",{searchUrl:(0,r.default)("/search")}))):(e=(0,l.i18n)("user_activity.no_topics_title_others",{username:i.username}),t=""),{title:e,body:t}}titleToken(){return(0,l.i18n)("user_action_groups.4")}triggerRefresh(){this.refresh()}static #e=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))()}},23719:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(36376),n=i(83770),r=i(78009),a=i(21772);class o extends a.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[n.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"router",[n.service]))();#i=(()=>void dt7948.i(this,"router"))();static #r=(()=>dt7948.g(this.prototype,"session",[n.service]))();#tt=(()=>void dt7948.i(this,"session"))();static #a=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();queryParams={filter:{refreshModel:!0}};beforeModel(e){let t,i=e.intent.url;if(("/"===i||"/latest"===i||"/categories"===i)&&!e.targetName.includes("discovery.top")&&this.currentUser?.get("user_option.should_be_redirected_to_top")){this.currentUser?.get("user_option.should_be_redirected_to_top",!1);let e=this.currentUser?.get("user_option.redirected_to_top.period")||"all";this.router.replaceWith("discovery.top",{queryParams:{period:e}})}else i&&(t=i.match(/top\/(.*)$/))&&this.site.periods.includes(t[1])&&this.router.replaceWith("discovery.top",{queryParams:{period:t[1]}})}clearPin(e){e.clearPin()}static #d=(()=>dt7948.n(this.prototype,"clearPin",[s.action]))();refresh(){(0,r.resetCachedTopicList)(this.session),super.refresh()}triggerRefresh(){this.refresh()}static #g=(()=>dt7948.n(this.prototype,"triggerRefresh",[s.action]))()}},23760:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(9015),n=i(93810),r=i(60110),a=i(29681);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"PXuBpbxV",block:'[[[1,"\\n"],[41,[30,1,["invisible"]],[[[1," "],[1,[28,[32,0],["topic-status-unlisted"],null]],[1,"\\n"]],[]],null],[41,[30,1,["pinned"]],[[[1," "],[1,[28,[32,0],["topic-status-pinned"],null]],[1,"\\n"]],[]],null],[41,[30,1,["unpinned"]],[[[1," "],[1,[28,[32,0],["topic-status-unpinned"],null]],[1,"\\n"]],[]],null]],["@topic"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/add-topic-status-classes.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"add-topic-status-classes:AddTopicStatusClasses"))},23762:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(62069),n=i(18601),r=i(44612),a=i(82938),o=i(20936),l=i(29989),u=i(9015),d=i(29421),c=i(64760),p=i(93810),h=i(60110),m=i(29681);let g=(0,s.default)((0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"48lfeXEi",block:'[[[1,"\\n "],[1,[28,[32,0],["user-messages-page"],null]],[1,"\\n\\n "],[8,[32,1],null,[["@name","@outletArgs"],["user-messages-above-navigation",[28,[32,2],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n\\n "],[10,0],[14,0,"user-navigation user-navigation-secondary"],[12],[1,"\\n "],[10,"ol"],[14,0,"category-breadcrumb"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,3],null,[["@content","@value","@onChange"],[[30,1,["messagesDropdownContent"]],[30,1,["messagesDropdownValue"]],[30,1,["onMessagesDropdownChange"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,4],[[24,1,"user-navigation-secondary__horizontal-nav"],[24,0,"messages-nav"]],[["@ariaLabel"],["User secondary - messages"]],null],[1,"\\n\\n "],[10,0],[14,0,"navigation-controls"],[12],[1,"\\n"],[41,[30,1,["site","mobileView"]],[[[41,[30,1,["currentUser","admin"]],[[[1," "],[8,[32,5],null,[["@bulkSelectHelper"],[[30,1,["bulkSelectHelper"]]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[10,1],[14,1,"navigation-controls__button"],[12],[13],[1,"\\n\\n"],[41,[30,1,["showNewPM"]],[[[1," "],[8,[32,6],[[24,0,"btn-primary new-private-message"]],[["@action","@icon","@label"],[[28,[32,7],["composePrivateMessage"],null],"envelope","user.new_private_message"]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,1],null,[["@name","@outletArgs"],["user-messages-controls-bottom",[28,[32,2],null,[["showNewPM"],[[30,1,["showNewPM"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"user-content"],[14,1,"user-content"],[12],[1,"\\n "],[46,[28,[31,2],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["if","component","-outlet"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/messages.js",scope:()=>[u.default,o.default,d.default,l.default,a.default,n.default,r.default,c.default],isStrictMode:!0}),(0,m.default)(void 0,void 0)))},23814:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(21044),n=i(93558),r=i(36376),a=i(41825),o=i(74129),l=i(31862),u=i(83770),d=i(6809),c=i(13446),p=i(37420),h=i(41277),m=i(93810),g=i(60110);class f extends s.default{static #e=(()=>dt7948.g(this.prototype,"composer",[u.service]))();#c=(()=>void dt7948.i(this,"composer"))();static #t=(()=>dt7948.g(this.prototype,"dialog",[u.service]))();#l=(()=>void dt7948.i(this,"dialog"))();get formattedChoices(){return this.args.choices.map(e=>({name:e,display:this.args.attributes.tag_choices[e]?this.args.attributes.tag_choices[e]:e.replace(/-/g," ").toUpperCase()}))}get filteredSelectedValues(){return this.tags.filter(e=>this.formattedChoices.some(t=>t.name===e))}get selectedTags(){return this.tags.filter(e=>this.args.choices.includes(e))}dropdownSyncWithComposerTags(){if(this.args.onChange)if(this.selectedTags.length>1){this.dialog.alert((0,h.i18n)("admin.form_templates.errors.multiple_tags_not_allowed",{tag_name:this.args.attributes.tag_group}));let e=[...this.tags.filter(e=>!this.selectedTags.includes(e))];(0,l.next)(()=>{(0,r.set)(this.composer.model,"tags",e),this.args.onChange([])})}else this.args.onChange(this.tags)}static #r=(()=>dt7948.n(this.prototype,"dropdownSyncWithComposerTags",[r.action]))();get tags(){return this.composer.get("model.tags")||[]}syncWithComposerTags(){this.args.attributes.multiple?this.args.onChange?.(this.tags):this.dropdownSyncWithComposerTags()}static #a=(()=>dt7948.n(this.prototype,"syncWithComposerTags",[r.action]))();handleSelectedValues(e){let t=e=>e.toLowerCase().replace(/\s+/g,"-"),i=null,s=this.args.attributes.tag_choices;return s&&(i=new Map(Object.entries(s).map(e=>{let[t,i]=e;return[i,t]}))),Array.from(e.target.selectedOptions).map(e=>i?.get(e.textContent.trim())??t(e.value))}static #d=(()=>dt7948.n(this.prototype,"handleSelectedValues",[r.action]))();handleInput(e){let t=this.handleSelectedValues(e),i=this.formattedChoices.map(e=>e.name),s=t.filter(e=>i.includes(e));(0,r.set)(this.composer.model,"tags",[...this.tags.filter(e=>!this.selectedTags.includes(e)),...s].uniq())}static #g=(()=>dt7948.n(this.prototype,"handleInput",[r.action]))();isSelected(e){return e=e.toLowerCase().replace(/\s+/g,"-"),this.filteredSelectedValues.includes(e)}static #T=(()=>dt7948.n(this.prototype,"isSelected",[r.action]))();static #C=(()=>(0,m.setComponentTemplate)((0,g.createTemplateFactory)({id:"Yb3TiBQe",block:'[[[1,"\\n "],[11,0],[24,"data-field-type","multi-select"],[24,0,"control-group form-template-field"],[4,[32,0],[[30,0,["syncWithComposerTags"]]],null],[4,[32,1],[[30,0,["syncWithComposerTags"]],[30,0,["composer","model","tags"]]],null],[12],[1,"\\n"],[41,[30,1,["label"]],[[[1," "],[10,"label"],[14,0,"form-template-field__label"],[12],[1,"\\n "],[1,[30,1,["label"]]],[1,"\\n"],[41,[30,2,["required"]],[[[1," "],[1,[28,[32,2],["asterisk"],[["class"],["form-template-field__required-indicator"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["description"]],[[[1," "],[10,1],[14,0,"form-template-field__description"],[12],[1,"\\n "],[1,[28,[32,3],[[30,1,["description"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[11,"select"],[16,3,[30,3]],[16,"required",[52,[30,2,["required"]],"required",""]],[16,"multiple",[30,1,["multiple"]]],[24,0,"form-template-field__multi-select"],[4,[32,4],["input",[30,0,["handleInput"]]],null],[12],[1,"\\n"],[41,[30,1,["none_label"]],[[[1," "],[10,"option"],[14,0,"form-template-field__multi-select-placeholder"],[14,2,""],[15,"disabled",[28,[32,5],[[30,0,["selectedTags","length"]]],null]],[15,"selected",[52,[30,0,["selectedTags","length"]],"","selected"]],[12],[1,[30,1,["none_label"]]],[13],[1,"\\n"]],[]],null],[42,[28,[31,2],[[28,[31,2],[[30,0,["formattedChoices"]]],null]],null],null,[[[1," "],[10,"option"],[15,2,[30,4,["display"]]],[15,"selected",[28,[30,0,["isSelected"]],[[30,4,["name"]]],null]],[12],[1,[30,4,["display"]]],[13],[1,"\\n"]],[4]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["@attributes","@validations","@id","choice"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/form-template-field/tag-chooser.js",scope:()=>[a.default,o.default,p.default,d.htmlSafe,n.on,c.not],isStrictMode:!0}),this))()}},23873:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13338),n=i(41277);let r=(0,s.createWidget)("post-gap",{tagName:"div.gap",buildKey:e=>`post-gap-${e.pos}-${e.postId}`,defaultState:()=>({loading:!1}),html:(e,t)=>t.loading?(0,n.i18n)("loading"):(0,n.i18n)("post.gap",{count:e.gap.length}),click(){let{attrs:e,state:t}=this;if(t.loading)return;t.loading=!0;let i={gap:e.gap,post:this.model};return this.sendWidgetAction("before"===e.pos?"fillGapBefore":"fillGapAfter",i).then(()=>{t.loading=!1,this.appEvents.trigger("post-stream:gap-expanded",{post_id:this.model.id})})}})},24069:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(93810),n=i(62069),r=i(7760),a=i(65774),o=i(44612),l=i(62214),u=i(20936),d=i(9015),c=i(41277),p=i(60110),h=i(29681);let m=(0,n.default)((0,s.setComponentTemplate)((0,p.createTemplateFactory)({id:"yljuARog",block:'[[[1,"\\n "],[1,[28,[32,0],["user-activity-bookmarks-page"],null]],[1,"\\n\\n "],[8,[32,1],null,[["@condition"],[[30,1,["loading"]]]],[["default"],[[[[1,"\\n "],[8,[32,2],null,[["@name","@connectorTagName"],["above-user-bookmarks","div"]],null],[1,"\\n\\n"],[41,[30,1,["permissionDenied"]],[[[1," "],[10,0],[14,0,"alert alert-info"],[12],[1,[28,[32,3],["bookmarks.list_permission_denied"],null]],[13],[1,"\\n"]],[]],[[[41,[30,1,["userDoesNotHaveBookmarks"]],[[[1," "],[8,[32,4],null,[["@title","@body"],[[28,[32,3],["user.no_bookmarks_title"],null],[30,1,["emptyStateBody"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"inline-form full-width bookmark-search-form"],[12],[1,"\\n "],[8,[32,5],[[16,"placeholder",[28,[32,3],["bookmarks.search_placeholder"],null]],[24,1,"bookmark-search"],[24,"autocomplete","off"]],[["@type","@value","@enter"],["text",[30,1,["searchTerm"]],[30,1,["search"]]]],null],[1,"\\n "],[8,[32,6],[[24,0,"btn-primary"]],[["@action","@icon"],[[30,1,["search"]],"magnifying-glass"]],null],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["nothingFound"]],[[[1," "],[10,0],[14,0,"alert alert-info"],[12],[1,[28,[32,3],["user.no_bookmarks_search"],null]],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,7],null,[["@bulkSelectHelper","@loadMore","@reload","@loadingMore","@content"],[[30,1,["bulkSelectHelper"]],[30,1,["loadMore"]],[30,1,["reload"]],[30,1,["loadingMore"]],[30,1,["model","bookmarks"]]]],null],[1,"\\n"]],[]]],[1," "]],[]]]],[]]],[1," "]],[]]]]],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user/bookmarks.js",scope:()=>[d.default,a.default,u.default,c.i18n,l.default,s.Input,o.default,r.default],isStrictMode:!0}),(0,h.default)(void 0,void 0)))},24128:(e,t,i)=>{"use strict";i.r(t);var s=i(53459),n=i(55074),r=i(23434),a=i(96244),o=i(6160),l=i(90364),u=i(85668),d=i(41278);(0,s.registerAsyncHelper)("visit",u.default),(0,s.registerAsyncHelper)("wait",d.default),(0,s.registerAsyncHelper)("andThen",n.default),(0,s.registerAsyncHelper)("pauseTest",l.pauseTest),(0,s.registerHelper)("currentRouteName",a.default),(0,s.registerHelper)("currentPath",r.default),(0,s.registerHelper)("currentURL",o.default),(0,s.registerHelper)("resumeTest",l.resumeTest)},24166:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});let s={},n=[],r={addSharingId(e){n.push(e)},addSource(e){e.faIcon&&(e.icon=e.faIcon.replace("fa-",""),delete e.faIcon),s[e.id]=e},shareSource(e,t){if(e.clickHandler)e.clickHandler(t.url,t.title);else{let i=e.generateUrl(t.url,t.title,t.quote),s={menubar:"no",toolbar:"no",resizable:"yes",scrollbars:"yes",width:600,height:e.popupHeight||315},n=Object.keys(s).map(e=>`${e}=${s[e]}`).join(",");e.shouldOpenInPopup?window.open(i,"",n):"email"===e.id?window.location.href=i:window.open(i,"_blank")}},activeSources(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e.split("|").concat(n).map(e=>s[e]).compact();return t?i.filter(e=>e.showInPrivateContext):i},_reset(){s={},n=[]}}},24183:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BUMP_TYPE:()=>S,CLOSE_AFTER_LAST_POST_STATUS_TYPE:()=>b,CLOSE_STATUS_TYPE:()=>y,DELETE_REPLIES_TYPE:()=>C,DELETE_STATUS_TYPE:()=>T,OPEN_STATUS_TYPE:()=>w,PUBLISH_TO_CATEGORY_STATUS_TYPE:()=>k,default:()=>A});var s=i(21044),n=i(77632),r=i(36376),a=i(31862),o=i(83770),l=i(94204),u=i(44612),d=i(28431),c=i(62204),p=i(92161),h=i(59006),m=i(41277),g=i(53560),f=i(93810),_=i(60110);let y="close",b="close_after_last_post",w="open",k="publish_to_category",T="delete",S="bump",C="delete_replies";class A extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[o.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"topicTimer",[n.tracked]))();#nA=(()=>void dt7948.i(this,"topicTimer"))();static #r=(()=>dt7948.g(this.prototype,"loading",[n.tracked],function(){return!1}))();#u=(()=>void dt7948.i(this,"loading"))();static #a=(()=>dt7948.g(this.prototype,"flash",[n.tracked]))();#b=(()=>void dt7948.i(this,"flash"))();constructor(){super(...arguments),this.args.model.topic?.topic_timer?this.topicTimer=new l.TrackedObject(this.args.model.topic?.topic_timer):(0,a.next)(()=>{this.topicTimer=new l.TrackedObject(this.createDefaultTimer())})}get defaultStatusType(){return this.publicTimerTypes[0].id}get publicTimerTypes(){let e=[],{closed:t,category:i,isPrivateMessage:s,invisible:n}=this.args.model.topic;return t||(e.push({id:y,name:(0,m.i18n)("topic.auto_close.title")}),e.push({id:b,name:(0,m.i18n)("topic.auto_close_after_last_post.title")})),t&&e.push({id:w,name:(0,m.i18n)("topic.auto_reopen.title")}),this.args.model.topic.details.can_delete&&e.push({id:T,name:(0,m.i18n)("topic.auto_delete.title")}),e.push({id:S,name:(0,m.i18n)("topic.auto_bump.title")}),this.args.model.topic.details.can_delete&&e.push({id:C,name:(0,m.i18n)("topic.auto_delete_replies.title")}),t&&e.push({id:y,name:(0,m.i18n)("topic.temp_open.title")}),t||e.push({id:w,name:(0,m.i18n)("topic.temp_close.title")}),(i&&i.read_restricted||s||n)&&e.push({id:k,name:(0,m.i18n)("topic.publish_to_category.title")}),e}_setTimer(e,t,i,s,n){this.loading=!0,h.default.update(this.args.model.topic.id,e,s,i,n,t).then(i=>{if(e||t)this.args.model.updateTopicTimerProperty("execute_at",i.execute_at),this.args.model.updateTopicTimerProperty("duration_minutes",i.duration_minutes),this.args.model.updateTopicTimerProperty("category_id",i.category_id),this.args.model.updateTopicTimerProperty("closed",i.closed),this.args.closeModal();else{let e=this.createDefaultTimer();this.topicTime=e,this.args.model.setTopicTimer(e),this.onChangeInput(null,null)}}).catch(p.popupAjaxError).finally(()=>this.loading=!1)}createDefaultTimer(){let e=h.default.create({status_type:this.defaultStatusType});return this.args.model.setTopicTimer(e),e}static #d=(()=>dt7948.n(this.prototype,"createDefaultTimer",[r.action]))();onChangeStatusType(e){let t=b===e;this.topicTimer.based_on_last_post=t,this.args.model.updateTopicTimerProperty("based_on_last_post",t),this.topicTimer.status_type=e,this.args.model.updateTopicTimerProperty("status_type",e)}static #g=(()=>dt7948.n(this.prototype,"onChangeStatusType",[r.action]))();onChangeInput(e,t){moment.isMoment(t)&&(t=t.format(g.FORMAT)),this.topicTimer.updateTime=t,this.args.model.updateTopicTimerProperty("updateTime",t)}static #T=(()=>dt7948.n(this.prototype,"onChangeInput",[r.action]))();async saveTimer(){if(this.flash=null,!this.topicTimer.updateTime&&!this.topicTimer.duration_minutes){this.flash=(0,m.i18n)("topic.topic_status_update.time_frame_required");return}if(this.topicTimer.duration_minutes&&!this.topicTimer.updateTime){if(this.topicTimer.duration_minutes<=0){this.flash=(0,m.i18n)("topic.topic_status_update.min_duration");return}if(this.topicTimer.duration_minutes>10512e3){this.flash=(0,m.i18n)("topic.topic_status_update.max_duration");return}}let e=this.topicTimer.status_type;e===b&&(e=y),await this._setTimer(this.topicTimer.updateTime,this.topicTimer.duration_minutes,e,this.topicTimer.based_on_last_post,this.topicTimer.category_id)}static #C=(()=>dt7948.n(this.prototype,"saveTimer",[r.action]))();async removeTimer(){let e=this.topicTimer.status_type;e===b&&(e=y),await this._setTimer(null,null,e),this.topicTimer.execute_at=null}static #A=(()=>dt7948.n(this.prototype,"removeTimer",[r.action]))();static #D=(()=>(0,f.setComponentTemplate)((0,_.createTemplateFactory)({id:"3WsvtZZ9",block:'[[[1,"\\n "],[8,[32,0],[[24,"autoFocus","false"],[24,1,"topic-timer-modal"],[24,0,"edit-topic-timer-modal"]],[["@title","@flash","@closeModal"],[[28,[32,1],["topic.topic_status_update.title"],null],[30,0,["flash"]],[30,1]]],[["body","footer"],[[[[1,"\\n"],[41,[30,0,["topicTimer"]],[[[1," "],[8,[32,2],null,[["@topic","@topicTimer","@timerTypes","@onChangeStatusType","@onChangeInput"],[[30,2,["topic"]],[30,0,["topicTimer"]],[30,0,["publicTimerTypes"]],[30,0,["onChangeStatusType"]],[30,0,["onChangeInput"]]]],null],[1,"\\n"]],[]],null],[1," "]],[]],[[[1,"\\n "],[8,[32,3],[[24,0,"btn-primary"]],[["@disabled","@label","@action","@isLoading"],[[30,0,["saveDisabled"]],"topic.topic_status_update.save",[30,0,["saveTimer"]],[30,0,["loading"]]]],null],[1,"\\n"],[41,[30,0,["topicTimer","execute_at"]],[[[1," "],[8,[32,3],[[24,0,"btn-danger"]],[["@action","@label"],[[30,0,["removeTimer"]],"topic.topic_status_update.remove"]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/edit-topic-timer.js",scope:()=>[d.default,m.i18n,c.default,u.default],isStrictMode:!0}),this))()}},24212:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(13641),n=i(3558);class r extends s.default{find(e,t,i){return i.similar?(0,n.ajax)("/topics/similar_to",{data:i.similar}):super.find(e,t,i)}}},24300:(e,t,i)=>{"use strict";i.r(t),i.d(t,{appVersion:()=>a,default:()=>o});var s=i(22908),n=i(15792),r=i(20067);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.default.APP.version,s=t.versionOnly||t.hideSha,a=t.shaOnly||t.hideVersion,o=null;return s&&(t.showExtended&&(o=i.match(r.versionExtendedRegExp)),o||(o=i.match(r.versionRegExp))),a&&(o=i.match(r.shaRegExp)),o?o[0]:i}let o=(0,s.helper)(a)},24310:(e,t,i)=>{"use strict";function s(e){if(!Array.isArray(e))throw Error("the argument to the each() macro must be an array");return e}function n(e){return e}function r(e){return l.packages[e]}function a(){return l.global}function o(){let e=l.global,t=e&&e["@embroider/macros"];return!!(t&&t.isTesting)}i.r(t),i.d(t,{config:()=>r,each:()=>s,getGlobalConfig:()=>a,isTesting:()=>o,macroCondition:()=>n});let l=function(){return{packages:{},global:{}}}(),u="undefined"!=typeof window?window._embroider_macros_runtime_config:void 0;if(u){let e=function(){return{config:r,getGlobalConfig:a,setConfig(e,t){l.packages[e]=t},setGlobalConfig(e,t){l.global[e]=t}}}();for(let t of u)t(e)}},24375:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(21044),n=i(83770),r=i(88554),a=i(93810),o=i(60110);class l extends s.default{static #e=(()=>dt7948.g(this.prototype,"menu",[n.service]))();#tU=(()=>void dt7948.i(this,"menu"))();static #t=(()=>(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"rtCNRCrc",block:'[[[1,"\\n "],[10,0],[14,1,"d-menu-portals"],[12],[13],[1,"\\n\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["menu","registeredMenus"]]],null]],null],"id",[[[41,[30,1,["detachedTrigger"]],[[[1," "],[8,[32,0],null,[["@menu"],[[30,1]]],null],[1,"\\n"]],[]],null]],[1]],null],[1," "]],["menu"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-menus.js",scope:()=>[r.default],isStrictMode:!0}),this))()}},24434:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(93810),n=i(14547),r=i(77598);let a=dt7948.c(class extends s.default{didInsertElement(){super.didInsertElement(...arguments);let e=this.element.querySelector(".user-field.dropdown .select-kit-header");e=e||this.element.querySelector("input"),this.field.element=e}noneLabel(){return"user_fields.none"}static #e=(()=>dt7948.n(this.prototype,"noneLabel",[r.default]))();customFieldClass(e){if(e)return(e=e.replace(/\s+/g,"-").replace(/[!\"#$%&'\(\)\*\+,\.\/:;<=>\?\@\[\\\]\^`\{\|\}~]/g,"").toLowerCase())&&`user-field-${e}`}static #t=(()=>dt7948.n(this.prototype,"customFieldClass",[(0,r.default)("field.name")]))()},[(0,n.classNameBindings)(":user-field","field.field_type","customFieldClass")])},24435:e=>{"use strict";var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:{};e.exports=function(e,i){return e in t?t[e]:(t[e]=i,i)}},24447:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(37338),n=i(36376),r=i(10218),a=i(42946),o=i(83770),l=i(33428),u=i(22e3);class d extends u.default{static #e=(()=>dt7948.g(this.prototype,"tooltip",[o.service]))();#sO=(()=>void dt7948.i(this,"tooltip"))();static #t=(()=>dt7948.g(this.prototype,"expanded",[s.tracked],function(){return!1}))();#tB=(()=>void dt7948.i(this,"expanded"))();static #r=(()=>dt7948.g(this.prototype,"detachedTrigger",[s.tracked],function(){return!1}))();#tY=(()=>void dt7948.i(this,"detachedTrigger"))();static #a=(()=>dt7948.g(this.prototype,"options",[s.tracked]))();#tH=(()=>void dt7948.i(this,"options"))();static #d=(()=>dt7948.g(this.prototype,"_trigger",[s.tracked]))();#tq=(()=>void dt7948.i(this,"_trigger"))();constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(...arguments),(0,a.setOwner)(this,e),this.options={...l.TOOLTIP.options,...t}}get trigger(){return this._trigger}set trigger(e){this._trigger=e,this.id=e.id||(0,r.guidFor)(e),this.setupListeners()}get portalOutletElement(){return document.getElementById("d-tooltip-portals")}async show(){await this.tooltip.show(this),await super.show(...arguments)}static #g=(()=>dt7948.n(this.prototype,"show",[n.action]))();async close(){await this.tooltip.close(this),await super.close(...arguments)}static #T=(()=>dt7948.n(this.prototype,"close",[n.action]))();async onPointerMove(e){this.expanded&&this.trigger.contains(e.target)&&"touch"!==e.pointerType||await this.onTrigger(e)}static #C=(()=>dt7948.n(this.prototype,"onPointerMove",[n.action]))();async onClick(e){if(this.expanded&&this.untriggers.includes("click"))return await this.onUntrigger(e);await this.onTrigger(e)}static #A=(()=>dt7948.n(this.prototype,"onClick",[n.action]))();async onPointerLeave(e){this.untriggers.includes("hover")&&await this.onUntrigger(e)}static #D=(()=>dt7948.n(this.prototype,"onPointerLeave",[n.action]))();async onTrigger(){await this.options.beforeTrigger?.(this),await this.show()}static #M=(()=>dt7948.n(this.prototype,"onTrigger",[n.action]))();async onUntrigger(){await this.close()}static #E=(()=>dt7948.n(this.prototype,"onUntrigger",[n.action]))();destroy(){this.close(),this.tearDownListeners()}static #P=(()=>dt7948.n(this.prototype,"destroy",[n.action]))()}},24560:(e,t,i)=>{"use strict";function s(){return"undefined"!=typeof window}function n(e){return o(e)?(e.nodeName||"").toLowerCase():"#document"}function r(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(o(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function o(e){return!!s()&&(e instanceof Node||e instanceof r(e).Node)}function l(e){return!!s()&&(e instanceof Element||e instanceof r(e).Element)}function u(e){return!!s()&&(e instanceof HTMLElement||e instanceof r(e).HTMLElement)}function d(e){return!!s()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof r(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:i,overflowY:s,display:n}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+i)&&!["inline","contents"].includes(n)}function p(e){return["table","td","th"].includes(n(e))}function h(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function m(e){let t=f(),i=l(e)?y(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!i[e]&&"none"!==i[e])||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(i.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(i.contain||"").includes(e))}function g(e){let t=w(e);for(;u(t)&&!_(t);){if(m(t))return t;if(h(t))break;t=w(t)}return null}function f(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function _(e){return["html","body","#document"].includes(n(e))}function y(e){return r(e).getComputedStyle(e)}function b(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function w(e){if("html"===n(e))return e;let t=e.assignedSlot||e.parentNode||d(e)&&e.host||a(e);return d(t)?t.host:t}function k(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}i.d(t,{$4:()=>w,CP:()=>b,L9:()=>y,Lv:()=>p,Tc:()=>f,Tf:()=>h,ZU:()=>c,_m:()=>k,ep:()=>a,eu:()=>_,gJ:()=>g,mq:()=>n,sQ:()=>m,sb:()=>u,v9:()=>function e(t,i,s){var n;void 0===i&&(i=[]),void 0===s&&(s=!0);let a=function e(t){let i=w(t);return _(i)?t.ownerDocument?t.ownerDocument.body:t.body:u(i)&&c(i)?i:e(i)}(t),o=a===(null==(n=t.ownerDocument)?void 0:n.body),l=r(a);if(o){let t=k(l);return i.concat(l,l.visualViewport||[],c(a)?a:[],t&&s?e(t):[])}return i.concat(a,e(a,[],s))},vq:()=>l,zk:()=>r})},24567:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(16468),n=i(64301),r=i(94611);class a{constructor(e){let{siteSettings:t,site:i}=e;this.site=i,this.siteSettings=t}get className(){}get linkHref(){throw Error("not implemented")}get linkTitle(){throw Error("not implemented")}get icon(){throw Error("not implemented")}get label(){throw Error("not implemented")}get labelClass(){}get description(){throw Error("not implemented")}get descriptionClass(){}get topicId(){}get avatarTemplate(){}get iconComponent(){return this.siteSettings.show_user_menu_avatars?s.default:null}get iconComponentArgs(){let e=!this.avatarTemplate||this.avatarTemplate.endsWith(this.site.system_user_avatar_template);return{avatarTemplate:this.avatarTemplate||this.site.system_user_avatar_template,icon:this.icon,classNames:e?"system-avatar":"user-avatar"}}onClick(e){let{event:t,closeUserMenu:i}=e;!(0,n.wantsNewWindow)(t)&&(t.preventDefault(),i?.(),this.linkHref&&r.default.routeTo(this.linkHref))}}},24607:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(21044),n=i(42371),r=i(25164),a=i(19100),o=i(93810),l=i(60110),u=i(29681);let d=(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"xRTqTd92",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"form-kit__control-option"]],[["@value","@selected"],[[30,1],[30,2]]],[["default"],[[[[1,"\\n "],[18,3,null],[1,"\\n "]],[]]]]],[1,"\\n"]],["@value","@selected","&default"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/select.js",scope:()=>[a.DSelectOption],isStrictMode:!0}),(0,u.default)(void 0,"select:SelectOption"));class c extends s.default{static controlType="select";get includeNone(){return!!(0,r.isBlank)(this.args.field.value)||(this.args.includeNone??!this.args.field.validation?.includes("required"))}static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"pCZPYI8q",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"form-kit__control-select"],[16,"disabled",[30,1,["disabled"]]],[17,2]],[["@value","@onChange","@includeNone"],[[30,1,["value"]],[30,1,["set"]],[30,0,["includeNone"]]]],[["default"],[[[[1,"\\n "],[18,3,[[28,[32,1],null,[["Option"],[[50,[32,2],0,null,[["selected"],[[30,1,["value"]]]]]]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["@field","&attrs","&default"],false,["yield","component"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/select.js",scope:()=>[a.default,n.hash,d],isStrictMode:!0}),this))()}},24623:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var s=i(22112),n=i(87356),r=i(46337);function a(e){return"html"===(0,s.A)(e)?e:e.assignedSlot||e.parentNode||((0,r.Ng)(e)?e.host:null)||(0,n.A)(e)}},24634:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(77632),n=i(83770),r=i(25910);let a="forced_color_mode",o="dark",l="light";class u extends n.default{static #e=(()=>dt7948.g(this.prototype,"appEvents",[n.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #t=(()=>dt7948.g(this.prototype,"siteSettings",[n.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #r=(()=>dt7948.g(this.prototype,"session",[n.service]))();#tt=(()=>void dt7948.i(this,"session"))();static #a=(()=>dt7948.g(this.prototype,"forcedColorMode",[s.tracked]))();#nD=(()=>void dt7948.i(this,"forcedColorMode"))();get lightModeForced(){return this.selectorAvailable&&this.forcedColorMode===l}get darkModeForced(){return this.selectorAvailable&&this.forcedColorMode===o}get selectorAvailable(){return this.session.darkModeAvailable&&!this.session.defaultColorSchemeIsDark}get selectorAvailableInSidebar(){return this.selectorAvailable&&"sidebar_footer"===this.siteSettings.interface_color_selector}get selectorAvailableInHeader(){return this.selectorAvailable&&"header"===this.siteSettings.interface_color_selector}ensureCorrectMode(){if(!this.selectorAvailable)return;let e=(0,r.default)(a);e===l?this.forceLightMode({flipStylesheets:!1}):e===o&&this.forceDarkMode({flipStylesheets:!1})}forceLightMode(){let{flipStylesheets:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.forcedColorMode=l,(0,r.default)(a,l,{path:"/",expires:365}),e){let e=this.#nM(),t=this.#nx();e&&t&&(e.media="all",t.media="none")}this.appEvents.trigger("interface-color:changed",l)}forceDarkMode(){let{flipStylesheets:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.forcedColorMode=o,(0,r.default)(a,o,{path:"/",expires:365}),e){let e=this.#nM(),t=this.#nx();e&&t&&(e.media="none",t.media="all")}this.appEvents.trigger("interface-color:changed",o)}removeColorModeOverride(){this.forcedColorMode=null,(0,r.removeCookie)(a,{path:"/"});let e=this.#nM();e&&(e.media="(prefers-color-scheme: light)",this.appEvents.trigger("interface-color:changed",l));let t=this.#nx();t&&(t.media="(prefers-color-scheme: dark)",this.appEvents.trigger("interface-color:changed",o))}#nM(){return document.querySelector("link.light-scheme")}#nx(){return document.querySelector("link.dark-scheme")}}},24648:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(20233),n=i(48041),r=i(87102);let a={before:"hashtag-css-generator",initialize(e){(0,r.withPluginApi)("0.8.7",t=>{t.registerHashtagType("category",new s.default(e)),t.registerHashtagType("tag",new n.default(e))})}}},24667:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a}),i(7950);var s=i(55177),n=i(55358);function r(e){return null!=e&&"function"==typeof e.stop}let a=s.default.extend({init(){this.doneCallbacks=[]},asyncStart(){r(QUnit)?QUnit.stop():this.doneCallbacks.push(QUnit.config.current?QUnit.config.current.assert.async():null)},asyncEnd(){if(r(QUnit))QUnit.start();else{let e=this.doneCallbacks.pop();e&&e()}},exception(e){QUnit.config.current.assert.ok(!1,(0,n.default)(e))}})},24805:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){return e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},24872:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(62069),n=i(20936),r=i(41277),a=i(93810),o=i(60110),l=i(29681);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"G1ye77VE",block:'[[[1,"\\n "],[8,[32,0],null,[["@name"],["custom-homepage"]],[["default"],[[[[1,"\\n"],[41,[30,1,["currentUser","admin"]],[[[1," "],[10,2],[14,0,"alert alert-info"],[12],[1,"\\n "],[1,[28,[32,1],["custom_homepage.admin_message"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/discovery/custom.js",scope:()=>[n.default,r.i18n],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},24893:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(93810),n=i(14547),r=i(12329),a=i(37420),o=i(28455),l=i(60110);let u=dt7948.c(class extends s.default{static #e=(()=>(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"6L3EanqG",block:'[[[1,"\\n "],[8,[32,0],null,[["@user"],[[30,1]]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],[[30,2]],null]],[1,"\\n "],[10,1],[15,0,[30,3]],[12],[1,[28,[32,2],[[30,1,["count"]]],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@user","@icon","@countClass"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/user-summary-user.js",scope:()=>[r.default,a.default,o.default],isStrictMode:!0}),this))()},[(0,n.tagName)("li")])},24902:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(36376),r=i(6809),a=i(50424),o=i(76998),l=i(93810),u=i(60110);class d extends s.default{static controlType="code";initialValue=(()=>this.args.field.value||"")();handleInput(e){this.args.field.set(e)}static #e=(()=>dt7948.n(this.prototype,"handleInput",[n.action]))();get style(){if(this.args.height)return(0,r.htmlSafe)(`height: ${(0,o.escapeExpression)(this.args.height)}px`)}static #t=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"/mqoIPm9",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"form-kit__control-code"],[16,5,[30,0,["style"]]],[17,1]],[["@content","@onChange","@mode","@disabled"],[[30,0,["initialValue"]],[30,0,["handleInput"]],[30,2],[30,3,["disabled"]]]],null],[1,"\\n "]],["&attrs","@lang","@field"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/form-kit/components/fk/control/code.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},24911:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(93810),n=i(14547);let r=dt7948.c(class extends s.default{},[(0,n.classNames)("discourse-root"),(0,n.tagName)("div")])},24924:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";function t(e,t,i,s){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[i][0]:n[i][1]}return e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},25011:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(84893);let n={initialize(e){let t=e.lookup("service:screen-track"),i=s.default.current(),n=e.lookup("service:site-settings"),r=e.lookup("service:key-value-store"),a=e.lookup("service:current-user"),o=e.lookup("service:app-events");function l(){if(i.get("showSignupCta")||i.get("hideSignupCta")||r.get("anon-cta-never"))return;let e=Date.now();if(r.getInt("anon-cta-hidden",0)>e-864e5||12e4>r.getInt("anon-topic-time"))return;let t=r.get("anon-topic-ids");t&&(t.split(",").length<2||(i.set("showSignupCta",!0),o.trigger("cta:shown")))}a||r.get("anon-cta-never")||!n.allow_new_registrations||n.invite_only||n.login_required||n.enable_signup_cta&&(t.registerAnonCallback(l),l())}}},25062:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(93810),n=i(83770),r=i(14547),a=i(2845),o=i(60339),l=i.n(o),u=i(35385),d=i(66185),c=i(60110);let p=dt7948.c(class extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[n.service]))();#s=(()=>void dt7948.i(this,"site"))();bodyScrollLock=(()=>(0,a.modifier)(e=>{if(!this.site.mobileView)return;let t=u.locks.some(t=>t.targetElement.contains(e));return t&&(0,u.disableBodyScroll)(e),()=>{t&&(0,u.enableBodyScroll)(e)}}))();static #t=(()=>(0,s.setComponentTemplate)((0,c.createTemplateFactory)({id:"dw7pxEfZ",block:'[[[1,"\\n"],[41,[30,0,["collection","content","length"]],[[[1," "],[11,"ul"],[24,0,"select-kit-collection"],[24,"aria-live","polite"],[24,"role","menu"],[4,[30,0,["bodyScrollLock"]],null,null],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["collection","content"]]],null]],null],null,[[[44,[[28,[32,0],[[30,0],[28,[32,1],[[30,0,["collection","identifier"]],[30,1],[30,0,["selectKit"]]],null]],null]],[[[1," "],[8,[30,3],null,[["@item","@index","@value","@selectKit"],[[30,1],[30,2],[30,0,["value"]],[30,0,["selectKit"]]]],null],[1,"\\n"]],[3]]]],[1,2]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],["item","index","RowComponent"],false,["if","each","-track-array","let"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/select-kit/select-kit-collection.js",scope:()=>[d.resolveComponent,l()],isStrictMode:!0}),this))()},[(0,r.tagName)("")])},25071:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(42371),n=i(62069),r=i(78122),a=i(20936),o=i(57209),l=i(31022),u=i(29421),d=i(41277),c=i(65644),p=i(93810),h=i(60110),m=i(29681);let g=(0,n.default)((0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"kGaEvWjI",block:'[[[1,"\\n "],[10,0],[14,0,"control-group notifications"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.notifications"],null]],[13],[1,"\\n\\n "],[10,0],[14,0,"controls controls-dropdown"],[14,"data-setting-name","user-like-notification-frequency"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["user.like_notification_frequency.title"],null]],[13],[1,"\\n "],[8,[32,1],null,[["@valueProperty","@content","@value","@onChange"],["value",[30,1,["likeNotificationFrequencies"]],[30,1,["model","user_option","like_notification_frequency"]],[28,[32,2],[[28,[31,0],[[30,1,["model","user_option","like_notification_frequency"]]],null]],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,1,["capabilities","isAppWebview"]]],[[[1," "],[10,0],[14,0,"control-group desktop-notifications"],[14,"data-setting-name","user-desktop-notifications"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["user.desktop_notifications.label"],null]],[13],[1,"\\n "],[8,[32,3],null,null,null],[1,"\\n "],[10,0],[14,0,"instructions"],[12],[1,[28,[32,0],["user.desktop_notifications.each_browser_note"],null]],[13],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,4],null,[["@name","@connectorTagName","@outletArgs"],["user-preferences-desktop-notifications","div",[28,[32,5],null,[["model","save"],[[30,1,["model"]],[30,1,["save"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,6],null,[["@model"],[[30,1,["model"]]]],null],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,4],null,[["@name","@connectorTagName","@outletArgs"],["user-preferences-notifications","div",[28,[32,5],null,[["model","save"],[[30,1,["model"]],[30,1,["save"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"br"],[12],[13],[1,"\\n\\n "],[10,1],[12],[1,"\\n "],[8,[32,4],null,[["@name","@connectorTagName","@outletArgs"],["user-custom-controls","div",[28,[32,5],null,[["model"],[[30,1,["model"]]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,7],null,[["@model","@action","@saved"],[[30,1,["model"]],[30,1,["save"]],[30,1,["saved"]]]],null],[1,"\\n "]],["@controller"],false,["mut","unless"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/notifications.js",scope:()=>[d.i18n,c.default,s.fn,r.default,a.default,u.default,l.default,o.default],isStrictMode:!0}),(0,m.default)(void 0,void 0)))},25085:(e,t,i)=>{"use strict";i.r(t),i.d(t,{checkWaiters:()=>o,registerWaiter:()=>r,unregisterWaiter:()=>a});let s=[],n=[];function r(){let e,t;1==arguments.length?(t=null,e=arguments.length<=0?void 0:arguments[0]):(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1]),l(t,e)>-1||(s.push(t),n.push(e))}function a(e,t){if(!n.length)return;1==arguments.length&&(t=e,e=null);let i=l(e,t);-1!==i&&(s.splice(i,1),n.splice(i,1))}function o(){if(!n.length)return!1;for(let e=0;e{"use strict";i.r(t),i.d(t,{hidePopover:()=>r,showPopover:()=>n});var s=i(1933);function n(){(0,s.default)("`showPopover` is deprecated. Use tooltip service instead.",{id:"discourse.show-popover"})}function r(){(0,s.default)("`hidePopover` is deprecated. Use tooltip service instead.",{id:"discourse.hide-popover"})}},25139:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(21044);i(77632);var n=i(42371),r=i(36376),a=i(83770),o=i(70213),l=i(35008),u=i(14738),d=i(89904),c=i(41277),p=i(99724),h=i(39139),m=i(14452),g=i(93810),f=i(60110);let _=(0,i(89689).A)(i(77632)).cached;class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"currentUser",[a.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #t=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #r=(()=>dt7948.g(this.prototype,"pmTopicTrackingState",[a.service]))();#i4=(()=>void dt7948.i(this,"pmTopicTrackingState"))();static #a=(()=>dt7948.g(this.prototype,"router",[a.service]))();#i=(()=>void dt7948.i(this,"router"))();static #d=(()=>dt7948.g(this.prototype,"site",[a.service]))();#s=(()=>void dt7948.i(this,"site"))();static #g=(()=>dt7948.g(this.prototype,"siteSettings",[a.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #T=(()=>dt7948.g(this.prototype,"topicTrackingState",[a.service]))();#tA=(()=>void dt7948.i(this,"topicTrackingState"))();constructor(){super(...arguments),this.callbackId=this.topicTrackingState.onStateChange(()=>{this.sectionLinks.forEach(e=>{e.refreshCounts&&e.refreshCounts()})})}willDestroy(){super.willDestroy(...arguments),this.topicTrackingState.offStateChange(this.callbackId)}get sectionLinks(){let e,t=[];for(let e of this.currentUser.sidebarTags.length>0?this.currentUser.sidebarTags:this.site.navigation_menu_site_top_tags||[])e.pm_only?t.push(new u.default({tag:e,currentUser:this.currentUser})):t.push(new d.default({tag:e,topicTrackingState:this.topicTrackingState,currentUser:this.currentUser}));return t}static #C=(()=>dt7948.n(this.prototype,"sectionLinks",[_]))();get shouldDisplayDefaultConfig(){return this.currentUser.admin&&!this.hasDefaultSidebarTags}get hasDefaultSidebarTags(){return(0,l.hasDefaultSidebarTags)(this.siteSettings)}showModal(){this.modal.show(o.default)}static #A=(()=>dt7948.n(this.prototype,"showModal",[r.action]))();static #D=(()=>(0,g.setComponentTemplate)((0,f.createTemplateFactory)({id:"cxAgl6p5",block:'[[[1,"\\n "],[8,[32,0],null,[["@sectionName","@headerLinkText","@headerActions","@headerActionsIcon","@collapsable"],["tags",[28,[32,1],["sidebar.sections.tags.header_link_text"],null],[28,[32,2],[[28,[32,3],null,[["action","title"],[[30,0,["showModal"]],[28,[32,1],["sidebar.sections.tags.header_action_title"],null]]]]],null],"pencil",[30,1]]],[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["sectionLinks"]]],null]],null],null,[[[1," "],[8,[32,4],[[16,"data-tag-name",[30,2,["tagName"]]]],[["@route","@title","@content","@currentWhen","@prefixType","@prefixValue","@prefixColor","@badgeText","@models","@suffixCSSClass","@suffixValue","@suffixType"],[[30,2,["route"]],[30,2,["title"]],[30,2,["text"]],[30,2,["currentWhen"]],[30,2,["prefixType"]],[30,2,["prefixValue"]],[30,2,["prefixColor"]],[30,2,["badgeText"]],[30,2,["models"]],[30,2,["suffixCSSClass"]],[30,2,["suffixValue"]],[30,2,["suffixType"]]]],null],[1,"\\n"]],[2]],null],[1,"\\n "],[8,[32,5],null,null,null],[1,"\\n\\n"],[41,[30,0,["shouldDisplayDefaultConfig"]],[[[1," "],[8,[32,4],null,[["@linkName","@content","@prefixType","@prefixValue","@route","@model","@query"],["configure-default-navigation-menu-tags",[28,[32,1],["sidebar.sections.tags.configure_defaults"],null],"icon","wrench","adminSiteSettingsCategory","sidebar",[28,[32,3],null,[["filter"],["default_navigation_menu_tags"]]]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],["@collapsable","sectionLink"],false,["each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/user/tags-section.js",scope:()=>[h.default,c.i18n,n.array,n.hash,m.default,p.default],isStrictMode:!0}),this))()}},25155:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(18891);class n extends s.default{saving=null}},25164:(e,t,i)=>{"use strict";i.r(t),i.d(t,{compare:()=>u.default,isBlank:()=>n.default,isEmpty:()=>r.default,isEqual:()=>o.default,isNone:()=>s.default,isPresent:()=>a.default,typeOf:()=>l.default});var s=i(89315),n=i(31811),r=i(5280),a=i(6810),o=i(16743),l=i(14770),u=i(73235)},25199:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o}),i(7950);var s=i(62365),n=i(55177),r=i(24667),a=i(43962);function o(){(0,a.setTesting)(!0),(0,s.getAdapter)()||(0,s.setAdapter)(void 0===self.QUnit?n.default.create():r.default.create())}},25227:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var s=i(36376),n=i(34229),r=i(14547),a=i(79651),o=i.n(a),l=i(81651),u=i.n(l),d=i(66185),c=i(91463),p=i(93810),h=i(60110);let m=dt7948.c(class extends c.default{static #e=(()=>dt7948.g(this.prototype,"clearable",[(0,n.reads)("selectKit.options.clearable")]))();#nE=(()=>void dt7948.i(this,"clearable"))();static #t=(()=>dt7948.g(this.prototype,"caretUpIcon",[(0,n.reads)("selectKit.options.caretUpIcon")]))();#il=(()=>void dt7948.i(this,"caretUpIcon"))();static #r=(()=>dt7948.g(this.prototype,"caretDownIcon",[(0,n.reads)("selectKit.options.caretDownIcon")]))();#iu=(()=>void dt7948.i(this,"caretDownIcon"))();static #a=(()=>dt7948.g(this.prototype,"shouldDisplayClearableButton",[(0,n.and)("clearable","value")]))();#nL=(()=>void dt7948.i(this,"shouldDisplayClearableButton"))();get caretIcon(){return this.selectKit.isExpanded?this.caretUpIcon:this.caretDownIcon}static #d=(()=>dt7948.n(this.prototype,"caretIcon",[(0,s.computed)("selectKit.isExpanded","caretUpIcon","caretDownIcon")]))();static #g=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"f0qYLsZn",block:'[[[1,"\\n "],[10,0],[14,0,"select-kit-header-wrapper"],[12],[1,"\\n "],[42,[28,[31,1],[[28,[31,1],[[30,0,["icons"]]],null]],null],null,[[[1," "],[1,[28,[32,0],[[30,1]],null]],[1," "]],[1]],null],[1,"\\n\\n"],[44,[[28,[32,1],[[30,0],[30,0,["selectKit","options","selectedNameComponent"]]],null]],[[[1," "],[8,[30,2],null,[["@tabindex","@item","@selectKit"],[[30,0,["tabindex"]],[30,0,["selectedContent"]],[30,0,["selectKit"]]]],null],[1,"\\n"]],[2]]],[1,"\\n"],[41,[30,0,["shouldDisplayClearableButton"]],[[[1," "],[8,[32,2],[[24,0,"btn-clear"]],[["@icon","@action","@ariaLabel"],["xmark",[30,0,["selectKit","onClearSelection"]],"clear_input"]],null],[1,"\\n"]],[]],null],[1,"\\n "],[1,[28,[32,0],[[30,0,["caretIcon"]]],[["class"],["caret-icon"]]]],[1,"\\n "],[13],[1,"\\n "]],["iconName","SelectedNameComponent"],false,["each","-track-array","let","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/combo-box/combo-box-header.js",scope:()=>[u(),d.resolveComponent,o()],isStrictMode:!0}),this))()},[(0,r.classNames)("combo-box-header")])},25277:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(39284),n=i(41277);let r=class extends(0,s.default)("tags","private-messages-tags"){titleToken(){return[this.get("tagId"),(0,n.i18n)("tagging.tags"),(0,n.i18n)("user.private_messages")]}model(e){this.controllerFor("user-private-messages").set("tagId",e.id),this.controllerFor("user-private-messages-tags").set("tagName",e.id);let t=this.modelFor("user").get("username_lower");return this.set("tagId",e.id),this.store.findFiltered("topicList",{filter:`topics/private-messages-tags/${t}/${e.id}`})}}},25320:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},s=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,i,r,a){var o=s(t),l=n[e][s(t)];return 2===o&&(l=l[+!i]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},25331:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>K,registerCustomPostMessageCallback:()=>W,resetCustomPostMessageCallbacks:()=>V});var s=i(77632),n=i(18891),r=i(36376),a=i(16668),o=i(34229),l=i(31862),u=i(83770),d=i(25164),c=i(26962),p=i(41321),h=i(89120),m=i(28431),g=i(31577),f=i(92097),_=i(1284),y=i(99589),b=i(32034),w=i(75045),k=i(97276),T=i(3558),S=i(92161),C=i(18236),A=i(78009),D=i(77598),M=i(131),x=i(64301),E=i(80212),L=i(66831),P=i(87726),F=i(89174),I=i(99946),N=i(94611),j=i(76998),O=i(47361),R=i(39689),U=i(82339),B=i(64087),Y=i(17586),H=i(59006),q=i(41277);let $=(0,i(89689).A)(i(77632)).cached,z={};function V(){z={}}function W(e,t){if(z[e])throw Error(`Error ${e} is an already registered post message!`);z[e]=t}class K extends n.default{static #e=(()=>dt7948.g(this.prototype,"composer",[u.service]))();#c=(()=>void dt7948.i(this,"composer"))();static #t=(()=>dt7948.g(this.prototype,"dialog",[u.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #r=(()=>dt7948.g(this.prototype,"documentTitle",[u.service]))();#nP=(()=>void dt7948.i(this,"documentTitle"))();static #a=(()=>dt7948.g(this.prototype,"screenTrack",[u.service]))();#nF=(()=>void dt7948.i(this,"screenTrack"))();static #d=(()=>dt7948.g(this.prototype,"modal",[u.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #g=(()=>dt7948.g(this.prototype,"currentUser",[u.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #T=(()=>dt7948.g(this.prototype,"router",[u.service]))();#i=(()=>void dt7948.i(this,"router"))();static #C=(()=>dt7948.g(this.prototype,"siteSettings",[u.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();static #A=(()=>dt7948.g(this.prototype,"site",[u.service]))();#s=(()=>void dt7948.i(this,"site"))();static #D=(()=>dt7948.g(this.prototype,"appEvents",[u.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #M=(()=>dt7948.g(this.prototype,"model",[s.tracked]))();#nI=(()=>void dt7948.i(this,"model"))();queryParams=["filter","username_filters","replies_to_post_number"];static #E=(()=>dt7948.g(this.prototype,"canRemoveTopicFeaturedLink",[(0,o.and)("canEditTopicFeaturedLink","buffered.featured_link")]))();#nN=(()=>void dt7948.i(this,"canRemoveTopicFeaturedLink"))();static #P=(()=>dt7948.g(this.prototype,"showCategoryChooser",[(0,o.not)("model.isPrivateMessage")]))();#nj=(()=>void dt7948.i(this,"showCategoryChooser"))();static #I=(()=>dt7948.g(this.prototype,"hasError",[(0,o.or)("model.errorHtml","model.errorMessage")]))();#nO=(()=>void dt7948.i(this,"hasError"))();static #j=(()=>dt7948.g(this.prototype,"noErrorYet",[(0,o.not)("hasError")]))();#nR=(()=>void dt7948.i(this,"noErrorYet"))();static #R=(()=>dt7948.g(this.prototype,"categories",[(0,o.alias)("site.categoriesList")]))();#Y=(()=>void dt7948.i(this,"categories"))();static #B=(()=>dt7948.g(this.prototype,"selectedPostsCount",[(0,o.alias)("selectedPostIds.length")]))();#nU=(()=>void dt7948.i(this,"selectedPostsCount"))();static #H=(()=>dt7948.g(this.prototype,"canDeselectAll",[(0,o.alias)("selectedAllPosts")]))();#nB=(()=>void dt7948.i(this,"canDeselectAll"))();static #$=(()=>dt7948.g(this.prototype,"loadedAllPosts",[(0,o.or)("model.postStream.loadedAllPosts","model.postStream.loadingLastPost")]))();#nY=(()=>void dt7948.i(this,"loadedAllPosts"))();multiSelect=!1;selectedPostIds=[];editingTopic=!1;enteredAt=null;enteredIndex=null;retrying=!1;userTriggeredProgress=null;hasScrolled=null;username_filters=null;replies_to_post_number=null;filter=null;quoteState=(()=>new F.default)();currentPostId=null;userLastReadPostNumber=null;highestPostNumber=null;_progressIndex=null;_retryInProgress=!1;_retryRateLimited=!1;_newPostsInStream=[];init(){super.init(...arguments),this.appEvents.on("post:show-revision",this,"_showRevision"),this.appEvents.on("post:created",this,()=>{this._removeDeleteOnOwnerReplyBookmarks(),this.appEvents.trigger("post-stream:refresh",{force:!0})})}willDestroy(){super.willDestroy(...arguments),this.appEvents.off("post:show-revision",this,"_showRevision")}get buffered(){return p.default.create({content:this.model})}static #V=(()=>dt7948.n(this.prototype,"buffered",[a.dependentKeyCompat,$]))();updateQueryParams(){let e=this.get("model.postStream.streamFilters");Object.keys(e).length>0?this.setProperties(e):this.setProperties({username_filters:null,filter:null,replies_to_post_number:null})}_titleChanged(){let e=this.get("model.title");(0,d.isEmpty)(e)||this.send("refreshTitle")}static #K=(()=>dt7948.n(this.prototype,"_titleChanged",[(0,c.observes)("model.title","category")]))();showSharedDraftControls(e,t){return e&&t}static #J=(()=>dt7948.n(this.prototype,"showSharedDraftControls",[(0,D.default)("model.postStream.loaded","model.is_shared_draft")]))();showSelectedPostsAtBottom(e,t){return e&&t>3}static #X=(()=>dt7948.n(this.prototype,"showSelectedPostsAtBottom",[(0,D.default)("site.mobileView","model.posts_count")]))();postsToRender(e,t){return this.capabilities.isAndroid?e:t}static #Z=(()=>dt7948.n(this.prototype,"postsToRender",[(0,D.default)("model.postStream.posts","model.postStream.postsWithPlaceholders")]))();androidLoading(e){return this.capabilities.isAndroid&&e}static #ee=(()=>dt7948.n(this.prototype,"androidLoading",[(0,D.default)("model.postStream.loadingFilter")]))();pmPath(e){return this.currentUser&&this.currentUser.pmPath(e)}static #et=(()=>dt7948.n(this.prototype,"pmPath",[(0,D.default)("model")]))();_showRevision(e,t){let i=this.model.get("postStream").postForPostNumber(e);i&&i.version>1&&i.can_view_edit_history&&(0,l.schedule)("afterRender",()=>this.send("showHistory",i,t))}gotoInbox(e){let t=(0,N.userPath)(`${this.get("currentUser.username_lower")}/messages`);e&&(t=`${t}/group/${e}`),N.default.routeTo(t)}selectedQuery(){return e=>this.postSelected(e)}static #ei=(()=>dt7948.n(this.prototype,"selectedQuery",[D.default]))();canEditTopicFeaturedLink(e,t){if(this.currentUser&&0===this.currentUser.trust_level||!this.siteSettings.topic_featured_link_enabled||e)return!1;let i=this.site.get("topic_featured_link_allowed_category_ids");return void 0===i||!i.length||i.includes(t)}static #es=(()=>dt7948.n(this.prototype,"canEditTopicFeaturedLink",[(0,D.default)("model.isPrivateMessage","model.category.id")]))();featuredLinkDomain(e){return(0,I.extractLinkMeta)(e).domain}static #en=(()=>dt7948.n(this.prototype,"featuredLinkDomain",[(0,D.default)("model")]))();canEditTags(e){return this.site.get("can_tag_topics")&&(!e||this.site.get("can_tag_pms"))}static #er=(()=>dt7948.n(this.prototype,"canEditTags",[(0,D.default)("model.isPrivateMessage")]))();canSendPms(){return this.currentUser?.can_send_private_messages}static #ea=(()=>dt7948.n(this.prototype,"canSendPms",[(0,D.default)("currentUser.can_send_private_messages")]))();minimumRequiredTags(e){return R.default.findById(e)?.minimumRequiredTags||0}static #eo=(()=>dt7948.n(this.prototype,"minimumRequiredTags",[(0,D.default)("buffered.category_id")]))();showBottomTopicMap(e,t,i){let s=e?.filter(e=>3!==e.post_type).length||0,n=!!M.isTesting||t>200;return this.siteSettings.show_bottom_topic_map&&!i&&s>w.MIN_POSTS_COUNT&&n}static #el=(()=>dt7948.n(this.prototype,"showBottomTopicMap",[(0,D.default)("model.postStream.posts","model.word_count","model.postStream.loadingFilter")]))();_removeDeleteOnOwnerReplyBookmarks(){if(!this.model)return;let e=this.get("model.postStream.posts");e&&e.filter(e=>e.bookmarked&&e.bookmark_auto_delete_preference===O.AUTO_DELETE_PREFERENCES.ON_OWNER_REPLY).forEach(e=>{e.clearBookmark(),this.model.removeBookmark(e.bookmark_id)});let t=this.model.bookmarks.findBy("bookmarkable_type","Topic");t?.auto_delete_preference===O.AUTO_DELETE_PREFERENCES.ON_OWNER_REPLY&&this.model.removeBookmark(t.id)}_forceRefreshPostStream(){this.appEvents.trigger("post-stream:refresh",{force:!0})}_updateSelectedPostIds(e){let t=this._smallActionPostIds();this.selectedPostIds.pushObjects(e.filter(e=>!t.has(e))),this.set("selectedPostIds",[...new Set(this.selectedPostIds)]),this._forceRefreshPostStream()}_smallActionPostIds(){let e=new Set,t=this.get("model.postStream.posts");if(t&&this.site){let i=this.site.get("post_types.small_action"),s=this.site.get("post_types.whisper");t.forEach(t=>{t.post_type!==i&&(t.cooked||t.post_type!==s)||e.add(t.id)})}return e}_loadPostIds(e){if(this.loadingPostIds)return;let t=this.get("model.postStream"),i=`/t/${this.get("model.id")}/post_ids.json`;return this.set("loadingPostIds",!0),(0,T.ajax)(i,{data:(0,L.deepMerge)({post_number:e.get("post_number")},t.get("streamFilters"))}).then(t=>{t.post_ids.pushObject(e.get("id")),this._updateSelectedPostIds(t.post_ids)}).finally(()=>{this.set("loadingPostIds",!1)})}editTopic(e){e?.preventDefault(),this.get("model.details.can_edit")&&this.set("editingTopic",!0)}static #eu=(()=>dt7948.n(this.prototype,"editTopic",[r.action]))();jumpTop(e){e&&(0,x.wantsNewWindow)(e)||(e?.preventDefault(),N.default.routeTo(this.get("model.firstPostUrl"),{skipIfOnScreen:!1,keepFilter:!0}))}static #ed=(()=>dt7948.n(this.prototype,"jumpTop",[r.action]))();removeFeaturedLink(e){e?.preventDefault(),this.set("buffered.featured_link",null)}static #ec=(()=>dt7948.n(this.prototype,"removeFeaturedLink",[r.action]))();selectAll(e){e?.preventDefault();let t=this._smallActionPostIds();this.set("selectedPostIds",[...this.get("model.postStream.stream").filter(e=>!t.has(e))]),this._forceRefreshPostStream()}static #ep=(()=>dt7948.n(this.prototype,"selectAll",[r.action]))();deselectAll(e){e?.preventDefault(),this.set("selectedPostIds",[]),this._forceRefreshPostStream()}static #eh=(()=>dt7948.n(this.prototype,"deselectAll",[r.action]))();toggleMultiSelect(e){e?.preventDefault(),this.toggleProperty("multiSelect"),this._forceRefreshPostStream()}static #em=(()=>dt7948.n(this.prototype,"toggleMultiSelect",[r.action]))();topicCategoryChanged(e){this.set("buffered.category_id",e)}static #eg=(()=>dt7948.n(this.prototype,"topicCategoryChanged",[r.action]))();topicTagsChanged(e){this.set("buffered.tags",e)}static #ef=(()=>dt7948.n(this.prototype,"topicTagsChanged",[r.action]))();deletePending(e){return(0,T.ajax)(`/review/${e.id}`,{type:"DELETE"}).then(()=>{this.get("model.pending_posts").removeObject(e)}).catch(S.popupAjaxError)}static #e_=(()=>dt7948.n(this.prototype,"deletePending",[r.action]))();showPostFlags(e){return this.send("showFlags",e)}static #ey=(()=>dt7948.n(this.prototype,"showPostFlags",[r.action]))();openFeatureTopic(){this.send("showFeatureTopic")}static #eb=(()=>dt7948.n(this.prototype,"openFeatureTopic",[r.action]))();selectText(){let{postId:e,buffer:t,opts:i}=this.quoteState,s=this.get("model.postStream").findLoadedPost(e);return(s?h.Promise.resolve(s):this.get("model.postStream").loadPost(e)).then(e=>{let s=this.composer;if(!s.get("model.viewOpen")&&!this.get("model.details.can_create_post"))return void this.send("replyAsNewTopic",e);let n={action:U.default.REPLY,draftSequence:e.get("topic.draft_sequence"),draftKey:e.get("topic.draft_key")};1===e.get("post_number")?n.topic=e.get("topic"):n.post=e;let r=s.get("model.post");r&&r.get("id")!==this.get("post.id")&&(n.post=r);let a=(0,P.buildQuote)(e,t,i);if(n.quote=a,s.get("model.viewOpen"))this.appEvents.trigger("composer:insert-block",a);else if(s.get("model.viewDraft")){let e=s.get("model");e.set("reply",e.get("reply")+` `+a),s.openIfDraft()}else s.open(n)})}static #ev=(()=>dt7948.n(this.prototype,"selectText",[r.action]))();fillGapBefore(e){return this.get("model.postStream").fillGapBefore(e.post,e.gap)}static #ew=(()=>dt7948.n(this.prototype,"fillGapBefore",[r.action]))();fillGapAfter(e){return this.get("model.postStream").fillGapAfter(e.post,e.gap)}static #ek=(()=>dt7948.n(this.prototype,"fillGapAfter",[r.action]))();currentPostChanged(e){let{post:t}=e;if(!t)return;this.set("currentPostId",t.id);let i=t.get("post_number"),s=this.model;s.set("currentPost",i),i>(s.get("last_read_post_number")||0)&&(s.set("last_read_post_id",t.get("id")),s.set("last_read_post_number",i)),this.send("postChangedRoute",i),this._progressIndex=s.get("postStream").progressIndexOfPost(t),this.appEvents.trigger("topic:current-post-changed",{post:t})}static #eT=(()=>dt7948.n(this.prototype,"currentPostChanged",[r.action]))();currentPostScrolled(e){let t=this.get("model.postStream.filteredPostsCount"),i=parseFloat(this._progressIndex+e.percent-1)/t;this.appEvents.trigger("topic:current-post-scrolled",{postIndex:this._progressIndex,percent:Math.max(Math.min(i,1),0)})}static #eS=(()=>dt7948.n(this.prototype,"currentPostScrolled",[r.action]))();topVisibleChanged(e){let{post:t,refresh:i}=e;if(!t)return;let s=this.get("model.postStream"),n=s.get("posts.firstObject");(!t.get||1!==t.get("post_number"))&&n&&n===t&&s.prependMore().then(()=>i())}static #eC=(()=>dt7948.n(this.prototype,"topVisibleChanged",[r.action]))();bottomVisibleChanged(e){let{post:t,refresh:i}=e,s=this.get("model.postStream"),n=s.get("posts.lastObject");n&&n===t&&s.get("canAppendMore")&&(s.appendMore().then(()=>i()),i())}static #eA=(()=>dt7948.n(this.prototype,"bottomVisibleChanged",[r.action]))();showTopReplies(){return this.get("model.postStream").showTopReplies().then(()=>{this.updateQueryParams()})}static #eD=(()=>dt7948.n(this.prototype,"showTopReplies",[r.action]))();cancelFilter(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.get("model.postStream");if(!e){let i=t.findLoadedPost(this.currentPostId);i?e=i.post_number:t.findPostsByIds([this.currentPostId]).then(t=>{e=t[0].post_number})}t.cancelFilter(),t.refresh({nearPost:e,forceLoad:!0}).then(()=>{N.default.routeTo(this.model.urlForPostNumber(e)),this.updateQueryParams()})}static #eM=(()=>dt7948.n(this.prototype,"cancelFilter",[r.action]))();removeAllowedUser(e){return this.get("model.details").removeAllowedUser(e).then(()=>{this.currentUser.id===e.id&&this.router.transitionTo("userPrivateMessages",e)})}static #ex=(()=>dt7948.n(this.prototype,"removeAllowedUser",[r.action]))();removeAllowedGroup(e){return this.get("model.details").removeAllowedGroup(e)}static #eE=(()=>dt7948.n(this.prototype,"removeAllowedGroup",[r.action]))();toggleArchiveMessage(){let e=this.model;if(!e||e.get("archiving")||!e.isPrivateMessage)return;let t=()=>{(0,A.resetCachedTopicList)(this.session),this.gotoInbox(e.get("inboxGroupName"))};e.get("message_archived")?e.moveToInbox().then(t):e.archiveMessage().then(t)}static #eL=(()=>dt7948.n(this.prototype,"toggleArchiveMessage",[r.action]))();deferTopic(){let{screenTrack:e,currentUser:t}=this,i=this.model;e.reset(),e.stop();let s=i.get("isPrivateMessage")?t.pmPath(i):"/";(0,T.ajax)("/t/"+i.get("id")+"/timings.json?last=1",{type:"DELETE"}).then(()=>{this.session.get("highestSeenByTopic")[i.get("id")]=null,N.default.routeTo(s)}).catch(S.popupAjaxError)}static #eP=(()=>dt7948.n(this.prototype,"deferTopic",[r.action]))();editFirstPost(){this.model.firstPost().then(e=>this.send("editPost",e))}static #eF=(()=>dt7948.n(this.prototype,"editFirstPost",[r.action]))();replyToPost(e){let t=this.composer,i=e?e.get("topic"):this.model,s=this.quoteState,n=this.get("model.postStream");if(this.appEvents.trigger("page:compose-reply",i),!n||!i||!i.get("details.can_create_post"))return;let r=n.findLoadedPost(s.postId),a=(0,P.buildQuote)(r,s.buffer,s.opts);if(s.clear(),t.get("model.topic.id")===i.get("id")&&t.get("model.action")===U.default.REPLY&&e?.get("post_number")!==1)t.set("model.post",e),t.set("model.composeState",U.default.OPEN),this.appEvents.trigger("composer:insert-block",a.trim());else{let s={action:U.default.REPLY,draftKey:i.get("draft_key"),draftSequence:i.get("draft_sequence")};a&&(s.quote=a),e&&1!==e.get("post_number")?s.post=e:s.topic=i,t.open(s)}return!1}static #eI=(()=>dt7948.n(this.prototype,"replyToPost",[r.action]))();recoverPost(e){1===e.get("post_number")?this.recoverTopic():e.recover()}static #eN=(()=>dt7948.n(this.prototype,"recoverPost",[r.action]))();deletePost(e,t){if(1===e.get("post_number"))return this.deleteTopic(t);if(!t?.force_destroy&&!e.can_delete||t?.force_destroy&&!e.can_permanently_delete)return!1;let i=this.currentUser,s=()=>this.appEvents.trigger("post-stream:refresh"),n=e.get("reply_count")>0,r=this.get("model.postStream.posts");if(!i.get("staff")||!n)return e.destroy(i,t).then(s).catch(t=>{(0,S.popupAjaxError)(t),e.undoDeleteState()});(0,T.ajax)(`/posts/${e.id}/reply-ids.json`).then(n=>{if(0===n.length)return e.destroy(i,t).then(s).catch(t=>{(0,S.popupAjaxError)(t),e.undoDeleteState()});let a=[],o=n.filter(e=>1===e.level).map(e=>e.id);a.push({label:(0,q.i18n)("post.controls.delete_replies.direct_replies",{count:o.length}),class:"btn-primary",action:()=>{r.forEach(t=>(t===e||o.includes(t.id))&&t.setDeletedState(i)),B.default.deleteMany([e.id,...o]).then(s).catch(S.popupAjaxError)}}),n.some(e=>e.level>1)&&a.push({label:(0,q.i18n)("post.controls.delete_replies.all_replies",{count:n.length}),action:()=>{r.forEach(t=>(t===e||n.some(e=>e.id===t.id))&&t.setDeletedState(i)),B.default.deleteMany([e.id,...n.map(e=>e.id)]).then(s).catch(S.popupAjaxError)}}),a.push({label:(0,q.i18n)("post.controls.delete_replies.just_the_post"),action:()=>{e.destroy(i,t).then(s).catch(t=>{(0,S.popupAjaxError)(t),e.undoDeleteState()})}}),a.push({label:(0,q.i18n)("cancel"),class:"btn-flat"}),this.dialog.alert({title:(0,q.i18n)("post.controls.delete_replies.confirm"),buttons:a})})}static #ej=(()=>dt7948.n(this.prototype,"deletePost",[r.action]))();deletePostWithConfirmation(e,t){e.can_delete&&this.dialog.yesNoConfirm({message:(0,q.i18n)("post.confirm_delete"),didConfirm:()=>this.send("deletePost",e,t)})}static #eO=(()=>dt7948.n(this.prototype,"deletePostWithConfirmation",[r.action]))();permanentlyDeletePost(e){return this.dialog.yesNoConfirm({message:(0,q.i18n)("post.controls.permanently_delete_confirmation"),didConfirm:()=>{this.send("deletePost",e,{force_destroy:!0})}})}static #eR=(()=>dt7948.n(this.prototype,"permanentlyDeletePost",[r.action]))();editPost(e){if(!this.currentUser)return this.dialog.alert((0,q.i18n)("post.controls.edit_anonymous"));if(!e.can_edit)return!1;let t=this.model,i=!1,s=this.get("site.shared_drafts_category_id");s&&s===t.get("category.id")&&(i=e.get("firstPost"));let n={post:e,action:i?U.default.EDIT_SHARED_DRAFT:U.default.EDIT,draftKey:e.get("topic.draft_key"),draftSequence:e.get("topic.draft_sequence")};i&&(n.destinationCategoryId=t.get("destination_category_id"));let{composer:r}=this,a=r.get("model");return n.post.id===a?.post?.id&&n.action===a?.action&&n.draftKey===a?.draftKey?r.unshrink():r.open(n)}static #eU=(()=>dt7948.n(this.prototype,"editPost",[r.action]))();toggleBookmark(e){if(!this.currentUser)return this.dialog.alert((0,q.i18n)("bookmarks.not_bookmarked"));if(!e)return this._toggleTopicLevelBookmark().then(e=>{e&&e.forEach(e=>this.appEvents.trigger("post-stream:refresh",{id:e}))});{let t=this.model.bookmarks.find(t=>t.bookmarkable_id===e.id&&"Post"===t.bookmarkable_type);return this._modifyPostBookmark(t||O.default.createFor(this.currentUser,"Post",e.id),e)}}static #eB=(()=>dt7948.n(this.prototype,"toggleBookmark",[r.action]))();jumpToIndex(e){this._jumpToIndex(e)}static #eY=(()=>dt7948.n(this.prototype,"jumpToIndex",[r.action]))();jumpToDate(e){this._jumpToDate(e)}static #eH=(()=>dt7948.n(this.prototype,"jumpToDate",[r.action]))();jumpToPostPrompt(){this.modal.show(b.default,{model:{topic:this.model,jumpToIndex:e=>this.send("jumpToIndex",e),jumpToDate:e=>this.send("jumpToDate",e)}})}static #eq=(()=>dt7948.n(this.prototype,"jumpToPostPrompt",[r.action]))();jumpToPost(e){this._jumpToPostNumber(e)}static #e$=(()=>dt7948.n(this.prototype,"jumpToPost",[r.action]))();jumpBottom(){let e=this.model.highest_post_number;document.getElementById(`post_${e}`)||N.default.routeTo(this.get("model.lastPostUrl"),{skipIfOnScreen:!1,jumpEnd:!1,keepFilter:!0})}static #ez=(()=>dt7948.n(this.prototype,"jumpBottom",[r.action]))();jumpEnd(){this.appEvents.trigger("topic:jump-to-post",this.get("model.highest_post_number")),N.default.routeTo(this.get("model.lastPostUrl"),{jumpEnd:!0,keepFilter:!0})}static #eV=(()=>dt7948.n(this.prototype,"jumpEnd",[r.action]))();jumpUnread(){this._jumpToPostId(this.get("model.last_read_post_id"))}static #eW=(()=>dt7948.n(this.prototype,"jumpUnread",[r.action]))();jumpToPostId(e){this._jumpToPostId(e)}static #eK=(()=>dt7948.n(this.prototype,"jumpToPostId",[r.action]))();togglePostSelection(e){let t=this.selectedPostIds;t.includes(e.id)?t.removeObject(e.id):t.addObject(e.id)}static #eG=(()=>dt7948.n(this.prototype,"togglePostSelection",[r.action]))();selectReplies(e){(0,T.ajax)(`/posts/${e.id}/reply-ids.json`).then(t=>{let i=t.map(e=>e.id),s=[...this.selectedPostIds,e.id,...i];this.set("selectedPostIds",[...new Set(s)]),this._forceRefreshPostStream()})}static #eJ=(()=>dt7948.n(this.prototype,"selectReplies",[r.action]))();selectBelow(e){if(this.get("model.postStream.isMegaTopic"))this._loadPostIds(e);else{let t=[...this.get("model.postStream.stream")],i=t.slice(t.indexOf(e.id));this._updateSelectedPostIds(i)}}static #eQ=(()=>dt7948.n(this.prototype,"selectBelow",[r.action]))();deleteSelected(){let e=this.currentUser;this.dialog.yesNoConfirm({message:(0,q.i18n)("post.delete.confirm",{count:this.selectedPostsCount}),didConfirm:()=>{if(this.selectedAllPosts)return this.deleteTopic();B.default.deleteMany(this.selectedPostIds),this.get("model.postStream.posts").forEach(t=>this.postSelected(t)&&t.setDeletedState(e)),this.send("toggleMultiSelect")}})}static #eX=(()=>dt7948.n(this.prototype,"deleteSelected",[r.action]))();mergePosts(){this.dialog.yesNoConfirm({message:(0,q.i18n)("post.merge.confirm",{count:this.selectedPostsCount}),didConfirm:()=>{B.default.mergePosts(this.selectedPostIds),this.send("toggleMultiSelect")}})}static #eZ=(()=>dt7948.n(this.prototype,"mergePosts",[r.action]))();changePostOwner(e){this.set("selectedPostIds",[e.id]),this.send("changeOwner")}static #e1=(()=>dt7948.n(this.prototype,"changePostOwner",[r.action]))();lockPost(e){return e.updatePostField("locked",!0)}static #e0=(()=>dt7948.n(this.prototype,"lockPost",[r.action]))();unlockPost(e){return e.updatePostField("locked",!1)}static #e3=(()=>dt7948.n(this.prototype,"unlockPost",[r.action]))();grantBadge(e){this.set("selectedPostIds",[e.id]),this.send("showGrantBadgeModal")}static #e2=(()=>dt7948.n(this.prototype,"grantBadge",[r.action]))();async changeNotice(e){await this.modal.show(f.default,{model:{post:e}})}static #e8=(()=>dt7948.n(this.prototype,"changeNotice",[r.action]))();filterParticipant(e){this.get("model.postStream").filterParticipant(e.username).then(()=>this.updateQueryParams)}static #e4=(()=>dt7948.n(this.prototype,"filterParticipant",[r.action]))();cancelEditingTopic(){this.set("editingTopic",!1),this.buffered.discardChanges()}static #e7=(()=>dt7948.n(this.prototype,"cancelEditingTopic",[r.action]))();finishedEditingTopic(){if(!this.editingTopic)return;let e=this.get("buffered.buffer");Y.default.update(this.model,e,{fastEdit:!0}).then(()=>{this.buffered.discardChanges(),this.set("editingTopic",!1)}).catch(S.popupAjaxError)}static #nH=(()=>dt7948.n(this.prototype,"finishedEditingTopic",[r.action]))();expandHidden(e){return e.expandHidden()}static #nq=(()=>dt7948.n(this.prototype,"expandHidden",[r.action]))();toggleVisibility(){this.model.toggleStatus("visible")}static #n$=(()=>dt7948.n(this.prototype,"toggleVisibility",[r.action]))();toggleClosed(){let e=this.model;this.model.toggleStatus("closed").then(t=>{e.set("topic_status_update",t.topic_status_update)})}static #nz=(()=>dt7948.n(this.prototype,"toggleClosed",[r.action]))();makeBanner(){this.model.makeBanner()}static #nV=(()=>dt7948.n(this.prototype,"makeBanner",[r.action]))();removeBanner(){this.model.removeBanner()}static #nW=(()=>dt7948.n(this.prototype,"removeBanner",[r.action]))();togglePinned(){let e=!this.get("model.pinned_at"),t=this.model,i=this.get("model.pinnedInCategoryUntil");return t.setProperties({pinned_at:e?moment():null,pinned_globally:!1,pinned_until:e?i:null}),t.saveStatus("pinned",e,i)}static #nK=(()=>dt7948.n(this.prototype,"togglePinned",[r.action]))();pinGlobally(){let e=this.model,t=this.get("model.pinnedGloballyUntil");return e.setProperties({pinned_at:moment(),pinned_globally:!0,pinned_until:t}),e.saveStatus("pinned_globally",!0,t)}static #nG=(()=>dt7948.n(this.prototype,"pinGlobally",[r.action]))();toggleArchived(){this.model.toggleStatus("archived")}static #nJ=(()=>dt7948.n(this.prototype,"toggleArchived",[r.action]))();clearPin(){this.model.clearPin()}static #nQ=(()=>dt7948.n(this.prototype,"clearPin",[r.action]))();togglePinnedForUser(){if(this.get("model.pinned_at")){let e=this.model;e.get("pinned")?e.clearPin():e.rePin()}}static #nX=(()=>dt7948.n(this.prototype,"togglePinnedForUser",[r.action]))();replyAsNewTopic(e){let t,i=this.composer,{quoteState:s}=this,n=(0,P.buildQuote)(e,s.buffer,s.opts);if(s.clear(),this.get("model.isPrivateMessage")){let i=this.get("model.details.allowed_users"),s=this.get("model.details.allowed_groups"),n=[];i.forEach(e=>n.push(e.username)),s.forEach(e=>n.push(e.name)),n=n.join(),t={action:U.default.PRIVATE_MESSAGE,archetypeId:"private_message",draftKey:e.topic.draft_key,recipients:n}}else t={action:U.default.CREATE_TOPIC,draftKey:e.topic.draft_key,topicCategoryId:this.get("model.category.permission")&&this.get("model.category.id"),prioritizedCategoryId:this.get("model.category.id")};i.open(t).then(()=>{let t=(0,j.escapeExpression)(this.model.title),s=`${location.protocol}//${location.host}${e.url}`,r=`[${t}](${s})`,a=`${(0,q.i18n)("post.continue_discussion",{postLink:r})} ${n}`;i.model.prependText(a,{new_line:!0})})}static #nZ=(()=>dt7948.n(this.prototype,"replyAsNewTopic",[r.action]))();retryLoading(){this.set("retrying",!0);let e=()=>this.set("retrying",!1);this.get("model.postStream").refresh().then(e,e)}static #n1=(()=>dt7948.n(this.prototype,"retryLoading",[r.action]))();toggleWiki(e){return e.updatePostField("wiki",!e.get("wiki"))}static #n0=(()=>dt7948.n(this.prototype,"toggleWiki",[r.action]))();togglePostType(e){let t=this.site.get("post_types.regular"),i=this.site.get("post_types.moderator_action");return e.updatePostField("post_type",e.get("post_type")===i?t:i)}static #n3=(()=>dt7948.n(this.prototype,"togglePostType",[r.action]))();rebakePost(e){return e.rebake()}static #n2=(()=>dt7948.n(this.prototype,"rebakePost",[r.action]))();unhidePost(e){return e.unhide()}static #n8=(()=>dt7948.n(this.prototype,"unhidePost",[r.action]))();convertToPublicTopic(){this.modal.show(_.default,{model:{topic:this.model}})}static #n4=(()=>dt7948.n(this.prototype,"convertToPublicTopic",[r.action]))();convertToPrivateMessage(){this.model.convertTopic("private").then(()=>window.location.reload()).catch(S.popupAjaxError)}static #n7=(()=>dt7948.n(this.prototype,"convertToPrivateMessage",[r.action]))();resetBumpDate(){this.model.resetBumpDate()}static #n9=(()=>dt7948.n(this.prototype,"resetBumpDate",[r.action]))();removeTopicTimer(e,t){H.default.update(this.get("model.id"),null,null,e,null).then(()=>this.set(`model.${t}`,r.default.create({}))).catch(e=>(0,S.popupAjaxError)(e))}static #n6=(()=>dt7948.n(this.prototype,"removeTopicTimer",[r.action]))();updateTopicPageQueryParams(){this.updateQueryParams()}static #n5=(()=>dt7948.n(this.prototype,"updateTopicPageQueryParams",[r.action]))();_jumpToIndex(e){let t=this.get("model.postStream");if(t.get("isMegaTopic"))this._jumpToPostNumber(e);else{let i=t.get("stream"),s=Math.max(1,Math.min(i.length,e));this._jumpToPostId(i[s-1])}}_jumpToDate(e){let t=this.get("model.postStream");t.loadNearestPostToDate(e).then(e=>{N.default.routeTo(this.model.urlForPostNumber(e.get("post_number")))}).catch(()=>{this._jumpToIndex(t.get("topic.highest_post_number"))})}_jumpToPostNumber(e){let t=this.get("model.postStream"),i=t.get("posts").findBy("post_number",e);i?N.default.routeTo(this.model.urlForPostNumber(i.get("post_number"))):t.loadPostByPostNumber(e).then(e=>{N.default.routeTo(this.model.urlForPostNumber(e.get("post_number")))})}_jumpToPostId(e){if(!e)return void console.warn("jump-post code broken - requested an index outside the stream array");this.appEvents.trigger("topic:jump-to-post",e);let t=this.model,i=t.get("postStream"),s=i.findLoadedPost(e);s?N.default.routeTo(t.urlForPostNumber(s.get("post_number")),{keepFilter:!0}):i.findPostsByIds([e]).then(e=>{N.default.routeTo(t.urlForPostNumber(e[0].get("post_number")),{keepFilter:!0})})}_modifyTopicBookmark(e){this.modal.show(g.default,{model:{bookmark:new C.BookmarkFormData(e),afterSave:t=>{this._syncBookmarks(t.saveData),this.model.set("bookmarking",!1),this.model.set("bookmarked",!0),this.model.incrementProperty("bookmarksWereChanged"),this.appEvents.trigger("bookmarks:changed",t.saveData,e.attachedTo())},afterDelete:(e,t)=>{this.model.removeBookmark(t)}}})}_modifyPostBookmark(e,t){this.modal.show(g.default,{model:{bookmark:new C.BookmarkFormData(e),afterSave:e=>(this._syncBookmarks(e),this.model.set("bookmarking",!1),t.createBookmark(e),this.model.afterPostBookmarked(t,e),[t.id]),afterDelete:(e,i)=>{this.model.removeBookmark(i),t.deleteBookmark(e)}}}).then(i=>{i&&(i.closeWithoutSaving||i.initiatedBy===m.CLOSE_INITIATED_BY_ESC||i.initiatedBy===m.CLOSE_INITIATED_BY_BUTTON)&&t.appEvents.trigger("post-stream:refresh",{id:e.bookmarkable_id})})}_syncBookmarks(e){this.model.bookmarks||this.model.set("bookmarks",[]);let t=this.model.bookmarks.findBy("id",e.id);t?(t.reminder_at=e.reminder_at,t.name=e.name,t.auto_delete_preference=e.auto_delete_preference):this.model.bookmarks.pushObject(O.default.create(e))}async _toggleTopicLevelBookmark(){if(this.model.bookmarking)return h.Promise.resolve();if(this.model.bookmarkCount>1)return this._maybeClearAllBookmarks();if(1===this.model.bookmarkCount){let e=this.model.bookmarks.findBy("bookmarkable_type","Topic");if(e)return this._modifyTopicBookmark(e);{let e=this.model.bookmarks[0],t=await this.model.postById(e.bookmarkable_id);return this._modifyPostBookmark(e,t)}}if(0===this.model.bookmarkCount)return this._modifyTopicBookmark(O.default.createFor(this.currentUser,"Topic",this.model.id))}_maybeClearAllBookmarks(){return new h.Promise(e=>{this.dialog.yesNoConfirm({message:(0,q.i18n)("bookmarks.confirm_clear"),didConfirm:()=>this.model.deleteBookmarks().then(()=>e(this.model.clearBookmarks())).catch(S.popupAjaxError).finally(()=>{this.model.set("bookmarking",!1)}),didCancel:()=>{this.model.set("bookmarking",!1),e()}})})}togglePinnedState(){this.send("togglePinnedForUser")}print(){this.siteSettings.max_prints_per_hour_per_user>0&&window.open(this.get("model.printUrl"),"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=600,height=315")}selectedPosts(e,t){return e.map(e=>t.find(t=>t.id===e)).filter(e=>void 0!==e)}static #re=(()=>dt7948.n(this.prototype,"selectedPosts",[(0,D.default)("selectedPostIds","model.postStream.posts","selectedPostIds.[]","model.postStream.posts.[]")]))();selectedPostsUsername(e,t){if(t.length<1||e>t.length)return;let i=t[0].username;return t.every(e=>e.username===i)?i:void 0}static #rt=(()=>dt7948.n(this.prototype,"selectedPostsUsername",[(0,D.default)("selectedPostsCount","selectedPosts","selectedPosts.[]")]))();selectedAllPosts(e,t,i,s){return t?e>=s:e>=i}static #ri=(()=>dt7948.n(this.prototype,"selectedAllPosts",[(0,D.default)("selectedPostsCount","model.postStream.isMegaTopic","model.postStream.stream.length","model.posts_count")]))();canSelectAll(e,t){return!t&&!e}static #rs=(()=>dt7948.n(this.prototype,"canSelectAll",[(0,D.default)("selectedAllPosts","model.postStream.isMegaTopic")]))();canDeleteSelected(e,t,i,s){return t>0&&(i&&e||s.every(e=>e.can_delete))}static #rn=(()=>dt7948.n(this.prototype,"canDeleteSelected",[(0,D.default)("currentUser.staff","selectedPostsCount","selectedAllPosts","selectedPosts","selectedPosts.[]")]))();canMergeTopic(e,t){return e&&t>0}static #rr=(()=>dt7948.n(this.prototype,"canMergeTopic",[(0,D.default)("model.details.can_move_posts","selectedPostsCount")]))();canChangeOwner(e,t,i,s,n){return(e||i&&t)&&s>0&&void 0!==n}static #ra=(()=>dt7948.n(this.prototype,"canChangeOwner",[(0,D.default)("currentUser.admin","currentUser.staff","siteSettings.moderators_change_post_ownership","selectedPostsCount","selectedPostsUsername")]))();canMergePosts(e,t,i){return e>1&&void 0!==t&&i.every(e=>e.can_delete)}static #ro=(()=>dt7948.n(this.prototype,"canMergePosts",[(0,D.default)("selectedPostsCount","selectedPostsUsername","selectedPosts","selectedPosts.[]")]))();_multiSelectChanged(){this.set("selectedPostIds",[])}static #rl=(()=>dt7948.n(this.prototype,"_multiSelectChanged",[(0,c.observes)("multiSelect")]))();postSelected(e){return this.selectedAllPost||this.selectedPostIds.includes(e.id)}loadingHTML(){return k.spinnerHTML}static #ru=(()=>dt7948.n(this.prototype,"loadingHTML",[D.default]))();recoverTopic(){this.model.recover()}static #rd=(()=>dt7948.n(this.prototype,"recoverTopic",[r.action]))();buildQuoteMarkdown(){let{postId:e,buffer:t,opts:i}=this.quoteState,s=this.get("model.postStream").findLoadedPost(e);return(s?h.Promise.resolve(s):this.get("model.postStream").loadPost(e)).then(e=>(0,P.buildQuote)(e,t,i))}static #rc=(()=>dt7948.n(this.prototype,"buildQuoteMarkdown",[r.action]))();deleteTopic(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.force_destroy)return this.model.destroy(this.currentUser,e);this.model.views>this.siteSettings.min_topic_views_for_delete_confirm?this.deleteTopicModal():this.model.destroy(this.currentUser,e)}static #rp=(()=>dt7948.n(this.prototype,"deleteTopic",[r.action]))();deleteTopicModal(){this.modal.show(y.default,{model:{topic:this.model}})}retryOnRateLimit(e,t,i){let s=this.get("model.id");if((i=i||s)===s&&!this._retryRateLimited&&!(e<=0)){if(this._retryInProgress)return void(0,E.default)(()=>{this.retryOnRateLimit(e,t,i)},100);this._retryInProgress=!0,t().catch(s=>{let n=s.jqXHR;if(n&&429===n.status&&n.responseJSON&&n.responseJSON.extras&&n.responseJSON.extras.wait_seconds){let s=n.responseJSON.extras.wait_seconds;s<5&&(s=5),this._retryRateLimited=!0,(0,E.default)(()=>{this._retryRateLimited=!1,this.retryOnRateLimit(e-1,t,i)},1e3*s)}}).finally(()=>{this._retryInProgress=!1})}}subscribe(){this.unsubscribe(),this.messageBus.subscribe(`/topic/${this.get("model.id")}`,this.onMessage,this.get("model.message_bus_last_id"))}unsubscribe(){this.get("model.id")&&this.messageBus.unsubscribe("/topic/*",this.onMessage)}onMessage(e){let t=this.model,i=e=>this.appEvents.trigger("post-stream:refresh",e);if((0,d.isPresent)(e.notification_level_change)){t.set("details.notification_level",e.notification_level_change),t.set("details.notifications_reason_id",e.notifications_reason_id);return}let s=this.get("model.postStream");if(e.reload_topic)return void t.reload().then(()=>{this.send("postChangedRoute",t.get("post_number")||1),this.appEvents.trigger("header:update-topic",t),e.refresh_stream&&s.refresh()});switch(e.type){case"acted":s.triggerChangedPost(e.id,e.updated_at,{preserveCooked:!0}).then(()=>i({id:e.id,refreshLikes:!0}));break;case"read":s.triggerReadPost(e.id,e.readers_count).then(()=>i({id:e.id,refreshLikes:!0}));break;case"liked":case"unliked":s.triggerLikedPost(e.id,e.likes_count,e.user_id,e.type).then(()=>i({id:e.id,refreshLikes:!0}));break;case"revised":case"rebaked":s.triggerChangedPost(e.id,e.updated_at).then(()=>i({id:e.id}));break;case"deleted":s.triggerDeletedPost(e.id).then(()=>i({id:e.id}));break;case"destroyed":s.triggerDestroyedPost(e.id).then(()=>i({id:e.id}));break;case"recovered":s.triggerRecoveredPost(e.id).then(()=>i({id:e.id}));break;case"created":this._newPostsInStream.push(e.id),this.retryOnRateLimit(4,()=>{let e=this._newPostsInStream;return this._newPostsInStream=[],s.triggerNewPostsInStream(e,{background:!0}).then(()=>i()).catch(t=>{throw this._newPostsInStream=e.concat(this._newPostsInStream),t})}),this.get("currentUser.id")!==e.user_id&&this.documentTitle.incrementBackgroundContextCount();break;case"move_to_inbox":t.set("message_archived",!1);break;case"archived":t.set("message_archived",!0);break;case"stats":{let n=!1;["last_posted_at","like_count","posts_count"].forEach(i=>{let s=e[i];void 0!==s&&(t.set(i,s),n=!0)}),e.last_poster&&(t.details.set("last_poster",e.last_poster),n=!0),n&&s.triggerChangedTopicStats().then(e=>i({id:e}));break}case"remove_allowed_user":this.router.transitionTo("userPrivateMessages",this.currentUser);break;default:{let t=z[e.type];t?t(this,e):console.warn("unknown topic bus message type",e)}}}static #rh=(()=>dt7948.n(this.prototype,"onMessage",[D.bind]))();reply(){this.replyToPost()}readPosts(e,t){let i=this.model,s=i.get("postStream");if(i.get("id")===e&&(s.get("posts").forEach(e=>{!e.read&&t.includes(e.post_number)&&(e.set("read",!0),this.appEvents.trigger("post-stream:refresh",{id:e.get("id")}))}),this.siteSettings.automatically_unpin_topics&&this.currentUser&&this.currentUser.user_option.automatically_unpin_topics)){let e=Math.max(...t);i.get("pinned")&&e>=i.get("highest_post_number")&&(0,l.next)(()=>i.clearPin())}}}},25336:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(6809),n=i(20936),r=i(32563),a=i(85703),o=i(47290),l=i(29421),u=i(93810),d=i(60110),c=i(29681);let p=(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"KZW1MW3T",block:'[[[1,"\\n "],[11,"td"],[16,"title",[28,[32,0],[[30,1,["bumpedAtTitle"]]],null]],[16,0,[28,[32,1],["activity num topic-list-data",[28,[32,2],[[30,1,["createdAt"]]],[["startDate","class"],[[30,1,["bumpedAt"]],""]]]],null]],[17,2],[12],[1,"\\n "],[10,3],[15,6,[30,1,["lastPostUrl"]]],[14,0,"post-activity"],[12],[8,[32,3],null,[["@name","@outletArgs"],["topic-list-before-relative-date",[28,[32,4],null,[["topic"],[[30,1]]]]]],null],[1,[28,[32,5],[[30,1,["bumpedAt"]]],[["format","noTitle"],["tiny","true"]]]],[13],[1,"\\n "],[13],[1,"\\n"]],["@topic","&attrs"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-list/item/activity-cell.js",scope:()=>[s.htmlSafe,a.default,r.default,n.default,l.default,o.default],isStrictMode:!0}),(0,c.default)(void 0,"activity-cell:ActivityCell"))},25360:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(34229),n=i(6809),r=i(14547),a=i(81651),o=i.n(a),l=i(35372),u=i(93810),d=i(60110);let c=dt7948.c(class extends l.default{static #e=(()=>dt7948.g(this.prototype,"description",[(0,s.readOnly)("item.description")]))();#rm=(()=>void dt7948.i(this,"description"))();static #t=(()=>(0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"C0I27RWl",block:'[[[1,"\\n"],[41,[30,0,["icons"]],[[[1," "],[10,0],[14,0,"icons"],[12],[1,"\\n "],[10,1],[14,0,"selection-indicator"],[12],[13],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["icons"]]],null]],null],null,[[[1," "],[1,[28,[32,0],[[30,1]],null]],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"texts"],[12],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,[28,[32,1],[[30,0,["label"]]],null]],[13],[1,"\\n"],[41,[30,0,["description"]],[[[1," "],[10,1],[14,0,"desc"],[12],[1,[28,[32,1],[[30,0,["description"]]],null]],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["i"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/dropdown-select-box/dropdown-select-box-row.js",scope:()=>[o(),n.htmlSafe],isStrictMode:!0}),this))()},[(0,r.classNames)("dropdown-select-box-row")])},25378:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(36376),n=i(83770),r=i(68593),a=i(77598),o=i(72818),l=i(21772),u=i(41277);class d extends l.default{static #e=(()=>dt7948.g(this.prototype,"router",[n.service]))();#i=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"searchService",[(0,n.service)("search")]))();#rg=(()=>void dt7948.i(this,"searchService"))();static #r=(()=>dt7948.g(this.prototype,"appEvents",[n.service]))();#f=(()=>void dt7948.i(this,"appEvents"))();static #a=(()=>dt7948.g(this.prototype,"messageBus",[n.service]))();#k=(()=>void dt7948.i(this,"messageBus"))();beforeModel(){if(this.siteSettings.hide_user_profiles_from_public&&!this.currentUser)throw new r.RouteException({status:403,desc:(0,u.i18n)("user.login_to_view_profile")})}model(e){return this.currentUser&&e.username.toLowerCase()===this.currentUser.username_lower?this.currentUser:o.default.create({username:encodeURIComponent(e.username)})}afterModel(){let e=this.modelFor("user");return e.findDetails().then(()=>e.findStaffInfo()).then(()=>e.statusManager.trackStatus()).catch(()=>this.router.replaceWith("/404"))}serialize(e){return e?{username:(e.username||"").toLowerCase()}:{}}setupController(e,t){e.set("model",t),this.searchService.searchContext=t.searchContext}activate(){super.activate(...arguments);let e=this.modelFor("user");this.messageBus.subscribe(`/u/${e.username_lower}`,this.onUserMessage),this.messageBus.subscribe(`/u/${e.username_lower}/counters`,this.onUserCountersMessage)}deactivate(){super.deactivate(...arguments);let e=this.modelFor("user");this.messageBus.unsubscribe(`/u/${e.username_lower}`,this.onUserMessage),this.messageBus.unsubscribe(`/u/${e.username_lower}/counters`,this.onUserCountersMessage),e.statusManager.stopTrackingStatus(),this.searchService.searchContext=null}onUserMessage(e){return this.modelFor("user").loadUserAction(e)}static #d=(()=>dt7948.n(this.prototype,"onUserMessage",[a.bind]))();onUserCountersMessage(e){let t=this.modelFor("user");t.setProperties(e),Object.entries(e).forEach(e=>{let[i,s]=e;return this.appEvents.trigger(`count-updated:${t.username_lower}:${i}`,s)})}static #g=(()=>dt7948.n(this.prototype,"onUserCountersMessage",[a.bind]))();titleToken(){return this.modelFor("user").username||null}undoRevokeApiKey(e){e.undoRevoke()}static #T=(()=>dt7948.n(this.prototype,"undoRevokeApiKey",[s.action]))();revokeApiKey(e){e.revoke()}static #C=(()=>dt7948.n(this.prototype,"revokeApiKey",[s.action]))()}},25403:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(21044),n=i(42371),r=i(36376),a=i(62166),o=i(85703),l=i(37420),u=i(86483),d=i(37256),c=i(93810),p=i(60110);class h extends s.default{onRegisterMenu(e){this.menu=e}static #e=(()=>dt7948.n(this.prototype,"onRegisterMenu",[r.action]))();get icon(){return this.args.icon??"far-face-smile"}get context(){return this.args.context??"topic"}get modalForMobile(){return this.args.modalForMobile??!0}static #t=(()=>(0,c.setComponentTemplate)((0,p.createTemplateFactory)({id:"ZQ8bzHGP",block:'[[[1,"\\n "],[8,[32,0],null,[["@triggerClass","@contentClass","@onRegisterApi","@identifier","@groupIdentifier","@modalForMobile","@maxWidth","@onShow","@onClose"],[[28,[32,1],[[30,1]],null],"emoji-picker-content",[30,0,["onRegisterMenu"]],"emoji-picker","emoji-picker",[30,0,["modalForMobile"]],405,[30,2],[30,3]]],[["trigger","content"],[[[[1,"\\n"],[41,[30,4],[[[1," "],[1,[28,[32,2],[[28,[32,3],[":",[30,4],":"],null]],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,4],[[30,0,["icon"]]],null]],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,5],[[[1," "],[10,1],[14,0,"d-button-label"],[12],[1,[30,5]],[13],[1,"\\n"]],[]],[[[1," ​\\n"]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[32,5],null,[["@close","@didSelectEmoji","@context"],[[30,0,["menu","close"]],[30,6],[30,0,["context"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@btnClass","@onShow","@onClose","@emoji","@label","@didSelectEmoji"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/emoji-picker/index.js",scope:()=>[d.default,o.default,u.default,n.concat,l.default,a.default],isStrictMode:!0}),this))()}},25530:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(42371),n=i(62069),r=i(17835),a=i(37420),o=i(41277),l=i(71064),u=i(93810),d=i(60110),c=i(29681);let p=(0,n.default)((0,u.setComponentTemplate)((0,d.createTemplateFactory)({id:"O7lGSKeF",block:'[[[1,"\\n "],[10,"form"],[14,0,"groups-form form-vertical groups-notifications-form"],[12],[1,"\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[14,0,"control-label"],[12],[1,[28,[32,0],["groups.manage.categories.long_title"],null]],[13],[1,"\\n "],[10,0],[12],[1,[28,[32,0],["groups.manage.categories.description"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-watching"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.watching.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","watchingCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","watchingCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.watched_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-tracking"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.tracking.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","trackingCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","trackingCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.tracked_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-watching-first"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.watching_first_post.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","watchingFirstPostCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","watchingFirstPostCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.watching_first_post_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-regular"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.regular.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","regularCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","regularCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.regular_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"control-group"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,1],["d-muted"],null]],[1,"\\n "],[1,[28,[32,0],["groups.notifications.muted.title"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@categories","@blockedCategories","@onChange"],[[30,1,["model","mutedCategories"]],[30,1,["selectedCategories"]],[28,[32,3],[[28,[31,0],[[30,1,["model","mutedCategories"]]],null]],null]]],null],[1,"\\n\\n "],[10,0],[14,0,"control-instructions"],[12],[1,"\\n "],[1,[28,[32,0],["groups.manage.categories.muted_categories_instructions"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,4],null,[["@model"],[[30,1,["model"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["@controller"],false,["mut"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/group/manage/categories.js",scope:()=>[o.i18n,a.default,l.default,s.fn,r.default],isStrictMode:!0}),(0,c.default)(void 0,void 0)))},25565:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(36376),r=i(83770),a=i(44612),o=i(35008),l=i(93810),u=i(60110);class d extends s.default{static #e=(()=>dt7948.g(this.prototype,"sidebarState",[r.service]))();#tD=(()=>void dt7948.i(this,"sidebarState"))();static #t=(()=>dt7948.g(this.prototype,"keyValueStore",[r.service]))();#w=(()=>void dt7948.i(this,"keyValueStore"))();get collapsableSections(){return this.args.sections.filter(e=>e.displaySection&&!e.hideSectionHeader)}get allSectionsExpanded(){return this.collapsableSections.every(e=>!this.sidebarState.collapsedSections.has((0,o.getCollapsedSidebarSectionKey)(e.name)))}get title(){return this.allSectionsExpanded?"sidebar.collapse_all_sections":"sidebar.expand_all_sections"}get icon(){return this.allSectionsExpanded?"angles-up":"angles-down"}toggleAllSections(){let e=this.allSectionsExpanded;this.collapsableSections.forEach(t=>{e?this.sidebarState.collapseSection(t.name):this.sidebarState.expandSection(t.name)})}static #r=(()=>dt7948.n(this.prototype,"toggleAllSections",[n.action]))();static #a=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"PgR1VP+Z",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"btn-transparent sidebar-toggle-all-sections"]],[["@action","@icon","@title"],[[30,0,["toggleAllSections"]],[30,0,["icon"]],[30,0,["title"]]]],null],[1,"\\n "]],[],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/sidebar/toggle-all-sections.js",scope:()=>[a.default],isStrictMode:!0}),this))()}},25594:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(2802);class n extends s.default{setupController(e){e.set("accountCreated",this.controllerFor("account-created").get("accountCreated"))}}},25722:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,i,s,n){var r,a=t.words[s];return 1===s.length?"y"===s&&i?"jedna godina":n||i?a[0]:a[1]:(r=t.correctGrammaticalCase(e,a),"yy"===s&&i&&"godinu"===r)?e+" godina":e+" "+r}};return e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},25815:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var s=i(36376);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"target.value";return function(i){return e((0,s.get)(i,t))}}},25818:(e,t,i)=>{"use strict";function s(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}i.d(t,{A:()=>s})},25903:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(37420),n=i(93810),r=i(60110),a=i(29681);let o=(0,n.setComponentTemplate)((0,r.createTemplateFactory)({id:"vBVgR9+4",block:'[[[1,"\\n "],[11,0],[16,0,[29,["tip ",[52,[30,1,["failed"]],"bad","good"]]]],[16,1,[30,2]],[17,3],[12],[1,"\\n"],[41,[30,1,["reason"]],[[[1," "],[1,[28,[32,0],[[52,[30,1,["failed"]],"xmark","check"]],null]],[1,"\\n "],[1,[30,1,["reason"]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],["@validation","@id","&attrs"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/input-tip.js",scope:()=>[s.default],isStrictMode:!0}),(0,a.default)(void 0,"input-tip:InputTip"))},25910:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l,removeCookie:()=>o});var s=i(1933);let n=/\+/g;function r(e){e.startsWith('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(n," "))}catch{}}function a(e,t,i){if(void 0!==t){if("number"==typeof(i={...i||{}}).expires){let e=i.expires,t=i.expires=new Date;t.setTime(+t+864e5*e)}return document.cookie=[encodeURIComponent(e),"=",encodeURIComponent(String(t)),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":"",";samesite=Lax"].join("")}let s=e?void 0:{},n=document.cookie?document.cookie.split("; "):[];for(let t=0,i=n.length;t{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(18891),n=i(36376),r=i(34229),a=i(83770),o=i(26962),l=i(76823),u=i(93228),d=i(92161),c=i(77598),p=i(131),h=i(27252),m=i(41277);class g extends s.default{static #e=(()=>dt7948.g(this.prototype,"dialog",[a.service]))();#l=(()=>void dt7948.i(this,"dialog"))();static #t=(()=>dt7948.g(this.prototype,"modal",[a.service]))();#S=(()=>void dt7948.i(this,"modal"))();user=null;model=null;filter=null;invitesCount=null;canLoadMore=!0;invitesLoading=!1;hasLoadedInitialInvites=!1;reinvitedAll=!1;removedAll=!1;searchTerm="";static #r=(()=>dt7948.g(this.prototype,"inviteRedeemed",[(0,r.equal)("filter","redeemed")]))();#rf=(()=>void dt7948.i(this,"inviteRedeemed"))();static #a=(()=>dt7948.g(this.prototype,"inviteExpired",[(0,r.equal)("filter","expired")]))();#r_=(()=>void dt7948.i(this,"inviteExpired"))();static #d=(()=>dt7948.g(this.prototype,"invitePending",[(0,r.equal)("filter","pending")]))();#ry=(()=>void dt7948.i(this,"invitePending"))();static #g=(()=>dt7948.g(this.prototype,"canInviteToForum",[(0,r.reads)("currentUser.can_invite_to_forum")]))();#rb=(()=>void dt7948.i(this,"canInviteToForum"))();static #T=(()=>dt7948.g(this.prototype,"canBulkInvite",[(0,r.reads)("currentUser.admin")]))();#rv=(()=>void dt7948.i(this,"canBulkInvite"))();searchTermChanged(){this._searchTermChanged()}static #C=(()=>dt7948.n(this.prototype,"searchTermChanged",[(0,o.observes)("searchTerm")]))();_searchTermChanged(){h.default.findInvitedBy(this.user,this.filter,this.searchTerm).then(e=>this.set("model",e))}static #A=(()=>dt7948.n(this.prototype,"_searchTermChanged",[(0,c.debounce)(p.INPUT_DELAY)]))();hasEmailInvites(e){return e.invites.some(e=>e.email)}static #D=(()=>dt7948.n(this.prototype,"hasEmailInvites",[(0,c.default)("model")]))();showBulkActionButtons(e){return"pending"===e&&this.model.invites.length>0&&this.currentUser.staff}static #M=(()=>dt7948.n(this.prototype,"showBulkActionButtons",[(0,c.default)("filter")]))();showSearch(e,t){return e[t]>5}static #E=(()=>dt7948.n(this.prototype,"showSearch",[(0,c.default)("invitesCount","filter")]))();createInvite(){this.modal.show(l.default,{model:{invites:this.model.invites}})}static #P=(()=>dt7948.n(this.prototype,"createInvite",[n.action]))();createInviteCsv(){this.modal.show(u.default)}static #I=(()=>dt7948.n(this.prototype,"createInviteCsv",[n.action]))();editInvite(e){this.modal.show(l.default,{model:{editing:!0,invite:e}})}static #j=(()=>dt7948.n(this.prototype,"editInvite",[n.action]))();destroyInvite(e){e.destroy(),this.model.invites.removeObject(e)}static #R=(()=>dt7948.n(this.prototype,"destroyInvite",[n.action]))();destroyAllExpired(){this.dialog.deleteConfirm({message:(0,m.i18n)("user.invited.remove_all_confirm"),didConfirm:()=>h.default.destroyAllExpired().then(()=>{this.set("removedAll",!0),this.send("triggerRefresh")}).catch(d.popupAjaxError)})}static #B=(()=>dt7948.n(this.prototype,"destroyAllExpired",[n.action]))();reinvite(e){return e.reinvite(),!1}static #H=(()=>dt7948.n(this.prototype,"reinvite",[n.action]))();reinviteAll(){this.dialog.yesNoConfirm({message:(0,m.i18n)("user.invited.reinvite_all_confirm"),didConfirm:()=>h.default.reinviteAll().then(()=>this.set("reinvitedAll",!0)).catch(d.popupAjaxError)})}static #$=(()=>dt7948.n(this.prototype,"reinviteAll",[n.action]))();loadMore(){let e=this.model;this.canLoadMore&&!this.invitesLoading&&(this.set("invitesLoading",!0),h.default.findInvitedBy(this.user,this.filter,this.searchTerm,e.invites.length).then(t=>{this.set("invitesLoading",!1),e.invites.pushObjects(t.invites),(0===t.invites.length||t.invites.length{this.set("hasLoadedInitialInvites",!0)}))}static #V=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))()}},25989:(e,t,i)=>{"use strict";i.r(t),i.d(t,{consolePrefix:()=>l,default:()=>a,getThemeInfo:()=>o});var s=i(15330),n=i(21847);let r=["moz-extension://","chrome-extension://","webkit-masked-url://"];function a(e){let t;if(!e||!e.stack)try{throw Error("Source identification error")}catch(t){e=t}if(!e.stack)return;let i=e.stack.replaceAll(/^.*discourse-deprecation-collector.*$/gm,"");if(r.any(e=>i.includes(e)))return{type:"browser-extension"};for(let e of i.match(/\/theme-javascripts\/[\w-]+\.js/g)||[]){let t=document.querySelector(`script[src*="${e}"`);if(t?.dataset.themeId)return{type:"theme",...o(t.dataset.themeId)}}if(t??=i.match(/assets\/plugins\/_?([\w-]+)-[0-9a-f]+(?:\.(?:br|gz))?\.js/)?.[1])return{type:"plugin",name:t}}function o(e){let t=n.default.get("activatedThemes")?.[e]||`(theme-id: ${e})`;return{id:e,name:t,path:(0,s.default)(`/admin/customize/themes/${e}?safe_mode=no_themes`)}}function l(e,t){return(t=t||a(e))&&"theme"===t.type?`[THEME ${t.id} '${t.name}']`:t&&"plugin"===t.type?`[PLUGIN ${t.name}]`:t&&"browser-extension"===t.type?"[BROWSER EXTENSION]":""}},26031:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=function(){var e;function t(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function i(e){return e.nodeName.toLowerCase()}function s(e){let t=[];return!function e(s,n){for(let r=s.firstChild;r;r=r.nextSibling)3===r.nodeType?n+=r.nodeValue.length:1===r.nodeType&&(t.push({event:"start",offset:n,node:r}),n=e(r,n),i(r).match(/br|hr|img|input/)||t.push({event:"stop",offset:n,node:r}));return n}(e,0),t}return{"before:highlightElement":t=>{let{el:i}=t;e=s(i)},"after:highlightElement":n=>{let{el:r,result:a,text:o}=n;if(!e.length)return;let l=document.createElement("div");l.innerHTML=a.value,a.value=function(e,s,n){let r=0,a="",o=[];function l(){return e.length&&s.length?e[0].offset!==s[0].offset?e[0].offset"}function d(e){a+=""}function c(e){("start"===e.event?u:d)(e.node)}for(;e.length||s.length;){let i=l();if(a+=t(n.substring(r,i[0].offset)),r=i[0].offset,i===e){o.reverse().forEach(d);do c(i.splice(0,1)[0]),i=l();while(i===e&&i.length&&i[0].offset===r)o.reverse().forEach(u)}else"start"===i[0].event?o.push(i[0].node):o.pop(),c(i.splice(0,1)[0])}return a+t(n.substr(r))}(e,s(l),o),r.innerHTML=a.value}}}()},26153:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>y});var s=i(21044),n=i(42371),r=i(93558),a=i(36376),o=i(83770),l=i(78312),u=i(40925),d=i(20936),c=i(37420),p=i(29421),h=i(76424),m=i(45577),g=i(37256),f=i(93810),_=i(60110);class y extends s.default{static #e=(()=>dt7948.g(this.prototype,"site",[o.service]))();#s=(()=>void dt7948.i(this,"site"))();get filterType(){return(0,h.filterTypeForMode)(this.args.filterMode)}get selectedNavItem(){let{navItems:e}=this.args,t=e.find(e=>!0===e.active);return(t=t||e.find(e=>e.filterType===this.filterType))||e[0]}get showDropdown(){return(0,m.applyValueTransformer)("navigation-bar-dropdown-mode",this.site.mobileView)}get navigationBarIcon(){return(0,m.applyValueTransformer)("navigation-bar-dropdown-icon","discourse-chevron-expand")}onRegisterApi(e){this.dMenu=e}static #t=(()=>dt7948.n(this.prototype,"onRegisterApi",[a.action]))();static #r=(()=>(0,f.setComponentTemplate)((0,_.createTemplateFactory)({id:"oatd1DMP",block:'[[[1,"\\n "],[10,"ul"],[14,1,"navigation-bar"],[14,0,"nav nav-pills"],[12],[1,"\\n"],[41,[30,0,["showDropdown"]],[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[32,0],null,[["@modalForMobile","@autofocus","@identifier","@onRegisterApi"],[true,true,"list-control-toggle-link",[30,0,["onRegisterApi"]]]],[["trigger","content"],[[[[1,"\\n "],[10,1],[14,0,"list-control-toggle-link__text"],[12],[1,[30,0,["selectedNavItem","displayName"]]],[13],[1,"\\n "],[1,[28,[32,1],[[30,0,["navigationBarIcon"]]],null]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,2],[[4,[32,3],["click",[30,0,["dMenu","close"]]],null]],null,[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,2]],null]],null],null,[[[1," "],[8,[32,4],[[16,0,[28,[32,5],["nav-item_",[30,3,["name"]]],null]]],[["@content","@filterMode","@category"],[[30,3],[30,4],[30,5]]],null],[1,"\\n\\n"]],[3]],null],[1," "],[8,[30,1,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,6],null,[["@name","@connectorTagName","@outletArgs"],["extra-nav-item","span",[28,[32,7],null,[["category","tag","filterMode"],[[30,5],[30,6],[30,4]]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,6],null,[["@name","@connectorTagName","@outletArgs"],["inline-extra-nav-item","span",[28,[32,7],null,[["category","filterMode"],[[30,5],[30,4]]]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[42,[28,[31,2],[[28,[31,2],[[30,2]],null]],null],null,[[[1," "],[8,[32,4],[[16,0,[28,[32,5],["nav-item_",[30,7,["name"]]],null]]],[["@content","@filterMode","@category"],[[30,7],[30,4],[30,5]]],null],[1,"\\n"]],[7]],null],[1," "],[8,[32,6],null,[["@name","@connectorTagName","@outletArgs"],["extra-nav-item","li",[28,[32,7],null,[["category","tag","filterMode"],[[30,5],[30,6],[30,4]]]]]],null],[1,"\\n\\n"]],[]]],[1," "],[13],[1,"\\n "]],["dropdown","@navItems","navItem","@filterMode","@category","@tag","navItem"],false,["if","each","-track-array"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/navigation-bar.js",scope:()=>[g.default,c.default,l.default,r.on,u.default,n.concat,d.default,p.default],isStrictMode:!0}),this))()}},26197:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(36376),n=i(14547),r=i(41277),a=i(66026),o=i(66185);let l=dt7948.c(class extends a.default{nameProperty="label";get content(){return[{id:"all",label:(0,r.i18n)("user.user_notifications.filters.all")},{id:"read",label:(0,r.i18n)("user.user_notifications.filters.read")},{id:"unread",label:(0,r.i18n)("user.user_notifications.filters.unread")}]}static #e=(()=>dt7948.n(this.prototype,"content",[s.computed]))()},[(0,o.selectKitOptions)({headerComponent:"notifications-filter/notifications-filter-header"}),(0,n.classNames)("notifications-filter")])},26214:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(62069),n=i(57209),r=i(52739),a=i(93810),o=i(60110),l=i(29681);let u=(0,s.default)((0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"mtgx3wQa",block:'[[[1,"\\n "],[8,[32,0],null,[["@model","@selectedTags","@save","@siteSettings"],[[30,1,["model"]],[30,1,["selectedTags"]],[30,1,["save"]],[30,1,["siteSettings"]]]],null],[1,"\\n\\n "],[8,[32,1],null,[["@model","@action","@saved"],[[30,1,["model"]],[30,1,["save"]],[30,1,["saved"]]]],null],[1,"\\n "]],["@controller"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/preferences/tags.js",scope:()=>[r.default,n.default],isStrictMode:!0}),(0,l.default)(void 0,void 0)))},26220:(e,t,i)=>{"use strict";i.r(t),i.d(t,{extendColorSchemeCookies:()=>h,listColorSchemes:()=>l,loadColorSchemeStylesheet:()=>u,updateColorSchemeCookie:()=>p});var s=i(3558),n=i(25910),r=i(80212),a=i(84893),o=i(41277);function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.get("user_color_schemes");if(!i||!Array.isArray(i))return null;let s=[];if(t.darkOnly||(i=i.sort((e,t)=>Number(e.is_dark)-Number(t.is_dark))),i.forEach(e=>{(t.darkOnly&&e.is_dark||!t.darkOnly)&&s.push({name:e.name,id:e.id,theme_id:e.theme_id,colors:e.colors,is_dark:e.is_dark})}),t.darkOnly){let t=e.get("default_dark_color_scheme");t&&(i.findBy("id",t.id)||s.unshift({id:t.id,name:`${t.name} ${(0,o.i18n)("user.color_schemes.default_dark_scheme")}`,theme_id:t.theme_id,colors:t.colors})),s.unshift({id:-1,name:(0,o.i18n)("user.color_schemes.disable_dark_scheme")})}return 0===s.length?null:s}function u(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t?`/${t}`:"";return(0,s.ajax)(`/color-scheme-stylesheet/${e}${n}.json`).then(e=>{if(e&&e.new_href){let t=i?"cs-preview-dark":"cs-preview-light",s=document.querySelector(`link#${t}`);if(s)s.href=e.new_href;else{let s=document.createElement("link");s.href=e.new_href,s.media=i?"(prefers-color-scheme: dark)":"(prefers-color-scheme: light)",s.rel="stylesheet",s.id=t,document.body.appendChild(s)}i||(0,r.default)(()=>{let e=getComputedStyle(document.body).getPropertyValue("--scheme-type");a.default.currentProp("defaultColorSchemeIsDark","dark"===e.trim())},500)}})}let d="color_scheme_id",c="dark_scheme_id";function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.dark?c:d;e?(0,n.default)(i,e,{path:"/",expires:365}):(0,n.removeCookie)(i,{path:"/"})}function h(){for(let e of[d,c]){let t=(0,n.default)(e);t&&(0,n.default)(e,t,{path:"/",expires:365})}}},26257:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(93810),n=i(29681),r=i(60110);let a=(0,s.setComponentTemplate)((0,r.createTemplateFactory)({id:"/uZUJG9V",block:'[[[1,"\\n "],[11,0],[24,0,"fk-d-button-tooltip"],[17,1],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n"]],["&attrs","&button","&tooltip"],false,["yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/float-kit.d0433c99/node_modules/float-kit/components/d-button-tooltip.js",isStrictMode:!0}),(0,n.default)(void 0,"d-button-tooltip:DButtonTooltip"))},26273:function(e,t,i){!function(e,t){t(i(98678))}(0,function(e){"use strict";function t(e){return e>1&&e<5}function i(e,i,s,n){var r=e+" ";switch(s){case"s":return i||n?"pár sekúnd":"pár sekundami";case"ss":if(i||n)return r+(t(e)?"sekundy":"sekúnd");return r+"sekundami";case"m":return i?"minúta":n?"minútu":"minútou";case"mm":if(i||n)return r+(t(e)?"minúty":"minút");return r+"minútami";case"h":return i?"hodina":n?"hodinu":"hodinou";case"hh":if(i||n)return r+(t(e)?"hodiny":"hodín");return r+"hodinami";case"d":return i||n?"deň":"dňom";case"dd":if(i||n)return r+(t(e)?"dni":"dní");return r+"dňami";case"M":return i||n?"mesiac":"mesiacom";case"MM":if(i||n)return r+(t(e)?"mesiace":"mesiacov");return r+"mesiacmi";case"y":return i||n?"rok":"rokom";case"yy":if(i||n)return r+(t(e)?"roky":"rokov");return r+"rokmi"}}return e.defineLocale("sk",{months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},26288:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var s=i(93810),n=i(42371),r=i(36376),a=i(34229),o=i(54695),l=i(44612),u=i(52095),d=i(71425),c=i(41277),p=i(27086),h=i(45684),m=i(60110);class g extends(0,u.buildCategoryPanel)("tags"){static #e=(()=>dt7948.g(this.prototype,"allowedTagsEmpty",[(0,a.empty)("category.allowed_tags")]))();#rw=(()=>void dt7948.i(this,"allowedTagsEmpty"))();static #t=(()=>dt7948.g(this.prototype,"allowedTagGroupsEmpty",[(0,a.empty)("category.allowed_tag_groups")]))();#rk=(()=>void dt7948.i(this,"allowedTagGroupsEmpty"))();static #r=(()=>dt7948.g(this.prototype,"disableAllowGlobalTags",[(0,a.and)("allowedTagsEmpty","allowedTagGroupsEmpty")]))();#rT=(()=>void dt7948.i(this,"disableAllowGlobalTags"))();onTagGroupChange(e,t){(0,r.set)(e,"name",t[0])}static #a=(()=>dt7948.n(this.prototype,"onTagGroupChange",[r.action]))();addRequiredTagGroup(){this.category.required_tag_groups.pushObject({min_count:1})}static #d=(()=>dt7948.n(this.prototype,"addRequiredTagGroup",[r.action]))();deleteRequiredTagGroup(e){this.category.required_tag_groups.removeObject(e)}static #g=(()=>dt7948.n(this.prototype,"deleteRequiredTagGroup",[r.action]))();static #T=(()=>(0,s.setComponentTemplate)((0,m.createTemplateFactory)({id:"myi52blS",block:'[[[1,"\\n "],[10,"section"],[14,0,"field minimum-required-tags"],[12],[1,"\\n "],[10,"label"],[14,"for","category-minimum-tags"],[12],[1,"\\n "],[1,[28,[32,0],["category.minimum_required_tags"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],null,[["@value","@id","@type","@min"],[[30,0,["category","minimum_required_tags"]],"category-minimum-tags","number","0"]],null],[1,"\\n "],[13],[1,"\\n "],[10,"section"],[14,0,"field allowed-tags"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.tags_allowed_tags"],null]],[13],[1,"\\n "],[8,[32,2],null,[["@id","@tags","@everyTag","@excludeSynonyms","@unlimitedTagCount","@onChange","@options"],["category-allowed-tags",[30,0,["category","allowed_tags"]],true,true,true,[28,[32,3],[[28,[31,0],[[30,0,["category","allowed_tags"]]],null]],null],[28,[32,4],null,[["filterPlaceholder"],["category.tags_placeholder"]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field allowed-tag-groups"],[12],[1,"\\n "],[10,"label"],[12],[1,[28,[32,0],["category.tags_allowed_tag_groups"],null]],[13],[1,"\\n "],[8,[32,5],null,[["@id","@tagGroups","@onChange"],["category-allowed-tag-groups",[30,0,["category","allowed_tag_groups"]],[28,[32,3],[[28,[31,0],[[30,0,["category","allowed_tag_groups"]]],null]],null]]],null],[1,"\\n "],[8,[32,6],[[24,0,"manage-tag-groups"]],[["@route"],["tagGroups"]],[["default"],[[[[1,[28,[32,0],["category.manage_tag_groups_link"],null]]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field allow-global-tags"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[32,7],[[24,1,"allow_global_tags"],[16,"disabled",[30,0,["disableAllowGlobalTags"]]]],[["@type","@checked"],["checkbox",[30,0,["category","allow_global_tags"]]]],null],[1,"\\n "],[1,[28,[32,0],["category.allow_global_tags_label"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field tags-tab-description"],[12],[1,"\\n "],[1,[28,[32,0],["category.tags_tab_description"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field required-tag-group-description"],[12],[1,"\\n "],[1,[28,[32,0],["category.required_tag_group.description"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"section"],[14,0,"field with-items"],[12],[1,"\\n "],[10,"section"],[14,0,"field-item required-tag-groups"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["category","required_tag_groups"]]],null]],null],null,[[[1," "],[10,0],[14,0,"required-tag-group-row"],[12],[1,"\\n "],[8,[32,1],null,[["@value","@type","@min"],[[30,1,["min_count"]],"number","1"]],null],[1,"\\n "],[8,[32,5],null,[["@tagGroups","@onChange","@options"],[[52,[30,1,["name"]],[28,[32,8],[[30,1,["name"]]],null],[28,[32,8],null,null]],[28,[32,3],[[30,0,["onTagGroupChange"]],[30,1]],null],[28,[32,4],null,[["maximum","filterPlaceholder"],[1,"category.required_tag_group.placeholder"]]]]],null],[1,"\\n "],[8,[32,9],[[24,0,"delete-required-tag-group"]],[["@label","@action","@icon"],["category.required_tag_group.delete",[28,[32,3],[[30,0,["deleteRequiredTagGroup"]],[30,1]],null],"trash-can"]],null],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[8,[32,9],[[24,0,"btn-default add-required-tag-group"]],[["@label","@action","@icon"],["category.required_tag_group.add",[30,0,["addRequiredTagGroup"]],"plus"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["rtg"],false,["mut","each","-track-array","if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/edit-category-tags.js",scope:()=>[c.i18n,d.default,p.default,n.fn,n.hash,h.default,o.LinkTo,s.Input,n.array,l.default],isStrictMode:!0}),this))()}},26351:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PLATFORM_KEY_MODIFIER:()=>b,clearDisabledDefaultKeyboardBindings:()=>f,clearExtraKeyboardShortcutHelp:()=>y,default:()=>T,disableDefaultKeyboardShortcuts:()=>g,extraKeyboardShortcutsHelp:()=>_});var s=i(42946),n=i(31862),r=i(3558),a=i(12466),o=i(131),l=i(80212),u=i(81076),d=i(18667),c=i(94611),p=i(82339),h=i(14093);let m=[];function g(e){m=m.concat(e)}function f(){m=[]}let _={};function y(){_={}}let b=/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl",w={"!":{postAction:"showFlags"},"#":{handler:"goToPost",anonymous:!0},"/":{handler:"toggleSearch",anonymous:!0},"ctrl+alt+f":{handler:"toggleSearch",anonymous:!0,global:!0},"=":{handler:"toggleHamburgerMenu",anonymous:!0},"?":{handler:"showHelpModal",anonymous:!0},".":{click:".alert.alert-info.clickable",anonymous:!0},a:{handler:"toggleArchivePM"},b:{handler:"toggleBookmark"},c:{handler:"createTopic"},"shift+c":{handler:"focusComposer"},"command+left":{handler:"webviewKeyboardBack",anonymous:!0},"command+[":{handler:"webviewKeyboardBack",anonymous:!0},"command+right":{handler:"webviewKeyboardForward",anonymous:!0},"command+]":{handler:"webviewKeyboardForward",anonymous:!0},"mod+p":{handler:"printTopic",anonymous:!0},d:{postAction:"deletePostWithConfirmation"},e:{handler:"editPost"},end:{handler:"goToLastPost",anonymous:!0},"command+down":{handler:"goToLastPost",anonymous:!0},f:{handler:"toggleBookmarkTopic"},"g h":{path:"/",anonymous:!0},"g l":{path:"/latest",anonymous:!0},"g n":{path:"/new"},"g u":{path:"/unread"},"g c":{path:"/categories",anonymous:!0},"g t":{path:"/top",anonymous:!0},"g b":{path:"/my/activity/bookmarks"},"g p":{path:"/my/activity"},"g m":{path:"/my/messages"},"g d":{path:"/my/activity/drafts"},"g s":{handler:"goToFirstSuggestedTopic",anonymous:!0},"g j":{handler:"goToNextTopic",anonymous:!0},"g k":{handler:"goToPreviousTopic",anonymous:!0},home:{handler:"goToFirstPost",anonymous:!0},"command+up":{handler:"goToFirstPost",anonymous:!0},j:{handler:"selectDown",anonymous:!0},k:{handler:"selectUp",anonymous:!0},l:{click:".topic-post.selected button.toggle-like"},"m m":{handler:"setTrackingToMuted"},"m r":{handler:"setTrackingToRegular"},"m t":{handler:"setTrackingToTracking"},"m w":{handler:"setTrackingToWatching"},"o,enter":{click:".topic-list tr.selected a.title, .latest-topic-list .latest-topic-list-item.selected div.main-link a.title, .top-topic-list .latest-topic-list-item.selected div.main-link a.title, .latest .featured-topic.selected a.title, .search-results .fps-result.selected .search-link",anonymous:!0},tab:{handler:"switchFocusCategoriesPage",anonymous:!0},p:{handler:"showCurrentUser"},q:{handler:"quoteReply"},r:{postAction:"replyToPost"},s:{click:".topic-post.selected a.post-date",anonymous:!0},"shift+j":{handler:"nextSection",anonymous:!0},"shift+k":{handler:"prevSection",anonymous:!0},"shift+p":{handler:"pinUnpinTopic"},"shift+r":{handler:"replyToTopic"},"shift+s":{click:"#topic-footer-buttons button.share-and-invite",anonymous:!0},"shift+l":{handler:"goToUnreadPost"},"shift+z shift+z":{handler:"logout"},"shift+f11":{handler:"fullscreenComposer",global:!0},"shift+u":{handler:"deferTopic"},"shift+a":{handler:"toggleAdminActions"},"shift+b":{handler:"toggleBulkSelect"},t:{postAction:"replyAsNewTopic"},u:{handler:"goBack",anonymous:!0},x:{handler:"bulkSelectItem"},"shift+d":{click:"#dismiss-new-bottom, #dismiss-new-top, #dismiss-topics-bottom, #dismiss-topics-top"}};function k(e){e.preventDefault(),e.stopPropagation()}let T={init(e,t){(0,s.setOwner)(this,t),this.keyTrapper&&(this.keyTrapper.destroy(),this.keyTrapper=null),this.keyTrapper=new e,this._stopCallback(),this.searchService=t.lookup("service:search"),this.appEvents=t.lookup("service:app-events"),this.currentUser=t.lookup("service:current-user"),this.siteSettings=t.lookup("service:site-settings"),this.site=t.lookup("service:site"),this.currentUser?.can_send_private_messages||delete w["g m"],m.length&&m.forEach(e=>delete w[e])},bindEvents(){Object.keys(w).forEach(e=>{this.bindKey(e)})},teardown(){Object.getPrototypeOf(this.keyTrapper).stopCallback=this.oldStopCallback,this.oldStopCallback=null,this.keyTrapper?.destroy(),this.keyTrapper=null},isTornDown(){return null==this.keyTrapper},bindKey(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!this.isTornDown()&&(t||(t=w[e]),(t.anonymous||this.currentUser)&&(t.path?this._bindToPath(t.path,e):t.handler?t.global?this._globalBindToFunction(t.handler,e):this._bindToFunction(t.handler,e):t.postAction?this._bindToSelectedPost(t.postAction,e):t.click&&this._bindToClick(t.click,e)))},pause(e){if(!this.isTornDown()){if(!e){this.keyTrapper.paused=!0;return}e.forEach(e=>this.keyTrapper.unbind(e))}},unpause(e){if(!this.isTornDown()){if(!e){this.keyTrapper.paused=!1;return}e.forEach(e=>this.bindKey(e))}},addShortcut(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.bindKey(e.trim(),{handler:t,...i}),i.help&&function(e){let t=e.category;_[t]?_[t]=_[t].concat([e]):_[t]=[e]}(i.help)},unbind(e){Object.keys(e).forEach(e=>this.keyTrapper.unbind(e))},toggleBookmark(e){let t=this._getSelectedPost();if(t){k(e),this.sendToSelectedPost("toggleBookmark",t);return}let i=this._getSelectedTopicListItem();if(i){k(e),this.sendToTopicListItemView("toggleBookmark",i);return}this._bookmarkCurrentTopic(e)},toggleBookmarkTopic(e){let t=this._getSelectedTopicListItem();if(t){k(e),this.sendToTopicListItemView("toggleBookmark",t);return}this._bookmarkCurrentTopic(e)},_bookmarkCurrentTopic(e){this.currentTopic()&&document.querySelectorAll(".posts-wrapper").length&&(k(e),(0,s.getOwner)(this).lookup("controller:topic").send("toggleBookmark"))},logout(){(0,s.getOwner)(this).lookup("route:application").send("logout")},quoteReply(){return this.isPostTextSelected?this.appEvents.trigger("quote-button:quote"):(this.sendToSelectedPost("replyToPost"),(0,l.default)(()=>document.querySelector(".d-editor .quote")?.click(),500)),!1},editPost(){return this.siteSettings.enable_fast_edit&&this.isPostTextSelected?this.appEvents.trigger("quote-button:edit"):this.sendToSelectedPost("editPost"),!1},goToNextTopic(){(0,d.nextTopicUrl)().then(e=>{e&&c.default.routeTo(e)})},goToPreviousTopic(){(0,d.previousTopicUrl)().then(e=>{e&&c.default.routeTo(e)})},goToFirstSuggestedTopic(){let e=document.querySelector("#suggested-topics a.raw-topic-link");if(e)e.click();else{let e=(0,s.getOwner)(this).lookup("controller:topic"),t=`/t/${e.get("model.id")}/last.json`;(0,r.ajax)(t).then(t=>{if(t.suggested_topics&&t.suggested_topics.length>0){let i=e.store.createRecord("topic",t.suggested_topics[0]);c.default.routeTo(i.get("url"))}})}},goToFirstPost(){this._jumpTo("jumpTop")},goToLastPost(){this._jumpTo("jumpBottom")},goToUnreadPost(){this._jumpTo("jumpUnread")},_jumpTo(e){document.querySelector(".container.posts")&&(0,s.getOwner)(this).lookup("controller:topic").send(e)},replyToTopic(){return this._replyToPost(),!1},selectDown(){this._moveSelection({direction:1,scrollWithinPosts:!0})},selectUp(){this._moveSelection({direction:-1,scrollWithinPosts:!0})},bulkSelectItem(){let e=document.querySelector(".selected input.bulk-select, .selected .select-post");e?.click()},goBack(){history.back()},nextSection(){this._changeSection(1)},prevSection(){this._changeSection(-1)},showPageSearch(e){(0,n.run)(()=>{this.appEvents.trigger("header:keyboard-trigger",{type:"page-search",event:e})})},printTopic(e){(0,n.run)(()=>{document.querySelector(".container.posts")&&(e.preventDefault(),(0,s.getOwner)(this).lookup("controller:topic").print())})},createTopic(e){if(!(this.currentUser&&this.currentUser.can_create_topic))return;e.preventDefault();let t=document.querySelector("#create-topic");if(t)return void t.click();(0,s.getOwner)(this).lookup("service:composer").open({action:p.default.CREATE_TOPIC,draftKey:p.default.NEW_TOPIC_KEY})},focusComposer(e){let t=(0,s.getOwner)(this).lookup("service:composer");e&&(e.preventDefault(),e.stopPropagation()),t.focusComposer(e)},fullscreenComposer(){let e=(0,s.getOwner)(this).lookup("service:composer");e.get("model")&&e.toggleFullscreen()},pinUnpinTopic(){(0,s.getOwner)(this).lookup("controller:topic").togglePinnedState()},goToPost(e){k(e),this.appEvents.trigger("topic:keyboard-trigger",{type:"jump"})},toggleSearch(e){return this.appEvents.trigger("header:keyboard-trigger",{type:"search",event:e}),!1},toggleHamburgerMenu(e){this.appEvents.trigger("header:keyboard-trigger",{type:"hamburger",event:e})},showCurrentUser(e){this.appEvents.trigger("header:keyboard-trigger",{type:"user",event:e})},showHelpModal(){(0,s.getOwner)(this).lookup("controller:application").send("showKeyboardShortcutsHelp")},setTrackingToMuted(){(0,n.throttle)(this,"_setTracking",0,o.INPUT_DELAY,!0)},setTrackingToRegular(){(0,n.throttle)(this,"_setTracking",1,o.INPUT_DELAY,!0)},setTrackingToTracking(){(0,n.throttle)(this,"_setTracking",2,o.INPUT_DELAY,!0)},setTrackingToWatching(){(0,n.throttle)(this,"_setTracking",3,o.INPUT_DELAY,!0)},_setTracking(e){let t=this.currentTopic();t&&t.details.updateNotifications(e)},sendToTopicListItemView(e,t){if(t=t||document.querySelector("tr.selected.topic-list-item")){let i=(0,s.getOwner)(this).lookup("-view-registry:main");i&&i[t.id].send(e)}},currentTopic(){let e=(0,s.getOwner)(this).lookup("controller:topic");if(e){let t=e.get("model");if(t)return t}},get isPostTextSelected(){return!!(0,s.getOwner)(this).lookup("controller:topic").quoteState.postId},sendToSelectedPost(e,t){let i,n=t||document.querySelector(".topic-post.selected article.boxed");if(n&&(i=parseInt(n.dataset.postId,10)),i){let t=(0,s.getOwner)(this).lookup("controller:topic"),n=t.get("model.postStream.posts").findBy("id",i);if(n){let r=t.actions[e];r||(r=(0,s.getOwner)(this).lookup("route:topic").actions[e]);let a=r.call(t,n);a&&a.then&&this.appEvents.trigger("post-stream:refresh",{id:i})}}return!1},_bindToSelectedPost(e,t){this.keyTrapper.bind(t,()=>this.sendToSelectedPost(e))},_bindToPath(e,t){this.keyTrapper.bind(t,()=>c.default.routeTo(e))},_bindToClick(e,t){t=t.split(","),this.keyTrapper.bind(t,function(t){let i=document.querySelector(e);if(t&&"Enter"===t.key){if(!i)return;t.preventDefault()}i?.click()})},_globalBindToFunction(e,t){let i="function"==typeof e?e:this[e];"function"==typeof i&&this.keyTrapper.bindGlobal(t,i.bind(this))},_bindToFunction(e,t){let i="function"==typeof e?e:this[e];"function"==typeof i&&this.keyTrapper.bind(t,i.bind(this))},_moveSelection(e){let{direction:t,scrollWithinPosts:i}=e,s=+new Date,n=this._lastMoveTime&&s-this._lastMoveTime<150;this._lastMoveTime=s;let r=this._findArticles();if(void 0===r)return;let o=(r=Array.from(r)).find(e=>e.classList.contains("selected"));if(o||(o=r.find(e=>"true"===e.dataset.isLastViewedTopic)),o&&!n){let e=o.getBoundingClientRect();(e.bottom<(0,u.headerOffset)()||e.top>window.innerHeight)&&(o=null)}if(!o){let e=(0,u.headerOffset)();(o=r.find(i=>t>0?i.getBoundingClientRect().top>=e:i.getBoundingClientRect().bottom>=e))||(o=r[r.length-1]),t=0}let l=r.indexOf(o),d=o;if(!n&&0!==t&&d&&i){let e=d.classList.contains("topic-post")&&d.querySelector("#post_1")?0:a.default.offset(d).top,i=a.default.offset(d).top+d.offsetHeight,s=window.scrollY,n=s+window.innerHeight;if(t<0&&s>e)return this._scrollTo(Math.max(s-window.innerHeight+3*(0,u.headerOffset)(),e-(0,u.headerOffset)()));if(t>0&&n0||0===t)break}for(let e of r)e.classList.remove("selected"),e.removeAttribute("tabindex");d.classList.add("selected"),d.setAttribute("tabindex","0"),d.focus(),this.appEvents.trigger("keyboard:move-selection",{articles:r,selectedArticle:d});let p=a.default.offset(d).top,h=p-(0,u.headerOffset)();if(i&&!n&&t<0&&d.offsetHeight>window.innerHeight)return this._scrollTo(p+d.offsetHeight-window.innerHeight);if(d.classList.contains("topic-post"))return this._scrollTo(d.querySelector("#post_1")?0:h);if(h>window.pageYOffset&&p+d.offsetHeight0?.2:.7;this._scrollTo(h-window.innerHeight*m)},_scrollTo(e){window.scrollTo({top:e,behavior:"smooth"})},categoriesTopicsList(){switch(this.siteSettings.desktop_category_page_style){case"categories_with_featured_topics":return document.querySelectorAll(".latest .featured-topic");case"categories_and_latest_topics":case"categories_and_latest_topics_created_date":return document.querySelectorAll(".latest-topic-list .latest-topic-list-item");case"categories_and_top_topics":return document.querySelectorAll(".top-topic-list .latest-topic-list-item");default:return[]}},_findArticles(){let e;return document.querySelector(".posts-wrapper")?document.querySelectorAll(".posts-wrapper .topic-post, .topic-list tbody tr"):document.querySelector(".topic-list")?document.querySelectorAll(".topic-list .topic-list-item"):document.querySelector(".search-results")?document.querySelectorAll(".search-results .fps-result"):(e=this.categoriesTopicsList())?e:void 0},_changeSection(e){if(document.querySelector(".post-stream"))this._moveSelection({direction:e,scrollWithinPosts:!1});else{let t=Array.from(document.querySelectorAll(".nav.nav-pills li")),i=document.querySelector(".nav.nav-pills li.active"),s=t.indexOf(i)+e;s>=0&&sdocument.querySelector(".topic-post.selected article[data-post-id]"),_getSelectedTopicListItem:()=>document.querySelector("tr.selected.topic-list-item"),deferTopic(){(0,s.getOwner)(this).lookup("controller:topic").send("deferTopic")},toggleAdminActions(){document.querySelector(".toggle-admin-menu")?.click()},toggleBulkSelect(){let e=document.querySelector("button.bulk-select");e?e.click():(0,s.getOwner)(this).lookup("controller:topic").send("toggleMultiSelect")},toggleArchivePM(){(0,s.getOwner)(this).lookup("controller:topic").send("toggleArchiveMessage")},webviewKeyboardBack(){h.capabilities.isAppWebview&&window.history.back()},webviewKeyboardForward(){h.capabilities.isAppWebview&&window.history.forward()}}},26379:(e,t,i)=>{"use strict";i.r(t),i.d(t,{hasDOM:()=>s.h,history:()=>s.b,isChrome:()=>s.a,isFirefox:()=>s.i,location:()=>s.l,userAgent:()=>s.u,window:()=>s.w});var s=i(88288)},26431:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});var s=i(21772),n=i(41277);class r extends s.default{titleToken(){return(0,n.i18n)("groups.topics")}model(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.store.findFiltered("topicList",{filter:`topics/groups/${this.modelFor("group").get("name")}`,params:e})}}},26603:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(93558),n=i(62069),r=i(65360),a=i(41277),o=i(93810),l=i(60110),u=i(29681);let d=(0,n.default)((0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"lMJ4NY+V",block:'[[[1,"\\n "],[10,0],[14,0,"list-controls"],[12],[1,"\\n "],[10,0],[14,0,"container"],[12],[1,"\\n "],[10,"h2"],[12],[1,[28,[32,0],["tagging.tags"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"tag-sort-options"],[12],[1,"\\n "],[1,[28,[32,0],["tagging.sort_by"],null]],[1,"\\n "],[10,1],[15,0,[29,["tag-sort-count ",[52,[30,1,["sortedByCount"]],"active"]]]],[12],[1,"\\n "],[11,3],[24,6,""],[4,[32,1],["click",[30,1,["sortByCount"]]],null],[12],[1,"\\n "],[1,[28,[32,0],["tagging.sort_by_count"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,1],[15,0,[29,["tag-sort-name ",[52,[30,1,["sortedByName"]],"active"]]]],[12],[1,"\\n "],[11,3],[24,6,""],[4,[32,1],["click",[30,1,["sortById"]]],null],[12],[1,"\\n "],[1,[28,[32,0],["tagging.sort_by_name"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[12],[13],[1,"\\n\\n"],[41,[30,1,["model"]],[[[1," "],[8,[32,2],null,[["@tags","@sortProperties","@titleKey","@isPrivateMessage","@tagsForUser"],[[30,1,["model"]],[30,1,["sortProperties"]],"tagging.all_tags",true,[30,1,["tagsForUser"]]]],null],[1,"\\n"]],[]],null],[1," "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/user-private-messages-tags-index.js",scope:()=>[a.i18n,s.on,r.default],isStrictMode:!0}),(0,u.default)(void 0,void 0)))},26712:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(21044),n=i(54695),r=i(83770),a=i(16403),o=i(93810),l=i(60110);class u extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[r.service]))();#i=(()=>void dt7948.i(this,"router"))();get ariaCurrent(){return"parentNav"===this.args.ariaCurrentContext&&this.router.currentRouteName!==this.args.route&&this.router.currentRoute.parent.name.includes(this.args.route)?"page":this.router.currentRouteName!==this.args.route?null:"subNav"===this.args.ariaCurrentContext?"location":"page"}get models(){return(0,a.makeArray)(this.args.models||this.args.model)}static #t=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"ffNWHqWM",block:'[[[1,"\\n "],[11,"li"],[16,"aria-current",[30,0,["ariaCurrent"]]],[16,"title",[30,1]],[16,0,[30,2]],[17,3],[12],[1,"\\n"],[41,[30,0,["models"]],[[[1," "],[8,[32,0],null,[["@route","@models"],[[30,4],[30,0,["models"]]]],[["default"],[[[[1,"\\n "],[18,5,null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,0],null,[["@route"],[[30,4]]],[["default"],[[[[1,"\\n "],[18,5,null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@title","@class","&attrs","@route","&default"],false,["if","yield"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/d-navigation-item.js",scope:()=>[n.LinkTo],isStrictMode:!0}),this))()}},26723:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>s});let s=(0,i(39284).default)("warnings","private-messages-warnings",null)},26767:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(83770),n=i(131),r=i(47182);let a=dt7948.c(class extends s.default{context=null;constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"discourse_";super(...arguments),this.context=(0,n.isTesting)()?`__test_${e}`:e}abandonLocal(){return this.removeKeys()}removeKeys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>!0;if(!sessionStorage)return;let t=sessionStorage.length-1;for(;t>=0;){let i=sessionStorage.key(t),s=sessionStorage.getItem(i);try{s=JSON.parse(s)}catch{}i.substring(0,this.context.length)===this.context&&e(i,s)&&sessionStorage.removeItem(i),t--}return!0}remove(e){if(sessionStorage)return sessionStorage.removeItem(this.context+e)}get(e){return sessionStorage?sessionStorage.getItem(this.context+e):null}set(e){if(!sessionStorage)return!1;sessionStorage.setItem(this.context+e.key,e.value)}setObject(e){this.set({key:e.key,value:JSON.stringify(e.value)})}getInt(e,t){if(t||(t=0),!sessionStorage)return t;let i=parseInt(this.get(e),10);return isFinite(i)?i:t}getObject(e){if(!sessionStorage)return null;let t=sessionStorage.getItem(this.context+e);if(null===t)return null;try{t=JSON.parse(t)}catch{}return t}getItem(e){return this.get(e)}removeItem(e){return this.remove(e)}setItem(e,t){this.set({key:e,value:t})}},[r.disableImplicitInjections])},26836:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>N});var s=i(21044),n=i(77632),r=i(42371),a=i(93558),o=i(36376),l=i(83770),u=i(13446),d=i(65774),c=i(18781),p=i(63296),h=i(55131),m=i(97406),g=i(35077),f=i(91127),_=i(20936),y=i(1372),b=i(58765),w=i(21536),k=i(15135),T=i(64353),S=i(92357),C=i(29421),A=i(97276),D=i(92161),M=i(76424),x=i(45577),E=i(94611),L=i(41277),P=i(32777),F=i(93810),I=i(60110);class N extends s.default{static #e=(()=>dt7948.g(this.prototype,"router",[l.service]))();#i=(()=>void dt7948.i(this,"router"))();static #t=(()=>dt7948.g(this.prototype,"composer",[l.service]))();#c=(()=>void dt7948.i(this,"composer"))();static #r=(()=>dt7948.g(this.prototype,"documentTitle",[l.service]))();#nP=(()=>void dt7948.i(this,"documentTitle"))();static #a=(()=>dt7948.g(this.prototype,"modal",[l.service]))();#S=(()=>void dt7948.i(this,"modal"))();static #d=(()=>dt7948.g(this.prototype,"currentUser",[l.service]))();#o=(()=>void dt7948.i(this,"currentUser"))();static #g=(()=>dt7948.g(this.prototype,"topicTrackingState",[l.service]))();#tA=(()=>void dt7948.i(this,"topicTrackingState"))();static #T=(()=>dt7948.g(this.prototype,"site",[l.service]))();#s=(()=>void dt7948.i(this,"site"))();static #C=(()=>dt7948.g(this.prototype,"loadingNew",[n.tracked]))();#rS=(()=>void dt7948.i(this,"loadingNew"))();get redirectedReason(){return this.currentUser?.user_option.redirected_to_top?.reason}get order(){return this.args.model.get("params.order")}get ascending(){return"true"===this.args.model.get("params.ascending")}get hasTopics(){return this.args.model.get("topics.length")>0}get allLoaded(){return!this.args.model.get("more_topics_url")}get latest(){return"latest"===(0,M.filterTypeForMode)(this.args.model.filter)}get top(){return"top"===(0,M.filterTypeForMode)(this.args.model.filter)}get hot(){return"hot"===(0,M.filterTypeForMode)(this.args.model.filter)}get new(){return"new"===(0,M.filterTypeForMode)(this.args.model.filter)}async showInserted(e){if(e?.preventDefault(),this.args.model.loadingBefore)return;let{topicTrackingState:t}=this;try{let e=[...t.newIncoming];await this.args.model.loadBefore(e,!0),t.clearIncoming(e)}catch(e){(0,D.popupAjaxError)(e)}}static #A=(()=>dt7948.n(this.prototype,"showInserted",[o.action]))();get showTopicsAndRepliesToggle(){return this.new&&this.currentUser?.new_new_view_enabled}get newRepliesCount(){return(this.topicTrackingState.get("messageCount"),this.currentUser?.new_new_view_enabled)?this.topicTrackingState.countUnread({categoryId:this.args.category?.id,noSubcategories:this.args.noSubcategories,tagId:this.args.tag?.id}):0}get newTopicsCount(){return(this.topicTrackingState.get("messageCount"),this.currentUser?.new_new_view_enabled)?this.topicTrackingState.countNew({categoryId:this.args.category?.id,noSubcategories:this.args.noSubcategories,tagId:this.args.tag?.id}):0}get showTopicPostBadges(){return!this.new||this.currentUser?.new_new_view_enabled}get footerMessage(){let e=this.args.model.get("topics.length");if(!this.allLoaded)return;let{category:t,tag:i}=this.args;if(t)return(0,L.i18n)("topics.bottom.category",{category:t.get("name")});{if(i)return(0,L.i18n)("topics.bottom.tag",{tag:i.id});let t=(this.args.model.get("filter")||"").split("/");return 0===e?(0,L.i18n)("topics.none."+t[0],{category:t[1]}):(0,L.i18n)("topics.bottom."+t[0],{category:t[1]})}}get footerEducation(){let e=this.args.model.get("topics.length");if(!this.allLoaded||e>0||!this.currentUser)return;let t=(this.args.model.get("filter")||"").split("/"),i=t[t.length-1];if("new"===i||"unread"===i)return"new"===i&&this.currentUser.new_new_view_enabled&&(i="new_new"),(0,L.i18n)("topics.none.educate."+i,{userPrefsUrl:(0,E.userPath)(`${this.currentUser.get("username_lower")}/preferences/tracking`)})}get renderNewListHeaderControls(){return this.site.mobileView&&this.showTopicsAndRepliesToggle&&!this.args.bulkSelectEnabled}get expandGloballyPinned(){return!this.expandAllPinned}get expandAllPinned(){return this.args.tag||this.args.category}loadMore(){var e=this;(0,x.applyBehaviorTransformer)("discovery-topic-list-load-more",()=>(this.documentTitle.updateContextCount(0),this.args.model.loadMore().then(function(){let{moreTopicsUrl:t,newTopics:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i&&i.length&&e.bulkSelectHelper?.bulkSelectEnabled&&e.bulkSelectHelper.addTopics(i),t&&window.innerHeight>=document.documentElement.scrollHeight&&e.loadMore()})),{model:this.args.model})}static #D=(()=>dt7948.n(this.prototype,"loadMore",[o.action]))();static #M=(()=>(0,F.setComponentTemplate)((0,I.createTemplateFactory)({id:"nEKJ5j1S",block:'[[[1,"\\n"],[41,[30,1,["canLoadMore"]],[[[1," "],[1,[32,0]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["redirectedReason"]],[[[1," "],[10,0],[14,0,"alert alert-info"],[12],[1,[30,0,["redirectedReason"]]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["sharedDrafts"]],[[[1," "],[8,[32,1],[[24,0,"shared-drafts"]],[["@listTitle","@top","@hideCategory","@category","@topics","@discoveryList"],["shared_drafts.title",[30,0,["top"]],"true",[30,2],[30,1,["sharedDrafts"]],true]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,2],null,[["@model","@incomingCount","@bulkSelectHelper","@class"],[[30,1],[30,0,["topicTrackingState","incomingCount"]],[30,3],[52,[30,0,["footerEducation"]],"--no-topics-education"]]],[["default"],[[[[1,"\\n"],[41,[30,0,["top"]],[[[1," "],[10,0],[14,0,"top-lists"],[12],[1,"\\n "],[8,[32,3],null,[["@period","@action","@fullDay"],[[30,4],[30,5],false]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[28,[32,4],[[30,0,["topicTrackingState","hasIncoming"]],[30,1,["loadingBefore"]]],null],[[[1," "],[10,0],[15,0,[29,["show-more ",[52,[30,0,["hasTopics"]],"has-topics"]]]],[12],[1,"\\n "],[11,3],[24,"tabindex","0"],[24,6,""],[16,0,[29,["alert alert-info clickable\\n ",[52,[30,1,["loadingBefore"]],"loading"]]]],[4,[32,5],["click",[30,0,["showInserted"]]],null],[12],[1,"\\n "],[8,[32,6],null,[["@key","@suffix","@count"],["topic_count_",[30,0,["topicTrackingState","filter"]],[28,[32,4],[[30,1,["loadingBefore"]],[30,0,["topicTrackingState","incomingCount"]]],null]]],null],[1,"\\n"],[41,[30,1,["loadingBefore"]],[[[1," "],[1,[28,[32,7],null,[["size"],["small"]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1,"\\n"],[41,[30,0,["renderNewListHeaderControls"]],[[[1," "],[8,[32,8],null,[["@current","@newRepliesCount","@newTopicsCount","@changeNewListSubset"],[[30,1,["params","subset"]],[30,0,["newRepliesCount"]],[30,0,["newTopicsCount"]],[30,6]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["before-topic-list","div",[28,[32,10],null,[["category","tag"],[[30,2],[30,7]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["hasTopics"]],[[[1," "],[8,[32,1],null,[["@highlightLastVisited","@top","@hot","@showTopicPostBadges","@showPosters","@canBulkSelect","@bulkSelectHelper","@changeSort","@hideCategory","@order","@ascending","@expandGloballyPinned","@expandAllPinned","@category","@topics","@discoveryList","@focusLastVisitedTopic","@showTopicsAndRepliesToggle","@newListSubset","@changeNewListSubset","@newRepliesCount","@newTopicsCount"],[true,[30,0,["top"]],[30,0,["hot"]],[30,0,["showTopicPostBadges"]],true,[30,8],[30,3],[30,9],[30,1,["hideCategory"]],[30,0,["order"]],[30,0,["ascending"]],[30,0,["expandGloballyPinned"]],[30,0,["expandAllPinned"]],[30,2],[30,1,["topics"]],true,true,[30,0,["showTopicsAndRepliesToggle"]],[30,1,["params","subset"]],[30,6],[30,0,["newRepliesCount"]],[30,0,["newTopicsCount"]]]],null],[1,"\\n "],[8,[32,11],null,[["@action"],[[30,0,["loadMore"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"after-topic-list-plugin-outlet-wrapper"],[12],[1,"\\n "],[8,[32,9],null,[["@name","@connectorTagName","@outletArgs"],["after-topic-list","div",[28,[32,10],null,[["category","tag","loadingMore","canLoadMore"],[[30,2],[30,7],[30,1,["loadingMore"]],[30,1,["canLoadMore"]]]]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,"footer"],[14,0,"topic-list-bottom"],[12],[1,"\\n "],[8,[32,12],null,[["@condition"],[[30,1,["loadingMore"]]]],null],[1,"\\n"],[41,[30,0,["allLoaded"]],[[[1," "],[8,[32,9],null,[["@name","@outletArgs"],["topic-list-bottom",[28,[32,10],null,[["category","tag","allLoaded","model"],[[30,2],[30,7],[30,0,["allLoaded"]],[30,1]]]]]],[["default"],[[[[1,"\\n "],[8,[32,13],null,[["@position","@selectedTopics","@model","@showResetNew","@showDismissRead","@resetNew","@dismissRead"],["bottom",[30,3,["selected"]],[30,1],[30,10],[30,11],[30,12],[30,13]]],null],[1,"\\n\\n "],[8,[32,14],null,[["@education","@message"],[[30,0,["footerEducation"]],[30,0,["footerMessage"]]]],[["default"],[[[[1,"\\n"],[41,[30,7],[[[1," "],[1,[28,[32,15],[[28,[32,16],["topic.browse_all_tags_or_latest"],[["basePath"],[[28,[32,17],null,null]]]]],null]],[1,"\\n"]],[]],[[[41,[30,0,["latest"]],[[[41,[30,2,["canCreateTopic"]],[[[1," "],[8,[32,18],null,[["@action","@text"],[[28,[32,19],[[30,0,["composer","openNewTopic"]],[28,[32,20],null,[["category"],[[30,2]]]]],null],"topic.suggest_create_topic"]],null],[1,"\\n"]],[]],null]],[]],[[[41,[30,0,["top"]],[[[1," "],[1,[28,[32,15],[[28,[32,16],["topic.browse_all_categories_latest_or_top"],[["basePath"],[[28,[32,17],null,null]]]]],null]],[1,"\\n "],[8,[32,21],null,[["@period","@action"],[[30,4],[30,5]]],null],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,15],[[28,[32,16],["topic.browse_all_categories_latest"],[["basePath"],[[28,[32,17],null,null]]]]],null]],[1,"\\n "]],[]]]],[]]]],[]]],[1," "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@model","@category","@bulkSelectHelper","@period","@changePeriod","@changeNewListSubset","@tag","@canBulkSelect","@changeSort","@showResetNew","@showDismissRead","@resetNew","@dismissRead"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/discovery/topics.js",scope:()=>[T.default,w.default,h.default,P.default,u.or,a.on,c.default,A.default,f.default,_.default,C.default,g.default,d.default,b.default,m.default,S.default,L.i18n,k.default,p.default,r.fn,r.hash,y.default],isStrictMode:!0}),this))()}},26863:(e,t,i)=>{"use strict";i.r(t),i.d(t,{addTopicParticipantClassesCallback:()=>g,default:()=>f});var s=i(21044),n=i(6809),r=i(13446),a=i(20936),o=i(33839),l=i(95145),u=i(29421),d=i(96393),c=i(94611),p=i(93810),h=i(60110);let m=[];function g(e){m.push(e)}class f extends s.default{get avatarImage(){return(0,n.htmlSafe)((0,d.avatarImg)({avatarTemplate:this.args.participant.avatar_template,size:"medium",title:this.args.participant.name||this.args.participant.username}))}get participantClasses(){let{primary_group_name:e}=this.args.participant;return[e?`group-${e}`:null,m.map(e=>e(this.args.participant))].filter(Boolean).flat(3).join(" ")}get linkClasses(){return["poster","trigger-user-card",this.args.toggledUsers?.has(this.args.participant.username)?"toggled":null].filter(Boolean).join(" ")}get userUrl(){return(0,c.userPath)(this.args.participant.username)}static #e=(()=>(0,p.setComponentTemplate)((0,h.createTemplateFactory)({id:"ARfHgeZD",block:'[[[1,"\\n "],[8,[32,0],null,[["@name","@outletArgs"],["topic-participant",[28,[32,1],null,[["participant"],[[30,1]]]]]],[["default"],[[[[1,"\\n "],[10,0],[15,0,[30,0,["participantClasses"]]],[12],[1,"\\n "],[8,[32,2],[[16,0,[30,0,["linkClasses"]]],[16,"title",[30,1,["username"]]]],[["@username","@href"],[[30,1,["username"]],[30,0,["userUrl"]]]],[["default"],[[[[1,"\\n\\n "],[1,[30,0,["avatarImage"]]],[1,"\\n"],[41,[28,[32,3],[[30,1,["post_count"]],1],null],[[[1," "],[10,1],[14,0,"post-count"],[12],[1,[30,1,["post_count"]]],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,4],null,[["@user"],[[30,1]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["@participant"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/topic-map/topic-participant.js",scope:()=>[a.default,u.default,l.default,r.gt,o.default],isStrictMode:!0}),this))()}},26928:(e,t,i)=>{"use strict";i.r(t),i.d(t,{SEPARATOR:()=>r,categoryHashtagTriggerRule:()=>o,replaceSpan:()=>a});var s=i(1933),n=i(49711);let r=":";function a(e,t,i,s){s=s?` data-type="${s}"`:"",e.replaceWith(`#${t}`)}function o(e,t){return(0,s.default)("categoryHashtagTriggerRule is being replaced by hashtagTriggerRule and the new hashtag-autocomplete plugin APIs",{since:"2.9.0.beta10",dropFrom:"3.0.0.beta1",id:"discourse.category-hashtags.categoryHashtagTriggerRule"}),(0,n.hashtagTriggerRule)(e,t)}},26962:(e,t,i)=>{"use strict";i.r(t),i.d(t,{observes:()=>o,off:()=>d,on:()=>u,unobserves:()=>l}),i(7950),i(36376);var s=i(34229),n=i(12859),r=i(93699),a=i(23534);let o=(0,a.decoratorWithRequiredParams)((e,t,i,n)=>{for(let i of n)(0,s.expandProperties)(i,i=>{(0,r.addObserver)(e,i,null,t)});return i},"observes"),l=(0,a.decoratorWithRequiredParams)((e,t,i,n)=>{for(let i of n)(0,s.expandProperties)(i,i=>{(0,r.removeObserver)(e,i,null,t)});return i},"unobserves"),u=(0,a.decoratorWithRequiredParams)((e,t,i,s)=>{for(let i of s)(0,n.addListener)(e,i,null,t);return i},"on"),d=(0,a.decoratorWithRequiredParams)((e,t,i,s)=>{for(let i of s)(0,n.removeListener)(e,i,null,t);return i},"off")},27035:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var s=i(18891),n=i(36376),r=i(32343),a=i(131);class o extends s.default{queryParams=["order","asc","filter","type"];order=null;asc=null;filter="";type=null;groups=null;onTypeChanged(e){this.set("type",e)}static #e=(()=>dt7948.n(this.prototype,"onTypeChanged",[n.action]))();onFilterChanged(e){(0,r.default)(this,this._debouncedFilter,e,a.INPUT_DELAY)}static #t=(()=>dt7948.n(this.prototype,"onFilterChanged",[n.action]))();_debouncedFilter(e){this.set("filter",e)}}},27060:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});var s=i(14547),n=i(81651),r=i.n(n),a=i(35372),o=i(93810),l=i(60110);let u=dt7948.c(class extends a.default{static #e=(()=>(0,o.setComponentTemplate)((0,l.createTemplateFactory)({id:"9+uVxzv1",block:'[[[1,"\\n"],[41,[30,0,["item","icon"]],[[[1," "],[10,0],[14,0,"future-date-input-selector-icons"],[12],[1,"\\n "],[1,[28,[32,0],[[30,0,["item","icon"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,1],[14,0,"name"],[12],[1,[30,0,["label"]]],[13],[1,"\\n\\n"],[41,[30,0,["item","timeFormatted"]],[[[1," "],[10,1],[14,0,"future-date-input-selector-datetime"],[12],[1,"\\n "],[1,[30,0,["item","timeFormatted"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-packages/select-kit.dd9a86fe/node_modules/select-kit/components/future-date-input-selector/future-date-input-selector-row.js",scope:()=>[r()],isStrictMode:!0}),this))()},[(0,s.classNames)("future-date-input-selector-row")])},27064:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(93558),r=i(83770),a=i(25903),o=i(71425),l=i(17459),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"siteSettings",[r.service]))();#p=(()=>void dt7948.i(this,"siteSettings"))();get showFullnameInstructions(){return this.siteSettings.show_signup_form_full_name_instructions&&!this.args.nameValidation.reason}static #t=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"z35U5rFG",block:'[[[1,"\\n "],[11,0],[17,1],[12],[1,"\\n "],[8,[32,0],[[24,"aria-describedby","fullname-validation fullname-validation-more-info"],[16,"aria-invalid",[30,2,["failed"]]],[16,0,[28,[32,1],[[30,3]],null]],[24,3,"name"],[4,[32,2],["focusin",[30,5]],null]],[["@disabled","@value","@id"],[[30,4],[30,3],"new-account-name"]],null],[1,"\\n "],[10,"label"],[14,0,"alt-placeholder"],[14,"for","new-account-name"],[12],[1,"\\n "],[1,[30,6]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["showFullnameInstructions"]],[[[1," "],[10,1],[14,0,"more-info"],[14,1,"fullname-validation-more-info"],[12],[1,"\\n "],[1,[28,[32,3],["user.name.instructions_required"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,4],[[24,1,"fullname-validation"]],[["@validation"],[[30,2]]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["&attrs","@nameValidation","@accountName","@nameDisabled","@onFocusIn","@nameTitle"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/fullname-input.js",scope:()=>[o.default,l.default,n.on,u.i18n,a.default],isStrictMode:!0}),this))()}},27086:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(36376),n=i(83770),r=i(14547),a=i(36093),o=i(35448),l=i(93208),u=i(66185);let d=dt7948.c(class extends l.default{static #e=(()=>dt7948.g(this.prototype,"tagUtils",[n.service]))();#rC=(()=>void dt7948.i(this,"tagUtils"))();blockedTags=null;excludeSynonyms=!1;excludeHasSynonyms=!1;init(){super.init(...arguments),this.setProperties({blockedTags:this.blockedTags||[],termMatchesForbidden:!1,termMatchErrorMessage:null})}modifyComponentForRow(e,t){return this.getValue(t)!==this.selectKit.filter||t.count?"tag-chooser-row":"select-kit/select-kit-row"}get canCreateTag(){return this.allowCreate&&this.site.can_create_tag}static #t=(()=>dt7948.n(this.prototype,"canCreateTag",[(0,s.computed)("site.can_create_tag","allowCreate")]))();get maximumTagCount(){return this.unlimitedTagCount?null:parseInt(this.options.limit||this.options.maximum||this.siteSettings.max_tags_per_topic,10)}static #r=(()=>dt7948.n(this.prototype,"maximumTagCount",[(0,s.computed)("siteSettings.max_tags_per_topic","unlimitedTagCount")]))();get value(){return(0,o.makeArray)(this.tags).uniq()}static #a=(()=>dt7948.n(this.prototype,"value",[(0,s.computed)("tags.[]")]))();get content(){return(0,o.makeArray)(this.tags).uniq().map(e=>this.defaultItem(e,e))}static #d=(()=>dt7948.n(this.prototype,"content",[(0,s.computed)("tags.[]")]))();_onChange(e,t){this.onChange?this.onChange(e,t):this.set("tags",e)}static #g=(()=>dt7948.n(this.prototype,"_onChange",[s.action]))();validateCreate(e,t){return this.tagUtils.validateCreate(e,t,this.selectKit.options.maximum,e=>this.addError(e),this.termMatchesForbidden,e=>this.getValue(e),this.value)}createContentFromInput(e){return this.tagUtils.createContentFromInput(e)}search(e){let t=(0,o.makeArray)(this.tags).filter(Boolean),i={q:e,limit:this.siteSettings.max_tag_search_results,categoryId:this.categoryId};return(t.length||this.blockedTags.length)&&(i.selected_tags=t.concat(this.blockedTags).uniq().slice(0,100)),this.everyTag||(i.filterForInput=!0),this.excludeSynonyms&&(i.excludeSynonyms=!0),this.excludeHasSynonyms&&(i.excludeHasSynonyms=!0),this.tagUtils.searchTags("/tags/filter/search",i,this._transformJson)}_transformJson(e){if(this.isDestroyed||this.isDestroying)return[];let t=e.results;return this.setProperties({termMatchesForbidden:!!e.forbidden,termMatchErrorMessage:e.forbidden_message}),this.blockedTags&&(t=t.filter(e=>!this.blockedTags.includes(e.id))),this.siteSettings.tags_sort_alphabetically&&(t=t.sort((e,t)=>e.id>t.id)),t.uniqBy("id")}static #T=(()=>dt7948.n(this.prototype,"_transformJson",[a.bind]))()},[(0,u.pluginApiIdentifiers)("tag-chooser"),(0,u.selectKitOptions)({filterable:!0,filterPlaceholder:"tagging.choose_for_topic",limit:null,allowAny:"canCreateTag",maximum:"maximumTagCount"}),(0,r.attributeBindings)("categoryId"),(0,r.classNames)("tag-chooser")])},27099:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>_});var s=i(77632),n=i(36376),r=i(34229),a=i(83770),o=i(25164),l=i(89120),u=i(3558),d=i(1933),c=i(10508),p=i(95163),h=i(46694),m=i(72818),g=i(17586);function f(e,t){let i={};return(0,o.isEmpty)(e)||e.forEach(function(e){i[e.id]=t.create(e)}),i}class _ extends p.default{static topicsFrom(e,t,i){if(!t)return;let s=(i=i||{}).listKey||"topics",r=f(t.users,m.default),a=f(t.primary_groups,n.default);return t.topic_list.categories&&t.topic_list.categories.forEach(e=>{h.default.current().updateCategory(e)}),t.topic_list[s].map(t=>(t.posters.forEach(e=>{e.user=r[e.user_id],e.extraClasses=e.extras,e.primary_group_id&&(e.primary_group=a[e.primary_group_id],e.primary_group&&(e.extraClasses=`${e.extraClasses||""} group-${e.primary_group.name}`))}),t.participants&&t.participants.forEach(e=>e.user=r[e.user_id]),e.createRecord("topic",t)))}static munge(e,t){return e.inserted=e.inserted||[],e.can_create_topic=e.topic_list.can_create_topic,e.more_topics_url=e.topic_list.more_topics_url,e.for_period=e.topic_list.for_period,e.loaded=!0,e.per_page=e.topic_list.per_page,e.topics=this.topicsFrom(t,e),e.topic_list.shared_drafts&&(e.sharedDrafts=this.topicsFrom(t,e,{listKey:"shared_drafts"})),e}static find(e,t){return(0,d.default)('TopicList.find is deprecated. Use `findFiltered("topicList")` on the `store` service instead.',{id:"discourse.topic-list-find",since:"3.1.0.beta5",dropFrom:"3.2.0.beta1"}),(0,c.getOwnerWithFallback)(this).lookup("service:store").findFiltered("topicList",{filter:e,params:t})}static hideUniformCategory(e,t){e.set("hideCategory",!function(e,t){if(t){if(t.has_children)return!0;let i=e.shared_drafts_category_id;return!!i&&t.id===i}return!0}(e.site,t))}static #e=(()=>dt7948.g(this.prototype,"session",[a.service]))();#tt=(()=>void dt7948.i(this,"session"))();static #t=(()=>dt7948.g(this.prototype,"loadingBefore",[s.tracked],function(){return!1}))();#rA=(()=>void dt7948.i(this,"loadingBefore"))();static #r=(()=>dt7948.g(this.prototype,"canLoadMore",[(0,r.notEmpty)("more_topics_url")]))();#rD=(()=>void dt7948.i(this,"canLoadMore"))();forEachNew(e,t){let i=new Set;this.topics.forEach(e=>i.add(e.id)),e.forEach(e=>{i.has(e.id)||t(e)})}updateSortParams(e,t){let i={...this.params||{}};i.q?i={q:i.q}:(i.order=e||i.order,i.ascending=t),this.set("params",i)}updateNewListSubsetParam(e){let t={...this.params||{}};t.q?t={q:t.q}:t.subset=e,this.set("params",t)}loadMore(){if(this.loadingMore)return l.Promise.resolve();let e=this.more_topics_url;if(!e)return l.Promise.resolve();{let[t,i]=e.split("?");return t.match(/\.json$/)||(t+=".json"),e=t,i&&(e+="?"+i),this.set("loadingMore",!0),(0,u.ajax)({url:e}).then(async e=>{let t=0;if(e){let i=_.topicsFrom(this.store,e);return await g.default.applyTransformations(i),this.forEachNew(i,e=>{e.set("highlight",0==t++),this.topics.pushObject(e)}),this.setProperties({loadingMore:!1,more_topics_url:e.topic_list.more_topics_url}),this.session.set("topicList",this),{moreTopicsUrl:this.more_topics_url,newTopics:i}}})}}static #a=(()=>dt7948.n(this.prototype,"loadMore",[n.action]))();async loadBefore(e,t){this.loadingBefore=e.length;try{let i=`/${this.filter}.json?topic_ids=${e.join(",")}`,s=await (0,u.ajax)({url:i,data:this.params});this.topics.removeObjects(this.topics.filter(t=>e.includes(t.id)));let n=0;this.forEachNew(_.topicsFrom(this.store,s),e=>{e.set("highlight",!0),this.topics.insertAt(n,e),n++}),t&&this.session.set("topicList",this)}finally{this.loadingBefore=!1}}}},27103:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>a});var s=i(60657),n=i(91827),r=i(41277);class a extends n.default{userActionType=(()=>s.default.TYPES.links)();titleToken(){return(0,r.i18n)("user_action_groups.17")}}},27127:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var s=i(6809),n=i(62069),r=i(84462),a=i(84239),o=i(91153),l=i(93810),u=i(60110),d=i(29681);let c=(0,n.default)((0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"1CUw2K9e",block:'[[[1,"\\n "],[8,[32,0],null,[["@step"],["activate"]],null],[1,"\\n "],[8,[32,1],null,[["@header"],[[30,1,["welcomeTitle"]]]],null],[1,"\\n "],[10,0],[14,0,"success-info"],[12],[1,"\\n "],[1,[28,[32,2],[[30,1,["accountCreated","message"]]],null]],[1,"\\n "],[13],[1,"\\n"],[41,[30,1,["accountCreated","show_controls"]],[[[1," "],[8,[32,3],null,[["@sendActivationEmail","@editActivationEmail"],[[30,1,["sendActivationEmail"]],[30,1,["editActivationEmail"]]]],null],[1,"\\n"]],[]],null],[1," "]],["@controller"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/templates/account-created/index.js",scope:()=>[a.default,o.default,s.htmlSafe,r.default],isStrictMode:!0}),(0,d.default)(void 0,void 0)))},27150:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>l});var s=i(36376),n=i(3558),r=i(92161),a=i(21772),o=i(41277);class l extends a.default{model(){let e=this.modelFor("user").get("username_lower");return(0,n.ajax)(`/tags/personal_messages/${e}`).then(e=>e.tags.map(e=>s.default.create(e))).catch(r.popupAjaxError)}titleToken(){return[(0,o.i18n)("tagging.tags"),(0,o.i18n)("user.private_messages")]}setupController(e,t){e.setProperties({model:t,sortProperties:this.siteSettings.tags_sort_alphabetically?["id"]:["count:desc","id"],tagsForUser:this.modelFor("user").get("username_lower")}),this.controllerFor("user-topics-list").setProperties({showToggleBulkSelect:!1}),this.controllerFor("user-topics-list").bulkSelectHelper.clear()}}},27159:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var s=i(21044),n=i(36376),r=i(44612),a=i(28431),o=i(41277),l=i(93810),u=i(60110);class d extends s.default{updateExistingUsers(){this.args.model.setUpdateExistingUsers(!0),this.args.closeModal()}static #e=(()=>dt7948.n(this.prototype,"updateExistingUsers",[n.action]))();cancel(){this.args.model.setUpdateExistingUsers(!1),this.args.closeModal()}static #t=(()=>dt7948.n(this.prototype,"cancel",[n.action]))();static #r=(()=>(0,l.setComponentTemplate)((0,u.createTemplateFactory)({id:"YxCwoMrX",block:'[[[1,"\\n "],[8,[32,0],null,[["@title","@closeModal"],[[28,[32,1],["groups.default_notifications.modal_title"],null],[30,1]]],[["body","footer"],[[[[1,"\\n "],[1,[28,[32,1],["groups.default_notifications.modal_description"],[["count"],[[30,2,["count"]]]]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,2],[[24,0,"btn-primary"]],[["@action","@label"],[[30,0,["updateExistingUsers"]],"groups.default_notifications.modal_yes"]],null],[1,"\\n "],[8,[32,2],null,[["@action","@label"],[[30,0,["cancel"]],"groups.default_notifications.modal_no"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@model"],false,[]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/group-default-notifications.js",scope:()=>[a.default,o.i18n,r.default],isStrictMode:!0}),this))()}},27252:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var s=i(36376),n=i(34229),r=i(25164),a=i(89120),o=i(3558),l=i(92161),u=i(77598),d=i(94611),c=i(17586),p=i(72818);class h extends s.default{static create(){let e=super.create(...arguments);return e.user&&(e.user=p.default.create(e.user)),e}static findInvitedBy(e,t,i,n){e||a.Promise.resolve();let l={};return(0,r.isNone)(t)||(l.filter=t),(0,r.isNone)(i)||(l.search=i),l.offset=n||0,(0,o.ajax)((0,d.userPath)(`${e.username_lower}/invited.json`),{data:l}).then(e=>(e.invites=e.invites.map(e=>h.create(e)),s.default.create(e)))}static reinviteAll(){return(0,o.ajax)("/invites/reinvite-all",{type:"POST"})}static destroyAllExpired(){return(0,o.ajax)("/invites/destroy-all-expired",{type:"POST"})}static #e=(()=>dt7948.g(this.prototype,"topicId",[(0,n.alias)("topics.firstObject.id")]))();#rM=(()=>void dt7948.i(this,"topicId"))();static #t=(()=>dt7948.g(this.prototype,"topicTitle",[(0,n.alias)("topics.firstObject.title")]))();#rx=(()=>void dt7948.i(this,"topicTitle"))();save(e){return(this.id?(0,o.ajax)(`/invites/${this.id}`,{type:"PUT",data:e}):(0,o.ajax)("/invites",{type:"POST",data:e})).then(e=>this.setProperties(e))}destroy(){return(0,o.ajax)("/invites",{type:"DELETE",data:{id:this.id}}).then(()=>this.set("destroyed",!0))}reinvite(){return(0,o.ajax)("/invites/reinvite",{type:"POST",data:{email:this.email}}).then(()=>this.set("reinvited",!0)).catch(l.popupAjaxError)}shortKey(e){return e.slice(0,4)+"..."}static #r=(()=>dt7948.n(this.prototype,"shortKey",[(0,u.default)("invite_key")]))();groupIds(e){return e?e.map(e=>e.id):[]}static #a=(()=>dt7948.n(this.prototype,"groupIds",[(0,u.default)("groups")]))();topic(e){return e?c.default.create(e):null}static #d=(()=>dt7948.n(this.prototype,"topic",[(0,u.default)("topics.firstObject")]))();emailOrDomain(e,t){return e||t}static #g=(()=>dt7948.n(this.prototype,"emailOrDomain",[(0,u.default)("email","domain")]))()}},27297:(e,t,i)=>{"use strict";var s=i(31436),n=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],r=["scalar","sequence","mapping"];e.exports=function(e,t){if(Object.keys(t=t||{}).forEach(function(t){if(-1===n.indexOf(t))throw new s('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach(function(i){e[i].forEach(function(e){t[String(e)]=i})}),t}(t.styleAliases||null),-1===r.indexOf(this.kind))throw new s('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},27442:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var s=i(21044),n=i(77632),r=i(36376),a=i(44612),o=i(28431),l=i(13150),u=i(41277),d=i(93810),c=i(60110);class p extends s.default{static #e=(()=>dt7948.g(this.prototype,"untrack",[n.tracked],function(){return!1}))();#rE=(()=>void dt7948.i(this,"untrack"))();static #t=(()=>dt7948.g(this.prototype,"dismissTopics",[n.tracked],function(){return!0}))();#rL=(()=>void dt7948.i(this,"dismissTopics"))();static #r=(()=>dt7948.g(this.prototype,"dismissPosts",[n.tracked],function(){return!0}))();#rP=(()=>void dt7948.i(this,"dismissPosts"))();constructor(){super(...arguments),"replies"===this.args.model.subset&&(this.dismissTopics=!1),"topics"===this.args.model.subset&&(this.dismissPosts=!1)}get partialDismiss(){return 0!==(this.selectedTopics?.length||0)}get dismissNewTopicsLabel(){return"topics.bulk.dismiss_new_modal.topics"+(this.partialDismiss?"_with_count":"")}get dismissNewRepliesLabel(){return"topics.bulk.dismiss_new_modal.replies"+(this.partialDismiss?"_with_count":"")}get showDismissNewTopics(){return this.partialDismiss?this.countNewTopics>0:"topics"===this.subset||!this.subset}get showDismissNewReplies(){return this.partialDismiss?this.countNewReplies>0:"replies"===this.subset||!this.subset}get countNewTopics(){let e=this.selectedTopics;return e?.length?e.filter(e=>!e.unread_posts).length:0}get countNewReplies(){let e=this.selectedTopics;return e?.length?e.filter(e=>e.unread_posts).length:0}get subset(){return this.args.model.subset}get selectedTopics(){return this.args.model.selectedTopics}get modalTitle(){return(0,u.i18n)("topics.bulk.dismiss_new_modal.title")}dismissed(){this.args.model.dismissCallback({dismissTopics:this.dismissTopics,dismissPosts:this.dismissPosts,untrack:this.untrack}),this.args.closeModal()}static #a=(()=>dt7948.n(this.prototype,"dismissed",[r.action]))();static #d=(()=>(0,d.setComponentTemplate)((0,c.createTemplateFactory)({id:"3tzgzDzS",block:'[[[1,"\\n "],[8,[32,0],null,[["@closeModal","@title","@inline"],[[30,1],[30,0,["modalTitle"]],[30,2]]],[["body","footer"],[[[[1,"\\n "],[10,2],[12],[1,"\\n"],[41,[30,0,["showDismissNewTopics"]],[[[1," "],[8,[32,1],[[24,0,"dismiss-topics"]],[["@labelKey","@labelCount","@checked"],[[30,0,["dismissNewTopicsLabel"]],[30,0,["countNewTopics"]],[30,0,["dismissTopics"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["showDismissNewReplies"]],[[[1," "],[8,[32,1],[[24,0,"dismiss-posts"]],[["@labelKey","@labelCount","@checked"],[[30,0,["dismissNewRepliesLabel"]],[30,0,["countNewReplies"]],[30,0,["dismissPosts"]]]],null],[1,"\\n"]],[]],null],[1," "],[8,[32,1],[[24,0,"untrack"]],[["@labelKey","@checked"],["topics.bulk.dismiss_new_modal.untrack",[30,0,["untrack"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,2],[[24,1,"dismiss-read-confirm"],[24,0,"btn-primary"]],[["@action","@icon","@label"],[[30,0,["dismissed"]],"check","topics.bulk.dismiss"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],["@closeModal","@inline"],false,["if"]]',moduleName:"/var/www/discourse/app/assets/javascripts/discourse/node_modules/.embroider/rewritten-app/components/modal/dismiss-new.js",scope:()=>[o.default,l.default,a.default],isStrictMode:!0}),this))()}},27494:function(e,t){var i;!function(t,i){"use strict";"object"==typeof e.exports?e.exports=t.document?i(t,!0):function(e){if(!e.document)throw Error("jQuery requires a window with a document");return i(e)}:i(t)}("undefined"!=typeof window?window:this,function(s,n){"use strict";var r=[],a=Object.getPrototypeOf,o=r.slice,l=r.flat?function(e){return r.flat.call(e)}:function(e){return r.concat.apply([],e)},u=r.push,d=r.indexOf,c={},p=c.toString,h=c.hasOwnProperty,m=h.toString,g=m.call(Object),f={},_=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=s.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function k(e,t,i){var s,n,r=(i=i||b).createElement("script");if(r.text=e,t)for(s in w)(n=t[s]||t.getAttribute&&t.getAttribute(s))&&r.setAttribute(s,n);i.head.appendChild(r).parentNode.removeChild(r)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[p.call(e)]||"object":typeof e}var S="3.7.1",C=/HTML$/i,A=function(e,t){return new A.fn.init(e,t)};function D(e){var t=!!e&&"length"in e&&e.length,i=T(e);return!(_(e)||y(e))&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}A.fn=A.prototype={jquery:S,constructor:A,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(A.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(A.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i+~]|"+P+")"+P+"*"),H=RegExp(P+"|>"),q=new RegExp(R),$=RegExp("^"+j+"$"),z={ID:RegExp("^#("+j+")"),CLASS:RegExp("^\\.("+j+")"),TAG:RegExp("^("+j+"|[*])"),ATTR:RegExp("^"+O),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+N+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,W=/^h\d$/i,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,J=RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),Q=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},X=function(){eo()},Z=ec(function(e){return!0===e.disabled&&M(e,"fieldset")},{dir:"parentNode",next:"legend"});try{_.apply(r=o.call(b.childNodes),b.childNodes),r[b.childNodes.length].nodeType}catch(e){_={apply:function(e,t){u.apply(e,o.call(t))},call:function(e){u.apply(e,o.call(arguments,1))}}}function ee(e,t,i,s){var n,r,a,o,u,d,c,h=t&&t.ownerDocument,g=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return i;if(!s&&(eo(t),t=t||l,p)){if(11!==g&&(u=K.exec(e))){if(n=u[1]){if(9===g){if(!(a=t.getElementById(n)))return i;else if(a.id===n)return _.call(i,a),i}else if(h&&(a=h.getElementById(n))&&ee.contains(t,a)&&a.id===n)return _.call(i,a),i}else if(u[2])return _.apply(i,t.getElementsByTagName(e)),i;else if((n=u[3])&&t.getElementsByClassName)return _.apply(i,t.getElementsByClassName(n)),i}if(!D[e+" "]&&(!m||!m.test(e))){if(c=e,h=t,1===g&&(H.test(e)||Y.test(e))){for((h=G.test(e)&&ea(t.parentNode)||t)==t&&f.scope||((o=t.getAttribute("id"))?o=A.escapeSelector(o):t.setAttribute("id",o=y)),r=(d=eu(e)).length;r--;)d[r]=(o?"#"+o:":scope")+" "+ed(d[r]);c=d.join(",")}try{return _.apply(i,h.querySelectorAll(c)),i}catch(t){D(e,!0)}finally{o===y&&t.removeAttribute("id")}}}return eg(e.replace(F,"$1"),t,i,s)}function et(){var e=[];function i(s,n){return e.push(s+" ")>t.cacheLength&&delete i[e.shift()],i[s+" "]=n}return i}function ei(e){return e[y]=!0,e}function es(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function en(e){return function(t){if("form"in t){if(t.parentNode&&!1===t.disabled){if("label"in t)if("label"in t.parentNode)return t.parentNode.disabled===e;else return t.disabled===e;return t.isDisabled===e||!e!==t.isDisabled&&Z(t)===e}return t.disabled===e}return"label"in t&&t.disabled===e}}function er(e){return ei(function(t){return t*=1,ei(function(i,s){for(var n,r=e([],i.length,t),a=r.length;a--;)i[n=r[a]]&&(i[n]=!(s[n]=i[n]))})})}function ea(e){return e&&void 0!==e.getElementsByTagName&&e}function eo(e){var i,s=e?e.ownerDocument||e:b;return s!=l&&9===s.nodeType&&s.documentElement&&(c=(l=s).documentElement,p=!A.isXMLDoc(l),g=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&b!=l&&(i=l.defaultView)&&i.top!==i&&i.addEventListener("unload",X),f.getById=es(function(e){return c.appendChild(e).id=A.expando,!l.getElementsByName||!l.getElementsByName(A.expando).length}),f.disconnectedMatch=es(function(e){return g.call(e,"*")}),f.scope=es(function(){return l.querySelectorAll(":scope")}),f.cssHas=es(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),f.getById?(t.filter.ID=function(e){var t=e.replace(J,Q);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var i=t.getElementById(e);return i?[i]:[]}}):(t.filter.ID=function(e){var t=e.replace(J,Q);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var i,s,n,r=t.getElementById(e);if(r){if((i=r.getAttributeNode("id"))&&i.value===e)return[r];for(n=t.getElementsByName(e),s=0;r=n[s++];)if((i=r.getAttributeNode("id"))&&i.value===e)return[r]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},m=[],es(function(e){var t;c.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||m.push("\\["+P+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+y+"-]").length||m.push("~="),e.querySelectorAll("a#"+y+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll(":checked").length||m.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")}),f.cssHas||m.push(":has"),m=m.length&&new RegExp(m.join("|")),I=function(e,t){if(e===t)return a=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i?i:1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===i?e===l||e.ownerDocument==b&&ee.contains(b,e)?-1:t===l||t.ownerDocument==b&&ee.contains(b,t)?1:n?d.call(n,e)-d.call(n,t):0:4&i?-1:1}),l}for(e in ee.matches=function(e,t){return ee(e,null,null,t)},ee.matchesSelector=function(e,t){if(eo(e),p&&!D[t+" "]&&(!m||!m.test(t)))try{var i=g.call(e,t);if(i||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){D(t,!0)}return ee(t,l,null,[e]).length>0},ee.contains=function(e,t){return(e.ownerDocument||e)!=l&&eo(e),A.contains(e,t)},ee.attr=function(e,i){(e.ownerDocument||e)!=l&&eo(e);var s=t.attrHandle[i.toLowerCase()],n=s&&h.call(t.attrHandle,i.toLowerCase())?s(e,i,!p):void 0;return void 0!==n?n:e.getAttribute(i)},ee.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,i=[],s=0,r=0;if(a=!f.sortStable,n=!f.sortStable&&o.call(e,0),E.call(e,I),a){for(;t=e[r++];)t===e[r]&&(s=i.push(r));for(;s--;)L.call(e,i[s],1)}return n=null,e},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(o.apply(this)))},(t=A.expr={cacheLength:50,createPseudo:ei,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,Q),e[3]=(e[3]||e[4]||e[5]||"").replace(J,Q),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ee.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ee.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&q.test(i)&&(t=eu(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,Q).toLowerCase();return"*"===e?function(){return!0}:function(e){return M(e,t)}},CLASS:function(e){var t=T[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,i){return function(s){var n=ee.attr(s,e);return null==n?"!="===t:!t||((n+="","="===t)?n===i:"!="===t?n!==i:"^="===t?i&&0===n.indexOf(i):"*="===t?i&&n.indexOf(i)>-1:"$="===t?i&&n.slice(-i.length)===i:"~="===t?(" "+n.replace(U," ")+" ").indexOf(i)>-1:"|="===t&&(n===i||n.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,s,n){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),o="of-type"===t;return 1===s&&0===n?function(e){return!!e.parentNode}:function(t,i,l){var u,d,c,p,h,m=r!==a?"nextSibling":"previousSibling",g=t.parentNode,f=o&&t.nodeName.toLowerCase(),_=!l&&!o,b=!1;if(g){if(r){for(;m;){for(c=t;c=c[m];)if(o?M(c,f):1===c.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&_){for(b=(p=(u=(d=g[y]||(g[y]={}))[e]||[])[0]===w&&u[1])&&u[2],c=p&&g.childNodes[p];c=++p&&c&&c[m]||(b=p=0)||h.pop();)if(1===c.nodeType&&++b&&c===t){d[e]=[w,p,b];break}}else if(_&&(b=p=(u=(d=t[y]||(t[y]={}))[e]||[])[0]===w&&u[1]),!1===b)for(;(c=++p&&c&&c[m]||(b=p=0)||h.pop())&&(!((o?M(c,f):1===c.nodeType)&&++b)||(_&&((d=c[y]||(c[y]={}))[e]=[w,b]),c!==t)););return(b-=n)===s||b%s==0&&b/s>=0}}},PSEUDO:function(e,i){var s,n=t.pseudos[e]||t.setFilters[e.toLowerCase()]||ee.error("unsupported pseudo: "+e);return n[y]?n(i):n.length>1?(s=[e,e,"",i],t.setFilters.hasOwnProperty(e.toLowerCase())?ei(function(e,t){for(var s,r=n(e,i),a=r.length;a--;)s=d.call(e,r[a]),e[s]=!(t[s]=r[a])}):function(e){return n(e,0,s)}):n}},pseudos:{not:ei(function(e){var t=[],i=[],s=em(e.replace(F,"$1"));return s[y]?ei(function(e,t,i,n){for(var r,a=s(e,null,n,[]),o=e.length;o--;)(r=a[o])&&(e[o]=!(t[o]=r))}):function(e,n,r){return t[0]=e,s(t,null,r,i),t[0]=null,!i.pop()}}),has:ei(function(e){return function(t){return ee(e,t).length>0}}),contains:ei(function(e){return e=e.replace(J,Q),function(t){return(t.textContent||A.text(t)).indexOf(e)>-1}}),lang:ei(function(e){return $.test(e||"")||ee.error("unsupported lang: "+e),e=e.replace(J,Q).toLowerCase(),function(t){var i;do if(i=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType)return!1}}),target:function(e){var t=s.location&&s.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:en(!1),disabled:en(!0),checked:function(e){return M(e,"input")&&!!e.checked||M(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return W.test(e.nodeName)},input:function(e){return V.test(e.nodeName)},button:function(e){return M(e,"input")&&"button"===e.type||M(e,"button")},text:function(e){var t;return M(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:er(function(){return[0]}),last:er(function(e,t){return[t-1]}),eq:er(function(e,t,i){return[i<0?i+t:i]}),even:er(function(e,t){for(var i=0;it?t:i;--s>=0;)e.push(s);return e}),gt:er(function(e,t,i){for(var s=i<0?i+t:i;++s1?function(t,i,s){for(var n=e.length;n--;)if(!e[n](t,i,s))return!1;return!0}:e[0]}function eh(e,t,i,s,n){for(var r,a=[],o=0,l=e.length,u=null!=t;o-1},u,!0),m=[function(e,t,s){var r=!l&&(s||t!=i)||((n=t).nodeType?p(e,t,s):h(e,t,s));return n=null,r}];c-1&&(e[u]=!(a[u]=p))}}else h=eh(h===a?h.splice(f,h.length):h),r?r(null,a,h,l):_.apply(a,h)})}(c>1&&ep(m),c>1&&ed(s.slice(0,c-1).concat({value:" "===s[c-2].type?"*":""})).replace(F,"$1"),r,c0,r=e.length>0,a=function(a,o,u,d,c){var h,m,g,f=0,y="0",b=a&&[],k=[],T=i,S=a||r&&t.find.TAG("*",c),C=w+=null==T?1:Math.random()||.1,D=S.length;for(c&&(i=o==l||o||c);y!==D&&null!=(h=S[y]);y++){if(r&&h){for(m=0,o||h.ownerDocument==l||(eo(h),u=!p);g=e[m++];)if(g(h,o||l,u)){_.call(d,h);break}c&&(w=C)}n&&((h=!g&&h)&&f--,a&&b.push(h))}if(f+=y,n&&y!==f){for(m=0;g=s[m++];)g(b,k,o,u);if(a){if(f>0)for(;y--;)b[y]||k[y]||(k[y]=x.call(d));k=eh(k)}_.apply(d,k),c&&!a&&k.length>0&&f+s.length>1&&A.uniqueSort(d)}return c&&(w=C,i=T),b};return n?ei(a):a}(a,r))).selector=e}return o}function eg(e,i,s,n){var r,a,o,l,u,d="function"==typeof e&&e,c=!n&&eu(e=d.selector||e);if(s=s||[],1===c.length){if((a=c[0]=c[0].slice(0)).length>2&&"ID"===(o=a[0]).type&&9===i.nodeType&&p&&t.relative[a[1].type]){if(!(i=(t.find.ID(o.matches[0].replace(J,Q),i)||[])[0]))return s;d&&(i=i.parentNode),e=e.slice(a.shift().value.length)}for(r=z.needsContext.test(e)?0:a.length;r--&&(o=a[r],!t.relative[l=o.type]);)if((u=t.find[l])&&(n=u(o.matches[0].replace(J,Q),G.test(a[0].type)&&ea(i.parentNode)||i))){if(a.splice(r,1),!(e=n.length&&ed(a)))return _.apply(s,n),s;break}}return(d||em(e,c))(n,i,!p,s,!i||G.test(e)&&ea(i.parentNode)||i),s}el.prototype=t.filters=t.pseudos,t.setFilters=new el,f.sortStable=y.split("").sort(I).join("")===y,eo(),f.sortDetached=es(function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))}),A.find=ee,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,ee.compile=em,ee.select=eg,ee.setDocument=eo,ee.tokenize=eu,ee.escape=A.escapeSelector,ee.getText=A.text,ee.isXML=A.isXMLDoc,ee.selectors=A.expr,ee.support=A.support,ee.uniqueSort=A.uniqueSort}();var j=function(e,t,i){for(var s=[],n=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(n&&A(e).is(i))break;s.push(e)}return s},O=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},R=A.expr.match.needsContext,U=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function B(e,t,i){return _(t)?A.grep(e,function(e,s){return!!t.call(e,s,e)!==i}):t.nodeType?A.grep(e,function(e){return e===t!==i}):"string"!=typeof t?A.grep(e,function(e){return d.call(t,e)>-1!==i}):A.filter(t,e,i)}A.filter=function(e,t,i){var s=t[0];return(i&&(e=":not("+e+")"),1===t.length&&1===s.nodeType)?A.find.matchesSelector(s,e)?[s]:[]:A.find.matches(e,A.grep(t,function(e){return 1===e.nodeType}))},A.fn.extend({find:function(e){var t,i,s=this.length,n=this;if("string"!=typeof e)return this.pushStack(A(e).filter(function(){for(t=0;t1?A.uniqueSort(i):i},filter:function(e){return this.pushStack(B(this,e||[],!1))},not:function(e){return this.pushStack(B(this,e||[],!0))},is:function(e){return!!B(this,"string"==typeof e&&R.test(e)?A(e):e||[],!1).length}});var Y,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,i){var s,n;if(!e)return this;if(i=i||Y,"string"==typeof e){if((s="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:H.exec(e))&&(s[1]||!t))if(!s[1])return(n=b.getElementById(s[2]))&&(this[0]=n,this.length=1),this;else{if(t=t instanceof A?t[0]:t,A.merge(this,A.parseHTML(s[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),U.test(s[1])&&A.isPlainObject(t))for(s in t)_(this[s])?this[s](t[s]):this.attr(s,t[s]);return this}return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e)}return e.nodeType?(this[0]=e,this.length=1,this):_(e)?void 0!==i.ready?i.ready(e):e(A):A.makeArray(e,this)}).prototype=A.fn,Y=A(b);var q=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}A.fn.extend({has:function(e){var t=A(e,this),i=t.length;return this.filter(function(){for(var e=0;e-1:1===i.nodeType&&A.find.matchesSelector(i,e))){r.push(i);break}}return this.pushStack(r.length>1?A.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?d.call(A(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return j(e,"parentNode")},parentsUntil:function(e,t,i){return j(e,"parentNode",i)},next:function(e){return z(e,"nextSibling")},prev:function(e){return z(e,"previousSibling")},nextAll:function(e){return j(e,"nextSibling")},prevAll:function(e){return j(e,"previousSibling")},nextUntil:function(e,t,i){return j(e,"nextSibling",i)},prevUntil:function(e,t,i){return j(e,"previousSibling",i)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(M(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},function(e,t){A.fn[e]=function(i,s){var n=A.map(this,t,i);return"Until"!==e.slice(-5)&&(s=i),s&&"string"==typeof s&&(n=A.filter(s,n)),this.length>1&&($[e]||A.uniqueSort(n),q.test(e)&&n.reverse()),this.pushStack(n)}});var V=/[^\x20\t\r\n\f]+/g;function W(e){return e}function K(e){throw e}function G(e,t,i,s){var n;try{e&&_(n=e.promise)?n.call(e).done(t).fail(i):e&&_(n=e.then)?n.call(e,t,i):t.apply(void 0,[e].slice(s))}catch(e){i.apply(void 0,[e])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(V)||[],function(e,i){t[i]=!0}),t}(e):A.extend({},e);var t,i,s,n,r=[],a=[],o=-1,l=function(){for(n=n||e.once,s=t=!0;a.length;o=-1)for(i=a.shift();++o-1;)r.splice(i,1),i<=o&&o--}),this},has:function(e){return e?A.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return n=a=[],r=i="",this},disabled:function(){return!r},lock:function(){return n=a=[],i||t||(r=i=""),this},locked:function(){return!!n},fireWith:function(e,i){return!n&&(i=[e,(i=i||[]).slice?i.slice():i],a.push(i),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!s}};return u},A.extend({Deferred:function(e){var t=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return n.then(null,e)},pipe:function(){var e=arguments;return A.Deferred(function(i){A.each(t,function(t,s){var n=_(e[s[4]])&&e[s[4]];r[s[1]](function(){var e=n&&n.apply(this,arguments);e&&_(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[s[0]+"With"](this,n?[e]:arguments)})}),e=null}).promise()},then:function(e,i,n){var r=0;function a(e,t,i,n){return function(){var o=this,l=arguments,u=function(){var s,u;if(!(e=r&&(i!==K&&(o=void 0,l=[s]),t.rejectWith(o,l))}};e?d():(A.Deferred.getErrorHook?d.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(d.error=A.Deferred.getStackHook()),s.setTimeout(d))}}return A.Deferred(function(s){t[0][3].add(a(0,s,_(n)?n:W,s.notifyWith)),t[1][3].add(a(0,s,_(e)?e:W)),t[2][3].add(a(0,s,_(i)?i:K))}).promise()},promise:function(e){return null!=e?A.extend(e,n):n}},r={};return A.each(t,function(e,s){var a=s[2],o=s[5];n[s[1]]=a.add,o&&a.add(function(){i=o},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(s[3].fire),r[s[0]]=function(){return r[s[0]+"With"](this===r?void 0:this,arguments),this},r[s[0]+"With"]=a.fireWith}),n.promise(r),e&&e.call(r,r),r},when:function(e){var t=arguments.length,i=t,s=Array(i),n=o.call(arguments),r=A.Deferred(),a=function(e){return function(i){s[e]=this,n[e]=arguments.length>1?o.call(arguments):i,--t||r.resolveWith(s,n)}};if(t<=1&&(G(e,r.done(a(i)).resolve,r.reject,!t),"pending"===r.state()||_(n[i]&&n[i].then)))return r.then();for(;i--;)G(n[i],a(i),r.reject);return r.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,t){s.console&&s.console.warn&&e&&J.test(e.name)&&s.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},A.readyException=function(e){s.setTimeout(function(){throw e})};var Q=A.Deferred();function X(){b.removeEventListener("DOMContentLoaded",X),s.removeEventListener("load",X),A.ready()}A.fn.ready=function(e){return Q.then(e).catch(function(e){A.readyException(e)}),this},A.extend({isReady:!1,readyWait:1,ready:function(e){!(!0===e?--A.readyWait:A.isReady)&&(A.isReady=!0,!0!==e&&--A.readyWait>0||Q.resolveWith(b,[A]))}}),A.ready.then=Q.then,"complete"!==b.readyState&&("loading"===b.readyState||b.documentElement.doScroll)?(b.addEventListener("DOMContentLoaded",X),s.addEventListener("load",X)):s.setTimeout(A.ready);var Z=function(e,t,i,s,n,r,a){var o=0,l=e.length,u=null==i;if("object"===T(i))for(o in n=!0,i)Z(e,t,o,i[o],!0,r,a);else if(void 0!==s&&(n=!0,_(s)||(a=!0),u&&(a?(t.call(e,s),t=null):(u=t,t=function(e,t,i){return u.call(A(e),i)})),t))for(;o1,null,!0)},removeData:function(e){return this.each(function(){eo.remove(this,e)})}}),A.extend({queue:function(e,t,i){var s;if(e)return t=(t||"fx")+"queue",s=ea.get(e,t),i&&(!s||Array.isArray(i)?s=ea.access(e,t,A.makeArray(i)):s.push(i)),s||[]},dequeue:function(e,t){t=t||"fx";var i=A.queue(e,t),s=i.length,n=i.shift(),r=A._queueHooks(e,t);"inprogress"===n&&(n=i.shift(),s--),n&&("fx"===t&&i.unshift("inprogress"),delete r.stop,n.call(e,function(){A.dequeue(e,t)},r)),!s&&r&&r.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return ea.get(e,i)||ea.access(e,i,{empty:A.Callbacks("once memory").add(function(){ea.remove(e,[t+"queue",i])})})}}),A.fn.extend({queue:function(e,t){var i=2;return("string"!=typeof e&&(t=e,e="fx",i--),arguments.length\x20\t\r\n\f]*)/i,eT=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=b.createDocumentFragment().appendChild(b.createElement("div")),t=b.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),f.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",f.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="",f.option=!!e.lastChild}();var eS={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function eC(e,t){var i;return(i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t))?A.merge([e],i):i}function eA(e,t){for(var i=0,s=e.length;i",""]);var eD=/<|&#?\w+;/;function eM(e,t,i,s,n){for(var r,a,o,l,u,d=t.createDocumentFragment(),c=[],p=0,h=e.length;p-1){n&&n.push(r);continue}if(l=eg(r),a=eC(d.appendChild(r),"script"),l&&eA(a),i)for(u=0;r=a[u++];)eT.test(r.type||"")&&i.push(r)}return d}var ex=/^([^.]*)(?:\.(.+)|)/;function eE(){return!0}function eL(){return!1}function eP(e,t,i,s,n,r){var a,o;if("object"==typeof t){for(o in"string"!=typeof i&&(s=s||i,i=void 0),t)eP(e,o,i,s,t[o],r);return e}if(null==s&&null==n?(n=i,s=i=void 0):null==n&&("string"==typeof i?(n=s,s=void 0):(n=s,s=i,i=void 0)),!1===n)n=eL;else if(!n)return e;return 1===r&&(a=n,(n=function(e){return A().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=A.guid++)),e.each(function(){A.event.add(this,t,n,s,i)})}function eF(e,t,i){if(!i){void 0===ea.get(e,t)&&A.event.add(e,t,eE);return}ea.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var i,s=ea.get(this,t);if(1&e.isTrigger&&this[t]){if(s)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(s=o.call(arguments),ea.set(this,t,s),this[t](),i=ea.get(this,t),ea.set(this,t,!1),s!==i)return e.stopImmediatePropagation(),e.preventDefault(),i}else s&&(ea.set(this,t,A.event.trigger(s[0],s.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=eE)}})}A.event={global:{},add:function(e,t,i,s,n){var r,a,o,l,u,d,c,p,h,m,g,f=ea.get(e);if(en(e))for(i.handler&&(i=(r=i).handler,n=r.selector),n&&A.find.matchesSelector(em,n),i.guid||(i.guid=A.guid++),(l=f.events)||(l=f.events=Object.create(null)),(a=f.handle)||(a=f.handle=function(t){return A.event.triggered!==t.type?A.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(V)||[""]).length;u--;)h=g=(o=ex.exec(t[u])||[])[1],m=(o[2]||"").split(".").sort(),h&&(c=A.event.special[h]||{},h=(n?c.delegateType:c.bindType)||h,c=A.event.special[h]||{},d=A.extend({type:h,origType:g,data:s,handler:i,guid:i.guid,selector:n,needsContext:n&&A.expr.match.needsContext.test(n),namespace:m.join(".")},r),(p=l[h])||((p=l[h]=[]).delegateCount=0,(!c.setup||!1===c.setup.call(e,s,m,a))&&e.addEventListener&&e.addEventListener(h,a)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=i.guid)),n?p.splice(p.delegateCount++,0,d):p.push(d),A.event.global[h]=!0)},remove:function(e,t,i,s,n){var r,a,o,l,u,d,c,p,h,m,g,f=ea.hasData(e)&&ea.get(e);if(f&&(l=f.events)){for(u=(t=(t||"").match(V)||[""]).length;u--;){if(h=g=(o=ex.exec(t[u])||[])[1],m=(o[2]||"").split(".").sort(),!h){for(h in l)A.event.remove(e,h+t[u],i,s,!0);continue}for(c=A.event.special[h]||{},p=l[h=(s?c.delegateType:c.bindType)||h]||[],o=o[2]&&RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=p.length;r--;)d=p[r],(n||g===d.origType)&&(!i||i.guid===d.guid)&&(!o||o.test(d.namespace))&&(!s||s===d.selector||"**"===s&&d.selector)&&(p.splice(r,1),d.selector&&p.delegateCount--,c.remove&&c.remove.call(e,d));a&&!p.length&&(c.teardown&&!1!==c.teardown.call(e,m,f.handle)||A.removeEvent(e,h,f.handle),delete l[h])}A.isEmptyObject(l)&&ea.remove(e,"handle events")}},dispatch:function(e){var t,i,s,n,r,a,o=Array(arguments.length),l=A.event.fix(e),u=(ea.get(this,"events")||Object.create(null))[l.type]||[],d=A.event.special[l.type]||{};for(t=1,o[0]=l;t=1)){for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=0,r=[],a={};i-1:A.find(n,this,null,[u]).length),a[n]&&r.push(s);r.length&&o.push({elem:u,handlers:r})}}return u=this,l\s*$/g;function eO(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function eR(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function eU(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function eB(e,t){var i,s,n,r,a,o;if(1===t.nodeType){if(ea.hasData(e)&&(o=ea.get(e).events))for(n in ea.remove(t,"handle events"),o)for(i=0,s=o[n].length;i1&&"string"==typeof m&&!f.checkClone&&eN.test(m))return e.each(function(n){var r=e.eq(n);g&&(t[0]=m.call(this,n,r.html())),eY(r,t,i,s)});if(p&&(r=(n=eM(t,e[0].ownerDocument,!1,e,s)).firstChild,1===n.childNodes.length&&(n=r),r||s)){for(o=(a=A.map(eC(n,"script"),eR)).length;c0&&eA(a,!l&&eC(e,"script")),o},cleanData:function(e){for(var t,i,s,n=A.event.special,r=0;void 0!==(i=e[r]);r++)if(en(i)){if(t=i[ea.expando]){if(t.events)for(s in t.events)n[s]?A.event.remove(i,s):A.removeEvent(i,s,t.handle);i[ea.expando]=void 0}i[eo.expando]&&(i[eo.expando]=void 0)}}}),A.fn.extend({detach:function(e){return eH(this,e,!0)},remove:function(e){return eH(this,e)},text:function(e){return Z(this,function(e){return void 0===e?A.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return eY(this,arguments,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&eO(this,e).appendChild(e)})},prepend:function(){return eY(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=eO(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return eY(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return eY(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(A.cleanData(eC(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return A.clone(this,e,t)})},html:function(e){return Z(this,function(e){var t=this[0]||{},i=0,s=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!eI.test(e)&&!eS[(ek.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;iA.inArray(this,e)&&(A.cleanData(eC(this)),i&&i.replaceChild(t,this))},e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){A.fn[e]=function(e){for(var i,s=[],n=A(e),r=n.length-1,a=0;a<=r;a++)i=a===r?this:this.clone(!0),A(n[a])[t](i),u.apply(s,i.get());return this.pushStack(s)}});var eq=RegExp("^("+ec+")(?!px)[a-z%]+$","i"),e$=/^--/,ez=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=s),t.getComputedStyle(e)},eV=function(e,t,i){var s,n,r={};for(n in t)r[n]=e.style[n],e.style[n]=t[n];for(n in s=i.call(e),t)e.style[n]=r[n];return s},eW=RegExp(eh.join("|"),"i");function eK(e,t,i){var s,n,r,a,o=e$.test(t),l=e.style;return(i=i||ez(e))&&(a=i.getPropertyValue(t)||i[t],o&&a&&(a=a.replace(F,"$1")||void 0),""!==a||eg(e)||(a=A.style(e,t)),!f.pixelBoxStyles()&&eq.test(a)&&eW.test(t)&&(s=l.width,n=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=i.width,l.width=s,l.minWidth=n,l.maxWidth=r)),void 0!==a?a+"":a}function eG(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}!function(){function e(){if(d){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",em.appendChild(u).appendChild(d);var e=s.getComputedStyle(d);i="1%"!==e.top,l=12===t(e.marginLeft),d.style.right="60%",a=36===t(e.right),n=36===t(e.width),d.style.position="absolute",r=12===t(d.offsetWidth/3),em.removeChild(u),d=null}}function t(e){return Math.round(parseFloat(e))}var i,n,r,a,o,l,u=b.createElement("div"),d=b.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===d.style.backgroundClip,A.extend(f,{boxSizingReliable:function(){return e(),n},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,t,i,n;return null==o&&(e=b.createElement("table"),t=b.createElement("tr"),i=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",em.appendChild(e).appendChild(t).appendChild(i),o=parseInt((n=s.getComputedStyle(t)).height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===t.offsetHeight,em.removeChild(e)),o}}))}();var eJ=["Webkit","Moz","ms"],eQ=b.createElement("div").style,eX={};function eZ(e){var t=A.cssProps[e]||eX[e];return t||(e in eQ?e:eX[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=eJ.length;i--;)if((e=eJ[i]+t)in eQ)return e}(e)||e)}var e1=/^(none|table(?!-c[ea]).+)/,e0={position:"absolute",visibility:"hidden",display:"block"},e3={letterSpacing:"0",fontWeight:"400"};function e2(e,t,i){var s=ep.exec(t);return s?Math.max(0,s[2]-(i||0))+(s[3]||"px"):t}function e8(e,t,i,s,n,r){var a=+("width"===t),o=0,l=0,u=0;if(i===(s?"border":"content"))return 0;for(;a<4;a+=2)"margin"===i&&(u+=A.css(e,i+eh[a],!0,n)),s?("content"===i&&(l-=A.css(e,"padding"+eh[a],!0,n)),"margin"!==i&&(l-=A.css(e,"border"+eh[a]+"Width",!0,n))):(l+=A.css(e,"padding"+eh[a],!0,n),"padding"!==i?l+=A.css(e,"border"+eh[a]+"Width",!0,n):o+=A.css(e,"border"+eh[a]+"Width",!0,n));return!s&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-o-.5))||0),l+u}function e4(e,t,i){var s=ez(e),n=(!f.boxSizingReliable()||i)&&"border-box"===A.css(e,"boxSizing",!1,s),r=n,a=eK(e,t,s),o="offset"+t[0].toUpperCase()+t.slice(1);if(eq.test(a)){if(!i)return a;a="auto"}return(!f.boxSizingReliable()&&n||!f.reliableTrDimensions()&&M(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===A.css(e,"display",!1,s))&&e.getClientRects().length&&(n="border-box"===A.css(e,"boxSizing",!1,s),(r=o in e)&&(a=e[o])),(a=parseFloat(a)||0)+e8(e,t,i||(n?"border":"content"),r,s,a)+"px"}function e7(e,t,i,s,n){return new e7.prototype.init(e,t,i,s,n)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=eK(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,i,s){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var n,r,a,o=es(t),l=e$.test(t),u=e.style;if(l||(t=eZ(o)),a=A.cssHooks[t]||A.cssHooks[o],void 0===i)return a&&"get"in a&&void 0!==(n=a.get(e,!1,s))?n:u[t];if("string"==(r=typeof i)&&(n=ep.exec(i))&&n[1]&&(i=ey(e,t,n),r="number"),null!=i&&i==i)"number"!==r||l||(i+=n&&n[3]||(A.cssNumber[o]?"":"px")),f.clearCloneStyle||""!==i||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(i=a.set(e,i,s))||(l?u.setProperty(t,i):u[t]=i)}},css:function(e,t,i,s){var n,r,a,o=es(t);return(e$.test(t)||(t=eZ(o)),(a=A.cssHooks[t]||A.cssHooks[o])&&"get"in a&&(n=a.get(e,!0,i)),void 0===n&&(n=eK(e,t,s)),"normal"===n&&t in e3&&(n=e3[t]),""===i||i)?(r=parseFloat(n),!0===i||isFinite(r)?r||0:n):n}}),A.each(["height","width"],function(e,t){A.cssHooks[t]={get:function(e,i,s){if(i)return!e1.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?e4(e,t,s):eV(e,e0,function(){return e4(e,t,s)})},set:function(e,i,s){var n,r=ez(e),a=!f.scrollboxSize()&&"absolute"===r.position,o=(a||s)&&"border-box"===A.css(e,"boxSizing",!1,r),l=s?e8(e,t,s,o,r):0;return o&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-e8(e,t,"border",!1,r)-.5)),l&&(n=ep.exec(i))&&"px"!==(n[3]||"px")&&(e.style[t]=i,i=A.css(e,t)),e2(e,i,l)}}}),A.cssHooks.marginLeft=eG(f.reliableMarginLeft,function(e,t){if(t)return(parseFloat(eK(e,"marginLeft"))||e.getBoundingClientRect().left-eV(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),A.each({margin:"",padding:"",border:"Width"},function(e,t){A.cssHooks[e+t]={expand:function(i){for(var s=0,n={},r="string"==typeof i?i.split(" "):[i];s<4;s++)n[e+eh[s]+t]=r[s]||r[s-2]||r[0];return n}},"margin"!==e&&(A.cssHooks[e+t].set=e2)}),A.fn.extend({css:function(e,t){return Z(this,function(e,t,i){var s,n,r={},a=0;if(Array.isArray(t)){for(s=ez(e),n=t.length;a1)}}),A.Tween=e7,e7.prototype={constructor:e7,init:function(e,t,i,s,n,r){this.elem=e,this.prop=i,this.easing=n||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=s,this.unit=r||(A.cssNumber[i]?"":"px")},cur:function(){var e=e7.propHooks[this.prop];return e&&e.get?e.get(this):e7.propHooks._default.get(this)},run:function(e){var t,i=e7.propHooks[this.prop];return this.options.duration?this.pos=t=A.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):e7.propHooks._default.set(this),this}},e7.prototype.init.prototype=e7.prototype,e7.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1===e.elem.nodeType&&(A.cssHooks[e.prop]||null!=e.elem.style[eZ(e.prop)])?A.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},e7.propHooks.scrollTop=e7.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},A.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=e7.prototype.init,A.fx.step={};var e9,e6,e5=/^(?:toggle|show|hide)$/,te=/queueHooks$/;function tt(){return s.setTimeout(function(){e9=void 0}),e9=Date.now()}function ti(e,t){var i,s=0,n={height:e};for(t=+!!t;s<4;s+=2-t)n["margin"+(i=eh[s])]=n["padding"+i]=e;return t&&(n.opacity=n.width=e),n}function ts(e,t,i){for(var s,n=(tn.tweeners[t]||[]).concat(tn.tweeners["*"]),r=0,a=n.length;r1)},removeAttr:function(e){return this.each(function(){A.removeAttr(this,e)})}}),A.extend({attr:function(e,t,i){var s,n,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?A.prop(e,t,i):(1===r&&A.isXMLDoc(e)||(n=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?tr:void 0)),void 0!==i)?null===i?void A.removeAttr(e,t):n&&"set"in n&&void 0!==(s=n.set(e,i,t))?s:(e.setAttribute(t,i+""),i):n&&"get"in n&&null!==(s=n.get(e,t))?s:null==(s=A.find.attr(e,t))?void 0:s},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&M(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,s=0,n=t&&t.match(V);if(n&&1===e.nodeType)for(;i=n[s++];)e.removeAttribute(i)}}),tr={set:function(e,t,i){return!1===t?A.removeAttr(e,i):e.setAttribute(i,i),i}},A.each(A.expr.match.bool.source.match(/\w+/g),function(e,t){var i=ta[t]||A.find.attr;ta[t]=function(e,t,s){var n,r,a=t.toLowerCase();return s||(r=ta[a],ta[a]=n,n=null!=i(e,t,s)?a:null,ta[a]=r),n}});var to=/^(?:input|select|textarea|button)$/i,tl=/^(?:a|area)$/i;function tu(e){return(e.match(V)||[]).join(" ")}function td(e){return e.getAttribute&&e.getAttribute("class")||""}function tc(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}A.fn.extend({prop:function(e,t){return Z(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[A.propFix[e]||e]})}}),A.extend({prop:function(e,t,i){var s,n,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return(1===r&&A.isXMLDoc(e)||(t=A.propFix[t]||t,n=A.propHooks[t]),void 0!==i)?n&&"set"in n&&void 0!==(s=n.set(e,i,t))?s:e[t]=i:n&&"get"in n&&null!==(s=n.get(e,t))?s:e[t]},propHooks:{tabIndex:{get:function(e){var t=A.find.attr(e,"tabindex");return t?parseInt(t,10):to.test(e.nodeName)||tl.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(A.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){A.propFix[this.toLowerCase()]=this}),A.fn.extend({addClass:function(e){var t,i,s,n,r,a;return _(e)?this.each(function(t){A(this).addClass(e.call(this,t,td(this)))}):(t=tc(e)).length?this.each(function(){if(s=td(this),i=1===this.nodeType&&" "+tu(s)+" "){for(r=0;ri.indexOf(" "+n+" ")&&(i+=n+" ");s!==(a=tu(i))&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,i,s,n,r,a;return _(e)?this.each(function(t){A(this).removeClass(e.call(this,t,td(this)))}):arguments.length?(t=tc(e)).length?this.each(function(){if(s=td(this),i=1===this.nodeType&&" "+tu(s)+" "){for(r=0;r-1;)i=i.replace(" "+n+" "," ");s!==(a=tu(i))&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var i,s,n,r,a=typeof e,o="string"===a||Array.isArray(e);return _(e)?this.each(function(i){A(this).toggleClass(e.call(this,i,td(this),t),t)}):"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):(i=tc(e),this.each(function(){if(o)for(n=0,r=A(this);n-1)return!0;return!1}});var tp=/\r/g;A.fn.extend({val:function(e){var t,i,s,n=this[0];if(!arguments.length)return n?(t=A.valHooks[n.type]||A.valHooks[n.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(n,"value"))?i:"string"==typeof(i=n.value)?i.replace(tp,""):null==i?"":i:void 0;return s=_(e),this.each(function(i){var n;1===this.nodeType&&(null==(n=s?e.call(this,i,A(this).val()):e)?n="":"number"==typeof n?n+="":Array.isArray(n)&&(n=A.map(n,function(e){return null==e?"":e+""})),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,n,"value")||(this.value=n))})}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:tu(A.text(e))}},select:{get:function(e){var t,i,s,n=e.options,r=e.selectedIndex,a="select-one"===e.type,o=a?null:[],l=a?r+1:n.length;for(s=r<0?l:a?r:0;s-1)&&(i=!0);return i||(e.selectedIndex=-1),r}}}}),A.each(["radio","checkbox"],function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},f.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var th=s.location,tm={guid:Date.now()},tg=/\?/;A.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=new s.DOMParser().parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],(!t||i)&&A.error("Invalid XML: "+(i?A.map(i.childNodes,function(e){return e.textContent}).join(` `):e)),t};var tf=/^(?:focusinfocus|focusoutblur)$/,t_=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(e,t,i,n){var r,a,o,l,u,d,c,p,m=[i||b],g=h.call(e,"type")?e.type:e,f=h.call(e,"namespace")?e.namespace.split("."):[];if((a=p=o=i=i||b,!(3===i.nodeType||8===i.nodeType||tf.test(g+A.event.triggered)))&&(g.indexOf(".")>-1&&(g=(f=g.split(".")).shift(),f.sort()),u=0>g.indexOf(":")&&"on"+g,(e=e[A.expando]?e:new A.Event(g,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:A.makeArray(t,[e]),c=A.event.special[g]||{},n||!c.trigger||!1!==c.trigger.apply(i,t))){if(!n&&!c.noBubble&&!y(i)){for(l=c.delegateType||g,tf.test(l+g)||(a=a.parentNode);a;a=a.parentNode)m.push(a),o=a;o===(i.ownerDocument||b)&&m.push(o.defaultView||o.parentWindow||s)}for(r=0;(a=m[r++])&&!e.isPropagationStopped();)p=a,e.type=r>1?l:c.bindType||g,(d=(ea.get(a,"events")||Object.create(null))[e.type]&&ea.get(a,"handle"))&&d.apply(a,t),(d=u&&a[u])&&d.apply&&en(a)&&(e.result=d.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,!n&&!e.isDefaultPrevented()&&(!c._default||!1===c._default.apply(m.pop(),t))&&en(i)&&u&&_(i[g])&&!y(i)&&((o=i[u])&&(i[u]=null),A.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,t_),i[g](),e.isPropagationStopped()&&p.removeEventListener(g,t_),A.event.triggered=void 0,o&&(i[u]=o)),e.result}},simulate:function(e,t,i){var s=A.extend(new A.Event,i,{type:e,isSimulated:!0});A.event.trigger(s,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each(function(){A.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return A.event.trigger(e,t,i,!0)}});var ty=/\[\]$/,tb=/\r?\n/g,tv=/^(?:submit|button|image|reset|file)$/i,tw=/^(?:input|select|textarea|keygen)/i;A.param=function(e,t){var i,s=[],n=function(e,t){var i=_(t)?t():t;s[s.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!A.isPlainObject(e))A.each(e,function(){n(this.name,this.value)});else for(i in e)!function e(t,i,s,n){var r;if(Array.isArray(i))A.each(i,function(i,r){s||ty.test(t)?n(t,r):e(t+"["+("object"==typeof r&&null!=r?i:"")+"]",r,s,n)});else if(s||"object"!==T(i))n(t,i);else for(r in i)e(t+"["+r+"]",i[r],s,n)}(i,e[i],t,n);return s.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&tw.test(this.nodeName)&&!tv.test(e)&&(this.checked||!ew.test(e))}).map(function(e,t){var i=A(this).val();return null==i?null:Array.isArray(i)?A.map(i,function(e){return{name:t.name,value:e.replace(tb,`\r `)}}):{name:t.name,value:i.replace(tb,`\r `)}}).get()}});var tk=/%20/g,tT=/#.*$/,tS=/([?&])_=[^&]*/,tC=/^(.*?):[ \t]*([^\r\n]*)$/mg,tA=/^(?:GET|HEAD)$/,tD=/^\/\//,tM={},tx={},tE="*/".concat("*"),tL=b.createElement("a");function tP(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var s,n=0,r=t.toLowerCase().match(V)||[];if(_(i))for(;s=r[n++];)"+"===s[0]?(e[s=s.slice(1)||"*"]=e[s]||[]).unshift(i):(e[s]=e[s]||[]).push(i)}}function tF(e,t,i,s){var n={},r=e===tx;function a(o){var l;return n[o]=!0,A.each(e[o]||[],function(e,o){var u=o(t,i,s);return"string"!=typeof u||r||n[u]?r?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)}),l}return a(t.dataTypes[0])||!n["*"]&&a("*")}function tI(e,t){var i,s,n=A.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((n[i]?e:s||(s={}))[i]=t[i]);return s&&A.extend(!0,e,s),e}tL.href=th.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:th.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(th.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tE,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?tI(tI(e,A.ajaxSettings),t):tI(A.ajaxSettings,e)},ajaxPrefilter:tP(tM),ajaxTransport:tP(tx),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,n,r,a,o,l,u,d,c,p,h=A.ajaxSetup({},t),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?A(m):A.event,f=A.Deferred(),_=A.Callbacks("once memory"),y=h.statusCode||{},w={},k={},T="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=tC.exec(r);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?r:null},setRequestHeader:function(e,t){return null==u&&(w[e=k[e.toLowerCase()]=k[e.toLowerCase()]||e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),C(0,t),this}};if(f.promise(S),h.url=((e||h.url||th.href)+"").replace(tD,th.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(V)||[""],null==h.crossDomain){l=b.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=tL.protocol+"//"+tL.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=A.param(h.data,h.traditional)),tF(tM,h,t,S),u)return S;for(c in(d=A.event&&h.global)&&0==A.active++&&A.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!tA.test(h.type),n=h.url.replace(tT,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(tk,"+")):(p=h.url.slice(n.length),h.data&&(h.processData||"string"==typeof h.data)&&(n+=(tg.test(n)?"&":"?")+h.data,delete h.data),!1===h.cache&&(n=n.replace(tS,"$1"),p=(tg.test(n)?"&":"?")+"_="+tm.guid+++p),h.url=n+p),h.ifModified&&(A.lastModified[n]&&S.setRequestHeader("If-Modified-Since",A.lastModified[n]),A.etag[n]&&S.setRequestHeader("If-None-Match",A.etag[n])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+tE+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(c,h.headers[c]);if(h.beforeSend&&(!1===h.beforeSend.call(m,S,h)||u))return S.abort();if(T="abort",_.add(h.complete),S.done(h.success),S.fail(h.error),i=tF(tx,h,t,S)){if(S.readyState=1,d&&g.trigger("ajaxSend",[S,h]),u)return S;h.async&&h.timeout>0&&(o=s.setTimeout(function(){S.abort("timeout")},h.timeout));try{u=!1,i.send(w,C)}catch(e){if(u)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,a,l){var c,p,b,w,k,T=t;!u&&(u=!0,o&&s.clearTimeout(o),i=void 0,r=l||"",S.readyState=4*(e>0),c=e>=200&&e<300||304===e,a&&(w=function(e,t,i){for(var s,n,r,a,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===s&&(s=e.mimeType||t.getResponseHeader("Content-Type"));if(s){for(n in o)if(o[n]&&o[n].test(s)){l.unshift(n);break}}if(l[0]in i)r=l[0];else{for(n in i){if(!l[0]||e.converters[n+" "+l[0]]){r=n;break}a||(a=n)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),i[r]}(h,S,a)),!c&&A.inArray("script",h.dataTypes)>-1&&0>A.inArray("json",h.dataTypes)&&(h.converters["text script"]=function(){}),w=function(e,t,i,s){var n,r,a,o,l,u={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(r=d.shift();r;)if(e.responseFields[r]&&(i[e.responseFields[r]]=t),!l&&s&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=d.shift()){if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=u[l+" "+r]||u["* "+r])){for(n in u)if((o=n.split(" "))[1]===r&&(a=u[l+" "+o[0]]||u["* "+o[0]])){!0===a?a=u[n]:!0!==u[n]&&(r=o[0],d.unshift(o[1]));break}}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+r}}}}return{state:"success",data:t}}(h,w,S,c),c?(h.ifModified&&((k=S.getResponseHeader("Last-Modified"))&&(A.lastModified[n]=k),(k=S.getResponseHeader("etag"))&&(A.etag[n]=k)),204===e||"HEAD"===h.type?T="nocontent":304===e?T="notmodified":(T=w.state,p=w.data,c=!(b=w.error))):(b=T,(e||!T)&&(T="error",e<0&&(e=0))),S.status=e,S.statusText=(t||T)+"",c?f.resolveWith(m,[p,T,S]):f.rejectWith(m,[S,T,b]),S.statusCode(y),y=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[S,h,c?p:b]),_.fireWith(m,[S,T]),d&&(g.trigger("ajaxComplete",[S,h]),--A.active||A.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,i){return A.get(e,t,i,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],function(e,t){A[t]=function(e,i,s,n){return _(i)&&(n=n||s,s=i,i=void 0),A.ajax(A.extend({url:e,type:t,dataType:n,data:i,success:s},A.isPlainObject(e)&&e))}}),A.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),A._evalUrl=function(e,t,i){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t,i)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=A(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return _(e)?this.each(function(t){A(this).wrapInner(e.call(this,t))}):this.each(function(){var t=A(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=_(e);return this.each(function(i){A(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){A(this).replaceWith(this.childNodes)}),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new s.XMLHttpRequest}catch(e){}};var tN={0:200,1223:204},tj=A.ajaxSettings.xhr();f.cors=!!tj&&"withCredentials"in tj,f.ajax=tj=!!tj,A.ajaxTransport(function(e){var t,i;if(f.cors||tj&&!e.crossDomain)return{send:function(n,r){var a,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)o[a]=e.xhrFields[a];for(a in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)o.setRequestHeader(a,n[a]);t=function(e){return function(){t&&(t=i=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?r(0,"error"):r(o.status,o.statusText):r(tN[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=t(),i=o.onerror=o.ontimeout=t("error"),void 0!==o.onabort?o.onabort=i:o.onreadystatechange=function(){4===o.readyState&&s.setTimeout(function(){t&&i()})},t=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),A.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),A.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return A.globalEval(e),e}}}),A.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),A.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var t,i;return{send:function(s,n){t=A("