//>>built
define("dijit/_TemplatedMixin","dojo/cache dojo/_base/declare dojo/dom-construct dojo/_base/lang dojo/on dojo/sniff dojo/string ./_AttachMixin".split(" "),function(m,n,h,k,p,q,l,r){var f=n("dijit._TemplatedMixin",r,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(a){var b=this.declaredClass,e=this;return l.substitute(a,this,function(c,d){"!"==d.charAt(0)&&(c=k.getObject(d.substr(1),!1,e));if("undefined"==typeof c)throw Error(b+" template:"+d);return null==
c?"":"!"==d.charAt(0)?c:this._escapeValue(""+c)},this)},_escapeValue:function(a){return a.replace(/["'<>&]/g,function(b){return{"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#x27;"}[b]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=m(this.templatePath,{sanitize:!0}));var a=f.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);if(k.isString(a)){var b=h.toDom(this._stringRepl(a),this.ownerDocument);
if(1!=b.nodeType)throw Error("Invalid template: "+a);}else b=a.cloneNode(!0);this.domNode=b}this.inherited(arguments);this._rendered||this._fillContent(this.srcNodeRef);this._rendered=!0},_fillContent:function(a){var b=this.containerNode;if(a&&b)for(;a.hasChildNodes();)b.appendChild(a.firstChild)}});f._templateCache={};f.getCachedTemplate=function(a,b,e){var c=f._templateCache,d=a,g=c[d];if(g){try{if(!g.ownerDocument||g.ownerDocument==(e||document))return g}catch(t){}h.destroy(g)}a=l.trim(a);if(b||
a.match(/\$\{([^\}]+)\}/g))return c[d]=a;b=h.toDom(a,e);if(1!=b.nodeType)throw Error("Invalid template: "+a);return c[d]=b};q("ie")&&p(window,"unload",function(){var a=f._templateCache,b;for(b in a){var e=a[b];"object"==typeof e&&h.destroy(e);delete a[b]}});return f});