// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
define("dojo/_base/declare dojo/_base/html dojo/_base/lang dojo/on dojo/query dojo/_base/array dojo/dom-construct dijit/form/Select".split(" "),function(l,d,g,m,n,p,h,q){return l([q],{postCreate:function(){this.inherited(arguments);var b=this["aria-label"],k=this["aria-labelledby"];if(b&&"focusNode"!==b){var e='\x3ccaption class\x3d"screen-readers-only-no-position"\x3e'+b+"\x3c/caption\x3e";b=d.toDom(e);h.place(b,this.domNode,"first")}else k?setTimeout(g.hitch(this,function(){var a=k.split(" "),f=
[];p.forEach(a,function(c){(c=n("#"+c)[0])&&""!==c&&c.innerHTML&&f.push(c.innerHTML)});0<f.length&&(e='\x3ccaption class\x3d"screen-readers-only-no-position"\x3e'+f.join(" ")+"\x3c/caption\x3e",a=d.toDom(e),h.place(a,this.domNode,"first"))}),1E3):(this.setAttrs=function(){this.domNode.title="";var a=this.get("value");a&&(a=this.getOptions(a),this.domNode.title=a.label,d.setAttr(this.domNode,"aria-label",a.label))},this.setAttrs(),m(this,"change",g.hitch(this,this.setAttrs)))}})});