/*
	Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dojox/mobile/EdgeToEdgeList":function(){define("dojox/mobile/EdgeToEdgeList",["dojo/_base/declare","./RoundRectList"],function(_1,_2){return _1("dojox.mobile.EdgeToEdgeList",_2,{buildRendering:function(){this.inherited(arguments);this.domNode.className="mblEdgeToEdgeList";}});});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./domReady","./_base/window"],function(_3,_4,_5,on,_6,_7,_8,_9){var _a=_6("touch");var _b=false;if(_6("ios")){var ua=navigator.userAgent;var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));_b=os<5;}var _c;function _d(_e,_f){if(_a){return function(_10,_11){var _12=on(_10,_f,_11),_13=on(_10,_e,function(evt){if(!_c||(new Date()).getTime()>_c+1000){_11.call(this,evt);}});return {remove:function(){_12.remove();_13.remove();}};};}else{return function(_14,_15){return on(_14,_e,_15);};}};var _16,_17;if(_a){_8(function(){_17=_9.body();_9.doc.addEventListener("touchstart",function(evt){_c=(new Date()).getTime();var _18=_17;_17=evt.target;on.emit(_18,"dojotouchout",{target:_18,relatedTarget:_17,bubbles:true});on.emit(_17,"dojotouchover",{target:_17,relatedTarget:_18,bubbles:true});},true);on(_9.doc,"touchmove",function(evt){_c=(new Date()).getTime();var _19=_9.doc.elementFromPoint(evt.pageX-(_b?0:_9.global.pageXOffset),evt.pageY-(_b?0:_9.global.pageYOffset));if(_19&&_17!==_19){on.emit(_17,"dojotouchout",{target:_17,relatedTarget:_19,bubbles:true});on.emit(_19,"dojotouchover",{target:_19,relatedTarget:_17,bubbles:true});_17=_19;}});});_16=function(_1a,_1b){return on(_9.doc,"touchmove",function(evt){if(_1a===_9.doc||_5.isDescendant(_17,_1a)){evt.target=_17;_1b.call(this,evt);}});};}var _1c={press:_d("mousedown","touchstart"),move:_d("mousemove",_16),release:_d("mouseup","touchend"),cancel:_d(_7.leave,"touchcancel"),over:_d("mouseover","dojotouchover"),out:_d("mouseout","dojotouchout"),enter:_7._eventHandler(_d("mouseover","dojotouchover")),leave:_7._eventHandler(_d("mouseout","dojotouchout"))};1&&(_3.touch=_1c);return _1c;});},"dojox/mobile/iconUtils":function(){define("dojox/mobile/iconUtils",["dojo/_base/array","dojo/_base/config","dojo/_base/connect","dojo/_base/event","dojo/_base/lang","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","./sniff"],function(_1d,_1e,_1f,_20,_21,win,_22,_23,_24,has){var dm=_21.getObject("dojox.mobile",true);var _25=function(){this.setupSpriteIcon=function(_26,_27){if(_26&&_27){var arr=_1d.map(_27.split(/[ ,]/),function(_28){return _28-0;});var t=arr[0];var r=arr[1]+arr[2];var b=arr[0]+arr[3];var l=arr[1];_24.set(_26,{clip:"rect("+t+"px "+r+"px "+b+"px "+l+"px)",top:(_26.parentNode?_24.get(_26,"top"):0)-t+"px",left:-l+"px"});_22.add(_26,"mblSpriteIcon");}};this.createDomButton=function(_29,_2a,_2b){if(!this._domButtons){if(has("webkit")){var _2c=function(_2d,dic){var i,j;if(!_2d){var _2e={};var ss=win.doc.styleSheets;for(i=0;i<ss.length;i++){ss[i]&&_2c(ss[i],_2e);}return _2e;}var _2f=_2d.cssRules||[];for(i=0;i<_2f.length;i++){var _30=_2f[i];if(_30.href&&_30.styleSheet){_2c(_30.styleSheet,dic);}else{if(_30.selectorText){var _31=_30.selectorText.split(/,/);for(j=0;j<_31.length;j++){var sel=_31[j];var n=sel.split(/>/).length-1;if(sel.match(/(mblDomButton\w+)/)){var cls=RegExp.$1;if(!dic[cls]||n>dic[cls]){dic[cls]=n;}}}}}}return dic;};this._domButtons=_2c();}else{this._domButtons={};}}var s=_29.className;var _32=_2b||_29;if(s.match(/(mblDomButton\w+)/)&&s.indexOf("/")===-1){var _33=RegExp.$1;var _34=4;if(s.match(/(mblDomButton\w+_(\d+))/)){_34=RegExp.$2-0;}else{if(this._domButtons[_33]!==undefined){_34=this._domButtons[_33];}}var _35=null;if(has("bb")&&_1e["mblBBBoxShadowWorkaround"]!==false){_35={style:"-webkit-box-shadow:none"};}for(var i=0,p=_32;i<_34;i++){p=p.firstChild||_23.create("div",_35,p);}if(_2b){setTimeout(function(){_22.remove(_29,_33);},0);_22.add(_2b,_33);}}else{if(s.indexOf(".")!==-1){_23.create("img",{src:s},_32);}else{return null;}}_22.add(_32,"mblDomButton");!!_2a&&_24.set(_32,_2a);return _32;};this.createIcon=function(_36,_37,_38,_39,_3a,_3b,pos){_39=_39||"";if(_36&&_36.indexOf("mblDomButton")===0){if(!_38){_38=_23.create("div",null,_3b||_3a,pos);}else{if(_38.className.match(/(mblDomButton\w+)/)){_22.remove(_38,RegExp.$1);}}_38.title=_39;_22.add(_38,_36);this.createDomButton(_38);}else{if(_36&&_36!=="none"){if(!_38||_38.nodeName!=="IMG"){_38=_23.create("img",{alt:_39},_3b||_3a,pos);}_38.src=(_36||"").replace("${theme}",dm.currentTheme);this.setupSpriteIcon(_38,_37);if(_37&&_3a){var arr=_37.split(/[ ,]/);_24.set(_3a,{width:arr[2]+"px",height:arr[3]+"px"});_22.add(_3a,"mblSpriteIconParent");}_1f.connect(_38,"ondragstart",_20,"stop");}}return _38;};this.iconWrapper=false;this.setIcon=function(_3c,_3d,_3e,alt,_3f,_40,pos){if(!_3f||!_3c&&!_3e){return null;}if(_3c&&_3c!=="none"){if(!this.iconWrapper&&_3c.indexOf("mblDomButton")!==0&&!_3d){if(_3e&&_3e.tagName==="DIV"){_23.destroy(_3e);_3e=null;}_3e=this.createIcon(_3c,null,_3e,alt,_3f,_40,pos);_22.add(_3e,"mblImageIcon");}else{if(_3e&&_3e.tagName==="IMG"){_23.destroy(_3e);_3e=null;}_3e&&_23.empty(_3e);if(!_3e){_3e=_23.create("div",null,_40||_3f,pos);}this.createIcon(_3c,_3d,null,null,_3e);if(alt){_3e.title=alt;}}_22.remove(_3f,"mblNoIcon");return _3e;}else{_23.destroy(_3e);_22.add(_3f,"mblNoIcon");return null;}};};return new _25();});},"dojox/mobile/uacss":function(){define("dojox/mobile/uacss",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/window","./sniff"],function(_41,_42,win,has){var _43=win.doc.documentElement;_43.className=_42.trim(_43.className+" "+[has("bb")?"dj_bb":"",has("android")?"dj_android":"",has("iphone")?"dj_iphone":"",has("ipod")?"dj_ipod":"",has("ipad")?"dj_ipad":""].join(" ").replace(/ +/g," "));return _41;});},"dojox/mobile/Pane":function(){define("dojox/mobile/Pane",["dojo/_base/array","dojo/_base/declare","dijit/_Contained","dijit/_WidgetBase"],function(_44,_45,_46,_47){return _45("dojox.mobile.Pane",[_47,_46],{baseClass:"mblPane",buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},resize:function(){_44.forEach(this.getChildren(),function(_48){if(_48.resize){_48.resize();}});}});});},"dojox/mobile/RoundRect":function(){define("dojox/mobile/RoundRect",["dojo/_base/declare","dojo/dom-class","./Container"],function(_49,_4a,_4b){return _49("dojox.mobile.RoundRect",_4b,{shadow:false,baseClass:"mblRoundRect",buildRendering:function(){this.inherited(arguments);if(this.shadow){_4a.add(this.domNode,"mblShadow");}}});});},"dojox/mobile/ListItem":function(){define("dojox/mobile/ListItem",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dijit/registry","dijit/_WidgetBase","./iconUtils","./_ItemBase","./ProgressIndicator"],function(_4c,_4d,_4e,_4f,_50,_51,_52,_53,_54,_55,_56){var _57=_4d("dojox.mobile.ListItem",_55,{rightText:"",rightIcon:"",rightIcon2:"",deleteIcon:"",anchorLabel:false,noArrow:false,checked:false,arrowClass:"",checkClass:"",uncheckClass:"",variableHeight:false,rightIconTitle:"",rightIcon2Title:"",header:false,tag:"li",busy:false,progStyle:"",paramsToInherit:"variableHeight,transition,deleteIcon,icon,rightIcon,rightIcon2,uncheckIcon,arrowClass,checkClass,uncheckClass,deleteIconTitle,deleteIconRole",baseClass:"mblListItem",_selStartMethod:"touch",_selEndMethod:"timer",_delayedSelection:true,_selClass:"mblListItemSelected",buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||_50.create(this.tag);this.inherited(arguments);if(this.selected){_4f.add(this.domNode,this._selClass);}if(this.header){_4f.replace(this.domNode,"mblEdgeToEdgeCategory",this.baseClass);}this.labelNode=_50.create("div",{className:"mblListItemLabel"});var ref=this.srcNodeRef;if(ref&&ref.childNodes.length===1&&ref.firstChild.nodeType===3){this.labelNode.appendChild(ref.firstChild);}this.domNode.appendChild(this.labelNode);if(this.anchorLabel){this.labelNode.style.display="inline";this.labelNode.style.cursor="pointer";this._anchorClickHandle=this.connect(this.labelNode,"onclick","_onClick");this.onTouchStart=function(e){return (e.target!==this.labelNode);};}this._layoutChildren=[];},startup:function(){if(this._started){return;}var _58=this.getParent();var _59=this.getTransOpts();if(_59.moveTo||_59.href||_59.url||this.clickable||(_58&&_58.select)){this._keydownHandle=this.connect(this.domNode,"onkeydown","_onClick");}else{this._handleClick=false;}this.inherited(arguments);if(_4f.contains(this.domNode,"mblVariableHeight")){this.variableHeight=true;}if(this.variableHeight){_4f.add(this.domNode,"mblVariableHeight");this.defer(_4e.hitch(this,"layoutVariableHeight"),0);}if(!this._isOnLine){this._isOnLine=true;this.set({icon:this._pending_icon!==undefined?this._pending_icon:this.icon,deleteIcon:this._pending_deleteIcon!==undefined?this._pending_deleteIcon:this.deleteIcon,rightIcon:this._pending_rightIcon!==undefined?this._pending_rightIcon:this.rightIcon,rightIcon2:this._pending_rightIcon2!==undefined?this._pending_rightIcon2:this.rightIcon2,uncheckIcon:this._pending_uncheckIcon!==undefined?this._pending_uncheckIcon:this.uncheckIcon});delete this._pending_icon;delete this._pending_deleteIcon;delete this._pending_rightIcon;delete this._pending_rightIcon2;delete this._pending_uncheckIcon;}if(_58&&_58.select){this.set("checked",this._pendingChecked!==undefined?this._pendingChecked:this.checked);delete this._pendingChecked;}this.setArrow();this.layoutChildren();},layoutChildren:function(){var _5a;_4c.forEach(this.domNode.childNodes,function(n){if(n.nodeType!==1){return;}var _5b=n.getAttribute("layout")||(_52.byNode(n)||{}).layout;if(_5b){_4f.add(n,"mblListItemLayout"+_5b.charAt(0).toUpperCase()+_5b.substring(1));this._layoutChildren.push(n);if(_5b==="center"){_5a=n;}}},this);if(_5a){this.domNode.insertBefore(_5a,this.domNode.firstChild);}},resize:function(){if(this.variableHeight){this.layoutVariableHeight();}this.labelNode.style.display=this.labelNode.firstChild?"block":"inline";},_onTouchStart:function(e){if(e.target.getAttribute("preventTouch")||(_52.getEnclosingWidget(e.target)||{}).preventTouch){return;}this.inherited(arguments);},_onClick:function(e){if(this.getParent().isEditing||e&&e.type==="keydown"&&e.keyCode!==13){return;}if(this.onClick(e)===false){return;}var n=this.labelNode;if(this.anchorLabel&&e.currentTarget===n){_4f.add(n,"mblListItemLabelSelected");setTimeout(function(){_4f.remove(n,"mblListItemLabelSelected");},this._duration);this.onAnchorLabelClicked(e);return;}var _5c=this.getParent();if(_5c.select){if(_5c.select==="single"){if(!this.checked){this.set("checked",true);}}else{if(_5c.select==="multiple"){this.set("checked",!this.checked);}}}this.defaultClickAction(e);},onClick:function(){},onAnchorLabelClicked:function(e){},layoutVariableHeight:function(){var h=this.domNode.offsetHeight;if(h===this.domNodeHeight){return;}this.domNodeHeight=h;_4c.forEach(this._layoutChildren.concat([this.rightTextNode,this.rightIcon2Node,this.rightIconNode,this.uncheckIconNode,this.iconNode,this.deleteIconNode,this.knobIconNode]),function(n){if(n){var _5d=this.domNode;var f=function(){var t=Math.round((_5d.offsetHeight-n.offsetHeight)/2)-_51.get(_5d,"paddingTop");n.style.marginTop=t+"px";};if(n.offsetHeight===0&&n.tagName==="IMG"){n.onload=f;}else{f();}}},this);},setArrow:function(){if(this.checked){return;}var c="";var _5e=this.getParent();var _5f=this.getTransOpts();if(_5f.moveTo||_5f.href||_5f.url||this.clickable){if(!this.noArrow&&!(_5e&&_5e.selectOne)){c=this.arrowClass||"mblDomButtonArrow";}}if(c){this._setRightIconAttr(c);}},_findRef:function(_60){var i,_61,_62=["deleteIcon","icon","rightIcon","uncheckIcon","rightIcon2","rightText"];for(i=_4c.indexOf(_62,_60)+1;i<_62.length;i++){_61=this[_62[i]+"Node"];if(_61){return _61;}}for(i=_62.length-1;i>=0;i--){_61=this[_62[i]+"Node"];if(_61){return _61.nextSibling;}}return this.domNode.firstChild;},_setIcon:function(_63,_64){if(!this._isOnLine){this["_pending_"+_64]=_63;return;}this._set(_64,_63);this[_64+"Node"]=_54.setIcon(_63,this[_64+"Pos"],this[_64+"Node"],this[_64+"Title"]||this.alt,this.domNode,this._findRef(_64),"before");if(this[_64+"Node"]){var cap=_64.charAt(0).toUpperCase()+_64.substring(1);_4f.add(this[_64+"Node"],"mblListItem"+cap);}var _65=this[_64+"Role"];if(_65){this[_64+"Node"].setAttribute("role",_65);}},_setDeleteIconAttr:function(_66){this._setIcon(_66,"deleteIcon");},_setIconAttr:function(_67){this._setIcon(_67,"icon");},_setRightTextAttr:function(_68){if(!this.rightTextNode){this.rightTextNode=_50.create("div",{className:"mblListItemRightText"},this.labelNode,"before");}this.rightText=_68;this.rightTextNode.innerHTML=this._cv?this._cv(_68):_68;},_setRightIconAttr:function(_69){this._setIcon(_69,"rightIcon");},_setUncheckIconAttr:function(_6a){this._setIcon(_6a,"uncheckIcon");},_setRightIcon2Attr:function(_6b){this._setIcon(_6b,"rightIcon2");},_setCheckedAttr:function(_6c){if(!this._isOnLine){this._pendingChecked=_6c;return;}var _6d=this.getParent();if(_6d&&_6d.select==="single"&&_6c){_4c.forEach(_6d.getChildren(),function(_6e){_6e!==this&&_6e.checked&&_6e.set("checked",false);},this);}this._setRightIconAttr(this.checkClass||"mblDomButtonCheck");this._setUncheckIconAttr(this.uncheckClass);_4f.toggle(this.domNode,"mblListItemChecked",_6c);_4f.toggle(this.domNode,"mblListItemUnchecked",!_6c);_4f.toggle(this.domNode,"mblListItemHasUncheck",!!this.uncheckIconNode);this.rightIconNode.style.position=(this.uncheckIconNode&&!_6c)?"absolute":"";if(_6d&&this.checked!==_6c){_6d.onCheckStateChanged(this,_6c);}this._set("checked",_6c);},_setBusyAttr:function(_6f){var _70=this._prog;if(_6f){if(!this._progNode){this._progNode=_50.create("div",{className:"mblListItemIcon"});_70=this._prog=new _56({size:25,center:false});_4f.add(_70.domNode,this.progStyle);this._progNode.appendChild(_70.domNode);}if(this.iconNode){this.domNode.replaceChild(this._progNode,this.iconNode);}else{_50.place(this._progNode,this._findRef("icon"),"before");}_70.start();}else{if(this.iconNode){this.domNode.replaceChild(this.iconNode,this._progNode);}else{this.domNode.removeChild(this._progNode);}_70.stop();}this._set("busy",_6f);},_setSelectedAttr:function(_71){this.inherited(arguments);_4f.toggle(this.domNode,this._selClass,_71);}});_57.ChildWidgetProperties={layout:"",preventTouch:false};_4e.extend(_53,_57.ChildWidgetProperties);return _57;});},"dojox/mobile/TransitionEvent":function(){define("dojox/mobile/TransitionEvent",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/lang","dojo/on","./transition"],function(_72,_73,_74,on,_75){return _72("dojox.mobile.TransitionEvent",null,{constructor:function(_76,_77,_78){this.transitionOptions=_77;this.target=_76;this.triggerEvent=_78||null;},dispatch:function(){var _79={bubbles:true,cancelable:true,detail:this.transitionOptions,triggerEvent:this.triggerEvent};var evt=on.emit(this.target,"startTransition",_79);if(evt){_73.when(_75,_74.hitch(this,function(_7a){_73.when(_7a.call(this,evt),_74.hitch(this,function(_7b){this.endTransition(_7b);}));}));}},endTransition:function(_7c){on.emit(this.target,"endTransition",{detail:_7c.transitionOptions});}});});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_7d,_7e){return _7d("dijit._Contained",null,{_getSibling:function(_7f){var _80=this.domNode;do{_80=_80[_7f+"Sibling"];}while(_80&&_80.nodeType!=1);return _80&&_7e.byNode(_80);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dojox/mobile/sniff":function(){define("dojox/mobile/sniff",["dojo/_base/window","dojo/_base/sniff"],function(win,has){var ua=navigator.userAgent;has.add("bb",(ua.indexOf("BlackBerry")>=0||ua.indexOf("BB10")>=0)&&parseFloat(ua.split("Version/")[1])||undefined,undefined,true);has.add("android",parseFloat(ua.split("Android ")[1])||undefined,undefined,true);if(ua.match(/(iPhone|iPod|iPad)/)){var p=RegExp.$1.replace(/P/,"p");var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));has.add(p,os,undefined,true);has.add("iphone",os,undefined,true);}if(has("webkit")){has.add("touch",(typeof win.doc.documentElement.ontouchstart!="undefined"&&navigator.appVersion.indexOf("Mobile")!=-1)||!!has("android"),undefined,true);}return has;});},"dojox/mobile/_ItemBase":function(){define("dojox/mobile/_ItemBase",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom-class","dojo/touch","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./TransitionEvent","./iconUtils","./sniff"],function(_81,_82,_83,win,_84,_85,_86,_87,_88,_89,_8a,_8b,has){return _82("dojox.mobile._ItemBase",[_89,_88,_87],{icon:"",iconPos:"",alt:"",href:"",hrefTarget:"",moveTo:"",scene:"",clickable:false,url:"",urlTarget:"",back:false,transition:"",transitionDir:1,transitionOptions:null,callback:null,label:"",toggle:false,selected:false,tabIndex:"0",_setTabIndexAttr:"",paramsToInherit:"transition,icon",_selStartMethod:"none",_selEndMethod:"none",_delayedSelection:false,_duration:800,_handleClick:true,buildRendering:function(){this.inherited(arguments);this._isOnLine=this.inheritParams();},startup:function(){if(this._started){return;}if(!this._isOnLine){this.inheritParams();}if(this._handleClick&&this._selStartMethod==="touch"){this._onTouchStartHandle=this.connect(this.domNode,_85.press,"_onTouchStart");}this.inherited(arguments);},inheritParams:function(){var _8c=this.getParent();if(_8c){_81.forEach(this.paramsToInherit.split(/,/),function(p){if(p.match(/icon/i)){var _8d=p+"Base",pos=p+"Pos";if(this[p]&&_8c[_8d]&&_8c[_8d].charAt(_8c[_8d].length-1)==="/"){this[p]=_8c[_8d]+this[p];}if(!this[p]){this[p]=_8c[_8d];}if(!this[pos]){this[pos]=_8c[pos];}}if(!this[p]){this[p]=_8c[p];}},this);}return !!_8c;},getTransOpts:function(){var _8e=this.transitionOptions||{};_81.forEach(["moveTo","href","hrefTarget","url","target","urlTarget","scene","transition","transitionDir"],function(p){_8e[p]=_8e[p]||this[p];},this);return _8e;},userClickAction:function(){},defaultClickAction:function(e){this.handleSelection(e);if(this.userClickAction(e)===false){return;}this.makeTransition(e);},handleSelection:function(e){if(this._delayedSelection){this.set("selected",true);}if(this._onTouchEndHandle){this.disconnect(this._onTouchEndHandle);this._onTouchEndHandle=null;}var p=this.getParent();if(this.toggle){this.set("selected",!this._currentSel);}else{if(p&&p.selectOne){this.set("selected",true);}else{if(this._selEndMethod==="touch"){this.set("selected",false);}else{if(this._selEndMethod==="timer"){var _8f=this;this.defer(function(){_8f.set("selected",false);},this._duration);}}}}},makeTransition:function(e){if(this.back&&history){history.back();return;}if(this.href&&this.hrefTarget){win.global.open(this.href,this.hrefTarget||"_blank");this._onNewWindowOpened(e);return;}var _90=this.getTransOpts();var _91=!!(_90.moveTo||_90.href||_90.url||_90.target||_90.scene);if(this._prepareForTransition(e,_91?_90:null)===false){return;}if(_91){this.setTransitionPos(e);new _8a(this.domNode,_90,e).dispatch();}},_onNewWindowOpened:function(){},_prepareForTransition:function(e,_92){},_onTouchStart:function(e){if(this.getParent().isEditing||this.onTouchStart(e)===false){return;}if(!this._onTouchEndHandle&&this._selStartMethod==="touch"){this._onTouchMoveHandle=this.connect(win.body(),_85.move,"_onTouchMove");this._onTouchEndHandle=this.connect(win.body(),_85.release,"_onTouchEnd");}this.touchStartX=e.touches?e.touches[0].pageX:e.clientX;this.touchStartY=e.touches?e.touches[0].pageY:e.clientY;this._currentSel=this.selected;if(this._delayedSelection){this._selTimer=setTimeout(_83.hitch(this,function(){this.set("selected",true);}),100);}else{this.set("selected",true);}},onTouchStart:function(){},_onTouchMove:function(e){var x=e.touches?e.touches[0].pageX:e.clientX;var y=e.touches?e.touches[0].pageY:e.clientY;if(Math.abs(x-this.touchStartX)>=4||Math.abs(y-this.touchStartY)>=4){this.cancel();var p=this.getParent();if(p&&p.selectOne){this._prevSel&&this._prevSel.set("selected",true);}else{this.set("selected",false);}}},_disconnect:function(){this.disconnect(this._onTouchMoveHandle);this.disconnect(this._onTouchEndHandle);this._onTouchMoveHandle=this._onTouchEndHandle=null;},cancel:function(){if(this._selTimer){clearTimeout(this._selTimer);this._selTimer=null;}this._disconnect();},_onTouchEnd:function(e){if(!this._selTimer&&this._delayedSelection){return;}this.cancel();this._onClick(e);},setTransitionPos:function(e){var w=this;while(true){w=w.getParent();if(!w||_84.contains(w.domNode,"mblView")){break;}}if(w){w.clickedPosX=e.clientX;w.clickedPosY=e.clientY;}},transitionTo:function(_93,_94,url,_95){var _96=(_93&&typeof (_93)==="object")?_93:{moveTo:_93,href:_94,url:url,scene:_95,transition:this.transition,transitionDir:this.transitionDir};new _8a(this.domNode,_96).dispatch();},_setIconAttr:function(_97){if(!this._isOnLine){this._pendingIcon=_97;return;}this._set("icon",_97);this.iconNode=_8b.setIcon(_97,this.iconPos,this.iconNode,this.alt,this.iconParentNode,this.refNode,this.position);},_setLabelAttr:function(_98){this._set("label",_98);this.labelNode.innerHTML=this._cv?this._cv(_98):_98;},_setSelectedAttr:function(_99){if(_99){var p=this.getParent();if(p&&p.selectOne){var arr=_81.filter(p.getChildren(),function(w){return w.selected;});_81.forEach(arr,function(c){this._prevSel=c;c.set("selected",false);},this);}}this._set("selected",_99);}});});},"dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_9a,_9b,_9c){return _9c("dijit.Destroyable",null,{destroy:function(_9d){this._destroyed=true;},own:function(){_9a.forEach(arguments,function(_9e){var _9f="destroyRecursive" in _9e?"destroyRecursive":"destroy" in _9e?"destroy":"remove";var odh=_9b.before(this,"destroy",function(_a0){_9e[_9f](_a0);});var hdh=_9b.after(_9e,_9f,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dojox/mobile/View":function(){define("dojox/mobile/View",["dojo/_base/array","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./ViewController","./common","./transition","./viewRegistry"],function(_a1,_a2,_a3,_a4,_a5,has,win,_a6,dom,_a7,_a8,_a9,_aa,_ab,_ac,_ad,_ae,_af,_b0,_b1,_b2){var dm=_a5.getObject("dojox.mobile",true);return _a4("dojox.mobile.View",[_ae,_ad,_ac],{selected:false,keepScrollPos:true,tag:"div",baseClass:"mblView",constructor:function(_b3,_b4){if(_b4){dom.byId(_b4).style.visibility="hidden";}},destroy:function(){_b2.remove(this.id);this.inherited(arguments);},buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||_a8.create(this.tag);this._animEndHandle=this.connect(this.domNode,"webkitAnimationEnd","onAnimationEnd");this._animStartHandle=this.connect(this.domNode,"webkitAnimationStart","onAnimationStart");if(!_a2["mblCSS3Transition"]){this._transEndHandle=this.connect(this.domNode,"webkitTransitionEnd","onAnimationEnd");}if(has("mblAndroid3Workaround")){_aa.set(this.domNode,"webkitTransformStyle","preserve-3d");}_b2.add(this);this.inherited(arguments);},startup:function(){if(this._started){return;}if(this._visible===undefined){var _b5=this.getSiblingViews();var ids=location.hash&&location.hash.substring(1).split(/,/);var _b6,_b7,_b8;_a1.forEach(_b5,function(v,i){if(_a1.indexOf(ids,v.id)!==-1){_b6=v;}if(i==0){_b8=v;}if(v.selected){_b7=v;}v._visible=false;},this);(_b6||_b7||_b8)._visible=true;}if(this._visible){this.show(true,true);this.defer(function(){this.onStartView();_a3.publish("/dojox/mobile/startView",[this]);});}if(this.domNode.style.visibility!="visible"){this.domNode.style.visibility="visible";}this.inherited(arguments);var _b9=this.getParent();if(!_b9||!_b9.resize){this.resize();}if(!this._visible){this.hide();}},resize:function(){_a1.forEach(this.getChildren(),function(_ba){if(_ba.resize){_ba.resize();}});},onStartView:function(){},onBeforeTransitionIn:function(_bb,dir,_bc,_bd,_be){},onAfterTransitionIn:function(_bf,dir,_c0,_c1,_c2){},onBeforeTransitionOut:function(_c3,dir,_c4,_c5,_c6){},onAfterTransitionOut:function(_c7,dir,_c8,_c9,_ca){},_clearClasses:function(_cb){if(!_cb){return;}var _cc=[];_a1.forEach(_a5.trim(_cb.className||"").split(/\s+/),function(c){if(c.match(/^mbl\w*View$/)||c.indexOf("mbl")===-1){_cc.push(c);}},this);_cb.className=_cc.join(" ");},_fixViewState:function(_cd){var _ce=this.domNode.parentNode.childNodes;for(var i=0;i<_ce.length;i++){var n=_ce[i];if(n.nodeType===1&&_a7.contains(n,"mblView")){this._clearClasses(n);}}this._clearClasses(_cd);var _cf=_ab.byNode(_cd);if(_cf){_cf._inProgress=false;}},convertToId:function(_d0){if(typeof (_d0)=="string"){return _d0.replace(/^#?([^&?]+).*/,"$1");}return _d0;},_isBookmarkable:function(_d1){return _d1.moveTo&&(_a2["mblForceBookmarkable"]||_d1.moveTo.charAt(0)==="#")&&!_d1.hashchange;},performTransition:function(_d2,_d3,_d4,_d5,_d6){if(this._inProgress){return;}this._inProgress=true;var _d7,_d8;if(_d2&&typeof (_d2)==="object"){_d7=_d2;_d8=_d3;}else{_d7={moveTo:_d2,transitionDir:_d3,transition:_d4,context:_d5,method:_d6};_d8=[];for(var i=5;i<arguments.length;i++){_d8.push(arguments[i]);}}this._detail=_d7;this._optArgs=_d8;this._arguments=[_d7.moveTo,_d7.transitionDir,_d7.transition,_d7.context,_d7.method];if(_d7.moveTo==="#"){return;}var _d9;if(_d7.moveTo){_d9=this.convertToId(_d7.moveTo);}else{if(!this._dummyNode){this._dummyNode=win.doc.createElement("div");win.body().appendChild(this._dummyNode);}_d9=this._dummyNode;}if(this.addTransitionInfo&&typeof (_d7.moveTo)=="string"&&this._isBookmarkable(_d7)){this.addTransitionInfo(this.id,_d7.moveTo,{transitionDir:_d7.transitionDir,transition:_d7.transition});}var _da=this.domNode;var _db=_da.offsetTop;_d9=this.toNode=dom.byId(_d9);if(!_d9){return;}_d9.style.visibility="hidden";_d9.style.display="";this._fixViewState(_d9);var _dc=_ab.byNode(_d9);if(_dc){if(_a2["mblAlwaysResizeOnTransition"]||!_dc._resized){_b0.resizeAll(null,_dc);_dc._resized=true;}if(_d7.transition&&_d7.transition!="none"){_dc.containerNode.style.paddingTop=_db+"px";}_dc.load&&_dc.load();_dc.movedFrom=_da.id;}if(has("mblAndroidWorkaround")&&!_a2["mblCSS3Transition"]&&_d7.transition&&_d7.transition!="none"){_aa.set(_d9,"webkitTransformStyle","preserve-3d");_aa.set(_da,"webkitTransformStyle","preserve-3d");_a7.add(_d9,"mblAndroidWorkaround");}this.onBeforeTransitionOut.apply(this,this._arguments);_a3.publish("/dojox/mobile/beforeTransitionOut",[this].concat(_a5._toArray(this._arguments)));if(_dc){if(this.keepScrollPos&&!this.getParent()){var _dd=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;_da._scrollTop=_dd;var _de=(_d7.transitionDir==1)?0:(_d9._scrollTop||0);_d9.style.top="0px";if(_dd>1||_de!==0){_da.style.top=_de-_dd+"px";if(_a2["mblHideAddressBar"]!==false){setTimeout(function(){win.global.scrollTo(0,(_de||1));},0);}}}else{_d9.style.top="0px";}_dc.onBeforeTransitionIn.apply(_dc,this._arguments);_a3.publish("/dojox/mobile/beforeTransitionIn",[_dc].concat(_a5._toArray(this._arguments)));}_d9.style.display="none";_d9.style.visibility="visible";_b0.fromView=this;_b0.toView=_dc;this._doTransition(_da,_d9,_d7.transition,_d7.transitionDir);},_toCls:function(s){return "mbl"+s.charAt(0).toUpperCase()+s.substring(1);},_doTransition:function(_df,_e0,_e1,_e2){var rev=(_e2==-1)?" mblReverse":"";_e0.style.display="";if(!_e1||_e1=="none"){this.domNode.style.display="none";this.invokeCallback();}else{if(_a2["mblCSS3Transition"]){_a6.when(_b1,_a5.hitch(this,function(_e3){var _e4=_aa.get(_e0,"position");_aa.set(_e0,"position","absolute");_a6.when(_e3(_df,_e0,{transition:_e1,reverse:(_e2===-1)?true:false}),_a5.hitch(this,function(){_aa.set(_e0,"position",_e4);this.invokeCallback();}));}));}else{if(_e1.indexOf("cube")!=-1){if(has("ipad")){_aa.set(_e0.parentNode,{webkitPerspective:1600});}else{if(has("iphone")){_aa.set(_e0.parentNode,{webkitPerspective:800});}}}var s=this._toCls(_e1);if(has("mblAndroidWorkaround")){setTimeout(function(){_a7.add(_df,s+" mblOut"+rev);_a7.add(_e0,s+" mblIn"+rev);_a7.remove(_e0,"mblAndroidWorkaround");setTimeout(function(){_a7.add(_df,"mblTransition");_a7.add(_e0,"mblTransition");},30);},70);}else{_a7.add(_df,s+" mblOut"+rev);_a7.add(_e0,s+" mblIn"+rev);setTimeout(function(){_a7.add(_df,"mblTransition");_a7.add(_e0,"mblTransition");},100);}var _e5="50% 50%";var _e6="50% 50%";var _e7,_e8,_e9;if(_e1.indexOf("swirl")!=-1||_e1.indexOf("zoom")!=-1){if(this.keepScrollPos&&!this.getParent()){_e7=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;}else{_e7=-_a9.position(_df,true).y;}_e9=win.global.innerHeight/2+_e7;_e5="50% "+_e9+"px";_e6="50% "+_e9+"px";}else{if(_e1.indexOf("scale")!=-1){var _ea=_a9.position(_df,true);_e8=((this.clickedPosX!==undefined)?this.clickedPosX:win.global.innerWidth/2)-_ea.x;if(this.keepScrollPos&&!this.getParent()){_e7=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;}else{_e7=-_ea.y;}_e9=((this.clickedPosY!==undefined)?this.clickedPosY:win.global.innerHeight/2)+_e7;_e5=_e8+"px "+_e9+"px";_e6=_e8+"px "+_e9+"px";}}_aa.set(_df,{webkitTransformOrigin:_e5});_aa.set(_e0,{webkitTransformOrigin:_e6});}}},onAnimationStart:function(e){},onAnimationEnd:function(e){var _eb=e.animationName||e.target.className;if(_eb.indexOf("Out")===-1&&_eb.indexOf("In")===-1&&_eb.indexOf("Shrink")===-1){return;}var _ec=false;if(_a7.contains(this.domNode,"mblOut")){_ec=true;this.domNode.style.display="none";_a7.remove(this.domNode,[this._toCls(this._detail.transition),"mblIn","mblOut","mblReverse"]);}else{this.containerNode.style.paddingTop="";}_aa.set(this.domNode,{webkitTransformOrigin:""});if(_eb.indexOf("Shrink")!==-1){var li=e.target;li.style.display="none";_a7.remove(li,"mblCloseContent");var p=_b2.getEnclosingScrollable(this.domNode);p&&p.onTouchEnd();}if(_ec){this.invokeCallback();}this._clearClasses(this.domNode);this.clickedPosX=this.clickedPosY=undefined;if(_eb.indexOf("Cube")!==-1&&_eb.indexOf("In")!==-1&&has("iphone")){this.domNode.parentNode.style.webkitPerspective="";}},invokeCallback:function(){this.onAfterTransitionOut.apply(this,this._arguments);_a3.publish("/dojox/mobile/afterTransitionOut",[this].concat(this._arguments));var _ed=_ab.byNode(this.toNode);if(_ed){_ed.onAfterTransitionIn.apply(_ed,this._arguments);_a3.publish("/dojox/mobile/afterTransitionIn",[_ed].concat(this._arguments));_ed.movedFrom=undefined;if(this.setFragIds&&this._isBookmarkable(this._detail)){this.setFragIds(_ed);}}if(has("mblAndroidWorkaround")){setTimeout(_a5.hitch(this,function(){if(_ed){_aa.set(this.toNode,"webkitTransformStyle","");}_aa.set(this.domNode,"webkitTransformStyle","");}),0);}var c=this._detail.context,m=this._detail.method;if(c||m){if(!m){m=c;c=null;}c=c||win.global;if(typeof (m)=="string"){c[m].apply(c,this._optArgs);}else{if(typeof (m)=="function"){m.apply(c,this._optArgs);}}}this._detail=this._optArgs=this._arguments=undefined;this._inProgress=false;},isVisible:function(_ee){var _ef=function(_f0){return _aa.get(_f0,"display")!=="none";};if(_ee){for(var n=this.domNode;n.tagName!=="BODY";n=n.parentNode){if(!_ef(n)){return false;}}return true;}else{return _ef(this.domNode);}},getShowingView:function(){var _f1=this.domNode.parentNode.childNodes;for(var i=0;i<_f1.length;i++){var n=_f1[i];if(n.nodeType===1&&_a7.contains(n,"mblView")&&n.style.display!=="none"){return _ab.byNode(n);}}return null;},getSiblingViews:function(){if(!this.domNode.parentNode){return [this];}return _a1.map(_a1.filter(this.domNode.parentNode.childNodes,function(n){return n.nodeType===1&&_a7.contains(n,"mblView");}),function(n){return _ab.byNode(n);});},show:function(_f2,_f3){var out=this.getShowingView();if(!_f2){if(out){out.onBeforeTransitionOut(out.id);_a3.publish("/dojox/mobile/beforeTransitionOut",[out,out.id]);}this.onBeforeTransitionIn(this.id);_a3.publish("/dojox/mobile/beforeTransitionIn",[this,this.id]);}if(_f3){this.domNode.style.display="";}else{_a1.forEach(this.getSiblingViews(),function(v){v.domNode.style.display=(v===this)?"":"none";},this);}this.load&&this.load();if(!_f2){if(out){out.onAfterTransitionOut(out.id);_a3.publish("/dojox/mobile/afterTransitionOut",[out,out.id]);}this.onAfterTransitionIn(this.id);_a3.publish("/dojox/mobile/afterTransitionIn",[this,this.id]);}},hide:function(){this.domNode.style.display="none";}});});},"dojox/mobile/_base":function(){define("dojox/mobile/_base",["./common","./View","./Heading","./RoundRect","./RoundRectCategory","./EdgeToEdgeCategory","./RoundRectList","./EdgeToEdgeList","./ListItem","./Container","./Pane","./Switch","./ToolBarButton","./ProgressIndicator"],function(_f4,_f5,_f6,_f7,_f8,_f9,_fa,_fb,_fc,_fd,_fe,_ff){return _f4;});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_100,has,_101,win,_102){var _103={},hash={};var _104={length:0,add:function(_105){if(hash[_105.id]){throw new Error("Tried to register widget with id=="+_105.id+" but that id is already registered");}hash[_105.id]=_105;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_106){var id;do{id=_106+"_"+(_106 in _103?++_103[_106]:_103[_106]=0);}while(hash[id]);return _102._scopeName=="dijit"?id:_102._scopeName+"_"+id;},findWidgets:function(root,_107){var _108=[];function _109(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _10a=node.getAttribute("widgetId");if(_10a){var _10b=hash[_10a];if(_10b){_108.push(_10b);}}else{if(node!==_107){_109(node);}}}}};_109(root);return _108;},_destroyAll:function(){_102._curFocus=null;_102._prevFocus=null;_102._activeStack=[];_100.forEach(_104.findWidgets(win.body()),function(_10c){if(!_10c._destroyed){if(_10c.destroyRecursive){_10c.destroyRecursive();}else{if(_10c.destroy){_10c.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_102.registry=_104;return _104;});},"dojox/mobile/viewRegistry":function(){define("dojox/mobile/viewRegistry",["dojo/_base/array","dojo/dom-class","dijit/registry"],function(_10d,_10e,_10f){var _110={length:0,hash:{},initialView:null,add:function(view){this.hash[view.id]=view;this.length++;},remove:function(id){if(this.hash[id]){delete this.hash[id];this.length--;}},getViews:function(){var arr=[];for(var i in this.hash){arr.push(this.hash[i]);}return arr;},getParentView:function(view){for(var v=view.getParent();v;v=v.getParent()){if(_10e.contains(v.domNode,"mblView")){return v;}}return null;},getChildViews:function(_111){return _10d.filter(this.getViews(),function(v){return this.getParentView(v)===_111;},this);},getEnclosingView:function(node){for(var n=node;n&&n.tagName!=="BODY";n=n.parentNode){if(n.nodeType===1&&_10e.contains(n,"mblView")){return _10f.byNode(n);}}return null;},getEnclosingScrollable:function(node){for(var w=_10f.getEnclosingWidget(node);w;w=w.getParent()){if(w.scrollableParams&&w._v){return w;}}return null;}};return _110;});},"dojox/mobile/Heading":function(){define("dojox/mobile/Heading",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./ProgressIndicator","./ToolBarButton","./View"],function(_112,_113,_114,lang,win,dom,_115,_116,_117,_118,_119,_11a,_11b,_11c,_11d,View){var dm=lang.getObject("dojox.mobile",true);return _114("dojox.mobile.Heading",[_11b,_11a,_119],{back:"",href:"",moveTo:"",transition:"slide",label:"",iconBase:"",tag:"h1",busy:false,progStyle:"mblProgWhite",baseClass:"mblHeading",buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement(this.tag);this.inherited(arguments);if(!this.label){_112.forEach(this.domNode.childNodes,function(n){if(n.nodeType==3){var v=lang.trim(n.nodeValue);if(v){this.label=v;this.labelNode=_116.create("span",{innerHTML:v},n,"replace");}}},this);}if(!this.labelNode){this.labelNode=_116.create("span",null,this.domNode);}this.labelNode.className="mblHeadingSpanTitle";this.labelDivNode=_116.create("div",{className:"mblHeadingDivTitle",innerHTML:this.labelNode.innerHTML},this.domNode);dom.setSelectable(this.domNode,false);},startup:function(){if(this._started){return;}var _11e=this.getParent&&this.getParent();if(!_11e||!_11e.resize){var _11f=this;setTimeout(function(){_11f.resize();},0);}this.inherited(arguments);},resize:function(){if(this.labelNode){var _120,_121;var _122=this.containerNode.childNodes;for(var i=_122.length-1;i>=0;i--){var c=_122[i];if(c.nodeType===1&&_117.get(c,"display")!=="none"){if(!_121&&_117.get(c,"float")==="right"){_121=c;}if(!_120&&_117.get(c,"float")==="left"){_120=c;}}}if(!this.labelNodeLen&&this.label){this.labelNode.style.display="inline";this.labelNodeLen=this.labelNode.offsetWidth;this.labelNode.style.display="";}var bw=this.domNode.offsetWidth;var rw=_121?bw-_121.offsetLeft+5:0;var lw=_120?_120.offsetLeft+_120.offsetWidth+5:0;var tw=this.labelNodeLen||0;_115[bw-Math.max(rw,lw)*2>tw?"add":"remove"](this.domNode,"mblHeadingCenterTitle");}_112.forEach(this.getChildren(),function(_123){if(_123.resize){_123.resize();}});},_setBackAttr:function(back){this._set("back",back);if(!this.backButton){this.backButton=new _11d({arrow:"left",label:back,moveTo:this.moveTo,back:!this.moveTo,href:this.href,transition:this.transition,transitionDir:-1});this.backButton.placeAt(this.domNode,"first");}else{this.backButton.set("label",back);}this.resize();},_setMoveToAttr:function(_124){this._set("moveTo",_124);if(this.backButton){this.backButton.set("moveTo",_124);}},_setHrefAttr:function(href){this._set("href",href);if(this.backButton){this.backButton.set("href",href);}},_setTransitionAttr:function(_125){this._set("transition",_125);if(this.backButton){this.backButton.set("transition",_125);}},_setLabelAttr:function(_126){this._set("label",_126);this.labelNode.innerHTML=this.labelDivNode.innerHTML=this._cv?this._cv(_126):_126;},_setBusyAttr:function(busy){var prog=this._prog;if(busy){if(!prog){prog=this._prog=new _11c({size:30,center:false});_115.add(prog.domNode,this.progStyle);}_116.place(prog.domNode,this.domNode,"first");prog.start();}else{prog.stop();}this._set("busy",busy);}});});},"dojox/mobile/ProgressIndicator":function(){define("dojox/mobile/ProgressIndicator",["dojo/_base/config","dojo/_base/declare","dojo/_base/lang","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dijit/_Contained","dijit/_WidgetBase"],function(_127,_128,lang,_129,_12a,_12b,_12c,has,_12d,_12e){var cls=_128("dojox.mobile.ProgressIndicator",[_12e,_12d],{interval:100,size:40,removeOnStop:true,startSpinning:false,center:true,colors:null,baseClass:"mblProgressIndicator",constructor:function(){this.colors=[];this._bars=[];},buildRendering:function(){this.inherited(arguments);if(this.center){_129.add(this.domNode,"mblProgressIndicatorCenter");}this.containerNode=_12a.create("div",{className:"mblProgContainer"},this.domNode);this.spinnerNode=_12a.create("div",null,this.containerNode);for(var i=0;i<12;i++){var div=_12a.create("div",{className:"mblProg mblProg"+i},this.spinnerNode);this._bars.push(div);}this.scale(this.size);if(this.startSpinning){this.start();}},scale:function(size){var _12f=size/40;_12c.set(this.containerNode,{webkitTransform:"scale("+_12f+")",webkitTransformOrigin:"0 0"});_12b.setMarginBox(this.domNode,{w:size,h:size});_12b.setMarginBox(this.containerNode,{w:size/_12f,h:size/_12f});},start:function(){if(this.imageNode){var img=this.imageNode;var l=Math.round((this.containerNode.offsetWidth-img.offsetWidth)/2);var t=Math.round((this.containerNode.offsetHeight-img.offsetHeight)/2);img.style.margin=t+"px "+l+"px";return;}var cntr=0;var _130=this;var n=12;this.timer=setInterval(function(){cntr--;cntr=cntr<0?n-1:cntr;var c=_130.colors;for(var i=0;i<n;i++){var idx=(cntr+i)%n;if(c[idx]){_130._bars[i].style.backgroundColor=c[idx];}else{_129.replace(_130._bars[i],"mblProg"+idx+"Color","mblProg"+(idx===n-1?0:idx+1)+"Color");}}},this.interval);},stop:function(){if(this.timer){clearInterval(this.timer);}this.timer=null;if(this.removeOnStop&&this.domNode&&this.domNode.parentNode){this.domNode.parentNode.removeChild(this.domNode);}},setImage:function(file){if(file){this.imageNode=_12a.create("img",{src:file},this.containerNode);this.spinnerNode.style.display="none";}else{if(this.imageNode){this.containerNode.removeChild(this.imageNode);this.imageNode=null;}this.spinnerNode.style.display="";}},destroy:function(){this.inherited(arguments);if(this===cls._instance){cls._instance=null;}}});cls._instance=null;cls.getInstance=function(_131){if(!cls._instance){cls._instance=new cls(_131);}return cls._instance;};return cls;});},"dojox/mobile/Container":function(){define("dojox/mobile/Container",["dojo/_base/declare","dijit/_Container","./Pane"],function(_132,_133,Pane){return _132("dojox.mobile.Container",[Pane,_133],{baseClass:"mblContainer"});});},"dojox/mobile/RoundRectList":function(){define("dojox/mobile/RoundRectList",["dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/_base/lang","dojo/_base/window","dojo/dom-construct","dijit/_Contained","dijit/_Container","dijit/_WidgetBase"],function(_134,_135,_136,lang,win,_137,_138,_139,_13a){return _135("dojox.mobile.RoundRectList",[_13a,_139,_138],{transition:"slide",iconBase:"",iconPos:"",select:"",stateful:false,syncWithViews:false,editable:false,tag:"ul",editableMixinClass:"dojox/mobile/_EditableListMixin",baseClass:"mblRoundRectList",buildRendering:function(){this.domNode=this.srcNodeRef||_137.create(this.tag);this.inherited(arguments);},postCreate:function(){if(this.editable){require([this.editableMixinClass],lang.hitch(this,function(_13b){_135.safeMixin(this,new _13b());}));}this.connect(this.domNode,"onselectstart",_136.stop);if(this.syncWithViews){var f=function(view,_13c,dir,_13d,_13e,_13f){var _140=_134.filter(this.getChildren(),function(w){return w.moveTo==="#"+view.id||w.moveTo===view.id;})[0];if(_140){_140.set("selected",true);}};this.subscribe("/dojox/mobile/afterTransitionIn",f);this.subscribe("/dojox/mobile/startView",f);}},resize:function(){_134.forEach(this.getChildren(),function(_141){if(_141.resize){_141.resize();}});},onCheckStateChanged:function(){},_setStatefulAttr:function(_142){this._set("stateful",_142);this.selectOne=_142;_134.forEach(this.getChildren(),function(_143){_143.setArrow&&_143.setArrow();});},deselectItem:function(item){item.set("selected",false);},deselectAll:function(){_134.forEach(this.getChildren(),function(_144){_144.set("selected",false);});},selectItem:function(item){item.set("selected",true);}});});},"dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct"],function(_145,_146,_147){return _146("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_148,_149){var _14a=this.containerNode;if(_149&&typeof _149=="number"){var _14b=this.getChildren();if(_14b&&_14b.length>=_149){_14a=_14b[_149-1].domNode;_149="after";}}_147.place(_148.domNode,_14a,_149);if(this._started&&!_148._started){_148.startup();}},removeChild:function(_14c){if(typeof _14c=="number"){_14c=this.getChildren()[_14c];}if(_14c){var node=_14c.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_14d,dir){var _14e=this.getChildren(),idx=_145.indexOf(this.getChildren(),_14d);return _14e[idx+dir];},getIndexOfChild:function(_14f){return _145.indexOf(this.getChildren(),_14f);}});});},"dojox/mobile/Switch":function(){define("dojox/mobile/Switch",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/event","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/touch","dijit/_Contained","dijit/_WidgetBase","./sniff"],function(_150,_151,_152,_153,win,_154,_155,_156,_157,_158,_159,has){return _152("dojox.mobile.Switch",[_159,_158],{value:"on",name:"",leftLabel:"ON",rightLabel:"OFF",shape:"mblSwDefaultShape",tabIndex:"0",_setTabIndexAttr:"",baseClass:"mblSwitch",role:"",_createdMasks:[],buildRendering:function(){this.domNode=(this.srcNodeRef&&this.srcNodeRef.tagName==="SPAN")?this.srcNodeRef:_155.create("span");this.inherited(arguments);var c=(this.srcNodeRef&&this.srcNodeRef.className)||this.className||this["class"];if((c=c.match(/mblSw.*Shape\d*/))){this.shape=c;}_154.add(this.domNode,this.shape);var _15a=this.name?" name=\""+this.name+"\"":"";this.domNode.innerHTML="<div class=\"mblSwitchInner\">"+"<div class=\"mblSwitchBg mblSwitchBgLeft\">"+"<div class=\"mblSwitchText mblSwitchTextLeft\"></div>"+"</div>"+"<div class=\"mblSwitchBg mblSwitchBgRight\">"+"<div class=\"mblSwitchText mblSwitchTextRight\"></div>"+"</div>"+"<div class=\"mblSwitchKnob\"></div>"+"<input type=\"hidden\""+_15a+"></div>"+"</div>";var n=this.inner=this.domNode.firstChild;this.left=n.childNodes[0];this.right=n.childNodes[1];this.knob=n.childNodes[2];this.input=n.childNodes[3];},postCreate:function(){this._clickHandle=this.connect(this.domNode,"onclick","_onClick");this._keydownHandle=this.connect(this.domNode,"onkeydown","_onClick");this._startHandle=this.connect(this.domNode,_157.press,"onTouchStart");this._initialValue=this.value;},_changeState:function(_15b,anim){var on=(_15b==="on");this.left.style.display="";this.right.style.display="";this.inner.style.left="";if(anim){_154.add(this.domNode,"mblSwitchAnimation");}_154.remove(this.domNode,on?"mblSwitchOff":"mblSwitchOn");_154.add(this.domNode,on?"mblSwitchOn":"mblSwitchOff");var _15c=this;setTimeout(function(){_15c.left.style.display=on?"":"none";_15c.right.style.display=!on?"":"none";_154.remove(_15c.domNode,"mblSwitchAnimation");},anim?300:0);},_createMaskImage:function(){if(this._hasMaskImage){return;}this._width=this.domNode.offsetWidth-this.knob.offsetWidth;this._hasMaskImage=true;if(!has("webkit")){return;}var rDef=_156.get(this.left,"borderTopLeftRadius");if(rDef=="0px"){return;}var _15d=rDef.split(" ");var rx=parseFloat(_15d[0]),ry=(_15d.length==1)?rx:parseFloat(_15d[1]);var w=this.domNode.offsetWidth,h=this.domNode.offsetHeight;var id=(this.shape+"Mask"+w+h+rx+ry).replace(/\./,"_");if(!this._createdMasks[id]){this._createdMasks[id]=1;var ctx=win.doc.getCSSCanvasContext("2d",id,w,h);ctx.fillStyle="#000000";ctx.beginPath();if(rx==ry){ctx.moveTo(rx,0);ctx.arcTo(0,0,0,rx,rx);ctx.lineTo(0,h-rx);ctx.arcTo(0,h,rx,h,rx);ctx.lineTo(w-rx,h);ctx.arcTo(w,h,w,rx,rx);ctx.lineTo(w,rx);ctx.arcTo(w,0,w-rx,0,rx);}else{var pi=Math.PI;ctx.scale(1,ry/rx);ctx.moveTo(rx,0);ctx.arc(rx,rx,rx,1.5*pi,0.5*pi,true);ctx.lineTo(w-rx,2*rx);ctx.arc(w-rx,rx,rx,0.5*pi,1.5*pi,true);}ctx.closePath();ctx.fill();}this.domNode.style.webkitMaskImage="-webkit-canvas("+id+")";},_onClick:function(e){if(e&&e.type==="keydown"&&e.keyCode!==13){return;}if(this.onClick(e)===false){return;}if(this._moved){return;}this.value=this.input.value=(this.value=="on")?"off":"on";this._changeState(this.value,true);this.onStateChanged(this.value);},onClick:function(){},onTouchStart:function(e){this._moved=false;this.innerStartX=this.inner.offsetLeft;if(!this._conn){this._conn=[this.connect(this.inner,_157.move,"onTouchMove"),this.connect(this.inner,_157.release,"onTouchEnd")];}this.touchStartX=e.touches?e.touches[0].pageX:e.clientX;this.left.style.display="";this.right.style.display="";_153.stop(e);this._createMaskImage();},onTouchMove:function(e){e.preventDefault();var dx;if(e.targetTouches){if(e.targetTouches.length!=1){return;}dx=e.targetTouches[0].clientX-this.touchStartX;}else{dx=e.clientX-this.touchStartX;}var pos=this.innerStartX+dx;var d=10;if(pos<=-(this._width-d)){pos=-this._width;}if(pos>=-d){pos=0;}this.inner.style.left=pos+"px";if(Math.abs(dx)>d){this._moved=true;}},onTouchEnd:function(e){_150.forEach(this._conn,_151.disconnect);this._conn=null;if(this.innerStartX==this.inner.offsetLeft){if(has("touch")&&!(has("android")>=4.1)){var ev=win.doc.createEvent("MouseEvents");ev.initEvent("click",true,true);this.inner.dispatchEvent(ev);}return;}var _15e=(this.inner.offsetLeft<-(this._width/2))?"off":"on";this._changeState(_15e,true);if(_15e!=this.value){this.value=this.input.value=_15e;this.onStateChanged(_15e);}},onStateChanged:function(_15f){},_setValueAttr:function(_160){this._changeState(_160,false);if(this.value!=_160){this.onStateChanged(_160);}this.value=this.input.value=_160;},_setLeftLabelAttr:function(_161){this.leftLabel=_161;this.left.firstChild.innerHTML=this._cv?this._cv(_161):_161;},_setRightLabelAttr:function(_162){this.rightLabel=_162;this.right.firstChild.innerHTML=this._cv?this._cv(_162):_162;},reset:function(){this.set("value",this._initialValue);}});});},"dojox/mobile/EdgeToEdgeCategory":function(){define("dojox/mobile/EdgeToEdgeCategory",["dojo/_base/declare","./RoundRectCategory"],function(_163,_164){return _163("dojox.mobile.EdgeToEdgeCategory",_164,{buildRendering:function(){this.inherited(arguments);this.domNode.className="mblEdgeToEdgeCategory";}});});},"dojox/mobile/transition":function(){define("dojox/mobile/transition",["dojo/_base/Deferred","dojo/_base/config"],function(_165,_166){if(_166["mblCSS3Transition"]){var _167=new _165();require([_166["mblCSS3Transition"]],function(_168){_167.resolve(_168);});return _167;}return null;});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","./registry"],function(_169,_16a,_16b,_16c,_16d,_16e,dom,_16f,_170,_171,_172,_173,has,_174,lang,on,_175,_176,_177,win,_178,_179){has.add("dijit-legacy-requires",!_174.isAsync);if(has("dijit-legacy-requires")){_175(0,function(){var _17a=["dijit/_base/manager"];_169(_17a);});}var _17b={};function _17c(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _17d(attr){return function(val){_16f[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};function _17e(a,b){return a===b||(a!==a&&b!==b);};return _16e("dijit._WidgetBase",[_176,_178],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_17d("lang"),dir:"",_setDirAttr:_17d("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_16c.blankGif||_169.toUrl("dojo/resources/blank.gif"),postscript:function(_17f,_180){this.create(_17f,_180);},create:function(_181,_182){this.srcNodeRef=dom.byId(_182);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_181){this.params=_181;lang.mixin(this,_181);}this.postMixInProperties();if(!this.id){this.id=_179.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:win.doc);this.ownerDocumentBody=win.body(this.ownerDocument);_179.add(this);this.buildRendering();var _183;if(this.domNode){this._applyAttributes();var _184=this.srcNodeRef;if(_184&&_184.parentNode&&this.domNode!==_184){_184.parentNode.replaceChild(this.domNode,_184);_183=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_183){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var ctor=this.constructor,list=ctor._setterAttrs;if(!list){list=(ctor._setterAttrs=[]);for(var attr in this.attributeMap){list.push(attr);}var _185=ctor.prototype;for(var _186 in _185){if(_186 in this.attributeMap){continue;}var _187="_set"+_186.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_187 in _185){list.push(_186);}}}var _188={};for(var key in this.params||{}){_188[key]=this[key];}_16a.forEach(list,function(attr){if(attr in _188){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(key in _188){this.set(key,_188[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _189=this.baseClass.split(" ");if(!this.isLeftToRight()){_189=_189.concat(_16a.map(_189,function(name){return name+"Rtl";}));}_170.add(this.domNode,_189);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_16a.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_18a){this._beingDestroyed=true;this.destroyDescendants(_18a);this.destroy(_18a);},destroy:function(_18b){this._beingDestroyed=true;this.uninitialize();function _18c(w){if(w.destroyRecursive){w.destroyRecursive(_18b);}else{if(w.destroy){w.destroy(_18b);}}};_16a.forEach(this._connects,lang.hitch(this,"disconnect"));_16a.forEach(this._supportingWidgets,_18c);if(this.domNode){_16a.forEach(_179.findWidgets(this.domNode,this.containerNode),_18c);}this.destroyRendering(_18b);_179.remove(this.id);this._destroyed=true;},destroyRendering:function(_18d){if(this.bgIframe){this.bgIframe.destroy(_18d);delete this.bgIframe;}if(this.domNode){if(_18d){_16f.remove(this.domNode,"widgetId");}else{_171.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_18d){_171.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_18e){_16a.forEach(this.getChildren(),function(_18f){if(_18f.destroyRecursive){_18f.destroyRecursive(_18e);}});},uninitialize:function(){return false;},_setStyleAttr:function(_190){var _191=this.domNode;if(lang.isObject(_190)){_173.set(_191,_190);}else{if(_191.style.cssText){_191.style.cssText+="; "+_190;}else{_191.style.cssText=_190;}}this._set("style",_190);},_attrToDom:function(attr,_192,_193){_193=arguments.length>=3?_193:this.attributeMap[attr];_16a.forEach(lang.isArray(_193)?_193:[_193],function(_194){var _195=this[_194.node||_194||"domNode"];var type=_194.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_192)){_192=lang.hitch(this,_192);}var _196=_194.attribute?_194.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_195.tagName){_16f.set(_195,_196,_192);}else{_195.set(_196,_192);}break;case "innerText":_195.innerHTML="";_195.appendChild(this.ownerDocument.createTextNode(_192));break;case "innerHTML":_195.innerHTML=_192;break;case "class":_170.replace(_195,_192,this[attr]);break;}},this);},get:function(name){var _197=this._getAttrNames(name);return this[_197.g]?this[_197.g]():this[name];},set:function(name,_198){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _199=this._getAttrNames(name),_19a=this[_199.s];if(lang.isFunction(_19a)){var _19b=_19a.apply(this,Array.prototype.slice.call(arguments,1));}else{var _19c=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_19c].tagName,_19d=_17b[tag]||(_17b[tag]=_17c(this[_19c])),map=name in this.attributeMap?this.attributeMap[name]:_199.s in this?this[_199.s]:((_199.l in _19d&&typeof _198!="function")||/^aria-|^data-|^role$/.test(name))?_19c:null;if(map!=null){this._attrToDom(name,_198,map);}this._set(name,_198);}return _19b||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_19e){var _19f=this[name];this[name]=_19e;if(this._created&&!_17e(_19e,_19f)){if(this._watchCallbacks){this._watchCallbacks(name,_19f,_19e);}this.emit("attrmodified-"+name,{detail:{prevValue:_19f,newValue:_19e}});}},emit:function(type,_1a0,_1a1){_1a0=_1a0||{};if(_1a0.bubbles===undefined){_1a0.bubbles=true;}if(_1a0.cancelable===undefined){_1a0.cancelable=true;}if(!_1a0.detail){_1a0.detail={};}_1a0.detail.widget=this;var ret,_1a2=this["on"+type];if(_1a2){ret=_1a2.apply(this,_1a1?_1a1:[_1a0]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_1a0);}return ret;},on:function(type,func){var _1a3=this._onMap(type);if(_1a3){return _16b.after(this,_1a3,func,true);}return this.own(on(this.domNode,type,func))[0];},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_179.findWidgets(this.containerNode):[];},getParent:function(){return _179.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_1a4,_1a5){return this.own(_16d.connect(obj,_1a4,this,_1a5))[0];},disconnect:function(_1a6){_1a6.remove();},subscribe:function(t,_1a7){return this.own(_177.subscribe(t,lang.hitch(this,_1a7)))[0];},unsubscribe:function(_1a8){_1a8.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_172.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_173.get(this.domNode,"display")!="none");},placeAt:function(_1a9,_1aa){var _1ab=!_1a9.tagName&&_179.byId(_1a9);if(_1ab&&_1ab.addChild&&(!_1aa||typeof _1aa==="number")){_1ab.addChild(this,_1aa);}else{var ref=_1ab?(_1ab.containerNode&&!/after|before|replace/.test(_1aa||"")?_1ab.containerNode:_1ab.domNode):dom.byId(_1a9,this.ownerDocument);_171.place(this.domNode,ref,_1aa);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(text,_1ac){return _1ac;},applyTextDir:function(){},defer:function(fcn,_1ad){var _1ae=setTimeout(lang.hitch(this,function(){if(!_1ae){return;}_1ae=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_1ad||0);return {remove:function(){if(_1ae){clearTimeout(_1ae);_1ae=null;}return null;}};}});});},"dojox/main":function(){define("dojox/main",["dojo/_base/kernel"],function(dojo){return dojo.dojox;});},"dojox/mobile/common":function(){define("dojox/mobile/common",["dojo/_base/array","dojo/_base/config","dojo/_base/connect","dojo/_base/lang","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/ready","dijit/registry","./sniff","./uacss"],function(_1af,_1b0,_1b1,lang,win,_1b2,_1b3,_1b4,_1b5,has){var dm=lang.getObject("dojox.mobile",true);dm.getScreenSize=function(){return {h:win.global.innerHeight||win.doc.documentElement.clientHeight,w:win.global.innerWidth||win.doc.documentElement.clientWidth};};dm.updateOrient=function(){var dim=dm.getScreenSize();_1b2.replace(win.doc.documentElement,dim.h>dim.w?"dj_portrait":"dj_landscape",dim.h>dim.w?"dj_landscape":"dj_portrait");};dm.updateOrient();dm.tabletSize=500;dm.detectScreenSize=function(_1b6){var dim=dm.getScreenSize();var sz=Math.min(dim.w,dim.h);var from,to;if(sz>=dm.tabletSize&&(_1b6||(!this._sz||this._sz<dm.tabletSize))){from="phone";to="tablet";}else{if(sz<dm.tabletSize&&(_1b6||(!this._sz||this._sz>=dm.tabletSize))){from="tablet";to="phone";}}if(to){_1b2.replace(win.doc.documentElement,"dj_"+to,"dj_"+from);_1b1.publish("/dojox/mobile/screenSize/"+to,[dim]);}this._sz=sz;};dm.detectScreenSize();dm.hideAddressBarWait=typeof (_1b0["mblHideAddressBarWait"])==="number"?_1b0["mblHideAddressBarWait"]:1500;dm.hide_1=function(){scrollTo(0,1);dm._hidingTimer=(dm._hidingTimer==0)?200:dm._hidingTimer*2;setTimeout(function(){if(dm.isAddressBarHidden()||dm._hidingTimer>dm.hideAddressBarWait){dm.resizeAll();dm._hiding=false;}else{setTimeout(dm.hide_1,dm._hidingTimer);}},50);};dm.hideAddressBar=function(evt){if(dm.disableHideAddressBar||dm._hiding){return;}dm._hiding=true;dm._hidingTimer=has("iphone")?200:0;var minH=screen.availHeight;if(has("android")){minH=outerHeight/devicePixelRatio;if(minH==0){dm._hiding=false;setTimeout(function(){dm.hideAddressBar();},200);}if(minH<=innerHeight){minH=outerHeight;}if(has("android")<3){win.doc.documentElement.style.overflow=win.body().style.overflow="visible";}}if(win.body().offsetHeight<minH){win.body().style.minHeight=minH+"px";dm._resetMinHeight=true;}setTimeout(dm.hide_1,dm._hidingTimer);};dm.isAddressBarHidden=function(){return pageYOffset===1;};dm.resizeAll=function(evt,root){if(dm.disableResizeAll){return;}_1b1.publish("/dojox/mobile/resizeAll",[evt,root]);_1b1.publish("/dojox/mobile/beforeResizeAll",[evt,root]);if(dm._resetMinHeight){win.body().style.minHeight=dm.getScreenSize().h+"px";}dm.updateOrient();dm.detectScreenSize();var _1b7=function(w){var _1b8=w.getParent&&w.getParent();return !!((!_1b8||!_1b8.resize)&&w.resize);};var _1b9=function(w){_1af.forEach(w.getChildren(),function(_1ba){if(_1b7(_1ba)){_1ba.resize();}_1b9(_1ba);});};if(root){if(root.resize){root.resize();}_1b9(root);}else{_1af.forEach(_1af.filter(_1b5.toArray(),_1b7),function(w){w.resize();});}_1b1.publish("/dojox/mobile/afterResizeAll",[evt,root]);};dm.openWindow=function(url,_1bb){win.global.open(url,_1bb||"_blank");};if(_1b0["mblApplyPageStyles"]!==false){_1b2.add(win.doc.documentElement,"mobile");}if(has("chrome")){_1b2.add(win.doc.documentElement,"dj_chrome");}if(win.global._no_dojo_dm){var _1bc=win.global._no_dojo_dm;for(var i in _1bc){dm[i]=_1bc[i];}dm.deviceTheme.setDm(dm);}has.add("mblAndroidWorkaround",_1b0["mblAndroidWorkaround"]!==false&&has("android")<3,undefined,true);has.add("mblAndroid3Workaround",_1b0["mblAndroid3Workaround"]!==false&&has("android")>=3,undefined,true);_1b4(function(){dm.detectScreenSize(true);if(_1b0["mblAndroidWorkaroundButtonStyle"]!==false&&has("android")){_1b3.create("style",{innerHTML:"BUTTON,INPUT[type='button'],INPUT[type='submit'],INPUT[type='reset'],INPUT[type='file']::-webkit-file-upload-button{-webkit-appearance:none;}"},win.doc.head,"first");}if(has("mblAndroidWorkaround")){_1b3.create("style",{innerHTML:".mblView.mblAndroidWorkaround{position:absolute;top:-9999px !important;left:-9999px !important;}"},win.doc.head,"last");}var f=dm.resizeAll;var _1bd=navigator.appVersion.indexOf("Mobile")!=-1&&!(has("iphone")>=7);if((_1b0.mblHideAddressBar!==false&&_1bd)||_1b0.mblForceHideAddressBar===true){dm.hideAddressBar();if(_1b0.mblAlwaysHideAddressBar===true){f=dm.hideAddressBar;}}var ios6=has("iphone")>=6;if((has("android")||ios6)&&win.global.onorientationchange!==undefined){var _1be=f;var _1bf,_1c0,_1c1;if(ios6){_1c0=win.doc.documentElement.clientWidth;_1c1=win.doc.documentElement.clientHeight;}else{f=function(evt){var _1c2=_1b1.connect(null,"onresize",null,function(e){_1b1.disconnect(_1c2);_1be(e);});};_1bf=dm.getScreenSize();}_1b1.connect(null,"onresize",null,function(e){if(ios6){var _1c3=win.doc.documentElement.clientWidth,_1c4=win.doc.documentElement.clientHeight;if(_1c3==_1c0&&_1c4!=_1c1){_1be(e);}_1c0=_1c3;_1c1=_1c4;}else{var _1c5=dm.getScreenSize();if(_1c5.w==_1bf.w&&Math.abs(_1c5.h-_1bf.h)>=100){_1be(e);}_1bf=_1c5;}});}_1b1.connect(null,win.global.onorientationchange!==undefined?"onorientationchange":"onresize",null,f);win.body().style.visibility="visible";});return dm;});},"dojox/mobile/ViewController":function(){define("dojox/mobile/ViewController",["dojo/_base/kernel","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/on","dojo/ready","dijit/registry","./ProgressIndicator","./TransitionEvent","./viewRegistry"],function(dojo,_1c6,_1c7,_1c8,lang,win,_1c9,dom,_1ca,_1cb,on,_1cc,_1cd,_1ce,_1cf,_1d0){var _1d1=_1c8("dojox.mobile.ViewController",null,{dataHandlerClass:"dojox/mobile/dh/DataHandler",dataSourceClass:"dojox/mobile/dh/UrlDataSource",fileTypeMapClass:"dojox/mobile/dh/SuffixFileTypeMap",constructor:function(){this.viewMap={};_1cc(lang.hitch(this,function(){on(win.body(),"startTransition",lang.hitch(this,"onStartTransition"));}));},findTransitionViews:function(_1d2){if(!_1d2){return [];}_1d2.match(/^#?([^&?]+)(.*)/);var _1d3=RegExp.$2;var view=_1cd.byId(RegExp.$1);if(!view){return [];}for(var v=view.getParent();v;v=v.getParent()){if(v.isVisible&&!v.isVisible()){var sv=view.getShowingView();if(sv&&sv.id!==view.id){view.show();}view=v;}}return [view.getShowingView(),view,_1d3];},openExternalView:function(_1d4,_1d5){var d=new _1c9();var id=this.viewMap[_1d4.url];if(id){_1d4.moveTo=id;if(_1d4.noTransition){_1cd.byId(id).hide();}else{new _1cf(win.body(),_1d4).dispatch();}d.resolve(true);return d;}var _1d6=null;for(var i=_1d5.childNodes.length-1;i>=0;i--){var c=_1d5.childNodes[i];if(c.nodeType===1){var _1d7=c.getAttribute("fixed")||(_1cd.byNode(c)&&_1cd.byNode(c).fixed);if(_1d7==="bottom"){_1d6=c;break;}}}var dh=_1d4.dataHandlerClass||this.dataHandlerClass;var ds=_1d4.dataSourceClass||this.dataSourceClass;var ft=_1d4.fileTypeMapClass||this.fileTypeMapClass;require([dh,ds,ft],lang.hitch(this,function(_1d8,_1d9,_1da){var _1db=new _1d8(new _1d9(_1d4.data||_1d4.url),_1d5,_1d6);var _1dc=_1d4.contentType||_1da.getContentType(_1d4.url)||"html";_1db.processData(_1dc,lang.hitch(this,function(id){if(id){this.viewMap[_1d4.url]=_1d4.moveTo=id;if(_1d4.noTransition){_1cd.byId(id).hide();}else{new _1cf(win.body(),_1d4).dispatch();}d.resolve(true);}else{d.reject("Failed to load "+_1d4.url);}}));}));return d;},onStartTransition:function(evt){evt.preventDefault();if(!evt.detail){return;}var _1dd=evt.detail;if(!_1dd.moveTo&&!_1dd.href&&!_1dd.url&&!_1dd.scene){return;}if(_1dd.url&&!_1dd.moveTo){var _1de=_1dd.urlTarget;var w=_1cd.byId(_1de);var _1df=w&&w.containerNode||dom.byId(_1de);if(!_1df){w=_1d0.getEnclosingView(evt.target);_1df=w&&w.domNode.parentNode||win.body();}this.openExternalView(_1dd,_1df);return;}else{if(_1dd.href){if(_1dd.hrefTarget){win.global.open(_1dd.href,_1dd.hrefTarget);}else{var view;for(var v=_1d0.getEnclosingView(evt.target);v;v=_1d0.getParentView(v)){view=v;}if(view){view.performTransition(null,_1dd.transitionDir,_1dd.transition,evt.target,function(){location.href=_1dd.href;});}}return;}else{if(_1dd.scene){_1c7.publish("/dojox/mobile/app/pushScene",[_1dd.scene]);return;}}}var arr=this.findTransitionViews(_1dd.moveTo),_1e0=arr[0],_1e1=arr[1],_1e2=arr[2];if(!location.hash&&!_1dd.hashchange){_1d0.initialView=_1e0;}if(_1dd.moveTo&&_1e1){_1dd.moveTo=(_1dd.moveTo.charAt(0)==="#"?"#"+_1e1.id:_1e1.id)+_1e2;}if(!_1e0||(_1dd.moveTo&&_1e0===_1cd.byId(_1dd.moveTo.replace(/^#?([^&?]+).*/,"$1")))){return;}var src=_1cd.getEnclosingWidget(evt.target);if(src&&src.callback){_1dd.context=src;_1dd.method=src.callback;}_1e0.performTransition(_1dd);}});_1d1._instance=new _1d1();_1d1.getInstance=function(){return _1d1._instance;};return _1d1;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_1e3,lang,_1e4,when){return _1e3("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_1e5){if(_1e5){this.set(_1e5);}},_get:function(name,_1e6){return typeof this[_1e6.g]==="function"?this[_1e6.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_1e7){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _1e8=this._getAttrNames(name),_1e9=this._get(name,_1e8),_1ea=this[_1e8.s],_1eb;if(typeof _1ea==="function"){_1eb=_1ea.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_1e7;}if(this._watchCallbacks){var self=this;when(_1eb,function(){self._watchCallbacks(name,_1e9,_1e7);});}return this;},_changeAttrValue:function(name,_1ec){var _1ed=this.get(name);this[name]=_1ec;if(this._watchCallbacks){this._watchCallbacks(name,_1ed,_1ec);}return this;},watch:function(name,_1ee){var _1ef=this._watchCallbacks;if(!_1ef){var self=this;_1ef=this._watchCallbacks=function(name,_1f0,_1f1,_1f2){var _1f3=function(_1f4){if(_1f4){_1f4=_1f4.slice();for(var i=0,l=_1f4.length;i<l;i++){_1f4[i].call(self,name,_1f0,_1f1);}}};_1f3(_1ef["_"+name]);if(!_1f2){_1f3(_1ef["*"]);}};}if(!_1ee&&typeof name==="function"){_1ee=name;name="*";}else{name="_"+name;}var _1f5=_1ef[name];if(typeof _1f5!=="object"){_1f5=_1ef[name]=[];}_1f5.push(_1ee);var _1f6={};_1f6.unwatch=_1f6.remove=function(){var _1f7=_1e4.indexOf(_1f5,_1ee);if(_1f7>-1){_1f5.splice(_1f7,1);}};return _1f6;}});});},"dojox/mobile/RoundRectCategory":function(){define("dojox/mobile/RoundRectCategory",["dojo/_base/declare","dojo/_base/window","dojo/dom-construct","dijit/_Contained","dijit/_WidgetBase"],function(_1f8,win,_1f9,_1fa,_1fb){return _1f8("dojox.mobile.RoundRectCategory",[_1fb,_1fa],{label:"",tag:"h2",baseClass:"mblRoundRectCategory",buildRendering:function(){var _1fc=this.domNode=this.containerNode=this.srcNodeRef||_1f9.create(this.tag);this.inherited(arguments);if(!this.label&&_1fc.childNodes.length===1&&_1fc.firstChild.nodeType===3){this.label=_1fc.firstChild.nodeValue;}},_setLabelAttr:function(_1fd){this.label=_1fd;this.domNode.innerHTML=this._cv?this._cv(_1fd):_1fd;}});});},"dojox/mobile/ToolBarButton":function(){define("dojox/mobile/ToolBarButton",["dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","./sniff","./_ItemBase"],function(_1fe,lang,win,_1ff,_200,_201,has,_202){return _1fe("dojox.mobile.ToolBarButton",_202,{selected:false,arrow:"",light:true,defaultColor:"mblColorDefault",selColor:"mblColorDefaultSel",baseClass:"mblToolBarButton",_selStartMethod:"touch",_selEndMethod:"touch",buildRendering:function(){if(!this.label&&this.srcNodeRef){this.label=this.srcNodeRef.innerHTML;}this.label=lang.trim(this.label);this.domNode=(this.srcNodeRef&&this.srcNodeRef.tagName==="SPAN")?this.srcNodeRef:_200.create("span");this.inherited(arguments);if(this.light&&!this.arrow&&(!this.icon||!this.label)){this.labelNode=this.tableNode=this.bodyNode=this.iconParentNode=this.domNode;_1ff.add(this.domNode,this.defaultColor+" mblToolBarButtonBody"+(this.icon?" mblToolBarButtonLightIcon":" mblToolBarButtonLightText"));return;}this.domNode.innerHTML="";if(this.arrow==="left"||this.arrow==="right"){this.arrowNode=_200.create("span",{className:"mblToolBarButtonArrow mblToolBarButton"+(this.arrow==="left"?"Left":"Right")+"Arrow "+(has("ie")?"":(this.defaultColor+" "+this.defaultColor+"45"))},this.domNode);_1ff.add(this.domNode,"mblToolBarButtonHas"+(this.arrow==="left"?"Left":"Right")+"Arrow");}this.bodyNode=_200.create("span",{className:"mblToolBarButtonBody"},this.domNode);this.tableNode=_200.create("table",{cellPadding:"0",cellSpacing:"0",border:"0"},this.bodyNode);if(!this.label&&this.arrow){this.tableNode.className="mblToolBarButtonText";}var row=this.tableNode.insertRow(-1);this.iconParentNode=row.insertCell(-1);this.labelNode=row.insertCell(-1);this.iconParentNode.className="mblToolBarButtonIcon";this.labelNode.className="mblToolBarButtonLabel";if(this.icon&&this.icon!=="none"&&this.label){_1ff.add(this.domNode,"mblToolBarButtonHasIcon");_1ff.add(this.bodyNode,"mblToolBarButtonLabeledIcon");}_1ff.add(this.bodyNode,this.defaultColor);},startup:function(){if(this._started){return;}this._keydownHandle=this.connect(this.domNode,"onkeydown","_onClick");this.inherited(arguments);if(!this._isOnLine){this._isOnLine=true;this.set("icon",this._pendingIcon!==undefined?this._pendingIcon:this.icon);delete this._pendingIcon;}},_onClick:function(e){if(e&&e.type==="keydown"&&e.keyCode!==13){return;}if(this.onClick(e)===false){return;}this.defaultClickAction(e);},onClick:function(){},_setLabelAttr:function(text){this.inherited(arguments);_1ff.toggle(this.tableNode,"mblToolBarButtonText",text||this.arrow);},_setSelectedAttr:function(_203){var _204=function(node,a,b){_1ff.replace(node,a+" "+a+"45",b+" "+b+"45");};this.inherited(arguments);if(_203){_1ff.replace(this.bodyNode,this.selColor,this.defaultColor);if(!has("ie")&&this.arrowNode){_204(this.arrowNode,this.selColor,this.defaultColor);}}else{_1ff.replace(this.bodyNode,this.defaultColor,this.selColor);if(!has("ie")&&this.arrowNode){_204(this.arrowNode,this.defaultColor,this.selColor);}}_1ff.toggle(this.domNode,"mblToolBarButtonSelected",_203);_1ff.toggle(this.bodyNode,"mblToolBarButtonBodySelected",_203);}});});}}});define("dojox/mobile",[".","dojo/_base/lang","dojox/mobile/_base"],function(_205,lang,base){lang.getObject("mobile",true,_205);return _205.mobile;});