/* Copyright (c) 2004-2011, 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:{"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_1,_2,_3,_4,_5){var _6=_5.doc.documentElement,ie=_4("ie"),_7=_4("opera"),_8=Math.floor,ff=_4("ff"),_9=_1.boxModel.replace(/-/,""),_a={"dj_ie":ie,"dj_ie6":_8(ie)==6,"dj_ie7":_8(ie)==7,"dj_ie8":_8(ie)==8,"dj_ie9":_8(ie)==9,"dj_quirks":_4("quirks"),"dj_iequirks":ie&&_4("quirks"),"dj_opera":_7,"dj_khtml":_4("khtml"),"dj_webkit":_4("webkit"),"dj_safari":_4("safari"),"dj_chrome":_4("chrome"),"dj_gecko":_4("mozilla"),"dj_ff3":_8(ff)==3};_a["dj_"+_9]=true;var _b="";for(var _c in _a){if(_a[_c]){_b+=_c+" ";}}_6.className=_2.trim(_6.className+" "+_b);_3(90,function(){if(!_1.isBodyLtr()){var _d="dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl ");_6.className=_2.trim(_6.className+" "+_d+"dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl "));}});return _4;});},"dojox/mobile/app/_Widget":function(){define(["dijit","dojo","dojox","dojo/require!dijit/_WidgetBase"],function(_e,_f,_10){_f.provide("dojox.mobile.app._Widget");_f.experimental("dojox.mobile.app._Widget");_f.require("dijit._WidgetBase");_f.declare("dojox.mobile.app._Widget",_e._WidgetBase,{getScroll:function(){return {x:_f.global.scrollX,y:_f.global.scrollY};},connect:function(_11,_12,fn){if(_12.toLowerCase()=="dblclick"||_12.toLowerCase()=="ondblclick"){if(_f.global["Mojo"]){return this.connect(_11,Mojo.Event.tap,fn);}}return this.inherited(arguments);}});});},"dojox/mobile/app/ImageThumbView":function(){define(["dijit","dojo","dojox","dojo/require!dijit/_WidgetBase,dojo/string"],function(_13,_14,_15){_14.provide("dojox.mobile.app.ImageThumbView");_14.experimental("dojox.mobile.app.ImageThumbView");_14.require("dijit._WidgetBase");_14.require("dojo.string");_14.declare("dojox.mobile.app.ImageThumbView",_13._WidgetBase,{items:[],urlParam:"url",labelParam:null,itemTemplate:"
"+"
"+"
"+"
"+"
"+"
",minPadding:4,maxPerRow:3,maxRows:-1,baseClass:"mblImageThumbView",thumbSize:"medium",animationEnabled:true,selectedIndex:-1,cache:null,cacheMustMatch:false,clickEvent:"onclick",cacheBust:false,disableHide:false,constructor:function(_16,_17){},postCreate:function(){this.inherited(arguments);var _18=this;var _19="mblThumbHover";this.addThumb=_14.hitch(this,this.addThumb);this.handleImgLoad=_14.hitch(this,this.handleImgLoad);this.hideCached=_14.hitch(this,this.hideCached);this._onLoadImages={};this.cache=[];this.visibleImages=[];this._cacheCounter=0;this.connect(this.domNode,this.clickEvent,function(_1a){var _1b=_18._getItemNodeFromEvent(_1a);if(_1b&&!_1b._cached){_18.onSelect(_1b._item,_1b._index,_18.items);_14.query(".selected",this.domNode).removeClass("selected");_14.addClass(_1b,"selected");}});_14.addClass(this.domNode,this.thumbSize);this.resize();this.render();},onSelect:function(_1c,_1d,_1e){},_setAnimationEnabledAttr:function(_1f){this.animationEnabled=_1f;_14[_1f?"addClass":"removeClass"](this.domNode,"animated");},_setItemsAttr:function(_20){this.items=_20||[];var _21={};var i;for(i=0;i0){_24=_24.touches[0];}return this._getItemNode(_24.target);},resize:function(){this._thumbSize=null;this._size=_14.contentBox(this.domNode);this.disableHide=true;this.render();this.disableHide=false;},hideCached:function(){for(var i=0;i0){_26=this.visibleImages.pop();this.cache.push(_26);if(!this.disableHide){_14.addClass(_26,"hidden");}_26._cached=true;}if(this.cache&&this.cache.length>0){setTimeout(this.hideCached,1000);}if(!this.items||this.items.length==0){return;}for(i=0;i0&&(i+1)/this.maxPerRow>=this.maxRows){break;}}if(!this._thumbSize){return;}var _27=0;var row=-1;var _28=this._thumbSize.w+(this.padding*2);var _29=this._thumbSize.h+(this.padding*2);var _2a=this.thumbNodes=_14.query(".mblThumb",this.domNode);var pos=0;_2a=this.visibleImages;for(i=0;i<_2a.length;i++){if(_2a[i]._cached){continue;}if(pos%this.maxPerRow==0){row++;}_27=pos%this.maxPerRow;this.place(_2a[i],(_27*_28)+this.padding,(row*_29)+this.padding);if(!_2a[i]._loading){_14.removeClass(_2a[i],"hidden");}if(pos==this.selectedIndex){_14[pos==this.selectedIndex?"addClass":"removeClass"](_2a[i],"selected");}pos++;}var _2b=Math.ceil(pos/this.maxPerRow);this._numRows=_2b;this.setContainerHeight((_2b*(this._thumbSize.h+this.padding*2)));},setContainerHeight:function(_2c){_14.style(this.domNode,"height",_2c+"px");},addThumb:function(_2d,url,_2e){var _2f;var _30=false;if(this.cache.length>0){var _31=false;for(var i=0;i-1?"&":"?")+"cacheBust="+(new Date()).getTime()+"_"+(this._cacheCounter++);}_14.query(".mblThumbSrc",img._thumbDiv).style("backgroundImage","url("+url+")");delete this._onLoadImages[img._url];},calcPadding:function(){var _35=this._size.w;var _36=this._thumbSize.w;var _37=_36+this.minPadding;this.maxPerRow=Math.floor(_35/_37);this.padding=Math.floor((_35-(_36*this.maxPerRow))/(this.maxPerRow*2));},place:function(_38,x,y){_14.style(_38,{"-webkit-transform":"translate("+x+"px,"+y+"px)"});},destroy:function(){var img;var _39=0;for(var url in this._onLoadImages){img=this._onLoadImages[url];if(img){img.src=null;_39++;}}this.inherited(arguments);}});});},"dojox/mobile/TransitionEvent":function(){define("dojox/mobile/TransitionEvent",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/lang","dojo/on","./transition"],function(_3a,_3b,_3c,on,_3d){return _3a("dojox.mobile.TransitionEvent",null,{constructor:function(_3e,_3f,_40){this.transitionOptions=_3f;this.target=_3e;this.triggerEvent=_40||null;},dispatch:function(){var _41={bubbles:true,cancelable:true,detail:this.transitionOptions,triggerEvent:this.triggerEvent};var evt=on.emit(this.target,"startTransition",_41);if(evt){_3b.when(_3d,_3c.hitch(this,function(_42){_3b.when(_42.call(this,evt),_3c.hitch(this,function(_43){this.endTransition(_43);}));}));}},endTransition:function(_44){on.emit(this.target,"endTransition",{detail:_44.transitionOptions});}});});},"dojox/mobile/ViewController":function(){define(["dojo/_base/kernel","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/on","dojo/ready","dijit/registry","./ProgressIndicator","./TransitionEvent"],function(_45,_46,_47,_48,_49,win,dom,_4a,_4b,on,_4c,_4d,_4e,_4f){var dm=_49.getObject("dojox.mobile",true);var _50=_48("dojox.mobile.ViewController",null,{constructor:function(){this.viewMap={};this.currentView=null;this.defaultView=null;_4c(_49.hitch(this,function(){on(win.body(),"startTransition",_49.hitch(this,"onStartTransition"));}));},findCurrentView:function(_51,src){if(_51){var w=_4d.byId(_51);if(w&&w.getShowingView){return w.getShowingView();}}if(dm.currentView){return dm.currentView;}w=src;while(true){w=w.getParent();if(!w){return null;}if(_4a.contains(w.domNode,"mblView")){break;}}return w;},onStartTransition:function(evt){evt.preventDefault();if(!evt.detail||(evt.detail&&!evt.detail.moveTo&&!evt.detail.href&&!evt.detail.url&&!evt.detail.scene)){return;}var w=this.findCurrentView(evt.detail.moveTo,(evt.target&&evt.target.id)?_4d.byId(evt.target.id):_4d.byId(evt.target));if(!w||(evt.detail&&evt.detail.moveTo&&w===_4d.byId(evt.detail.moveTo))){return;}if(evt.detail.href){var t=_4d.byId(evt.target.id).hrefTarget;if(t){dm.openWindow(evt.detail.href,t);}else{w.performTransition(null,evt.detail.transitionDir,evt.detail.transition,evt.target,function(){location.href=evt.detail.href;});}return;}else{if(evt.detail.scene){_47.publish("/dojox/mobile/app/pushScene",[evt.detail.scene]);return;}}var _52=evt.detail.moveTo;if(evt.detail.url){var id;if(dm._viewMap&&dm._viewMap[evt.detail.url]){id=dm._viewMap[evt.detail.url];}else{var _53=this._text;if(!_53){if(_4d.byId(evt.target.id).sync){_45.xhrGet({url:evt.detail.url,sync:true,load:function(_54){_53=_49.trim(_54);}});}else{var s="dojo/_base/xhr";require([s],_49.hitch(this,function(xhr){var _55=_4e.getInstance();win.body().appendChild(_55.domNode);_55.start();var obj=xhr.get({url:evt.detail.url,handleAs:"text"});obj.addCallback(_49.hitch(this,function(_56,_57){_55.stop();if(_56){this._text=_56;new _4f(evt.target,{transition:evt.detail.transition,transitionDir:evt.detail.transitionDir,moveTo:_52,href:evt.detail.href,url:evt.detail.url,scene:evt.detail.scene},evt.detail).dispatch();}}));obj.addErrback(function(_58){_55.stop();});}));return;}}this._text=null;id=this._parse(_53,_4d.byId(evt.target.id).urlTarget);if(!dm._viewMap){dm._viewMap=[];}dm._viewMap[evt.detail.url]=id;}_52=id;w=this.findCurrentView(_52,_4d.byId(evt.target.id))||w;}w.performTransition(_52,evt.detail.transitionDir,evt.detail.transition,null,null);},_parse:function(_59,id){var _5a,_5b,i,j,len;var _5c=this.findCurrentView();var _5d=_4d.byId(id)&&_4d.byId(id).containerNode||dom.byId(id)||_5c&&_5c.domNode.parentNode||win.body();var _5e=null;for(j=_5d.childNodes.length-1;j>=0;j--){var c=_5d.childNodes[j];if(c.nodeType===1){if(c.getAttribute("fixed")==="bottom"){_5e=c;}break;}}if(_59.charAt(0)==="<"){_5a=_4b.create("DIV",{innerHTML:_59});for(i=0;i<_5a.childNodes.length;i++){var n=_5a.childNodes[i];if(n.nodeType===1){_5b=n;break;}}if(!_5b){return;}_5b.style.visibility="hidden";_5d.insertBefore(_5a,_5e);var ws=_45.parser.parse(_5a);_46.forEach(ws,function(w){if(w&&!w._started&&w.startup){w.startup();}});for(i=0,len=_5a.childNodes.length;i=65&&_9c<=90){return;}}}if(e.type=="keypress"&&typeof _9c!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var _9d=_91.mixin({},e,{charOrCode:_9c,wasConsumed:false,preventDefault:function(){_9d.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(_9d)===false){_8f.stop(_9d);}if(_9d.wasConsumed){return;}setTimeout(_91.hitch(this,"_onInput",_9d),0);};_8d.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput"],function(_9e){this.connect(this.textbox,_9e,_9b);},this);},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=_91.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(_9f){return _9f.substring(0,1).toUpperCase()+_9f.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}},_isTextSelected:function(){return this.textbox.selectionStart==this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);if(this._isTextSelected()){_93.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_a0){if(!this._created||this.textDir!=_a0){this._set("textDir",_a0);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_93._setSelectionRange=_92._setSelectionRange=function(_a1,_a2,_a3){if(_a1.setSelectionRange){_a1.setSelectionRange(_a2,_a3);}};_93.selectInputText=_92.selectInputText=function(_a4,_a5,_a6){_a4=dom.byId(_a4);if(isNaN(_a5)){_a5=0;}if(isNaN(_a6)){_a6=_a4.value?_a4.value.length:0;}try{_a4.focus();_93._setSelectionRange(_a4,_a5,_a6);}catch(e){}};return _93;});},"dojox/mobile/parser":function(){define(["dojo/_base/kernel","dojo/_base/config","dojo/_base/lang","dojo/_base/window","dojo/ready"],function(_a7,_a8,_a9,win,_aa){var dm=_a9.getObject("dojox.mobile",true);var _ab=new function(){this.instantiate=function(_ac,_ad,_ae){_ad=_ad||{};_ae=_ae||{};var i,ws=[];if(_ac){for(i=0;i<_ac.length;i++){var n=_ac[i];var cls=_a9.getObject(n.getAttribute("dojoType")||n.getAttribute("data-dojo-type"));var _af=cls.prototype;var _b0={},_b1,v,t;_a9.mixin(_b0,eval("({"+(n.getAttribute("data-dojo-props")||"")+"})"));_a9.mixin(_b0,_ae.defaults);_a9.mixin(_b0,_ad);for(_b1 in _af){v=n.getAttributeNode(_b1);v=v&&v.nodeValue;t=typeof _af[_b1];if(!v&&(t!=="boolean"||v!=="")){continue;}if(t==="string"){_b0[_b1]=v;}else{if(t==="number"){_b0[_b1]=v-0;}else{if(t==="boolean"){_b0[_b1]=(v!=="false");}else{if(t==="object"){_b0[_b1]=eval("("+v+")");}}}}}_b0["class"]=n.className;_b0.style=n.style&&n.style.cssText;v=n.getAttribute("data-dojo-attach-point");if(v){_b0.dojoAttachPoint=v;}v=n.getAttribute("data-dojo-attach-event");if(v){_b0.dojoAttachEvent=v;}var _b2=new cls(_b0,n);ws.push(_b2);var _b3=n.getAttribute("jsId")||n.getAttribute("data-dojo-id");if(_b3){_a9.setObject(_b3,_b2);}}for(i=0;i=_be){_bf=_c0[_be-1].domNode;_be="after";}}_bb.place(_bd.domNode,_bf,_be);if(this._started&&!_bd._started){_bd.startup();}},removeChild:function(_c1){if(typeof _c1=="number"){_c1=this.getChildren()[_c1];}if(_c1){var _c2=_c1.domNode;if(_c2&&_c2.parentNode){_c2.parentNode.removeChild(_c2);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_c3,dir){var _c4=_c3.domNode,_c5=(dir>0?"nextSibling":"previousSibling");do{_c4=_c4[_c5];}while(_c4&&(_c4.nodeType!=1||!_bc.byNode(_c4)));return _c4&&_bc.byNode(_c4);},getIndexOfChild:function(_c6){return _b9.indexOf(this.getChildren(),_c6);}});});},"dojox/mobile/app/SceneController":function(){define(["dijit","dojo","dojox","dojo/require!dojox/mobile/_base"],function(_c7,_c8,_c9){_c8.provide("dojox.mobile.app.SceneController");_c8.experimental("dojox.mobile.app.SceneController");_c8.require("dojox.mobile._base");(function(){var app=_c9.mobile.app;var _ca={};_c8.declare("dojox.mobile.app.SceneController",_c9.mobile.View,{stageController:null,keepScrollPos:false,init:function(_cb,_cc){this.sceneName=_cb;this.params=_cc;var _cd=app.resolveTemplate(_cb);this._deferredInit=new _c8.Deferred();if(_ca[_cb]){this._setContents(_ca[_cb]);}else{_c8.xhrGet({url:_cd,handleAs:"text"}).addCallback(_c8.hitch(this,this._setContents));}return this._deferredInit;},_setContents:function(_ce){_ca[this.sceneName]=_ce;this.domNode.innerHTML="
"+_ce+"
";var _cf="";var _d0=this.sceneName.split("-");for(var i=0;i<_d0.length;i++){_cf+=_d0[i].substring(0,1).toUpperCase()+_d0[i].substring(1);}_cf+="Assistant";this.sceneAssistantName=_cf;var _d1=this;_c9.mobile.app.loadResourcesForScene(this.sceneName,function(){var _d2;if(typeof (_c8.global[_cf])!="undefined"){_d1._initAssistant();}else{var _d3=app.resolveAssistant(_d1.sceneName);_c8.xhrGet({url:_d3,handleAs:"text"}).addCallback(function(_d4){try{_c8.eval(_d4);}catch(e){throw e;}_d1._initAssistant();});}});},_initAssistant:function(){var cls=_c8.getObject(this.sceneAssistantName);if(!cls){throw Error("Unable to resolve scene assistant "+this.sceneAssistantName);}this.assistant=new cls(this.params);this.assistant.controller=this;this.assistant.domNode=this.domNode.firstChild;this.assistant.setup();this._deferredInit.callback();},query:function(_d5,_d6){return _c8.query(_d5,_d6||this.domNode);},parse:function(_d7){var _d8=this._widgets=_c9.mobile.parser.parse(_d7||this.domNode,{controller:this});for(var i=0;i<_d8.length;i++){_d8[i].set("controller",this);}},getWindowSize:function(){return {w:_c8.global.innerWidth,h:_c8.global.innerHeight};},showAlertDialog:function(_d9){var _da=_c8.marginBox(this.assistant.domNode);var _db=new _c9.mobile.app.AlertDialog(_c8.mixin(_d9,{controller:this}));this.assistant.domNode.appendChild(_db.domNode);_db.show();},popupSubMenu:function(_dc){var _dd=new _c9.mobile.app.ListSelector({controller:this,destroyOnHide:true,onChoose:_dc.onChoose});this.assistant.domNode.appendChild(_dd.domNode);_dd.set("data",_dc.choices);_dd.show(_dc.fromNode);}});})();});},"dojox/mobile/app/_base":function(){define(["dijit","dojo","dojox","dojo/require!dijit/_base,dijit/_WidgetBase,dojox/mobile,dojox/mobile/parser,dojox/mobile/Button,dojox/mobile/app/_event,dojox/mobile/app/_Widget,dojox/mobile/app/StageController,dojox/mobile/app/SceneController,dojox/mobile/app/SceneAssistant,dojox/mobile/app/AlertDialog,dojox/mobile/app/List,dojox/mobile/app/ListSelector,dojox/mobile/app/TextBox,dojox/mobile/app/ImageView,dojox/mobile/app/ImageThumbView"],function(_de,_df,_e0){_df.provide("dojox.mobile.app._base");_df.experimental("dojox.mobile.app._base");_df.require("dijit._base");_df.require("dijit._WidgetBase");_df.require("dojox.mobile");_df.require("dojox.mobile.parser");_df.require("dojox.mobile.Button");_df.require("dojox.mobile.app._event");_df.require("dojox.mobile.app._Widget");_df.require("dojox.mobile.app.StageController");_df.require("dojox.mobile.app.SceneController");_df.require("dojox.mobile.app.SceneAssistant");_df.require("dojox.mobile.app.AlertDialog");_df.require("dojox.mobile.app.List");_df.require("dojox.mobile.app.ListSelector");_df.require("dojox.mobile.app.TextBox");_df.require("dojox.mobile.app.ImageView");_df.require("dojox.mobile.app.ImageThumbView");(function(){var _e1;var _e2;var _e3=["dojox.mobile","dojox.mobile.parser"];var _e4={};var _e5;var _e6;var _e7=[];function _e8(_e9,_ea){var _eb;var url;do{_eb=_e9.pop();if(_eb.source){url=_eb.source;}else{if(_eb.module){url=_df.moduleUrl(_eb.module)+".js";}else{return;}}}while(_e9.length>0&&_e4[url]);if(_e9.length<1&&_e4[url]){_ea();return;}_df.xhrGet({url:url,sync:false}).addCallbacks(function(_ec){_df["eval"](_ec);_e4[url]=true;if(_e9.length>0){_e8(_e9,_ea);}else{_ea();}},function(){});};var _ed=function(){_e1=new _e0.mobile.app.StageController(_e6);var _ee={id:"com.test.app",version:"1.0.0",initialScene:"main"};if(_df.global["appInfo"]){_df.mixin(_ee,_df.global["appInfo"]);}_e2=_e0.mobile.app.info=_ee;if(_e2.title){var _ef=_df.query("head title")[0]||_df.create("title",{},_df.query("head")[0]);document.title=_e2.title;}_e1.pushScene(_e2.initialScene);};var _f0=function(){var _f1=false;if(_df.global.BackButton){BackButton.override();_df.connect(document,"backKeyDown",function(e){_df.publish("/dojox/mobile/app/goback");});_f1=true;}else{if(_df.global.Mojo){}}if(_f1){_df.addClass(_df.body(),"mblNativeBack");}};_df.mixin(_e0.mobile.app,{init:function(_f2){_e6=_f2||_df.body();_e0.mobile.app.STAGE_CONTROLLER_ACTIVE=true;_df.subscribe("/dojox/mobile/app/goback",function(){_e1.popScene();});_df.subscribe("/dojox/mobile/app/alert",function(_f3){_e0.mobile.app.getActiveSceneController().showAlertDialog(_f3);});_df.subscribe("/dojox/mobile/app/pushScene",function(_f4,_f5){_e1.pushScene(_f4,_f5||{});});_df.xhrGet({url:"view-resources.json",load:function(_f6){var _f7=[];if(_f6){_e7=_f6=_df.fromJson(_f6);for(var i=0;i<_f6.length;i++){if(!_f6[i].scene){_f7.push(_f6[i]);}}}if(_f7.length>0){_e8(_f7,_ed);}else{_ed();}},error:_ed});_f0();},getActiveSceneController:function(){return _e1.getActiveSceneController();},getStageController:function(){return _e1;},loadResources:function(_f8,_f9){_e8(_f8,_f9);},loadResourcesForScene:function(_fa,_fb){var _fc=[];for(var i=0;i<_e7.length;i++){if(_e7[i].scene==_fa){_fc.push(_e7[i]);}}if(_fc.length>0){_e8(_fc,_fb);}else{_fb();}},resolveTemplate:function(_fd){return "app/views/"+_fd+"/"+_fd+"-scene.html";},resolveAssistant:function(_fe){return "app/assistants/"+_fe+"-assistant.js";}});})();});},"dijit/_base/scroll":function(){define("dijit/_base/scroll",["dojo/window",".."],function(_ff,_100){_100.scrollIntoView=function(node,pos){_ff.scrollIntoView(node,pos);};});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_101,dojo,_102,_103,_104,dom,_105,geom,_106,_107){if(!dojo.isAsync){_106(0,function(){var _108=["./fx/Toggler"];_107(_108);});}var _109=dojo.fx={};var _10a={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _10b=function(_10c){this._index=-1;this._animations=_10c||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_102.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_10b.prototype=new _101();lang.extend(_10b,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_103.disconnect(this._onAnimateCtx);_103.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_103.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_103.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_10d,_10e){if(!this._current){this._current=this._animations[this._index=0];}if(!_10e&&this._current.status()=="playing"){return this;}var _10f=_103.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_110=_103.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_111=_103.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_103.disconnect(_10f);_103.disconnect(_110);_103.disconnect(_111);});if(this._onAnimateCtx){_103.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_103.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_103.disconnect(this._onEndCtx);}this._onEndCtx=_103.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_103.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_103.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_112,_113){this.pause();var _114=this.duration*_112;this._current=null;_102.some(this._animations,function(a){if(a.duration<=_114){this._current=a;return true;}_114-=a.duration;return false;});if(this._current){this._current.gotoPercent(_114/this._current.duration,_113);}return this;},stop:function(_115){if(this._current){if(_115){for(;this._index+1this._animations.length){this._fire("onEnd");}},_call:function(_11b,args){var t=this._pseudoAnimation;t[_11b].apply(t,args);},play:function(_11c,_11d){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_11e,_11f){var ms=this.duration*_11e;_102.forEach(this._animations,function(a){a.gotoPercent(a.duration=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/ProgressIndicator":function(){define("dojox/mobile/ProgressIndicator",["dojo/_base/config","dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/has"],function(_124,_125,_126,_127,has){var cls=_125("dojox.mobile.ProgressIndicator",null,{interval:100,colors:["#C0C0C0","#C0C0C0","#C0C0C0","#C0C0C0","#C0C0C0","#C0C0C0","#B8B9B8","#AEAFAE","#A4A5A4","#9A9A9A","#8E8E8E","#838383"],constructor:function(){this._bars=[];this.domNode=_126.create("DIV");this.domNode.className="mblProgContainer";if(_124["mblAndroidWorkaround"]!==false&&has("android")>=2.2&&has("android")<3){_127.set(this.domNode,"webkitTransform","translate3d(0,0,0)");}this.spinnerNode=_126.create("DIV",null,this.domNode);for(var i=0;ival2){return 1;}else{if(val1";_13c=win.doc.createElement(html);}else{_13c=_138.create("iframe");_13c.src="javascript:\"\"";_13c.className="dijitBackgroundIframe";_13c.setAttribute("role","presentation");_139.set(_13c,"opacity",0.1);}_13c.tabIndex=-1;}return _13c;};this.push=function(_13d){_13d.style.display="none";_13b.push(_13d);};}();_136.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _13e=(this.iframe=_13a.pop());node.appendChild(_13e);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_139.set(_13e,{width:"100%",height:"100%"});}}};lang.extend(_136.BackgroundIframe,{resize:function(node){if(this.iframe){_139.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_13a.push(this.iframe);delete this.iframe;}}});return _136.BackgroundIframe;});},"dojox/mobile":function(){define([".","dojo/_base/lang","dojox/mobile/_base"],function(_13f,lang,base){lang.getObject("mobile",true,_13f);return _13f.mobile;});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/sniff","./_FormWidgetMixin"],function(_140,_141,keys,has,_142){return _140("dijit.form._FormValueMixin",_142,{readOnly:false,_setReadOnlyAttr:function(_143){_141.set(this.focusNode,"readOnly",_143);this.focusNode.setAttribute("aria-readonly",_143);this._set("readOnly",_143);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_144,_145){this._handleOnChange(_144,_145);},_handleOnChange:function(_146,_147){this._set("value",_146);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){var te;if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();te=document.createEventObject();te.keyCode=keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}}});});},"dojox/mobile/common":function(){define("dojox/mobile/common",["dojo/_base/kernel","dojo/_base/array","dojo/_base/config","dojo/_base/connect","dojo/_base/lang","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dijit/registry","./sniff","./uacss"],function(dojo,_148,_149,_14a,lang,win,_14b,_14c,_14d,_14e,_14f,has,_150){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();_14b.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(_151){var dim=dm.getScreenSize();var sz=Math.min(dim.w,dim.h);var from,to;if(sz>=dm.tabletSize&&(_151||(!this._sz||this._sz=dm.tabletSize))){from="tablet";to="phone";}}if(to){_14b.replace(win.doc.documentElement,"dj_"+to,"dj_"+from);_14a.publish("/dojox/mobile/screenSize/"+to,[dim]);}this._sz=sz;};dm.detectScreenSize();dm.setupIcon=function(_152,_153){if(_152&&_153){var arr=_148.map(_153.split(/[ ,]/),function(item){return item-0;});var t=arr[0];var r=arr[1]+arr[2];var b=arr[0]+arr[3];var l=arr[1];_14d.set(_152,{clip:"rect("+t+"px "+r+"px "+b+"px "+l+"px)",top:(_152.parentNode?_14d.get(_152,"top"):0)-t+"px",left:-l+"px"});}};dm.hideAddressBarWait=typeof (_149["mblHideAddressBarWait"])==="number"?_149["mblHideAddressBarWait"]:1500;dm.hide_1=function(_154){scrollTo(0,1);var h=dm.getScreenSize().h+"px";if(has("android")){if(_154){win.body().style.minHeight=h;}dm.resizeAll();}else{if(_154||dm._h===h&&h!==win.body().style.minHeight){win.body().style.minHeight=h;dm.resizeAll();}}dm._h=h;};dm.hide_fs=function(){var t=win.body().style.minHeight;win.body().style.minHeight=(dm.getScreenSize().h*2)+"px";scrollTo(0,1);setTimeout(function(){dm.hide_1(1);dm._hiding=false;},1000);};dm.hideAddressBar=function(evt){if(dm.disableHideAddressBar||dm._hiding){return;}dm._hiding=true;dm._h=0;win.body().style.minHeight=(dm.getScreenSize().h*2)+"px";setTimeout(dm.hide_1,0);setTimeout(dm.hide_1,200);setTimeout(dm.hide_1,800);setTimeout(dm.hide_fs,dm.hideAddressBarWait);};dm.resizeAll=function(evt,root){if(dm.disableResizeAll){return;}_14a.publish("/dojox/mobile/resizeAll",[evt,root]);dm.updateOrient();dm.detectScreenSize();var _155=function(w){var _156=w.getParent&&w.getParent();return !!((!_156||!_156.resize)&&w.resize);};var _157=function(w){_148.forEach(w.getChildren(),function(_158){if(_155(_158)){_158.resize();}_157(_158);});};if(root){if(root.resize){root.resize();}_157(root);}else{_148.forEach(_148.filter(_14f.toArray(),_155),function(w){w.resize();});}};dm.openWindow=function(url,_159){win.global.open(url,_159||"_blank");};dm.createDomButton=function(_15a,_15b,_15c){if(!dm._domButtons){if(has("webkit")){var _15d=function(_15e,dic){var i,j;if(!_15e){var dic={};var ss=dojo.doc.styleSheets;for(i=0;i/).length-1;if(sel.match(/(mblDomButton\w+)/)){var cls=RegExp.$1;if(!dic[cls]||n>dic[cls]){dic[cls]=n;}}}}}}};dm._domButtons=_15d();}else{dm._domButtons={};}}var s=_15a.className;var node=_15c||_15a;if(s.match(/(mblDomButton\w+)/)&&s.indexOf("/")===-1){var _160=RegExp.$1;var nDiv=4;if(s.match(/(mblDomButton\w+_(\d+))/)){nDiv=RegExp.$2-0;}else{if(dm._domButtons[_160]!==undefined){nDiv=dm._domButtons[_160];}}var _161=null;if(has("bb")&&_149["mblBBBoxShadowWorkaround"]!==false){_161={style:"-webkit-box-shadow:none"};}for(var i=0,p=node;i=2.2){_14d.set(node,"webkitTransform","translate3d(0,0,0)");}!!_15b&&_14d.set(node,_15b);return node;};dm.createIcon=function(icon,_162,node,_163,_164){if(icon&&icon.indexOf("mblDomButton")===0){if(node&&node.className.match(/(mblDomButton\w+)/)){_14b.remove(node,RegExp.$1);}else{node=_14c.create("DIV");}node.title=_163;_14b.add(node,icon);dm.createDomButton(node);}else{if(icon&&icon!=="none"){if(!node||node.nodeName!=="IMG"){node=_14c.create("IMG",{alt:_163});}node.src=(icon||"").replace("${theme}",dm.currentTheme);dm.setupIcon(node,_162);if(_164&&_162){var arr=_162.split(/[ ,]/);_14d.set(_164,{width:arr[2]+"px",height:arr[3]+"px"});}}}if(_164){_164.appendChild(node);}return node;};dm._iw=_149["mblIosWorkaround"]!==false&&has("iphone");if(dm._iw){dm._iwBgCover=_14c.create("div");}if(_149.parseOnLoad){_14e(90,function(){var _165=win.body().getElementsByTagName("*");var i,len,s;len=_165.length;for(i=0;i=2.2){if(_149["mblAndroidWorkaroundButtonStyle"]!==false){_14c.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("android")<3){_14d.set(win.doc.documentElement,"webkitTransform","translate3d(0,0,0)");_14a.connect(null,"onfocus",null,function(e){_14d.set(win.doc.documentElement,"webkitTransform","");});_14a.connect(null,"onblur",null,function(e){_14d.set(win.doc.documentElement,"webkitTransform","translate3d(0,0,0)");});}else{if(_149["mblAndroid3Workaround"]!==false){_14d.set(win.doc.documentElement,{webkitBackfaceVisibility:"hidden",webkitPerspective:8000});}}}var f=dm.resizeAll;if(_149["mblHideAddressBar"]!==false&&navigator.appVersion.indexOf("Mobile")!=-1||_149["mblForceHideAddressBar"]===true){dm.hideAddressBar();if(_149["mblAlwaysHideAddressBar"]===true){f=dm.hideAddressBar;}}_14a.connect(null,(win.global.onorientationchange!==undefined&&!has("android"))?"onorientationchange":"onresize",null,f);var _166=win.body().getElementsByTagName("*");var i,len=_166.length,s;for(i=0;i=0;i--){var c=_17c[i];if(c.nodeType===1){if(!_17b&&_171.contains(c,"mblToolBarButton")&&_173.get(c,"float")==="right"){_17b=c;}if(!_17a&&(_171.contains(c,"mblToolBarButton")&&_173.get(c,"float")==="left"||c===this._btn)){_17a=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=_17b?bw-_17b.offsetLeft+5:0;var lw=_17a?_17a.offsetLeft+_17a.offsetWidth+5:0;var tw=this.labelNodeLen||0;_171[bw-Math.max(rw,lw)*2>tw?"add":"remove"](this.domNode,"mblHeadingCenterTitle");}_16e.forEach(this.getChildren(),function(_17d){if(_17d.resize){_17d.resize();}});},_setBackAttr:function(back){if(!back){_172.destroy(this._btn);this._btn=null;this.back="";}else{if(!this._btn){var btn=_172.create("DIV",this.backProp,this.domNode,"first");var head=_172.create("DIV",{className:"mblArrowButtonHead"},btn);var body=_172.create("DIV",{className:"mblArrowButtonBody mblArrowButtonText"},btn);this._body=body;this._head=head;this._btn=btn;this.backBtnNode=btn;this.connect(body,"onclick","onClick");}this.back=back;this._body.innerHTML=this._cv?this._cv(this.back):this.back;}this.resize();},_setLabelAttr:function(_17e){this.label=_17e;this.labelNode.innerHTML=this.labelDivNode.innerHTML=this._cv?this._cv(_17e):_17e;},findCurrentView:function(){var w=this;while(true){w=w.getParent();if(!w){return null;}if(w instanceof View){break;}}return w;},onClick:function(e){var h1=this.domNode;_171.add(h1,"mblArrowButtonSelected");setTimeout(function(){_171.remove(h1,"mblArrowButtonSelected");},1000);if(this.back&&!this.moveTo&&!this.href&&history){history.back();return;}var view=this.findCurrentView();if(view){view.clickedPosX=e.clientX;view.clickedPosY=e.clientY;}this.goTo(this.moveTo,this.href);},goTo:function(_17f,href){var view=this.findCurrentView();if(!view){return;}if(href){view.performTransition(null,-1,this.transition,this,function(){location.href=href;});}else{if(dm.app&&dm.app.STAGE_CONTROLLER_ACTIVE){_16f.publish("/dojox/mobile/app/goback");}else{var node=_174.byId(view.convertToId(_17f));if(node){var _180=node.getParent();while(view){var _181=view.getParent();if(_180===_181){break;}view=_181;}}if(view){view.performTransition(_17f,-1,this.transition);}}}}});});},"dojox/main":function(){define("dojox/main",["dojo/_base/kernel"],function(dojo){return dojo.dojox;});},"dojox/mobile/RoundRectList":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/window","dijit/_Contained","dijit/_Container","dijit/_WidgetBase"],function(_182,_183,win,_184,_185,_186){return _183("dojox.mobile.RoundRectList",[_186,_185,_184],{transition:"slide",iconBase:"",iconPos:"",select:"",stateful:false,buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement("UL");this.domNode.className="mblRoundRectList";},resize:function(){_182.forEach(this.getChildren(),function(_187){if(_187.resize){_187.resize();}});},onCheckStateChanged:function(_188,_189){},_setStatefulAttr:function(_18a){this.stateful=_18a;_182.forEach(this.getChildren(),function(_18b){_18b.setArrow&&_18b.setArrow();});},deselectItem:function(item){item.deselect();},deselectAll:function(){_182.forEach(this.getChildren(),function(_18c){_18c.deselect&&_18c.deselect();});},selectItem:function(item){item.select();}});});},"dojo/Stateful":function(){define(["./_base/kernel","./_base/declare","./_base/lang","./_base/array"],function(dojo,_18d,lang,_18e){return dojo.declare("dojo.Stateful",null,{postscript:function(_18f){if(_18f){lang.mixin(this,_18f);}},get:function(name){return this[name];},set:function(name,_190){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _191=this[name];this[name]=_190;if(this._watchCallbacks){this._watchCallbacks(name,_191,_190);}return this;},watch:function(name,_192){var _193=this._watchCallbacks;if(!_193){var self=this;_193=this._watchCallbacks=function(name,_194,_195,_196){var _197=function(_198){if(_198){_198=_198.slice();for(var i=0,l=_198.length;i0){_19f=_19e.targetTouches[0];}var _1a0=_19d._getRowNode(_19e.target);if(_1a0){_19d._setDataInfo(_1a0,_19e);_19d._selectRow(_1a0);_19d._mouseDownPos={x:_19f.pageX,y:_19f.pageY};_19d._dragThreshold=null;}});this.connect(this.domNode,"onmouseup",function(_1a1){if(_1a1.targetTouches&&_1a1.targetTouches.length>0){_1a1=_1a1.targetTouches[0];}var _1a2=_19d._getRowNode(_1a1.target);if(_1a2){_19d._setDataInfo(_1a2,_1a1);if(_19d._selectedRow){_19d.onSelect(_1a2._data,_1a2._idx,_1a2);}this._deselectRow();}});if(this.enableDelete){this.connect(this.domNode,"mousemove",function(_1a3){dojo.stopEvent(_1a3);if(!_19d._selectedRow){return;}var _1a4=_19d._getRowNode(_1a3.target);if(_19d.enableDelete&&_1a4&&!_19d._deleting){_19d.handleDrag(_1a3);}});}this.connect(this.domNode,"onclick",function(_1a5){if(_1a5.touches&&_1a5.touches.length>0){_1a5=_1a5.touches[0];}var _1a6=_19d._getRowNode(_1a5.target,true);if(_1a6){_19d._setDataInfo(_1a6,_1a5);}});this.connect(this.domNode,"mouseout",function(_1a7){if(_1a7.touches&&_1a7.touches.length>0){_1a7=_1a7.touches[0];}if(_1a7.target==_19d._selectedRow){_19d._deselectRow();}});if(!this.itemTemplate){throw Error("An item template must be provided to "+this.declaredClass);}this._loadTemplate(this.itemTemplate,"itemTemplate",this._checkLoadComplete);if(this.emptyTemplate){this._loadTemplate(this.emptyTemplate,"emptyTemplate",this._checkLoadComplete);}if(this.dividerTemplate){this._loadTemplate(this.dividerTemplate,"dividerTemplate",this._checkLoadComplete);}},handleDrag:function(_1a8){var _1a9=_1a8;if(_1a8.targetTouches&&_1a8.targetTouches.length>0){_1a9=_1a8.targetTouches[0];}var diff=_1a9.pageX-this._mouseDownPos.x;var _1aa=Math.abs(diff);if(_1aa>10&&!this._dragThreshold){this._dragThreshold=dojo.marginBox(this._selectedRow).w*0.6;if(!this.autoDelete){this.createDeleteButtons(this._selectedRow);}}this._selectedRow.style.left=(_1aa>10?diff:0)+"px";if(this._dragThreshold&&this._dragThreshold<_1aa){this.preDelete(diff);}},handleDragCancel:function(){if(this._deleting){return;}dojo.removeClass(this._selectedRow,"hold");this._selectedRow.style.left=0;this._mouseDownPos=null;this._dragThreshold=null;this._deleteBtns&&dojo.style(this._deleteBtns,"display","none");},preDelete:function(_1ab){var self=this;this._deleting=true;dojo.animateProperty({node:this._selectedRow,duration:400,properties:{left:{end:_1ab+((_1ab>0?1:-1)*this._dragThreshold*0.8)}},onEnd:dojo.hitch(this,function(){if(this.autoDelete){this.deleteRow(this._selectedRow);}})}).play();},deleteRow:function(row){dojo.style(row,{visibility:"hidden",minHeight:"0px"});dojo.removeClass(row,"hold");this._deleteAnimConn=this.connect(row,"webkitAnimationEnd",this._postDeleteAnim);dojo.addClass(row,"collapsed");},_postDeleteAnim:function(_1ac){if(this._deleteAnimConn){this.disconnect(this._deleteAnimConn);this._deleteAnimConn=null;}var row=this._selectedRow;var _1ad=row.nextSibling;var _1ae=row.previousSibling;if(_1ae&&_1ae._isDivider){if(!_1ad||_1ad._isDivider){_1ae.parentNode.removeChild(_1ae);}}row.parentNode.removeChild(row);this.onDelete(row._data,row._idx,this.items);while(_1ad){if(_1ad._idx){_1ad._idx--;}_1ad=_1ad.nextSibling;}dojo.destroy(row);dojo.query("> *:not(.buttons)",this.domNode).forEach(this.applyClass);this._deleting=false;this._deselectRow();},createDeleteButtons:function(_1af){var mb=dojo.marginBox(_1af);var pos=dojo._abs(_1af,true);if(!this._deleteBtns){this._deleteBtns=dojo.create("div",{"class":"buttons"},this.domNode);this.buttons=[];this.buttons.push(new _19b.mobile.Button({btnClass:"mblRedButton",label:this.labelDelete}));this.buttons.push(new _19b.mobile.Button({btnClass:"mblBlueButton",label:this.labelCancel}));dojo.place(this.buttons[0].domNode,this._deleteBtns);dojo.place(this.buttons[1].domNode,this._deleteBtns);dojo.addClass(this.buttons[0].domNode,"deleteBtn");dojo.addClass(this.buttons[1].domNode,"cancelBtn");this._handleButtonClick=dojo.hitch(this._handleButtonClick);this.connect(this._deleteBtns,"onclick",this._handleButtonClick);}dojo.removeClass(this._deleteBtns,"fade out fast");dojo.style(this._deleteBtns,{display:"",width:mb.w+"px",height:mb.h+"px",top:(_1af.offsetTop)+"px",left:"0px"});},onDelete:function(data,_1b0,_1b1){_1b1.splice(_1b0,1);if(_1b1.length<1){this.render();}},cancelDelete:function(){this._deleting=false;this.handleDragCancel();},_handleButtonClick:function(_1b2){if(_1b2.touches&&_1b2.touches.length>0){_1b2=_1b2.touches[0];}var node=_1b2.target;if(dojo.hasClass(node,"deleteBtn")){this.deleteRow(this._selectedRow);}else{if(dojo.hasClass(node,"cancelBtn")){this.cancelDelete();}else{return;}}dojo.addClass(this._deleteBtns,"fade out");},applyClass:function(node,idx,_1b3){dojo.removeClass(node,"first last");if(idx==0){dojo.addClass(node,"first");}if(idx==_1b3.length-1){dojo.addClass(node,"last");}},_setDataInfo:function(_1b4,_1b5){_1b5.item=_1b4._data;_1b5.index=_1b4._idx;},onSelect:function(data,_1b6,_1b7){},_selectRow:function(row){if(this._deleting&&this._selectedRow&&row!=this._selectedRow){this.cancelDelete();}if(!dojo.hasClass(row,"row")){return;}if(this.enableHold||this.enableDelete){dojo.addClass(row,"hold");}this._selectedRow=row;},_deselectRow:function(){if(!this._selectedRow||this._deleting){return;}this.handleDragCancel();dojo.removeClass(this._selectedRow,"hold");this._selectedRow=null;},_getRowNode:function(_1b8,_1b9){while(_1b8&&!_1b8._data&&_1b8!=this.domNode){if(!_1b9&&dojo.hasClass(_1b8,"noclick")){return null;}_1b8=_1b8.parentNode;}return _1b8==this.domNode?null:_1b8;},applyTemplate:function(_1ba,data){return dojo._toDom(dojo.string.substitute(_1ba,data,this._replaceToken,this.formatters||this));},render:function(){dojo.query("> *:not(.buttons)",this.domNode).forEach(dojo.destroy);if(this.items.length<1&&this.emptyTemplate){dojo.place(dojo._toDom(this.emptyTemplate),this.domNode,"first");}else{this.domNode.appendChild(this._renderRange(0,this.items.length));}if(dojo.hasClass(this.domNode.parentNode,"mblRoundRect")){dojo.addClass(this.domNode.parentNode,"mblRoundRectList");}var divs=dojo.query("> .row",this.domNode);if(divs.length>0){dojo.addClass(divs[0],"first");dojo.addClass(divs[divs.length-1],"last");}},_renderRange:function(_1bb,_1bc){var rows=[];var row,i;var frag=document.createDocumentFragment();_1bb=Math.max(0,_1bb);_1bc=Math.min(_1bc,this.items.length);for(i=_1bb;i<_1bc;i++){row=this.applyTemplate(this.itemTemplate,this.items[i]);dojo.addClass(row,"row");row._data=this.items[i];row._idx=i;rows.push(row);}if(!this.dividerFunction||!this.dividerTemplate){for(i=_1bb;i<_1bc;i++){rows[i]._data=this.items[i];rows[i]._idx=i;frag.appendChild(rows[i]);}}else{var _1bd=null;var _1be;var _1bf;for(i=_1bb;i<_1bc;i++){rows[i]._data=this.items[i];rows[i]._idx=i;_1be=this.dividerFunction(this.items[i]);if(_1be&&_1be!=_1bd){_1bf=this.applyTemplate(this.dividerTemplate,{label:_1be,item:this.items[i]});_1bf._isDivider=true;frag.appendChild(_1bf);_1bd=_1be;}frag.appendChild(rows[i]);}}return frag;},_replaceToken:function(_1c0,key){if(key.charAt(0)=="!"){_1c0=dojo.getObject(key.substr(1),false,_this);}if(typeof _1c0=="undefined"){return "";}if(_1c0==null){return "";}return key.charAt(0)=="!"?_1c0:_1c0.toString().replace(/"/g,""");},_checkLoadComplete:function(){this._templateLoadCount--;if(this._templateLoadCount<1&&this.get("items")){this.render();}},_loadTemplate:function(url,_1c1,_1c2){if(!url){_1c2();return;}if(_19c[url]){this.set(_1c1,_19c[url]);_1c2();}else{var _1c3=this;dojo.xhrGet({url:url,sync:false,handleAs:"text",load:function(text){_19c[url]=dojo.trim(text);_1c3.set(_1c1,_19c[url]);_1c2();}});}},_setFormattersAttr:function(_1c4){this.formatters=_1c4;},_setItemsAttr:function(_1c5){this.items=_1c5||[];if(this._templateLoadCount<1&&_1c5){this.render();}},destroy:function(){if(this.buttons){dojo.forEach(this.buttons,function(_1c6){_1c6.destroy();});this.buttons=null;}this.inherited(arguments);}});})();});},"dojox/mobile/app/ListSelector":function(){define(["dijit","dojo","dojox","dojo/require!dojox/mobile/app/_Widget,dojo/fx"],function(_1c7,dojo,_1c8){dojo.provide("dojox.mobile.app.ListSelector");dojo.experimental("dojox.mobile.app.ListSelector");dojo.require("dojox.mobile.app._Widget");dojo.require("dojo.fx");dojo.declare("dojox.mobile.app.ListSelector",_1c8.mobile.app._Widget,{data:null,controller:null,onChoose:null,destroyOnHide:false,_setDataAttr:function(data){this.data=data;if(this.data){this.render();}},postCreate:function(){dojo.addClass(this.domNode,"listSelector");var _1c9=this;this.connect(this.domNode,"onclick",function(_1ca){if(!dojo.hasClass(_1ca.target,"listSelectorRow")){return;}if(_1c9.onChoose){_1c9.onChoose(_1c9.data[_1ca.target._idx].value);}_1c9.hide();});this.connect(this.domNode,"onmousedown",function(_1cb){if(!dojo.hasClass(_1cb.target,"listSelectorRow")){return;}dojo.addClass(_1cb.target,"listSelectorRow-selected");});this.connect(this.domNode,"onmouseup",function(_1cc){if(!dojo.hasClass(_1cc.target,"listSelectorRow")){return;}dojo.removeClass(_1cc.target,"listSelectorRow-selected");});this.connect(this.domNode,"onmouseout",function(_1cd){if(!dojo.hasClass(_1cd.target,"listSelectorRow")){return;}dojo.removeClass(_1cd.target,"listSelectorRow-selected");});var _1ce=this.controller.getWindowSize();this.mask=dojo.create("div",{"class":"dialogUnderlayWrapper",innerHTML:"
"},this.controller.assistant.domNode);this.connect(this.mask,"onclick",function(){_1c9.onChoose&&_1c9.onChoose();_1c9.hide();});},show:function(_1cf){var _1d0;var _1d1=this.controller.getWindowSize();var _1d2;if(_1cf){_1d2=dojo._abs(_1cf);_1d0=_1d2;}else{_1d0.x=_1d1.w/2;_1d0.y=200;}dojo.style(this.domNode,{opacity:0,display:"",width:Math.floor(_1d1.w*0.8)+"px"});var _1d3=0;dojo.query(">",this.domNode).forEach(function(node){dojo.style(node,{"float":"left"});_1d3=Math.max(_1d3,dojo.marginBox(node).w);dojo.style(node,{"float":"none"});});_1d3=Math.min(_1d3,Math.round(_1d1.w*0.8))+dojo.style(this.domNode,"paddingLeft")+dojo.style(this.domNode,"paddingRight")+1;dojo.style(this.domNode,"width",_1d3+"px");var _1d4=dojo.marginBox(this.domNode).h;var _1d5=this;var _1d6=_1d2?Math.max(30,_1d2.y-_1d4-10):this.getScroll().y+30;var _1d7=dojo.animateProperty({node:this.domNode,duration:400,properties:{width:{start:1,end:_1d3},height:{start:1,end:_1d4},top:{start:_1d0.y,end:_1d6},left:{start:_1d0.x,end:(_1d1.w/2-_1d3/2)},opacity:{start:0,end:1},fontSize:{start:1}},onEnd:function(){dojo.style(_1d5.domNode,"width","inherit");}});var _1d8=dojo.fadeIn({node:this.mask,duration:400});dojo.fx.combine([_1d7,_1d8]).play();},hide:function(){var _1d9=this;var _1da=dojo.animateProperty({node:this.domNode,duration:500,properties:{width:{end:1},height:{end:1},opacity:{end:0},fontSize:{end:1}},onEnd:function(){if(_1d9.get("destroyOnHide")){_1d9.destroy();}}});var _1db=dojo.fadeOut({node:this.mask,duration:400});dojo.fx.combine([_1da,_1db]).play();},render:function(){dojo.empty(this.domNode);dojo.style(this.domNode,"opacity",0);var row;for(var i=0;i>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_1de,map,_1df,_1e0){_1e0=_1e0||dojo.global;_1df=_1df?lang.hitch(_1e0,_1df):function(v){return v;};return _1de.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1e1,key,_1e2){var _1e3=lang.getObject(key,false,map);if(_1e2){_1e3=lang.getObject(_1e2,false,_1e0).call(_1e0,_1e3,key);}return _1df(_1e3,key).toString();});};dojo.string.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return dojo.string;});},"dojox/mobile/TextBox":function(){define("dojox/mobile/TextBox",["dojo/_base/declare","dojo/dom-construct","dijit/_WidgetBase","dijit/form/_FormValueMixin","dijit/form/_TextBoxMixin"],function(_1e4,_1e5,_1e6,_1e7,_1e8){return _1e4("dojox.mobile.TextBox",[_1e6,_1e7,_1e8],{baseClass:"mblTextBox",_setTypeAttr:null,_setPlaceHolderAttr:"textbox",buildRendering:function(){if(!this.srcNodeRef){this.srcNodeRef=_1e5.create("input",{"type":this.type});}this.inherited(arguments);this.textbox=this.focusNode=this.domNode;},postCreate:function(){this.inherited(arguments);this.connect(this.textbox,"onfocus","_onFocus");this.connect(this.textbox,"onblur","_onBlur");}});});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_1e9,has,_1ea,win,_1eb){var _1ec={},hash={};var _1ed={length:0,add:function(_1ee){if(hash[_1ee.id]){throw new Error("Tried to register widget with id=="+_1ee.id+" but that id is already registered");}hash[_1ee.id]=_1ee;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(_1ef){var id;do{id=_1ef+"_"+(_1ef in _1ec?++_1ec[_1ef]:_1ec[_1ef]=0);}while(hash[id]);return _1eb._scopeName=="dijit"?id:_1eb._scopeName+"_"+id;},findWidgets:function(root){var _1f0=[];function _1f1(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _1f2=node.getAttribute("widgetId");if(_1f2){var _1f3=hash[_1f2];if(_1f3){_1f0.push(_1f3);}}else{_1f1(node);}}}};_1f1(root);return _1f0;},_destroyAll:function(){_1eb._curFocus=null;_1eb._prevFocus=null;_1eb._activeStack=[];_1e9.forEach(_1ed.findWidgets(win.body()),function(_1f4){if(!_1f4._destroyed){if(_1f4.destroyRecursive){_1f4.destroyRecursive();}else{if(_1f4.destroy){_1f4.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};if(has("ie")){_1ea.addOnWindowUnload(function(){_1ed._destroyAll();});}_1eb.registry=_1ed;return _1ed;});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","../registry",".."],function(_1f5,_1f6,_1f7,_1f8){_1f5.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_1f8[name]=_1f7[name];});_1f8.defaultDuration=_1f6["defaultDuration"]||200;return _1f8;});},"dijit/_base/place":function(){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place",".."],function(_1f9,lang,_1fa,_1fb,_1fc){_1fc.getViewport=function(){return _1fa.getBox();};_1fc.placeOnScreen=_1fb.at;_1fc.placeOnScreenAroundElement=function(node,_1fd,_1fe,_1ff){var _200;if(lang.isArray(_1fe)){_200=_1fe;}else{_200=[];for(var key in _1fe){_200.push({aroundCorner:key,corner:_1fe[key]});}}return _1fb.around(node,_1fd,_200,true,_1ff);};_1fc.placeOnScreenAroundNode=_1fc.placeOnScreenAroundElement;_1fc.placeOnScreenAroundRectangle=_1fc.placeOnScreenAroundElement;_1fc.getPopupAroundAlignment=function(_201,_202){var _203={};_1f9.forEach(_201,function(pos){var ltr=_202;switch(pos){case "after":_203[_202?"BR":"BL"]=_202?"BL":"BR";break;case "before":_203[_202?"BL":"BR"]=_202?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_203[ltr?"BL":"BR"]=ltr?"TL":"TR";_203[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_203[ltr?"TL":"TR"]=ltr?"BL":"BR";_203[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _203;};return _1fc;});},"dojox/mobile/View":function(){define("dojox/mobile/View",["dojo/_base/kernel","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-geometry","dojo/dom-style","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./ViewController","./transition"],function(dojo,_204,_205,_206,_207,lang,has,win,_208,dom,_209,_20a,_20b,_20c,_20d,_20e,_20f,_210,_211){var dm=lang.getObject("dojox.mobile",true);return _207("dojox.mobile.View",[_20f,_20e,_20d],{selected:false,keepScrollPos:true,constructor:function(_212,node){if(node){dom.byId(node).style.visibility="hidden";}this._aw=has("android")>=2.2&&has("android")<3;},buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement("DIV");this.domNode.className="mblView";this.connect(this.domNode,"webkitAnimationEnd","onAnimationEnd");this.connect(this.domNode,"webkitAnimationStart","onAnimationStart");if(!_205["mblCSS3Transition"]){this.connect(this.domNode,"webkitTransitionEnd","onAnimationEnd");}var id=location.href.match(/#(\w+)([^\w=]|$)/)?RegExp.$1:null;this._visible=this.selected&&!id||this.id==id;if(this.selected){dm._defaultView=this;}},startup:function(){if(this._started){return;}var _213=[];var _214=this.domNode.parentNode.childNodes;var _215=false;for(var i=0;i<_214.length;i++){var c=_214[i];if(c.nodeType===1&&_209.contains(c,"mblView")){_213.push(c);_215=_215||_20c.byNode(c)._visible;}}var _216=this._visible;if(_213.length===1||(!_215&&_213[0]===this.domNode)){_216=true;}var _217=this;setTimeout(function(){if(!_216){_217.domNode.style.display="none";}else{dm.currentView=_217;_217.onStartView();_206.publish("/dojox/mobile/startView",[_217]);}if(_217.domNode.style.visibility!="visible"){_217.domNode.style.visibility="visible";}var _218=_217.getParent&&_217.getParent();if(!_218||!_218.resize){_217.resize();}},has("ie")?100:0);this.inherited(arguments);},resize:function(){_204.forEach(this.getChildren(),function(_219){if(_219.resize){_219.resize();}});},onStartView:function(){},onBeforeTransitionIn:function(_21a,dir,_21b,_21c,_21d){},onAfterTransitionIn:function(_21e,dir,_21f,_220,_221){},onBeforeTransitionOut:function(_222,dir,_223,_224,_225){},onAfterTransitionOut:function(_226,dir,_227,_228,_229){},_saveState:function(_22a,dir,_22b,_22c,_22d){this._context=_22c;this._method=_22d;if(_22b=="none"){_22b=null;}this._moveTo=_22a;this._dir=dir;this._transition=_22b;this._arguments=lang._toArray(arguments);this._args=[];if(_22c||_22d){for(var i=5;i1||_23a!==0){_236.style.top=_23a-_239+"px";if(_205["mblHideAddressBar"]!==false){setTimeout(function(){win.global.scrollTo(0,(_23a||1));},0);}}}else{_235.style.top="0px";}_238.onBeforeTransitionIn.apply(_238,arguments);_206.publish("/dojox/mobile/beforeTransitionIn",[_238].concat(lang._toArray(arguments)));}if(!this._aw){_235.style.display="none";_235.style.visibility="visible";}if(dm._iw&&dm.scrollable){var ss=dm.getScreenSize();win.body().appendChild(dm._iwBgCover);_20b.set(dm._iwBgCover,{position:"absolute",top:"0px",left:"0px",height:(ss.h+1)+"px",width:ss.w+"px",backgroundColor:_20b.get(win.body(),"background-color"),zIndex:-10000,display:""});_20b.set(_235,{position:"absolute",zIndex:-10001,visibility:"visible",display:""});setTimeout(lang.hitch(this,function(){this._doTransition(_236,_235,_232,dir);}),80);}else{this._doTransition(_236,_235,_232,dir);}},_toCls:function(s){return "mbl"+s.charAt(0).toUpperCase()+s.substring(1);},_doTransition:function(_23b,_23c,_23d,dir){var rev=(dir==-1)?" mblReverse":"";if(dm._iw&&dm.scrollable){_20b.set(_23c,{position:"",zIndex:""});win.body().removeChild(dm._iwBgCover);}else{if(!this._aw){_23c.style.display="";}}if(!_23d||_23d=="none"){this.domNode.style.display="none";this.invokeCallback();}else{if(_205["mblCSS3Transition"]){_208.when(_211,lang.hitch(this,function(_23e){var _23f=_20b.get(_23c,"position");_20b.set(_23c,"position","absolute");_208.when(_23e(_23b,_23c,{transition:_23d,reverse:(dir===-1)?true:false}),lang.hitch(this,function(){_20b.set(_23c,"position",_23f);this.invokeCallback();}));}));}else{var s=this._toCls(_23d);_209.add(_23b,s+" mblOut"+rev);_209.add(_23c,s+" mblIn"+rev);setTimeout(function(){_209.add(_23b,"mblTransition");_209.add(_23c,"mblTransition");},100);var _240="50% 50%";var _241="50% 50%";var _242,posX,posY;if(_23d.indexOf("swirl")!=-1||_23d.indexOf("zoom")!=-1){if(this.keepScrollPos&&!this.getParent()){_242=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;}else{_242=-_20a.position(_23b,true).y;}posY=win.global.innerHeight/2+_242;_240="50% "+posY+"px";_241="50% "+posY+"px";}else{if(_23d.indexOf("scale")!=-1){var _243=_20a.position(_23b,true);posX=((this.clickedPosX!==undefined)?this.clickedPosX:win.global.innerWidth/2)-_243.x;if(this.keepScrollPos&&!this.getParent()){_242=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;}else{_242=-_243.y;}posY=((this.clickedPosY!==undefined)?this.clickedPosY:win.global.innerHeight/2)+_242;_240=posX+"px "+posY+"px";_241=posX+"px "+posY+"px";}}_20b.set(_23b,{webkitTransformOrigin:_240});_20b.set(_23c,{webkitTransformOrigin:_241});}}dm.currentView=_20c.byNode(_23c);},onAnimationStart:function(e){},onAnimationEnd:function(e){var name=e.animationName||e.target.className;if(name.indexOf("Out")===-1&&name.indexOf("In")===-1&&name.indexOf("Shrink")===-1){return;}var _244=false;if(_209.contains(this.domNode,"mblOut")){_244=true;this.domNode.style.display="none";_209.remove(this.domNode,[this._toCls(this._transition),"mblIn","mblOut","mblReverse"]);}else{this.containerNode.style.paddingTop="";}_20b.set(this.domNode,{webkitTransformOrigin:""});if(name.indexOf("Shrink")!==-1){var li=e.target;li.style.display="none";_209.remove(li,"mblCloseContent");}if(_244){this.invokeCallback();}this.domNode&&(this.domNode.className="mblView");this.clickedPosX=this.clickedPosY=undefined;},invokeCallback:function(){this.onAfterTransitionOut.apply(this,this._arguments);_206.publish("/dojox/mobile/afterTransitionOut",[this].concat(this._arguments));var _245=_20c.byNode(this.toNode);if(_245){_245.onAfterTransitionIn.apply(_245,this._arguments);_206.publish("/dojox/mobile/afterTransitionIn",[_245].concat(this._arguments));_245.movedFrom=undefined;}var c=this._context,m=this._method;if(!c&&!m){return;}if(!m){m=c;c=null;}c=c||win.global;if(typeof (m)=="string"){c[m].apply(c,this._args);}else{m.apply(c,this._args);}},getShowingView:function(){var _246=this.domNode.parentNode.childNodes;for(var i=0;i<_246.length;i++){var n=_246[i];if(n.nodeType===1&&_209.contains(n,"mblView")&&_20b.get(n,"display")!=="none"){return _20c.byNode(n);}}return null;},show:function(){var view=this.getShowingView();if(view){view.domNode.style.display="none";}this.domNode.style.display="";dm.currentView=this;}});});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/window","./registry"],function(_247,_248,win,_249){var _24a=_248("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_24b){if(this._hash[_24b.id]){throw new Error("Tried to register widget with id=="+_24b.id+" but that id is already registered");}this._hash[_24b.id]=_24b;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_24c){_24c=_24c||win.global;var i=0,id;for(id in this._hash){func.call(_24c,this._hash[id],i++,this._hash);}return this;},filter:function(_24d,_24e){_24e=_24e||win.global;var res=new _24a(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_24d.call(_24e,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _24a(),id,_24f;for(id in this._hash){_24f=this._hash[id];if(_24f.declaredClass==cls){res.add(_24f);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_250){return _247.map(this.toArray(),func,_250);},every:function(func,_251){_251=_251||win.global;var x=0,i;for(i in this._hash){if(!func.call(_251,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_252){_252=_252||win.global;var x=0,i;for(i in this._hash){if(func.call(_252,this._hash[i],x++,this._hash)){return true;}}return false;}});_247.forEach(["forEach","filter","byClass","map","every","some"],function(func){_249[func]=_24a.prototype[func];});return _24a;});},"dojo/fx/easing":function(){define(["../_base/lang"],function(lang){var _253={linear:function(n){return n;},quadIn:function(n){return Math.pow(n,2);},quadOut:function(n){return n*(n-2)*-1;},quadInOut:function(n){n=n*2;if(n<1){return Math.pow(n,2)/2;}return -1*((--n)*(n-2)-1)/2;},cubicIn:function(n){return Math.pow(n,3);},cubicOut:function(n){return Math.pow(n-1,3)+1;},cubicInOut:function(n){n=n*2;if(n<1){return Math.pow(n,3)/2;}n-=2;return (Math.pow(n,3)+2)/2;},quartIn:function(n){return Math.pow(n,4);},quartOut:function(n){return -1*(Math.pow(n-1,4)-1);},quartInOut:function(n){n=n*2;if(n<1){return Math.pow(n,4)/2;}n-=2;return -1/2*(Math.pow(n,4)-2);},quintIn:function(n){return Math.pow(n,5);},quintOut:function(n){return Math.pow(n-1,5)+1;},quintInOut:function(n){n=n*2;if(n<1){return Math.pow(n,5)/2;}n-=2;return (Math.pow(n,5)+2)/2;},sineIn:function(n){return -1*Math.cos(n*(Math.PI/2))+1;},sineOut:function(n){return Math.sin(n*(Math.PI/2));},sineInOut:function(n){return -1*(Math.cos(Math.PI*n)-1)/2;},expoIn:function(n){return (n==0)?0:Math.pow(2,10*(n-1));},expoOut:function(n){return (n==1)?1:(-1*Math.pow(2,-10*n)+1);},expoInOut:function(n){if(n==0){return 0;}if(n==1){return 1;}n=n*2;if(n<1){return Math.pow(2,10*(n-1))/2;}--n;return (-1*Math.pow(2,-10*n)+2)/2;},circIn:function(n){return -1*(Math.sqrt(1-Math.pow(n,2))-1);},circOut:function(n){n=n-1;return Math.sqrt(1-Math.pow(n,2));},circInOut:function(n){n=n*2;if(n<1){return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);}n-=2;return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);},backIn:function(n){var s=1.70158;return Math.pow(n,2)*((s+1)*n-s);},backOut:function(n){n=n-1;var s=1.70158;return Math.pow(n,2)*((s+1)*n+s)+1;},backInOut:function(n){var s=1.70158*1.525;n=n*2;if(n<1){return (Math.pow(n,2)*((s+1)*n-s))/2;}n-=2;return (Math.pow(n,2)*((s+1)*n+s)+2)/2;},elasticIn:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;n=n-1;return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);},elasticOut:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;},elasticInOut:function(n){if(n==0){return 0;}n=n*2;if(n==2){return 1;}var p=0.3*1.5;var s=p/4;if(n<1){n-=1;return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));}n-=1;return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;},bounceIn:function(n){return (1-_253.bounceOut(1-n));},bounceOut:function(n){var s=7.5625;var p=2.75;var l;if(n<(1/p)){l=s*Math.pow(n,2);}else{if(n<(2/p)){n-=(1.5/p);l=s*Math.pow(n,2)+0.75;}else{if(n<(2.5/p)){n-=(2.25/p);l=s*Math.pow(n,2)+0.9375;}else{n-=(2.625/p);l=s*Math.pow(n,2)+0.984375;}}}return l;},bounceInOut:function(n){if(n<0.5){return _253.bounceIn(n*2)/2;}return (_253.bounceOut(n*2-1)/2)+0.5;}};lang.setObject("dojo.fx.easing",_253);return _253;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/sniff","./_base/manager","."],function(_254,_255,_256,dom,_257,_258,has,_259,_25a){var _25b=(_25a._isElementShown=function(elem){var s=_258.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_257.get(elem,"type")!="hidden");});_25a.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _257.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _25c=elem.contentDocument;if("designMode" in _25c&&_25c.designMode=="on"){return true;}body=_25c.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}};var _25d=(_25a.isTabNavigable=function(elem){if(_257.get(elem,"disabled")){return false;}else{if(_257.has(elem,"tabIndex")){return _257.get(elem,"tabIndex")>=0;}else{return _25a.hasDefaultTabStop(elem);}}});_25a._getTabNavigable=function(root){var _25e,last,_25f,_260,_261,_262,_263={};function _264(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _265=function(_266){for(var _267=_266.firstChild;_267;_267=_267.nextSibling){if(_267.nodeType!=1||(has("ie")&&_267.scopeName!=="HTML")||!_25b(_267)){continue;}if(_25d(_267)){var _268=_257.get(_267,"tabIndex");if(!_257.has(_267,"tabIndex")||_268==0){if(!_25e){_25e=_267;}last=_267;}else{if(_268>0){if(!_25f||_268<_260){_260=_268;_25f=_267;}if(!_261||_268>=_262){_262=_268;_261=_267;}}}var rn=_264(_267);if(_257.get(_267,"checked")&&rn){_263[rn]=_267;}}if(_267.nodeName.toUpperCase()!="SELECT"){_265(_267);}}};if(_25b(root)){_265(root);}function rs(node){return _263[_264(node)]||node;};return {first:rs(_25e),last:rs(last),lowest:rs(_25f),highest:rs(_261)};};_25a.getFirstInTabbingOrder=function(root){var _269=_25a._getTabNavigable(dom.byId(root));return _269.lowest?_269.lowest:_269.first;};_25a.getLastInTabbingOrder=function(root){var _26a=_25a._getTabNavigable(dom.byId(root));return _26a.last?_26a.last:_26a.highest;};return {hasDefaultTabStop:_25a.hasDefaultTabStop,isTabNavigable:_25a.isTabNavigable,_getTabNavigable:_25a._getTabNavigable,getFirstInTabbingOrder:_25a.getFirstInTabbingOrder,getLastInTabbingOrder:_25a.getLastInTabbingOrder};});},"dijit/typematic":function(){define("dijit/typematic",["dojo/_base/array","dojo/_base/connect","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/_base/sniff","."],function(_26b,_26c,_26d,_26e,lang,on,has,_26f){var _270=(_26f.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_271,node,_272,obj,_273,_274,_275){if(obj!=this._obj){this.stop();this._initialDelay=_274||500;this._subsequentDelay=_273||0.9;this._minDelay=_275||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_271,_272);this._fireEventAndReload();this._evt=lang.mixin({faux:true},evt);}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_276,_277,_278,_279,_27a,_27b){if(_276.keyCode){_276.charOrCode=_276.keyCode;_26e.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_276.charCode){_276.charOrCode=String.fromCharCode(_276.charCode);_26e.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _27c=[on(node,_26c._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==_276.charOrCode&&(_276.ctrlKey===undefined||_276.ctrlKey==evt.ctrlKey)&&(_276.altKey===undefined||_276.altKey==evt.altKey)&&(_276.metaKey===undefined||_276.metaKey==(evt.metaKey||false))&&(_276.shiftKey===undefined||_276.shiftKey==evt.shiftKey)){_26d.stop(evt);_270.trigger(evt,_277,node,_278,_276,_279,_27a,_27b);}else{if(_270._obj==_276){_270.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_270._obj==_276){_270.stop();}}))];return {remove:function(){_26b.forEach(_27c,function(h){h.remove();});}};},addMouseListener:function(node,_27d,_27e,_27f,_280,_281){var _282=[on(node,"mousedown",lang.hitch(this,function(evt){_26d.stop(evt);_270.trigger(evt,_27d,node,_27e,node,_27f,_280,_281);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){_26d.stop(evt);}_270.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){_26d.stop(evt);_270.stop();})),on(node,"mousemove",lang.hitch(this,function(evt){evt.preventDefault();})),on(node,"dblclick",lang.hitch(this,function(evt){_26d.stop(evt);if(has("ie")){_270.trigger(evt,_27d,node,_27e,node,_27f,_280,_281);setTimeout(lang.hitch(this,_270.stop),50);}}))];return {remove:function(){_26b.forEach(_282,function(h){h.remove();});}};},addListener:function(_283,_284,_285,_286,_287,_288,_289,_28a){var _28b=[this.addKeyListener(_284,_285,_286,_287,_288,_289,_28a),this.addMouseListener(_283,_286,_287,_288,_289,_28a)];return {remove:function(){_26b.forEach(_28b,function(h){h.remove();});}};}});return _270;});},"dojox/mobile/app/ImageView":function(){define(["dijit","dojo","dojox","dojo/require!dojox/mobile/app/_Widget,dojo/fx/easing"],function(_28c,dojo,_28d){dojo.provide("dojox.mobile.app.ImageView");dojo.experimental("dojox.mobile.app.ImageView");dojo.require("dojox.mobile.app._Widget");dojo.require("dojo.fx.easing");dojo.declare("dojox.mobile.app.ImageView",_28d.mobile.app._Widget,{zoom:1,zoomCenterX:0,zoomCenterY:0,maxZoom:5,autoZoomLevel:3,disableAutoZoom:false,disableSwipe:false,autoZoomEvent:null,_leftImg:null,_centerImg:null,_rightImg:null,_leftSmallImg:null,_centerSmallImg:null,_rightSmallImg:null,constructor:function(){this.panX=0;this.panY=0;this.handleLoad=dojo.hitch(this,this.handleLoad);this._updateAnimatedZoom=dojo.hitch(this,this._updateAnimatedZoom);this._updateAnimatedPan=dojo.hitch(this,this._updateAnimatedPan);this._onAnimPanEnd=dojo.hitch(this,this._onAnimPanEnd);},buildRendering:function(){this.inherited(arguments);this.canvas=dojo.create("canvas",{},this.domNode);dojo.addClass(this.domNode,"mblImageView");},postCreate:function(){this.inherited(arguments);this.size=dojo.marginBox(this.domNode);dojo.style(this.canvas,{width:this.size.w+"px",height:this.size.h+"px"});this.canvas.height=this.size.h;this.canvas.width=this.size.w;var _28e=this;this.connect(this.domNode,"onmousedown",function(_28f){if(_28e.isAnimating()){return;}if(_28e.panX){_28e.handleDragEnd();}_28e.downX=_28f.targetTouches?_28f.targetTouches[0].clientX:_28f.clientX;_28e.downY=_28f.targetTouches?_28f.targetTouches[0].clientY:_28f.clientY;});this.connect(this.domNode,"onmousemove",function(_290){if(_28e.isAnimating()){return;}if((!_28e.downX&&_28e.downX!==0)||(!_28e.downY&&_28e.downY!==0)){return;}if((!_28e.disableSwipe&&_28e.zoom==1)||(!_28e.disableAutoZoom&&_28e.zoom!=1)){var x=_290.targetTouches?_290.targetTouches[0].clientX:_290.pageX;var y=_290.targetTouches?_290.targetTouches[0].clientY:_290.pageY;_28e.panX=x-_28e.downX;_28e.panY=y-_28e.downY;if(_28e.zoom==1){if(Math.abs(_28e.panX)>10){_28e.render();}}else{if(Math.abs(_28e.panX)>10||Math.abs(_28e.panY)>10){_28e.render();}}}});this.connect(this.domNode,"onmouseout",function(_291){if(!_28e.isAnimating()&&_28e.panX){_28e.handleDragEnd();}});this.connect(this.domNode,"onmouseover",function(_292){_28e.downX=_28e.downY=null;});this.connect(this.domNode,"onclick",function(_293){if(_28e.isAnimating()){return;}if(_28e.downX==null||_28e.downY==null){return;}var x=(_293.targetTouches?_293.targetTouches[0].clientX:_293.pageX);var y=(_293.targetTouches?_293.targetTouches[0].clientY:_293.pageY);if(Math.abs(_28e.panX)>14||Math.abs(_28e.panY)>14){_28e.downX=_28e.downY=null;_28e.handleDragEnd();return;}_28e.downX=_28e.downY=null;if(!_28e.disableAutoZoom){if(!_28e._centerImg||!_28e._centerImg._loaded){return;}if(_28e.zoom!=1){_28e.set("animatedZoom",1);return;}var pos=dojo._abs(_28e.domNode);var _294=_28e.size.w/_28e._centerImg.width;var _295=_28e.size.h/_28e._centerImg.height;_28e.zoomTo(((x-pos.x)/_294)-_28e.panX,((y-pos.y)/_295)-_28e.panY,_28e.autoZoomLevel);}});dojo.connect(this.domNode,"flick",this,"handleFlick");},isAnimating:function(){return this._anim&&this._anim.status()=="playing";},handleDragEnd:function(){this.downX=this.downY=null;if(this.zoom==1){if(!this.panX){return;}var _296=(this._leftImg&&this._leftImg._loaded)||(this._leftSmallImg&&this._leftSmallImg._loaded);var _297=(this._rightImg&&this._rightImg._loaded)||(this._rightSmallImg&&this._rightSmallImg._loaded);var _298=!(Math.abs(this.panX)0&&_296?1:0)||(this.panX<0&&_297?1:0));if(!_298){this._animPanTo(0,dojo.fx.easing.expoOut,700);}else{this.moveTo(this.panX);}}else{if(!this.panX&&!this.panY){return;}this.zoomCenterX-=(this.panX/this.zoom);this.zoomCenterY-=(this.panY/this.zoom);this.panX=this.panY=0;}},handleFlick:function(_299){if(this.zoom==1&&_299.duration<500){if(_299.direction=="ltr"){this.moveTo(1);}else{if(_299.direction=="rtl"){this.moveTo(-1);}}this.downX=this.downY=null;}},moveTo:function(_29a){_29a=_29a>0?1:-1;var _29b;if(_29a<1){if(this._rightImg&&this._rightImg._loaded){_29b=this._rightImg;}else{if(this._rightSmallImg&&this._rightSmallImg._loaded){_29b=this._rightSmallImg;}}}else{if(this._leftImg&&this._leftImg._loaded){_29b=this._leftImg;}else{if(this._leftSmallImg&&this._leftSmallImg._loaded){_29b=this._leftSmallImg;}}}this._moveDir=_29a;var _29c=this;if(_29b&&_29b._loaded){this._animPanTo(this.size.w*_29a,null,500,function(){_29c.panX=0;_29c.panY=0;if(_29a<0){_29c._switchImage("left","right");}else{_29c._switchImage("right","left");}_29c.render();_29c.onChange(_29a*-1);});}else{this._animPanTo(0,dojo.fx.easing.expoOut,700);}},_switchImage:function(_29d,_29e){var _29f="_"+_29d+"SmallImg";var _2a0="_"+_29d+"Img";var _2a1="_"+_29e+"SmallImg";var _2a2="_"+_29e+"Img";this[_2a0]=this._centerImg;this[_29f]=this._centerSmallImg;this[_2a0]._type=_29d;if(this[_29f]){this[_29f]._type=_29d;}this._centerImg=this[_2a2];this._centerSmallImg=this[_2a1];this._centerImg._type="center";if(this._centerSmallImg){this._centerSmallImg._type="center";}this[_2a2]=this[_2a1]=null;},_animPanTo:function(to,_2a3,_2a4,_2a5){this._animCallback=_2a5;this._anim=new dojo.Animation({curve:[this.panX,to],onAnimate:this._updateAnimatedPan,duration:_2a4||500,easing:_2a3,onEnd:this._onAnimPanEnd});this._anim.play();return this._anim;},onChange:function(_2a6){},_updateAnimatedPan:function(_2a7){this.panX=_2a7;this.render();},_onAnimPanEnd:function(){this.panX=this.panY=0;if(this._animCallback){this._animCallback();}},zoomTo:function(_2a8,_2a9,zoom){this.set("zoomCenterX",_2a8);this.set("zoomCenterY",_2a9);this.set("animatedZoom",zoom);},render:function(){var cxt=this.canvas.getContext("2d");cxt.clearRect(0,0,this.canvas.width,this.canvas.height);this._renderImg(this._centerSmallImg,this._centerImg,this.zoom==1?(this.panX<0?1:this.panX>0?-1:0):0);if(this.zoom==1&&this.panX!=0){if(this.panX>0){this._renderImg(this._leftSmallImg,this._leftImg,1);}else{this._renderImg(this._rightSmallImg,this._rightImg,-1);}}},_renderImg:function(_2aa,_2ab,_2ac){var img=(_2ab&&_2ab._loaded)?_2ab:_2aa;if(!img||!img._loaded){return;}var cxt=this.canvas.getContext("2d");var _2ad=img._baseWidth;var _2ae=img._baseHeight;var _2af=_2ad*this.zoom;var _2b0=_2ae*this.zoom;var _2b1=Math.min(this.size.w,_2af);var _2b2=Math.min(this.size.h,_2b0);var _2b3=this.dispWidth=img.width*(_2b1/_2af);var _2b4=this.dispHeight=img.height*(_2b2/_2b0);var _2b5=this.zoomCenterX-(this.panX/this.zoom);var _2b6=this.zoomCenterY-(this.panY/this.zoom);var _2b7=Math.floor(Math.max(_2b3/2,Math.min(img.width-_2b3/2,_2b5)));var _2b8=Math.floor(Math.max(_2b4/2,Math.min(img.height-_2b4/2,_2b6)));var _2b9=Math.max(0,Math.round((img.width-_2b3)/2+(_2b7-img._centerX)));var _2ba=Math.max(0,Math.round((img.height-_2b4)/2+(_2b8-img._centerY)));var _2bb=Math.round(Math.max(0,this.canvas.width-_2b1)/2);var _2bc=Math.round(Math.max(0,this.canvas.height-_2b2)/2);var _2bd=_2b1;var _2be=_2b3;if(this.zoom==1&&_2ac&&this.panX){if(this.panX<0){if(_2ac>0){_2b1-=Math.abs(this.panX);_2bb=0;}else{if(_2ac<0){_2b1=Math.max(1,Math.abs(this.panX)-5);_2bb=this.size.w-_2b1;}}}else{if(_2ac>0){_2b1=Math.max(1,Math.abs(this.panX)-5);_2bb=0;}else{if(_2ac<0){_2b1-=Math.abs(this.panX);_2bb=this.size.w-_2b1;}}}_2b3=Math.max(1,Math.floor(_2b3*(_2b1/_2bd)));if(_2ac>0){_2b9=(_2b9+_2be)-(_2b3);}_2b9=Math.floor(_2b9);}try{cxt.drawImage(img,Math.max(0,_2b9),_2ba,Math.min(_2be,_2b3),_2b4,_2bb,_2bc,Math.min(_2bd,_2b1),_2b2);}catch(e){}},_setZoomAttr:function(_2bf){this.zoom=Math.min(this.maxZoom,Math.max(1,_2bf));if(this.zoom==1&&this._centerImg&&this._centerImg._loaded){if(!this.isAnimating()){this.zoomCenterX=this._centerImg.width/2;this.zoomCenterY=this._centerImg.height/2;}this.panX=this.panY=0;}this.render();},_setZoomCenterXAttr:function(_2c0){if(_2c0!=this.zoomCenterX){if(this._centerImg&&this._centerImg._loaded){_2c0=Math.min(this._centerImg.width,_2c0);}this.zoomCenterX=Math.max(0,Math.round(_2c0));}},_setZoomCenterYAttr:function(_2c1){if(_2c1!=this.zoomCenterY){if(this._centerImg&&this._centerImg._loaded){_2c1=Math.min(this._centerImg.height,_2c1);}this.zoomCenterY=Math.max(0,Math.round(_2c1));}},_setZoomCenterAttr:function(_2c2){if(_2c2.x!=this.zoomCenterX||_2c2.y!=this.zoomCenterY){this.set("zoomCenterX",_2c2.x);this.set("zoomCenterY",_2c2.y);this.render();}},_setAnimatedZoomAttr:function(_2c3){if(this._anim&&this._anim.status()=="playing"){return;}this._anim=new dojo.Animation({curve:[this.zoom,_2c3],onAnimate:this._updateAnimatedZoom,onEnd:this._onAnimEnd});this._anim.play();},_updateAnimatedZoom:function(_2c4){this._setZoomAttr(_2c4);},_setCenterUrlAttr:function(_2c5){this._setImage("center",_2c5);},_setLeftUrlAttr:function(_2c6){this._setImage("left",_2c6);},_setRightUrlAttr:function(_2c7){this._setImage("right",_2c7);},_setImage:function(name,_2c8){var _2c9=null;var _2ca=null;if(dojo.isString(_2c8)){_2ca=_2c8;}else{_2ca=_2c8.large;_2c9=_2c8.small;}if(this["_"+name+"Img"]&&this["_"+name+"Img"]._src==_2ca){return;}var _2cb=this["_"+name+"Img"]=new Image();_2cb._type=name;_2cb._loaded=false;_2cb._src=_2ca;_2cb._conn=dojo.connect(_2cb,"onload",this.handleLoad);if(_2c9){var _2cc=this["_"+name+"SmallImg"]=new Image();_2cc._type=name;_2cc._loaded=false;_2cc._conn=dojo.connect(_2cc,"onload",this.handleLoad);_2cc._isSmall=true;_2cc._src=_2c9;_2cc.src=_2c9;}_2cb.src=_2ca;},handleLoad:function(evt){var img=evt.target;img._loaded=true;dojo.disconnect(img._conn);var type=img._type;switch(type){case "center":this.zoomCenterX=img.width/2;this.zoomCenterY=img.height/2;break;}var _2cd=img.height;var _2ce=img.width;if(_2ce/this.size.w<_2cd/this.size.h){img._baseHeight=this.canvas.height;img._baseWidth=_2ce/(_2cd/this.size.h);}else{img._baseWidth=this.canvas.width;img._baseHeight=_2cd/(_2ce/this.size.w);}img._centerX=_2ce/2;img._centerY=_2cd/2;this.render();this.onLoad(img._type,img._src,img._isSmall);},onLoad:function(type,url,_2cf){}});});},"dijit/_base/focus":function(){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus",".."],function(_2d0,dom,lang,_2d1,win,_2d2,_2d3){lang.mixin(_2d3,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return _2d3.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_2d2.curNode;if(win.global.getSelection){sel=win.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i0){this.scenes[this.scenes.length-1].assistant.deactivate();}this.scenes.push(_2fd);var _2fe=this;dojo.forEach(this.scenes,this.setZIndex);_2fd.stageController=this;_2fd.init(_2fb,_2fc).addCallback(function(){if(_2fe.scenes.length==1){_2fd.domNode.style.visibility="visible";_2fe.scenes[_2fe.scenes.length-1].assistant.activate(_2fc);_2fe._opInProgress=false;}else{_2fe.scenes[_2fe.scenes.length-2].performTransition(_2fe.scenes[_2fe.scenes.length-1].domNode,1,_2fe.effect,null,function(){_2fe.scenes[_2fe.scenes.length-1].assistant.activate(_2fc);_2fe._opInProgress=false;});}});},setZIndex:function(_2ff,idx){dojo.style(_2ff.domNode,"zIndex",idx+1);},popScene:function(data){if(this._opInProgress){return;}var _300=this;if(this.scenes.length>1){this._opInProgress=true;this.scenes[_300.scenes.length-2].assistant.activate(data);this.scenes[_300.scenes.length-1].performTransition(_300.scenes[this.scenes.length-2].domNode,-1,this.effect,null,function(){_300._destroyScene(_300.scenes[_300.scenes.length-1]);_300.scenes.splice(_300.scenes.length-1,1);_300._opInProgress=false;});}else{}},popScenesTo:function(_301,data){if(this._opInProgress){return;}while(this.scenes.length>2&&this.scenes[this.scenes.length-2].sceneName!=_301){this._destroyScene(this.scenes[this.scenes.length-2]);this.scenes.splice(this.scenes.length-2,1);}this.popScene(data);},_destroyScene:function(_302){_302.assistant.deactivate();_302.assistant.destroy();_302.destroyRecursive();}});});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","."],function(_303,_304,_305,_306,win,_307,_308){function _309(node,_30a,_30b,_30c){var view=_307.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body().appendChild(node);}var best=null;_303.some(_30a,function(_30d){var _30e=_30d.corner;var pos=_30d.pos;var _30f=0;var _310={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_30e.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_30e.charAt(0)]};if(_30b){var res=_30b(node,_30d.aroundCorner,_30e,_310,_30c);_30f=typeof res=="undefined"?0:res;}var _311=node.style;var _312=_311.display;var _313=_311.visibility;if(_311.display=="none"){_311.visibility="hidden";_311.display="";}var mb=_304.getMarginBox(node);_311.display=_312;_311.visibility=_313;var _314={"L":pos.x,"R":pos.x-mb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(mb.w>>1))-mb.w)}[_30e.charAt(1)],_315={"T":pos.y,"B":pos.y-mb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(mb.h>>1))-mb.h)}[_30e.charAt(0)],_316=Math.max(view.l,_314),_317=Math.max(view.t,_315),endX=Math.min(view.l+view.w,_314+mb.w),endY=Math.min(view.t+view.h,_315+mb.h),_318=endX-_316,_319=endY-_317;_30f+=(mb.w-_318)+(mb.h-_319);if(best==null||_30f>1)}[_32b.charAt(1)],y:{"T":y,"B":y+_329,"M":y+(_329>>1)}[_32b.charAt(0)]}});};_303.forEach(_31f,function(pos){var ltr=_320;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _32d=_309(node,_32a,_321,{w:_328,h:_329});_32d.aroundNodePos=_322;return _32d;}});});},"dojox/mobile/app/_event":function(){define(["dijit","dojo","dojox"],function(_32e,dojo,_32f){dojo.provide("dojox.mobile.app._event");dojo.experimental("dojox.mobile.app._event.js");dojo.mixin(_32f.mobile.app,{eventMap:{},connectFlick:function(_330,_331,_332){var _333;var _334;var _335=false;var _336;var _337;var _338;var _339;var _33a;var time;var _33b=dojo.connect("onmousedown",_330,function(_33c){_335=false;_333=_33c.targetTouches?_33c.targetTouches[0].clientX:_33c.clientX;_334=_33c.targetTouches?_33c.targetTouches[0].clientY:_33c.clientY;time=(new Date()).getTime();_338=dojo.connect(_330,"onmousemove",_33d);_339=dojo.connect(_330,"onmouseup",onUp);});var _33d=function(_33e){dojo.stopEvent(_33e);_336=_33e.targetTouches?_33e.targetTouches[0].clientX:_33e.clientX;_337=_33e.targetTouches?_33e.targetTouches[0].clientY:_33e.clientY;if(Math.abs(Math.abs(_336)-Math.abs(_333))>15){_335=true;_33a=(_336>_333)?"ltr":"rtl";}else{if(Math.abs(Math.abs(_337)-Math.abs(_334))>15){_335=true;_33a=(_337>_334)?"ttb":"btt";}}};var onUp=function(_33f){dojo.stopEvent(_33f);_338&&dojo.disconnect(_338);_339&&dojo.disconnect(_339);if(_335){var _340={target:_330,direction:_33a,duration:(new Date()).getTime()-time};if(_331&&_332){_331[_332](_340);}else{_332(_340);}}};}});_32f.mobile.app.isIPhone=(dojo.isSafari&&(navigator.userAgent.indexOf("iPhone")>-1||navigator.userAgent.indexOf("iPod")>-1));_32f.mobile.app.isWebOS=(navigator.userAgent.indexOf("webOS")>-1);_32f.mobile.app.isAndroid=(navigator.userAgent.toLowerCase().indexOf("android")>-1);if(_32f.mobile.app.isIPhone||_32f.mobile.app.isAndroid){_32f.mobile.app.eventMap={onmousedown:"ontouchstart",mousedown:"ontouchstart",onmouseup:"ontouchend",mouseup:"ontouchend",onmousemove:"ontouchmove",mousemove:"ontouchmove"};}dojo._oldConnect=dojo._connect;dojo._connect=function(obj,_341,_342,_343,_344){_341=_32f.mobile.app.eventMap[_341]||_341;if(_341=="flick"||_341=="onflick"){if(dojo.global["Mojo"]){_341=Mojo.Event.flick;}else{return _32f.mobile.app.connectFlick(obj,_342,_343);}}return dojo._oldConnect(obj,_341,_342,_343,_344);};});},"dojox/mobile/_base":function(){define("dojox/mobile/_base",["./common","./View","./Heading","./RoundRect","./RoundRectCategory","./EdgeToEdgeCategory","./RoundRectList","./EdgeToEdgeList","./ListItem","./Switch","./ToolBarButton","./ProgressIndicator"],function(_345,View,_346,_347,_348,_349,_34a,_34b,_34c,_34d,_34e,_34f){return _345;});},"dojox/mobile/Button":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dijit/_WidgetBase","dijit/form/_ButtonMixin","dijit/form/_FormWidgetMixin"],function(_350,_351,_352,_353,_354,_355,_356){return _351("dojox.mobile.Button",[_354,_356,_355],{baseClass:"mblButton",_setTypeAttr:null,duration:1000,_onClick:function(e){var ret=this.inherited(arguments);if(ret&&this.duration>=0){var _357=this.focusNode||this.domNode;var _358=(this.baseClass+" "+this["class"]).split(" ");_358=_350.map(_358,function(c){return c+"Selected";});_352.add(_357,_358);setTimeout(function(){_352.remove(_357,_358);},this.duration);}return ret;},isFocusable:function(){return false;},buildRendering:function(){if(!this.srcNodeRef){this.srcNodeRef=_353.create("button",{"type":this.type});}else{if(this._cv){var n=this.srcNodeRef.firstChild;if(n&&n.nodeType===3){n.nodeValue=this._cv(n.nodeValue);}}}this.inherited(arguments);this.focusNode=this.domNode;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onclick","_onClick");},_setLabelAttr:function(_359){this.inherited(arguments,[this._cv?this._cv(_359):_359]);}});});},"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","dijit/_Contained","dijit/_WidgetBase","./sniff"],function(_35a,_35b,_35c,_35d,win,_35e,_35f,_360,has){return _35c("dojox.mobile.Switch",[_360,_35f],{value:"on",name:"",leftLabel:"ON",rightLabel:"OFF",_width:53,buildRendering:function(){this.domNode=win.doc.createElement("DIV");var c=(this.srcNodeRef&&this.srcNodeRef.className)||this.className||this["class"];this._swClass=(c||"").replace(/ .*/,"");this.domNode.className="mblSwitch";var _361=this.name?" name=\""+this.name+"\"":"";this.domNode.innerHTML="
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"";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.connect(this.domNode,"onclick","onClick");this.connect(this.domNode,has("touch")?"touchstart":"onmousedown","onTouchStart");this._initialValue=this.value;},_changeState:function(_362,anim){var on=(_362==="on");this.left.style.display="";this.right.style.display="";this.inner.style.left="";if(anim){_35e.add(this.domNode,"mblSwitchAnimation");}_35e.remove(this.domNode,on?"mblSwitchOff":"mblSwitchOn");_35e.add(this.domNode,on?"mblSwitchOn":"mblSwitchOff");var _363=this;setTimeout(function(){_363.left.style.display=on?"":"none";_363.right.style.display=!on?"":"none";_35e.remove(_363.domNode,"mblSwitchAnimation");},anim?300:0);},startup:function(){if(this._swClass.indexOf("Round")!=-1){var r=Math.round(this.domNode.offsetHeight/2);this.createRoundMask(this._swClass,r,this.domNode.offsetWidth);}},createRoundMask:function(_364,r,w){if(!has("webkit")||!_364){return;}if(!this._createdMasks){this._createdMasks=[];}if(this._createdMasks[_364]){return;}this._createdMasks[_364]=1;var ctx=win.doc.getCSSCanvasContext("2d",_364+"Mask",w,100);ctx.fillStyle="#000000";ctx.beginPath();ctx.moveTo(r,0);ctx.arcTo(0,0,0,2*r,r);ctx.arcTo(0,2*r,r,2*r,r);ctx.lineTo(w-r,2*r);ctx.arcTo(w,2*r,w,r,r);ctx.arcTo(w,0,w-r,0,r);ctx.closePath();ctx.fill();},onClick:function(e){if(this._moved){return;}this.value=this.input.value=(this.value=="on")?"off":"on";this._changeState(this.value,true);this.onStateChanged(this.value);},onTouchStart:function(e){this._moved=false;this.innerStartX=this.inner.offsetLeft;if(!this._conn){this._conn=[];this._conn.push(_35b.connect(this.inner,has("touch")?"touchmove":"onmousemove",this,"onTouchMove"));this._conn.push(_35b.connect(this.inner,has("touch")?"touchend":"onmouseup",this,"onTouchEnd"));}this.touchStartX=e.touches?e.touches[0].pageX:e.clientX;this.left.style.display="";this.right.style.display="";_35d.stop(e);},onTouchMove:function(e){e.preventDefault();var dx;if(e.targetTouches){if(e.targetTouches.length!=1){return false;}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){_35a.forEach(this._conn,_35b.disconnect);this._conn=null;if(this.innerStartX==this.inner.offsetLeft){if(has("touch")){var ev=win.doc.createEvent("MouseEvents");ev.initEvent("click",true,true);this.inner.dispatchEvent(ev);}return;}var _365=(this.inner.offsetLeft<-(this._width/2))?"off":"on";this._changeState(_365,true);if(_365!=this.value){this.value=this.input.value=_365;this.onStateChanged(_365);}},onStateChanged:function(_366){},_setValueAttr:function(_367){this._changeState(_367,false);if(this.value!=_367){this.onStateChanged(_367);}this.value=this.input.value=_367;},_setLeftLabelAttr:function(_368){this.leftLabel=_368;this.left.firstChild.innerHTML=this._cv?this._cv(_368):_368;},_setRightLabelAttr:function(_369){this.rightLabel=_369;this.right.firstChild.innerHTML=this._cv?this._cv(_369):_369;},reset:function(){this.set("value",this._initialValue);}});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","."],function(_36a,_36b,dom,_36c,_36d,_36e,lang,on,_36f,has,_370,_371,win,_372,a11y,_373,_374){var _375=_36b([_370,_36e],{curNode:null,activeStack:[],constructor:function(){var _376=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_36a.before(_36d,"empty",_376);_36a.before(_36d,"destroy",_376);},registerIframe:function(_377){return this.registerWin(_377.contentWindow,_377);},registerWin:function(_378,_379){var _37a=this;var _37b=function(evt){_37a._justMouseDowned=true;setTimeout(function(){_37a._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_37a._onTouchNode(_379||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_378.document.documentElement:_378.document;if(doc){if(has("ie")){_378.document.body.attachEvent("onmousedown",_37b);var _37c=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_37a._onFocusNode(_379||evt.srcElement);}else{_37a._onTouchNode(_379||evt.srcElement);}};doc.attachEvent("onactivate",_37c);var _37d=function(evt){_37a._onBlurNode(_379||evt.srcElement);};doc.attachEvent("ondeactivate",_37d);return {remove:function(){_378.document.detachEvent("onmousedown",_37b);doc.detachEvent("onactivate",_37c);doc.detachEvent("ondeactivate",_37d);doc=null;}};}else{doc.body.addEventListener("mousedown",_37b,true);doc.body.addEventListener("touchstart",_37b,true);var _37e=function(evt){_37a._onFocusNode(_379||evt.target);};doc.addEventListener("focus",_37e,true);var _37f=function(evt){_37a._onBlurNode(_379||evt.target);};doc.addEventListener("blur",_37f,true);return {remove:function(){doc.body.removeEventListener("mousedown",_37b,true);doc.body.removeEventListener("touchstart",_37b,true);doc.removeEventListener("focus",_37e,true);doc.removeEventListener("blur",_37f,true);doc=null;}};}}},_onBlurNode:function(){this.set("prevNode",this.curNode);this.set("curNode",null);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);this.prevNode=null;}),100);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _380=[];try{while(node){var _381=_36c.get(node,"dijitPopupParent");if(_381){node=_373.byId(_381).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_372.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_382=id&&_373.byId(id);if(_382&&!(by=="mouse"&&_382.get("disabled"))){_380.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_380,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("curNode",node);},_setStack:function(_383,by){var _384=this.activeStack;this.set("activeStack",_383);for(var _385=0;_385=_385;i--){_386=_373.byId(_384[i]);if(_386){_386._hasBeenBlurred=true;_386.set("focused",false);if(_386._focusManager==this){_386._onBlur(by);}this.emit("widget-blur",_386,by);}}for(i=_385;i<_383.length;i++){_386=_373.byId(_383[i]);if(_386){_386.set("focused",true);if(_386._focusManager==this){_386._onFocus(by);}this.emit("widget-focus",_386,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _387=new _375();_36f(function(){var _388=_387.registerWin(win.doc.parentWindow||win.doc.defaultView);if(has("ie")){_371.addOnWindowUnload(function(){_388.remove();_388=null;});}});_374.focus=function(node){_387.focus(node);};for(var attr in _387){if(!/^_/.test(attr)){_374.focus[attr]=typeof _387[attr]=="function"?lang.hitch(_387,attr):_387[attr];}}_387.watch(function(attr,_389,_38a){_374.focus[attr]=_38a;});return _387;});},"dijit/_base/sniff":function(){define("dijit/_base/sniff",["dojo/uacss"],function(){});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dojox/mobile/RoundRect":function(){define("dojox/mobile/RoundRect",["dojo/_base/array","dojo/_base/declare","dojo/_base/window","dijit/_Contained","dijit/_Container","dijit/_WidgetBase"],function(_38b,_38c,win,_38d,_38e,_38f){return _38c("dojox.mobile.RoundRect",[_38f,_38e,_38d],{shadow:false,buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement("DIV");this.domNode.className=this.shadow?"mblRoundRect mblShadow":"mblRoundRect";},resize:function(){_38b.forEach(this.getChildren(),function(_390){if(_390.resize){_390.resize();}});}});});},"dijit/form/_ButtonMixin":function(){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_391,dom,_392,_393){return _391("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_392.stop(e);return false;}var _394=this.onClick(e)===false;if(!_394&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _395=_393.byNode(node);if(_395&&typeof _395._onSubmit=="function"){_395._onSubmit(e);_394=true;break;}}}if(_394){e.preventDefault();}return !_394;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_396){this._set("label",_396);(this.containerNode||this.focusNode).innerHTML=_396;}});});},"dijit/_base/typematic":function(){define("dijit/_base/typematic",["../typematic"],function(){});},"dojox/mobile/RoundRectCategory":function(){define("dojox/mobile/RoundRectCategory",["dojo/_base/declare","dojo/_base/window","dijit/_Contained","dijit/_WidgetBase"],function(_397,win,_398,_399){return _397("dojox.mobile.RoundRectCategory",[_399,_398],{label:"",buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement("H2");this.domNode.className="mblRoundRectCategory";if(!this.label){this.label=this.domNode.innerHTML;}},_setLabelAttr:function(_39a){this.label=_39a;this.domNode.innerHTML=this._cv?this._cv(_39a):_39a;}});});},"dojox/mobile/app/TextBox":function(){define(["dijit","dojo","dojox","dojo/require!dojox/mobile/TextBox"],function(_39b,dojo,_39c){dojo.provide("dojox.mobile.app.TextBox");dojo.deprecated("dojox.mobile.app.TextBox is deprecated","dojox.mobile.app.TextBox moved to dojox.mobile.TextBox",1.8);dojo.require("dojox.mobile.TextBox");_39c.mobile.app.TextBox=_39c.mobile.TextBox;});},"dojox/mobile/app/SceneAssistant":function(){define(["dijit","dojo","dojox"],function(_39d,dojo,_39e){dojo.provide("dojox.mobile.app.SceneAssistant");dojo.experimental("dojox.mobile.app.SceneAssistant");dojo.declare("dojox.mobile.app.SceneAssistant",null,{constructor:function(){},setup:function(){},activate:function(_39f){},deactivate:function(){},destroy:function(){var _3a0=dojo.query("> [widgetId]",this.containerNode).map(_39d.byNode);dojo.forEach(_3a0,function(_3a1){_3a1.destroyRecursive();});this.disconnect();},connect:function(obj,_3a2,_3a3){if(!this._connects){this._connects=[];}this._connects.push(dojo.connect(obj,_3a2,_3a3));},disconnect:function(){dojo.forEach(this._connects,dojo.disconnect);this._connects=[];}});});},"dijit/_base/popup":function(){define("dijit/_base/popup",["dojo/dom-class","../popup","../BackgroundIframe"],function(_3a4,_3a5){var _3a6=_3a5._createWrapper;_3a5._createWrapper=function(_3a7){if(!_3a7.declaredClass){_3a7={_popupWrapper:(_3a7.parentNode&&_3a4.contains(_3a7.parentNode,"dijitPopup"))?_3a7.parentNode:null,domNode:_3a7,destroy:function(){}};}return _3a6.call(this,_3a7);};var _3a8=_3a5.open;_3a5.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _3a8.call(this,args);};return _3a5;});},"dojox/mobile/transition":function(){define(["dojo/_base/Deferred","dojo/_base/config"],function(_3a9,_3aa){if(_3aa["mblCSS3Transition"]){var _3ab=new _3a9();require([_3aa["mblCSS3Transition"]],function(_3ac){_3ab.resolve(_3ac);});return _3ab;}return null;});},"dijit/_base/wai":function(){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","..","../hccss"],function(_3ad,lang,_3ae){lang.mixin(_3ae,{hasWaiRole:function(elem,role){var _3af=this.getWaiRole(elem);return role?(_3af.indexOf(role)>-1):(_3af.length>0);},getWaiRole:function(elem){return lang.trim((_3ad.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_3ad.set(elem,"role",role);},removeWaiRole:function(elem,role){var _3b0=_3ad.get(elem,"role");if(!_3b0){return;}if(role){var t=lang.trim((" "+_3b0+" ").replace(" "+role+" "," "));_3ad.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_3b1){return elem.hasAttribute?elem.hasAttribute("aria-"+_3b1):!!elem.getAttribute("aria-"+_3b1);},getWaiState:function(elem,_3b2){return elem.getAttribute("aria-"+_3b2)||"";},setWaiState:function(elem,_3b3,_3b4){elem.setAttribute("aria-"+_3b3,_3b4);},removeWaiState:function(elem,_3b5){elem.removeAttribute("aria-"+_3b5);}});return _3ae;});},"dojo/window":function(){define(["./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_3b6,dom,geom,_3b7){var _3b8=lang.getObject("dojo.window",true);_3b8.getBox=function(){var _3b9=(_3b6.doc.compatMode=="BackCompat")?_3b6.body():_3b6.doc.documentElement,_3ba=geom.docScroll(),w,h;if(has("touch")){var _3bb=_3b6.doc.parentWindow||_3b6.doc.defaultView;w=_3bb.innerWidth||_3b9.clientWidth;h=_3bb.innerHeight||_3b9.clientHeight;}else{w=_3b9.clientWidth;h=_3b9.clientHeight;}return {l:_3ba.x,t:_3ba.y,w:w,h:h};};_3b8.get=function(doc){if(has("ie")&&_3b8!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};_3b8.scrollIntoView=function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_3b6.doc,body=doc.body||_3b6.body(),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if((!(has("mozilla")||isIE||isWK||has("opera"))||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _3bc=doc.compatMode=="BackCompat",_3bd=(isIE>=9&&node.ownerDocument.parentWindow.frameElement)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_3bc?body:html),_3be=isWK?body:_3bd,_3bf=_3bd.clientWidth,_3c0=_3bd.clientHeight,rtl=!geom.isBodyLtr(),_3c1=pos||geom.position(node),el=node.parentNode,_3c2=function(el){return ((isIE<=6||(isIE&&_3bc))?false:(_3b7.get(el,"position").toLowerCase()=="fixed"));};if(_3c2(node)){return;}while(el){if(el==body){el=_3be;}var _3c3=geom.position(el),_3c4=_3c2(el);if(el==_3be){_3c3.w=_3bf;_3c3.h=_3c0;if(_3be==html&&isIE&&rtl){_3c3.x+=_3be.offsetWidth-_3c3.w;}if(_3c3.x<0||!isIE){_3c3.x=0;}if(_3c3.y<0||!isIE){_3c3.y=0;}}else{var pb=geom.getPadBorderExtents(el);_3c3.w-=pb.w;_3c3.h-=pb.h;_3c3.x+=pb.l;_3c3.y+=pb.t;var _3c5=el.clientWidth,_3c6=_3c3.w-_3c5;if(_3c5>0&&_3c6>0){_3c3.w=_3c5;_3c3.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_3c6:0;}_3c5=el.clientHeight;_3c6=_3c3.h-_3c5;if(_3c5>0&&_3c6>0){_3c3.h=_3c5;}}if(_3c4){if(_3c3.y<0){_3c3.h+=_3c3.y;_3c3.y=0;}if(_3c3.x<0){_3c3.w+=_3c3.x;_3c3.x=0;}if(_3c3.y+_3c3.h>_3c0){_3c3.h=_3c0-_3c3.y;}if(_3c3.x+_3c3.w>_3bf){_3c3.w=_3bf-_3c3.x;}}var l=_3c1.x-_3c3.x,t=_3c1.y-Math.max(_3c3.y,0),r=l+_3c1.w-_3c3.w,bot=t+_3c1.h-_3c3.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_3bc)||isIE>=9)){s=-s;}_3c1.x+=el.scrollLeft;el.scrollLeft+=s;_3c1.x-=el.scrollLeft;}if(bot*t>0){_3c1.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_3c1.y-=el.scrollTop;}el=(el!=_3be)&&!_3c4&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}};return _3b8;});},"dojox/mobile/EdgeToEdgeList":function(){define("dojox/mobile/EdgeToEdgeList",["dojo/_base/declare","./RoundRectList"],function(_3c7,_3c8){return _3c7("dojox.mobile.EdgeToEdgeList",_3c8,{buildRendering:function(){this.inherited(arguments);this.domNode.className="mblEdgeToEdgeList";}});});},"dijit/popup":function(){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window","./place","./BackgroundIframe","."],function(_3c9,_3ca,_3cb,_3cc,dom,_3cd,_3ce,_3cf,_3d0,_3d1,keys,lang,on,has,win,_3d2,_3d3,_3d4){var _3d5=_3cc(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_3d6){var _3d7=_3d6._popupWrapper,node=_3d6.domNode;if(!_3d7){_3d7=_3ce.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},win.body());_3d7.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_3d6._popupWrapper=_3d7;_3ca.after(_3d6,"destroy",function(){_3ce.destroy(_3d7);delete _3d6._popupWrapper;});}return _3d7;},moveOffScreen:function(_3d8){var _3d9=this._createWrapper(_3d8);_3d0.set(_3d9,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_3da){var _3db=this._createWrapper(_3da);_3d0.set(_3db,"display","none");},getTopPopup:function(){var _3dc=this._stack;for(var pi=_3dc.length-1;pi>0&&_3dc[pi].parent===_3dc[pi-1].widget;pi--){}return _3dc[pi];},open:function(args){var _3dd=this._stack,_3de=args.popup,_3df=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_3cf.isBodyLtr(),_3e0=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_3dd.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_3dd[_3dd.length-1].widget.domNode))){this.close(_3dd[_3dd.length-1].widget);}var _3e1=this._createWrapper(_3de);_3cd.set(_3e1,{id:id,style:{zIndex:this._beginZIndex+_3dd.length},"class":"dijitPopup "+(_3de.baseClass||_3de["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("ie")||has("mozilla")){if(!_3de.bgIframe){_3de.bgIframe=new _3d3(_3e1);}}var best=_3e0?_3d2.around(_3e1,_3e0,_3df,ltr,_3de.orient?lang.hitch(_3de,"orient"):null):_3d2.at(_3e1,args,_3df=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_3e1.style.display="";_3e1.style.visibility="visible";_3de.domNode.style.visibility="visible";var _3e2=[];_3e2.push(on(_3e1,_3cb._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_3d1.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_3d1.stop(evt);var _3e3=this.getTopPopup();if(_3e3&&_3e3.onCancel){_3e3.onCancel();}}}})));if(_3de.onCancel&&args.onCancel){_3e2.push(_3de.on("cancel",args.onCancel));}_3e2.push(_3de.on(_3de.onExecute?"execute":"change",lang.hitch(this,function(){var _3e4=this.getTopPopup();if(_3e4&&_3e4.onExecute){_3e4.onExecute();}})));_3dd.push({widget:_3de,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_3e2});if(_3de.onOpen){_3de.onOpen(best);}return best;},close:function(_3e5){var _3e6=this._stack;while((_3e5&&_3c9.some(_3e6,function(elem){return elem.widget==_3e5;}))||(!_3e5&&_3e6.length)){var top=_3e6.pop(),_3e7=top.widget,_3e8=top.onClose;if(_3e7.onClose){_3e7.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_3e7&&_3e7.domNode){this.hide(_3e7);}if(_3e8){_3e8();}}}});return (_3d4.popup=new _3d5());});},"dojox/mobile/uacss":function(){define("dojox/mobile/uacss",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/window","dojox/mobile/sniff"],function(dojo,lang,win,has){win.doc.documentElement.className+=lang.trim([has("bb")?"dj_bb":"",has("android")?"dj_android":"",has("iphone")?"dj_iphone":"",has("ipod")?"dj_ipod":"",has("ipad")?"dj_ipad":""].join(" ").replace(/ +/g," "));return dojo;});},"dijit/_base/window":function(){define("dijit/_base/window",["dojo/window",".."],function(_3e9,_3ea){_3ea.getDocumentWindow=function(doc){return _3e9.get(doc);};});},"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/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_3eb,_3ec,_3ed,_3ee,_3ef,_3f0,dom,_3f1,_3f2,_3f3,_3f4,_3f5,_3f6,lang,on,_3f7,_3f8,_3f9,win,_3fa){if(!_3f6.isAsync){_3f7(0,function(){var _3fb=["dijit/_base/manager"];_3eb(_3fb);});}var _3fc={};function _3fd(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _3fe(attr){return function(val){_3f1[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _3f0("dijit._WidgetBase",_3f8,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_3fe("lang"),dir:"",_setDirAttr:_3fe("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_3ee.blankGif||_3eb.toUrl("dojo/resources/blank.gif"),postscript:function(_3ff,_400){this.create(_3ff,_400);},create:function(_401,_402){this.srcNodeRef=dom.byId(_402);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_401){this.params=_401;lang.mixin(this,_401);}this.postMixInProperties();if(!this.id){this.id=_3fa.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_3fa.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _403=this.srcNodeRef;if(_403&&_403.parentNode&&this.domNode!==_403){_403.parentNode.replaceChild(this.domNode,_403);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){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 _404=ctor.prototype;for(var _405 in _404){if(_405 in this.attributeMap){continue;}var _406="_set"+_405.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_406 in _404){list.push(_405);}}}_3ec.forEach(list,function(attr){if(this.params&&attr in this.params){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(var _407 in this.params){this.set(_407,this[_407]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||_3f3.create("div");}if(this.baseClass){var _408=this.baseClass.split(" ");if(!this.isLeftToRight()){_408=_408.concat(_3ec.map(_408,function(name){return name+"Rtl";}));}_3f2.add(this.domNode,_408);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_3ec.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_409){this._beingDestroyed=true;this.destroyDescendants(_409);this.destroy(_409);},destroy:function(_40a){this._beingDestroyed=true;this.uninitialize();var c;while(c=this._connects.pop()){c.remove();}var w;while(w=this._supportingWidgets.pop()){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}}this.destroyRendering(_40a);_3fa.remove(this.id);this._destroyed=true;},destroyRendering:function(_40b){if(this.bgIframe){this.bgIframe.destroy(_40b);delete this.bgIframe;}if(this.domNode){if(_40b){_3f1.remove(this.domNode,"widgetId");}else{_3f3.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_40b){_3f3.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_40c){_3ec.forEach(this.getChildren(),function(_40d){if(_40d.destroyRecursive){_40d.destroyRecursive(_40c);}});},uninitialize:function(){return false;},_setStyleAttr:function(_40e){var _40f=this.domNode;if(lang.isObject(_40e)){_3f5.set(_40f,_40e);}else{if(_40f.style.cssText){_40f.style.cssText+="; "+_40e;}else{_40f.style.cssText=_40e;}}this._set("style",_40e);},_attrToDom:function(attr,_410,_411){_411=arguments.length>=3?_411:this.attributeMap[attr];_3ec.forEach(lang.isArray(_411)?_411:[_411],function(_412){var _413=this[_412.node||_412||"domNode"];var type=_412.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_410)){_410=lang.hitch(this,_410);}var _414=_412.attribute?_412.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);_3f1.set(_413,_414,_410);break;case "innerText":_413.innerHTML="";_413.appendChild(win.doc.createTextNode(_410));break;case "innerHTML":_413.innerHTML=_410;break;case "class":_3f2.replace(_413,_410,this[attr]);break;}},this);},get:function(name){var _415=this._getAttrNames(name);return this[_415.g]?this[_415.g]():this[name];},set:function(name,_416){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _417=this._getAttrNames(name),_418=this[_417.s];if(lang.isFunction(_418)){var _419=_418.apply(this,Array.prototype.slice.call(arguments,1));}else{var _41a=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_41a].tagName,_41b=_3fc[tag]||(_3fc[tag]=_3fd(this[_41a])),map=name in this.attributeMap?this.attributeMap[name]:_417.s in this?this[_417.s]:((_417.l in _41b&&typeof _416!="function")||/^aria-|^data-|^role$/.test(name))?_41a:null;if(map!=null){this._attrToDom(name,_416,map);}this._set(name,_416);}return _419||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,_41c){var _41d=this[name];this[name]=_41c;if(this._watchCallbacks&&this._created&&_41c!==_41d){this._watchCallbacks(name,_41d,_41c);}},on:function(type,func){return _3ed.after(this,this._onMap(type),func,true);},_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[type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_3fa.findWidgets(this.containerNode):[];},getParent:function(){return _3fa.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_41e,_41f){var _420=_3ef.connect(obj,_41e,this,_41f);this._connects.push(_420);return _420;},disconnect:function(_421){var i=_3ec.indexOf(this._connects,_421);if(i!=-1){_421.remove();this._connects.splice(i,1);}},subscribe:function(t,_422){var _423=_3f9.subscribe(t,lang.hitch(this,_422));this._connects.push(_423);return _423;},unsubscribe:function(_424){this.disconnect(_424);},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_3f4.isBodyLtr();},isFocusable:function(){return this.focus&&(_3f5.get(this.domNode,"display")!="none");},placeAt:function(_425,_426){if(_425.declaredClass&&_425.addChild){_425.addChild(this,_426);}else{_3f3.place(this.domNode,_425,_426);}return this;},getTextDir:function(text,_427){return _427;},applyTextDir:function(){}});});},"dojox/mobile/app/AlertDialog":function(){define(["dijit","dojo","dojox","dojo/require!dijit/_WidgetBase"],function(_428,dojo,_429){dojo.provide("dojox.mobile.app.AlertDialog");dojo.experimental("dojox.mobile.app.AlertDialog");dojo.require("dijit._WidgetBase");dojo.declare("dojox.mobile.app.AlertDialog",_428._WidgetBase,{title:"",text:"",controller:null,buttons:null,defaultButtonLabel:"OK",onChoose:null,constructor:function(){this.onClick=dojo.hitch(this,this.onClick);this._handleSelect=dojo.hitch(this,this._handleSelect);},buildRendering:function(){this.domNode=dojo.create("div",{"class":"alertDialog"});var _42a=dojo.create("div",{"class":"alertDialogBody"},this.domNode);dojo.create("div",{"class":"alertTitle",innerHTML:this.title||""},_42a);dojo.create("div",{"class":"alertText",innerHTML:this.text||""},_42a);var _42b=dojo.create("div",{"class":"alertBtns"},_42a);if(!this.buttons||this.buttons.length==0){this.buttons=[{label:this.defaultButtonLabel,value:"ok","class":"affirmative"}];}var _42c=this;dojo.forEach(this.buttons,function(_42d){var btn=new _429.mobile.Button({btnClass:_42d["class"]||"",label:_42d.label});btn._dialogValue=_42d.value;dojo.place(btn.domNode,_42b);_42c.connect(btn,"onClick",_42c._handleSelect);});var _42e=this.controller.getWindowSize();this.mask=dojo.create("div",{"class":"dialogUnderlayWrapper",innerHTML:"
",style:{width:_42e.w+"px",height:_42e.h+"px"}},this.controller.assistant.domNode);this.connect(this.mask,"onclick",function(){_42c.onChoose&&_42c.onChoose();_42c.hide();});},postCreate:function(){this.subscribe("/dojox/mobile/app/goback",this._handleSelect);},_handleSelect:function(_42f){var node;if(_42f&&_42f.target){node=_42f.target;while(!_428.byNode(node)){node-node.parentNode;}}if(this.onChoose){this.onChoose(node?_428.byNode(node)._dialogValue:undefined);}this.hide();},show:function(){this._doTransition(1);},hide:function(){this._doTransition(-1);},_doTransition:function(dir){var anim;var h=dojo.marginBox(this.domNode.firstChild).h;var _430=this.controller.getWindowSize().h;var high=_430-h;var low=_430;var _431=dojo.fx.slideTo({node:this.domNode,duration:400,top:{start:dir<0?high:low,end:dir<0?low:high}});var _432=dojo[dir<0?"fadeOut":"fadeIn"]({node:this.mask,duration:400});var anim=dojo.fx.combine([_431,_432]);var _433=this;dojo.connect(anim,"onEnd",this,function(){if(dir<0){_433.domNode.style.display="none";dojo.destroy(_433.domNode);dojo.destroy(_433.mask);}});anim.play();},destroy:function(){this.inherited(arguments);dojo.destroy(this.mask);},onClick:function(){}});});}}});require(["dojo/i18n"],function(i18n){i18n._preloadLocalizations("dojox/mobile/nls/app",[]);});define("dojox/mobile/app",["./app/_base"],function(_434){return _434;});