2 lines
14 KiB
Plaintext
2 lines
14 KiB
Plaintext
|
)]}'
|
||
|
{"version":3,"sources":["spacebars/spacebars-runtime.js","spacebars/dynamic.html","spacebars/dynamic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,e;;AAEA,uD;;AAEA,0E;AACA,2B;AACA,gB;;AAEA,iD;AACA,sC;AACA,qC;AACA,uE;AACA,mE;AACA,G;;AAEA,0D;AACA,0D;AACA,qC;AACA,0B;AACA,kB;;AAEA,qC;AACA,uE;;AAEA,yD;AACA,K;AACA,mC;AACA,kC;AACA,8B;AACA,4C;AACA,O;AACA,K;;AAEA,c;AACA,E;;AAEA,+D;AACA,2D;AACA,2B;AACA,E;AACA,oD;AACA,oE;AACA,U;AACA,qD;AACA,uB;AACA,kE;AACA,wB;AACA,wB;AACA,mC;AACA,yC;AACA,0B;AACA,wD;AACA,6B;AACA,mD;AACA,oB;AACA,Y;AACA,yD;AACA,uB;AACA,8B;AACA,2B;AACA,yD;AACA,O;AACA,oD;AACA,K;AACA,G;;AAEA,0C;AACA,E;;AAEA,iD;AACA,6D;;AAEA,6C;AACA,uC;AACA,M;AACA,uE;AACA,kE;AACA,6E;AACA,wE;AACA,E;;AAEA,qD;AACA,6D;;AAEA,wC;AACA,gB;AACA,0C;AACA,kB;AACA,+E;AACA,iB;AACA,qB;AACA,e;AACA,U;AACA,0E;AACA,G;AACA,E;;AAEA,qD;AACA,6D;;AAEA,gB;AACA,E;;AAEA,mC;AACA,E;AACA,mE;AACA,qD;AACA,sC;AACA,yC;AACA,gB;AACA,qC;AACA,iB;AACA,M;AACA,2B;AACA,E;;AAEA,2D;AACA,8D;AACA,iE;AACA,sB;AACA,6C;AACA,oC;AACA,iE;AACA,qB;AACA,gD;AACA,6B;AACA,+D;AACA,K;;AAEA,sC;AACA,U;AACA,6B;AACA,2D;;AAEA,iB;AACA,G;AACA,E;;AAEA,0D;AACA,gC;AACA,gC;AACA,uC;AACA,wC;AACA,kC;;AAEA,yB;AACA,E;;AAEA,sE;AACA,gF;AACA,wC;AACA,+C;AACA,wC;AACA,0C;;AAEA,yC;AACA,E;AACA,iE;;AAEA,6D;AACA,2D;AACA,4D;AACA,4D;AACA,2D;AACA,W;AACA,E;AACA,gE;AACA,qE;AACA,oE;AACA,E;AACA,4D;AACA,E;AACA,qC;AACA,E;AACA,4D;AACA,E;AACA,yC;AACA,E;AACA,8D;AACA,qD;AACA,6B;AACA,mE;AACA,qC;AACA,4B;AACA,mD;AACA,6C;AACA,wE;AACA,qD;AACA,G;;AAEA,kC;AACA,oB;;AAEA,c;AACA,qD;;AAEA,0B;AACA,mC;AACA,kB;AACA,oD;AACA,mE;AACA,mC;AACA,0C;AACA,I;AACA,E;;AAEA,+D;AACA,8D;AACA,8D;AACA,2D;AACA,uB;AACA,4D;AACA,qC;AACA,uD;AACA,yD;AACA,iE;AACA,8D;AACA,8B;AACA,K;AACA,kC;AACA,8B;AACA,4B;;AAEA,wD;AACA,4D;AACA,2C;;AAEA,wC;AACA,6B;AACA,S;;AAEA,gE;AACA,+D;AACA,+C;AACA,Q;AACA,2C;AACA,Q;AACA,qD;AACA,gC;AACA,mC;AACA,kC;AACA,oC;AACA,Q;AACA,kE;AACA,sE;AACA,oE;AACA,qE;AACA,uB;AACA,Q;AACA,oE;AACA,uD;AACA,8C;AACA,Q;AACA,uC;AACA,8C;AACA,oB;AACA,4D;AACA,Q;AACA,6B;AACA,Q;AACA,iE;AACA,oB;AACA,4D;AACA,Q;AACA,oE;AACA,gE;AACA,sE;AACA,gE;AACA,oB;AACA,O;AACA,K;;AAEA,c;AACA,E;;AAEA,wB;AACA,6C;;;;;;;;;;;;;;;;;;;;ACnRA,kC;AACA,wE;AACA,kB;AACA,yD;AACA,2D;AACA,mC;AACA,6D;AACA,iB;AACA,oG;AACA,iB;AACA,6D;AACA,c;AACA,0D;AACA,+C;AACA,Q;AACA,mB;AACA,gF;AACA,iB;AACA,O;AACA,I;;AAEA,iD;AACA,sG;AACA,kB;AACA,oC;AACA,0F;AACA,iB;AACA,uD;AACA,sE;AACA,mB;AACA,0D;AACA,qB;AACA,K;AACA,I;;;;;;;;;;;;;;;;;;;AClCA,G;AACA,mB;AACA,qB;AACA,oB;AACA,8D;AACA,mB;AACA,gE;AACA,sF;AACA,G;;AAEA,2C;AACA,mC;AACA,kC;AACA,G;AACA,G;;AAEA,4B;AACA,mC;AACA,+B;AACA,I;AACA,6B;AACA,oC;AACA,uE;AACA,oD;AACA,K;;AAEA,kC;AACA,6C;AACA,wE;AACA,2B;AACA,O;AACA,O;AACA,G;AACA,G","file":"/packages/spacebars.js","sourcesContent":["Spacebars = {};\n\nvar tripleEquals = function (a, b) { return a === b; };\n\nSpacebars.include = function (templateOrFunction, contentFunc, elseFunc) {\n if (! templateOrFunction)\n return null;\n\n if (typeof templateOrFunction !== 'function') {\n var template = templateOrFunction;\n if (! Blaze.isTemplate(template))\n throw new Error(\"Expected template or null, found: \" + template);\n return templateOrFunction.constructView(contentFunc, elseFunc);\n }\n\n var templateVar = Blaze.ReactiveVar(null, tripleEquals);\n var view = Blaze.View('Spacebars.include', function () {\n var template = templateVar.get();\n if (template === null)\n return null;\n\n if (! Blaze.isTemplate(template))\n throw new Error(\"Expected template or null, found: \" + template);\n\n return template.constructView(contentFunc, elseFunc);\n });\n view.__templateVar = templateVar;\n view.onViewCreated(function () {\n this.autorun(function () {\n templateVar.set(templateOrFunction());\n });\n });\n\n return view;\n};\n\n// Executes `{{foo bar baz}}` when called on `(foo, bar, baz)`.\n// If `bar` and `baz` are functions, they are called before\n// `foo` is called on them.\n//\n// This is the shared part of Spacebars.mustache and\n// Spacebars.attrMustache, which differ in how they post-process the\n// result.\nSpacebars.mustacheImpl = function (value/*
|