/* handlebars v4.7.7 Copyright (C) 2011-2019 by Yehuda Katz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ 'use strict';(function(e,f){"object"===typeof exports&&"object"===typeof module?module.exports=f():"function"===typeof define&&define.amd?define([],f):"object"===typeof exports?exports.Handlebars=f():e.Handlebars=f()})(this,function(){return function(e){function f(l){if(g[l])return g[l].exports;var m=g[l]={exports:{},id:l,loaded:!1};e[l].call(m.exports,m,m.exports,f);m.loaded=!0;return m.exports}var g={};f.m=e;f.c=g;f.p="";return f(0)}([function(e,f,g){function l(){var h=a();h.compile=function(b, r){return d.compile(b,r,h)};h.precompile=function(b,r){return d.precompile(b,r,h)};h.AST=p["default"];h.Compiler=d.Compiler;h.JavaScriptCompiler=k["default"];h.Parser=n.parser;h.parse=n.parse;h.parseWithoutProcessing=n.parseWithoutProcessing;return h}var m=g(1)["default"];f.__esModule=!0;var q=g(2);q=m(q);var c=g(45),p=m(c),n=g(46),d=g(51);c=g(52);var k=m(c);c=g(49);c=m(c);g=g(44);m=m(g);var a=q["default"].create;q=l();q.create=l;m["default"](q);q.Visitor=c["default"];q["default"]=q;f["default"]= q;e.exports=f["default"]},function(e,f){f["default"]=function(g){return g&&g.__esModule?g:{"default":g}};f.__esModule=!0},function(e,f,g){function l(){var h=new p.HandlebarsEnvironment;k.extend(h,p);h.SafeString=n["default"];h.Exception=d["default"];h.Utils=k;h.escapeExpression=k.escapeExpression;h.VM=a;h.template=function(b){return a.template(b,h)};return h}var m=g(3)["default"],q=g(1)["default"];f.__esModule=!0;var c=g(4),p=m(c);c=g(37);var n=q(c);c=g(6);var d=q(c);c=g(5);var k=m(c);c=g(38);var a= m(c);g=g(44);q=q(g);g=l();g.create=l;q["default"](g);g["default"]=g;f["default"]=g;e.exports=f["default"]},function(e,f){f["default"]=function(g){if(g&&g.__esModule)return g;var l={};if(null!=g)for(var m in g)Object.prototype.hasOwnProperty.call(g,m)&&(l[m]=g[m]);l["default"]=g;return l};f.__esModule=!0},function(e,f,g){function l(k,a,h){this.helpers=k||{};this.partials=a||{};this.decorators=h||{};p.registerDefaultHelpers(this);n.registerDefaultDecorators(this)}e=g(1)["default"];f.__esModule=!0;f.HandlebarsEnvironment= l;var m=g(5),q=g(6),c=e(q),p=g(10),n=g(30);q=g(32);e=e(q);var d=g(33);f.VERSION="4.7.7";f.COMPILER_REVISION=8;f.LAST_COMPATIBLE_COMPILER_REVISION=7;f.REVISION_CHANGES={1:"\x3c\x3d 1.0.rc.2",2:"\x3d\x3d 1.0.0-rc.3",3:"\x3d\x3d 1.0.0-rc.4",4:"\x3d\x3d 1.x.x",5:"\x3d\x3d 2.0.0-alpha.x",6:"\x3e\x3d 2.0.0-beta.1",7:"\x3e\x3d 4.0.0 \x3c4.3.0",8:"\x3e\x3d 4.3.0"};l.prototype={constructor:l,logger:e["default"],log:e["default"].log,registerHelper:function(k,a){if("[object Object]"===m.toString.call(k)){if(a)throw new c["default"]("Arg not supported with multiple helpers"); m.extend(this.helpers,k)}else this.helpers[k]=a},unregisterHelper:function(k){delete this.helpers[k]},registerPartial:function(k,a){if("[object Object]"===m.toString.call(k))m.extend(this.partials,k);else{if("undefined"===typeof a)throw new c["default"]('Attempting to register a partial called "'+k+'" as undefined');this.partials[k]=a}},unregisterPartial:function(k){delete this.partials[k]},registerDecorator:function(k,a){if("[object Object]"===m.toString.call(k)){if(a)throw new c["default"]("Arg not supported with multiple decorators"); m.extend(this.decorators,k)}else this.decorators[k]=a},unregisterDecorator:function(k){delete this.decorators[k]},resetLoggedPropertyAccesses:function(){d.resetLoggedProperties()}};f.log=e["default"].log;f.createFrame=m.createFrame;f.logger=e["default"]},function(e,f){function g(d){return m[d]}function l(d){for(var k=1;k"'`=]/g,c=/[&<>"'`=]/,p=Object.prototype.toString;f.toString=p;e=function(d){return"function"===typeof d};e(/x/)&&(f.isFunction=e=function(d){return"function"===typeof d&&"[object Function]"===p.call(d)});f.isFunction=e;var n=Array.isArray||function(d){return d&&"object"===typeof d?"[object Array]"===p.call(d):!1};f.isArray=n},function(e,f,g){function l(c,p){p=p&&p.loc;var n=void 0,d=void 0,k=void 0,a=void 0; p&&(n=p.start.line,d=p.end.line,k=p.start.column,a=p.end.column,c+=" - "+n+":"+k);c=Error.prototype.constructor.call(this,c);for(var h=0;h=arguments.length||void 0===arguments[1]?{}:arguments[1],G=B;!B||D==B[0]||D===v.nullContext&&null===B[0]||(G=[D].concat(B));return z(v,D,v.helpers,v.partials,F.data||E,y&&[F.blockParams].concat(y),G)}C=c(z,C,v,B,E,y);C.program=x;C.depth=B?B.length:0;C.blockParams=A||0;return C}function m(){return""}function q(v,x){x&&"root"in x||(x=x?r.createFrame(x):{},x.root=v);return x}function c(v, x,z,E,A,y){if(v.decorator){var B={};x=v.decorator(x,B,z,E&&E[0],A,y,E);h.extend(x,B)}return x}function p(v,x){k(v).forEach(function(z){v[z]=n(v[z],x)})}function n(v,x){var z=x.lookupProperty;return t.wrapHelper(v,function(E){return h.extend({lookupProperty:z},E)})}var d=g(39)["default"],k=g(13)["default"],a=g(3)["default"];e=g(1)["default"];f.__esModule=!0;f.checkRevision=function(v){var x=v&&v[0]||1,z=r.COMPILER_REVISION;if(!(x>=r.LAST_COMPATIBLE_COMPILER_REVISION&&x<=r.COMPILER_REVISION)){if(x< r.LAST_COMPATIBLE_COMPILER_REVISION)throw new b["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r.REVISION_CHANGES[z]+") or downgrade your runtime to an older version ("+r.REVISION_CHANGES[x]+").");throw new b["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+v[1]+").");}};f.template=function(v,x){function z(y){function B(H){return""+ v.main(A,H,A.helpers,A.partials,D,G,F)}var C=1>=arguments.length||void 0===arguments[1]?{}:arguments[1],D=C.data;z._setup(C);!C.partial&&v.useData&&(D=q(y,D));var F=void 0,G=v.useBlockParams?[]:void 0;v.useDepths&&(F=C.depths?y!=C.depths[0]?[y].concat(C.depths):C.depths:[y]);B=c(v.main,B,A,C.depths||[],D,G);return B(y,C)}if(!x)throw new b["default"]("No environment passed to template");if(!v||!v.main)throw new b["default"]("Unknown template object: "+typeof v);v.main.decorator=v.main_d;x.VM.checkRevision(v.compiler); var E=v.compiler&&7===v.compiler[0],A={strict:function(y,B,C){if(!(y&&B in y))throw new b["default"]('"'+B+'" not defined in '+y,{loc:C});return A.lookupProperty(y,B)},lookupProperty:function(y,B){var C=y[B];if(null==C||Object.prototype.hasOwnProperty.call(y,B)||w.resultIsAllowed(C,A.protoAccessControl,B))return C},lookup:function(y,B){for(var C=y.length,D=0;D=arguments.length||void 0===arguments[1]?{}:arguments[1];C.data=r.createFrame(C.data);C.data["partial-block"]=E;return y(B,C)};y.partials&&(z.partials=h.extend({},z.partials,y.partials))}();void 0===v&&A&&(v=A);if(void 0===v)throw new b["default"]("The partial "+z.name+" could not be found");if(v instanceof Function)return v(x,z)};f.noop=m;f=g(5);var h= a(f);f=g(6);var b=e(f),r=g(4),u=g(10),t=g(43),w=g(33)},function(e,f,g){e.exports={"default":g(40),__esModule:!0}},function(e,f,g){g(41);e.exports=g(21).Object.seal},function(e,f,g){var l=g(42);g(18)("seal",function(m){return function(q){return m&&l(q)?m(q):q}})},function(e,f){e.exports=function(g){return"object"===typeof g?null!==g:"function"===typeof g}},function(e,f){f.__esModule=!0;f.wrapHelper=function(g,l){return"function"!==typeof g?g:function(){arguments[arguments.length-1]=l(arguments[arguments.length- 1]);return g.apply(this,arguments)}}},function(e,f){(function(g){f.__esModule=!0;f["default"]=function(l){var m="undefined"!==typeof g?g:window,q=m.Handlebars;l.noConflict=function(){m.Handlebars===l&&(m.Handlebars=q);return l}};e.exports=f["default"]}).call(f,function(){return this}())},function(e,f){f.__esModule=!0;var g={helpers:{helperExpression:function(l){return"SubExpression"===l.type||("MustacheStatement"===l.type||"BlockStatement"===l.type)&&!!(l.params&&l.params.length||l.hash)},scopedId:function(l){return/^\.|this\b/.test(l.original)}, simpleId:function(l){return 1===l.parts.length&&!g.helpers.scopedId(l)&&!l.depth}}};f["default"]=g;e.exports=f["default"]},function(e,f,g){function l(d,k){if("Program"===d.type)return d;c["default"].yy=n;n.locInfo=function(a){return new n.SourceLocation(k&&k.srcName,a)};return c["default"].parse(d)}var m=g(1)["default"];e=g(3)["default"];f.__esModule=!0;f.parseWithoutProcessing=l;f.parse=function(d,k){d=l(d,k);return(new p["default"](k)).accept(d)};var q=g(47),c=m(q);q=g(48);var p=m(q);m=g(50);e= e(m);g=g(5);f.parser=c["default"];var n={};g.extend(n,e)},function(e,f){f.__esModule=!0;var g=function(){function l(){this.yy={}}var m={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25, closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51, mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80, NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS", 80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0], [31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(c,p,n,d,k,a,h){c=a.length-1;switch(k){case 1:return a[c-1];case 2:this.$=d.prepareProgram(a[c]);break;case 3:this.$=a[c];break;case 4:this.$=a[c];break;case 5:this.$=a[c];break;case 6:this.$= a[c];break;case 7:this.$=a[c];break;case 8:this.$=a[c];break;case 9:this.$={type:"CommentStatement",value:d.stripComment(a[c]),strip:d.stripFlags(a[c],a[c]),loc:d.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:a[c],value:a[c],loc:d.locInfo(this._$)};break;case 11:this.$=d.prepareRawBlock(a[c-2],a[c-1],a[c],this._$);break;case 12:this.$={path:a[c-3],params:a[c-2],hash:a[c-1]};break;case 13:this.$=d.prepareBlock(a[c-3],a[c-2],a[c-1],a[c],!1,this._$);break;case 14:this.$=d.prepareBlock(a[c- 3],a[c-2],a[c-1],a[c],!0,this._$);break;case 15:this.$={open:a[c-5],path:a[c-4],params:a[c-3],hash:a[c-2],blockParams:a[c-1],strip:d.stripFlags(a[c-5],a[c])};break;case 16:this.$={path:a[c-4],params:a[c-3],hash:a[c-2],blockParams:a[c-1],strip:d.stripFlags(a[c-5],a[c])};break;case 17:this.$={path:a[c-4],params:a[c-3],hash:a[c-2],blockParams:a[c-1],strip:d.stripFlags(a[c-5],a[c])};break;case 18:this.$={strip:d.stripFlags(a[c-1],a[c-1]),program:a[c]};break;case 19:k=d.prepareBlock(a[c-2],a[c-1],a[c], a[c],!1,this._$);d=d.prepareProgram([k],a[c-1].loc);d.chained=!0;this.$={strip:a[c-2].strip,program:d,chain:!0};break;case 20:this.$=a[c];break;case 21:this.$={path:a[c-1],strip:d.stripFlags(a[c-2],a[c])};break;case 22:this.$=d.prepareMustache(a[c-3],a[c-2],a[c-1],a[c-4],d.stripFlags(a[c-4],a[c]),this._$);break;case 23:this.$=d.prepareMustache(a[c-3],a[c-2],a[c-1],a[c-4],d.stripFlags(a[c-4],a[c]),this._$);break;case 24:this.$={type:"PartialStatement",name:a[c-3],params:a[c-2],hash:a[c-1],indent:"", strip:d.stripFlags(a[c-4],a[c]),loc:d.locInfo(this._$)};break;case 25:this.$=d.preparePartialBlock(a[c-2],a[c-1],a[c],this._$);break;case 26:this.$={path:a[c-3],params:a[c-2],hash:a[c-1],strip:d.stripFlags(a[c-4],a[c])};break;case 27:this.$=a[c];break;case 28:this.$=a[c];break;case 29:this.$={type:"SubExpression",path:a[c-3],params:a[c-2],hash:a[c-1],loc:d.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:a[c],loc:d.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:d.id(a[c-2]), value:a[c],loc:d.locInfo(this._$)};break;case 32:this.$=d.id(a[c-1]);break;case 33:this.$=a[c];break;case 34:this.$=a[c];break;case 35:this.$={type:"StringLiteral",value:a[c],original:a[c],loc:d.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(a[c]),original:Number(a[c]),loc:d.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===a[c],original:"true"===a[c],loc:d.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0, loc:d.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:d.locInfo(this._$)};break;case 40:this.$=a[c];break;case 41:this.$=a[c];break;case 42:this.$=d.preparePath(!0,a[c],this._$);break;case 43:this.$=d.preparePath(!1,a[c],this._$);break;case 44:a[c-2].push({part:d.id(a[c]),original:a[c],separator:a[c-1]});this.$=a[c-2];break;case 45:this.$=[{part:d.id(a[c]),original:a[c]}];break;case 46:this.$=[];break;case 47:a[c-1].push(a[c]);break;case 48:this.$=[];break; case 49:a[c-1].push(a[c]);break;case 50:this.$=[];break;case 51:a[c-1].push(a[c]);break;case 58:this.$=[];break;case 59:a[c-1].push(a[c]);break;case 64:this.$=[];break;case 65:a[c-1].push(a[c]);break;case 70:this.$=[];break;case 71:a[c-1].push(a[c]);break;case 78:this.$=[];break;case 79:a[c-1].push(a[c]);break;case 82:this.$=[];break;case 83:a[c-1].push(a[c]);break;case 86:this.$=[];break;case 87:a[c-1].push(a[c]);break;case 90:this.$=[];break;case 91:a[c-1].push(a[c]);break;case 94:this.$=[];break; case 95:a[c-1].push(a[c]);break;case 98:this.$=[a[c]];break;case 99:a[c-1].push(a[c]);break;case 100:this.$=[a[c]];break;case 101:a[c-1].push(a[c])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47], 15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6], 29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1, 31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1, 32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28], 81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2, 34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38], 80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52, 54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1, 35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90], 85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84, 6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]}, {15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74, 31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103, 64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]}, {23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83], 83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2, 87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65], 80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2, 99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2, 24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2, 26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]}, {72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63], 122:[2,69],135:[2,75],136:[2,32]},parseError:function(c,p){throw Error(c);},parse:function(c){var p=[0],n=[null],d=[],k=this.table,a="",h=0,b=0,r=0;this.lexer.setInput(c);this.lexer.yy=this.yy;this.yy.lexer=this.lexer;this.yy.parser=this;"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});c=this.lexer.yylloc;d.push(c);var u=this.lexer.options&&this.lexer.options.ranges;"function"===typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var t,w,v,x,z={},E,A;;){v=p[p.length-1]; if(this.defaultActions[v])x=this.defaultActions[v];else{if(null===t||"undefined"==typeof t)t=this.lexer.lex()||1,"number"!==typeof t&&(t=this.symbols_[t]||t);x=k[v]&&k[v][t]}if(!("undefined"!==typeof x&&x.length&&x[0]||r)){A=[];for(E in k[v])this.terminals_[E]&&2c.length&&(c+=this._input.substr(0,20-c.length));return(c.substr(0,20)+(20d[0].length)){var d=c;var k=n;if(!this.options.flex)break}if(d){if(c=d[0].match(/(?:\r\n?|\n).*/g))this.yylineno+=c.length;this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+d[0].length}; this.yytext+=d[0];this.match+=d[0];this.matches=d;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(d[0].length);this.matched+=d[0];d=this.performAction.call(this,this.yy,this,p[k],this.conditionStack[this.conditionStack.length-1]);this.done&&this._input&&(this.done=!1);if(d)return d}else return""===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 c=this.next();return"undefined"!==typeof c?c:this.lex()},begin:function(c){this.conditionStack.push(c)},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(c){this.begin(c)},options:{},performAction:function(c,p,n,d){function k(a, h){return p.yytext=p.yytext.substring(a,p.yyleng-h+a)}switch(n){case 0:"\\\\"===p.yytext.slice(-2)?(k(0,1),this.begin("mu")):"\\"===p.yytext.slice(-1)?(k(0,1),this.begin("emu")):this.begin("mu");if(p.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:this.popState();if("raw"===this.conditionStack[this.conditionStack.length-1])return 15;k(5,9);return"END_RAW_BLOCK";case 5:return 15;case 6: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:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(p.yytext);this.popState();this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 29:return this.popState(), 54;case 30:return this.popState(),33;case 31:return p.yytext=k(1,2).replace(/\\"/g,'"'),80;case 32:return p.yytext=k(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;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 41:return 72;case 42:return p.yytext=p.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}}}}();m.lexer=q;l.prototype=m;m.Parser=l;return new l}();f["default"]=g;e.exports=f["default"]},function(e,f,g){function l(){this.options=0>=arguments.length||void 0===arguments[0]?{}:arguments[0]}function m(d,k,a){void 0===k&&(k=d.length);var h=d[k-1];d=d[k-2];if(!h)return a;if("ContentStatement"===h.type)return(d|| !a?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(h.original)}function q(d,k,a){void 0===k&&(k=-1);var h=d[k+1];d=d[k+2];if(!h)return a;if("ContentStatement"===h.type)return(d||!a?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(h.original)}function c(d,k,a){!(d=d[null==k?0:k+1])||"ContentStatement"!==d.type||!a&&d.rightStripped||(k=d.value,d.value=d.value.replace(a?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==k)}function p(d,k,a){if((d=d[null==k?d.length-1:k-1])&&"ContentStatement"===d.type&&(a||!d.leftStripped))return k= d.value,d.value=d.value.replace(a?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==k,d.leftStripped}var n=g(1)["default"];f.__esModule=!0;g=g(49);n=n(g);l.prototype=new n["default"];l.prototype.Program=function(d){var k=!this.options.ignoreStandalone,a=!this.isRootSeen;this.isRootSeen=!0;for(var h=d.body,b=0,r=h.length;bthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot);return this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var b=this.inlineStack;this.inlineStack=[];for(var r=0,u=b.length;r=arguments.length||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];if(n instanceof p)return n;n=l(n,this,d);return new p(d.start.line,d.start.column,this.srcFile,n)},functionCall:function(n,d,k){k=this.generateList(k);return this.wrap([n,d?"."+d+ "(":"(",k,")"])},quotedString:function(n){return'"'+(n+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(n){var d=this,k=[];q(n).forEach(function(h){var b=l(n[h],d);"undefined"!==b&&k.push([d.quotedString(h),":",b])});var a=this.generateList(k);a.prepend("{");a.add("}");return a},generateList:function(n){for(var d=this.empty(),k=0,a=n.length;ke.type).includes("back_forward")&&window.location.reload();var allBig=[],pricesdata=[];const cfPath=$(".root-container").data("path"); var currentLocale=$("html").attr("lang").toLowerCase(),currentSubLocale=currentLocale.substr(currentLocale.length-2),coloredMarkets=[],nonColoredMarkets=["En-sg","es-es","it-it","nl-nl"],recommendedDevices=[];let quesSelectedOptions=[];var deviceMacthingText=[],SelFromOne=[],SelFromTwo=[],SelFromThree=[],SelFromFour=[],SelFromFive=[],dataSubListGet,dataList1,dataList0=!1; $(document).ready(function(){JsonCustomCSS();var e=new URLSearchParams(location.search);!0===e.has("results")?($(".spinner").removeClass("d-none"),e=e.get("results").split("-"),priceDataFromAPI(),$(".top-section").addClass("d-none"),$(".area-heading.area-heading-banner").addClass("d-none"),$("#result").addClass("questioninfo-show"),$(".progressbar-container").addClass("d-none"),summationSelectedQues(e),$(".spinner").addClass("d-none"),animationToggle(),$(window).resize(function(){setHeight($(".card-inner-item")); 0<$(".banner-video").length&&(displayVideo(),$(".help-me-chose-surface .banner-video")[0].load())}),0<$(".banner-video").length&&(displayVideo(),$(".help-me-chose-surface .banner-video")[0].load()),setHeight($(".card-inner-item")),setTimeout(function(){inventoryCheck()},1E3),questionFillingScripts(),$("#question1").removeClass("questioninfo-show"),window.scrollTo({top:0,behavior:"smooth"})):(questionFillingScripts(),priceDataFromAPI())});$(".progressbar-container").addClass("d-none"); if(void 0!=cfPath){var qData=$("#HMCData").data("json");window.qData=qData} function displayCatlog(){window.qData.forEach(function(e,f){void 0!=e.product&&(e=e.product.BigID.toLowerCase(),allBig.push(e))});"zh-cn"!==currentLocale&&$.ajax({async:!1,type:"GET",url:"https://displaycatalog.mp.microsoft.com/v7.0/products?bigIds\x3d"+allBig.toString()+"\x26market\x3d"+currentSubLocale+"\x26languages\x3d"+currentLocale+"\x26MS-CV\x3dDGU1mcuYo0WMMp",contentType:"applicationhttps://www.microsoft.com/json; charset\x3dutf-8",dataType:"json",success:function(e){void 0!==e&&null!==e&&(pricesdata=e,window.pricesdata= e,$(".spinner").removeClass("d-none"),$(".progressbar-container").removeClass("d-none"),$("#HMCData").remove())},error:function(e){console.log(e)}})}function formatPrice(e,f){"es-es"===currentLocale.toLowerCase()&&(currentLocale="de-de");return e.toLocaleString(currentLocale,{style:"currency",currency:f})} function priceDataFromAPI(){"zh-cn"!==currentLocale&&(displayCatlog(),window.qData.forEach(function(e,f){var g,l,m,q,c,p=[],n=[],d=[],k=[];if(void 0!=e.product){var a=e.product.BigID.toLowerCase();void 0!=e.product.Variants&&0!=e.product.Variants.length&&e.product.Variants.forEach(function(h,b){window.pricesdata.Products.forEach(function(r,u){u=r.ProductId.toLowerCase();a==u&&r.DisplaySkuAvailabilities.forEach(function(t,w){if(t.Sku.Properties.IsPreOrder==e.product.IsPreOrder||0==e.product.hasOwnProperty("IsPreOrder")){var v= t.Sku.SkuId;t.Sku.MarketProperties.forEach(function(x,z){if(x.ConfigurationReferences){let E=[];x.ConfigurationReferences.forEach(function(A,y){E.push(A.Value)});k=E}});t.Availabilities.forEach(function(x,z){var E=x.SkuId;0==x.DisplayRank&&0!=x.OrderManagementData.Price.MSRP&&1!=x.RemediationRequired&&h.DeviceImage.forEach(function(A,y){y=void 0!==k?k.toString():"";(void 0!==A.ConfigurationReferences?A.ConfigurationReferences.toString():"").toLowerCase()==y.toLowerCase()&&v==E&&"100000"!=x.OrderManagementData.Price.MSRP&& (y=x.AvailabilityId,g=x.OrderManagementData.Price.MSRP,l=x.OrderManagementData.Price.ListPrice,m=x.OrderManagementData.Price.CurrencyCode,q=formatPrice(g,m),c=formatPrice(l,m),A.ListPrice=c,A.MSRP=q,A.AvailabilityId=y,A.SKUID=E.toLowerCase(),-1==n.indexOf(A.SKUID)&&(n.push(A.SKUID),""!==n&&(e.product.SkuidList=n),d.push(A.AvailabilityId),e.product.avaliabilityList=d),A.SavingPrice=g-l,-1==p.indexOf(A.SavingPrice)&&(p.push(A.SavingPrice),p.sort(function(B,C){return C-B}),A=formatPrice(p[0],m),void 0!= e.product.highestSaving?e.product.highestSaving=A:e.product.SaveBadge.highestSaving=A))})})}})})})}}),$(".spinner").addClass("d-none"))}function setHeight(e){var f=0;e.css("height","auto");e.each(function(g){$(this).height()>f&&(f=$(this).height())});e.css("height",f)}function storingSelectedOptions(){let e=[],f=document.querySelectorAll("input[class\x3d'selected-card']:checked");for(let l=0;l=m.length-3?!1===dataList1&&!1===dataList0?($(g).removeClass("d-none"),$(e).addClass("d-none")):($(g).addClass("d-none"),$(e).removeClass("d-none")):($(g).addClass("d-none"),$(e).removeClass("d-none")));1<=t?$(e).removeAttr("disabled"):b({summation:p,devicePriority:g[n]}));var m=indexoderofDescendingValues(l);window.sortindex=m;recommendedDevices.push(m[0],m[1],m[2]); l=window.qData[window.sortindex[0]];var q=window.qData[window.sortindex[1]],c=window.qData[window.sortindex[2]];sortedDevices(m,l,q,c,e);slider(l,q,c);resultFunc();buttonGroup();compareButton(m);$(window).resize(function(){compareButton(m)})} function compareButton(e){var f=$("#result").find(".button-group .compare-btn");e=window.matchMedia("(max-width: 860px)").matches?window.qData[e[0]].product.SerialNo+"-"+window.qData[e[1]].product.SerialNo:window.qData[e[0]].product.SerialNo+"-"+window.qData[e[1]].product.SerialNo+"-"+window.qData[e[2]].product.SerialNo;f.attr("href",window.qData[0].CommonData.Linknavigation[0].Url+"\x3d"+e);f.attr("target","_blank")} var radioGroupButton=$("#result.questioninfo .slider-image .features-icons .radio-button-group"),radioInput="input.custom-control-input"; function sortedDevices(e,f,g,l,m){function q(h,b,r){for(var u=0;u!D.includes(F));w=SelFromTwo.filter(F=>!D.includes(F));v=SelFromThree.filter(F=>!D.includes(F));x= SelFromFour.filter(F=>!D.includes(F));z=SelFromFive.filter(F=>!D.includes(F));q(SelFromOne,D,E);q(SelFromTwo,D,A);q(SelFromThree,D,y);q(SelFromFour,D,B);q(SelFromFive,D,C);h=[window.qData[0].CommonData.DeviceMatchingtext[t.join("")],window.qData[0].CommonData.DeviceMatchingtext[w.join("")],window.qData[0].CommonData.DeviceMatchingtext[v.join("")],window.qData[0].CommonData.DeviceMatchingtext[z.join("")],window.qData[0].CommonData.DeviceMatchingtext[x.join("")]];E=[window.qData[0].CommonData.DeviceMatchingtext[E.join("")], window.qData[0].CommonData.DeviceMatchingtext[A.join("")],window.qData[0].CommonData.DeviceMatchingtext[y.join("")],window.qData[0].CommonData.DeviceMatchingtext[C.join("")],window.qData[0].CommonData.DeviceMatchingtext[B.join("")]];fillingScript("#device-feature-text",h,r);"true"==window.qData[0].CommonData.DeviceMatchingtext.NonmatchingText&&fillingScript("#device-feature-text",E,u)}function p(h,[b,r,u,t],[w,v,x,z]){for(var E=0;Eh.find(r=>r===b)?!0:!1)(m,"q4a5")&&$(".slider-image-group .see-bussiness").removeClass("d-none");""!==f.RefurbishedCTA.Text&&fillingScript("#see-bussiness",f.RefurbishedCTA,".refurbished-cta-one"); ""!==g.RefurbishedCTA.Text&&fillingScript("#see-bussiness",g.RefurbishedCTA,".refurbished-cta-two");""!==l.RefurbishedCTA.Text&&fillingScript("#see-bussiness",l.RefurbishedCTA,".refurbished-cta-three")} function slider(e,f,g){$("#result.questioninfo .slider-image-group").each(function(){var l=$(this).find(".slider-image-name a").attr("data-order"),m=$(this).find(".slider-image-name a").attr("device-order"),q=[$(this).find(".slider-main-display .slider-container .slider-main.d-block .slider-wrap").attr("data-squid")],c=[$(this).find(".slider-main-display .slider-container .slider-main.d-block .slider-wrap").attr("data-varient")],p=$(this).find(".slider-main-display .slider-container .slider-main.d-block .slider-wrap .slider-image-container").attr("image-color"), n=$(this).find(".collapse .py-2:not(.d-none)").length;1>n&&$(this).find(".form-group .accordion").addClass("d-none");1<=n&&$(this).find(".form-group .accordion").removeClass("d-none");inStockAvailability(m,l,q,c,m);var d=[];$(this).find(".radio-button-group .form-group .custom-control").first().addClass("active");l=$(this).find(".radio-button-group .form-group .custom-control.active .custom-control-label .device-price .config-text").text();c=$(this).find(".review-selection a.glyph-append").attr("aria-label"); $(this).find(".review-selection a.glyph-append").attr("aria-label",c+" "+l);l=$(this).find(".slider-main-display .slider-container .slider-main.d-block .slider-wrap").attr("data-cn-review");c=$(this).find(".slider-main-display .slider-container .slider-main.d-block .slider-wrap").attr("data-review-buy");"zh-cn"!==currentLocale?(l=$(this).find(".review-selection a.glyph-append").attr("href"),$(this).find(".review-selection a.glyph-append").attr("href",l+"/"+q)):($(this).find(".review-selection a.glyph-append").attr("href", l),$(this).find(".review-selection a.glyph-append").text(c));var k=$(this).find(".slider-main-display .slider-container .slider-main.d-block .color-picker .color-picker-control:checked").attr("data-price-list"),a=$(this).find(".slider-main-display .slider-container .slider-main.d-block .color-picker .color-picker-control:checked").attr("data-price-msrp"),h=$(this).find(".slider-main-display .slider-container .slider-main.d-block .color-picker .color-picker-control:checked").attr("name"),b=$(this).find(".slider-main-display .slider-container .slider-main.d-block .color-picker .color-picker-control:checked").attr("id"); colorNameCenter($(this).find(".configuration-section .slider-container .slider-main.d-block .color-picker .color-picker-control"),$(this).find(".slider-main-display .slider-main.d-block .color-picker .color-picker-color-name"));$(this).find(".features-icons .radio-button-group .custom-radio.active").each(function(){var u=$(this).find(".custom-control-input").attr("value");$(this).find(".custom-control-label .device-price .sku-listprice").text();h==u&&("0"==k?$(this).find(".custom-control-label .device-price .config-price").addClass("d-none"): ($(this).find(".custom-control-label .device-price .config-price").removeClass("d-none"),$(this).find(".custom-control-label .device-price .sku-listprice").text(k),$(this).find(".custom-control-label .device-price .sku-price").text(a)))});var r=[];window.qData[m].product.Variants.forEach(function(u,t){u.DeviceImage.forEach(function(w,v){w.ColorId==b&&(d.push(w.InStock),r.push(w.CommingSoonText))})});""==r?"false"!=d&&""!=d&&void 0!=d||"zh-cn"===currentLocale?($(this).closest("#result.questioninfo .slider-image-group").find(".review-selection").removeClass("d-none"), $(this).closest("#result.questioninfo .slider-image-group").find(".shop-now-btn").addClass("d-none"),$(this).closest("#result.questioninfo .slider-image-group").find(".comming-soon-btn").addClass("d-none"),m=$(this).closest(".slider-image-group").find(".slider-main-display .slider-container .slider-main.d-block input:checked").attr("data-color-name"),$(this).closest(".slider-image-group .configuration-section").find(".color-picker-color-name").text(m)):($(this).closest("#result.questioninfo .slider-image-group").find(".review-selection").addClass("d-none"), $(this).closest("#result.questioninfo .slider-image-group").find(".shop-now-btn").removeClass("d-none"),$(this).closest("#result.questioninfo .slider-image-group").find(".comming-soon-btn").addClass("d-none")):($(this).closest("#result.questioninfo .slider-image-group").find(".review-selection").addClass("d-none"),$(this).closest("#result.questioninfo .slider-image-group").find(".shop-now-btn").addClass("d-none"),$(this).closest("#result.questioninfo .slider-image-group").find(".comming-soon-btn").removeClass("d-none")); $(this).find(".slider-main .color-picker .color-picker-color-name").text(p);p=$(this).find(".badge .highest-saving").text();p="en-us"==currentLocale?p.slice(1):p.replace(/[^a-zA-Z0-9]/g,"");0!=parseInt(p)&&0!=p||$(this).find(".savebadge .badge").addClass("hidden-zero")})}function setURLSearchParam(e,f){const g=new URL(window.location.href);g.searchParams.set(e,f);window.history.replaceState({},"",g)} function buttonGroup(){$(".button-group .print-btn").click(function(e){$(".uhf").addClass("d-none");$(".animationtoggle").addClass("d-none");window.print();$(".uhf").removeClass("d-none");$(".animationtoggle").removeClass("d-none")});$(".button-group .copy-link-btn").on("click",function(){var e=$("\x3cinput\x3e"),f=$(location).attr("href");$("body").append(e);e.val(f).select();document.execCommand("copy");e.remove();0==$(".clipboard").length&&($("\x3cspan class\x3d'clipboard bg-blue p-1' style\x3d'position: absolute; bottom: 120px; font-size: 10px'\x3e\x3c/span\x3e").insertAfter(".copy-link-btn"), setTimeout(()=>{$(".clipboard").text(commonData.CopyClip)},5),setTimeout(()=>{$(".button-group li .clipboard").remove()},2E3))});$("#result .button-group .cta").keydown(function(e){!$(".button-group .glyph-prepend .cta").is(":focus")||"Enter"!=e.key&&32!=e.keyCode||(e.preventDefault(),$(this).children().click())});$(".button-group .start-over-btn").click(function(){var e=window.location.href,f=e.split("results\x3d");-1!=e.toLowerCase().indexOf("results")&&(f[1]="",window.history.replaceState({},"", f[0]));$("#result").removeClass("questioninfo-show");$(".top-section").removeClass("d-none");$(".area-heading-banner").removeClass("d-none");$(".progressbar-container").addClass("d-block");$(".collapse .py-2").removeClass("d-none");$("#result.questioninfo .slider-image-group .collapse").removeClass("show");$(".slider-image-group .see-bussiness").addClass("d-none");$(".slider-image-group .refurbished-cta a").remove();$(".slider-image .slider-container").each(function(){$(this).find(".slider-main.d-block").removeClass("d-block").addClass("d-none"); $(this).find(".slider-main:first").addClass("d-block").removeClass("d-none")});questionFillingScripts();document.querySelectorAll(".area-heading-banner")[0].scrollIntoView();$(".hmc-static-components").css("display","none")})} function indexoderofDescendingValues(e){var f=e.slice(0);const g=[];f.sort(function(m,q){if(q.summation===m.summation)return m.devicePriority-q.devicePriority;q.devicePriority-m.devicePriority;return q.summation-m.summation});for(var l=0;lnavigator.userAgent.toLowerCase().indexOf("iphone")&&(g.get(0).currentTime=0,g.get(0).play())}var f=$(".questioninfo .button-tooltip .accessory-card .glowing-bulb"), g=$(".banner-video"),l=$(".device1 .slider-right .slider-container");$("body").hasClass("animation-off")?(f.removeClass("glowing-bulb-animation"),g.addClass("d-none"),l.removeClass("d-md-none").addClass("d-block d-md-block"),e("animation-toggle animation-off")):(f.addClass("glowing-bulb-animation"),g.removeClass("d-none"),l.addClass("d-md-none").removeClass("d-block d-md-block"),e("animation-on animation-toggle"));document.addEventListener("AEM_ANIMATION_ENABLED",m=>{$("body").hasClass("animation-off")? (f.removeClass("glowing-bulb-animation"),g.addClass("d-none"),l.removeClass("d-md-none").addClass("d-block d-md-block"),e("animation-toggle animation-off")):(f.addClass("glowing-bulb-animation"),g.removeClass("d-none"),l.addClass("d-md-none").removeClass("d-block d-md-block"),e("animation-on animation-toggle"));!0===m.detail&&window.matchMedia("(max-width: 860px)").matches&&(l.removeClass("d-md-none").addClass("d-block"),g.addClass("d-none"))})} function JsonCustomCSS(){var e=window.qData[0].CommonData.dynamicCss;if(null!=e&&void 0!=e){var f=document.querySelector(":root"),g="--rootContainerBgColor --colorWhite --questionBG --q1blinkerColor --q2blinkerColor --q3blinkerColor --q4blinkerColor --q4aBlinkerColor --progressBGColor --q1CardBorderColor --q2CardBorderColor --q3CardBorderColor --q4CardBorderColor --q4aCardBorderColor --q1CardBGColor --q2CardBGColor --q3CardBGColor --q4CardBGColor --q4aCardBGColor --q1CardOnHoverBoxShadowColor --q2CardOnHoverBoxShadowColor --q3CardOnHoverBoxShadowColor --q4CardOnHoverBoxShadowColor --q4aCardOnHoverBoxShadowColor --q1CardOnHoverBorderColor --q2CardOnHoverBorderColor --q3CardOnHoverBorderColor --q4CardOnHoverBorderColor --q4aCardOnHoverBorderColor --q1glowBulbColor --q2glowBulbColor --q3glowBulbColor --q4glowBulbColor --q4aglowBulbColor --qInfoCardSelectedFocusColor --qInfoCardSelectedFocusOutline --qInfoButtonColor --qInfoButtonBGColor --qInfoButtonOnHoverColor --qInfoButtonOnHoverBGColor --gradientDeviceNameColor --spinerBGColor --figCaptionColor --resultsQInfoHrLineColor --highlightOneDeviceBGColor --highlightTwoDeviceBgColor --question1BgColor --question2BgColor --question3BgColor --question4BgColor --question4aBgColor --question1SelectedBgColor --question2SelectedBgColor --question3SelectedBgColor --question4SelectedBgColor --question4aSelectedBgColor --recommendedSectionBgColor --highlightSurface --highlightWindows".split(" "); e=[e.RootContainerBgColor,e.ColorWhite,e.QuestionBG,e.Q1BlinkerColor,e.Q2BlinkerColor,e.Q3BlinkerColor,e.Q4BlinkerColor,e.Q4aBlinkerColor,e.ProgressBGColor,e.Q1CardBorderColor,e.Q2CardBorderColor,e.Q3CardBorderColor,e.Q4CardBorderColor,e.Q4aCardBorderColor,e.Q1CardBGColor,e.Q2CardBGColor,e.Q3CardBGColor,e.Q4CardBGColor,e.Q4aCardBGColor,e.Q1CardOnHoverBoxShadowColor,e.Q2CardOnHoverBoxShadowColor,e.Q3CardOnHoverBoxShadowColor,e.Q4CardOnHoverBoxShadowColor,e.Q4aCardOnHoverBoxShadowColor,e.Q1CardOnHoverBorderColor, e.Q2CardOnHoverBorderColor,e.Q3CardOnHoverBorderColor,e.Q4CardOnHoverBorderColor,e.Q4aCardOnHoverBorderColor,e.Q1glowBulbColor,e.Q2glowBulbColor,e.Q3glowBulbColor,e.Q4glowBulbColor,e.Q4aglowBulbColor,e.QInfoCardSelectedFocusColor,e.QInfoCardSelectedFocusOutline,e.QInfoButtonColor,e.QInfoButtonBGColor,e.QInfoButtonOnHoverColor,e.QInfoButtonOnHoverBGColor,e.GradientDeviceNameColor,e.SpinerBGColor,e.FigCaptionColor,e.ResultsQInfoHrLineColor,e.HighlightOneDeviceBGColor,e.HighlightTwoDeviceBgColor,e.Question1BgColor, e.Question2BgColor,e.Question3BgColor,e.Question4BgColor,e.Question4aBgColor,e.Question1SelectedBgColor,e.Question2SelectedBgColor,e.Question3SelectedBgColor,e.Question4SelectedBgColor,e.Question4aSelectedBgColor,e.RecommendedSectionBgColor,e.HighlightSurface,e.HighlightWindows];for(let l=0;l