(window.uiActionsEnhanced_bundle_jsonpfunction=window.uiActionsEnhanced_bundle_jsonpfunction||[]).push([[0],Array(21).concat([function(t,e,s){"use strict";e.__esModule=!0,e.extend=a,e.indexOf=function(t,e){for(var s=0,r=t.length;s":">",'"':""","'":"'","`":"`","=":"="},i=/[&<>"'`=]/g,o=/[&<>"'`=]/;function n(t){return r[t]}function a(t){for(var e=1;e= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var p="[object Object]";function h(t,e,s){this.helpers=t||{},this.partials=e||{},this.decorators=s||{},n.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}h.prototype={constructor:h,logger:c.default,log:c.default.log,registerHelper:function(t,e){if(i.toString.call(t)===p){if(e)throw new o.default("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===p)i.extend(this.partials,t);else{if(void 0===e)throw new o.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(i.toString.call(t)===p){if(e)throw new o.default("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){l.resetLoggedProperties()}};var u=c.default.log;e.log=u,e.createFrame=i.createFrame,e.logger=c.default},function(t,e,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.registerDefaultHelpers=function(t){i.default(t),o.default(t),n.default(t),a.default(t),c.default(t),l.default(t),p.default(t)},e.moveHelperToHooks=function(t,e,s){t.helpers[e]&&(t.hooks[e]=t.helpers[e],s||delete t.helpers[e])};var i=r(s(49)),o=r(s(50)),n=r(s(51)),a=r(s(52)),c=r(s(53)),l=r(s(54)),p=r(s(55))},function(t,e,s){"use strict";e.__esModule=!0,e.createProtoAccessControl=function(t){var e=Object.create(null);e.constructor=!1,e.__defineGetter__=!1,e.__defineSetter__=!1,e.__lookupGetter__=!1;var s=Object.create(null);return s.__proto__=!1,{properties:{whitelist:r.createNewLookupObject(s,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}},e.resultIsAllowed=function(t,e,s){return function(t,e){return void 0!==t.whitelist[e]?!0===t.whitelist[e]:void 0!==t.defaultValue?t.defaultValue:(function(t){!0!==o[t]&&(o[t]=!0,i.log("error",'Handlebars: Access has been denied to resolve the property "'+t+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(e),!1)}("function"==typeof t?e.methods:e.properties,s)},e.resetLoggedProperties=function(){Object.keys(o).forEach((function(t){delete o[t]}))};var r=s(58),i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e.default=t,e}(s(34)),o=Object.create(null)},function(t,e,s){"use strict";e.__esModule=!0;var r={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!r.helpers.scopedId(t)&&!t.depth}}};e.default=r,t.exports=e.default},,,,function(t,e,s){t.exports=s(6)(190)},function(t,e,s){"use strict";e.__esModule=!0;var r=s(21),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(i.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=i.lookupLevel(t),"undefined"!=typeof console&&i.lookupLevel(i.level)<=t){var e=i.methodMap[t];console[e]||(e="log");for(var s=arguments.length,r=Array(s>1?s-1:0),o=1;o0?(s.ids&&(s.ids=[s.name]),t.helpers.each(e,s)):i(this);if(s.data&&s.ids){var n=r.createFrame(s.data);n.contextPath=r.appendContextPath(s.data.contextPath,s.name),s={data:n}}return o(e,s)}))},t.exports=e.default},function(t,e,s){"use strict";(function(r){e.__esModule=!0;var i,o=s(21),n=(i=s(22))&&i.__esModule?i:{default:i};e.default=function(t){t.registerHelper("each",(function(t,e){if(!e)throw new n.default("Must pass iterator to #each");var s,i=e.fn,a=e.inverse,c=0,l="",p=void 0,h=void 0;function u(e,s,r){p&&(p.key=e,p.index=s,p.first=0===s,p.last=!!r,h&&(p.contextPath=h+e)),l+=i(t[e],{data:p,blockParams:o.blockParams([t[e],e],[h+e,null])})}if(e.data&&e.ids&&(h=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(p=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var d=t.length;c=n.LAST_COMPATIBLE_COMPILER_REVISION&&e<=n.COMPILER_REVISION)){if(e2&&k.push("'"+this.terminals_[g]+"'");b=this.lexer.showPosition?"Parse error on line "+(n+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[h]||h)+"'":"Parse error on line "+(n+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(b,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:l,expected:k})}}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+d+", token: "+h);switch(f[0]){case 1:e.push(h),s.push(this.lexer.yytext),r.push(this.lexer.yylloc),e.push(f[1]),h=null,u?(h=u,u=null):(a=this.lexer.yyleng,o=this.lexer.yytext,n=this.lexer.yylineno,l=this.lexer.yylloc,c>0&&c--);break;case 2:if(v=this.productions_[f[1]][1],S.$=s[s.length-v],S._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},p&&(S._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(m=this.performAction.call(S,o,a,n,this.yy,f[1],s,r)))return m;v&&(e=e.slice(0,-1*v*2),s=s.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[f[1]][0]),s.push(S.$),r.push(S._$),y=i[e[e.length-2]][e[e.length-1]],e.push(y);break;case 3:return!0}}return!0}},e={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===r.length?this.yylloc.first_column:0)+r[r.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e,s,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),n=0;ne[0].length)||(e=s,r=n,this.options.flex));n++);return e?((i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,o[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,e,s,r){function i(t,s){return e.yytext=e.yytext.substring(t,e.yyleng-s+t)}switch(s){case 0:if("\\\\"===e.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(i(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(i(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=i(1,2).replace(/\\"/g,'"'),80;case 32:return e.yytext=i(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};function s(){this.yy={}}return t.lexer=e,s.prototype=t,t.Parser=s,new s}();e.default=r,t.exports=e.default},function(t,e,s){"use strict";e.__esModule=!0;var r,i=(r=s(36))&&r.__esModule?r:{default:r};function o(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function n(t,e,s){void 0===e&&(e=t.length);var r=t[e-1],i=t[e-2];return r?"ContentStatement"===r.type?(i||!s?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:s}function a(t,e,s){void 0===e&&(e=-1);var r=t[e+1],i=t[e+2];return r?"ContentStatement"===r.type?(i||!s?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:s}function c(t,e,s){var r=t[null==e?0:e+1];if(r&&"ContentStatement"===r.type&&(s||!r.rightStripped)){var i=r.value;r.value=r.value.replace(s?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==i}}function l(t,e,s){var r=t[null==e?t.length-1:e-1];if(r&&"ContentStatement"===r.type&&(s||!r.leftStripped)){var i=r.value;return r.value=r.value.replace(s?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==i,r.leftStripped}}o.prototype=new i.default,o.prototype.Program=function(t){var e=!this.options.ignoreStandalone,s=!this.isRootSeen;this.isRootSeen=!0;for(var r=t.body,i=0,o=r.length;i0)throw new i.default("Invalid path: "+r,{loc:s});".."===l&&n++}}return{type:"PathExpression",data:t,depth:n,parts:o,original:r,loc:s}},e.prepareMustache=function(t,e,s,r,i,o){var n=r.charAt(3)||r.charAt(2),a="{"!==n&&"&"!==n;return{type:/\*/.test(r)?"Decorator":"MustacheStatement",path:t,params:e,hash:s,escaped:a,strip:i,loc:this.locInfo(o)}},e.prepareRawBlock=function(t,e,s,r){o(t,s);var i={type:"Program",body:e,strip:{},loc:r=this.locInfo(r)};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:r}},e.prepareBlock=function(t,e,s,r,n,a){r&&r.path&&o(t,r);var c=/\*/.test(t.open);e.blockParams=t.blockParams;var l=void 0,p=void 0;if(s){if(c)throw new i.default("Unexpected inverse block on decorator",s);s.chain&&(s.program.body[0].closeStrip=r.strip),p=s.strip,l=s.program}return n&&(n=l,l=e,e=n),{type:c?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:l,openStrip:t.strip,inverseStrip:p,closeStrip:r&&r.strip,loc:this.locInfo(a)}},e.prepareProgram=function(t,e){if(!e&&t.length){var s=t[0].loc,r=t[t.length-1].loc;s&&r&&(e={source:s.source,start:{line:s.start.line,column:s.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:t,strip:{},loc:e}},e.preparePartialBlock=function(t,e,s,r){return o(t,s),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:s&&s.strip,loc:this.locInfo(r)}};var r,i=(r=s(22))&&r.__esModule?r:{default:r};function o(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var s={loc:t.path.loc};throw new i.default(t.path.original+" doesn't match "+e,s)}}},function(t,e,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.Compiler=c,e.precompile=function(t,e,s){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);"data"in(e=e||{})||(e.data=!0),e.compat&&(e.useDepths=!0);var r=s.parse(t,e),o=(new s.Compiler).compile(r,e);return(new s.JavaScriptCompiler).compile(o,e)},e.compile=function(t,e,s){if(void 0===e&&(e={}),null==t||"string"!=typeof t&&"Program"!==t.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);"data"in(e=o.extend({},e))||(e.data=!0),e.compat&&(e.useDepths=!0);var r=void 0;function n(){var r=s.parse(t,e),i=(new s.Compiler).compile(r,e),o=(new s.JavaScriptCompiler).compile(i,e,void 0,!0);return s.template(o)}function a(t,e){return r||(r=n()),r.call(this,t,e)}return a._setup=function(t){return r||(r=n()),r._setup(t)},a._child=function(t,e,s,i){return r||(r=n()),r._child(t,e,s,i)},a};var i=r(s(22)),o=s(21),n=r(s(29)),a=[].slice;function c(){}function l(t,e){if(t===e)return!0;if(o.isArray(t)&&o.isArray(e)&&t.length===e.length){for(var s=0;s1)throw new i.default("Unsupported number of partial arguments: "+s.length,t);s.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):s.push({type:"PathExpression",parts:[],depth:0}));var r=t.name.original,o="SubExpression"===t.name.type;o&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var n=t.indent||"";this.options.preventIndent&&n&&(this.opcode("appendContent",n),n=""),this.opcode("invokePartial",o,r,n),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){p(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,s){var r=t.path,i=r.parts[0],o=null!=e||null!=s;this.opcode("getContext",r.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",s),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",i,o)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,s){var r=this.setupFullMustacheParams(t,e,s),o=t.path,a=o.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",r.length,a);else{if(this.options.knownHelpersOnly)throw new i.default("You specified knownHelpersOnly, but used the unknown helper "+a,t);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",r.length,o.original,n.default.helpers.simpleId(o))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],s=n.default.helpers.scopedId(t),r=!t.depth&&!s&&this.blockParamIndex(e);r?this.opcode("lookupBlockParam",r,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,s):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,s=0,r=e.length;for(this.opcode("pushHash");s=0)return[e,i]}}}},function(t,e,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=s(26),o=r(s(22)),n=s(21),a=r(s(68));function c(t){this.value=t}function l(){}l.prototype={nameLookup:function(t,e){return this.internalNameLookup(t,e)},depthedLookup:function(t){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(t),")"]},compilerInfo:function(){var t=i.COMPILER_REVISION;return[t,i.REVISION_CHANGES[t]]},appendToBuffer:function(t,e,s){return n.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?["return ",t,";"]:s?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,e){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(e),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,e,s,r){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var i=t.opcodes,n=void 0,a=void 0,c=void 0,l=void 0;for(c=0,l=i.length;c0&&(s+=", "+r.join(", "));var i=0;Object.keys(this.aliases).forEach((function(t){var r=e.aliases[t];r.children&&r.referenceCount>1&&(s+=", alias"+ ++i+"="+t,r.children[0]="alias"+i)})),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var o=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var n=this.mergeSource(s);return t?(o.push(n),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),") {\n ",n,"}"])},mergeSource:function(t){var e=this.environment.isSimple,s=!this.forceBuffer,r=void 0,i=void 0,o=void 0,n=void 0;return this.source.each((function(t){t.appendToBuffer?(o?t.prepend(" + "):o=t,n=t):(o&&(i?o.prepend("buffer += "):r=!0,n.add(";"),o=n=void 0),i=!0,e||(s=!1))})),s?o?(o.prepend("return "),n.add(";")):i||this.source.push('return "";'):(t+=", buffer = "+(r?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),n.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(r?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(t){var e=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(t,0,s);var r=this.popStack();s.splice(1,0,r),this.push(this.source.functionCall(e,"call",s))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var s=this.topStack();e.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack((function(t){return[" != null ? ",t,' : ""']})),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,s,r){var i=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[i++])),this.resolvePath("context",t,i,e,s)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,s){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,s)},resolvePath:function(t,e,s,r,i){var o=this;if(this.options.strict||this.options.assumeObjects)this.push(function(t,e,s,r){var i=e.popStack(),o=0,n=s.length;for(t&&n--;othis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,s=t.length;e"function"==typeof t?t.call(e):t,data(t,e){for(;t&&e--;)t=t._parent;return t},hooks:{}};this.defaultHelperOptions={lookupProperty:o.lookupProperty}}render(t,e={}){this.contexts=[t],this.output=[],this.runtimeOptions={...e},this.container.helpers={...this.env.helpers,...e.helpers},this.container.partials={...this.env.partials,...e.partials},this.container.decorators={...this.env.decorators,...e.decorators},this.container.hooks={},this.processedRootDecorators=!1,this.processedDecoratorsForProgram.clear(),this.compileOptions.data&&(this.runtimeOptions.data=function(t,e){return e&&"root"in e||((e=e?Object(p.createFrame)(e):{}).root=t),e}(t,this.runtimeOptions.data)),Object(h.moveHelperToHooks)(this.container,"helperMissing",!1),Object(h.moveHelperToHooks)(this.container,"blockHelperMissing",!1),this.ast||(this.ast=i.a.parse(this.template));const s=t=>this.generateProgramFunction(this.ast)(t,this.runtimeOptions),r=this.processDecorators(this.ast,s);this.processedRootDecorators=!0;const o=r(this.context,e);return r===s?(this.output.push(o),this.output.join("")):o}Program(t){this.blockParamNames.unshift(t.blockParams),super.Program(t),this.blockParamNames.shift()}MustacheStatement(t){this.processStatementOrExpression(t)}BlockStatement(t){this.processStatementOrExpression(t)}PartialStatement(t){this.invokePartial(t)}PartialBlockStatement(t){this.invokePartial(t)}DecoratorBlock(t){}Decorator(t){}SubExpression(t){this.processStatementOrExpression(t)}PathExpression(t){const e=!t.depth&&!l.a.helpers.scopedId(t)&&this.blockParamIndex(t.parts[0]);let s;s=e?this.lookupBlockParam(e,t):t.data?this.lookupData(this.runtimeOptions.data,t):this.resolvePath(this.contexts[t.depth],t),this.output.push(s)}ContentStatement(t){this.output.push(t.value)}StringLiteral(t){this.output.push(t.value)}NumberLiteral(t){this.output.push(t.value)}BooleanLiteral(t){this.output.push(t.value)}UndefinedLiteral(){this.output.push(void 0)}NullLiteral(){this.output.push(null)}processDecorators(t,e){if(!this.processedDecoratorsForProgram.has(t)){this.processedDecoratorsForProgram.add(t);const s={};for(const r of t.body)g(r)&&(e=this.processDecorator(r,e,s))}return e}processDecorator(t,e,s){const r=this.setupDecoratorOptions(t),i=this.container.lookupProperty(this.container.decorators,r.name)(e,s,this.container,r);return Object.assign(i||e,s)}processStatementOrExpression(t){switch(function(t){if("parts"in t.path==0){const e=t.path,s=e.original;t.path={type:"PathExpression",data:!1,depth:0,parts:[s+""],original:s+"",loc:e.loc}}}(t),this.classifyNode(t)){case f:this.processSimpleNode(t);break;case u:this.processHelperNode(t);break;case d:this.processAmbiguousNode(t)}}classifyNode(t){const e=l.a.helpers.simpleId(t.path),s=e&&!!this.blockParamIndex(t.path.parts[0]);let r=!s&&l.a.helpers.helperExpression(t),i=!s&&(r||e);if(i&&!r){const e=t.path.parts[0],s=this.compileOptions;s.knownHelpers&&s.knownHelpers[e]?r=!0:s.knownHelpersOnly&&(i=!1)}return r?u:i?d:f}blockParamIndex(t){for(let e=0,s=this.blockParamNames.length;e=0)return[e,r]}}lookupBlockParam(t,e){const s=this.blockParamValues[t[0]][t[1]];return this.resolvePath(s,e,1)}lookupData(t,e){return e.depth&&(t=this.container.data(t,e.depth)),this.resolvePath(t,e)}processSimpleNode(t){const e=t.path;e.strict=!0;const s=this.resolveNodes(e)[0],r=this.container.lambda(s,this.context);m(t)?this.blockValue(t,r):this.output.push(r)}blockValue(t,e){const s=t.path.original,r=this.setupParams(t,s),i=this.container.hooks.blockHelperMissing.call(this.context,e,r);this.output.push(i)}processHelperNode(t){const e=t.path.parts[0];if(this.compileOptions.knownHelpers&&this.compileOptions.knownHelpers[e])this.invokeKnownHelper(t);else{if(this.compileOptions.knownHelpersOnly)throw new i.a.Exception("You specified knownHelpersOnly, but used the unknown helper "+e,t);this.invokeHelper(t)}}invokeKnownHelper(t){const e=t.path.parts[0],s=this.setupHelper(t,e),r=s.fn.call(s.context,...s.params,s.options);this.output.push(r)}invokeHelper(t){const e=t.path,s=e.original,r=l.a.helpers.simpleId(e),i=this.setupHelper(t,s),o=r&&i.fn?t.loc:e.loc;i.fn=r&&i.fn||this.resolveNodes(e)[0],i.fn||(this.compileOptions.strict?i.fn=this.container.strict(i.context,s,o):i.fn=this.container.hooks.helperMissing);const n=i.fn.call(i.context,...i.params,i.options);this.output.push(n)}invokePartial(t){var e,s;const{params:r}=t;if(r.length>1)throw new i.a.Exception(`Unsupported number of partial arguments: ${r.length}`,t);const o="SubExpression"===t.name.type?this.resolveNodes(t.name).join(""):t.name.original,n=this.setupParams(t,o);let a;if(n.helpers=this.container.helpers,n.partials=this.container.partials,n.decorators=this.container.decorators,"fn"in n&&n.fn!==v){var c;const{fn:t}=n,e=null===(c=n.data)||void 0===c?void 0:c["partial-block"];n.data=Object(p.createFrame)(n.data),a=n.data["partial-block"]=function(s,r={}){return r.data=Object(p.createFrame)(r.data),r.data["partial-block"]=e,t(s,r)},t.partials&&(n.partials={...n.partials,...t.partials})}let l={};0!==r.length||this.compileOptions.explicitPartialContext?1===r.length&&(l=this.resolveNodes(r[0])[0]):l=this.context,Object.keys(n.hash).length>0&&(l=Object.assign({},l,n.hash));const h=null!==(e=null!==(s=this.container.partials[o])&&void 0!==s?s:a)&&void 0!==e?e:i.a.VM.resolvePartial(void 0,void 0,n);if(void 0===h)throw new i.a.Exception(`The partial ${o} could not be found`);let u;"string"==typeof h?(u=this.env.compileAST(h,this.compileOptions),o in this.container.partials&&(this.container.partials[o]=u)):u=h;let d=u(l,n);"indent"in t&&(d=t.indent+(this.compileOptions.preventIndent?d:d.replace(/\n(?!$)/g,`\n${t.indent}`))),this.output.push(d)}processAmbiguousNode(t){var e;const s=t.path.parts[0],r=this.setupHelper(t,s);let{fn:o}=r;const n=o?t.loc:t.path.loc;o=null!==(e=o)&&void 0!==e?e:this.resolveNodes(t.path)[0],void 0===o&&(this.compileOptions.strict?o=this.container.strict(r.context,s,n):(o=null!=r.context?this.container.lookupProperty(r.context,s):r.context,null==o&&(o=this.container.hooks.helperMissing)));const a="function"==typeof o?o.call(r.context,...r.params,r.options):o;if(m(t)){const t=r.fn?a:this.container.hooks.blockHelperMissing.call(this.context,a,r.options);null!=t&&this.output.push(t)}else!1===t.escaped||!0===this.compileOptions.noEscape||"string"!=typeof a?this.output.push(a):this.output.push(i.a.escapeExpression(a))}setupHelper(t,e){return{fn:this.container.lookupProperty(this.container.helpers,e),context:this.context,params:this.resolveNodes(t.params),options:this.setupParams(t,e)}}setupDecoratorOptions(t){const e=t.path.original,s=function(t){return delete t.lookupProperty,t}(this.setupParams(t,e));if(t.params.length>0)if(this.processedRootDecorators)s.args=this.resolveNodes(t.params);else{const e=this.contexts.shift();s.args=this.resolveNodes(t.params),this.contexts.unshift(e)}else s.args=[];return s}setupParams(t,e){const s={name:e,hash:this.getHash(t),data:this.runtimeOptions.data,loc:{start:t.loc.start,end:t.loc.end},...this.defaultHelperOptions};return m(t)&&(s.fn=t.program?this.processDecorators(t.program,this.generateProgramFunction(t.program)):v,s.inverse=t.inverse?this.processDecorators(t.inverse,this.generateProgramFunction(t.inverse)):v),s}generateProgramFunction(t){var e,s;if(!t)return v;const r=(e,s={})=>{(s={...s}).data=s.data||this.runtimeOptions.data,s.blockParams&&(s.blockParams=s.blockParams.concat(this.runtimeOptions.blockParams)),s.partials=s.partials||this.runtimeOptions.partials;const r=this.runtimeOptions;this.runtimeOptions=s;const i=e!==this.context;i&&this.contexts.unshift(e),this.blockParamValues.unshift(s.blockParams||[]);const o=this.resolveNodes(t).join("");return this.blockParamValues.shift(),i&&this.contexts.shift(),this.runtimeOptions=r,o};return r.blockParams=null!==(e=null===(s=t.blockParams)||void 0===s?void 0:s.length)&&void 0!==e?e:0,r}getHash(t){const e={};if(!t.hash)return e;for(const{key:s,value:r}of t.hash.pairs)e[s]=this.resolveNodes(r)[0];return e}resolvePath(t,e,s=0){if(this.compileOptions.strict||this.compileOptions.assumeObjects)return this.strictLookup(t,e);for(;ss.render(t,e)},e.default=i.a;const k=function(){try{return new Function,!0}catch(t){return!1}}()?"compile":"compileAST"}])]);