dojo-core-layer.js 190 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. (function(){function ha(da,C){da({cache:{"dojo/dnd/Moveable":function(){C("../_base/array ../_base/declare ../_base/lang ../dom ../dom-class ../Evented ../on ../topic ../touch ./common ./Mover ../_base/window".split(" "),function(k,p,e,q,c,b,d,a,u,l,n,f){return p("dojo.dnd.Moveable",[b],{handle:"",delay:0,skip:!1,constructor:function(a,f){this.node=q.byId(a);f||(f={});this.handle=f.handle?q.byId(f.handle):null;this.handle||(this.handle=this.node);this.delay=0<f.delay?f.delay:0;this.skip=f.skip;this.mover=
  2. f.mover?f.mover:n;this.events=[d(this.handle,u.press,e.hitch(this,"onMouseDown")),d(this.handle,"dragstart",e.hitch(this,"onSelectStart")),d(this.handle,"selectstart",e.hitch(this,"onSelectStart"))]},markupFactory:function(a,f,b){return new b(f,a)},destroy:function(){k.forEach(this.events,function(a){a.remove()});this.events=this.node=this.handle=null},onMouseDown:function(a){if(!this.skip||!l.isFormElement(a)){if(this.delay)this.events.push(d(this.handle,u.move,e.hitch(this,"onMouseMove")),d(this.handle,
  3. u.release,e.hitch(this,"onMouseUp"))),this._lastX=a.pageX,this._lastY=a.pageY;else this.onDragDetected(a);a.stopPropagation();a.preventDefault()}},onMouseMove:function(a){if(Math.abs(a.pageX-this._lastX)>this.delay||Math.abs(a.pageY-this._lastY)>this.delay)this.onMouseUp(a),this.onDragDetected(a);a.stopPropagation();a.preventDefault()},onMouseUp:function(a){for(var f=0;2>f;++f)this.events.pop().remove();a.stopPropagation();a.preventDefault()},onSelectStart:function(a){if(!this.skip||!l.isFormElement(a))a.stopPropagation(),
  4. a.preventDefault()},onDragDetected:function(a){new this.mover(this.node,a,this)},onMoveStart:function(b){a.publish("/dnd/move/start",b);c.add(f.body(),"dojoMove");c.add(this.node,"dojoMoveItem")},onMoveStop:function(b){a.publish("/dnd/move/stop",b);c.remove(f.body(),"dojoMove");c.remove(this.node,"dojoMoveItem")},onFirstMove:function(){},onMove:function(a,f){this.onMoving(a,f);var b=a.node.style;b.left=f.l+"px";b.top=f.t+"px";this.onMoved(a,f)},onMoving:function(){},onMoved:function(){}})})},"dojo/touch":function(){C("./_base/kernel ./aspect ./dom ./dom-class ./_base/lang ./on ./has ./mouse ./domReady ./_base/window".split(" "),
  5. function(k,p,e,q,c,b,d,a,u,l){function n(a,f,w){return v&&w?function(a,f){return b(a,w,f)}:z?function(w,c){var l=b(w,f,c),r=b(w,a,function(a){(!K||(new Date).getTime()>K+1E3)&&c.call(this,a)});return{remove:function(){l.remove();r.remove()}}}:function(f,w){return b(f,a,w)}}function f(a){do if(a.dojoClick)return a.dojoClick;while(a=a.parentNode)}function r(a,w,c){if(J=!a.target.disabled&&f(a.target))G=a.target,A=a.touches?a.touches[0].pageX:a.clientX,y=a.touches?a.touches[0].pageY:a.clientY,D=("object"==
  6. typeof J?J.x:"number"==typeof J?J:0)||4,I=("object"==typeof J?J.y:"number"==typeof J?J:0)||4,B||(B=!0,l.doc.addEventListener(w,function(a){J=J&&a.target==G&&Math.abs((a.touches?a.touches[0].pageX:a.clientX)-A)<=D&&Math.abs((a.touches?a.touches[0].pageY:a.clientY)-y)<=I},!0),l.doc.addEventListener(c,function(a){if(J){P=(new Date).getTime();var f=a.target;"LABEL"===f.tagName&&(f=e.byId(f.getAttribute("for"))||f);setTimeout(function(){b.emit(f,"click",{bubbles:!0,cancelable:!0,_dojo_click:!0})})}},!0),
  7. a=function(a){l.doc.addEventListener(a,function(f){!f._dojo_click&&((new Date).getTime()<=P+1E3&&!("INPUT"==f.target.tagName&&q.contains(f.target,"dijitOffScreen")))&&(f.stopPropagation(),f.stopImmediatePropagation&&f.stopImmediatePropagation(),"click"==a&&(("INPUT"!=f.target.tagName||"radio"==f.target.type||"checkbox"==f.target.type)&&"TEXTAREA"!=f.target.tagName&&"AUDIO"!=f.target.tagName&&"VIDEO"!=f.target.tagName)&&f.preventDefault())},!0)},a("click"),a("mousedown"),a("mouseup"))}var z=d("touch"),
  8. s=5>d("ios"),v=navigator.msPointerEnabled,B,J,G,A,y,D,I,P,K,w;z&&(v?u(function(){l.doc.addEventListener("MSPointerDown",function(a){r(a,"MSPointerMove","MSPointerUp")},!0)}):u(function(){function a(f){var b=c.delegate(f,{bubbles:!0});6<=d("ios")&&(b.touches=f.touches,b.altKey=f.altKey,b.changedTouches=f.changedTouches,b.ctrlKey=f.ctrlKey,b.metaKey=f.metaKey,b.shiftKey=f.shiftKey,b.targetTouches=f.targetTouches);return b}w=l.body();l.doc.addEventListener("touchstart",function(a){K=(new Date).getTime();
  9. var f=w;w=a.target;b.emit(f,"dojotouchout",{relatedTarget:w,bubbles:!0});b.emit(w,"dojotouchover",{relatedTarget:f,bubbles:!0});r(a,"touchmove","touchend")},!0);b(l.doc,"touchmove",function(f){K=(new Date).getTime();var c=l.doc.elementFromPoint(f.pageX-(s?0:l.global.pageXOffset),f.pageY-(s?0:l.global.pageYOffset));c&&(w!==c&&(b.emit(w,"dojotouchout",{relatedTarget:c,bubbles:!0}),b.emit(c,"dojotouchover",{relatedTarget:w,bubbles:!0}),w=c),b.emit(c,"dojotouchmove",a(f)))});b(l.doc,"touchend",function(f){K=
  10. (new Date).getTime();var w=l.doc.elementFromPoint(f.pageX-(s?0:l.global.pageXOffset),f.pageY-(s?0:l.global.pageYOffset))||l.body();b.emit(w,"dojotouchend",a(f))})}));p={press:n("mousedown","touchstart","MSPointerDown"),move:n("mousemove","dojotouchmove","MSPointerMove"),release:n("mouseup","dojotouchend","MSPointerUp"),cancel:n(a.leave,"touchcancel",z?"MSPointerCancel":null),over:n("mouseover","dojotouchover","MSPointerOver"),out:n("mouseout","dojotouchout","MSPointerOut"),enter:a._eventHandler(n("mouseover",
  11. "dojotouchover","MSPointerOver")),leave:a._eventHandler(n("mouseout","dojotouchout","MSPointerOut"))};return k.touch=p})},"dojo/dnd/common":function(){C(["../sniff","../_base/kernel","../_base/lang","../dom"],function(k,p,e,q){var c=e.getObject("dojo.dnd",!0);c.getCopyKeyState=function(b){return b[k("mac")?"metaKey":"ctrlKey"]};c._uniqueId=0;c.getUniqueId=function(){var b;do b=p._scopeName+"Unique"+ ++c._uniqueId;while(q.byId(b));return b};c._empty={};c.isFormElement=function(b){b=b.target;3==b.nodeType&&
  12. (b=b.parentNode);return 0<=" button textarea input select option ".indexOf(" "+b.tagName.toLowerCase()+" ")};return c})},"dojo/dnd/Mover":function(){C("../_base/array ../_base/declare ../_base/lang ../sniff ../_base/window ../dom ../dom-geometry ../dom-style ../Evented ../on ../touch ./common ./autoscroll".split(" "),function(k,p,e,q,c,b,d,a,u,l,n,f,r){return p("dojo.dnd.Mover",[u],{constructor:function(a,f,c){function d(a){a.preventDefault();a.stopPropagation()}this.node=b.byId(a);this.marginBox=
  13. {l:f.pageX,t:f.pageY};this.mouseButton=f.button;f=this.host=c;a=a.ownerDocument;this.events=[l(a,n.move,e.hitch(this,"onFirstMove")),l(a,n.move,e.hitch(this,"onMouseMove")),l(a,n.release,e.hitch(this,"onMouseUp")),l(a,"dragstart",d),l(a.body,"selectstart",d)];r.autoScrollStart(a);if(f&&f.onMoveStart)f.onMoveStart(this)},onMouseMove:function(a){r.autoScroll(a);var f=this.marginBox;this.host.onMove(this,{l:f.l+a.pageX,t:f.t+a.pageY},a);a.preventDefault();a.stopPropagation()},onMouseUp:function(a){(q("webkit")&&
  14. q("mac")&&2==this.mouseButton?0==a.button:this.mouseButton==a.button)&&this.destroy();a.preventDefault();a.stopPropagation()},onFirstMove:function(f){var b=this.node.style,l,r=this.host;switch(b.position){case "relative":case "absolute":l=Math.round(parseFloat(b.left))||0;b=Math.round(parseFloat(b.top))||0;break;default:b.position="absolute";b=d.getMarginBox(this.node);l=c.doc.body;var u=a.getComputedStyle(l),n=d.getMarginBox(l,u),u=d.getContentBox(l,u);l=b.l-(u.l-n.l);b=b.t-(u.t-n.t)}this.marginBox.l=
  15. l-this.marginBox.l;this.marginBox.t=b-this.marginBox.t;if(r&&r.onFirstMove)r.onFirstMove(this,f);this.events.shift().remove()},destroy:function(){k.forEach(this.events,function(a){a.remove()});var a=this.host;if(a&&a.onMoveStop)a.onMoveStop(this);this.events=this.node=this.host=null}})})},"dojo/dnd/autoscroll":function(){C("../_base/lang ../sniff ../_base/window ../dom-geometry ../dom-style ../window".split(" "),function(k,p,e,q,c,b){var d={};k.setObject("dojo.dnd.autoscroll",d);d.getViewport=b.getBox;
  16. d.V_TRIGGER_AUTOSCROLL=32;d.H_TRIGGER_AUTOSCROLL=32;d.V_AUTOSCROLL_VALUE=16;d.H_AUTOSCROLL_VALUE=16;var a,u=e.doc,l=Infinity,n=Infinity;d.autoScrollStart=function(f){u=f;a=b.getBox(u);f=e.body(u).parentNode;l=Math.max(f.scrollHeight-a.h,0);n=Math.max(f.scrollWidth-a.w,0)};d.autoScroll=function(f){var c=a||b.getBox(u),z=e.body(u).parentNode,s=0,v=0;f.clientX<d.H_TRIGGER_AUTOSCROLL?s=-d.H_AUTOSCROLL_VALUE:f.clientX>c.w-d.H_TRIGGER_AUTOSCROLL&&(s=Math.min(d.H_AUTOSCROLL_VALUE,n-z.scrollLeft));f.clientY<
  17. d.V_TRIGGER_AUTOSCROLL?v=-d.V_AUTOSCROLL_VALUE:f.clientY>c.h-d.V_TRIGGER_AUTOSCROLL&&(v=Math.min(d.V_AUTOSCROLL_VALUE,l-z.scrollTop));window.scrollBy(s,v)};d._validNodes={div:1,p:1,td:1};d._validOverflow={auto:1,scroll:1};d.autoScrollNodes=function(a){for(var b,l,u,n,B,k,G=0,A=0,y=a.target;y;){if(1==y.nodeType&&y.tagName.toLowerCase()in d._validNodes){u=c.getComputedStyle(y);n=u.overflow.toLowerCase()in d._validOverflow;B=u.overflowX.toLowerCase()in d._validOverflow;k=u.overflowY.toLowerCase()in d._validOverflow;
  18. if(n||B||k)b=q.getContentBox(y,u),l=q.position(y,!0);if(n||B){u=Math.min(d.H_TRIGGER_AUTOSCROLL,b.w/2);B=a.pageX-l.x;if(p("webkit")||p("opera"))B+=e.body().scrollLeft;G=0;0<B&&B<b.w&&(B<u?G=-u:B>b.w-u&&(G=u),y.scrollLeft+=G)}if(n||k){n=Math.min(d.V_TRIGGER_AUTOSCROLL,b.h/2);k=a.pageY-l.y;if(p("webkit")||p("opera"))k+=e.body().scrollTop;A=0;0<k&&k<b.h&&(k<n?A=-n:k>b.h-n&&(A=n),y.scrollTop+=A)}if(G||A)return}try{y=y.parentNode}catch(D){y=null}}d.autoScroll(a)};return d})},"dojo/window":function(){C("./_base/lang ./sniff ./_base/window ./dom ./dom-geometry ./dom-style ./dom-construct".split(" "),
  19. function(k,p,e,q,c,b,d){p.add("rtl-adjust-position-for-verticalScrollBar",function(a,b){var n=e.body(b),f=d.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},n,"last"),r=d.create("div",{style:{overflow:"hidden",direction:"ltr"}},f,"last"),z=0!=c.position(r).x;f.removeChild(r);n.removeChild(f);return z});p.add("position-fixed-support",function(a,b){var n=e.body(b),f=d.create("span",{style:{visibility:"hidden",
  20. position:"fixed",left:"1px",top:"1px"}},n,"last"),r=d.create("span",{style:{position:"fixed",left:"0",top:"0"}},f,"last"),z=c.position(r).x!=c.position(f).x;f.removeChild(r);n.removeChild(f);return z});var a={getBox:function(b){b=b||e.doc;var l="BackCompat"==b.compatMode?e.body(b):b.documentElement,d=c.docScroll(b);if(p("touch")){var f=a.get(b);b=f.innerWidth||l.clientWidth;l=f.innerHeight||l.clientHeight}else b=l.clientWidth,l=l.clientHeight;return{l:d.x,t:d.y,w:b,h:l}},get:function(b){if(p("ie")&&
  21. a!==document.parentWindow){b.parentWindow.execScript("document._parentWindow = window;","Javascript");var c=b._parentWindow;b._parentWindow=null;return c}return b.parentWindow||b.defaultView},scrollIntoView:function(a,l){try{a=q.byId(a);var d=a.ownerDocument||e.doc,f=e.body(d),r=d.documentElement||f.parentNode,z=p("ie"),s=p("webkit");if(!(a==f||a==r))if(!p("mozilla")&&(!z&&!s&&!p("opera"))&&"scrollIntoView"in a)a.scrollIntoView(!1);else{var v="BackCompat"==d.compatMode,B=Math.min(f.clientWidth||r.clientWidth,
  22. r.clientWidth||f.clientWidth),k=Math.min(f.clientHeight||r.clientHeight,r.clientHeight||f.clientHeight),d=s||v?f:r,G=l||c.position(a),A=a.parentNode,s=function(a){return 6>=z||7==z&&v?!1:p("position-fixed-support")&&"fixed"==b.get(a,"position").toLowerCase()};if(!s(a))for(;A;){A==f&&(A=d);var y=c.position(A),D=s(A),I="rtl"==b.getComputedStyle(A).direction.toLowerCase();if(A==d){y.w=B;y.h=k;d==r&&(z&&I)&&(y.x+=d.offsetWidth-y.w);if(0>y.x||!z||9<=z)y.x=0;if(0>y.y||!z||9<=z)y.y=0}else{var P=c.getPadBorderExtents(A);
  23. y.w-=P.w;y.h-=P.h;y.x+=P.l;y.y+=P.t;var K=A.clientWidth,w=y.w-K;0<K&&0<w&&(I&&p("rtl-adjust-position-for-verticalScrollBar")&&(y.x+=w),y.w=K);K=A.clientHeight;w=y.h-K;0<K&&0<w&&(y.h=K)}D&&(0>y.y&&(y.h+=y.y,y.y=0),0>y.x&&(y.w+=y.x,y.x=0),y.y+y.h>k&&(y.h=k-y.y),y.x+y.w>B&&(y.w=B-y.x));var W=G.x-y.x,O=G.y-y.y,fa=W+G.w-y.w,ia=O+G.h-y.h,Z,ga;if(0<fa*W&&(A.scrollLeft||A==d||A.scrollWidth>A.offsetHeight)){Z=Math[0>W?"max":"min"](W,fa);if(I&&(8==z&&!v||9<=z))Z=-Z;ga=A.scrollLeft;A.scrollLeft+=Z;Z=A.scrollLeft-
  24. ga;G.x-=Z}if(0<ia*O&&(A.scrollTop||A==d||A.scrollHeight>A.offsetHeight))Z=Math.ceil(Math[0>O?"max":"min"](O,ia)),ga=A.scrollTop,A.scrollTop+=Z,Z=A.scrollTop-ga,G.y-=Z;A=A!=d&&!D&&A.parentNode}}}catch(ja){console.error("scrollIntoView: "+ja),a.scrollIntoView(!1)}}};k.setObject("dojo.window",a);return a})},"dijit/registry":function(){C(["dojo/_base/array","dojo/sniff","dojo/_base/window","./main"],function(k,p,e,q){var c={},b={},d={length:0,add:function(a){if(b[a.id])throw Error("Tried to register widget with id=="+
  25. a.id+" but that id is already registered");b[a.id]=a;this.length++},remove:function(a){b[a]&&(delete b[a],this.length--)},byId:function(a){return"string"==typeof a?b[a]:a},byNode:function(a){return b[a.getAttribute("widgetId")]},toArray:function(){var a=[],c;for(c in b)a.push(b[c]);return a},getUniqueId:function(a){var d;do d=a+"_"+(a in c?++c[a]:c[a]=0);while(b[d]);return"dijit"==q._scopeName?d:q._scopeName+"_"+d},findWidgets:function(a,c){function l(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==
  26. a.nodeType){var r=a.getAttribute("widgetId");r?(r=b[r])&&d.push(r):a!==c&&l(a)}}var d=[];l(a);return d},_destroyAll:function(){q._curFocus=null;q._prevFocus=null;q._activeStack=[];k.forEach(d.findWidgets(e.body()),function(a){a._destroyed||(a.destroyRecursive?a.destroyRecursive():a.destroy&&a.destroy())})},getEnclosingWidget:function(a){for(;a;){var c=1==a.nodeType&&a.getAttribute("widgetId");if(c)return b[c];a=a.parentNode}return null},_hash:b};return q.registry=d})},"dijit/main":function(){C(["dojo/_base/kernel"],
  27. function(k){return k.dijit})},"dojox/gfx/_base":function(){C("dojo/_base/kernel dojo/_base/lang dojo/_base/Color dojo/_base/sniff dojo/_base/window dojo/_base/array dojo/dom dojo/dom-construct dojo/dom-geometry".split(" "),function(k,p,e,q,c,b,d,a,u){var l=p.getObject("dojox.gfx",!0),n=l._base={};l._hasClass=function(a,f){var b=a.getAttribute("className");return b&&0<=(" "+b+" ").indexOf(" "+f+" ")};l._addClass=function(a,f){var b=a.getAttribute("className")||"";if(!b||0>(" "+b+" ").indexOf(" "+f+
  28. " "))a.setAttribute("className",b+(b?" ":"")+f)};l._removeClass=function(a,f){var b=a.getAttribute("className");b&&a.setAttribute("className",b.replace(RegExp("(^|\\s+)"+f+"(\\s+|$)"),"$1$2"))};n._getFontMeasurements=function(){var f={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,small:0,medium:0,large:0,"x-large":0,"xx-large":0},b;q("ie")&&(c.doc.documentElement.style.fontSize="100%");var l=a.create("div",{style:{position:"absolute",left:"0",top:"-100px",width:"30px",height:"1000em",
  29. borderWidth:"0",margin:"0",padding:"0",outline:"none",lineHeight:"1",overflow:"hidden"}},c.body());for(b in f)l.style.fontSize=b,f[b]=16*Math.round(12*l.offsetHeight/16)/12/1E3;c.body().removeChild(l);return f};var f=null;n._getCachedFontMeasurements=function(a){if(a||!f)f=n._getFontMeasurements();return f};var r=null,z={};n._getTextBox=function(f,b,l){var d,n,s=arguments.length,e;r||(r=a.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},c.body()));d=r;d.className="";n=d.style;n.borderWidth=
  30. "0";n.margin="0";n.padding="0";n.outline="0";if(1<s&&b)for(e in b)e in z||(n[e]=b[e]);2<s&&l&&(d.className=l);d.innerHTML=f;return d.getBoundingClientRect?(d=d.getBoundingClientRect(),{l:d.left,t:d.top,w:d.width||d.right-d.left,h:d.height||d.bottom-d.top}):u.getMarginBox(d)};n._computeTextLocation=function(a,f,b,c){var l={};switch(a.align){case "end":l.x=a.x-f;break;case "middle":l.x=a.x-f/2;break;default:l.x=a.x}l.y=a.y-b*(c?0.75:1);return l};n._computeTextBoundingBox=function(a){if(!l._base._isRendered(a))return{x:0,
  31. y:0,width:0,height:0};var f;f=a.getShape();var b=a.getFont()||l.defaultFont;a=a.getTextWidth();b=l.normalizedLength(b.size);f=n._computeTextLocation(f,a,b,!0);return{x:f.x,y:f.y,width:a,height:b}};n._isRendered=function(a){for(a=a.parent;a&&a.getParent;)a=a.parent;return null!==a};var s=0;n._getUniqueId=function(){var a;do a=k._scopeName+"xUnique"+ ++s;while(d.byId(a));return a};n._fixMsTouchAction=function(a){a=a.rawNode;"undefined"!=typeof a.style.msTouchAction&&(a.style.msTouchAction="none")};
  32. p.mixin(l,{defaultPath:{type:"path",path:""},defaultPolyline:{type:"polyline",points:[]},defaultRect:{type:"rect",x:0,y:0,width:100,height:100,r:0},defaultEllipse:{type:"ellipse",cx:0,cy:0,rx:200,ry:100},defaultCircle:{type:"circle",cx:0,cy:0,r:100},defaultLine:{type:"line",x1:0,y1:0,x2:100,y2:100},defaultImage:{type:"image",x:0,y:0,width:0,height:0,src:""},defaultText:{type:"text",x:0,y:0,text:"",align:"start",decoration:"none",rotated:!1,kerning:!0},defaultTextPath:{type:"textpath",text:"",align:"start",
  33. decoration:"none",rotated:!1,kerning:!0},defaultStroke:{type:"stroke",color:"black",style:"solid",width:1,cap:"butt",join:4},defaultLinearGradient:{type:"linear",x1:0,y1:0,x2:100,y2:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultRadialGradient:{type:"radial",cx:0,cy:0,r:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultPattern:{type:"pattern",x:0,y:0,width:0,height:0,src:""},defaultFont:{type:"font",style:"normal",variant:"normal",weight:"normal",size:"10pt",
  34. family:"serif"},getDefault:function(){var a={};return function(f){var b=a[f];if(b)return new b;b=a[f]=new Function;b.prototype=l["default"+f];return new b}}(),normalizeColor:function(a){return a instanceof e?a:new e(a)},normalizeParameters:function(a,f){var b;if(f){var c={};for(b in a)b in f&&!(b in c)&&(a[b]=f[b])}return a},makeParameters:function(a,f){var b=null;if(!f)return p.delegate(a);var c={};for(b in a)b in c||(c[b]=p.clone(b in f?f[b]:a[b]));return c},formatNumber:function(a,f){var b=a.toString();
  35. if(0<=b.indexOf("e"))b=a.toFixed(4);else{var c=b.indexOf(".");0<=c&&5<b.length-c&&(b=a.toFixed(4))}return 0>a?b:f?" "+b:b},makeFontString:function(a){return a.style+" "+a.variant+" "+a.weight+" "+a.size+" "+a.family},splitFontString:function(a){var b=l.getDefault("Font");a=a.split(/\s+/);if(!(5>a.length)){b.style=a[0];b.variant=a[1];b.weight=a[2];var f=a[3].indexOf("/");b.size=0>f?a[3]:a[3].substring(0,f);var c=4;0>f&&("/"==a[4]?c=6:"/"==a[4].charAt(0)&&(c=5));c<a.length&&(b.family=a.slice(c).join(" "))}return b},
  36. cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return l._base._getCachedFontMeasurements()["12pt"]/12},pt2px:function(a){return a*l.px_in_pt()},px2pt:function(a){return a/l.px_in_pt()},normalizedLength:function(a){if(0===a.length)return 0;if(2<a.length){var b=l.px_in_pt(),f=parseFloat(a);switch(a.slice(-2)){case "px":return f;case "pt":return f*b;case "in":return 72*f*b;case "pc":return 12*f*b;case "mm":return f*l.mm_in_pt*b;case "cm":return f*l.cm_in_pt*b}}return parseFloat(a)},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,
  37. pathSvgRegExp:/([A-Za-z])|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,equalSources:function(a,b){return a&&b&&a===b},switchTo:function(a){var f="string"==typeof a?l[a]:a;f&&(b.forEach("Group Rect Ellipse Circle Line Polyline Image Text Path TextPath Surface createSurface fixTarget".split(" "),function(a){l[a]=f[a]}),"string"==typeof a?l.renderer=a:b.some(["svg","vml","canvas","canvasWithEvents","silverlight"],function(a){return l.renderer=l[a]&&l[a].Surface===l.Surface?a:null}))}});return l})},
  38. "dijit/_WidgetsInTemplateMixin":function(){C(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(k,p,e,q,c){return e("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:!1,widgetsInTemplate:!0,contextRequire:null,_beforeFillContent:function(){if(this.widgetsInTemplate){var b=this.domNode;this.containerNode&&!this.searchContainerNode&&(this.containerNode.stopParser=!0);c.parse(b,{noStart:!this._earlyTemplatedStartup,template:!0,inherited:{dir:this.dir,
  39. lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(q.hitch(this,function(b){this._startupWidgets=b;for(var a=0;a<b.length;a++)this._processTemplateNode(b[a],function(a,b){return a[b]},function(a,b,c){return b in a?a.connect(a,b,c):a.on(b,c,!0)});this.containerNode&&this.containerNode.stopParser&&delete this.containerNode.stopParser}));if(!this._startupWidgets)throw Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.");
  40. }},_processTemplateNode:function(b,c,a){return c(b,"dojoType")||c(b,"data-dojo-type")?!0:this.inherited(arguments)},startup:function(){k.forEach(this._startupWidgets,function(b){b&&(!b._started&&b.startup)&&b.startup()});this._startupWidgets=null;this.inherited(arguments)}})})},"dojo/parser":function(){C("require ./_base/kernel ./_base/lang ./_base/array ./_base/config ./dom ./_base/window ./_base/url ./aspect ./promise/all ./date/stamp ./Deferred ./has ./query ./on ./ready".split(" "),function(k,
  41. p,e,q,c,b,d,a,u,l,n,f,r,z,s,v){function B(a){return eval("("+a+")")}function J(a){var b=a._nameCaseMap,f=a.prototype;if(!b||b._extendCnt<A){var b=a._nameCaseMap={},w;for(w in f)"_"!==w.charAt(0)&&(b[w.toLowerCase()]=w);b._extendCnt=A}return b}function G(a,b){var f=a.join();if(!y[f]){for(var w=[],c=0,l=a.length;c<l;c++){var d=a[c];w[w.length]=y[d]=y[d]||e.getObject(d)||~d.indexOf("/")&&(b?b(d):k(d))}c=w.shift();y[f]=w.length?c.createSubclass?c.createSubclass(w):c.extend.apply(c,w):c}return y[f]}new Date("X");
  42. var A=0;u.after(e,"extend",function(){A++},!0);var y={},D={_clearCache:function(){A++;y={}},_functionFromScript:function(a,b){var f="",w="",c=a.getAttribute(b+"args")||a.getAttribute("args"),l=a.getAttribute("with"),c=(c||"").split(/\s*,\s*/);l&&l.length&&q.forEach(l.split(/\s*,\s*/),function(a){f+="with("+a+"){";w+="}"});return new Function(c,f+a.innerHTML+w)},instantiate:function(a,b,f){b=b||{};f=f||{};var w=(f.scope||p._scopeName)+"Type",c="data-"+(f.scope||p._scopeName)+"-",l=c+"type",d=c+"mixins",
  43. r=[];q.forEach(a,function(a){var f=w in b?b[w]:a.getAttribute(l)||a.getAttribute(w);if(f){var c=a.getAttribute(d),f=c?[f].concat(c.split(/\s*,\s*/)):[f];r.push({node:a,types:f})}});return this._instantiate(r,b,f)},_instantiate:function(a,b,f,c){function d(a){!b._started&&!f.noStart&&q.forEach(a,function(a){"function"===typeof a.startup&&!a._started&&a.startup()});return a}a=q.map(a,function(a){var c=a.ctor||G(a.types,f.contextRequire);if(!c)throw Error("Unable to resolve constructor for: '"+a.types.join()+
  44. "'");return this.construct(c,a.node,b,f,a.scripts,a.inherited)},this);return c?l(a).then(d):d(a)},construct:function(b,f,c,w,l,d){function k(a){C&&e.setObject(C,a);for(M=0;M<Q.length;M++)u[Q[M].advice||"after"](a,Q[M].method,e.hitch(a,Q[M].func),!0);for(M=0;M<ea.length;M++)ea[M].call(a);for(M=0;M<aa.length;M++)a.watch(aa[M].prop,aa[M].func);for(M=0;M<ba.length;M++)s(a,ba[M].event,ba[M].func);return a}var v=b&&b.prototype;w=w||{};var A={};w.defaults&&e.mixin(A,w.defaults);d&&e.mixin(A,d);var y;r("dom-attributes-explicit")?
  45. y=f.attributes:r("dom-attributes-specified-flag")?y=q.filter(f.attributes,function(a){return a.specified}):(d=(/^input$|^img$/i.test(f.nodeName)?f:f.cloneNode(!1)).outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,""),y=q.map(d.split(/\s+/),function(a){var b=a.toLowerCase();return{name:a,value:"LI"==f.nodeName&&"value"==a||"enctype"==b?f.getAttribute(b):f.getAttributeNode(b).value}}));var G=w.scope||p._scopeName;d="data-"+G+"-";var D={};"dojo"!==
  46. G&&(D[d+"props"]="data-dojo-props",D[d+"type"]="data-dojo-type",D[d+"mixins"]="data-dojo-mixins",D[G+"type"]="dojoType",D[d+"id"]="data-dojo-id");for(var M=0,N,G=[],C,S;N=y[M++];){var L=N.name,V=L.toLowerCase();N=N.value;switch(D[V]||V){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":S=N;break;case "data-dojo-id":case "jsid":C=N;break;case "data-dojo-attach-point":case "dojoattachpoint":A.dojoAttachPoint=N;break;case "data-dojo-attach-event":case "dojoattachevent":A.dojoAttachEvent=
  47. N;break;case "class":A["class"]=f.className;break;case "style":A.style=f.style&&f.style.cssText;break;default:if(L in v||(L=J(b)[V]||L),L in v)switch(typeof v[L]){case "string":A[L]=N;break;case "number":A[L]=N.length?Number(N):NaN;break;case "boolean":A[L]="false"!=N.toLowerCase();break;case "function":""===N||-1!=N.search(/[^\w\.]+/i)?A[L]=new Function(N):A[L]=e.getObject(N,!1)||new Function(N);G.push(L);break;default:V=v[L],A[L]=V&&"length"in V?N?N.split(/\s*,\s*/):[]:V instanceof Date?""==N?new Date(""):
  48. "now"==N?new Date:n.fromISOString(N):V instanceof a?p.baseUrl+N:B(N)}else A[L]=N}}for(y=0;y<G.length;y++)D=G[y].toLowerCase(),f.removeAttribute(D),f[D]=null;if(S)try{S=B.call(w.propsThis,"{"+S+"}"),e.mixin(A,S)}catch(X){throw Error(X.toString()+" in data-dojo-props='"+S+"'");}e.mixin(A,c);l||(l=b&&(b._noScript||v._noScript)?[]:z("> script[type^='dojo/']",f));var Q=[],ea=[],aa=[],ba=[];if(l)for(M=0;M<l.length;M++)D=l[M],f.removeChild(D),c=D.getAttribute(d+"event")||D.getAttribute("event"),w=D.getAttribute(d+
  49. "prop"),S=D.getAttribute(d+"method"),G=D.getAttribute(d+"advice"),y=D.getAttribute("type"),D=this._functionFromScript(D,d),c?"dojo/connect"==y?Q.push({method:c,func:D}):"dojo/on"==y?ba.push({event:c,func:D}):A[c]=D:"dojo/aspect"==y?Q.push({method:S,advice:G,func:D}):"dojo/watch"==y?aa.push({prop:w,func:D}):ea.push(D);b=(l=b.markupFactory||v.markupFactory)?l(A,f,b):new b(A,f);return b.then?b.then(k):k(b)},scan:function(a,b){function c(a){if(!a.inherited){a.inherited={};var b=a.node,f=c(a.parent),b=
  50. {dir:b.getAttribute("dir")||f.dir,lang:b.getAttribute("lang")||f.lang,textDir:b.getAttribute(z)||f.textDir},w;for(w in b)b[w]&&(a.inherited[w]=b[w])}return a.inherited}var w=[],d=[],l={},u=(b.scope||p._scopeName)+"Type",n="data-"+(b.scope||p._scopeName)+"-",s=n+"type",z=n+"textdir",n=n+"mixins",e=a.firstChild,v=b.inherited;if(!v){var B=function(a,b){return a.getAttribute&&a.getAttribute(b)||a.parentNode&&B(a.parentNode,b)},v={dir:B(a,"dir"),lang:B(a,"lang"),textDir:B(a,z)},A;for(A in v)v[A]||delete v[A]}for(var v=
  51. {inherited:v},y,D;;)if(e)if(1!=e.nodeType)e=e.nextSibling;else if(y&&"script"==e.nodeName.toLowerCase())(J=e.getAttribute("type"))&&/^dojo\/\w/i.test(J)&&y.push(e),e=e.nextSibling;else if(D)e=e.nextSibling;else{var J=e.getAttribute(s)||e.getAttribute(u);A=e.firstChild;if(!J&&(!A||3==A.nodeType&&!A.nextSibling))e=e.nextSibling;else{D=null;if(J){var C=e.getAttribute(n);y=C?[J].concat(C.split(/\s*,\s*/)):[J];try{D=G(y,b.contextRequire)}catch(X){}D||q.forEach(y,function(a){~a.indexOf("/")&&!l[a]&&(l[a]=
  52. !0,d[d.length]=a)});C=D&&!D.prototype._noScript?[]:null;v={types:y,ctor:D,parent:v,node:e,scripts:C};v.inherited=c(v);w.push(v)}else v={node:e,scripts:y,parent:v};y=C;D=e.stopParser||D&&D.prototype.stopParser&&!b.template;e=A}}else{if(!v||!v.node)break;e=v.node.nextSibling;D=!1;v=v.parent;y=v.scripts}var Q=new f;d.length?(r("dojo-debug-messages")&&console.warn("WARNING: Modules being Auto-Required: "+d.join(", ")),(b.contextRequire||k)(d,function(){Q.resolve(q.filter(w,function(a){if(!a.ctor)try{a.ctor=
  53. G(a.types,b.contextRequire)}catch(f){}for(var c=a.parent;c&&!c.types;)c=c.parent;var w=a.ctor&&a.ctor.prototype;a.instantiateChildren=!(w&&w.stopParser&&!b.template);a.instantiate=!c||c.instantiate&&c.instantiateChildren;return a.instantiate}))})):Q.resolve(w);return Q.promise},_require:function(a,b){var c=B("{"+a.innerHTML+"}"),w=[],d=[],l=new f,r=b&&b.contextRequire||k,u;for(u in c)w.push(u),d.push(c[u]);r(d,function(){for(var a=0;a<w.length;a++)e.setObject(w[a],arguments[a]);l.resolve(arguments)});
  54. return l.promise},_scanAmd:function(a,b){var c=new f,w=c.promise;c.resolve(!0);var d=this;z("script[type='dojo/require']",a).forEach(function(a){w=w.then(function(){return d._require(a,b)});a.parentNode.removeChild(a)});return w},parse:function(a,f){var c;!f&&a&&a.rootNode?(f=a,c=f.rootNode):a&&e.isObject(a)&&!("nodeType"in a)?f=a:c=a;c=c?b.byId(c):d.body();f=f||{};var w=f.template?{template:!0}:{},l=[],r=this,u=this._scanAmd(c,f).then(function(){return r.scan(c,f)}).then(function(a){return r._instantiate(a,
  55. w,f,!0)}).then(function(a){return l=l.concat(a)}).otherwise(function(a){console.error("dojo/parser::parse() error",a);throw a;});e.mixin(l,u);return l}};p.parser=D;c.parseOnLoad&&v(100,D,"parse");return D})},"dojo/_base/url":function(){C(["./kernel"],function(k){var p=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,e=/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,q=function(){for(var c=arguments,b=[c[0]],d=1;d<c.length;d++)if(c[d]){var a=new q(c[d]+""),b=new q(b[0]+
  56. "");if(""==a.path&&!a.scheme&&!a.authority&&!a.query)null!=a.fragment&&(b.fragment=a.fragment),a=b;else if(!a.scheme&&(a.scheme=b.scheme,!a.authority&&(a.authority=b.authority,"/"!=a.path.charAt(0)))){for(var b=(b.path.substring(0,b.path.lastIndexOf("/")+1)+a.path).split("/"),u=0;u<b.length;u++)"."==b[u]?u==b.length-1?b[u]="":(b.splice(u,1),u--):0<u&&(!(1==u&&""==b[0])&&".."==b[u]&&".."!=b[u-1])&&(u==b.length-1?(b.splice(u,1),b[u-1]=""):(b.splice(u-1,2),u-=2));a.path=b.join("/")}b=[];a.scheme&&b.push(a.scheme,
  57. ":");a.authority&&b.push("//",a.authority);b.push(a.path);a.query&&b.push("?",a.query);a.fragment&&b.push("#",a.fragment)}this.uri=b.join("");c=this.uri.match(p);this.scheme=c[2]||(c[1]?"":null);this.authority=c[4]||(c[3]?"":null);this.path=c[5];this.query=c[7]||(c[6]?"":null);this.fragment=c[9]||(c[8]?"":null);null!=this.authority&&(c=this.authority.match(e),this.user=c[3]||null,this.password=c[4]||null,this.host=c[6]||c[7],this.port=c[9]||null)};q.prototype.toString=function(){return this.uri};
  58. return k._Url=q})},"dojo/promise/all":function(){C(["../_base/array","../Deferred","../when"],function(k,p,e){var q=k.some;return function(c){var b,d;c instanceof Array?d=c:c&&"object"===typeof c&&(b=c);var a,u=[];if(b){d=[];for(var l in b)Object.hasOwnProperty.call(b,l)&&(u.push(l),d.push(b[l]));a={}}else d&&(a=[]);if(!d||!d.length)return(new p).resolve(a);var n=new p;n.promise.always(function(){a=u=null});var f=d.length;q(d,function(c,d){b||u.push(d);e(c,function(b){n.isFulfilled()||(a[u[d]]=b,
  59. 0===--f&&n.resolve(a))},n.reject);return n.isFulfilled()});return n.promise}})},"dojo/date/stamp":function(){C(["../_base/lang","../_base/array"],function(k,p){var e={};k.setObject("dojo.date.stamp",e);e.fromISOString=function(k,c){e._isoRegExp||(e._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var b=e._isoRegExp.exec(k),d=null;if(b){b.shift();b[1]&&b[1]--;b[6]&&(b[6]*=1E3);c&&(c=new Date(c),p.forEach(p.map("FullYear Month Date Hours Minutes Seconds Milliseconds".split(" "),
  60. function(a){return c["get"+a]()}),function(a,c){b[c]=b[c]||a}));d=new Date(b[0]||1970,b[1]||0,b[2]||1,b[3]||0,b[4]||0,b[5]||0,b[6]||0);100>b[0]&&d.setFullYear(b[0]||1970);var a=0,u=b[7]&&b[7].charAt(0);"Z"!=u&&(a=60*(b[8]||0)+(Number(b[9])||0),"-"!=u&&(a*=-1));u&&(a-=d.getTimezoneOffset());a&&d.setTime(d.getTime()+6E4*a)}return d};e.toISOString=function(e,c){var b=function(a){return 10>a?"0"+a:a};c=c||{};var d=[],a=c.zulu?"getUTC":"get",u="";"time"!=c.selector&&(u=e[a+"FullYear"](),u=["0000".substr((u+
  61. "").length)+u,b(e[a+"Month"]()+1),b(e[a+"Date"]())].join("-"));d.push(u);if("date"!=c.selector){u=[b(e[a+"Hours"]()),b(e[a+"Minutes"]()),b(e[a+"Seconds"]())].join(":");a=e[a+"Milliseconds"]();c.milliseconds&&(u+="."+(100>a?"0":"")+b(a));if(c.zulu)u+="Z";else if("time"!=c.selector)var a=e.getTimezoneOffset(),l=Math.abs(a),u=u+((0<a?"-":"+")+b(Math.floor(l/60))+":"+b(l%60));d.push(u)}return d.join("T")};return e})},"dojo/number":function(){C(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string",
  62. "./regexp"],function(k,p,e,q,c){var b={};k.setObject("dojo.number",b);b.format=function(a,c){c=k.mixin({},c||{});var d=p.normalizeLocale(c.locale),d=p.getLocalization("dojo.cldr","number",d);c.customs=d;d=c.pattern||d[(c.type||"decimal")+"Format"];return isNaN(a)||Infinity==Math.abs(a)?null:b._applyPattern(a,d,c)};b._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;b._applyPattern=function(a,c,d){d=d||{};var n=d.customs.group,f=d.customs.decimal;c=c.split(";");var r=c[0];c=c[0>a?1:0]||"-"+r;if(-1!=c.indexOf("%"))a*=
  63. 100;else if(-1!=c.indexOf("\u2030"))a*=1E3;else if(-1!=c.indexOf("\u00a4"))n=d.customs.currencyGroup||n,f=d.customs.currencyDecimal||f,c=c.replace(/\u00a4{1,3}/,function(a){return d[["symbol","currency","displayName"][a.length-1]]||d.currency||""});else if(-1!=c.indexOf("E"))throw Error("exponential notation not supported");var e=b._numberPatternRE,r=r.match(e);if(!r)throw Error("unable to find a number expression in pattern: "+c);!1===d.fractional&&(d.places=0);return c.replace(e,b._formatAbsolute(a,
  64. r[0],{decimal:f,group:n,places:d.places,round:d.round}))};b.round=function(a,b,c){c=10/(c||10);return(c*+a).toFixed(b)/c};if(0==(0.9).toFixed()){var d=b.round;b.round=function(a,b,c){var n=Math.pow(10,-b||0),f=Math.abs(a);if(!a||f>=n)n=0;else if(f/=n,0.5>f||0.95<=f)n=0;return d(a,b,c)+(0<a?n:-n)}}b._formatAbsolute=function(a,c,d){d=d||{};!0===d.places&&(d.places=0);Infinity===d.places&&(d.places=6);c=c.split(".");var n="string"==typeof d.places&&d.places.indexOf(","),f=d.places;n?f=d.places.substring(n+
  65. 1):0<=f||(f=(c[1]||[]).length);0>d.round||(a=b.round(a,f,d.round));a=String(Math.abs(a)).split(".");var r=a[1]||"";c[1]||d.places?(n&&(d.places=d.places.substring(0,n)),n=void 0!==d.places?d.places:c[1]&&c[1].lastIndexOf("0")+1,n>r.length&&(a[1]=q.pad(r,n,"0",!0)),f<r.length&&(a[1]=r.substr(0,f))):a[1]&&a.pop();f=c[0].replace(",","");n=f.indexOf("0");-1!=n&&(n=f.length-n,n>a[0].length&&(a[0]=q.pad(a[0],n)),-1==f.indexOf("#")&&(a[0]=a[0].substr(a[0].length-n)));var f=c[0].lastIndexOf(","),e,s;-1!=
  66. f&&(e=c[0].length-f-1,c=c[0].substr(0,f),f=c.lastIndexOf(","),-1!=f&&(s=c.length-f-1));c=[];for(f=a[0];f;)n=f.length-e,c.push(0<n?f.substr(n):f),f=0<n?f.slice(0,n):"",s&&(e=s,delete s);a[0]=c.reverse().join(d.group||",");return a.join(d.decimal||".")};b.regexp=function(a){return b._parseInfo(a).regexp};b._parseInfo=function(a){a=a||{};var d=p.normalizeLocale(a.locale),d=p.getLocalization("dojo.cldr","number",d),l=a.pattern||d[(a.type||"decimal")+"Format"],n=d.group,f=d.decimal,r=1;if(-1!=l.indexOf("%"))r/=
  67. 100;else if(-1!=l.indexOf("\u2030"))r/=1E3;else{var e=-1!=l.indexOf("\u00a4");e&&(n=d.currencyGroup||n,f=d.currencyDecimal||f)}d=l.split(";");1==d.length&&d.push("-"+d[0]);d=c.buildGroupRE(d,function(d){d="(?:"+c.escapeString(d,".")+")";return d.replace(b._numberPatternRE,function(c){var d={signed:!1,separator:a.strict?n:[n,""],fractional:a.fractional,decimal:f,exponent:!1};c=c.split(".");var l=a.places;1==c.length&&1!=r&&(c[1]="###");1==c.length||0===l?d.fractional=!1:(void 0===l&&(l=a.pattern?c[1].lastIndexOf("0")+
  68. 1:Infinity),l&&void 0==a.fractional&&(d.fractional=!0),!a.places&&l<c[1].length&&(l+=","+c[1].length),d.places=l);c=c[0].split(",");1<c.length&&(d.groupSize=c.pop().length,1<c.length&&(d.groupSize2=c.pop().length));return"("+b._realNumberRegexp(d)+")"})},!0);e&&(d=d.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(b,f,d,l){b=c.escapeString(a[["symbol","currency","displayName"][d.length-1]]||a.currency||"");f=f?"[\\s\\xa0]":"";l=l?"[\\s\\xa0]":"";return!a.strict?(f&&(f+="*"),l&&(l+="*"),"(?:"+
  69. f+b+l+")?"):f+b+l}));return{regexp:d.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:n,decimal:f,factor:r}};b.parse=function(a,c){var d=b._parseInfo(c),n=RegExp("^"+d.regexp+"$").exec(a);if(!n)return NaN;var f=n[1];if(!n[1]){if(!n[2])return NaN;f=n[2];d.factor*=-1}f=f.replace(RegExp("["+d.group+"\\s\\xa0]","g"),"").replace(d.decimal,".");return f*d.factor};b._realNumberRegexp=function(a){a=a||{};"places"in a||(a.places=Infinity);"string"!=typeof a.decimal&&(a.decimal=".");if(!("fractional"in a)||/^0/.test(a.places))a.fractional=
  70. [!0,!1];"exponent"in a||(a.exponent=[!0,!1]);"eSigned"in a||(a.eSigned=[!0,!1]);var d=b._integerRegexp(a),l=c.buildGroupRE(a.fractional,function(b){var c="";b&&0!==a.places&&(c="\\"+a.decimal,c=Infinity==a.places?"(?:"+c+"\\d+)?":c+("\\d{"+a.places+"}"));return c},!0),n=c.buildGroupRE(a.exponent,function(f){return f?"([eE]"+b._integerRegexp({signed:a.eSigned})+")":""}),d=d+l;l&&(d="(?:(?:"+d+")|(?:"+l+"))");return d+n};b._integerRegexp=function(a){a=a||{};"signed"in a||(a.signed=[!0,!1]);"separator"in
  71. a?"groupSize"in a||(a.groupSize=3):a.separator="";var b=c.buildGroupRE(a.signed,function(a){return a?"[-+]":""},!0),d=c.buildGroupRE(a.separator,function(b){if(!b)return"(?:\\d+)";b=c.escapeString(b);" "==b?b="\\s":"\u00a0"==b&&(b="\\s\\xa0");var f=a.groupSize,d=a.groupSize2;return d?(b="(?:0|[1-9]\\d{0,"+(d-1)+"}(?:["+b+"]\\d{"+d+"})*["+b+"]\\d{"+f+"})",0<f-d?"(?:"+b+"|(?:0|[1-9]\\d{0,"+(f-1)+"}))":b):"(?:0|[1-9]\\d{0,"+(f-1)+"}(?:["+b+"]\\d{"+f+"})*)"},!0);return b+d};return b})},"dojo/string":function(){C(["./_base/kernel",
  72. "./_base/lang"],function(k,p){var e={};p.setObject("dojo.string",e);e.rep=function(e,c){if(0>=c||!e)return"";for(var b=[];;){c&1&&b.push(e);if(!(c>>=1))break;e+=e}return b.join("")};e.pad=function(k,c,b,d){b||(b="0");k=String(k);c=e.rep(b,Math.ceil((c-k.length)/b.length));return d?k+c:c+k};e.substitute=function(e,c,b,d){d=d||k.global;b=b?p.hitch(d,b):function(a){return a};return e.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(a,e,l){a=p.getObject(e,!1,c);l&&(a=p.getObject(l,!1,d).call(d,
  73. a,e));return b(a,e).toString()})};e.trim=String.prototype.trim?p.trim:function(e){e=e.replace(/^\s+/,"");for(var c=e.length-1;0<=c;c--)if(/\S/.test(e.charAt(c))){e=e.substring(0,c+1);break}return e};return e})},"dojo/regexp":function(){C(["./_base/kernel","./_base/lang"],function(k,p){var e={};p.setObject("dojo.regexp",e);e.escapeString=function(e,c){return e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(b){return c&&-1!=c.indexOf(b)?b:"\\"+b})};e.buildGroupRE=function(k,c,b){if(!(k instanceof Array))return c(k);
  74. for(var d=[],a=0;a<k.length;a++)d.push(c(k[a]));return e.group(d.join("|"),b)};e.group=function(e,c){return"("+(c?"?:":"")+e+")"};return e})},"dijit/layout/_LayoutWidget":function(){C("dojo/_base/lang ../_Widget ../_Container ../_Contained ../Viewport dojo/_base/declare dojo/dom-class dojo/dom-geometry dojo/dom-style".split(" "),function(k,p,e,q,c,b,d,a,u){return b("dijit.layout._LayoutWidget",[p,e,q],{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,buildRendering:function(){this.inherited(arguments);
  75. d.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var a=this.getParent&&this.getParent();if(!a||!a.isLayoutContainer)this.resize(),this.own(c.on("resize",k.hitch(this,"resize")))}},resize:function(b,c){var f=this.domNode;b&&a.setMarginBox(f,b);var d=c||{};k.mixin(d,b||{});if(!("h"in d)||!("w"in d))d=k.mixin(a.getMarginBox(f),d);var e=u.getComputedStyle(f),s=a.getMarginExtents(f,e),v=a.getBorderExtents(f,e),d=this._borderBox={w:d.w-(s.w+v.w),h:d.h-
  76. (s.h+v.h)},s=a.getPadExtents(f,e);this._contentBox={l:u.toPixelValue(f,e.paddingLeft),t:u.toPixelValue(f,e.paddingTop),w:d.w-s.w,h:d.h-s.h};this.layout()},layout:function(){},_setupChild:function(a){d.add(a.domNode,this.baseClass+"-child "+(a.baseClass?this.baseClass+"-"+a.baseClass:""))},addChild:function(a,b){this.inherited(arguments);this._started&&this._setupChild(a)},removeChild:function(a){d.remove(a.domNode,this.baseClass+"-child"+(a.baseClass?" "+this.baseClass+"-"+a.baseClass:""));this.inherited(arguments)}})})},
  77. "dijit/_Widget":function(){C("dojo/aspect dojo/_base/config dojo/_base/connect dojo/_base/declare dojo/has dojo/_base/kernel dojo/_base/lang dojo/query dojo/ready ./registry ./_WidgetBase ./_OnDijitClickMixin ./_FocusMixin dojo/uacss ./hccss".split(" "),function(k,p,e,q,c,b,d,a,u,l,n,f,r){function z(){}function s(a){return function(b,f,c,l){return b&&"string"==typeof f&&b[f]==z?b.on(f.substring(2).toLowerCase(),d.hitch(c,l)):a.apply(e,arguments)}}k.around(e,"connect",s);b.connect&&k.around(b,"connect",
  78. s);return q("dijit._Widget",[n,f,r],{onClick:z,onDblClick:z,onKeyDown:z,onKeyPress:z,onKeyUp:z,onMouseDown:z,onMouseMove:z,onMouseOut:z,onMouseOver:z,onMouseLeave:z,onMouseEnter:z,onMouseUp:z,constructor:function(a){this._toConnect={};for(var b in a)this[b]===z&&(this._toConnect[b.replace(/^on/,"").toLowerCase()]=a[b],delete a[b])},postCreate:function(){this.inherited(arguments);for(var a in this._toConnect)this.on(a,this._toConnect[a]);delete this._toConnect},on:function(a,b){return this[this._onMap(a)]===
  79. z?e.connect(this.domNode,a.toLowerCase(),this,b):this.inherited(arguments)},_setFocusedAttr:function(a){this._focused=a;this._set("focused",a)},setAttribute:function(a,f){b.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(a,f)},attr:function(a,f){if(p.isDebug){var c=arguments.callee._ach||(arguments.callee._ach={}),d=(arguments.callee.caller||"unknown caller").toString();c[d]||(b.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+
  80. d,"","2.0"),c[d]=!0)}return 2<=arguments.length||"object"===typeof a?this.set.apply(this,arguments):this.get(a)},getDescendants:function(){b.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?a("[widgetId]",this.containerNode).map(l.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}})})},"dijit/_WidgetBase":function(){C("require dojo/_base/array dojo/aspect dojo/_base/config dojo/_base/connect dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-class dojo/dom-construct dojo/dom-geometry dojo/dom-style dojo/has dojo/_base/kernel dojo/_base/lang dojo/on dojo/ready dojo/Stateful dojo/topic dojo/_base/window ./Destroyable dojo/has!dojo-bidi?./_BidiMixin ./registry".split(" "),
  81. function(k,p,e,q,c,b,d,a,u,l,n,f,r,z,s,v,B,J,G,A,y,D,I){function P(b){return function(f){a[f?"set":"remove"](this.domNode,b,f);this._set(b,f)}}r.add("dojo-bidi",!1);var K={};k=b("dijit._WidgetBase",[J,y],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:P("lang"),dir:"",_setDirAttr:P("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(a){this._set("ownerDocument",
  82. a)},attributeMap:{},_blankGif:q.blankGif||k.toUrl("dojo/resources/blank.gif"),_introspect:function(){var a=this.constructor;if(!a._setterAttrs){var b=a.prototype,f=a._setterAttrs=[],a=a._onMap={},c;for(c in b.attributeMap)f.push(c);for(c in b)/^on/.test(c)&&(a[c.substring(2).toLowerCase()]=c),/^_set[A-Z](.*)Attr$/.test(c)&&(c=c.charAt(4).toLowerCase()+c.substr(5,c.length-9),(!b.attributeMap||!(c in b.attributeMap))&&f.push(c))}},postscript:function(a,b){this.create(a,b)},create:function(a,b){this._introspect();
  83. this.srcNodeRef=d.byId(b);this._connects=[];this._supportingWidgets=[];this.srcNodeRef&&"string"==typeof this.srcNodeRef.id&&(this.id=this.srcNodeRef.id);a&&(this.params=a,s.mixin(this,a));this.postMixInProperties();this.id||(this.id=I.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id);this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=A.body(this.ownerDocument);I.add(this);this.buildRendering();
  84. var f;if(this.domNode){this._applyAttributes();var c=this.srcNodeRef;c&&(c.parentNode&&this.domNode!==c)&&(c.parentNode.replaceChild(this.domNode,c),f=!0);this.domNode.setAttribute("widgetId",this.id)}this.postCreate();f&&delete this.srcNodeRef;this._created=!0},_applyAttributes:function(){var a={},b;for(b in this.params||{})a[b]=this._get(b);p.forEach(this.constructor._setterAttrs,function(b){if(!(b in a)){var f=this._get(b);f&&this.set(b,f)}},this);for(b in a)this.set(b,a[b])},postMixInProperties:function(){},
  85. buildRendering:function(){this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div"));if(this.baseClass){var a=this.baseClass.split(" ");this.isLeftToRight()||(a=a.concat(p.map(a,function(a){return a+"Rtl"})));u.add(this.domNode,a)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,p.forEach(this.getChildren(),function(a){!a._started&&(!a._destroyed&&s.isFunction(a.startup))&&(a.startup(),a._started=!0)}))},destroyRecursive:function(a){this._beingDestroyed=
  86. !0;this.destroyDescendants(a);this.destroy(a)},destroy:function(a){function b(f){f.destroyRecursive?f.destroyRecursive(a):f.destroy&&f.destroy(a)}this._beingDestroyed=!0;this.uninitialize();p.forEach(this._connects,s.hitch(this,"disconnect"));p.forEach(this._supportingWidgets,b);this.domNode&&p.forEach(I.findWidgets(this.domNode,this.containerNode),b);this.destroyRendering(a);I.remove(this.id);this._destroyed=!0},destroyRendering:function(b){this.bgIframe&&(this.bgIframe.destroy(b),delete this.bgIframe);
  87. this.domNode&&(b?a.remove(this.domNode,"widgetId"):l.destroy(this.domNode),delete this.domNode);this.srcNodeRef&&(b||l.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(a){p.forEach(this.getChildren(),function(b){b.destroyRecursive&&b.destroyRecursive(a)})},uninitialize:function(){return!1},_setStyleAttr:function(a){var b=this.domNode;s.isObject(a)?f.set(b,a):b.style.cssText=b.style.cssText?b.style.cssText+("; "+a):a;this._set("style",a)},_attrToDom:function(b,f,c){c=3<=
  88. arguments.length?c:this.attributeMap[b];p.forEach(s.isArray(c)?c:[c],function(c){var d=this[c.node||c||"domNode"];switch(c.type||"attribute"){case "attribute":s.isFunction(f)&&(f=s.hitch(this,f));c=c.attribute?c.attribute:/^on[A-Z][a-zA-Z]*$/.test(b)?b.toLowerCase():b;d.tagName?a.set(d,c,f):d.set(c,f);break;case "innerText":d.innerHTML="";d.appendChild(this.ownerDocument.createTextNode(f));break;case "innerHTML":d.innerHTML=f;break;case "class":u.replace(d,f,this[b])}},this)},get:function(a){var b=
  89. this._getAttrNames(a);return this[b.g]?this[b.g]():this._get(a)},set:function(a,b){if("object"===typeof a){for(var f in a)this.set(f,a[f]);return this}f=this._getAttrNames(a);var c=this[f.s];if(s.isFunction(c))var d=c.apply(this,Array.prototype.slice.call(arguments,1));else{var c=this.focusNode&&!s.isFunction(this.focusNode)?"focusNode":"domNode",l=this[c]&&this[c].tagName,r;if(r=l)if(!(r=K[l])){r=this[c];var e={},n;for(n in r)e[n.toLowerCase()]=!0;r=K[l]=e}n=r;f=a in this.attributeMap?this.attributeMap[a]:
  90. f.s in this?this[f.s]:n&&f.l in n&&"function"!=typeof b||/^aria-|^data-|^role$/.test(a)?c:null;null!=f&&this._attrToDom(a,b,f);this._set(a,b)}return d||this},_attrPairNames:{},_getAttrNames:function(a){var b=this._attrPairNames;if(b[a])return b[a];var f=a.replace(/^[a-z]|-[a-zA-Z]/g,function(a){return a.charAt(a.length-1).toUpperCase()});return b[a]={n:a+"Node",s:"_set"+f+"Attr",g:"_get"+f+"Attr",l:f.toLowerCase()}},_set:function(a,b){var f=this[a];this[a]=b;this._created&&b!==f&&(this._watchCallbacks&&
  91. this._watchCallbacks(a,f,b),this.emit("attrmodified-"+a,{detail:{prevValue:f,newValue:b}}))},_get:function(a){return this[a]},emit:function(a,b,f){b=b||{};void 0===b.bubbles&&(b.bubbles=!0);void 0===b.cancelable&&(b.cancelable=!0);b.detail||(b.detail={});b.detail.widget=this;var c,d=this["on"+a];d&&(c=d.apply(this,f?f:[b]));this._started&&!this._beingDestroyed&&v.emit(this.domNode,a.toLowerCase(),b);return c},on:function(a,b){var f=this._onMap(a);return f?e.after(this,f,b,!0):this.own(v(this.domNode,
  92. a,b))[0]},_onMap:function(a){var b=this.constructor,f=b._onMap;if(!f){var f=b._onMap={},c;for(c in b.prototype)/^on/.test(c)&&(f[c.replace(/^on/,"").toLowerCase()]=c)}return f["string"==typeof a&&a.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?I.findWidgets(this.containerNode):[]},getParent:function(){return I.getEnclosingWidget(this.domNode.parentNode)},connect:function(a,b,f){return this.own(c.connect(a,
  93. b,this,f))[0]},disconnect:function(a){a.remove()},subscribe:function(a,b){return this.own(G.subscribe(a,s.hitch(this,b)))[0]},unsubscribe:function(a){a.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir:n.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&"none"!=f.get(this.domNode,"display")},placeAt:function(a,b){var f=!a.tagName&&I.byId(a);f&&f.addChild&&(!b||"number"===typeof b)?f.addChild(this,b):(f=f?f.containerNode&&!/after|before|replace/.test(b||"")?
  94. f.containerNode:f.domNode:d.byId(a,this.ownerDocument),l.place(this.domNode,f,b),!this._started&&(this.getParent()||{})._started&&this.startup());return this},defer:function(a,b){var f=setTimeout(s.hitch(this,function(){f&&(f=null,this._destroyed||s.hitch(this,a)())}),b||0);return{remove:function(){f&&(clearTimeout(f),f=null);return null}}}});r("dojo-bidi")&&k.extend(D);return k})},"dojo/Stateful":function(){C(["./_base/declare","./_base/lang","./_base/array","./when"],function(k,p,e,q){return k("dojo.Stateful",
  95. null,{_attrPairNames:{},_getAttrNames:function(c){var b=this._attrPairNames;return b[c]?b[c]:b[c]={s:"_"+c+"Setter",g:"_"+c+"Getter"}},postscript:function(c){c&&this.set(c)},_get:function(c,b){return"function"===typeof this[b.g]?this[b.g]():this[c]},get:function(c){return this._get(c,this._getAttrNames(c))},set:function(c,b){if("object"===typeof c){for(var d in c)c.hasOwnProperty(d)&&"_watchCallbacks"!=d&&this.set(d,c[d]);return this}d=this._getAttrNames(c);var a=this._get(c,d);d=this[d.s];var e;
  96. "function"===typeof d?e=d.apply(this,Array.prototype.slice.call(arguments,1)):this[c]=b;if(this._watchCallbacks){var l=this;q(e,function(){l._watchCallbacks(c,a,b)})}return this},_changeAttrValue:function(c,b){var d=this.get(c);this[c]=b;this._watchCallbacks&&this._watchCallbacks(c,d,b);return this},watch:function(c,b){var d=this._watchCallbacks;if(!d)var a=this,d=this._watchCallbacks=function(b,f,c,l){var e=function(d){if(d){d=d.slice();for(var l=0,e=d.length;l<e;l++)d[l].call(a,b,f,c)}};e(d["_"+
  97. b]);l||e(d["*"])};!b&&"function"===typeof c?(b=c,c="*"):c="_"+c;var u=d[c];"object"!==typeof u&&(u=d[c]=[]);u.push(b);var l={};l.unwatch=l.remove=function(){var a=e.indexOf(u,b);-1<a&&u.splice(a,1)};return l}})})},"dijit/Destroyable":function(){C(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(k,p,e){return e("dijit.Destroyable",null,{destroy:function(e){this._destroyed=!0},own:function(){k.forEach(arguments,function(e){var c="destroyRecursive"in e?"destroyRecursive":"destroy"in e?
  98. "destroy":"remove",b=p.before(this,"destroy",function(a){e[c](a)}),d=p.after(e,c,function(){b.remove();d.remove()},!0)},this);return arguments}})})},"dijit/_OnDijitClickMixin":function(){C("dojo/on dojo/_base/array dojo/keys dojo/_base/declare dojo/has ./a11yclick".split(" "),function(k,p,e,q,c,b){k=q("dijit._OnDijitClickMixin",null,{connect:function(c,a,e){return this.inherited(arguments,[c,"ondijitclick"==a?b:a,e])}});k.a11yclick=b;return k})},"dijit/a11yclick":function(){C(["dojo/keys","dojo/mouse",
  99. "dojo/on","dojo/touch"],function(k,p,e,q){function c(a){if((a.keyCode===k.ENTER||a.keyCode===k.SPACE)&&!/input|button|textarea/i.test(a.target.nodeName))for(a=a.target;a;a=a.parentNode)if(a.dojoClick)return!0}var b;e(document,"keydown",function(a){c(a)?(b=a.target,a.preventDefault()):b=null});e(document,"keyup",function(a){c(a)&&a.target==b&&(b=null,e.emit(a.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:a.ctrlKey,shiftKey:a.shiftKey,metaKey:a.metaKey,altKey:a.altKey,_origType:a.type}))});var d=
  100. function(a,b){a.dojoClick=!0;return e(a,"click",b)};d.click=d;d.press=function(a,b){var c=e(a,q.press,function(a){("mousedown"!=a.type||p.isLeft(a))&&b(a)}),d=e(a,"keydown",function(a){(a.keyCode===k.ENTER||a.keyCode===k.SPACE)&&b(a)});return{remove:function(){c.remove();d.remove()}}};d.release=function(a,b){var c=e(a,q.release,function(a){("mouseup"!=a.type||p.isLeft(a))&&b(a)}),d=e(a,"keyup",function(a){(a.keyCode===k.ENTER||a.keyCode===k.SPACE)&&b(a)});return{remove:function(){c.remove();d.remove()}}};
  101. d.move=q.move;return d})},"dijit/_FocusMixin":function(){C(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(k,p,e,q){q.extend(p,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}});return e("dijit._FocusMixin",null,{_focusManager:k})})},"dijit/focus":function(){C("dojo/aspect dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-construct dojo/Evented dojo/_base/lang dojo/on dojo/domReady dojo/sniff dojo/Stateful dojo/_base/window dojo/window ./a11y ./registry ./main".split(" "),
  102. function(k,p,e,q,c,b,d,a,u,l,n,f,r,z,s,v){var B,J=new (p([n,b],{curNode:null,activeStack:[],constructor:function(){var a=d.hitch(this,function(a){e.isDescendant(this.curNode,a)&&this.set("curNode",null);e.isDescendant(this.prevNode,a)&&this.set("prevNode",null)});k.before(c,"empty",a);k.before(c,"destroy",a)},registerIframe:function(a){return this.registerWin(a.contentWindow,a)},registerWin:function(b,f){var c=this,d=b.document&&b.document.body;if(d){var l=a(b.document,"mousedown, touchstart",function(a){c._justMouseDowned=
  103. !0;setTimeout(function(){c._justMouseDowned=!1},0);if(!a||!(a.target&&null==a.target.parentNode))c._onTouchNode(f||a.target,"mouse")}),r=a(d,"focusin",function(a){B=(new Date).getTime();if(a.target.tagName){var b=a.target.tagName.toLowerCase();"#document"==b||"body"==b||(z.isTabNavigable(a.target)?c._onFocusNode(f||a.target):c._onTouchNode(f||a.target))}}),w=a(d,"focusout",function(a){(new Date).getTime()<B+100||c._onBlurNode(f||a.target)});return{remove:function(){l.remove();r.remove();w.remove();
  104. d=l=r=w=null}}}},_onBlurNode:function(a){this._clearFocusTimer&&clearTimeout(this._clearFocusTimer);this._clearFocusTimer=setTimeout(d.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null)}),0);this._justMouseDowned||(this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),this._clearActiveWidgetsTimer=setTimeout(d.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([])}),0))},_onTouchNode:function(a,b){this._clearActiveWidgetsTimer&&
  105. (clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer);var c=[];try{for(;a;){var d=q.get(a,"dijitPopupParent");if(d)a=s.byId(d).domNode;else if(a.tagName&&"body"==a.tagName.toLowerCase()){if(a===f.body())break;a=r.get(a.ownerDocument).frameElement}else{var l=a.getAttribute&&a.getAttribute("widgetId"),e=l&&s.byId(l);e&&!("mouse"==b&&e.get("disabled"))&&c.unshift(l);a=a.parentNode}}}catch(w){}this._setStack(c,b)},_onFocusNode:function(a){a&&9!=a.nodeType&&(this._clearFocusTimer&&
  106. (clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(a),a!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",a)))},_setStack:function(a,b){var f=this.activeStack,c=f.length-1,d=a.length-1;if(a[d]!=f[c]){this.set("activeStack",a);var l;for(l=c;0<=l&&f[l]!=a[l];l--)if(c=s.byId(f[l]))c._hasBeenBlurred=!0,c.set("focused",!1),c._focusManager==this&&c._onBlur(b),this.emit("widget-blur",c,b);for(l++;l<=d;l++)if(c=s.byId(a[l]))c.set("focused",!0),c._focusManager==
  107. this&&c._onFocus(b),this.emit("widget-focus",c,b)}},focus:function(a){if(a)try{a.focus()}catch(b){}}}));u(function(){var b=J.registerWin(r.get(document));l("ie")&&a(window,"unload",function(){b&&(b.remove(),b=null)})});v.focus=function(a){J.focus(a)};for(var G in J)/^_/.test(G)||(v.focus[G]="function"==typeof J[G]?d.hitch(J,G):J[G]);J.watch(function(a,b,f){v.focus[a]=f});return J})},"dijit/a11y":function(){C("dojo/_base/array dojo/dom dojo/dom-attr dojo/dom-style dojo/_base/lang dojo/sniff ./main".split(" "),
  108. function(k,p,e,q,c,b,d){var a={_isElementShown:function(a){var b=q.get(a);return"hidden"!=b.visibility&&"collapsed"!=b.visibility&&"none"!=b.display&&"hidden"!=e.get(a,"type")},hasDefaultTabStop:function(a){switch(a.nodeName.toLowerCase()){case "a":return e.has(a,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return!0;case "iframe":var b;try{var c=a.contentDocument;if("designMode"in c&&"on"==c.designMode)return!0;b=c.body}catch(f){try{b=a.contentWindow.document.body}catch(d){return!1}}return b&&
  109. ("true"==b.contentEditable||b.firstChild&&"true"==b.firstChild.contentEditable);default:return"true"==a.contentEditable}},isTabNavigable:function(b){return e.get(b,"disabled")?!1:e.has(b,"tabIndex")?0<=e.get(b,"tabIndex"):a.hasDefaultTabStop(b)},_getTabNavigable:function(c){function d(a){return a&&"input"==a.tagName.toLowerCase()&&a.type&&"radio"==a.type.toLowerCase()&&a.name&&a.name.toLowerCase()}var n,f,r,z,s,k,B={},q=a._isElementShown,p=a.isTabNavigable,A=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(!(1!=
  110. a.nodeType||9>=b("ie")&&"HTML"!==a.scopeName||!q(a))){if(p(a)){var c=+e.get(a,"tabIndex");if(!e.has(a,"tabIndex")||0==c)n||(n=a),f=a;else if(0<c){if(!r||c<z)z=c,r=a;if(!s||c>=k)k=c,s=a}c=d(a);e.get(a,"checked")&&c&&(B[c]=a)}"SELECT"!=a.nodeName.toUpperCase()&&A(a)}};q(c)&&A(c);return{first:B[d(n)]||n,last:B[d(f)]||f,lowest:B[d(r)]||r,highest:B[d(s)]||s}},getFirstInTabbingOrder:function(b,c){var d=a._getTabNavigable(p.byId(b,c));return d.lowest?d.lowest:d.first},getLastInTabbingOrder:function(b,c){var d=
  111. a._getTabNavigable(p.byId(b,c));return d.last?d.last:d.highest}};c.mixin(d,a);return a})},"dojo/uacss":function(){C(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(k,p,e,q,c){var b=c.doc.documentElement;c=q("ie");var d=q("opera"),a=Math.floor,u=q("ff"),l=k.boxModel.replace(/-/,""),d={dj_quirks:q("quirks"),dj_opera:d,dj_khtml:q("khtml"),dj_webkit:q("webkit"),dj_safari:q("safari"),dj_chrome:q("chrome"),dj_gecko:q("mozilla"),dj_ios:q("ios"),dj_android:q("android")};
  112. c&&(d.dj_ie=!0,d["dj_ie"+a(c)]=!0,d.dj_iequirks=q("quirks"));u&&(d["dj_ff"+a(u)]=!0);d["dj_"+l]=!0;var n="",f;for(f in d)d[f]&&(n+=f+" ");b.className=p.trim(b.className+" "+n);e(function(){if(!k.isBodyLtr()){var a="dj_rtl dijitRtl "+n.replace(/ /g,"-rtl ");b.className=p.trim(b.className+" "+a+"dj_rtl dijitRtl "+n.replace(/ /g,"-rtl "))}});return q})},"dijit/hccss":function(){C(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(k,p,e,q){e(function(){p("highcontrast")&&k.add(q.body(),
  113. "dijit_a11y")});return p})},"dojo/hccss":function(){C("require ./_base/config ./dom-class ./dom-style ./has ./domReady ./_base/window".split(" "),function(k,p,e,q,c,b,d){c.add("highcontrast",function(){var a=d.doc.createElement("div");a.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("+(p.blankGif||k.toUrl("./resources/blank.gif"))+");";d.body().appendChild(a);var b=q.getComputedStyle(a),l=b.backgroundImage,b=b.borderTopColor==
  114. b.borderRightColor||l&&("none"==l||"url(invalid-url:)"==l);8>=c("ie")?a.outerHTML="":d.body().removeChild(a);return b});b(function(){c("highcontrast")&&e.add(d.body(),"dj_a11y")});return c})},"dijit/_Container":function(){C(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(k,p,e,q){return p("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode)},addChild:function(c,b){var d=this.containerNode;
  115. if(0<b){for(d=d.firstChild;0<b;)1==d.nodeType&&b--,d=d.nextSibling;d?b="before":(d=this.containerNode,b="last")}e.place(c.domNode,d,b);this._started&&!c._started&&c.startup()},removeChild:function(c){"number"==typeof c&&(c=this.getChildren()[c]);c&&(c=c.domNode)&&c.parentNode&&c.parentNode.removeChild(c)},hasChildren:function(){return 0<this.getChildren().length},_getSiblingOfChild:function(c,b){q.deprecated(this.declaredClass+"::_getSiblingOfChild() is deprecated. Use _KeyNavMixin::_getNext() instead.",
  116. "","2.0");var d=this.getChildren(),a=k.indexOf(d,c);return d[a+b]},getIndexOfChild:function(c){return k.indexOf(this.getChildren(),c)}})})},"dijit/_Contained":function(){C(["dojo/_base/declare","./registry"],function(k,p){return k("dijit._Contained",null,{_getSibling:function(e){var k=this.domNode;do k=k[e+"Sibling"];while(k&&1!=k.nodeType);return k&&p.byNode(k)},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var e=
  117. this.getParent();return!e||!e.getIndexOfChild?-1:e.getIndexOfChild(this)}})})},"dijit/Viewport":function(){C(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(k,p,e,q,c){var b=new k,d;e(function(){var a=c.getBox();b._rlh=p(window,"resize",function(){var d=c.getBox();a.h==d.h&&a.w==d.w||(a=d,b.emit("resize"))});if(8==q("ie")){var e=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=e&&(e=screen.deviceXDPI,b.emit("resize"))},500)}q("ios")&&(p(document,"focusin",
  118. function(a){d=a.target}),p(document,"focusout",function(a){d=null}))});b.getEffectiveBox=function(a){a=c.getBox(a);var b=d&&d.tagName&&d.tagName.toLowerCase();if(q("ios")&&d&&!d.readOnly&&("textarea"==b||"input"==b&&/^(color|email|number|password|search|tel|text|url)$/.test(d.type)))a.h*=0==orientation||180==orientation?0.66:0.4,b=d.getBoundingClientRect(),a.h=Math.max(a.h,b.top+b.height);return a};return b})},"dojox/string/BidiEngine":function(){C(["dojo/_base/lang","dojo/_base/declare"],function(k,
  119. p){function e(a,f,g,h){void 0==f&&(f=B.defInFormat);void 0==g&&(g=B.defOutFormat);void 0==h&&(h=B.defSwap);if(f==g)return a;var m,l=f.substring(0,1),w=f.substring(1,4),r=g.substring(0,1),n=g.substring(1,4);"C"==w.charAt(0)&&(m=q(a),w="ltr"==m||"rtl"==m?m.toUpperCase():"L"==f.charAt(2)?"LTR":"RTL",f=l+w);if("C"==n.charAt(0)){m=q(a);if("rtl"==m)n="RTL";else if("ltr"==m){a:{g=a;m=null;for(n=g.length-1;0<=n;n--){m=b(g.charAt(n));if(m==S||m==aa){m="rtl";break a}if(m==ka){m="ltr";break a}if(m==Q)break}m=
  120. ""}n=m.toUpperCase()}else n="L"==g.charAt(2)?"LTR":"RTL";g=r+n}if(f==g)return a;B.inFormat=f;B.outFormat=g;B.swap=h;if("L"==l&&"VLTR"==g){if("LTR"==w)return B.dir=A,c(a);if("RTL"==w)return B.dir=y,c(a)}if("V"==l&&"V"==r)return d(a);if("L"==l&&"VRTL"==g)return B.dir="LTR"==w?A:y,a=c(a),d(a);if("VLTR"==f&&"LLTR"==g)return B.dir=A,c(a);if("V"==l&&"L"==r&&w!=n)return a=d(a),"RTL"==w?e(a,"LLTR","VLTR",h):e(a,"LRTL","VRTL",h);if("VRTL"==f&&"LRTL"==g)return e(a,"LRTL","VRTL",h);if("L"==l&&"L"==r)return f=
  121. B.swap,B.swap=f.substr(0,1)+"N","RTL"==w?(B.dir=y,a=c(a),B.swap="N"+f.substr(1,2),B.dir=A,a=c(a)):(B.dir=A,a=c(a),B.swap="N"+f.substr(1,2),a=e(a,"VLTR","LRTL",B.swap)),a}function q(a){for(var b=null,f=b=null,c=0;c<a.length;c++){b=a.charAt(c).charCodeAt(0);f=ma[b>>8];b=f<Y?f:na[f-Y][b&255];if(b==S||b==aa)return"rtl";if(b==ka)return"ltr";if(b==Q)break}return""}function c(a){a=a.split("");var f=[],c=a.length,d=B.dir?N:M,g=null,h=null,g=null,h=0,m=null,m=null,w=-1,r=m=null,e=[],s=[];B.hiLevel=B.dir;B.lastArabic=
  122. !1;B.hasUBAT_AL=!1;B.hasUBAT_B=!1;B.hasUBAT_S=!1;for(m=0;m<c;m++)e[m]=b(a[m]);for(r=0;r<c;r++){g=h;s[r]=h=n(a,e,s,r);h=d[g][h];m=h&240;h&=15;f[r]=g=d[h][J];if(0<m){if(16==m)for(m=w;m<r;m++)f[m]=1;w=-1}if(m=d[h][G])-1==w&&(w=r);else if(-1<w){for(m=w;m<r;m++)f[m]=g;w=-1}e[r]==Q&&(f[r]=0);B.hiLevel|=g}if(B.hasUBAT_S)for(m=0;m<c;m++)if(e[m]==ea){f[m]=B.dir;for(d=m-1;0<=d;d--)if(e[d]==ba)f[d]=B.dir;else break}if(!(0==B.hiLevel||B.swap.substr(0,1)==B.swap.substr(1,2)))for(c=0;c<a.length;c++)if(1==f[c]){e=
  123. a;d=c;b:{w=a[c];r=void 0;s=0;for(g=D.length-1;s<=g;)if(r=Math.floor((s+g)/2),w<D[r][0])g=r-1;else if(w>D[r][0])s=r+1;else{w=D[r][1];break b}}e[d]=w}l(2,a,f);l(1,a,f);return a.join("")}function b(a){a=a.charCodeAt(0);var b=ma[a>>8];return b<Y?b:na[b-Y][a&255]}function d(a){a=a.split("");a.reverse();return a.join("")}function a(a){for(var b=0;b<ja.length;b++)if(a>=ja[b]&&a<=Ja[b])return!0;return!1}function u(b,f,c,d){for(;f*c<d&&r(b[f]);)f+=c;return f*c<d&&a(b[f])?!0:!1}function l(a,b,f){if(!(B.hiLevel<
  124. a))if(1==a&&B.dir==y&&!B.hasUBAT_B)b.reverse();else for(var c=b.length,d=0,g,h,m;d<c;){if(f[d]>=a){for(g=d+1;g<c&&f[g]>=a;)g++;for(h=g-1;d<h;d++,h--)m=b[d],b[d]=b[h],b[h]=m;d=g}d++}}function n(a,b,f,c){var d=b[c],g,h;switch(d){case ka:case S:B.lastArabic=!1;case X:case V:return d;case L:return B.lastArabic?V:L;case aa:return B.lastArabic=!0,B.hasUBAT_AL=!0,S;case ba:return X;case qa:if(1>c||c+1>=b.length||(g=f[c-1])!=L&&g!=V||(h=b[c+1])!=L&&h!=V)return X;B.lastArabic&&(h=V);return h==g?h:X;case da:return g=
  125. 0<c?f[c-1]:Q,g==L&&c+1<b.length&&b[c+1]==L?L:X;case oa:if(0<c&&f[c-1]==L)return L;if(B.lastArabic)return X;g=c+1;for(d=b.length;g<d&&b[g]==oa;)g++;return g<d&&b[g]==L?L:X;case pa:if("VLTR"==B.inFormat){d=b.length;for(g=c+1;g<d&&b[g]==pa;)g++;if(g<d&&(a=a[c],g=b[g],(1425<=a&&2303>=a||64286==a)&&(g==S||g==aa)))return S}return 1>c||b[c-1]==Q?X:f[c-1];case Q:return lastArabic=!1,B.hasUBAT_B=!0,B.dir;case ea:return B.hasUBAT_S=!0,X;case ha:case ra:case sa:case ta:case ua:lastArabic=!1;case va:return X}}
  126. function f(a,b){for(var f=0;f<w.length;f++)if(a==w[f])return b[f];return a}function r(a){return"\u064b"<=a&&"\u0655">=a?!0:!1}function z(a){if("L"==a)return"LTR";if("R"==a)return"RTL";if("C"==a)return"CLR";if("D"==a)return"CRL"}function s(a,b){for(var f=0;f<I.length;f++)if(a==I[f])return b[f];return a}k.getObject("string",!0,dojox);var v=p("dojox.string.BidiEngine",null,{bidiTransform:function(b,c,d){if(!b)return"";if(!c&&!d)return b;var g=/^[(I|V)][(L|R|C|D)][(Y|N)][(S|N)][N]$/;if(!g.test(c)||!g.test(d))throw Error("dojox.string.BidiEngine: the bidi layout string is wrong!");
  127. if(c==d)return b;var g=z(c.charAt(1)),h=z(d.charAt(1)),m="I"==c.charAt(0)?"L":c.charAt(0),l="I"==d.charAt(0)?"L":d.charAt(0),n=m+g,k=l+h,v=c.charAt(2)+d.charAt(2);n&&(B.defInFormat=n);k&&(B.defOutFormat=k);v&&(B.defSwap=v);g=e(b,m+g,l+h,c.charAt(2)+d.charAt(2));b=!1;if("R"==d.charAt(1))b=!0;else if("C"==d.charAt(1)||"D"==d.charAt(1))b=this.checkContextual(g);if(c.charAt(3)==d.charAt(3))return g;if("S"==d.charAt(3)){d=g;c=!0;if(0==d.length)c=void 0;else{void 0==b&&(b=!0);void 0==c&&(c=!0);d=new String(d);
  128. d=d.split("");l=0;g=1;h=d.length;b||(l=d.length-1,g=-1,h=1);n=0;b=[];for(m=0;l*g<h;l+=g)if(a(d[l])||r(d[l])){if(k="\u0644"==d[l])b:{for(var v=d,q=l+g,p=g,A=h;q*p<A&&r(v[q]);)q+=p;k=" ";if(q*p<A){k=v[q];for(v=0;v<I.length;v++)if(I[v]==k){k=!0;break b}}k=!1}if(k){d[l]=0==n?s(d[l+g],P):s(d[l+g],K);l+=g;n=d;k=l;v=g;for(q=h;k*v<q&&r(n[k]);)k+=v;k*v<q&&(n[k]=" ");c&&(b[m]=l,m++);n=0}else{k=d[l];if(1==n){v=d;q=l;if(u(d,l+g,g,h))b:{p=d[l];for(A=0;A<w.length;A++)if(p==w[A]){p=fa[A];break b}}else p=f(d[l],
  129. O);v[q]=p}else!0==u(d,l+g,g,h)?d[l]=f(d[l],C):d[l]=f(d[l],W);r(k)||(n=1);b:{for(v=0;v<Z.length;v++)if(Z[v]==k){k=!0;break b}k=!1}!0==k&&(n=0)}}else n=0;g="";for(idx=0;idx<d.length;idx++){if(h=c){b:{for(h=0;h<b.length;h++)if(b[h]==idx)break b;h=-1}h=-1<h}h||(g+=d[idx])}c=g}return c}if("N"==d.charAt(3)){c=b;m=!0;if(0==g.length)c=void 0;else{void 0==m&&(m=!0);void 0==c&&(c=!0);g=new String(g);d="";h=[];b="";if(m)for(h=0;h<g.length;h++){if(" "==g.charAt(h))if(c){if(0<h&&"\ufef5"<=g.charAt(h-1)&&"\ufefc">=
  130. g.charAt(h-1))continue}else if(h+1<g.length&&"\ufef5"<=g.charAt(h+1)&&"\ufefc">=g.charAt(h+1))continue;b+=g.charAt(h)}else b=new String(g);h=b.split("");for(g=0;g<b.length;g++)"\ufe70"<=h[g]&&"\ufeff">h[g]?(m=b.charCodeAt(g),"\ufef5"<=h[g]&&"\ufefc">=h[g]?c?(d+="\u0644",d+=I[parseInt((m-65269)/2)]):(d+=I[parseInt((m-65269)/2)],d+="\u0644"):d+=ga[m-65136]):d+=h[g];c=d}return c}},checkContextual:function(a){a=q(a);"ltr"!=a&&"rtl"!=a&&(a=document.dir.toLowerCase(),"ltr"!=a&&"rtl"!=a&&(a="ltr"));return a},
  131. hasBidiChar:function(a){for(var b=null,f=b=null,c=0;c<a.length;c++){b=a.charAt(c).charCodeAt(0);f=ma[b>>8];b=f<Y?f:na[f-Y][b&255];if(b==S||b==aa)return!0;if(b==Q)break}return!1}}),B={dir:0,defInFormat:"LLTR",defoutFormat:"VLTR",defSwap:"YN",inFormat:"LLTR",outFormat:"VLTR",swap:"YN",hiLevel:0,lastArabic:!1,hasUBAT_AL:!1,hasBlockSep:!1,hasSegSep:!1},J=5,G=6,A=0,y=1,D=[["(",")"],[")","("],["<",">"],[">","<"],["[","]"],["]","["],["{","}"],["}","{"],["\u00ab","\u00bb"],["\u00bb","\u00ab"],["\u2039","\u203a"],
  132. ["\u203a","\u2039"],["\u207d","\u207e"],["\u207e","\u207d"],["\u208d","\u208e"],["\u208e","\u208d"],["\u2264","\u2265"],["\u2265","\u2264"],["\u2329","\u232a"],["\u232a","\u2329"],["\ufe59","\ufe5a"],["\ufe5a","\ufe59"],["\ufe5b","\ufe5c"],["\ufe5c","\ufe5b"],["\ufe5d","\ufe5e"],["\ufe5e","\ufe5d"],["\ufe64","\ufe65"],["\ufe65","\ufe64"]],I=["\u0622","\u0623","\u0625","\u0627"],P=["\ufef5","\ufef7","\ufef9","\ufefb"],K=["\ufef6","\ufef8","\ufefa","\ufefc"],w="\u0627\u0628\u062a\u062b\u062c\u062d\u062e\u062f\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063a\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u064a\u0625\u0623\u0622\u0629\u0649\u06cc\u0626\u0624\u064b\u064c\u064d\u064e\u064f\u0650\u0651\u0652\u0621".split(""),
  133. W="\ufe8d\ufe8f\ufe95\ufe99\ufe9d\ufea1\ufea5\ufea9\ufeab\ufead\ufeaf\ufeb1\ufeb5\ufeb9\ufebd\ufec1\ufec5\ufec9\ufecd\ufed1\ufed5\ufed9\ufedd\ufee1\ufee5\ufee9\ufeed\ufef1\ufe87\ufe83\ufe81\ufe93\ufeef\ufbfc\ufe89\ufe85\ufe70\ufe72\ufe74\ufe76\ufe78\ufe7a\ufe7c\ufe7e\ufe80".split(""),O="\ufe8e\ufe90\ufe96\ufe9a\ufe9e\ufea2\ufea6\ufeaa\ufeac\ufeae\ufeb0\ufeb2\ufeb6\ufeba\ufebe\ufec2\ufec6\ufeca\ufece\ufed2\ufed6\ufeda\ufede\ufee2\ufee6\ufeea\ufeee\ufef2\ufe88\ufe84\ufe82\ufe94\ufef0\ufbfd\ufe8a\ufe86\ufe70\ufe72\ufe74\ufe76\ufe78\ufe7a\ufe7c\ufe7e\ufe80".split(""),
  134. fa="\ufe8e\ufe92\ufe98\ufe9c\ufea0\ufea4\ufea8\ufeaa\ufeac\ufeae\ufeb0\ufeb4\ufeb8\ufebc\ufec0\ufec4\ufec8\ufecc\ufed0\ufed4\ufed8\ufedc\ufee0\ufee4\ufee8\ufeec\ufeee\ufef4\ufe88\ufe84\ufe82\ufe94\ufef0\ufbff\ufe8c\ufe86\ufe71\ufe72\ufe74\ufe77\ufe79\ufe7b\ufe7d\ufe7f\ufe80".split(""),C="\ufe8d\ufe91\ufe97\ufe9b\ufe9f\ufea3\ufea7\ufea9\ufeab\ufead\ufeaf\ufeb3\ufeb7\ufebb\ufebf\ufec3\ufec7\ufecb\ufecf\ufed3\ufed7\ufedb\ufedf\ufee3\ufee7\ufeeb\ufeed\ufef3\ufe87\ufe83\ufe81\ufe93\ufeef\ufbfe\ufe8b\ufe85\ufe70\ufe72\ufe74\ufe76\ufe78\ufe7a\ufe7c\ufe7e\ufe80".split(""),
  135. Z="\u0621\u0627\u062f\u0630\u0631\u0632\u0648\u0622\u0629\u0626\u0624\u0625\u0675\u0623".split(""),ga="\u064b\u064b\u064c\u061f\u064d\u061f\u064e\u064e\u064f\u064f\u0650\u0650\u0651\u0651\u0652\u0652\u0621\u0622\u0622\u0623\u0623\u0624\u0624\u0625\u0625\u0626\u0626\u0626\u0626\u0627\u0627\u0628\u0628\u0628\u0628\u0629\u0629\u062a\u062a\u062a\u062a\u062b\u062b\u062b\u062b\u062c\u062c\u062c\u062c\u062d\u062d\u062d\u062d\u062e\u062e\u062e\u062e\u062f\u062f\u0630\u0630\u0631\u0631\u0632\u0632\u0633\u0633\u0633\u0633\u0634\u0634\u0634\u0634\u0635\u0635\u0635\u0635\u0636\u0636\u0636\u0636\u0637\u0637\u0637\u0637\u0638\u0638\u0638\u0638\u0639\u0639\u0639\u0639\u063a\u063a\u063a\u063a\u0641\u0641\u0641\u0641\u0642\u0642\u0642\u0642\u0643\u0643\u0643\u0643\u0644\u0644\u0644\u0644\u0645\u0645\u0645\u0645\u0646\u0646\u0646\u0646\u0647\u0647\u0647\u0647\u0648\u0648\u0649\u0649\u064a\u064a\u064a\u064a\ufef5\ufef6\ufef7\ufef8\ufef9\ufefa\ufefb\ufefc\u061f\u061f\u061f".split(""),
  136. ja=["\u0621","\u0641"],Ja=["\u063a","\u064a"],M=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],N=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],ka=0,S=1,L=2,V=3,X=4,Q=5,ea=6,aa=7,ba=8,qa=9,da=10,oa=11,pa=12,ha=13,ra=14,ua=15,sa=16,ta=17,va=18,Y=100,wa=Y+0,xa=Y+1,ya=Y+2,za=Y+3,Aa=Y+4,Ba=Y+5,Ca=Y+6,Da=Y+7,m=ka,x=S,H=L,R=V,g=X,ca=Q,la=ea,h=aa,T=ba,U=qa,$=da,F=oa,t=pa,Ea=ha,Fa=ra,Ga=ua,Ha=sa,Ia=ta,E=va,ma=[wa,m,m,m,m,xa,ya,za,x,
  137. m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,Aa,g,g,g,m,g,m,g,m,g,g,g,m,m,g,g,m,m,m,m,m,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,m,m,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,m,m,g,g,m,m,g,g,m,m,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,m,m,m,Ba,h,h,Ca,Da];delete wa;
  138. delete xa;delete ya;delete za;delete Aa;delete Ba;delete Ca;delete Da;var na=[[E,E,E,E,E,E,E,E,E,la,ca,la,T,ca,E,E,E,E,E,E,E,E,E,E,E,E,E,E,ca,ca,ca,la,T,g,g,F,F,F,g,g,g,g,g,$,U,$,U,U,H,H,H,H,H,H,H,H,H,H,U,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,E,E,E,E,E,E,ca,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,U,g,F,F,F,F,g,g,g,g,m,g,g,E,g,g,F,F,H,H,g,m,g,g,g,H,m,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,
  139. m,m,m,m,m,m,m,m,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,m,m,m,m,m,m,m,m],[m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,m,m,m,m,m,m,m,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,m,g,g,g,g,g,g,g,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,x,t,x,t,t,x,t,t,x,t,g,
  140. g,g,g,g,g,g,g,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,g,g,g,g,g,x,x,x,x,x,g,g,g,g,g,g,g,g,g,g,g],[R,R,R,R,g,g,g,g,h,F,F,h,U,h,g,g,t,t,t,t,t,t,t,t,t,t,t,h,g,g,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,R,R,R,R,R,R,R,R,R,R,F,R,R,h,h,h,t,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,
  141. h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,t,t,t,t,t,t,t,R,g,t,t,t,t,t,t,h,h,t,t,g,t,t,t,t,h,h,H,H,H,H,H,H,H,H,H,H,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h,h,h,g,h,h,t,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,g,g,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,t,t,t,t,t,t,t,t,t,t,t,h,g,g,g,g,g,g,g,g,g,g,g,
  142. g,g,g,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,t,t,t,t,t,t,t,t,t,x,x,g,g,g,g,x,g,g,g,g,g],[T,T,T,T,T,T,T,T,T,T,T,E,E,E,m,x,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,T,ca,Ea,Fa,Ga,Ha,Ia,U,F,F,F,F,F,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,U,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,T,E,E,E,E,E,g,g,g,g,g,E,E,E,E,E,E,H,m,g,g,H,H,H,H,H,H,$,$,g,g,g,m,H,H,H,H,H,H,H,H,H,H,$,$,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,
  143. F,F,F,F,F,F,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g],[m,m,m,m,m,m,m,g,g,g,g,g,g,g,g,g,g,g,g,m,m,m,m,m,g,g,g,g,g,x,t,x,x,x,x,x,x,x,x,x,x,$,x,x,x,x,x,x,x,x,x,x,x,x,x,g,x,x,x,x,x,g,x,g,x,x,g,x,x,g,x,x,x,x,x,x,x,x,x,x,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,
  144. h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,t,t,t,t,t,t,t,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,U,g,U,g,g,U,g,g,g,g,g,g,g,g,g,F,g,g,$,$,g,g,g,g,g,F,F,g,g,g,g,g,h,h,h,h,h,g,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,
  145. h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,g,g,E],[g,g,g,F,F,F,g,g,g,g,g,$,U,$,U,U,H,H,H,H,H,H,H,H,H,H,U,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,
  146. m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,m,m,m,m,m,m,g,g,m,m,m,m,m,m,g,g,m,m,m,m,m,m,g,g,m,m,m,g,g,g,F,F,g,g,g,F,F,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g]];delete m;delete x;delete H;delete R;delete g;delete ca;delete la;delete h;delete T;delete U;delete $;delete F;delete t;delete Ea;delete Fa;delete Ga;delete Ha;delete Ia;delete E;return v})},"dojox/gfx/shape":function(){C("./_base dojo/_base/lang dojo/_base/declare dojo/_base/kernel dojo/_base/sniff dojo/on dojo/_base/array dojo/dom-construct dojo/_base/Color ./matrix".split(" "),
  147. function(k,p,e,q,c,b,d,a,u,l){var n=k.shape={};n.Shape=e("dojox.gfx.shape.Shape",null,{constructor:function(){this.parentMatrix=this.parent=this.bbox=this.strokeStyle=this.fillStyle=this.matrix=this.shape=this.rawNode=null;if(c("gfxRegistry")){var a=n.register(this);this.getUID=function(){return a}}},destroy:function(){c("gfxRegistry")&&n.dispose(this);this.rawNode&&"__gfxObject__"in this.rawNode&&(this.rawNode.__gfxObject__=null);this.rawNode=null},getNode:function(){return this.rawNode},getShape:function(){return this.shape},
  148. getTransform:function(){return this.matrix},getFill:function(){return this.fillStyle},getStroke:function(){return this.strokeStyle},getParent:function(){return this.parent},getBoundingBox:function(){return this.bbox},getTransformedBoundingBox:function(){var a=this.getBoundingBox();if(!a)return null;var b=this._getRealMatrix();return[l.multiplyPoint(b,a.x,a.y),l.multiplyPoint(b,a.x+a.width,a.y),l.multiplyPoint(b,a.x+a.width,a.y+a.height),l.multiplyPoint(b,a.x,a.y+a.height)]},getEventSource:function(){return this.rawNode},
  149. setClip:function(a){this.clip=a},getClip:function(){return this.clip},setShape:function(a){this.shape=k.makeParameters(this.shape,a);this.bbox=null;return this},setFill:function(a){if(!a)return this.fillStyle=null,this;var b=null;if("object"==typeof a&&"type"in a)switch(a.type){case "linear":b=k.makeParameters(k.defaultLinearGradient,a);break;case "radial":b=k.makeParameters(k.defaultRadialGradient,a);break;case "pattern":b=k.makeParameters(k.defaultPattern,a)}else b=k.normalizeColor(a);this.fillStyle=
  150. b;return this},setStroke:function(a){if(!a)return this.strokeStyle=null,this;if("string"==typeof a||p.isArray(a)||a instanceof u)a={color:a};a=this.strokeStyle=k.makeParameters(k.defaultStroke,a);a.color=k.normalizeColor(a.color);return this},setTransform:function(a){this.matrix=l.clone(a?l.normalize(a):l.identity);return this._applyTransform()},_applyTransform:function(){return this},moveToFront:function(){var a=this.getParent();a&&(a._moveChildToFront(this),this._moveToFront());return this},moveToBack:function(){var a=
  151. this.getParent();a&&(a._moveChildToBack(this),this._moveToBack());return this},_moveToFront:function(){},_moveToBack:function(){},applyRightTransform:function(a){return a?this.setTransform([this.matrix,a]):this},applyLeftTransform:function(a){return a?this.setTransform([a,this.matrix]):this},applyTransform:function(a){return a?this.setTransform([this.matrix,a]):this},removeShape:function(a){this.parent&&this.parent.remove(this,a);return this},_setParent:function(a,b){this.parent=a;return this._updateParentMatrix(b)},
  152. _updateParentMatrix:function(a){this.parentMatrix=a?l.clone(a):null;return this._applyTransform()},_getRealMatrix:function(){for(var a=this.matrix,b=this.parent;b;)b.matrix&&(a=l.multiply(b.matrix,a)),b=b.parent;return a}});n._eventsProcessing={on:function(a,c){return b(this.getEventSource(),a,n.fixCallback(this,k.fixTarget,c))},connect:function(a,b,c){"on"==a.substring(0,2)&&(a=a.substring(2));return this.on(a,c?p.hitch(b,c):b)},disconnect:function(a){return a.remove()}};n.fixCallback=function(a,
  153. b,c,d){d||(d=c,c=null);if(p.isString(d)){c=c||q.global;if(!c[d])throw['dojox.gfx.shape.fixCallback: scope["',d,'"] is null (scope="',c,'")'].join("");return function(l){return b(l,a)?c[d].apply(c,arguments||[]):void 0}}return!c?function(l){return b(l,a)?d.apply(c,arguments):void 0}:function(l){return b(l,a)?d.apply(c,arguments||[]):void 0}};p.extend(n.Shape,n._eventsProcessing);n.Container={_init:function(){this.children=[];this._batch=0},openBatch:function(){return this},closeBatch:function(){return this},
  154. add:function(a){var b=a.getParent();b&&b.remove(a,!0);this.children.push(a);return a._setParent(this,this._getRealMatrix())},remove:function(a,b){for(var c=0;c<this.children.length;++c)if(this.children[c]==a){b||(a.parent=null,a.parentMatrix=null);this.children.splice(c,1);break}return this},clear:function(a){for(var b,c=0;c<this.children.length;++c)b=this.children[c],b.parent=null,b.parentMatrix=null,a&&b.destroy();this.children=[];return this},getBoundingBox:function(){if(this.children){var a=null;
  155. d.forEach(this.children,function(b){var c=b.getBoundingBox();c&&((b=b.getTransform())&&(c=l.multiplyRectangle(b,c)),a?(a.x=Math.min(a.x,c.x),a.y=Math.min(a.y,c.y),a.endX=Math.max(a.endX,c.x+c.width),a.endY=Math.max(a.endY,c.y+c.height)):a={x:c.x,y:c.y,endX:c.x+c.width,endY:c.y+c.height})});a&&(a.width=a.endX-a.x,a.height=a.endY-a.y);return a}return null},_moveChildToFront:function(a){for(var b=0;b<this.children.length;++b)if(this.children[b]==a){this.children.splice(b,1);this.children.push(a);break}return this},
  156. _moveChildToBack:function(a){for(var b=0;b<this.children.length;++b)if(this.children[b]==a){this.children.splice(b,1);this.children.unshift(a);break}return this}};n.Surface=e("dojox.gfx.shape.Surface",null,{constructor:function(){this._parent=this.rawNode=null;this._nodes=[];this._events=[]},destroy:function(){d.forEach(this._nodes,a.destroy);this._nodes=[];d.forEach(this._events,function(a){a&&a.remove()});this._events=[];this.rawNode=null;if(c("ie"))for(;this._parent.lastChild;)a.destroy(this._parent.lastChild);
  157. else this._parent.innerHTML="";this._parent=null},getEventSource:function(){return this.rawNode},_getRealMatrix:function(){return null},isLoaded:!0,onLoad:function(a){},whenLoaded:function(a,c){var d=p.hitch(a,c);if(this.isLoaded)d(this);else b.once(this,"load",function(a){d(a)})}});p.extend(n.Surface,n._eventsProcessing);n.Rect=e("dojox.gfx.shape.Rect",n.Shape,{constructor:function(a){this.shape=k.getDefault("Rect");this.rawNode=a},getBoundingBox:function(){return this.shape}});n.Ellipse=e("dojox.gfx.shape.Ellipse",
  158. n.Shape,{constructor:function(a){this.shape=k.getDefault("Ellipse");this.rawNode=a},getBoundingBox:function(){if(!this.bbox){var a=this.shape;this.bbox={x:a.cx-a.rx,y:a.cy-a.ry,width:2*a.rx,height:2*a.ry}}return this.bbox}});n.Circle=e("dojox.gfx.shape.Circle",n.Shape,{constructor:function(a){this.shape=k.getDefault("Circle");this.rawNode=a},getBoundingBox:function(){if(!this.bbox){var a=this.shape;this.bbox={x:a.cx-a.r,y:a.cy-a.r,width:2*a.r,height:2*a.r}}return this.bbox}});n.Line=e("dojox.gfx.shape.Line",
  159. n.Shape,{constructor:function(a){this.shape=k.getDefault("Line");this.rawNode=a},getBoundingBox:function(){if(!this.bbox){var a=this.shape;this.bbox={x:Math.min(a.x1,a.x2),y:Math.min(a.y1,a.y2),width:Math.abs(a.x2-a.x1),height:Math.abs(a.y2-a.y1)}}return this.bbox}});n.Polyline=e("dojox.gfx.shape.Polyline",n.Shape,{constructor:function(a){this.shape=k.getDefault("Polyline");this.rawNode=a},setShape:function(a,b){a&&a instanceof Array?(this.inherited(arguments,[{points:a}]),b&&this.shape.points.length&&
  160. this.shape.points.push(this.shape.points[0])):this.inherited(arguments,[a]);return this},_normalizePoints:function(){var a=this.shape.points,b=a&&a.length;if(b&&"number"==typeof a[0]){for(var c=[],d=0;d<b;d+=2)c.push({x:a[d],y:a[d+1]});this.shape.points=c}},getBoundingBox:function(){if(!this.bbox&&this.shape.points.length){for(var a=this.shape.points,b=a.length,c=a[0],d=c.x,l=c.y,e=c.x,n=c.y,k=1;k<b;++k)c=a[k],d>c.x&&(d=c.x),e<c.x&&(e=c.x),l>c.y&&(l=c.y),n<c.y&&(n=c.y);this.bbox={x:d,y:l,width:e-
  161. d,height:n-l}}return this.bbox}});n.Image=e("dojox.gfx.shape.Image",n.Shape,{constructor:function(a){this.shape=k.getDefault("Image");this.rawNode=a},getBoundingBox:function(){return this.shape},setStroke:function(){return this},setFill:function(){return this}});n.Text=e(n.Shape,{constructor:function(a){this.fontStyle=null;this.shape=k.getDefault("Text");this.rawNode=a},getFont:function(){return this.fontStyle},setFont:function(a){this.fontStyle="string"==typeof a?k.splitFontString(a):k.makeParameters(k.defaultFont,
  162. a);this._setFont();return this},getBoundingBox:function(){var a=null;this.getShape().text&&(a=k._base._computeTextBoundingBox(this));return a}});n.Creator={createShape:function(a){switch(a.type){case k.defaultPath.type:return this.createPath(a);case k.defaultRect.type:return this.createRect(a);case k.defaultCircle.type:return this.createCircle(a);case k.defaultEllipse.type:return this.createEllipse(a);case k.defaultLine.type:return this.createLine(a);case k.defaultPolyline.type:return this.createPolyline(a);
  163. case k.defaultImage.type:return this.createImage(a);case k.defaultText.type:return this.createText(a);case k.defaultTextPath.type:return this.createTextPath(a)}return null},createGroup:function(){return this.createObject(k.Group)},createRect:function(a){return this.createObject(k.Rect,a)},createEllipse:function(a){return this.createObject(k.Ellipse,a)},createCircle:function(a){return this.createObject(k.Circle,a)},createLine:function(a){return this.createObject(k.Line,a)},createPolyline:function(a){return this.createObject(k.Polyline,
  164. a)},createImage:function(a){return this.createObject(k.Image,a)},createText:function(a){return this.createObject(k.Text,a)},createPath:function(a){return this.createObject(k.Path,a)},createTextPath:function(a){return this.createObject(k.TextPath,{}).setText(a)},createObject:function(a,b){return null}};return n})},"dojox/gfx/matrix":function(){C(["./_base","dojo/_base/lang"],function(k,p){var e=k.matrix={},q={};e._degToRad=function(c){return q[c]||(q[c]=Math.PI*c/180)};e._radToDeg=function(c){return 180*
  165. (c/Math.PI)};e.Matrix2D=function(c){if(c)if("number"==typeof c)this.xx=this.yy=c;else if(c instanceof Array){if(0<c.length){for(var b=e.normalize(c[0]),d=1;d<c.length;++d){var a=b,k=e.normalize(c[d]),b=new e.Matrix2D;b.xx=a.xx*k.xx+a.xy*k.yx;b.xy=a.xx*k.xy+a.xy*k.yy;b.yx=a.yx*k.xx+a.yy*k.yx;b.yy=a.yx*k.xy+a.yy*k.yy;b.dx=a.xx*k.dx+a.xy*k.dy+a.dx;b.dy=a.yx*k.dx+a.yy*k.dy+a.dy}p.mixin(this,b)}}else p.mixin(this,c)};p.extend(e.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});p.mixin(e,{identity:new e.Matrix2D,
  166. flipX:new e.Matrix2D({xx:-1}),flipY:new e.Matrix2D({yy:-1}),flipXY:new e.Matrix2D({xx:-1,yy:-1}),translate:function(c,b){return 1<arguments.length?new e.Matrix2D({dx:c,dy:b}):new e.Matrix2D({dx:c.x,dy:c.y})},scale:function(c,b){return 1<arguments.length?new e.Matrix2D({xx:c,yy:b}):"number"==typeof c?new e.Matrix2D({xx:c,yy:c}):new e.Matrix2D({xx:c.x,yy:c.y})},rotate:function(c){var b=Math.cos(c);c=Math.sin(c);return new e.Matrix2D({xx:b,xy:-c,yx:c,yy:b})},rotateg:function(c){return e.rotate(e._degToRad(c))},
  167. skewX:function(c){return new e.Matrix2D({xy:Math.tan(c)})},skewXg:function(c){return e.skewX(e._degToRad(c))},skewY:function(c){return new e.Matrix2D({yx:Math.tan(c)})},skewYg:function(c){return e.skewY(e._degToRad(c))},reflect:function(c,b){1==arguments.length&&(b=c.y,c=c.x);var d=c*c,a=b*b,k=d+a,l=2*c*b/k;return new e.Matrix2D({xx:2*d/k-1,xy:l,yx:l,yy:2*a/k-1})},project:function(c,b){1==arguments.length&&(b=c.y,c=c.x);var d=c*c,a=b*b,k=d+a,l=c*b/k;return new e.Matrix2D({xx:d/k,xy:l,yx:l,yy:a/k})},
  168. normalize:function(c){return c instanceof e.Matrix2D?c:new e.Matrix2D(c)},isIdentity:function(c){return 1==c.xx&&0==c.xy&&0==c.yx&&1==c.yy&&0==c.dx&&0==c.dy},clone:function(c){var b=new e.Matrix2D,d;for(d in c)"number"==typeof c[d]&&("number"==typeof b[d]&&b[d]!=c[d])&&(b[d]=c[d]);return b},invert:function(c){c=e.normalize(c);var b=c.xx*c.yy-c.xy*c.yx;return c=new e.Matrix2D({xx:c.yy/b,xy:-c.xy/b,yx:-c.yx/b,yy:c.xx/b,dx:(c.xy*c.dy-c.yy*c.dx)/b,dy:(c.yx*c.dx-c.xx*c.dy)/b})},_multiplyPoint:function(c,
  169. b,d){return{x:c.xx*b+c.xy*d+c.dx,y:c.yx*b+c.yy*d+c.dy}},multiplyPoint:function(c,b,d){c=e.normalize(c);return"number"==typeof b&&"number"==typeof d?e._multiplyPoint(c,b,d):e._multiplyPoint(c,b.x,b.y)},multiplyRectangle:function(c,b){var d=e.normalize(c);b=b||{x:0,y:0,width:0,height:0};if(e.isIdentity(d))return{x:b.x,y:b.y,width:b.width,height:b.height};var a=e.multiplyPoint(d,b.x,b.y),k=e.multiplyPoint(d,b.x,b.y+b.height),l=e.multiplyPoint(d,b.x+b.width,b.y),n=e.multiplyPoint(d,b.x+b.width,b.y+b.height),
  170. d=Math.min(a.x,k.x,l.x,n.x),f=Math.min(a.y,k.y,l.y,n.y),r=Math.max(a.x,k.x,l.x,n.x),a=Math.max(a.y,k.y,l.y,n.y);return{x:d,y:f,width:r-d,height:a-f}},multiply:function(c){for(var b=e.normalize(c),d=1;d<arguments.length;++d){var a=b,k=e.normalize(arguments[d]),b=new e.Matrix2D;b.xx=a.xx*k.xx+a.xy*k.yx;b.xy=a.xx*k.xy+a.xy*k.yy;b.yx=a.yx*k.xx+a.yy*k.yx;b.yy=a.yx*k.xy+a.yy*k.yy;b.dx=a.xx*k.dx+a.xy*k.dy+a.dx;b.dy=a.yx*k.dx+a.yy*k.dy+a.dy}return b},_sandwich:function(c,b,d){return e.multiply(e.translate(b,
  171. d),c,e.translate(-b,-d))},scaleAt:function(c,b,d,a){switch(arguments.length){case 4:return e._sandwich(e.scale(c,b),d,a);case 3:return"number"==typeof d?e._sandwich(e.scale(c),b,d):e._sandwich(e.scale(c,b),d.x,d.y)}return e._sandwich(e.scale(c),b.x,b.y)},rotateAt:function(c,b,d){return 2<arguments.length?e._sandwich(e.rotate(c),b,d):e._sandwich(e.rotate(c),b.x,b.y)},rotategAt:function(c,b,d){return 2<arguments.length?e._sandwich(e.rotateg(c),b,d):e._sandwich(e.rotateg(c),b.x,b.y)},skewXAt:function(c,
  172. b,d){return 2<arguments.length?e._sandwich(e.skewX(c),b,d):e._sandwich(e.skewX(c),b.x,b.y)},skewXgAt:function(c,b,d){return 2<arguments.length?e._sandwich(e.skewXg(c),b,d):e._sandwich(e.skewXg(c),b.x,b.y)},skewYAt:function(c,b,d){return 2<arguments.length?e._sandwich(e.skewY(c),b,d):e._sandwich(e.skewY(c),b.x,b.y)},skewYgAt:function(c,b,d){return 2<arguments.length?e._sandwich(e.skewYg(c),b,d):e._sandwich(e.skewYg(c),b.x,b.y)}});k.Matrix2D=e.Matrix2D;return e})},"dijit/form/VerticalSlider":function(){C(["dojo/_base/declare",
  173. "./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(k,p,e){return k("dijit.form.VerticalSlider",p,{templateString:e,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:!0,_isReversed:function(){return this._descending}})})},"dijit/form/HorizontalSlider":function(){C("dojo/_base/array dojo/_base/declare dojo/dnd/move dojo/_base/fx dojo/dom-geometry dojo/dom-style dojo/keys dojo/_base/lang dojo/sniff dojo/dnd/Moveable dojo/dnd/Mover dojo/query dojo/mouse dojo/on ../_base/manager ../focus ../typematic ./Button ./_FormValueWidget ../_Container dojo/text!./templates/HorizontalSlider.html".split(" "),
  174. function(k,p,e,q,c,b,d,a,u,l,n,f,r,z,s,v,B,J,G,A,y){var D=p("dijit.form._SliderMover",n,{onMouseMove:function(b){var d=this.widget,f=d._abspos;f||(f=d._abspos=c.position(d.sliderBarContainer,!0),d._setPixelValue_=a.hitch(d,"_setPixelValue"),d._isReversed_=d._isReversed());b=b[d._mousePixelCoord]-f[d._startingPixelCoord];d._setPixelValue_(d._isReversed_?f[d._pixelCount]-b:b,f[d._pixelCount],!1)},destroy:function(a){n.prototype.destroy.apply(this,arguments);var b=this.widget;b._abspos=null;b._setValueAttr(b.value,
  175. !0)}});e=p("dijit.form.HorizontalSlider",[G,A],{templateString:y,value:0,showButtons:!0,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:!0,slideDuration:s.defaultDuration,_setIdAttr:"",_setNameAttr:"valueNode",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",
  176. _onKeyUp:function(a){!this.disabled&&(!this.readOnly&&!a.altKey&&!a.ctrlKey&&!a.metaKey)&&this._setValueAttr(this.value,!0)},_onKeyDown:function(a){if(!this.disabled&&!this.readOnly&&!a.altKey&&!a.ctrlKey&&!a.metaKey){switch(a.keyCode){case d.HOME:this._setValueAttr(this.minimum,!1);break;case d.END:this._setValueAttr(this.maximum,!1);break;case this._descending||this.isLeftToRight()?d.RIGHT_ARROW:d.LEFT_ARROW:case !1===this._descending?d.DOWN_ARROW:d.UP_ARROW:case !1===this._descending?d.PAGE_DOWN:
  177. d.PAGE_UP:this.increment(a);break;case this._descending||this.isLeftToRight()?d.LEFT_ARROW:d.RIGHT_ARROW:case !1===this._descending?d.UP_ARROW:d.DOWN_ARROW:case !1===this._descending?d.PAGE_UP:d.PAGE_DOWN:this.decrement(a);break;default:return}a.stopPropagation();a.preventDefault()}},_onHandleClick:function(a){!this.disabled&&!this.readOnly&&(u("ie")||v.focus(this.sliderHandle),a.stopPropagation(),a.preventDefault())},_isReversed:function(){return!this.isLeftToRight()},_onBarClick:function(a){if(!this.disabled&&
  178. !this.readOnly&&this.clickSelect){v.focus(this.sliderHandle);a.stopPropagation();a.preventDefault();var b=c.position(this.sliderBarContainer,!0),d=a[this._mousePixelCoord]-b[this._startingPixelCoord];this._setPixelValue(this._isReversed()?b[this._pixelCount]-d:d,b[this._pixelCount],!0);this._movable.onMouseDown(a)}},_setPixelValue:function(a,b,c){if(!this.disabled&&!this.readOnly){var d=this.discreteValues;if(1>=d||Infinity==d)d=b;d--;a=Math.round(a/(b/d));this._setValueAttr(Math.max(Math.min((this.maximum-
  179. this.minimum)*a/d+this.minimum,this.maximum),this.minimum),c)}},_setValueAttr:function(a,b){this._set("value",a);this.valueNode.value=a;this.focusNode.setAttribute("aria-valuenow",a);this.inherited(arguments);var c=(a-this.minimum)/(this.maximum-this.minimum),d=!1===this._descending?this.remainingBar:this.progressBar,f=!1===this._descending?this.progressBar:this.remainingBar;this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);if(b&&0<this.slideDuration&&d.style[this._progressPixelSize]){var l=
  180. this,e={},r=parseFloat(d.style[this._progressPixelSize]),k=this.slideDuration*(c-r/100);0!=k&&(0>k&&(k=0-k),e[this._progressPixelSize]={start:r,end:100*c,units:"%"},this._inProgressAnim=q.animateProperty({node:d,duration:k,onAnimate:function(a){f.style[l._progressPixelSize]=100-parseFloat(a[l._progressPixelSize])+"%"},onEnd:function(){delete l._inProgressAnim},properties:e}),this._inProgressAnim.play())}else d.style[this._progressPixelSize]=100*c+"%",f.style[this._progressPixelSize]=100*(1-c)+"%"},
  181. _bumpValue:function(a,d){if(!this.disabled&&!this.readOnly){var f=b.getComputedStyle(this.sliderBarContainer),l=c.getContentBox(this.sliderBarContainer,f),f=this.discreteValues;if(1>=f||Infinity==f)f=l[this._pixelCount];f--;l=(this.value-this.minimum)*f/(this.maximum-this.minimum)+a;0>l&&(l=0);l>f&&(l=f);l=l*(this.maximum-this.minimum)/f+this.minimum;this._setValueAttr(l,d)}},_onClkBumper:function(a){!this.disabled&&(!this.readOnly&&this.clickSelect)&&this._setValueAttr(a,!0)},_onClkIncBumper:function(){this._onClkBumper(!1===
  182. this._descending?this.minimum:this.maximum)},_onClkDecBumper:function(){this._onClkBumper(!1===this._descending?this.maximum:this.minimum)},decrement:function(a){this._bumpValue(a.keyCode==d.PAGE_DOWN?-this.pageIncrement:-1)},increment:function(a){this._bumpValue(a.keyCode==d.PAGE_UP?this.pageIncrement:1)},_mouseWheeled:function(a){a.stopPropagation();a.preventDefault();this._bumpValue(0>a.wheelDelta?-1:1,!0)},startup:function(){this._started||(k.forEach(this.getChildren(),function(a){this[a.container]!=
  183. this.containerNode&&this[a.container].appendChild(a.domNode)},this),this.inherited(arguments))},_typematicCallback:function(a,b,c){if(-1==a)this._setValueAttr(this.value,!0);else this[b==(this._descending?this.incrementButton:this.decrementButton)?"decrement":"increment"](c)},buildRendering:function(){this.inherited(arguments);this.showButtons&&(this.incrementButton.style.display="",this.decrementButton.style.display="");var a=f('label[for="'+this.id+'"]');a.length&&(a[0].id||(a[0].id=this.id+"_label"),
  184. this.focusNode.setAttribute("aria-labelledby",a[0].id));this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum)},postCreate:function(){this.inherited(arguments);this.showButtons&&this.own(B.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),B.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));this.own(z(this.domNode,r.wheel,a.hitch(this,"_mouseWheeled")));var b=p(D,{widget:this});this._movable=new l(this.sliderHandle,
  185. {mover:b});this._layoutHackIE7()},destroy:function(){this._movable.destroy();this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);this.inherited(arguments)}});e._Mover=D;return e})},"dojo/dnd/move":function(){C("../_base/declare ../dom-geometry ../dom-style ./common ./Mover ./Moveable".split(" "),function(k,p,e,q,c,b){q=k("dojo.dnd.move.constrainedMoveable",b,{constraints:function(){},within:!1,constructor:function(b,a){a||(a={});this.constraints=a.constraints;
  186. this.within=a.within},onFirstMove:function(b){var a=this.constraintBox=this.constraints.call(this,b);a.r=a.l+a.w;a.b=a.t+a.h;this.within&&(b=p.getMarginSize(b.node),a.r-=b.w,a.b-=b.h)},onMove:function(b,a){var c=this.constraintBox,l=b.node.style;this.onMoving(b,a);a.l=a.l<c.l?c.l:c.r<a.l?c.r:a.l;a.t=a.t<c.t?c.t:c.b<a.t?c.b:a.t;l.left=a.l+"px";l.top=a.t+"px";this.onMoved(b,a)}});c=k("dojo.dnd.move.boxConstrainedMoveable",q,{box:{},constructor:function(b,a){var c=a&&a.box;this.constraints=function(){return c}}});
  187. k=k("dojo.dnd.move.parentConstrainedMoveable",q,{area:"content",constructor:function(b,a){var c=a&&a.area;this.constraints=function(){var a=this.node.parentNode,b=e.getComputedStyle(a),d=p.getMarginBox(a,b);if("margin"==c)return d;var r=p.getMarginExtents(a,b);d.l+=r.l;d.t+=r.t;d.w-=r.w;d.h-=r.h;if("border"==c)return d;r=p.getBorderExtents(a,b);d.l+=r.l;d.t+=r.t;d.w-=r.w;d.h-=r.h;if("padding"==c)return d;r=p.getPadExtents(a,b);d.l+=r.l;d.t+=r.t;d.w-=r.w;d.h-=r.h;return d}}});return{constrainedMoveable:q,
  188. boxConstrainedMoveable:c,parentConstrainedMoveable:k}})},"dijit/_base/manager":function(){C(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(k,p,e,q,c){var b={};k.forEach("byId getUniqueId findWidgets _destroyAll byNode getEnclosingWidget".split(" "),function(c){b[c]=q[c]});e.mixin(b,{defaultDuration:p.defaultDuration||200});e.mixin(c,b);return c})},"dijit/typematic":function(){C("dojo/_base/array dojo/_base/connect dojo/_base/lang dojo/on dojo/sniff ./main".split(" "),
  189. function(k,p,e,q,c,b){var d=b.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(0>this._currentTimeout?this._initialDelay:1<this._subsequentDelay?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay);this._timer=setTimeout(e.hitch(this,"_fireEventAndReload"),this._currentTimeout)},trigger:function(a,b,c,d,f,r,k,s){if(f!=this._obj){this.stop();this._initialDelay=k||500;this._subsequentDelay=
  190. r||0.9;this._minDelay=s||10;this._obj=f;this._node=c;this._count=this._currentTimeout=-1;this._callback=e.hitch(b,d);this._evt={faux:!0};for(var v in a)"layerX"!=v&&"layerY"!=v&&(b=a[v],"function"!=typeof b&&"undefined"!=typeof b&&(this._evt[v]=b));this._fireEventAndReload()}},stop:function(){this._timer&&(clearTimeout(this._timer),this._timer=null);this._obj&&(this._callback(-1,this._node,this._evt),this._obj=null)},addKeyListener:function(a,b,c,n,f,r,z){var s="keyCode"in b?"keyCode":"charCode"in
  191. b?"charCode":"charOrCode",v=[q(a,"keyCode"in b?"keydown":"charCode"in b?"keypress":p._keypress,e.hitch(this,function(e){e[s]==b[s]&&(void 0===b.ctrlKey||b.ctrlKey==e.ctrlKey)&&(void 0===b.altKey||b.altKey==e.altKey)&&(void 0===b.metaKey||b.metaKey==(e.metaKey||!1))&&(void 0===b.shiftKey||b.shiftKey==e.shiftKey)?(e.stopPropagation(),e.preventDefault(),d.trigger(e,c,a,n,b,f,r,z)):d._obj==b&&d.stop()})),q(a,"keyup",e.hitch(this,function(){d._obj==b&&d.stop()}))];return{remove:function(){k.forEach(v,
  192. function(a){a.remove()})}}},addMouseListener:function(a,b,l,n,f,r){var z=[q(a,"mousedown",e.hitch(this,function(c){c.preventDefault();d.trigger(c,b,a,l,a,n,f,r)})),q(a,"mouseup",e.hitch(this,function(a){this._obj&&a.preventDefault();d.stop()})),q(a,"mouseout",e.hitch(this,function(a){this._obj&&a.preventDefault();d.stop()})),q(a,"dblclick",e.hitch(this,function(k){k.preventDefault();9>c("ie")&&(d.trigger(k,b,a,l,a,n,f,r),setTimeout(e.hitch(this,d.stop),50))}))];return{remove:function(){k.forEach(z,
  193. function(a){a.remove()})}}},addListener:function(a,b,c,d,f,e,z,s){var v=[this.addKeyListener(b,c,d,f,e,z,s),this.addMouseListener(a,d,f,e,z,s)];return{remove:function(){k.forEach(v,function(a){a.remove()})}}}};return d})},"dijit/form/Button":function(){C("require dojo/_base/declare dojo/dom-class dojo/has dojo/_base/kernel dojo/_base/lang dojo/ready ./_FormWidget ./_ButtonMixin dojo/text!./templates/Button.html".split(" "),function(k,p,e,q,c,b,d,a,u,l){k=p("dijit.form.Button"+(q("dojo-bidi")?"_NoBidi":
  194. ""),[a,u],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:l,_setValueAttr:"valueNode",_setNameAttr:function(a){this.valueNode&&this.valueNode.setAttribute("name",a)},_fillContent:function(a){if(a&&(!this.params||!("label"in this.params)))if(a=b.trim(a.innerHTML))this.label=a},_setShowLabelAttr:function(a){this.containerNode&&e.toggle(this.containerNode,"dijitDisplayNone",!a);this._set("showLabel",a)},setLabel:function(a){c.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.",
  195. "","2.0");this.set("label",a)},_setLabelAttr:function(a){this.inherited(arguments);!this.showLabel&&!("title"in this.params)&&(this.titleNode.title=b.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});q("dojo-bidi")&&(k=p("dijit.form.Button",k,{_setLabelAttr:function(a){this.inherited(arguments);this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(a){this._created&&this.textDir!=a&&(this._set("textDir",a),this._setLabelAttr(this.label))}}));
  196. return k})},"dijit/form/_FormWidget":function(){C("dojo/_base/declare dojo/sniff dojo/_base/kernel dojo/ready ../_Widget ../_CssStateMixin ../_TemplatedMixin ./_FormWidgetMixin".split(" "),function(k,p,e,q,c,b,d,a){return k("dijit.form._FormWidget",[c,d,b,a],{setDisabled:function(a){e.deprecated("setDisabled("+a+") is deprecated. Use set('disabled',"+a+") instead.","","2.0");this.set("disabled",a)},setValue:function(a){e.deprecated("dijit.form._FormWidget:setValue("+a+") is deprecated. Use set('value',"+
  197. a+") instead.","","2.0");this.set("value",a)},getValue:function(){e.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!p("msapp")?'name="'+this.name.replace(/"/g,"&quot;")+'"':"";this.inherited(arguments)},_setTypeAttr:null})})},"dijit/_CssStateMixin":function(){C("dojo/_base/array dojo/_base/declare dojo/dom dojo/dom-class dojo/has dojo/_base/lang dojo/on dojo/domReady dojo/touch dojo/_base/window ./a11yclick ./registry".split(" "),
  198. function(k,p,e,q,c,b,d,a,u,l,n,f){p=p("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments);k.forEach("disabled readOnly checked selected focused state hovering active _opened".split(" "),function(a){this.watch(a,b.hitch(this,"_setStateClass"))},this);for(var a in this.cssStateNodes||{})this._trackMouseState(this[a],this.cssStateNodes[a]);this._trackMouseState(this.domNode,this.baseClass);this._setStateClass()},_cssMouseEvent:function(a){if(!this.disabled)switch(a.type){case "mouseover":case "MSPointerOver":this._set("hovering",
  199. !0);this._set("active",this._mouseDown);break;case "mouseout":case "MSPointerOut":this._set("hovering",!1);this._set("active",!1);break;case "mousedown":case "touchstart":case "MSPointerDown":case "keydown":this._set("active",!0);break;case "mouseup":case "dojotouchend":case "keyup":this._set("active",!1)}},_setStateClass:function(){function a(c){b=b.concat(k.map(b,function(a){return a+c}),"dijit"+c)}var b=this.baseClass.split(" ");this.isLeftToRight()||a("Rtl");var c="mixed"==this.checked?"Mixed":
  200. this.checked?"Checked":"";this.checked&&a(c);this.state&&a(this.state);this.selected&&a("Selected");this._opened&&a("Opened");this.disabled?a("Disabled"):this.readOnly?a("ReadOnly"):this.active?a("Active"):this.hovering&&a("Hover");this.focused&&a("Focused");var c=this.stateNode||this.domNode,d={};k.forEach(c.className.split(" "),function(a){d[a]=!0});"_stateClasses"in this&&k.forEach(this._stateClasses,function(a){delete d[a]});k.forEach(b,function(a){d[a]=!0});var f=[],l;for(l in d)f.push(l);c.className=
  201. f.join(" ");this._stateClasses=b},_subnodeCssMouseEvent:function(a,b,c){function d(c){q.toggle(a,b+"Active",c)}if(!this.disabled&&!this.readOnly)switch(c.type){case "mouseover":case "MSPointerOver":q.toggle(a,b+"Hover",!0);break;case "mouseout":case "MSPointerOut":q.toggle(a,b+"Hover",!1);d(!1);break;case "mousedown":case "touchstart":case "MSPointerDown":case "keydown":d(!0);break;case "mouseup":case "MSPointerUp":case "dojotouchend":case "keyup":d(!1);break;case "focus":case "focusin":q.toggle(a,
  202. b+"Focused",!0);break;case "blur":case "focusout":q.toggle(a,b+"Focused",!1)}},_trackMouseState:function(a,b){a._cssState=b}});a(function(){function a(b,c,d){if(!d||!e.isDescendant(d,c))for(;c&&c!=d;c=c.parentNode)if(c._cssState){var l=f.getEnclosingWidget(c);l&&(c==l.domNode?l._cssMouseEvent(b):l._subnodeCssMouseEvent(c,c._cssState,b))}}var b=l.body(),c;d(b,u.over,function(b){a(b,b.target,b.relatedTarget)});d(b,u.out,function(b){a(b,b.target,b.relatedTarget)});d(b,n.press,function(b){c=b.target;
  203. a(b,c)});d(b,n.release,function(b){a(b,c);c=null});d(b,"focusin, focusout",function(a){var b=a.target;if(b._cssState&&!b.getAttribute("widgetId")){var c=f.getEnclosingWidget(b);c&&c._subnodeCssMouseEvent(b,b._cssState,a)}})});return p})},"dijit/_TemplatedMixin":function(){C("dojo/cache dojo/_base/declare dojo/dom-construct dojo/_base/lang dojo/on dojo/sniff dojo/string ./_AttachMixin".split(" "),function(k,p,e,q,c,b,d,a){var u=p("dijit._TemplatedMixin",a,{templateString:null,templatePath:null,_skipNodeCache:!1,
  204. searchContainerNode:!0,_stringRepl:function(a){var b=this.declaredClass,c=this;return d.substitute(a,this,function(a,d){"!"==d.charAt(0)&&(a=q.getObject(d.substr(1),!1,c));if("undefined"==typeof a)throw Error(b+" template:"+d);return null==a?"":"!"==d.charAt(0)?a:a.toString().replace(/"/g,"&quot;")},this)},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=k(this.templatePath,{sanitize:!0}));var a=u.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument),
  205. b;if(q.isString(a)){if(b=e.toDom(this._stringRepl(a),this.ownerDocument),1!=b.nodeType)throw Error("Invalid template: "+a);}else b=a.cloneNode(!0);this.domNode=b}this.inherited(arguments);this._rendered||this._fillContent(this.srcNodeRef);this._rendered=!0},_fillContent:function(a){var b=this.containerNode;if(a&&b)for(;a.hasChildNodes();)b.appendChild(a.firstChild)}});u._templateCache={};u.getCachedTemplate=function(a,b,c){var k=u._templateCache,z=a,s=k[z];if(s){try{if(!s.ownerDocument||s.ownerDocument==
  206. (c||document))return s}catch(q){}e.destroy(s)}a=d.trim(a);if(b||a.match(/\$\{([^\}]+)\}/g))return k[z]=a;b=e.toDom(a,c);if(1!=b.nodeType)throw Error("Invalid template: "+a);return k[z]=b};b("ie")&&c(window,"unload",function(){var a=u._templateCache,b;for(b in a){var c=a[b];"object"==typeof c&&e.destroy(c);delete a[b]}});return u})},"dojo/cache":function(){C(["./_base/kernel","./text"],function(k){return k.cache})},"dojo/text":function(){C(["./_base/kernel","require","./has","./request"],function(k,
  207. p,e,q){var c;c=function(a,b,c){q(a,{sync:!!b}).then(c)};var b={},d=function(a){if(a){a=a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var b=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);b&&(a=b[1])}else a="";return a},a={},u={};k.cache=function(a,e,f){var k;"string"==typeof a?/\//.test(a)?(k=a,f=e):k=p.toUrl(a.replace(/\./g,"/")+(e?"/"+e:"")):(k=a+"",f=e);a=void 0!=f&&"string"!=typeof f?f.value:f;f=f&&f.sanitize;if("string"==typeof a)return b[k]=a,f?d(a):a;if(null===a)return delete b[k],
  208. null;k in b||c(k,!0,function(a){b[k]=a});return f?d(b[k]):b[k]};return{dynamic:!0,normalize:function(a,b){var c=a.split("!"),d=c[0];return(/^\./.test(d)?b(d):d)+(c[1]?"!"+c[1]:"")},load:function(e,k,f){e=e.split("!");var r=1<e.length,z=e[0],s=k.toUrl(e[0]);e="url:"+s;var q=a,p=function(a){f(r?d(a):a)};z in b?q=b[z]:k.cache&&e in k.cache?q=k.cache[e]:s in b&&(q=b[s]);if(q===a)if(u[s])u[s].push(p);else{var J=u[s]=[p];c(s,!k.async,function(a){b[z]=b[s]=a;for(var c=0;c<J.length;)J[c++](a);delete u[s]})}else p(q)}}})},
  209. "dojo/request":function(){C(["./request/default!"],function(k){return k})},"dojo/request/default":function(){C(["exports","require","../has"],function(k,p,e){var q=e("config-requestProvider");q||(q="./xhr");k.getPlatformDefaultId=function(){return"./xhr"};k.load=function(c,b,d,a){p(["platform"==c?"./xhr":q],function(a){d(a)})}})},"dijit/_AttachMixin":function(){C("require dojo/_base/array dojo/_base/connect dojo/_base/declare dojo/_base/lang dojo/mouse dojo/on dojo/touch ./_WidgetBase".split(" "),
  210. function(k,p,e,q,c,b,d,a,u){var l=c.delegate(a,{mouseenter:b.enter,mouseleave:b.leave,keypress:e._keypress}),n;e=q("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[]},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(a){for(var b=a;;)if(1==b.nodeType&&(this._processTemplateNode(b,function(a,b){return a.getAttribute(b)},this._attach)||
  211. this.searchContainerNode)&&b.firstChild)b=b.firstChild;else{if(b==a)break;for(;!b.nextSibling;)if(b=b.parentNode,b==a)return;b=b.nextSibling}},_processTemplateNode:function(a,b,d){var e=!0,l=this.attachScope||this,k=b(a,"dojoAttachPoint")||b(a,"data-dojo-attach-point");if(k)for(var n=k.split(/\s*,\s*/);k=n.shift();)c.isArray(l[k])?l[k].push(a):l[k]=a,e="containerNode"!=k,this._attachPoints.push(k);if(b=b(a,"dojoAttachEvent")||b(a,"data-dojo-attach-event")){k=b.split(/\s*,\s*/);for(n=c.trim;b=k.shift();)if(b){var q=
  212. null;-1!=b.indexOf(":")?(q=b.split(":"),b=n(q[0]),q=n(q[1])):b=n(b);q||(q=b);this._attachEvents.push(d(a,b,c.hitch(l,q)))}}return e},_attach:function(a,b,c){b=b.replace(/^on/,"").toLowerCase();b="dijitclick"==b?n||(n=k("./a11yclick")):l[b]||b;return d(a,b,c)},_detachTemplateNodes:function(){var a=this.attachScope||this;p.forEach(this._attachPoints,function(b){delete a[b]});this._attachPoints=[];p.forEach(this._attachEvents,function(a){a.remove()});this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes();
  213. this.inherited(arguments)}});c.extend(u,{dojoAttachEvent:"",dojoAttachPoint:""});return e})},"dijit/form/_FormWidgetMixin":function(){C("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/dom-style dojo/_base/lang dojo/mouse dojo/on dojo/sniff dojo/window ../a11y".split(" "),function(k,p,e,q,c,b,d,a,u,l){return p("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,intermediateChanges:!1,scrollOnFocus:!0,
  214. _setIdAttr:"focusNode",_setDisabledAttr:function(b){this._set("disabled",b);e.set(this.focusNode,"disabled",b);this.valueNode&&e.set(this.valueNode,"disabled",b);this.focusNode.setAttribute("aria-disabled",b?"true":"false");b?(this._set("hovering",!1),this._set("active",!1),b="tabIndex"in this.attributeMap?this.attributeMap.tabIndex:"_setTabIndexAttr"in this?this._setTabIndexAttr:"focusNode",k.forEach(c.isArray(b)?b:[b],function(b){b=this[b];a("webkit")||l.hasDefaultTabStop(b)?b.setAttribute("tabIndex",
  215. "-1"):b.removeAttribute("tabIndex")},this)):""!=this.tabIndex&&this.set("tabIndex",this.tabIndex)},_onFocus:function(a){if("mouse"==a&&this.isFocusable())var b=this.own(d(this.focusNode,"focus",function(){e.remove();b.remove()}))[0],e=this.own(d(this.ownerDocumentBody,"mouseup, touchend",c.hitch(this,function(a){e.remove();b.remove();this.focused&&("touchend"==a.type?this.defer("focus"):this.focus())})))[0];this.scrollOnFocus&&this.defer(function(){u.scrollIntoView(this.domNode)});this.inherited(arguments)},
  216. isFocusable:function(){return!this.disabled&&this.focusNode&&"none"!=q.get(this.domNode,"display")},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}},compare:function(a,b){return"number"==typeof a&&"number"==typeof b?isNaN(a)&&isNaN(b)?0:a-b:a>b?1:a<b?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(a,b){if(void 0==this._lastValueReported&&(null===b||!this._onChangeActive))this._resetValue=this._lastValueReported=a;this._pendingOnChange=
  217. this._pendingOnChange||typeof a!=typeof this._lastValueReported||0!=this.compare(a,this._lastValueReported);if((this.intermediateChanges||b||void 0===b)&&this._pendingOnChange)this._lastValueReported=a,this._pendingOnChange=!1,this._onChangeActive&&(this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(a)}))},create:function(){this.inherited(arguments);this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&
  218. (this._onChangeHandle.remove(),this.onChange(this._lastValueReported));this.inherited(arguments)}})})},"dijit/form/_ButtonMixin":function(){C(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(k,p,e,q){var c=k("dijit.form._ButtonMixin"+(e("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(b){b.stopPropagation();b.preventDefault();this.disabled||this.valueNode.click(b);return!1},_onClick:function(b){if(this.disabled)return b.stopPropagation(),b.preventDefault(),
  219. !1;!1===this.onClick(b)&&b.preventDefault();cancelled=b.defaultPrevented;if(!cancelled&&"submit"==this.type&&!(this.valueNode||this.focusNode).form)for(var c=this.domNode;c.parentNode;c=c.parentNode){var a=q.byNode(c);if(a&&"function"==typeof a._onSubmit){a._onSubmit(b);b.preventDefault();cancelled=!0;break}}return!cancelled},postCreate:function(){this.inherited(arguments);p.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(b){this._set("label",b);(this.containerNode||
  220. this.focusNode).innerHTML=b}});e("dojo-bidi")&&(c=k("dijit.form._ButtonMixin",c,{_setLabelAttr:function(){this.inherited(arguments);this.applyTextDir(this.containerNode||this.focusNode)}}));return c})},"dijit/form/_FormValueWidget":function(){C(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(k,p,e,q){return k("dijit.form._FormValueWidget",[e,q],{_layoutHackIE7:function(){if(7==p("ie"))for(var c=this.domNode,b=c.parentNode,d=c.firstChild||c,a=d.style.filter,e=this;b&&
  221. 0==b.clientHeight;)(function(){var c=e.connect(b,"onscroll",function(){e.disconnect(c);d.style.filter=(new Date).getMilliseconds();e.defer(function(){d.style.filter=a})})})(),b=b.parentNode}})})},"dijit/form/_FormValueMixin":function(){C("dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/on dojo/sniff ./_FormWidgetMixin".split(" "),function(k,p,e,q,c,b,d){return k("dijit.form._FormValueMixin",d,{readOnly:!1,_setReadOnlyAttr:function(a){p.set(this.focusNode,"readOnly",a);this._set("readOnly",
  222. a)},postCreate:function(){this.inherited(arguments);void 0===this._resetValue&&(this._lastValueReported=this._resetValue=this.value)},_setValueAttr:function(a,b){this._handleOnChange(a,b)},_handleOnChange:function(a,b){this._set("value",a);this.inherited(arguments)},undo:function(){this._setValueAttr(this._lastValueReported,!1)},reset:function(){this._hasBeenBlurred=!1;this._setValueAttr(this._resetValue,!0)}})})},"dojo/date/locale":function(){C("../_base/lang ../_base/array ../date ../cldr/supplemental ../i18n ../regexp ../string ../i18n!../cldr/nls/gregorian module".split(" "),
  223. function(k,p,e,q,c,b,d,a,u){function l(a,b,c,f){return f.replace(/([a-z])\1*/ig,function(e){var l,k,n=e.charAt(0);e=e.length;var I=["abbr","wide","narrow"];switch(n){case "G":l=b[4>e?"eraAbbr":"eraNames"][0>a.getFullYear()?0:1];break;case "y":l=a.getFullYear();switch(e){case 1:break;case 2:if(!c.fullYear){l=String(l);l=l.substr(l.length-2);break}default:k=!0}break;case "Q":case "q":l=Math.ceil((a.getMonth()+1)/3);k=!0;break;case "M":case "L":l=a.getMonth();3>e?(l+=1,k=!0):(n=["months","L"==n?"standAlone":
  224. "format",I[e-3]].join("-"),l=b[n][l]);break;case "w":l=r._getWeekOfYear(a,0);k=!0;break;case "d":l=a.getDate();k=!0;break;case "D":l=r._getDayOfYear(a);k=!0;break;case "e":case "c":if(l=a.getDay(),2>e){l=(l-q.getFirstDayOfWeek(c.locale)+8)%7;break}case "E":l=a.getDay();3>e?(l+=1,k=!0):(n=["days","c"==n?"standAlone":"format",I[e-3]].join("-"),l=b[n][l]);break;case "a":n=12>a.getHours()?"am":"pm";l=c[n]||b["dayPeriods-format-wide-"+n];break;case "h":case "H":case "K":case "k":k=a.getHours();switch(n){case "h":l=
  225. k%12||12;break;case "H":l=k;break;case "K":l=k%12;break;case "k":l=k||24}k=!0;break;case "m":l=a.getMinutes();k=!0;break;case "s":l=a.getSeconds();k=!0;break;case "S":l=Math.round(a.getMilliseconds()*Math.pow(10,e-3));k=!0;break;case "v":case "z":if(l=r._getZone(a,!0,c))break;e=4;case "Z":n=r._getZone(a,!1,c);n=[0>=n?"+":"-",d.pad(Math.floor(Math.abs(n)/60),2),d.pad(Math.abs(n)%60,2)];4==e&&(n.splice(0,0,"GMT"),n.splice(3,0,":"));l=n.join("");break;default:throw Error("dojo.date.locale.format: invalid pattern char: "+
  226. f);}k&&(l=d.pad(l,e));return l})}function n(a,b,c,d){var f=function(a){return a};b=b||f;c=c||f;d=d||f;var e=a.match(/(''|[^'])+/g),l="'"==a.charAt(0);p.forEach(e,function(a,d){a?(e[d]=(l?c:b)(a.replace(/''/g,"'")),l=!l):e[d]=""});return d(e.join(""))}function f(a,c,d,f){f=b.escapeString(f);d.strict||(f=f.replace(" a"," ?a"));return f.replace(/([a-z])\1*/ig,function(b){var f;f=b.charAt(0);var e=b.length,l="",k="";d.strict?(1<e&&(l="0{"+(e-1)+"}"),2<e&&(k="0{"+(e-2)+"}")):(l="0?",k="0{0,2}");switch(f){case "y":f=
  227. "\\d{2,4}";break;case "M":case "L":f=2<e?"\\S+?":"1[0-2]|"+l+"[1-9]";break;case "D":f="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+l+"[1-9][0-9]|"+k+"[1-9]";break;case "d":f="3[01]|[12]\\d|"+l+"[1-9]";break;case "w":f="[1-4][0-9]|5[0-3]|"+l+"[1-9]";break;case "E":case "e":case "c":f=".+?";break;case "h":f="1[0-2]|"+l+"[1-9]";break;case "k":f="1[01]|"+l+"\\d";break;case "H":f="1\\d|2[0-3]|"+l+"\\d";break;case "K":f="1\\d|2[0-4]|"+l+"[1-9]";break;case "m":case "s":f="[0-5]\\d";break;case "S":f="\\d{"+e+"}";
  228. break;case "a":e=d.am||c["dayPeriods-format-wide-am"];l=d.pm||c["dayPeriods-format-wide-pm"];f=e+"|"+l;d.strict||(e!=e.toLowerCase()&&(f+="|"+e.toLowerCase()),l!=l.toLowerCase()&&(f+="|"+l.toLowerCase()),-1!=f.indexOf(".")&&(f+="|"+f.replace(/\./g,"")));f=f.replace(/\./g,"\\.");break;default:f=".*"}a&&a.push(b);return"("+f+")"}).replace(/[\xa0 ]/g,"[\\s\\xa0]")}var r={};k.setObject(u.id.replace(/\//g,"."),r);r._getZone=function(a,b,c){return b?e.getTimezoneName(a):a.getTimezoneOffset()};r.format=
  229. function(a,b){b=b||{};var d=c.normalizeLocale(b.locale),f=b.formatLength||"short",d=r._getGregorianBundle(d),e=[],q=k.hitch(this,l,a,d,b);if("year"==b.selector)return n(d["dateFormatItem-yyyy"]||"yyyy",q);var z;"date"!=b.selector&&(z=b.timePattern||d["timeFormat-"+f])&&e.push(n(z,q));"time"!=b.selector&&(z=b.datePattern||d["dateFormat-"+f])&&e.push(n(z,q));return 1==e.length?e[0]:d["dateTimeFormat-"+f].replace(/\'/g,"").replace(/\{(\d+)\}/g,function(a,b){return e[b]})};r.regexp=function(a){return r._parseInfo(a).regexp};
  230. r._parseInfo=function(a){a=a||{};var b=c.normalizeLocale(a.locale),b=r._getGregorianBundle(b),d=a.formatLength||"short",e=a.datePattern||b["dateFormat-"+d],l=a.timePattern||b["timeFormat-"+d],d="date"==a.selector?e:"time"==a.selector?l:b["dateTimeFormat-"+d].replace(/\{(\d+)\}/g,function(a,b){return[l,e][b]}),q=[];return{regexp:n(d,k.hitch(this,f,q,b,a)),tokens:q,bundle:b}};r.parse=function(a,b){var c=/[\u200E\u200F\u202A\u202E]/g,d=r._parseInfo(b),f=d.tokens,l=d.bundle,c=RegExp("^"+d.regexp.replace(c,
  231. "")+"$",d.strict?"":"i").exec(a&&a.replace(c,""));if(!c)return null;var k=["abbr","wide","narrow"],n=[1970,0,1,0,0,0,0],I="",c=p.every(c,function(a,c){if(!c)return!0;var d=f[c-1],e=d.length,d=d.charAt(0);switch(d){case "y":if(2!=e&&b.strict)n[0]=a;else if(100>a)a=Number(a),d=""+(new Date).getFullYear(),e=100*d.substring(0,2),d=Math.min(Number(d.substring(2,4))+20,99),n[0]=a<d?e+a:e-100+a;else{if(b.strict)return!1;n[0]=a}break;case "M":case "L":if(2<e){if(e=l["months-"+("L"==d?"standAlone":"format")+
  232. "-"+k[e-3]].concat(),b.strict||(a=a.replace(".","").toLowerCase(),e=p.map(e,function(a){return a.replace(".","").toLowerCase()})),a=p.indexOf(e,a),-1==a)return!1}else a--;n[1]=a;break;case "E":case "e":case "c":e=l["days-"+("c"==d?"standAlone":"format")+"-"+k[e-3]].concat();b.strict||(a=a.toLowerCase(),e=p.map(e,function(a){return a.toLowerCase()}));a=p.indexOf(e,a);if(-1==a)return!1;break;case "D":n[1]=0;case "d":n[2]=a;break;case "a":e=b.am||l["dayPeriods-format-wide-am"];d=b.pm||l["dayPeriods-format-wide-pm"];
  233. if(!b.strict){var r=/\./g;a=a.replace(r,"").toLowerCase();e=e.replace(r,"").toLowerCase();d=d.replace(r,"").toLowerCase()}if(b.strict&&a!=e&&a!=d)return!1;I=a==d?"p":a==e?"a":"";break;case "K":24==a&&(a=0);case "h":case "H":case "k":if(23<a)return!1;n[3]=a;break;case "m":n[4]=a;break;case "s":n[5]=a;break;case "S":n[6]=a}return!0}),d=+n[3];"p"===I&&12>d?n[3]=d+12:"a"===I&&12==d&&(n[3]=0);d=new Date(n[0],n[1],n[2],n[3],n[4],n[5],n[6]);b.strict&&d.setFullYear(n[0]);var q=f.join(""),z=-1!=q.indexOf("d"),
  234. q=-1!=q.indexOf("M");if(!c||q&&d.getMonth()>n[1]||z&&d.getDate()>n[2])return null;if(q&&d.getMonth()<n[1]||z&&d.getDate()<n[2])d=e.add(d,"hour",1);return d};var z=[];r.addCustomFormats=function(a,b){z.push({pkg:a,name:b})};r._getGregorianBundle=function(a){var b={};p.forEach(z,function(d){d=c.getLocalization(d.pkg,d.name,a);b=k.mixin(b,d)},this);return b};r.addCustomFormats(u.id.replace(/\/date\/locale$/,".cldr"),"gregorian");r.getNames=function(a,b,c,d){var f;d=r._getGregorianBundle(d);a=[a,c,b];
  235. "standAlone"==c&&(c=a.join("-"),f=d[c],1==f[0]&&(f=void 0));a[1]="format";return(f||d[a.join("-")]).concat()};r.isWeekend=function(a,b){var c=q.getWeekend(b),d=(a||new Date).getDay();c.end<c.start&&(c.end+=7,d<c.start&&(d+=7));return d>=c.start&&d<=c.end};r._getDayOfYear=function(a){return e.difference(new Date(a.getFullYear(),0,1,a.getHours()),a)+1};r._getWeekOfYear=function(a,b){1==arguments.length&&(b=0);var c=(new Date(a.getFullYear(),0,1)).getDay(),d=Math.floor((r._getDayOfYear(a)+(c-b+7)%7-
  236. 1)/7);c==b&&d++;return d};return r})},"dojo/date":function(){C(["./has","./_base/lang"],function(k,p){var e={getDaysInMonth:function(k){var c=k.getMonth();return 1==c&&e.isLeapYear(k)?29:[31,28,31,30,31,30,31,31,30,31,30,31][c]},isLeapYear:function(e){e=e.getFullYear();return!(e%400)||!(e%4)&&!!(e%100)},getTimezoneName:function(e){var c=e.toString(),b="",d=c.indexOf("(");if(-1<d)b=c.substring(++d,c.indexOf(")"));else if(d=/([A-Z\/]+) \d{4}$/,c=c.match(d))b=c[1];else if(c=e.toLocaleString(),d=/ ([A-Z\/]+)$/,
  237. c=c.match(d))b=c[1];return"AM"==b||"PM"==b?"":b},compare:function(e,c,b){e=new Date(+e);c=new Date(+(c||new Date));"date"==b?(e.setHours(0,0,0,0),c.setHours(0,0,0,0)):"time"==b&&(e.setFullYear(0,0,0),c.setFullYear(0,0,0));return e>c?1:e<c?-1:0},add:function(e,c,b){var d=new Date(+e),a=!1,k="Date";switch(c){case "day":break;case "weekday":var l;(c=b%5)?l=parseInt(b/5):(c=0<b?5:-5,l=0<b?(b-5)/5:(b+5)/5);var n=e.getDay(),f=0;6==n&&0<b?f=1:0==n&&0>b&&(f=-1);n+=c;if(0==n||6==n)f=0<b?2:-2;b=7*l+c+f;break;
  238. case "year":k="FullYear";a=!0;break;case "week":b*=7;break;case "quarter":b*=3;case "month":a=!0;k="Month";break;default:k="UTC"+c.charAt(0).toUpperCase()+c.substring(1)+"s"}if(k)d["set"+k](d["get"+k]()+b);a&&d.getDate()<e.getDate()&&d.setDate(0);return d},difference:function(k,c,b){c=c||new Date;b=b||"day";var d=c.getFullYear()-k.getFullYear(),a=1;switch(b){case "quarter":k=k.getMonth();c=c.getMonth();k=Math.floor(k/3)+1;c=Math.floor(c/3)+1;a=c+4*d-k;break;case "weekday":d=Math.round(e.difference(k,
  239. c,"day"));b=parseInt(e.difference(k,c,"week"));a=d%7;if(0==a)d=5*b;else{var p=0,l=k.getDay();c=c.getDay();b=parseInt(d/7);a=d%7;k=new Date(k);k.setDate(k.getDate()+7*b);k=k.getDay();if(0<d)switch(!0){case 6==l:p=-1;break;case 0==l:p=0;break;case 6==c:p=-1;break;case 0==c:p=-2;break;case 5<k+a:p=-2}else if(0>d)switch(!0){case 6==l:p=0;break;case 0==l:p=1;break;case 6==c:p=2;break;case 0==c:p=1;break;case 0>k+a:p=2}d=d+p-2*b}a=d;break;case "year":a=d;break;case "month":a=c.getMonth()-k.getMonth()+12*
  240. d;break;case "week":a=parseInt(e.difference(k,c,"day")/7);break;case "day":a/=24;case "hour":a/=60;case "minute":a/=60;case "second":a/=1E3;case "millisecond":a*=c.getTime()-k.getTime()}return Math.round(a)}};p.mixin(p.getObject("dojo.date",!0),e);return e})},"dojo/cldr/supplemental":function(){C(["../_base/lang","../i18n"],function(k,p){var e={};k.setObject("dojo.cldr.supplemental",e);e.getFirstDayOfWeek=function(k){k={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6,
  241. sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0}[e._region(k)];return void 0===k?1:k};e._region=function(e){e=p.normalizeLocale(e);e=e.split("-");var c=e[1];c?4==c.length&&(c=e[2]):c={aa:"et",ab:"ge",af:"za",ak:"gh",am:"et",ar:"eg",as:"in",
  242. av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",is:"is",it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua",
  243. jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",rn:"bi",ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in",
  244. se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",bem:"zm",bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in",
  245. bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",gil:"ki",gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke",
  246. gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",lis:"cn",lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke",
  247. luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",sah:"ru",saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz",
  248. scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",war:"ph",xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm",
  249. zza:"tr"}[e[0]];return c};e.getWeekend=function(k){var c=e._region(k);k={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5}[c];c={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6}[c];void 0===k&&(k=6);void 0===c&&(c=0);return{start:k,end:c}};return e})},"dojo/selector/lite":function(){C(["../has","../_base/kernel"],function(k,p){var e=document.createElement("div"),q=e.matchesSelector||e.webkitMatchesSelector||
  250. e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector,c=e.querySelectorAll,b=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;k.add("dom-matches-selector",!!q);k.add("dom-qsa",!!c);var d=function(b,f){if(l&&-1<b.indexOf(","))return l(b,f);var e=f?f.ownerDocument||f:p.doc||document,k=(c?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(b);f=f||e;if(k){if(k[2]){var s=p.byId?p.byId(k[2],e):e.getElementById(k[2]);if(!s||
  251. k[1]&&k[1]!=s.tagName.toLowerCase())return[];if(f!=e)for(e=s;e!=f;)if(e=e.parentNode,!e)return[];return k[3]?d(k[3],s):[s]}if(k[3]&&f.getElementsByClassName)return f.getElementsByClassName(k[4]);if(k[5])if(s=f.getElementsByTagName(k[5]),k[4]||k[6])b=(k[4]||"")+k[6];else return s}if(c)return 1===f.nodeType&&"object"!==f.nodeName.toLowerCase()?a(f,b,f.querySelectorAll):f.querySelectorAll(b);s||(s=f.getElementsByTagName("*"));for(var k=[],e=0,q=s.length;e<q;e++){var B=s[e];1==B.nodeType&&u(B,b,f)&&k.push(B)}return k},
  252. a=function(a,c,d){var e=a,l=a.getAttribute("id"),k=l||"__dojo__",p=a.parentNode,q=/^\s*[+~]/.test(c);if(q&&!p)return[];l?k=k.replace(/'/g,"\\$&"):a.setAttribute("id",k);q&&p&&(a=a.parentNode);c=c.match(b);for(p=0;p<c.length;p++)c[p]="[id='"+k+"'] "+c[p];c=c.join(",");try{return d.call(a,c)}finally{l||e.removeAttribute("id")}};if(!k("dom-matches-selector"))var u=function(){function a(b,c,d){var f=c.charAt(0);if('"'==f||"'"==f)c=c.slice(1,-1);c=c.replace(/\\/g,"");var e=p[d||""];return function(a){return(a=
  253. a.getAttribute(b))&&e(a,c)}}function b(a){return function(b,c){for(;(b=b.parentNode)!=c;)if(a(b,c))return!0}}function c(a){return function(b,c){b=b.parentNode;return a?b!=c&&a(b,c):b==c}}function d(a,b){return a?function(c,d){return b(c)&&a(c,d)}:b}var l="div"==e.tagName?"toLowerCase":"toUpperCase",k={"":function(a){a=a[l]();return function(b){return b.tagName==a}},".":function(a){var b=" "+a+" ";return function(c){return-1<c.className.indexOf(a)&&-1<(" "+c.className+" ").indexOf(b)}},"#":function(a){return function(b){return b.id==
  254. a}}},p={"^=":function(a,b){return 0==a.indexOf(b)},"*=":function(a,b){return-1<a.indexOf(b)},"$=":function(a,b){return a.substring(a.length-b.length,a.length)==b},"~=":function(a,b){return-1<(" "+a+" ").indexOf(" "+b+" ")},"|=":function(a,b){return 0==(a+"-").indexOf(b+"-")},"=":function(a,b){return a==b},"":function(a,b){return!0}},q={};return function(e,l,p){var s=q[l];if(!s){if(l.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,
  255. function(e,l,p,w,q,u,B){w?s=d(s,k[p||""](w.replace(/\\/g,""))):l?s=(" "==l?b:c)(s):q&&(s=d(s,a(q,B,u)));return""}))throw Error("Syntax error in query");if(!s)return!0;q[l]=s}return s(e,p)}}();if(!k("dom-qsa"))var l=function(a,c){for(var e=a.match(b),l=[],k=0;k<e.length;k++){a=new String(e[k].replace(/\s*$/,""));a.indexOf=escape;for(var p=d(a,c),q=0,u=p.length;q<u;q++){var C=p[q];l[C.sourceIndex]=C}}e=[];for(k in l)e.push(l[k]);return e};d.match=q?function(b,c,d){return d&&9!=d.nodeType?a(d,c,function(a){return q.call(b,
  256. a)}):q.call(b,c)}:u;return d})},"dojox/gfx":function(){C(["dojo/_base/lang","./gfx/_base","./gfx/renderer!"],function(k,p,e){p.switchTo(e);return p})},"dojox/gfx/renderer":function(){C(["./_base","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/config"],function(k,p,e,q,c){var b=null;e.add("vml",function(b,a,c){c.innerHTML='<v:shape adj="1"/>';b="adj"in c.firstChild;c.innerHTML="";return b});return{load:function(d,a,u){function l(){a(["dojox/gfx/"+n],function(a){k.renderer=n;b=
  257. a;u(a)})}if(b&&"force"!=d)u(b);else{var n=c.forceGfxRenderer;d=!n&&(p.isString(c.gfxRenderer)?c.gfxRenderer:"svg,vml,canvas,silverlight").split(",");for(var f,r;!n&&d.length;)switch(d.shift()){case "svg":"SVGAngle"in q.global&&(n="svg");break;case "vml":e("vml")&&(n="vml");break;case "silverlight":try{e("ie")?(f=new ActiveXObject("AgControl.AgControl"))&&f.IsVersionSupported("1.0")&&(r=!0):navigator.plugins["Silverlight Plug-In"]&&(r=!0)}catch(z){r=!1}finally{f=null}r&&(n="silverlight");break;case "canvas":q.global.CanvasRenderingContext2D&&
  258. (n="canvas")}"canvas"===n&&!1!==c.canvasEvents&&(n="canvasWithEvents");c.isDebug&&console.log("gfx renderer = "+n);"svg"==n&&"undefined"!=typeof window.svgweb?window.svgweb.addOnLoad(l):l()}}}})},"dojox/date/timezone":function(){C(["dojo","dojo/date","dojo/date/locale","dojo/_base/array","dojo/_base/xhr"],function(k,p,e){function q(a){a=a||{};A=k.mixin(A,a.zones||{});D=k.mixin(D,a.rules||{})}function c(a){G[a]=!0;k.xhrGet({url:da.toUrl((s.timezoneFileBasePath||"dojox/date/zoneinfo")+"/"+a),sync:!0,
  259. handleAs:"olson-zoneinfo",load:q,error:function(a){console.error("Error loading zone file:",a);throw a;}})}function b(a){throw Error('Timezone "'+a+'" is either incorrect, or not loaded in the timezone registry.');}function d(a){var f=W[a];if(!f&&(f=a.split("/")[0],f=w[f],!f)){var e=A[a];if("string"==typeof e)return d(e);if(G.backward)b(a);else return c("backward"),d(a)}return f}function a(a){a=a.match(/(\d+)(?::0*(\d*))?(?::0*(\d*))?([su])?$/);if(!a)return null;a[1]=parseInt(a[1],10);a[2]=a[2]?parseInt(a[2],
  260. 10):0;a[3]=a[3]?parseInt(a[3],10):0;return a}function u(a,b,c,d,f,e,l){return Date.UTC(a,b,c,d,f,e)+6E4*(l||0)}function l(b){var c=a(b);if(null===c)return 0;c=(0===b.indexOf("-")?-1:1)*1E3*(60*(60*c[1]+c[2])+c[3]);return-c/60/1E3}function n(b,c,d){var f=P[b[3].substr(0,3).toLowerCase()],e=b[4],l=a(b[5]);"u"==l[4]&&(d=0);if(isNaN(e)){if("last"==e.substr(0,4))return e=K[e.substr(4,3).toLowerCase()],b=new Date(u(c,f+1,1,l[1]-24,l[2],l[3],d)),d=p.add(b,"minute",-d).getUTCDay(),e=e>d?e-d-7:e-d,0!==e&&
  261. (b=p.add(b,"hour",24*e)),b;e=K[e.substr(0,3).toLowerCase()];if("undefined"!=e){if(">="==b[4].substr(3,2))return b=new Date(u(c,f,parseInt(b[4].substr(5),10),l[1],l[2],l[3],d)),d=p.add(b,"minute",-d).getUTCDay(),e=e<d?e-d+7:e-d,0!==e&&(b=p.add(b,"hour",24*e)),b;if("<="==e.substr(3,2))return b=new Date(u(c,f,parseInt(b[4].substr(5),10),l[1],l[2],l[3],d)),d=p.add(b,"minute",-d).getUTCDay(),e=e>d?e-d-7:e-d,0!==e&&(b=p.add(b,"hour",24*e)),b}}else return b=new Date(u(c,f,parseInt(e,10),l[1],l[2],l[3],d));
  262. return null}function f(a,b){var c=[];k.forEach(D[a[1]]||[],function(d){for(var f=0;2>f;f++)switch(d[f]){case "min":d[f]=B;break;case "max":d[f]=C;break;case "only":break;default:if(d[f]=parseInt(d[f],10),isNaN(d[f]))throw Error("Invalid year found on rule");}"string"==typeof d[6]&&(d[6]=l(d[6]));(d[0]<=b&&d[1]>=b||d[0]==b&&"only"==d[1])&&c.push({r:d,d:n(d,b,a[0])})});return c}function r(b,c){for(var d=y[b]=[],e=0;e<c.length;e++){var w=c[e],r=d[e]=[],I=null,s=null,z=[];"string"==typeof w[0]&&(w[0]=
  263. l(w[0]));0===e?r[0]=Date.UTC(B,0,1,0,0,0,0):(r[0]=d[e-1][1],I=c[e-1],s=d[e-1],z=s[2]);for(var q=(new Date(r[0])).getUTCFullYear(),W=w[3]?parseInt(w[3],10):C,v=[];q<=W;q++)v=v.concat(f(w,q));v.sort(function(a,b){return p.compare(a.d,b.d)});var O,q=0;for(O;O=v[q];q++)W=0<q?v[q-1]:null,0>O.r[5].indexOf("u")&&0>O.r[5].indexOf("s")&&(0===q&&0<e?z.length?O.d=p.add(O.d,"minute",z[z.length-1].r[6]):0===p.compare(new Date(s[1]),O.d,"date")?O.d=new Date(s[1]):O.d=p.add(O.d,"minute",l(I[1])):0<q&&(O.d=p.add(O.d,
  264. "minute",W.r[6])));r[2]=v;if(w[3]){var s=parseInt(w[3],10),z=P[(w[4]||"Jan").substr(0,3).toLowerCase()],W=parseInt(w[5]||"1",10),I=a(w[6]||"0"),K=r[1]=u(s,z,W,I[1],I[2],I[3],"u"==I[4]?0:w[0]);isNaN(K)&&(K=r[1]=n([0,0,0,w[4],w[5],w[6]||"0"],s,"u"==I[4]?0:w[0]).getTime());s=k.filter(v,function(a,b){var c=0<b?6E4*v[b-1].r[6]:0;return a.d.getTime()<K+c});"u"!=I[4]&&"s"!=I[4]&&(r[1]=s.length?r[1]+6E4*s[s.length-1].r[6]:r[1]+6E4*l(w[1]))}else r[1]=Date.UTC(C,11,31,23,59,59,999)}}function z(a,d){for(var f=
  265. d,e=A[f];"string"==typeof e;)f=e,e=A[f];if(!e){if(!G.backward)return c("backward",!0),z(a,d);b(f)}y[d]||r(d,e);for(var f=y[d],l=a.getTime(),k=0,w;w=f[k];k++)if(l>=w[0]&&l<w[1])return{zone:e[k],range:f[k],idx:k};throw Error('No Zone found for "'+d+'" on '+a);}k.experimental("dojox.date.timezone");k.getObject("date.timezone",!0,dojox);var s=k.config,v="africa antarctica asia australasia backward etcetera europe northamerica pacificnew southamerica".split(" "),B=1835,C=2038,G={},A={},y={},D={},I=s.timezoneLoadingScheme||
  266. "preloadAll",v=s.defaultZoneFile||("preloadAll"==I?v:"northamerica");k._contentHandlers["olson-zoneinfo"]=function(a){a=k._contentHandlers.text(a).split("\n");for(var b=[],c="",d=null,c=null,f={zones:{},rules:{}},e=0;e<a.length;e++)if(b=a[e],b.match(/^\s/)&&(b="Zone "+d+b),b=b.split("#")[0],3<b.length)switch(b=b.split(/\s+/),c=b.shift(),c){case "Zone":d=b.shift();b[0]&&(f.zones[d]||(f.zones[d]=[]),f.zones[d].push(b));break;case "Rule":c=b.shift();f.rules[c]||(f.rules[c]=[]);f.rules[c].push(b);break;
  267. case "Link":if(f.zones[b[1]])throw Error("Error with Link "+b[1]);f.zones[b[1]]=b[0]}return f};var P={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},K={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6},w={EST:"northamerica",MST:"northamerica",HST:"northamerica",EST5EDT:"northamerica",CST6CDT:"northamerica",MST7MDT:"northamerica",PST8PDT:"northamerica",America:"northamerica",Pacific:"australasia",Atlantic:"europe",Africa:"africa",Indian:"africa",Antarctica:"antarctica",Asia:"asia",
  268. Australia:"australasia",Europe:"europe",WET:"europe",CET:"europe",MET:"europe",EET:"europe"},W={"Pacific/Honolulu":"northamerica","Atlantic/Bermuda":"northamerica","Atlantic/Cape_Verde":"africa","Atlantic/St_Helena":"africa","Indian/Kerguelen":"antarctica","Indian/Chagos":"asia","Indian/Maldives":"asia","Indian/Christmas":"australasia","Indian/Cocos":"australasia","America/Danmarkshavn":"europe","America/Scoresbysund":"europe","America/Godthab":"europe","America/Thule":"europe","Asia/Yekaterinburg":"europe",
  269. "Asia/Omsk":"europe","Asia/Novosibirsk":"europe","Asia/Krasnoyarsk":"europe","Asia/Irkutsk":"europe","Asia/Yakutsk":"europe","Asia/Vladivostok":"europe","Asia/Sakhalin":"europe","Asia/Magadan":"europe","Asia/Kamchatka":"europe","Asia/Anadyr":"europe","Africa/Ceuta":"europe","America/Argentina/Buenos_Aires":"southamerica","America/Argentina/Cordoba":"southamerica","America/Argentina/Tucuman":"southamerica","America/Argentina/La_Rioja":"southamerica","America/Argentina/San_Juan":"southamerica","America/Argentina/Jujuy":"southamerica",
  270. "America/Argentina/Catamarca":"southamerica","America/Argentina/Mendoza":"southamerica","America/Argentina/Rio_Gallegos":"southamerica","America/Argentina/Ushuaia":"southamerica","America/Aruba":"southamerica","America/La_Paz":"southamerica","America/Noronha":"southamerica","America/Belem":"southamerica","America/Fortaleza":"southamerica","America/Recife":"southamerica","America/Araguaina":"southamerica","America/Maceio":"southamerica","America/Bahia":"southamerica","America/Sao_Paulo":"southamerica",
  271. "America/Campo_Grande":"southamerica","America/Cuiaba":"southamerica","America/Porto_Velho":"southamerica","America/Boa_Vista":"southamerica","America/Manaus":"southamerica","America/Eirunepe":"southamerica","America/Rio_Branco":"southamerica","America/Santiago":"southamerica","Pacific/Easter":"southamerica","America/Bogota":"southamerica","America/Curacao":"southamerica","America/Guayaquil":"southamerica","Pacific/Galapagos":"southamerica","Atlantic/Stanley":"southamerica","America/Cayenne":"southamerica",
  272. "America/Guyana":"southamerica","America/Asuncion":"southamerica","America/Lima":"southamerica","Atlantic/South_Georgia":"southamerica","America/Paramaribo":"southamerica","America/Port_of_Spain":"southamerica","America/Montevideo":"southamerica","America/Caracas":"southamerica"},O={US:"S",Chatham:"S",NZ:"S",NT_YK:"S",Edm:"S",Salv:"S",Canada:"S",StJohns:"S",TC:"S",Guat:"S",Mexico:"S",Haiti:"S",Barb:"S",Belize:"S",CR:"S",Moncton:"S",Swift:"S",Hond:"S",Thule:"S",NZAQ:"S",Zion:"S",ROK:"S",PRC:"S",Taiwan:"S",
  273. Ghana:"GMT",SL:"WAT",Chicago:"S",Detroit:"S",Vanc:"S",Denver:"S",Halifax:"S",Cuba:"S",Indianapolis:"S",Starke:"S",Marengo:"S",Pike:"S",Perry:"S",Vincennes:"S",Pulaski:"S",Louisville:"S",CA:"S",Nic:"S",Menominee:"S",Mont:"S",Bahamas:"S",NYC:"S",Regina:"S",Resolute:"ES",DR:"S",Toronto:"S",Winn:"S"};k.setObject("dojox.date.timezone",{getTzInfo:function(a,b){if("lazyLoad"==I){var f=d(b);if(f)G[f]||c(f);else throw Error("Not a valid timezone ID.");}var e=z(a,b),f=e.zone[0],k;var w=-1;k=e.range[2]||[];
  274. for(var n=a.getTime(),r=0,p;p=k[r];r++)n>=p.d.getTime()&&(w=r);k=0<=w?k[w].r:null;f=k?f+k[6]:D[e.zone[1]]&&0<e.idx?f+l(A[b][e.idx-1][1]):f+l(e.zone[1]);n=e.zone;w=n[2];-1<w.indexOf("%s")?(k?(e=k[7],"-"==e&&(e="")):n[1]in O?e=O[n[1]]:0<e.idx?(e=A[b][e.idx-1][2],e=0>e.indexOf("%s")?w.replace("%s","S")==e?"S":"":""):e="",e=w.replace("%s",e)):-1<w.indexOf("/")?(e=w.split("/"),e=k?e[0===k[6]?0:1]:e[0]):e=w;return{tzOffset:f,tzAbbr:e}},loadZoneData:function(a){q(a)},getAllZones:function(){var a=[],b;for(b in A)a.push(b);
  275. a.sort();return a}});"string"==typeof v&&v&&(v=[v]);k.isArray(v)&&k.forEach(v,c);var fa=e.format,ia=e._getZone;e.format=function(a,b){b=b||{};b.timezone&&!b._tzInfo&&(b._tzInfo=dojox.date.timezone.getTzInfo(a,b.timezone));if(b._tzInfo){var c=a.getTimezoneOffset()-b._tzInfo.tzOffset;a=new Date(a.getTime()+6E4*c)}return fa.call(this,a,b)};e._getZone=function(a,b,c){return c._tzInfo?b?c._tzInfo.tzAbbr:c._tzInfo.tzOffset:ia.call(this,a,b,c)}})},"dojox/gfx/_gfxBidiSupport":function(){C("./_base dojo/_base/lang dojo/_base/sniff dojo/dom dojo/_base/html dojo/_base/array ./utils ./shape ./path dojox/string/BidiEngine".split(" "),
  276. function(k,p,e,q,c,b,d,a,u,l){function n(a,b){var c=f(b);c&&k.utils.forEach(a,function(a){if(a instanceof k.Surface||a instanceof k.Group)a.textDir=c;a instanceof k.Text&&a.setShape({textDir:c});a instanceof k.TextPath&&a.setText({textDir:c})},a);return a}function f(a){var c=["ltr","rtl","auto"];return a&&(a=a.toLowerCase(),0>b.indexOf(c,a))?null:a}p.getObject("dojox.gfx._gfxBidiSupport",!0);switch(k.renderer){case "vml":k.isVml=!0;break;case "svg":k.isSvg=!0;k.svg.useSvgWeb&&(k.isSvgWeb=!0);break;
  277. case "silverlight":k.isSilverlight=!0;break;case "canvas":case "canvasWithEvents":k.isCanvas=!0}var r=new l;p.extend(k.shape.Surface,{textDir:"",setTextDir:function(a){n(this,a)},getTextDir:function(){return this.textDir}});p.extend(k.Group,{textDir:"",setTextDir:function(a){n(this,a)},getTextDir:function(){return this.textDir}});p.extend(k.Text,{textDir:"",formatText:function(a,b){if(b&&a&&1<a.length){var c="ltr",d=b;if("auto"==d){if(k.isVml)return a;d=r.checkContextual(a)}if(k.isVml)return c=r.checkContextual(a),
  278. d!=c?"rtl"==d?!r.hasBidiChar(a)?r.bidiTransform(a,"IRNNN","ILNNN"):"\u200f\u200f"+a:"\u200e"+a:a;if(k.isSvgWeb)return"rtl"==d?r.bidiTransform(a,"IRNNN","ILNNN"):a;if(k.isSilverlight)return"rtl"==d?r.bidiTransform(a,"IRNNN","VLYNN"):r.bidiTransform(a,"ILNNN","VLYNN");if(k.isCanvas)return"rtl"==d?"\u202b"+a+"\u202c":"\u202a"+a+"\u202c";if(k.isSvg)return 4>e("ff")?"rtl"==d?r.bidiTransform(a,"IRYNN","VLNNN"):r.bidiTransform(a,"ILYNN","VLNNN"):"\u200e"+("rtl"==d?"\u202b":"\u202a")+a+"\u202c"}return a},
  279. bidiPreprocess:function(a){return a}});p.extend(k.TextPath,{textDir:"",formatText:function(a,b){if(b&&a&&1<a.length){var c="ltr",d=b;if("auto"==d){if(k.isVml)return a;d=r.checkContextual(a)}if(k.isVml)return c=r.checkContextual(a),d!=c?"rtl"==d?!r.hasBidiChar(a)?r.bidiTransform(a,"IRNNN","ILNNN"):"\u200f\u200f"+a:"\u200e"+a:a;if(k.isSvgWeb)return"rtl"==d?r.bidiTransform(a,"IRNNN","ILNNN"):a;k.isSvg&&(a=e("opera")||4<=e("ff")?"\u200e"+("rtl"==d?"\u202b":"\u202a")+a+"\u202c":"rtl"==d?r.bidiTransform(a,
  280. "IRYNN","VLNNN"):r.bidiTransform(a,"ILYNN","VLNNN"))}return a},bidiPreprocess:function(a){a&&"string"==typeof a&&(this.origText=a,a=this.formatText(a,this.textDir));return a}});d=function(a,b,c,d){var f=a.prototype[b];a.prototype[b]=function(){var a;c&&(a=c.apply(this,arguments));a=f.call(this,a);d&&(a=d.call(this,a,arguments));return a}};a=function(a){a&&(a.textDir&&(a.textDir=f(a.textDir)),a.text&&a.text instanceof Array&&(a.text=a.text.join(",")));if(a&&(void 0!=a.text||a.textDir)&&(this.textDir!=
  281. a.textDir||a.text!=this.origText))this.origText=void 0!=a.text?a.text:this.origText,a.textDir&&(this.textDir=a.textDir),a.text=this.formatText(this.origText,this.textDir);return this.bidiPreprocess(a)};d(k.Text,"setShape",a,null);d(k.TextPath,"setText",a,null);a=function(a){if((a=p.clone(a))&&this.origText)a.text=this.origText;return a};d(k.Text,"getShape",null,a);d(k.TextPath,"getText",null,a);a=function(a,b){var c;b&&b[0]&&(c=f(b[0]));a.setTextDir(c?c:this.textDir);return a};d(k.Surface,"createGroup",
  282. null,a);d(k.Group,"createGroup",null,a);a=function(a){if(a){var b=a.textDir?f(a.textDir):this.textDir;b&&(a.textDir=b)}return a};d(k.Surface,"createText",a,null);d(k.Surface,"createTextPath",a,null);d(k.Group,"createText",a,null);d(k.Group,"createTextPath",a,null);k.createSurface=function(a,b,d,e){b=k[k.renderer].createSurface(a,b,d);e=f(e);if(k.isSvgWeb)return b.textDir=e?e:c.style(q.byId(a),"direction"),b;if(k.isVml||k.isSvg||k.isCanvas)b.textDir=e?e:c.style(b.rawNode,"direction");k.isSilverlight&&
  283. (b.textDir=e?e:c.style(b._nodes[1],"direction"));return b};return k})},"dojox/gfx/utils":function(){C("dojo/_base/kernel dojo/_base/lang ./_base dojo/_base/html dojo/_base/array dojo/_base/window dojo/_base/json dojo/_base/Deferred dojo/_base/sniff require dojo/_base/config".split(" "),function(k,p,e,q,c,b,d,a,u,l,n){var f=e.utils={};p.mixin(f,{forEach:function(a,b,d){d=d||k.global;b.call(d,a);(a instanceof e.Surface||a instanceof e.Group)&&c.forEach(a.children,function(a){f.forEach(a,b,d)})},serialize:function(a){var b=
  284. {},d;if((d=a instanceof e.Surface)||a instanceof e.Group){if(b.children=c.map(a.children,f.serialize),d)return b.children}else b.shape=a.getShape();if(a.getTransform&&(d=a.getTransform()))b.transform=d;if(a.getStroke&&(d=a.getStroke()))b.stroke=d;if(a.getFill&&(d=a.getFill()))b.fill=d;if(a.getFont&&(d=a.getFont()))b.font=d;return b},toJson:function(a,b){return d.toJson(f.serialize(a),b)},deserialize:function(a,b){if(b instanceof Array)return c.map(b,p.hitch(null,f.deserialize,a));var d="shape"in b?
  285. a.createShape(b.shape):a.createGroup();"transform"in b&&d.setTransform(b.transform);"stroke"in b&&d.setStroke(b.stroke);"fill"in b&&d.setFill(b.fill);"font"in b&&d.setFont(b.font);"children"in b&&c.forEach(b.children,p.hitch(null,f.deserialize,d));return d},fromJson:function(a,b){return f.deserialize(a,d.fromJson(b))},toSvg:function(c){var d=new a;if("svg"===e.renderer)try{var l=f._cleanSvg(f._innerXML(c.rawNode));d.callback(l)}catch(k){d.errback(k)}else{f._initSvgSerializerDeferred||f._initSvgSerializer();
  286. var n=f.toJson(c),l=function(){try{var a=c.getDimensions(),e=a.width,l=a.height,k=f._gfxSvgProxy.document.createElement("div");f._gfxSvgProxy.document.body.appendChild(k);b.withDoc(f._gfxSvgProxy.document,function(){q.style(k,"width",e);q.style(k,"height",l)},this);f._gfxSvgProxy[dojox._scopeName].gfx.createSurface(k,e,l).whenLoaded(null,function(a){try{f._gfxSvgProxy[dojox._scopeName].gfx.utils.fromJson(a,n);var b=f._cleanSvg(k.innerHTML);a.clear();a.destroy();f._gfxSvgProxy.document.body.removeChild(k);
  287. d.callback(b)}catch(c){d.errback(c)}})}catch(p){d.errback(p)}};0<f._initSvgSerializerDeferred.fired?l():f._initSvgSerializerDeferred.addCallback(l)}return d},_gfxSvgProxy:null,_initSvgSerializerDeferred:null,_svgSerializerInitialized:function(){f._initSvgSerializerDeferred.callback(!0)},_initSvgSerializer:function(){if(!f._initSvgSerializerDeferred){f._initSvgSerializerDeferred=new a;var c=b.doc.createElement("iframe");q.style(c,{display:"none",position:"absolute",width:"1em",height:"1em",top:"-10000px"});
  288. var d;u("ie")?c.onreadystatechange=function(){"complete"==c.contentWindow.document.readyState&&(c.onreadystatechange=function(){},d=setInterval(function(){c.contentWindow[k.scopeMap.dojo[1]._scopeName]&&(c.contentWindow[k.scopeMap.dojox[1]._scopeName].gfx&&c.contentWindow[k.scopeMap.dojox[1]._scopeName].gfx.utils)&&(clearInterval(d),c.contentWindow.parent[k.scopeMap.dojox[1]._scopeName].gfx.utils._gfxSvgProxy=c.contentWindow,c.contentWindow.parent[k.scopeMap.dojox[1]._scopeName].gfx.utils._svgSerializerInitialized())},
  289. 50))}:c.onload=function(){c.onload=function(){};d=setInterval(function(){c.contentWindow[k.scopeMap.dojo[1]._scopeName]&&(c.contentWindow[k.scopeMap.dojox[1]._scopeName].gfx&&c.contentWindow[k.scopeMap.dojox[1]._scopeName].gfx.utils)&&(clearInterval(d),c.contentWindow.parent[k.scopeMap.dojox[1]._scopeName].gfx.utils._gfxSvgProxy=c.contentWindow,c.contentWindow.parent[k.scopeMap.dojox[1]._scopeName].gfx.utils._svgSerializerInitialized())},50)};var e=n.dojoxGfxSvgProxyFrameUrl||l.toUrl("dojox/gfx/resources/gfxSvgProxyFrame.html");
  290. c.setAttribute("src",e.toString());b.body().appendChild(c)}},_innerXML:function(a){return a.innerXML?a.innerXML:a.xml?a.xml:"undefined"!=typeof XMLSerializer?(new XMLSerializer).serializeToString(a):null},_cleanSvg:function(a){a&&(-1==a.indexOf('xmlns="http://www.w3.org/2000/svg"')&&(a=a.substring(4,a.length),a='<svg xmlns="http://www.w3.org/2000/svg"'+a),-1==a.indexOf('xmlns:xlink="http://www.w3.org/1999/xlink"')&&(a=a.substring(4,a.length),a='<svg xmlns:xlink="http://www.w3.org/1999/xlink"'+a),
  291. -1===a.indexOf("xlink:href")&&(a=a.replace(/href\s*=/g,"xlink:href=")),a=a.replace(/<img\b([^>]*)>/gi,"<image $1 />"),a=a.replace(/\bdojoGfx\w*\s*=\s*(['"])\w*\1/g,""),a=a.replace(/\b__gfxObject__\s*=\s*(['"])\w*\1/g,""),a=a.replace(/[=]([^"']+?)(\s|>)/g,'="$1"$2'));return a}});return f})},"dojox/gfx/path":function(){C(["./_base","dojo/_base/lang","dojo/_base/declare","./matrix","./shape"],function(k,p,e,q,c){c=e("dojox.gfx.path.Path",c.Shape,{constructor:function(b){this.shape=p.clone(k.defaultPath);
  292. this.segments=[];this.tbbox=null;this.absolute=!0;this.last={};this.rawNode=b;this.segmented=!1},setAbsoluteMode:function(b){this._confirmSegmented();this.absolute="string"==typeof b?"absolute"==b:b;return this},getAbsoluteMode:function(){this._confirmSegmented();return this.absolute},getBoundingBox:function(){this._confirmSegmented();return this.bbox&&"l"in this.bbox?{x:this.bbox.l,y:this.bbox.t,width:this.bbox.r-this.bbox.l,height:this.bbox.b-this.bbox.t}:null},_getRealBBox:function(){this._confirmSegmented();
  293. if(this.tbbox)return this.tbbox;var b=this.bbox,c=this._getRealMatrix();this.bbox=null;for(var a=0,e=this.segments.length;a<e;++a)this._updateWithSegment(this.segments[a],c);c=this.bbox;this.bbox=b;return this.tbbox=c?[{x:c.l,y:c.t},{x:c.r,y:c.t},{x:c.r,y:c.b},{x:c.l,y:c.b}]:null},getLastPosition:function(){this._confirmSegmented();return"x"in this.last?this.last:null},_applyTransform:function(){this.tbbox=null;return this.inherited(arguments)},_updateBBox:function(b,c,a){a&&(c=q.multiplyPoint(a,
  294. b,c),b=c.x,c=c.y);this.bbox&&"l"in this.bbox?(this.bbox.l>b&&(this.bbox.l=b),this.bbox.r<b&&(this.bbox.r=b),this.bbox.t>c&&(this.bbox.t=c),this.bbox.b<c&&(this.bbox.b=c)):this.bbox={l:b,b:c,r:b,t:c}},_updateWithSegment:function(b,c){var a=b.args,e=a.length,l;switch(b.action){case "M":case "L":case "C":case "S":case "Q":case "T":for(l=0;l<e;l+=2)this._updateBBox(a[l],a[l+1],c);this.last.x=a[e-2];this.last.y=a[e-1];this.absolute=!0;break;case "H":for(l=0;l<e;++l)this._updateBBox(a[l],this.last.y,c);
  295. this.last.x=a[e-1];this.absolute=!0;break;case "V":for(l=0;l<e;++l)this._updateBBox(this.last.x,a[l],c);this.last.y=a[e-1];this.absolute=!0;break;case "m":l=0;"x"in this.last||(this._updateBBox(this.last.x=a[0],this.last.y=a[1],c),l=2);for(;l<e;l+=2)this._updateBBox(this.last.x+=a[l],this.last.y+=a[l+1],c);this.absolute=!1;break;case "l":case "t":for(l=0;l<e;l+=2)this._updateBBox(this.last.x+=a[l],this.last.y+=a[l+1],c);this.absolute=!1;break;case "h":for(l=0;l<e;++l)this._updateBBox(this.last.x+=
  296. a[l],this.last.y,c);this.absolute=!1;break;case "v":for(l=0;l<e;++l)this._updateBBox(this.last.x,this.last.y+=a[l],c);this.absolute=!1;break;case "c":for(l=0;l<e;l+=6)this._updateBBox(this.last.x+a[l],this.last.y+a[l+1],c),this._updateBBox(this.last.x+a[l+2],this.last.y+a[l+3],c),this._updateBBox(this.last.x+=a[l+4],this.last.y+=a[l+5],c);this.absolute=!1;break;case "s":case "q":for(l=0;l<e;l+=4)this._updateBBox(this.last.x+a[l],this.last.y+a[l+1],c),this._updateBBox(this.last.x+=a[l+2],this.last.y+=
  297. a[l+3],c);this.absolute=!1;break;case "A":for(l=0;l<e;l+=7)this._updateBBox(a[l+5],a[l+6],c);this.last.x=a[e-2];this.last.y=a[e-1];this.absolute=!0;break;case "a":for(l=0;l<e;l+=7)this._updateBBox(this.last.x+=a[l+5],this.last.y+=a[l+6],c);this.absolute=!1}var n=[b.action];for(l=0;l<e;++l)n.push(k.formatNumber(a[l],!0));"string"==typeof this.shape.path?this.shape.path+=n.join(""):Array.prototype.push.apply(this.shape.path,n)},_validSegments:{m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},_pushSegment:function(b,
  298. c){this.tbbox=null;var a=this._validSegments[b.toLowerCase()];"number"==typeof a&&(a?c.length>=a&&(a={action:b,args:c.slice(0,c.length-c.length%a)},this.segments.push(a),this._updateWithSegment(a)):(a={action:b,args:[]},this.segments.push(a),this._updateWithSegment(a)))},_collectArgs:function(b,c){for(var a=0;a<c.length;++a){var e=c[a];"boolean"==typeof e?b.push(e?1:0):"number"==typeof e?b.push(e):e instanceof Array?this._collectArgs(b,e):"x"in e&&"y"in e&&b.push(e.x,e.y)}},moveTo:function(){this._confirmSegmented();
  299. var b=[];this._collectArgs(b,arguments);this._pushSegment(this.absolute?"M":"m",b);return this},lineTo:function(){this._confirmSegmented();var b=[];this._collectArgs(b,arguments);this._pushSegment(this.absolute?"L":"l",b);return this},hLineTo:function(){this._confirmSegmented();var b=[];this._collectArgs(b,arguments);this._pushSegment(this.absolute?"H":"h",b);return this},vLineTo:function(){this._confirmSegmented();var b=[];this._collectArgs(b,arguments);this._pushSegment(this.absolute?"V":"v",b);
  300. return this},curveTo:function(){this._confirmSegmented();var b=[];this._collectArgs(b,arguments);this._pushSegment(this.absolute?"C":"c",b);return this},smoothCurveTo:function(){this._confirmSegmented();var b=[];this._collectArgs(b,arguments);this._pushSegment(this.absolute?"S":"s",b);return this},qCurveTo:function(){this._confirmSegmented();var b=[];this._collectArgs(b,arguments);this._pushSegment(this.absolute?"Q":"q",b);return this},qSmoothCurveTo:function(){this._confirmSegmented();var b=[];this._collectArgs(b,
  301. arguments);this._pushSegment(this.absolute?"T":"t",b);return this},arcTo:function(){this._confirmSegmented();var b=[];this._collectArgs(b,arguments);this._pushSegment(this.absolute?"A":"a",b);return this},closePath:function(){this._confirmSegmented();this._pushSegment("Z",[]);return this},_confirmSegmented:function(){if(!this.segmented){var b=this.shape.path;this.shape.path=[];this._setPath(b);this.shape.path=this.shape.path.join("");this.segmented=!0}},_setPath:function(b){b=p.isArray(b)?b:b.match(k.pathSvgRegExp);
  302. this.segments=[];this.absolute=!0;this.bbox={};this.last={};if(b){for(var c="",a=[],e=b.length,l=0;l<e;++l){var n=b[l],f=parseFloat(n);isNaN(f)?(c&&this._pushSegment(c,a),a=[],c=n):a.push(f)}this._pushSegment(c,a)}},setShape:function(b){this.inherited(arguments,["string"==typeof b?{path:b}:b]);this.segmented=!1;this.segments=[];k.lazyPathSegmentation||this._confirmSegmented();return this},_2PI:2*Math.PI});e=e("dojox.gfx.path.TextPath",c,{constructor:function(b){"text"in this||(this.text=p.clone(k.defaultTextPath));
  303. "fontStyle"in this||(this.fontStyle=p.clone(k.defaultFont))},getText:function(){return this.text},setText:function(b){this.text=k.makeParameters(this.text,"string"==typeof b?{text:b}:b);this._setText();return this},getFont:function(){return this.fontStyle},setFont:function(b){this.fontStyle="string"==typeof b?k.splitFontString(b):k.makeParameters(k.defaultFont,b);this._setFont();return this}});return k.path={Path:c,TextPath:e}})},"dojox/gfx/silverlight":function(){C("dojo/_base/kernel dojo/_base/lang dojo/_base/declare dojo/_base/Color dojo/on dojo/_base/array dojo/dom-geometry dojo/dom dojo/_base/sniff ./_base ./shape ./path ./registry".split(" "),
  304. function(k,p,e,q,c,b,d,a,u,l,n,f){function r(a){var b=l.normalizeColor(a);a=b.toHex();b=Math.round(255*b.a);b=(0>b?0:255<b?255:b).toString(16);return"#"+(2>b.length?"0"+b:b)+a.slice(1)}function z(a,b){var c={target:a,currentTarget:a,preventDefault:function(){},stopPropagation:function(){}};try{b.source&&(c.target=b.source,c.gfxTarget=n.byId(c.target.tag))}catch(e){}if(b)try{c.ctrlKey=b.ctrl;c.shiftKey=b.shift;var f=b.getPosition(null);c.x=c.offsetX=c.layerX=f.x;c.y=c.offsetY=c.layerY=f.y;var l=D[a.getHost().content.root.name],
  305. k=d.position(l);c.clientX=k.x+f.x;c.clientY=k.y+f.y}catch(I){}return c}function s(a,b){var c={keyCode:b.platformKeyCode,ctrlKey:b.ctrl,shiftKey:b.shift};try{b.source&&(c.target=b.source,c.gfxTarget=n.byId(c.target.tag))}catch(d){}return c}var v=l.silverlight={};k.experimental("dojox.gfx.silverlight");var B={solid:"none",shortdash:[4,1],shortdot:[1,1],shortdashdot:[4,1,1,1],shortdashdotdot:[4,1,1,1,1,1],dot:[1,3],dash:[4,3],longdash:[8,3],dashdot:[4,3,1,3],longdashdot:[8,3,1,3],longdashdotdot:[8,3,
  306. 1,3,1,3]},C={normal:400,bold:700},G={butt:"Flat",round:"Round",square:"Square"},A={bevel:"Bevel",round:"Round"},y={serif:"Times New Roman",times:"Times New Roman","sans-serif":"Arial",helvetica:"Arial",monotone:"Courier New",courier:"Courier New"};v.Shape=e("dojox.gfx.silverlight.Shape",n.Shape,{destroy:function(){u("gfxRegistry")&&n.dispose(this);this.rawNode=null},setFill:function(a){var c=this.rawNode.getHost().content;if(!a)return this.fillStyle=null,this._setFillAttr(null),this;if("object"==
  307. typeof a&&"type"in a){switch(a.type){case "linear":this.fillStyle=a=l.makeParameters(l.defaultLinearGradient,a);var d=c.createFromXaml("<LinearGradientBrush/>");d.mappingMode="Absolute";d.startPoint=a.x1+","+a.y1;d.endPoint=a.x2+","+a.y2;b.forEach(a.colors,function(a){var b=c.createFromXaml("<GradientStop/>");b.offset=a.offset;b.color=r(a.color);d.gradientStops.add(b)});this._setFillAttr(d);break;case "radial":this.fillStyle=a=l.makeParameters(l.defaultRadialGradient,a);var e=c.createFromXaml("<RadialGradientBrush/>"),
  308. f=l.matrix.multiplyPoint(l.matrix.invert(this._getAdjustedMatrix()),a.cx,a.cy),f=f.x+","+f.y;e.mappingMode="Absolute";e.gradientOrigin=f;e.center=f;e.radiusX=e.radiusY=a.r;b.forEach(a.colors,function(a){var b=c.createFromXaml("<GradientStop/>");b.offset=a.offset;b.color=r(a.color);e.gradientStops.add(b)});this._setFillAttr(e);break;case "pattern":this.fillStyle=null,this._setFillAttr(null)}return this}this.fillStyle=a=l.normalizeColor(a);f=c.createFromXaml("<SolidColorBrush/>");f.color=a.toHex();
  309. f.opacity=a.a;this._setFillAttr(f);return this},_setFillAttr:function(a){this.rawNode.fill=a},setStroke:function(a){var b=this.rawNode.getHost().content,c=this.rawNode;if(!a)return this.strokeStyle=null,c.stroke=null,this;if("string"==typeof a||p.isArray(a)||a instanceof q)a={color:a};a=this.strokeStyle=l.makeParameters(l.defaultStroke,a);a.color=l.normalizeColor(a.color);if(a)if(b=b.createFromXaml("<SolidColorBrush/>"),b.color=a.color.toHex(),b.opacity=a.color.a,c.stroke=b,c.strokeThickness=a.width,
  310. c.strokeStartLineCap=c.strokeEndLineCap=c.strokeDashCap=G[a.cap],"number"==typeof a.join?(c.strokeLineJoin="Miter",c.strokeMiterLimit=a.join):c.strokeLineJoin=A[a.join],b=a.style.toLowerCase(),b in B&&(b=B[b]),b instanceof Array){b=p.clone(b);if("butt"!=a.cap){for(a=0;a<b.length;a+=2)--b[a],1>b[a]&&(b[a]=1);for(a=1;a<b.length;a+=2)++b[a]}c.strokeDashArray=b.join(",")}else c.strokeDashArray=null;return this},_getParentSurface:function(){for(var a=this.parent;a&&!(a instanceof l.Surface);a=a.parent);
  311. return a},_applyTransform:function(){var a=this._getAdjustedMatrix(),b=this.rawNode;if(a){var c=this.rawNode.getHost().content,d=c.createFromXaml("<MatrixTransform/>"),c=c.createFromXaml("<Matrix/>");c.m11=a.xx;c.m21=a.xy;c.m12=a.yx;c.m22=a.yy;c.offsetX=a.dx;c.offsetY=a.dy;d.matrix=c;b.renderTransform=d}else b.renderTransform=null;return this},setRawNode:function(a){a.fill=null;a.stroke=null;this.rawNode=a;this.rawNode.tag=this.getUID()},_moveToFront:function(){var a=this.parent.rawNode.children,
  312. b=this.rawNode;a.remove(b);a.add(b);return this},_moveToBack:function(){var a=this.parent.rawNode.children,b=this.rawNode;a.remove(b);a.insert(0,b);return this},_getAdjustedMatrix:function(){return this.matrix},setClip:function(a){this.inherited(arguments);var b=this.rawNode;if(a){var c=a?"width"in a?"rect":"cx"in a?"ellipse":"points"in a?"polyline":"d"in a?"path":null:null;if(a&&!c)return this;var d=this.getBoundingBox()||{x:0,y:0,width:0,height:0},e="1,0,0,1,"+-d.x+","+-d.y;switch(c){case "rect":b.clip=
  313. b.getHost().content.createFromXaml("<RectangleGeometry/>");b.clip.rect=a.x+","+a.y+","+a.width+","+a.height;b.clip.transform=e;break;case "ellipse":b.clip=b.getHost().content.createFromXaml("<EllipseGeometry/>");b.clip.center=a.cx+","+a.cy;b.clip.radiusX=a.rx;b.clip.radiusY=a.ry;b.clip.transform="1,0,0,1,"+-d.x+","+-d.y;break;case "polyline":if(2<a.points.length){var e=b.getHost().content.createFromXaml("<PathGeometry/>"),f=b.getHost().content.createFromXaml("<PathFigure/>");f.StartPoint=a.points[0]+
  314. ","+a.points[1];for(var l=2;l<=a.points.length-2;l+=2)c=b.getHost().content.createFromXaml("<LineSegment/>"),c.Point=a.points[l]+","+a.points[l+1],f.segments.add(c);e.figures.add(f);e.transform="1,0,0,1,"+-d.x+","+-d.y;b.clip=e}}}else b.clip=null;return this}});v.Group=e("dojox.gfx.silverlight.Group",v.Shape,{constructor:function(){n.Container._init.call(this)},setRawNode:function(a){this.rawNode=a;this.rawNode.tag=this.getUID()},destroy:function(){this.clear(!0);v.Shape.prototype.destroy.apply(this,
  315. arguments)}});v.Group.nodeType="Canvas";v.Rect=e("dojox.gfx.silverlight.Rect",[v.Shape,n.Rect],{setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;var b=this.shape;a.width=b.width;a.height=b.height;a.radiusX=a.radiusY=b.r;return this._applyTransform()},_getAdjustedMatrix:function(){var a=this.matrix,b=this.shape,b={dx:b.x,dy:b.y};return new l.Matrix2D(a?[a,b]:b)}});v.Rect.nodeType="Rectangle";v.Ellipse=e("dojox.gfx.silverlight.Ellipse",[v.Shape,n.Ellipse],
  316. {setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;var b=this.shape;a.width=2*b.rx;a.height=2*b.ry;return this._applyTransform()},_getAdjustedMatrix:function(){var a=this.matrix,b=this.shape,b={dx:b.cx-b.rx,dy:b.cy-b.ry};return new l.Matrix2D(a?[a,b]:b)}});v.Ellipse.nodeType="Ellipse";v.Circle=e("dojox.gfx.silverlight.Circle",[v.Shape,n.Circle],{setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;a.width=a.height=
  317. 2*this.shape.r;return this._applyTransform()},_getAdjustedMatrix:function(){var a=this.matrix,b=this.shape,b={dx:b.cx-b.r,dy:b.cy-b.r};return new l.Matrix2D(a?[a,b]:b)}});v.Circle.nodeType="Ellipse";v.Line=e("dojox.gfx.silverlight.Line",[v.Shape,n.Line],{setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;var b=this.shape;a.x1=b.x1;a.y1=b.y1;a.x2=b.x2;a.y2=b.y2;return this}});v.Line.nodeType="Line";v.Polyline=e("dojox.gfx.silverlight.Polyline",[v.Shape,n.Polyline],
  318. {setShape:function(a,b){a&&a instanceof Array?(this.shape=l.makeParameters(this.shape,{points:a}),b&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.shape=l.makeParameters(this.shape,a);this.bbox=null;this._normalizePoints();for(var c=this.shape.points,d=[],e=0;e<c.length;++e)d.push(c[e].x,c[e].y);this.rawNode.points=d.join(",");return this}});v.Polyline.nodeType="Polyline";v.Image=e("dojox.gfx.silverlight.Image",[v.Shape,n.Image],{setShape:function(a){this.shape=l.makeParameters(this.shape,
  319. a);this.bbox=null;a=this.rawNode;var b=this.shape;a.width=b.width;a.height=b.height;a.source=b.src;return this._applyTransform()},_getAdjustedMatrix:function(){var a=this.matrix,b=this.shape,b={dx:b.x,dy:b.y};return new l.Matrix2D(a?[a,b]:b)},setRawNode:function(a){this.rawNode=a;this.rawNode.tag=this.getUID()}});v.Image.nodeType="Image";v.Text=e("dojox.gfx.silverlight.Text",[v.Shape,n.Text],{setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;var b=this.shape;
  320. a.text=""+b.text;a.textDecorations="underline"===b.decoration?"Underline":"None";a["Canvas.Left"]=-1E4;a["Canvas.Top"]=-1E4;this._delay||(this._delay=window.setTimeout(p.hitch(this,"_delayAlignment"),10));return this},_delayAlignment:function(){var a=this.rawNode,b=this.shape,c,d;try{c=a.actualWidth,d=a.actualHeight}catch(e){return}var f=b.x;d=b.y-0.75*d;switch(b.align){case "middle":f-=c/2;break;case "end":f-=c}this._delta={dx:f,dy:d};a["Canvas.Left"]=0;a["Canvas.Top"]=0;this._applyTransform();delete this._delay},
  321. _getAdjustedMatrix:function(){var a=this.matrix,b=this._delta;return new l.Matrix2D(a?b?[a,b]:a:b?b:{})},setStroke:function(){return this},_setFillAttr:function(a){this.rawNode.foreground=a},setRawNode:function(a){this.rawNode=a;this.rawNode.tag=this.getUID()},getTextWidth:function(){return this.rawNode.actualWidth},getBoundingBox:function(){var a=null,b=this.getShape().text,c=this.rawNode,d=0,e=0;if(!l._base._isRendered(this))return{x:0,y:0,width:0,height:0};if(b){try{d=c.actualWidth,e=c.actualHeight}catch(f){return null}a=
  322. l._base._computeTextLocation(this.getShape(),d,e,!0);a={x:a.x,y:a.y,width:d,height:e}}return a}});v.Text.nodeType="TextBlock";v.Path=e("dojox.gfx.silverlight.Path",[v.Shape,f.Path],{_updateWithSegment:function(a){this.inherited(arguments);var b=this.shape.path;"string"==typeof b&&(this.rawNode.data=b?b:null)},setShape:function(a){this.inherited(arguments);var b=this.shape.path;this.rawNode.data=b?b:null;return this}});v.Path.nodeType="Path";v.TextPath=e("dojox.gfx.silverlight.TextPath",[v.Shape,f.TextPath],
  323. {_updateWithSegment:function(a){},setShape:function(a){},_setText:function(){}});v.TextPath.nodeType="text";var D={},I=new Function;v.Surface=e("dojox.gfx.silverlight.Surface",n.Surface,{constructor:function(){n.Container._init.call(this)},destroy:function(){this.clear(!0);window[this._onLoadName]=I;delete D[this._nodeName];this.inherited(arguments)},setDimensions:function(a,b){this.width=l.normalizedLength(a);this.height=l.normalizedLength(b);var c=this.rawNode&&this.rawNode.getHost();c&&(c.width=
  324. a,c.height=b);return this},getDimensions:function(){var a=this.rawNode&&this.rawNode.getHost(),a=a?{width:a.content.actualWidth,height:a.content.actualHeight}:null;0>=a.width&&(a.width=this.width);0>=a.height&&(a.height=this.height);return a}});v.createSurface=function(b,c,e){if(!c&&!e){var f=d.position(b);c=c||f.w;e=e||f.h}"number"==typeof c&&(c+="px");"number"==typeof e&&(e+="px");var k=new v.Surface;b=a.byId(b);k._parent=b;k._nodeName=l._base._getUniqueId();f=b.ownerDocument.createElement("script");
  325. f.type="text/xaml";f.id=l._base._getUniqueId();f.text="<?xml version='1.0'?><Canvas xmlns='http://schemas.microsoft.com/client/2007' Name='"+k._nodeName+"'/>";b.parentNode.insertBefore(f,b);k._nodes.push(f);var n=l._base._getUniqueId(),I="__"+l._base._getUniqueId()+"_onLoad";k._onLoadName=I;window[I]=function(c){k.rawNode||(k.rawNode=a.byId(n,b.ownerDocument).content.root,D[k._nodeName]=b,k.onLoad(k))};f=u("safari")?"<embed type='application/x-silverlight' id='"+n+"' width='"+c+"' height='"+e+" background='transparent' source='#"+
  326. f.id+"' windowless='true' maxFramerate='60' onLoad='"+I+"' onError='__dojoSilverlightError' /><iframe style='visibility:hidden;height:0;width:0'/>":"<object type='application/x-silverlight' data='data:application/x-silverlight,' id='"+n+"' width='"+c+"' height='"+e+"'><param name='background' value='transparent' /><param name='source' value='#"+f.id+"' /><param name='windowless' value='true' /><param name='maxFramerate' value='60' /><param name='onLoad' value='"+I+"' /><param name='onError' value='__dojoSilverlightError' /></object>";
  327. b.innerHTML=f;f=a.byId(n,b.ownerDocument);f.content&&f.content.root?(k.rawNode=f.content.root,D[k._nodeName]=b):(k.rawNode=null,k.isLoaded=!1);k._nodes.push(f);k.width=l.normalizedLength(c);k.height=l.normalizedLength(e);return k};__dojoSilverlightError=function(a,b){};var P=n.Container;k={add:function(a){this!=a.getParent()&&(P.add.apply(this,arguments),this.rawNode.children.add(a.rawNode));return this},remove:function(a,b){if(this==a.getParent()){var c=a.rawNode.getParent();c&&c.children.remove(a.rawNode);
  328. P.remove.apply(this,arguments)}return this},clear:function(){this.rawNode.children.clear();return P.clear.apply(this,arguments)},getBoundingBox:P.getBoundingBox,_moveChildToFront:P._moveChildToFront,_moveChildToBack:P._moveChildToBack};e={createObject:function(a,b){if(!this.rawNode)return null;var c=new a,d=this.rawNode.getHost().content.createFromXaml("<"+a.nodeType+"/>");c.setRawNode(d);c.setShape(b);this.add(c);return c}};p.extend(v.Text,{_setFont:function(){var a=this.fontStyle,b=this.rawNode,
  329. c=a.family.toLowerCase();b.fontStyle="italic"==a.style?"Italic":"Normal";b.fontWeight=a.weight in C?C[a.weight]:a.weight;b.fontSize=l.normalizedLength(a.size);b.fontFamily=c in y?y[c]:a.family;this._delay||(this._delay=window.setTimeout(p.hitch(this,"_delayAlignment"),10))}});p.extend(v.Group,k);p.extend(v.Group,n.Creator);p.extend(v.Group,e);p.extend(v.Surface,k);p.extend(v.Surface,n.Creator);p.extend(v.Surface,e);var K={onclick:{name:"MouseLeftButtonUp",fix:z},onmouseenter:{name:"MouseEnter",fix:z},
  330. onmouseleave:{name:"MouseLeave",fix:z},onmouseover:{name:"MouseEnter",fix:z},onmouseout:{name:"MouseLeave",fix:z},onmousedown:{name:"MouseLeftButtonDown",fix:z},onmouseup:{name:"MouseLeftButtonUp",fix:z},onmousemove:{name:"MouseMove",fix:z},onkeydown:{name:"KeyDown",fix:s},onkeyup:{name:"KeyUp",fix:s}};k={connect:function(a,b,c){return this.on(a,c?p.hitch(b,c):b)},on:function(a,b){if("string"===typeof a){0===a.indexOf("mouse")&&(a="on"+a);var d,e=a in K?K[a]:{name:a,fix:function(){return{}}};d=this.getEventSource().addEventListener(e.name,
  331. function(a,c){b(e.fix(a,c))});return{name:e.name,token:d,remove:p.hitch(this,function(){this.getEventSource().removeEventListener(e.name,d)})}}return c(this,a,b)},disconnect:function(a){return a.remove()}};p.extend(v.Shape,k);p.extend(v.Surface,k);l.equalSources=function(a,b){return a&&b&&a.equals(b)};return v})},"dojox/gfx/registry":function(){C(["dojo/has","./shape"],function(k,p){k.add("gfxRegistry",1);var e={},q={},c={};e.register=p.register=function(b){var d=b.declaredClass.split(".").pop(),
  332. a=d in q?++q[d]:q[d]=0,d=d+a;c[d]=b;return d};e.byId=p.byId=function(b){return c[b]};e.dispose=p.dispose=function(b,d){if(d&&b.children)for(var a=0;a<b.children.length;++a)e.dispose(b.children[a],!0);a=b.getUID();c[a]=null;delete c[a]};return e})},"dojox/gfx/svg":function(){C("dojo/_base/lang dojo/_base/sniff dojo/_base/window dojo/dom dojo/_base/declare dojo/_base/array dojo/dom-geometry dojo/dom-attr dojo/_base/Color ./_base ./shape ./path".split(" "),function(k,p,e,q,c,b,d,a,u,l,n,f){function r(a,
  333. b){return e.doc.createElementNS?e.doc.createElementNS(a,b):e.doc.createElement(b)}function z(a){return s.useSvgWeb?e.doc.createTextNode(a,!0):e.doc.createTextNode(a)}var s=l.svg={};s.useSvgWeb="undefined"!=typeof window.svgweb;var v=navigator.userAgent,B=p("ios"),C=p("android"),G=p("chrome")||C&&4<=C?"auto":"optimizeLegibility";s.xmlns={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"};s.getRef=function(a){return!a||"none"==a?null:a.match(/^url\(#.+\)$/)?q.byId(a.slice(5,-1)):
  334. a.match(/^#dojoUnique\d+$/)?q.byId(a.slice(1)):null};s.dasharray={solid:"none",shortdash:[4,1],shortdot:[1,1],shortdashdot:[4,1,1,1],shortdashdotdot:[4,1,1,1,1,1],dot:[1,3],dash:[4,3],longdash:[8,3],dashdot:[4,3,1,3],longdashdot:[8,3,1,3],longdashdotdot:[8,3,1,3,1,3]};var A=0;s.Shape=c("dojox.gfx.svg.Shape",n.Shape,{destroy:function(){if(this.fillStyle&&"type"in this.fillStyle){var a=this.rawNode.getAttribute("fill");(a=s.getRef(a))&&a.parentNode.removeChild(a)}if(this.clip&&(a=this.rawNode.getAttribute("clip-path")))(a=
  335. q.byId(a.match(/gfx_clip[\d]+/)[0]))&&a.parentNode.removeChild(a);n.Shape.prototype.destroy.apply(this,arguments)},setFill:function(a){if(!a)return this.fillStyle=null,this.rawNode.setAttribute("fill","none"),this.rawNode.setAttribute("fill-opacity",0),this;var c,d=function(a){this.setAttribute(a,c[a].toFixed(8))};if("object"==typeof a&&"type"in a){switch(a.type){case "linear":c=l.makeParameters(l.defaultLinearGradient,a);a=this._setFillObject(c,"linearGradient");b.forEach(["x1","y1","x2","y2"],d,
  336. a);break;case "radial":c=l.makeParameters(l.defaultRadialGradient,a);a=this._setFillObject(c,"radialGradient");b.forEach(["cx","cy","r"],d,a);break;case "pattern":c=l.makeParameters(l.defaultPattern,a),a=this._setFillObject(c,"pattern"),b.forEach(["x","y","width","height"],d,a)}this.fillStyle=c;return this}this.fillStyle=c=l.normalizeColor(a);this.rawNode.setAttribute("fill",c.toCss());this.rawNode.setAttribute("fill-opacity",c.a);this.rawNode.setAttribute("fill-rule","evenodd");return this},setStroke:function(a){var b=
  337. this.rawNode;if(!a)return this.strokeStyle=null,b.setAttribute("stroke","none"),b.setAttribute("stroke-opacity",0),this;if("string"==typeof a||k.isArray(a)||a instanceof u)a={color:a};a=this.strokeStyle=l.makeParameters(l.defaultStroke,a);a.color=l.normalizeColor(a.color);if(a){b.setAttribute("stroke",a.color.toCss());b.setAttribute("stroke-opacity",a.color.a);b.setAttribute("stroke-width",a.width);b.setAttribute("stroke-linecap",a.cap);"number"==typeof a.join?(b.setAttribute("stroke-linejoin","miter"),
  338. b.setAttribute("stroke-miterlimit",a.join)):b.setAttribute("stroke-linejoin",a.join);var c=a.style.toLowerCase();c in s.dasharray&&(c=s.dasharray[c]);if(c instanceof Array){var c=k._toArray(c),d;for(d=0;d<c.length;++d)c[d]*=a.width;if("butt"!=a.cap){for(d=0;d<c.length;d+=2)c[d]-=a.width,1>c[d]&&(c[d]=1);for(d=1;d<c.length;d+=2)c[d]+=a.width}c=c.join(",")}b.setAttribute("stroke-dasharray",c);b.setAttribute("dojoGfxStrokeStyle",a.style)}return this},_getParentSurface:function(){for(var a=this.parent;a&&
  339. !(a instanceof l.Surface);a=a.parent);return a},_setFillObject:function(a,b){var c=s.xmlns.svg;this.fillStyle=a;var d=this._getParentSurface().defNode,e=this.rawNode.getAttribute("fill");if(e=s.getRef(e))if(e.tagName.toLowerCase()!=b.toLowerCase()){var f=e.id;e.parentNode.removeChild(e);e=r(c,b);e.setAttribute("id",f);d.appendChild(e)}else for(;e.childNodes.length;)e.removeChild(e.lastChild);else e=r(c,b),e.setAttribute("id",l._base._getUniqueId()),d.appendChild(e);if("pattern"==b)e.setAttribute("patternUnits",
  340. "userSpaceOnUse"),c=r(c,"image"),c.setAttribute("x",0),c.setAttribute("y",0),c.setAttribute("width",a.width.toFixed(8)),c.setAttribute("height",a.height.toFixed(8)),c.setAttributeNS?c.setAttributeNS(s.xmlns.xlink,"xlink:href",a.src):c.setAttribute("xlink:href",a.src),e.appendChild(c);else{e.setAttribute("gradientUnits","userSpaceOnUse");for(d=0;d<a.colors.length;++d){var f=a.colors[d],k=r(c,"stop"),n=f.color=l.normalizeColor(f.color);k.setAttribute("offset",f.offset.toFixed(8));k.setAttribute("stop-color",
  341. n.toCss());k.setAttribute("stop-opacity",n.a);e.appendChild(k)}}this.rawNode.setAttribute("fill","url(#"+e.getAttribute("id")+")");this.rawNode.removeAttribute("fill-opacity");this.rawNode.setAttribute("fill-rule","evenodd");return e},_applyTransform:function(){if(this.matrix){var a=this.matrix;this.rawNode.setAttribute("transform","matrix("+a.xx.toFixed(8)+","+a.yx.toFixed(8)+","+a.xy.toFixed(8)+","+a.yy.toFixed(8)+","+a.dx.toFixed(8)+","+a.dy.toFixed(8)+")")}else this.rawNode.removeAttribute("transform");
  342. return this},setRawNode:function(a){a=this.rawNode=a;"image"!=this.shape.type&&a.setAttribute("fill","none");a.setAttribute("fill-opacity",0);a.setAttribute("stroke","none");a.setAttribute("stroke-opacity",0);a.setAttribute("stroke-width",1);a.setAttribute("stroke-linecap","butt");a.setAttribute("stroke-linejoin","miter");a.setAttribute("stroke-miterlimit",4);a.__gfxObject__=this},setShape:function(a){this.shape=l.makeParameters(this.shape,a);for(var b in this.shape)"type"!=b&&this.rawNode.setAttribute(b,
  343. this.shape[b]);this.bbox=null;return this},_moveToFront:function(){this.rawNode.parentNode.appendChild(this.rawNode);return this},_moveToBack:function(){this.rawNode.parentNode.insertBefore(this.rawNode,this.rawNode.parentNode.firstChild);return this},setClip:function(b){this.inherited(arguments);var c=b?"width"in b?"rect":"cx"in b?"ellipse":"points"in b?"polyline":"d"in b?"path":null:null;if(b&&!c)return this;"polyline"===c&&(b=k.clone(b),b.points=b.points.join(","));var d,e=a.get(this.rawNode,"clip-path");
  344. e&&(d=q.byId(e.match(/gfx_clip[\d]+/)[0]))&&d.removeChild(d.childNodes[0]);b?(d?(c=r(s.xmlns.svg,c),d.appendChild(c)):(e="gfx_clip"+ ++A,this.rawNode.setAttribute("clip-path","url(#"+e+")"),d=r(s.xmlns.svg,"clipPath"),c=r(s.xmlns.svg,c),d.appendChild(c),this.rawNode.parentNode.appendChild(d),a.set(d,"id",e)),a.set(c,b)):(this.rawNode.removeAttribute("clip-path"),d&&d.parentNode.removeChild(d));return this},_removeClipNode:function(){var b,c=a.get(this.rawNode,"clip-path");c&&(b=q.byId(c.match(/gfx_clip[\d]+/)[0]))&&
  345. b.parentNode.removeChild(b);return b}});s.Group=c("dojox.gfx.svg.Group",s.Shape,{constructor:function(){n.Container._init.call(this)},setRawNode:function(a){this.rawNode=a;this.rawNode.__gfxObject__=this},destroy:function(){this.clear(!0);s.Shape.prototype.destroy.apply(this,arguments)}});s.Group.nodeType="g";s.Rect=c("dojox.gfx.svg.Rect",[s.Shape,n.Rect],{setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;for(var b in this.shape)"type"!=b&&"r"!=b&&this.rawNode.setAttribute(b,
  346. this.shape[b]);null!=this.shape.r&&(this.rawNode.setAttribute("ry",this.shape.r),this.rawNode.setAttribute("rx",this.shape.r));return this}});s.Rect.nodeType="rect";s.Ellipse=c("dojox.gfx.svg.Ellipse",[s.Shape,n.Ellipse],{});s.Ellipse.nodeType="ellipse";s.Circle=c("dojox.gfx.svg.Circle",[s.Shape,n.Circle],{});s.Circle.nodeType="circle";s.Line=c("dojox.gfx.svg.Line",[s.Shape,n.Line],{});s.Line.nodeType="line";s.Polyline=c("dojox.gfx.svg.Polyline",[s.Shape,n.Polyline],{setShape:function(a,b){a&&a instanceof
  347. Array?(this.shape=l.makeParameters(this.shape,{points:a}),b&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.shape=l.makeParameters(this.shape,a);this.bbox=null;this._normalizePoints();for(var c=[],d=this.shape.points,e=0;e<d.length;++e)c.push(d[e].x.toFixed(8),d[e].y.toFixed(8));this.rawNode.setAttribute("points",c.join(" "));return this}});s.Polyline.nodeType="polyline";s.Image=c("dojox.gfx.svg.Image",[s.Shape,n.Image],{setShape:function(a){this.shape=l.makeParameters(this.shape,
  348. a);this.bbox=null;a=this.rawNode;for(var b in this.shape)"type"!=b&&"src"!=b&&a.setAttribute(b,this.shape[b]);a.setAttribute("preserveAspectRatio","none");a.setAttributeNS?a.setAttributeNS(s.xmlns.xlink,"xlink:href",this.shape.src):a.setAttribute("xlink:href",this.shape.src);a.__gfxObject__=this;return this}});s.Image.nodeType="image";s.Text=c("dojox.gfx.svg.Text",[s.Shape,n.Text],{setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;var b=this.shape;a.setAttribute("x",
  349. b.x);a.setAttribute("y",b.y);a.setAttribute("text-anchor",b.align);a.setAttribute("text-decoration",b.decoration);a.setAttribute("rotate",b.rotated?90:0);a.setAttribute("kerning",b.kerning?"auto":0);a.setAttribute("text-rendering",G);a.firstChild?a.firstChild.nodeValue=b.text:a.appendChild(z(b.text));return this},getTextWidth:function(){var a=this.rawNode,b=a.parentNode,a=a.cloneNode(!0);a.style.visibility="hidden";var c=0,d=a.firstChild.nodeValue;b.appendChild(a);if(""!=d)for(;!c;)c=a.getBBox?parseInt(a.getBBox().width):
  350. 68;b.removeChild(a);return c},getBoundingBox:function(){var a=null;if(this.getShape().text)try{a=this.rawNode.getBBox()}catch(b){a={x:0,y:0,width:0,height:0}}return a}});s.Text.nodeType="text";s.Path=c("dojox.gfx.svg.Path",[s.Shape,f.Path],{_updateWithSegment:function(a){this.inherited(arguments);"string"==typeof this.shape.path&&this.rawNode.setAttribute("d",this.shape.path)},setShape:function(a){this.inherited(arguments);this.shape.path?this.rawNode.setAttribute("d",this.shape.path):this.rawNode.removeAttribute("d");
  351. return this}});s.Path.nodeType="path";s.TextPath=c("dojox.gfx.svg.TextPath",[s.Shape,f.TextPath],{_updateWithSegment:function(a){this.inherited(arguments);this._setTextPath()},setShape:function(a){this.inherited(arguments);this._setTextPath();return this},_setTextPath:function(){if("string"==typeof this.shape.path){var a=this.rawNode;if(!a.firstChild){var b=r(s.xmlns.svg,"textPath"),c=z("");b.appendChild(c);a.appendChild(b)}b=(b=a.firstChild.getAttributeNS(s.xmlns.xlink,"href"))&&s.getRef(b);if(!b&&
  352. (c=this._getParentSurface())){var c=c.defNode,b=r(s.xmlns.svg,"path"),d=l._base._getUniqueId();b.setAttribute("id",d);c.appendChild(b);a.firstChild.setAttributeNS?a.firstChild.setAttributeNS(s.xmlns.xlink,"xlink:href","#"+d):a.firstChild.setAttribute("xlink:href","#"+d)}b&&b.setAttribute("d",this.shape.path)}},_setText:function(){var a=this.rawNode;if(!a.firstChild){var b=r(s.xmlns.svg,"textPath"),c=z("");b.appendChild(c);a.appendChild(b)}a=a.firstChild;b=this.text;a.setAttribute("alignment-baseline",
  353. "middle");switch(b.align){case "middle":a.setAttribute("text-anchor","middle");a.setAttribute("startOffset","50%");break;case "end":a.setAttribute("text-anchor","end");a.setAttribute("startOffset","100%");break;default:a.setAttribute("text-anchor","start"),a.setAttribute("startOffset","0%")}a.setAttribute("baseline-shift","0.5ex");a.setAttribute("text-decoration",b.decoration);a.setAttribute("rotate",b.rotated?90:0);a.setAttribute("kerning",b.kerning?"auto":0);a.firstChild.data=b.text}});s.TextPath.nodeType=
  354. "text";var y=534<function(){var a=/WebKit\/(\d*)/.exec(v);return a?a[1]:0}();s.Surface=c("dojox.gfx.svg.Surface",n.Surface,{constructor:function(){n.Container._init.call(this)},destroy:function(){n.Container.clear.call(this,!0);this.defNode=null;this.inherited(arguments)},setDimensions:function(a,b){if(!this.rawNode)return this;this.rawNode.setAttribute("width",a);this.rawNode.setAttribute("height",b);y&&(this.rawNode.style.width=a,this.rawNode.style.height=b);return this},getDimensions:function(){return this.rawNode?
  355. {width:l.normalizedLength(this.rawNode.getAttribute("width")),height:l.normalizedLength(this.rawNode.getAttribute("height"))}:null}});s.createSurface=function(a,b,c){var d=new s.Surface;d.rawNode=r(s.xmlns.svg,"svg");d.rawNode.setAttribute("overflow","hidden");b&&d.rawNode.setAttribute("width",b);c&&d.rawNode.setAttribute("height",c);b=r(s.xmlns.svg,"defs");d.rawNode.appendChild(b);d.defNode=b;d._parent=q.byId(a);d._parent.appendChild(d.rawNode);l._base._fixMsTouchAction(d);return d};p={_setFont:function(){var a=
  356. this.fontStyle;this.rawNode.setAttribute("font-style",a.style);this.rawNode.setAttribute("font-variant",a.variant);this.rawNode.setAttribute("font-weight",a.weight);this.rawNode.setAttribute("font-size",a.size);this.rawNode.setAttribute("font-family",a.family)}};var D=n.Container;c={openBatch:function(){if(!this._batch){var a;a=s.useSvgWeb?e.doc.createDocumentFragment(!0):e.doc.createDocumentFragment();this.fragment=a}++this._batch;return this},closeBatch:function(){this._batch=0<this._batch?--this._batch:
  357. 0;this.fragment&&!this._batch&&(this.rawNode.appendChild(this.fragment),delete this.fragment);return this},add:function(a){this!=a.getParent()&&(this.fragment?this.fragment.appendChild(a.rawNode):this.rawNode.appendChild(a.rawNode),D.add.apply(this,arguments),a.setClip(a.clip));return this},remove:function(a,b){this==a.getParent()&&(this.rawNode==a.rawNode.parentNode&&this.rawNode.removeChild(a.rawNode),this.fragment&&this.fragment==a.rawNode.parentNode&&this.fragment.removeChild(a.rawNode),a._removeClipNode(),
  358. D.remove.apply(this,arguments));return this},clear:function(){for(var a=this.rawNode;a.lastChild;)a.removeChild(a.lastChild);var b=this.defNode;if(b){for(;b.lastChild;)b.removeChild(b.lastChild);a.appendChild(b)}return D.clear.apply(this,arguments)},getBoundingBox:D.getBoundingBox,_moveChildToFront:D._moveChildToFront,_moveChildToBack:D._moveChildToBack};f={createObject:function(a,b){if(!this.rawNode)return null;var c=new a,d=r(s.xmlns.svg,a.nodeType);c.setRawNode(d);c.setShape(b);this.add(c);return c}};
  359. k.extend(s.Text,p);k.extend(s.TextPath,p);k.extend(s.Group,c);k.extend(s.Group,n.Creator);k.extend(s.Group,f);k.extend(s.Surface,c);k.extend(s.Surface,n.Creator);k.extend(s.Surface,f);s.fixTarget=function(a,b){a.gfxTarget||(a.gfxTarget=B&&a.target.wholeText?a.target.parentElement.__gfxObject__:a.target.__gfxObject__);return!0};s.useSvgWeb&&(s.createSurface=function(a,b,c){var e=new s.Surface;if(!b||!c){var f=d.position(a);b=b||f.w;c=c||f.h}a=q.byId(a);var f=a.id?a.id+"_svgweb":l._base._getUniqueId(),
  360. k=r(s.xmlns.svg,"svg");k.id=f;k.setAttribute("width",b);k.setAttribute("height",c);svgweb.appendChild(k,a);k.addEventListener("SVGLoad",function(){e.rawNode=this;e.isLoaded=!0;var a=r(s.xmlns.svg,"defs");e.rawNode.appendChild(a);e.defNode=a;if(e.onLoad)e.onLoad(e)},!1);e.isLoaded=!1;return e},s.Surface.extend({destroy:function(){var a=this.rawNode;svgweb.removeChild(a,a.parentNode)}}),p={connect:function(a,b,c){"on"===a.substring(0,2)&&(a=a.substring(2));c=2==arguments.length?b:k.hitch(b,c);this.getEventSource().addEventListener(a,
  361. c,!1);return[this,a,c]},disconnect:function(a){this.getEventSource().removeEventListener(a[1],a[2],!1);delete a[0]}},k.extend(s.Shape,p),k.extend(s.Surface,p));return s})},"url:dijit/form/templates/Button.html":'<span class="dijit dijitReset dijitInline" role="presentation"\n\t><span class="dijitReset dijitInline dijitButtonNode"\n\t\tdata-dojo-attach-event="ondijitclick:__onClick" role="presentation"\n\t\t><span class="dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point="titleNode,focusNode"\n\t\t\trole="button" aria-labelledby="${id}_label"\n\t\t\t><span class="dijitReset dijitInline dijitIcon" data-dojo-attach-point="iconNode"></span\n\t\t\t><span class="dijitReset dijitToggleButtonIconChar">&#x25CF;</span\n\t\t\t><span class="dijitReset dijitInline dijitButtonText"\n\t\t\t\tid="${id}_label"\n\t\t\t\tdata-dojo-attach-point="containerNode"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type="${type}" value="${value}" class="dijitOffScreen"\n\t\tdata-dojo-attach-event="onclick:_onClick"\n\t\ttabIndex="-1" role="presentation" data-dojo-attach-point="valueNode"\n/></span>\n',
  362. "url:dijit/form/templates/HorizontalSlider.html":'<table class="dijit dijitReset dijitSlider dijitSliderH" cellspacing="0" cellpadding="0" border="0" rules="none" data-dojo-attach-event="onkeydown:_onKeyDown, onkeyup:_onKeyUp"\n\trole="presentation"\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset" colspan="2"></td\n\t\t><td data-dojo-attach-point="topDecoration" class="dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH"></td\n\t\t><td class="dijitReset" colspan="2"></td\n\t></tr\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t><div class="dijitSliderDecrementIconH" style="display:none" data-dojo-attach-point="decrementButton"><span class="dijitSliderButtonInner">-</span></div\n\t\t></td\n\t\t><td class="dijitReset"\n\t\t\t><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper" data-dojo-attach-event="press:_onClkDecBumper"></div\n\t\t></td\n\t\t><td class="dijitReset"\n\t\t\t><input data-dojo-attach-point="valueNode" type="hidden" ${!nameAttrSetting}\n\t\t\t/><div class="dijitReset dijitSliderBarContainerH" role="presentation" data-dojo-attach-point="sliderBarContainer"\n\t\t\t\t><div role="presentation" data-dojo-attach-point="progressBar" class="dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH" data-dojo-attach-event="press:_onBarClick"\n\t\t\t\t\t><div class="dijitSliderMoveable dijitSliderMoveableH"\n\t\t\t\t\t\t><div data-dojo-attach-point="sliderHandle,focusNode" class="dijitSliderImageHandle dijitSliderImageHandleH" data-dojo-attach-event="press:_onHandleClick" role="slider"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role="presentation" data-dojo-attach-point="remainingBar" class="dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH" data-dojo-attach-event="press:_onBarClick"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class="dijitReset"\n\t\t\t><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper" data-dojo-attach-event="press:_onClkIncBumper"></div\n\t\t></td\n\t\t><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t><div class="dijitSliderIncrementIconH" style="display:none" data-dojo-attach-point="incrementButton"><span class="dijitSliderButtonInner">+</span></div\n\t\t></td\n\t></tr\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset" colspan="2"></td\n\t\t><td data-dojo-attach-point="containerNode,bottomDecoration" class="dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH"></td\n\t\t><td class="dijitReset" colspan="2"></td\n\t></tr\n></table>\n',
  363. "url:dijit/form/templates/VerticalSlider.html":'<table class="dijit dijitReset dijitSlider dijitSliderV" cellspacing="0" cellpadding="0" border="0" rules="none" data-dojo-attach-event="onkeydown:_onKeyDown,onkeyup:_onKeyUp"\n\trole="presentation"\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset"></td\n\t\t><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\n\t\t\t><div class="dijitSliderIncrementIconV" style="display:none" data-dojo-attach-point="decrementButton"><span class="dijitSliderButtonInner">+</span></div\n\t\t></td\n\t\t><td class="dijitReset"></td\n\t></tr\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset"></td\n\t\t><td class="dijitReset"\n\t\t\t><center><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper" data-dojo-attach-event="press:_onClkIncBumper"></div></center\n\t\t></td\n\t\t><td class="dijitReset"></td\n\t></tr\n\t><tr class="dijitReset"\n\t\t><td data-dojo-attach-point="leftDecoration" class="dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV"></td\n\t\t><td class="dijitReset dijitSliderDecorationC" style="height:100%;"\n\t\t\t><input data-dojo-attach-point="valueNode" type="hidden" ${!nameAttrSetting}\n\t\t\t/><center class="dijitReset dijitSliderBarContainerV" role="presentation" data-dojo-attach-point="sliderBarContainer"\n\t\t\t\t><div role="presentation" data-dojo-attach-point="remainingBar" class="dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV" data-dojo-attach-event="press:_onBarClick">\x3c!--#5629--\x3e</div\n\t\t\t\t><div role="presentation" data-dojo-attach-point="progressBar" class="dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV" data-dojo-attach-event="press:_onBarClick"\n\t\t\t\t\t><div class="dijitSliderMoveable dijitSliderMoveableV" style="vertical-align:top;"\n\t\t\t\t\t\t><div data-dojo-attach-point="sliderHandle,focusNode" class="dijitSliderImageHandle dijitSliderImageHandleV" data-dojo-attach-event="press:_onHandleClick" role="slider"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td data-dojo-attach-point="containerNode,rightDecoration" class="dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV"></td\n\t></tr\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset"></td\n\t\t><td class="dijitReset"\n\t\t\t><center><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper" data-dojo-attach-event="press:_onClkDecBumper"></div></center\n\t\t></td\n\t\t><td class="dijitReset"></td\n\t></tr\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset"></td\n\t\t><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\n\t\t\t><div class="dijitSliderDecrementIconV" style="display:none" data-dojo-attach-point="incrementButton"><span class="dijitSliderButtonInner">-</span></div\n\t\t></td\n\t\t><td class="dijitReset"></td\n\t></tr\n></table>\n',
  364. "*now":function(k){k(['dojo/i18n!*preload*dojo/nls/dojo-core-layer*["ar","ca","cs","da","de","el","en-gb","en-us","es-es","fi-fi","fr-fr","he-il","hu","it-it","ja-jp","ko-kr","nl-nl","nb","pl","pt-br","pt-pt","ru","sk","sl","sv","th","tr","zh-tw","zh-cn","ROOT"]'])}}});C("dojo/dojo-core-layer",[],1);da=window.require;C=window.define}"dojotoolkit.org"!=define.amd.vendor?(define("dojo-core-layer/amdcompatibility",function(){return{load:function(da,C,k){if(window.requirejs){var p=requirejs.s.contexts._.makeRequire;
  365. requirejs.s.contexts._.makeRequire=function(){var e=p.apply(requirejs.s.contexts._,arguments);e.toAbsMid=function(e){return e};return e}}require(["dojo/_base/kernel","dojo/has"],function(e,p){p.add("dojo-v1x-i18n-Api",0,null,!0);var c,b=[];ha(function(d){if(d=d.cache)for(var a in d)if(d.hasOwnProperty(a)){var e=d[a];"function"==typeof e?(c=a,e(require)):"string"==typeof e&&0==a.indexOf("url:")&&b.push({key:a.substr(4),value:e})}},function(b,a,e){e||(e=a,a=b,b=c);define(b,a,e)});b.length?require(["dojo/text"],
  366. function(c){for(c=0;c<b.length;c++)e.cache(b[c].key,b[c].value);k()}):k()})}}}),define(["dojo-core-layer/amdcompatibility!"],1)):ha(require,define)})();