1
2
3
4
5
6
|
!function(){var t=null;window.Logster||(window.Logster={enabled:!0}),window.onerror=function(e,n,r,i,o){if(!(t&&new Date-t<6e4)&&Logster.enabled){t=new Date;var a={message:e,url:n,line:r,column:i,window_location:window.location&&window.location+""};o&&o.stack&&(a.stacktrace=o.stack),$.ajax("/logs/report_js_error",{data:a,type:"POST",cache:!1})}}}(),function(){window.jQuery;window.Discourse={},Discourse.SiteSettings={}}(),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Handlebars=e():t.Handlebars=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(){var t=new s.HandlebarsEnvironment;return h.extend(t,s),t.SafeString=l.default,t.Exception=f.default,t.Utils=h,t.escapeExpression=h.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}var i=n(1).default,o=n(2).default;e.__esModule=!0;var a=n(3),s=i(a),u=n(20),l=o(u),c=n(5),f=o(c),d=n(4),h=i(d),p=n(21),v=i(p),g=n(33),m=o(g),_=r();_.create=r,m.default(_),_.default=_,e.default=_,t.exports=e.default},function(t,e){"use strict";e.default=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},e.__esModule=!0},function(t,e){"use strict";e.default=function(t){return t&&t.__esModule?t:{default:t}},e.__esModule=!0},function(t,e,n){"use strict";function r(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}var i=n(2).default;e.__esModule=!0,e.HandlebarsEnvironment=r;var o=n(4),a=n(5),s=i(a),u=n(9),l=n(17),c=n(19),f=i(c);e.VERSION="4.1.2";e.COMPILER_REVISION=7;var d={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=d;r.prototype={constructor:r,logger:f.default,log:f.default.log,registerHelper:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new s.default("Arg not supported with multiple helpers");o.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if("[object Object]"===o.toString.call(t))o.extend(this.partials,t);else{if(void 0===e)throw new s.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new s.default("Arg not supported with multiple decorators");o.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var h=f.default.log;e.log=h,e.createFrame=o.createFrame,e.logger=f.default},function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function i(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function o(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=i,e.escapeExpression=o,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,h=Object.prototype.toString;e.toString=h;var p=function(t){return"function"==typeof t};p(/x/)&&(e.isFunction=p=function(t){return"function"==typeof t&&"[object Function]"===h.call(t)}),e.isFunction=p;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===h.call(t)};e.isArray=v},function(t,e,n){"use strict";function r(t,e){var n=e&&e.loc,a=void 0,s=void 0;n&&(a=n.start.line,s=n.start.column,t+=" - "+a+":"+s);for(var u=Error.prototype.constructor.call(this,t),l=0;l<o.length;l++)this[o[l]]=u[o[l]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{n&&(this.lineNumber=a,i?Object.defineProperty(this,"column",{value:s,enumerable:!0}):this.column=s)}catch(t){}}var i=n(6).default;e.__esModule=!0;var o=["description","fileName","lineNumber","message","name","number","stack"];r.prototype=new Error,e.default=r,t.exports=e.default},function(t,e,n){t.exports={default:n(7),__esModule:!0}},function(t,e,n){var r=n(8);t.exports=function(t,e,n){return r.setDesc(t,e,n)}},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e,n){"use strict";function r(t){a.default(t),u.default(t),c.default(t),d.default(t),p.default(t),g.default(t),_.default(t)}var i=n(2).default;e.__esModule=!0,e.registerDefaultHelpers=r;var o=n(10),a=i(o),s=n(11),u=i(s),l=n(12),c=i(l),f=n(13),d=i(f),h=n(14),p=i(h),v
|