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