UNPKG

@hpcc-js/dgrid-shim

Version:
2 lines 243 kB
/*! For license information please see index.min.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@hpcc-js/dgrid-shim"]=t():e["@hpcc-js/dgrid-shim"]=t()}(self,()=>(()=>{var __webpack_modules__={28:(e,t,n)=>{var r,o;n.dj.r;r=[t,n(1054),n(2616),n(5075),n(2284),n(7878)],o=function(e,t,n,r,o,i){var s,a={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},c=/<\s*([\w\:]+)/,l={},d=0,u="__"+t._scopeName+"ToDomId";for(var f in a)if(a.hasOwnProperty(f)){var h=a[f];h.pre="option"==f?'<select multiple="multiple">':"<"+h.join("><")+">",h.post="</"+h.reverse().join("></")+">"}function p(e,t){var n=t.parentNode;n&&n.insertBefore(e,t)}n("ie")<=8&&(s=function(e){e.__dojo_html5_tested="yes";var t=v("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},e.body);1!==t.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,function(t){e.createElement(t)}),m(t)}),e.toDom=function(e,t){var o=(t=t||r.doc)[u];o||(t[u]=o=++d+"",l[o]=t.createElement("div")),n("ie")<=8&&!t.__dojo_html5_tested&&t.body&&s(t);var i,f,h,p,v=(e+="").match(c),g=v?v[1].toLowerCase():"",m=l[o];if(v&&a[g])for(i=a[g],m.innerHTML=i.pre+e+i.post,f=i.length;f;--f)m=m.firstChild;else m.innerHTML=e;if(1==m.childNodes.length)return m.removeChild(m.firstChild);for(p=t.createDocumentFragment();h=m.firstChild;)p.appendChild(h);return p},e.place=function(t,n,r){if(n=o.byId(n),"string"==typeof t&&(t=/^\s*</.test(t)?e.toDom(t,n.ownerDocument):o.byId(t)),"number"==typeof r){var i=n.childNodes;!i.length||i.length<=r?n.appendChild(t):p(t,i[r<0?0:r])}else switch(r){case"before":p(t,n);break;case"after":!function(e,t){var n=t.parentNode;n&&(n.lastChild==t?n.appendChild(e):n.insertBefore(e,t.nextSibling))}(t,n);break;case"replace":n.parentNode.replaceChild(t,n);break;case"only":e.empty(n),n.appendChild(t);break;case"first":if(n.firstChild){p(t,n.firstChild);break}default:n.appendChild(t)}return t};var v=e.create=function(t,n,s,a){var c=r.doc;return s&&(c=(s=o.byId(s)).ownerDocument),"string"==typeof t&&(t=c.createElement(t)),n&&i.set(t,n),s&&e.place(t,s,a),t};function g(e){if("innerHTML"in e)try{return void(e.innerHTML="")}catch(e){}for(var t;t=e.lastChild;)e.removeChild(t)}e.empty=function(e){g(o.byId(e))};var m=e.destroy=function(e){(e=o.byId(e))&&function(e,t){e.firstChild&&g(e),t&&(n("ie")&&t.canHaveChildren&&"removeNode"in e?e.removeNode(!1):t.removeChild(e))}(e,e.parentNode)}}.apply(null,r),void 0===o||(e.exports=o)},225:(e,t,n)=>{var r,o;n.dj.r;r=[n(1054),n(3927),n.dj.c(e),n(6587),n(2284),n(3159),n(280),n(7361),n(4861),n(6323),n(6974),n(2075),n(6566),n(3621),n(9648),n(5540)],void 0===(o=function(e,t,n,r,o,i,s,a,c,l,d,u,f,h,p,v){e._xhrObj=p._create;var g=e.config;e.objectToQuery=r.objectToQuery,e.queryToObject=r.queryToObject,e.fieldToObject=i.fieldToObject,e.formToObject=i.toObject,e.formToQuery=i.toQuery,e.formToJson=i.toJson,e._blockAsync=!1;var m=e._contentHandlers=e.contentHandlers={text:function(e){return e.responseText},json:function(e){return c.fromJson(e.responseText||null)},"json-comment-filtered":function(e){a.useCommentedJson||console.warn("Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&\nUse djConfig.useCommentedJson=true to turn off this message.");var t=e.responseText,n=t.indexOf("/*"),r=t.lastIndexOf("*/");if(-1==n||-1==r)throw new Error("JSON was not comment filtered");return c.fromJson(t.substring(n+2,r))},javascript:function(t){return e.eval(t.responseText)},xml:function(e){var n=e.responseXML;if(n&&t("dom-qsa2.1")&&!n.querySelectorAll&&t("dom-parser")&&(n=(new DOMParser).parseFromString(e.responseText,"application/xml")),t("ie")&&(!n||!n.documentElement)){var r=function(e){return"MSXML"+e+".DOMDocument"},o=["Microsoft.XMLDOM",r(6),r(4),r(3),r(2)];d.some(o,function(t){try{var r=new ActiveXObject(t);r.async=!1,r.loadXML(e.responseText),n=r}catch(e){return!1}return!0})}return n},"json-comment-optional":function(e){return e.responseText&&/^[^{\[]*\/\*/.test(e.responseText)?m["json-comment-filtered"](e):m.json(e)}};e._ioSetArgs=function(t,n,a,c){var d={args:t,url:t.url},u=null;if(t.form){var f=o.byId(t.form),h=f.getAttributeNode("action");d.url=d.url||(h?h.value:e.doc?e.doc.URL:null),u=i.toObject(f)}var p={};u&&l.mixin(p,u),t.content&&l.mixin(p,t.content),t.preventCache&&(p["dojo.preventCache"]=(new Date).valueOf()),d.query=r.objectToQuery(p),d.handleAs=t.handleAs||"text";var v=new s(function(e){e.canceled=!0,n&&n(e);var t=e.ioArgs.error;return t||((t=new Error("request cancelled")).dojoType="cancel",e.ioArgs.error=t),t});v.addCallback(a);var m=t.load;m&&l.isFunction(m)&&v.addCallback(function(e){return m.call(t,e,d)});var y=t.error;y&&l.isFunction(y)&&v.addErrback(function(e){return y.call(t,e,d)});var _=t.handle;return _&&l.isFunction(_)&&v.addBoth(function(e){return _.call(t,e,d)}),v.addErrback(function(e){return c(e,v)}),g.ioPublish&&e.publish&&!1!==d.args.ioPublish&&(v.addCallbacks(function(t){return e.publish("/dojo/io/load",[v,t]),t},function(t){return e.publish("/dojo/io/error",[v,t]),t}),v.addBoth(function(t){return e.publish("/dojo/io/done",[v,t]),t})),v.ioArgs=d,v};var y=function(e){var t=m[e.ioArgs.handleAs](e.ioArgs.xhr);return void 0===t?null:t},_=function(e,t){return t.ioArgs.args.failOk||console.error(e),e},b=function(t){w<=0&&(w=0,g.ioPublish&&e.publish&&(!t||t&&!1!==t.ioArgs.args.ioPublish)&&e.publish("/dojo/io/stop"))},w=0;f.after(h,"_onAction",function(){w-=1}),f.after(h,"_onInFlight",b),e._ioCancelAll=h.cancelAll,e._ioNotifyStart=function(t){g.ioPublish&&e.publish&&!1!==t.ioArgs.args.ioPublish&&(w||e.publish("/dojo/io/start"),w+=1,e.publish("/dojo/io/send",[t]))},e._ioWatch=function(e,t,n,r){e.ioArgs.options=e.ioArgs.args;l.mixin(e,{response:e.ioArgs,isValid:function(n){return t(e)},isReady:function(t){return n(e)},handleResponse:function(t){return r(e)}}),h(e),b(e)};return e._ioAddQueryToUrl=function(e){e.query.length&&(e.url+=(-1==e.url.indexOf("?")?"?":"&")+e.query,e.query=null)},e.xhr=function(t,n,r){var o,i=e._ioSetArgs(n,function(e){o&&o.cancel()},y,_),s=i.ioArgs;"postData"in n?s.query=n.postData:"putData"in n?s.query=n.putData:"rawBody"in n?s.query=n.rawBody:(arguments.length>2&&!r||-1==="POST|PUT".indexOf(t.toUpperCase()))&&e._ioAddQueryToUrl(s);var a={method:t,handleAs:"text",timeout:n.timeout,withCredentials:n.withCredentials,ioArgs:s};void 0!==n.headers&&(a.headers=n.headers),void 0!==n.contentType&&(a.headers||(a.headers={}),a.headers["Content-Type"]=n.contentType),void 0!==s.query&&(a.data=s.query),void 0!==n.sync&&(a.sync=n.sync),e._ioNotifyStart(i);try{o=p(s.url,a,!0)}catch(e){return i.cancel(),i}return i.ioArgs.xhr=o.response.xhr,o.then(function(){i.resolve(i)}).otherwise(function(e){s.error=e,e.response&&(e.status=e.response.status,e.responseText=e.response.text,e.xhr=e.response.xhr),i.reject(e)}),i},e.xhrGet=function(t){return e.xhr("GET",t)},e.rawXhrPost=e.xhrPost=function(t){return e.xhr("POST",t,!0)},e.rawXhrPut=e.xhrPut=function(t){return e.xhr("PUT",t,!0)},e.xhrDelete=function(t){return e.xhr("DELETE",t)},e._isDocumentOk=function(e){return v.checkStatus(e.status)},e._getText=function(t){var n;return e.xhrGet({url:t,sync:!0,load:function(e){n=e}}),n},l.mixin(e.xhr,{_xhrObj:e._xhrObj,fieldToObject:i.fieldToObject,formToObject:i.toObject,objectToQuery:r.objectToQuery,formToQuery:i.toQuery,formToJson:i.toJson,queryToObject:r.queryToObject,contentHandlers:m,_ioSetArgs:e._ioSetArgs,_ioCancelAll:e._ioCancelAll,_ioNotifyStart:e._ioNotifyStart,_ioWatch:e._ioWatch,_ioAddQueryToUrl:e._ioAddQueryToUrl,_isDocumentOk:e._isDocumentOk,_getText:e._getText,get:e.xhrGet,post:e.xhrPost,put:e.xhrPut,del:e.xhrDelete}),e.xhr}.apply(null,r))||(e.exports=o)},231:(e,t,n)=>{var r,o;n.dj.r;r=[n(1054)],void 0===(o=function(e){return e.dijit}.apply(null,r))||(e.exports=o)},280:(e,t,n)=>{var r,o;n.dj.r;r=[n(1054),n(5625),n(5479),n(1662),n(6356),n(6323),n(3534)],void 0===(o=function(e,t,n,r,o,i,s){var a=function(){},c=Object.freeze||function(){},l=e.Deferred=function(e){var s,d,u,f,h,p,v,g=this.promise=new n;function m(e){if(d)throw new Error("This deferred has already been resolved");s=e,d=!0,y()}function y(){for(var e;!e&&v;){var n=v;v=v.next,(e=n.progress==a)&&(d=!1);var r=h?n.error:n.resolved;if(o("config-useDeferredInstrumentation")&&h&&t.instrumentRejected&&t.instrumentRejected(s,!!r),r)try{var c=r(s);if(c&&"function"==typeof c.then){c.then(i.hitch(n.deferred,"resolve"),i.hitch(n.deferred,"reject"),i.hitch(n.deferred,"progress"));continue}var l=e&&void 0===c;e&&!l&&(h=c instanceof Error),n.deferred[l&&h?"reject":"resolve"](l?s:c)}catch(e){n.deferred.reject(e)}else h?n.deferred.reject(s):n.deferred.resolve(s)}}this.isResolved=g.isResolved=function(){return 0==f},this.isRejected=g.isRejected=function(){return 1==f},this.isFulfilled=g.isFulfilled=function(){return f>=0},this.isCanceled=g.isCanceled=function(){return u},this.resolve=this.callback=function(e){this.fired=f=0,this.results=[e,null],m(e)},this.reject=this.errback=function(e){h=!0,this.fired=f=1,o("config-useDeferredInstrumentation")&&t.instrumentRejected&&t.instrumentRejected(e,!!v),m(e),this.results=[null,e]},this.progress=function(e){for(var t=v;t;){var n=t.progress;n&&n(e),t=t.next}},this.addCallbacks=function(e,t){return this.then(e,t,a),this},g.then=this.then=function(e,t,n){var r=n==a?this:new l(g.cancel),o={resolved:e,error:t,progress:n,deferred:r};return v?p=p.next=o:v=p=o,d&&y(),r.promise};var _=this;g.cancel=this.cancel=function(){if(!d){var t=e&&e(_);d||(t instanceof Error||(t=new r(t)),t.log=!1,_.reject(t))}u=!0},c(g)};return i.extend(l,{addCallback:function(t){return this.addCallbacks(i.hitch.apply(e,arguments))},addErrback:function(t){return this.addCallbacks(null,i.hitch.apply(e,arguments))},addBoth:function(t){var n=i.hitch.apply(e,arguments);return this.addCallbacks(n,n)},fired:-1}),l.when=e.when=s,l}.apply(null,r))||(e.exports=o)},297:(e,t,n)=>{var r,o;n.dj.r;r=[n(6323),n(6345),n(2616),n(1172),n(4975)],void 0===(o=function(e,t,n,r,o){return t(null,{configStructure:function(){var t=this.subRows&&this.subRows[0]||this.columns,n=[[]],r=n[0],i=[];n[0].className="dgrid-spacer-row",function t(s,a,c,l){var d,u,f=0,h=function(){};return o.each(s,function(o,p){"string"==typeof o&&(o={label:o}),s instanceof Array||o.field||(o.field=p),d=o.children,u=d&&!1!==o.showChildHeaders,o.parentColumn=l,d?null==o.id?o.id=(l&&l.id||a-1)+"-"+r.length:l&&l.id&&(o.id=l.id+"-"+o.id):(i.push(o),r.push(e.delegate(o,{renderHeaderCell:h})),f++),u||(o=e.delegate(o,{rowSpan:-a})),d&&(f+=o.colSpan=t(d,a+1,u,o)),c&&(n[a]||(n[a]=[])).push(o)},this),f}(t,1,!0);var s,a,c,l,d=n.length;for(s=0;s<d;s++)for(c=n[s],a=0;a<c.length;a++)(l=c[a]).rowSpan<1&&(l.rowSpan+=d);(i=[i]).headerRows=n,this.subRows=i,this.inherited(arguments)},renderHeader:function(){var e,t=this.subRows[0],n=this.subRows.headerRows[0];for(this.inherited(arguments),e=t.length;e--;)t[e].headerNode=n[e].headerNode},_findSortArrowParent:function(){var e,t,n=this.inherited(arguments),o=r(".dgrid-spacer-row",this.headerNode)[0];if(n&&o.contains(n))return e=n.columnId,(t=r(".dgrid-column-"+e,this.headerNode))[t.length-1]},_configColumn:function(e,t,n){var r=e.parentColumn,o=e.id;if(r){var i=0===o.indexOf(n)?o.substring(n.length):o;n=r.id+"-",o=e.id=n+i}this.inherited(arguments,[e,t,n])},cell:function(e,t){if("object"!=typeof t){var n=this.column(t);n&&(t=n.id)}return this.inherited(arguments,[e,t])},column:function(e){var t=this.inherited(arguments);if(null==t&&"object"!=typeof e){var n="-"+e,r=n.length;for(var o in this.columns)if(-1!==o.indexOf(n,o.length-r))return this.columns[o]}return t},_updateCompoundHiddenStates:function(e,t){var n,r=this.columns[e];if(!r||r.hidden!==t)for(;r&&r.parentColumn;)(n=(r=r.parentColumn).colSpan=r.colSpan+(t?-1:1))&&(r.headerNode.colSpan=n),1!==n||t?!n&&t&&this._hideColumn(r.id):this._showColumn(r.id)},_hideColumn:function(e){var t=this;this._updateCompoundHiddenStates(e,!0),this.inherited(arguments),n("ff")&&(this.headerNode.style.display="none",setTimeout(function(){t.headerNode.style.display="",t.resize()},0))},_showColumn:function(e){this._updateCompoundHiddenStates(e,!1),this.inherited(arguments)},_getResizedColumnWidths:function(){var e,t=0,n=this.columns;for(e in n)t+=n[e].headerNode.offsetWidth;return{totalWidth:t,lastColId:this.subRows[0][this.subRows[0].length-1].id}}})}.apply(null,r))||(e.exports=o)},610:(e,t,n)=>{var r,o;n.dj.r;r=[n.dj.c(e),n(231),n(7361),n(28),n(1248),n(6323),n(2075),n(2616)],o=function(e,t,n,r,o,i,s,a){a.add("config-bgIframe",(a("ie")||a("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var c=new function(){var t=[];this.pop=function(){var i;if(t.length)(i=t.pop()).style.display="";else{if(a("ie")<9){var s="<iframe src='"+(n.dojoBlankHtmlUrl||e.toUrl("dojo/resources/blank.html")||'javascript:""')+"' role='presentation' style='position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity=\"0\");'>";i=document.createElement(s)}else(i=r.create("iframe")).src='javascript:""',i.className="dijitBackgroundIframe",i.setAttribute("role","presentation"),o.set(i,"opacity",.1);i.tabIndex=-1}return i},this.push=function(e){e.style.display="none",t.push(e)}};return t.BackgroundIframe=function(e){if(!e.id)throw new Error("no id");if(a("config-bgIframe")){var t=this.iframe=c.pop();e.appendChild(t),a("ie")<7||a("quirks")?(this.resize(e),this._conn=s(e,"resize",i.hitch(this,"resize",e))):o.set(t,{width:"100%",height:"100%"})}},i.extend(t.BackgroundIframe,{resize:function(e){this.iframe&&o.set(this.iframe,{width:e.offsetWidth+"px",height:e.offsetHeight+"px"})},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),c.push(this.iframe),delete this.iframe)}}),t.BackgroundIframe}.apply(null,r),void 0===o||(e.exports=o)},655:(e,t,n)=>{var r,o;n.dj.r;r=[n(6974),n(6345),n(5577),n(2284),n(8945),n(2685),n(1248),n(6323),n(8471),n(2075),n(2616),n(9600),n(1019),n(3549),n(998),n(610),n(9409),n(231)],void 0===(o=function(e,t,n,r,o,i,s,a,c,l,d,u,f,h,p,v,g,m){var y=t("dijit._MasterTooltip",[h,p],{duration:u.defaultDuration,templateString:g,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode),this.bgIframe=new v(this.domNode),this.fadeIn=n.fadeIn({node:this.domNode,duration:this.duration,onEnd:a.hitch(this,"_onShow")}),this.fadeOut=n.fadeOut({node:this.domNode,duration:this.duration,onEnd:a.hitch(this,"_onHide")})},show:function(e,t,n,r,o,i,c){if(!this.aroundNode||this.aroundNode!==t||this.containerNode.innerHTML!=e)if("playing"!=this.fadeOut.status()){this.containerNode.innerHTML=e,o&&this.set("textDir",o),this.containerNode.align=r?"right":"left";var l=f.around(this.domNode,t,n&&n.length?n:j.defaultPosition,!r,a.hitch(this,"orient")),d=l.aroundNodePos;"M"==l.corner.charAt(0)&&"M"==l.aroundCorner.charAt(0)?(this.connectorNode.style.top=d.y+(d.h-this.connectorNode.offsetHeight>>1)-l.y+"px",this.connectorNode.style.left=""):"M"==l.corner.charAt(1)&&"M"==l.aroundCorner.charAt(1)?this.connectorNode.style.left=d.x+(d.w-this.connectorNode.offsetWidth>>1)-l.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top=""),s.set(this.domNode,"opacity",0),this.fadeIn.play(),this.isShowingNow=!0,this.aroundNode=t,this.onMouseEnter=i||N,this.onMouseLeave=c||N}else this._onDeck=arguments},orient:function(e,t,n,r,o){this.connectorNode.style.top="";var s=r.h,a=r.w;e.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[t+"-"+n],this.domNode.style.width="auto";var c=i.position(this.domNode);(d("ie")||d("trident"))&&(c.w+=2);var l=Math.min(Math.max(a,1),c.w);if(i.setMarginBox(this.domNode,{w:l}),"B"==n.charAt(0)&&"B"==t.charAt(0)){var u=i.position(e),f=this.connectorNode.offsetHeight;if(u.h>s){var h=s-(o.h+f>>1);this.connectorNode.style.top=h+"px",this.connectorNode.style.bottom=""}else this.connectorNode.style.bottom=Math.min(Math.max(o.h/2-f/2,0),u.h-f)+"px",this.connectorNode.style.top=""}else this.connectorNode.style.top="",this.connectorNode.style.bottom="";return Math.max(0,c.w-a)},_onShow:function(){d("ie")&&(this.domNode.style.filter="")},hide:function(e){this._onDeck&&this._onDeck[1]==e?this._onDeck=null:this.aroundNode===e&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play()),this.onMouseEnter=this.onMouseLeave=N},_onHide:function(){this.domNode.style.cssText="",this.containerNode.innerHTML="",this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});d("dojo-bidi")&&y.extend({_setAutoTextDir:function(t){this.applyTextDir(t),e.forEach(t.children,function(e){this._setAutoTextDir(e)},this)},_setTextDirAttr:function(e){this._set("textDir",e),"auto"==e?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}}),m.showTooltip=function(t,n,r,o,i,s,a){return r&&(r=e.map(r,function(e){return{after:"after-centered",before:"before-centered"}[e]||e})),j._masterTT||(m._masterTT=j._masterTT=new y),j._masterTT.show(t,n,r,o,i,s,a)},m.hideTooltip=function(e){return j._masterTT&&j._masterTT.hide(e)};var _="DORMANT",b="SHOW TIMER",w="SHOWING",x="HIDE TIMER";function N(){}var j=t("dijit.Tooltip",h,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(t){e.forEach(this._connections||[],function(t){e.forEach(t,function(e){e.remove()})},this),this._connectIds=e.filter(a.isArrayLike(t)?t:t?[t]:[],function(e){return r.byId(e,this.ownerDocument)},this),this._connections=e.map(this._connectIds,function(e){var t=r.byId(e,this.ownerDocument),n=this.selector,o=n?function(e){return l.selector(n,e)}:function(e){return e},i=this;return[l(t,o(c.enter),function(){i._onHover(this)}),l(t,o("focusin"),function(){i._onHover(this)}),l(t,o(c.leave),a.hitch(i,"_onUnHover")),l(t,o("focusout"),a.hitch(i,"set","state",_))]},this),this._set("connectId",t)},addTarget:function(t){var n=t.id||t;-1==e.indexOf(this._connectIds,n)&&this.set("connectId",this._connectIds.concat(n))},removeTarget:function(t){var n=t.id||t,r=e.indexOf(this._connectIds,n);r>=0&&(this._connectIds.splice(r,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments),o.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var t=this.connectId;e.forEach(a.isArrayLike(t)?t:[t],this.addTarget,this)},getContent:function(e){return this.label||this.domNode.innerHTML},state:_,_setStateAttr:function(e){if(!(this.state==e||e==b&&this.state==w||e==x&&this.state==_)){switch(this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer),this._showTimer&&(this._showTimer.remove(),delete this._showTimer),e){case _:this._connectNode&&(j.hide(this._connectNode),delete this._connectNode,this.onHide());break;case b:this.state!=w&&(this._showTimer=this.defer(function(){this.set("state",w)},this.showDelay));break;case w:var t=this.getContent(this._connectNode);if(!t)return void this.set("state",_);j.show(t,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,a.hitch(this,"set","state",w),a.hitch(this,"set","state",x)),this.onShow(this._connectNode,this.position);break;case x:this._hideTimer=this.defer(function(){this.set("state",_)},this.hideDelay)}this._set("state",e)}},_onHover:function(e){this._connectNode&&e!=this._connectNode&&this.set("state",_),this._connectNode=e,this.set("state",b)},_onUnHover:function(e){this.set("state",x)},open:function(e){this.set("state",_),this._connectNode=e,this.set("state",w)},close:function(){this.set("state",_)},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_),e.forEach(this._connections||[],function(t){e.forEach(t,function(e){e.remove()})},this),this.inherited(arguments)}});return j._MasterTooltip=y,j.show=m.showTooltip,j.hide=m.hideTooltip,j.defaultPosition=["after-centered","before-centered"],j}.apply(null,r))||(e.exports=o)},664:(e,t,n)=>{var r,o;n.dj.r;r=[n(8945),n(9276),n(2641),n(5075)],void 0===(o=function(e,t,n,r){return n(function(){0}),t}.apply(null,r))||(e.exports=o)},722:e=>{e.exports=function(e,t,n,r){this.loaderVersion="1.17.3",function(e,t){var n=function(){return void 0!==u&&"function"!=typeof u?u:void 0!==r?r:"undefined"!=typeof self?self:this}(),o=function(){},i={}.toString,s=function(e){return"[object Function]"==i.call(e)},a=function(e,t){if(e)for(var n=0;n<e.length;)t(e[n++])},c=function(e,t){for(var n in t)e[n]=t[n];return e},l=1,d=function(e,t,n){return undefined(e,t,n,0,d)},u=n,f=u.document,h=f&&f.createElement("DiV"),p=d.has=function(e){return s(v[e])?v[e]=v[e](u,f,h):v[e]},v=p.cache=t.hasCache;for(var g in s(e)&&(e=e(n)),p.add=function(e,t,n,r){return(void 0===v[e]||r)&&(v[e]=t),n&&p(e)},e.has)p.add(g,e.has[g],0,1);d.async=1;var m=function(){};d.eval=function(e,t){return m(e+"\r\n//# sourceURL="+t)};var y,_={},b=(d.signal=function(e,t){var n=_[e];a(n&&n.slice(0),function(e){var n;e.apply(null,(n=t,"[object Array]"==i.call(n)?t:[t]))})},d.on=function(e,t){var n=_[e]||(_[e]=[]);return n.push(t),{remove:function(){for(var e=0;e<n.length;e++)if(n[e]===t)return void n.splice(e,1)}}}),w=[],x=[],N={},j=(d.map={},[]),C={},T="",S={};t.paths,x=t.pathsMapProg,N=t.packs,w=t.aliases,j=t.mapProgs,C=t.modules,S=t.cache,T=t.cacheBust,d.rawConfig=t;var E=function(e,t){if(t)for(var n=0;n<t.length;n++)if(t[n][2].test(e))return t[n];return 0},M=function(e){var t,n,r=[];for(e=e.replace(/\\/g,"/").split("/");e.length;)".."==(t=e.shift())&&r.length&&".."!=n?(r.pop(),n=r[r.length-1]):"."!=t&&r.push(n=t);return r.join("/")},P=function(e,t,n,r){return{pid:e,mid:t,pack:n,url:r,executed:0,def:0}},A=function(e,t,n,r,o,i,l,d,u,f){var h,p,v,g,m,_,b;if(b=/^\./.test(e),/(^\/)|(\:)|(\.js$)/.test(e)||b&&!t)return P(0,e,0,e);if(e=M(b?t.mid+"/../"+e:e),/^\./.test(e))throw function(e,t){return c(new Error(e),{src:"dojoLoader",info:t})}("irrationalPath",e);f||b||!i.star||(g=E(e,i.star[1])),!g&&t&&(g=(g=E(t.mid,i))&&E(e,g[1])),g&&(e=g[1]+e.substring(g[3])),(p=n[h=(y=e.match(/^([^\/]+)(\/(.+))?$/))?y[1]:""])?e=h+"/"+(v=y[3]||p.main):h="";var w=0;return a(d,function(t){var n=e.match(t[0]);n&&n.length>0&&(w=s(t[1])?e.replace(t[0],t[1]):t[1])}),w?A(w,0,n,r,o,i,l,d,u):(_=r[e])?u?P(_.pid,_.mid,_.pack,_.url):r[e]:(m=(g=E(e,l))?g[1]+e.substring(g[3]):h?("/"===p.location.slice(-1)?p.location.slice(0,-1):p.location)+"/"+v:e,/(^\/)|(\:)/.test(m)||(m=o+m),P(h,e,p,M(m+=".js")))},R=function(e,t,n){return A(e,t,N,C,d.baseUrl,j,x,w,void 0,n)},I=(d.toAbsMid=function(e,t){return R(e,t).mid},d.toUrl=function(e,t){var n=R(e+"/x",t),r=n.url;return I(0===n.pid?e:r.substring(0,r.length-5))},"function"==typeof e.fixupUrl?e.fixupUrl:function(e){return(e+="")+(T?(/\?/.test(e)?"&":"?")+T:"")});d.log=o,d.trace=o;var D=o;(c(c(d,t.loaderPatch),e.loaderPatch),b("error",function(e){try{if(console.error(e),e instanceof Error){for(var t in e)console.log(t+":",e[t]);console.log(".")}}catch(e){}}),c(d,{uid:function(){return"_"+l++},cache:S,packs:N}),u.define)||(u.define=D,u.require=d)}.call(this,e,t)}},998:(e,t,n)=>{var r,o;n.dj.r;r=[n(4642),n(6345),n(28),n(6323),n(2075),n(2616),n(7539),n(5659)],void 0===(o=function(e,t,n,r,o,i,s,a){var c=t("dijit._TemplatedMixin",a,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(e){var t=this.declaredClass,n=this;return s.substitute(e,this,function(e,o){if("!"==o.charAt(0)&&(e=r.getObject(o.substr(1),!1,n)),void 0===e)throw new Error(t+" template:"+o);return null==e?"":"!"==o.charAt(0)?e:this._escapeValue(""+e)},this)},_escapeValue:function(e){return e.replace(/["'<>&]/g,function(e){return{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"}[e]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=e(this.templatePath,{sanitize:!0}));var t,o=c.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);if(r.isString(o)){if(1!=(t=n.toDom(this._stringRepl(o),this.ownerDocument)).nodeType)throw new Error("Invalid template: "+o)}else t=o.cloneNode(!0);this.domNode=t}this.inherited(arguments),this._rendered||this._fillContent(this.srcNodeRef),this._rendered=!0},_fillContent:function(e){var t=this.containerNode;if(e&&t)for(;e.hasChildNodes();)t.appendChild(e.firstChild)}});return c._templateCache={},c.getCachedTemplate=function(e,t,r){var o=c._templateCache,i=e,a=o[i];if(a){try{if(!a.ownerDocument||a.ownerDocument==(r||document))return a}catch(e){}n.destroy(a)}if(e=s.trim(e),t||e.match(/\$\{([^\}]+)\}/g))return o[i]=e;var l=n.toDom(e,r);if(1!=l.nodeType)throw new Error("Invalid template: "+e);return o[i]=l},i("ie")&&o(window,"unload",function(){var e=c._templateCache;for(var t in e){var r=e[t];"object"==typeof r&&n.destroy(r),delete e[t]}}),c}.apply(null,r))||(e.exports=o)},1019:(e,t,n)=>{var r,o;n.dj.r;r=[n(6974),n(2685),n(1248),n(1054),n(5075),n(1600),n(231)],void 0===(o=function(e,t,n,r,o,i,s){function a(r,s,a,c){var l=i.getEffectiveBox(r.ownerDocument);r.parentNode&&"body"==String(r.parentNode.tagName).toLowerCase()||o.body(r.ownerDocument).appendChild(r);var d=null;e.some(s,function(e){var n=e.corner,o=e.pos,i=0,s={w:{L:l.l+l.w-o.x,R:o.x-l.l,M:l.w}[n.charAt(1)],h:{T:l.t+l.h-o.y,B:o.y-l.t,M:l.h}[n.charAt(0)]},u=r.style;if(u.left=u.right="auto",a){var f=a(r,e.aroundCorner,n,s,c);i=void 0===f?0:f}var h=r.style,p=h.display,v=h.visibility;"none"==h.display&&(h.visibility="hidden",h.display="");var g=t.position(r);h.display=p,h.visibility=v;var m={L:o.x,R:o.x-g.w,M:Math.max(l.l,Math.min(l.l+l.w,o.x+(g.w>>1))-g.w)}[n.charAt(1)],y={T:o.y,B:o.y-g.h,M:Math.max(l.t,Math.min(l.t+l.h,o.y+(g.h>>1))-g.h)}[n.charAt(0)],_=Math.max(l.l,m),b=Math.max(l.t,y),w=Math.min(l.l+l.w,m+g.w)-_,x=Math.min(l.t+l.h,y+g.h)-b;return i+=g.w-w+(g.h-x),(null==d||i<d.overflow)&&(d={corner:n,aroundCorner:e.aroundCorner,x:_,y:b,w,h:x,overflow:i,spaceAvailable:s}),!i}),d.overflow&&a&&a(r,d.aroundCorner,d.corner,d.spaceAvailable,c);var u=d.y,f=d.x,h=o.body(r.ownerDocument);/relative|absolute/.test(n.get(h,"position"))&&(u-=n.get(h,"marginTop"),f-=n.get(h,"marginLeft"));var p=r.style;return p.top=u+"px",p.left=f+"px",p.right="auto",d}var c={TL:"BR",TR:"BL",BL:"TR",BR:"TL"},l={at:function(t,n,r,o,i){return a(t,e.map(r,function(e){var t={corner:e,aroundCorner:c[e],pos:{x:n.x,y:n.y}};return o&&(t.pos.x+="L"==e.charAt(1)?o.x:-o.x,t.pos.y+="T"==e.charAt(0)?o.y:-o.y),t}),i)},around:function(o,i,s,c,l){var d;if("string"==typeof i||"offsetWidth"in i||"ownerSVGElement"in i){if(d=t.position(i,!0),/^(above|below)/.test(s[0])){var u=t.getBorderExtents(i),f=i.firstChild?t.getBorderExtents(i.firstChild):{t:0,l:0,b:0,r:0},h=t.getBorderExtents(o),p=o.firstChild?t.getBorderExtents(o.firstChild):{t:0,l:0,b:0,r:0};d.y+=Math.min(u.t+f.t,h.t+p.t),d.h-=Math.min(u.t+f.t,h.t+p.t)+Math.min(u.b+f.b,h.b+p.b)}}else d=i;if(i.parentNode)for(var v="absolute"==n.getComputedStyle(i).position,g=i.parentNode;g&&1==g.nodeType&&"BODY"!=g.nodeName;){var m=t.position(g,!0),y=n.getComputedStyle(g);if(/relative|absolute/.test(y.position)&&(v=!1),!v&&/hidden|auto|scroll/.test(y.overflow)){var _=Math.min(d.y+d.h,m.y+m.h),b=Math.min(d.x+d.w,m.x+m.w);d.x=Math.max(d.x,m.x),d.y=Math.max(d.y,m.y),d.h=_-d.y,d.w=b-d.x}"absolute"==y.position&&(v=!0),g=g.parentNode}var w=d.x,x=d.y,N="w"in d?d.w:d.w=d.width,j="h"in d?d.h:(r.deprecated("place.around: dijit/place.__Rectangle: { x:"+w+", y:"+x+", height:"+d.height+", width:"+N+" } has been deprecated. Please use { x:"+w+", y:"+x+", h:"+d.height+", w:"+N+" }","","2.0"),d.h=d.height),C=[];function T(e,t){C.push({aroundCorner:e,corner:t,pos:{x:{L:w,R:w+N,M:w+(N>>1)}[e.charAt(1)],y:{T:x,B:x+j,M:x+(j>>1)}[e.charAt(0)]}})}e.forEach(s,function(e){var t=c;switch(e){case"above-centered":T("TM","BM");break;case"below-centered":T("BM","TM");break;case"after-centered":t=!t;case"before-centered":T(t?"ML":"MR",t?"MR":"ML");break;case"after":t=!t;case"before":T(t?"TL":"TR",t?"TR":"TL"),T(t?"BL":"BR",t?"BR":"BL");break;case"below-alt":t=!t;case"below":T(t?"BL":"BR",t?"TL":"TR"),T(t?"BR":"BL",t?"TR":"TL");break;case"above-alt":t=!t;case"above":T(t?"TL":"TR",t?"BL":"BR"),T(t?"TR":"TL",t?"BR":"BL");break;default:T(e.aroundCorner,e.corner)}});var S=a(o,C,l,{w:N,h:j});return S.aroundNodePos=d,S}};return s.place=l}.apply(null,r))||(e.exports=o)},1054:(e,t,n)=>{var r,o;n.dj.r;r=[n(1925),n(6356),n(7361),n.dj.c(e),n.dj.m(e)],o=function(e,t,n,r,o){var i,s,a,c={},l={},d={config:n,global:e,dijit:c,dojox:l},u={dojo:["dojo",d],dijit:["dijit",c],dojox:["dojox",l]},f=r.map&&r.map[o.id.match(/[^\/]+/)[0]];for(s in f)u[s]?u[s][0]=f[s]:u[s]=[f[s],{}];for(s in u)(a=u[s])[1]._scopeName=a[0],n.noGlobals||(e[a[0]]=a[1]);d.scopeMap=u,d.baseUrl=d.config.baseUrl=r.baseUrl,d.isAsync=!0,d.locale=n.locale;var h="$Rev:$".match(/[0-9a-f]{7,}/);if(d.version={major:1,minor:17,patch:3,flag:"",revision:h?h[0]:NaN,toString:function(){var e=d.version;return e.major+"."+e.minor+"."+e.patch+e.flag+" ("+e.revision+")"}},t.add("extend-dojo",1),t("csp-restrictions")||Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(d),t("host-rhino")?d.exit=function(e){quit(e)}:d.exit=function(){},t("host-webworker")||t.add("dojo-guarantee-console",1),t("dojo-guarantee-console")){t.add("console-as-object",function(){return Function.prototype.bind&&console&&"object"==typeof console.log}),"undefined"!=typeof console||(console={});var p,v=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(i=0;p=v[i++];)console[p]?t("console-as-object")&&(console[p]=Function.prototype.bind.call(console[p],console)):function(){var e=p+"";console[e]="log"in console?function(){var t=Array.prototype.slice.call(arguments);t.unshift(e+":"),console.log(t.join(" "))}:function(){},console[e]._fake=!0}()}if(t.add("dojo-debug-messages",!!n.isDebug),d.deprecated=d.experimental=function(){},t.add("dojo-modulePaths",1),t("dojo-modulePaths")&&n.modulePaths){d.deprecated("dojo.modulePaths","use paths configuration");var g={};for(s in n.modulePaths)g[s.replace(/\./g,"/")]=n.modulePaths[s];r({paths:g})}return t.add("dojo-moduleUrl",1),t("dojo-moduleUrl")&&(d.moduleUrl=function(e,t){d.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var n=null;return e&&(n=r.toUrl(e.replace(/\./g,"/")+(t?"/"+t:"")+"/*.*").replace(/\/\*\.\*/,"")+(t?"":"/")),n}),d._hasResource={},d}.apply(null,r),void 0===o||(e.exports=o)},1142:(e,t,n)=>{var r,o;n.dj.r;r=[n(1054),n(2284),n(1248),n(7878),n(5244),n(8945),n(28),n(2685)],void 0===(o=function(e,t,n,r,o,i,s,a){return e.byId=t.byId,e.isDescendant=t.isDescendant,e.setSelectable=t.setSelectable,e.getAttr=r.get,e.setAttr=r.set,e.hasAttr=r.has,e.removeAttr=r.remove,e.getNodeProp=r.getNodeProp,e.attr=function(e,t,n){return 2==arguments.length?r["string"==typeof t?"get":"set"](e,t):r.set(e,t,n)},e.hasClass=i.contains,e.addClass=i.add,e.removeClass=i.remove,e.toggleClass=i.toggle,e.replaceClass=i.replace,e._toDom=e.toDom=s.toDom,e.place=s.place,e.create=s.create,e.empty=function(e){s.empty(e)},e._destroyElement=e.destroy=function(e){s.destroy(e)},e._getPadExtents=e.getPadExtents=a.getPadExtents,e._getBorderExtents=e.getBorderExtents=a.getBorderExtents,e._getPadBorderExtents=e.getPadBorderExtents=a.getPadBorderExtents,e._getMarginExtents=e.getMarginExtents=a.getMarginExtents,e._getMarginSize=e.getMarginSize=a.getMarginSize,e._getMarginBox=e.getMarginBox=a.getMarginBox,e.setMarginBox=a.setMarginBox,e._getContentBox=e.getContentBox=a.getContentBox,e.setContentSize=a.setContentSize,e._isBodyLtr=e.isBodyLtr=a.isBodyLtr,e._docScroll=e.docScroll=a.docScroll,e._getIeDocumentElementOffset=e.getIeDocumentElementOffset=a.getIeDocumentElementOffset,e._fixIeBiDiScrollLeft=e.fixIeBiDiScrollLeft=a.fixIeBiDiScrollLeft,e.position=a.position,e.marginBox=function(e,t){return t?a.setMarginBox(e,t):a.getMarginBox(e)},e.contentBox=function(e,t){return t?a.setContentSize(e,t):a.getContentBox(e)},e.coords=function(r,o){e.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox()."),r=t.byId(r);var i=n.getComputedStyle(r),s=a.getMarginBox(r,i),c=a.position(r,o);return s.x=c.x,s.y=c.y,s},e.getProp=o.get,e.setProp=o.set,e.prop=function(e,t,n){return 2==arguments.length?o["string"==typeof t?"get":"set"](e,t):o.set(e,t,n)},e.getStyle=n.get,e.setStyle=n.set,e.getComputedStyle=n.getComputedStyle,e.__toPixelValue=e.toPixelValue=n.toPixelValue,e.style=function(e,t,r){switch(arguments.length){case 1:return n.get(e);case 2:return n["string"==typeof t?"get":"set"](e,t)}return n.set(e,t,r)},e}.apply(null,r))||(e.exports=o)},1172:(e,t,n)=>{var r,o;n.dj.r;r=[n(1054),n(6356),n(2284),n(2075),n(6974),n(6323),n(5226),n(6178)],void 0===(o=function(e,t,n,r,o,i,s,a){"use strict";t.add("array-extensible",function(){return 1==i.delegate([],{length:1}).length&&!t("bug-for-in-skips-shadowed")});var c=Array.prototype,l=c.slice,d=c.concat,u=o.forEach,f=function(t,n,r){return n=[0].concat(l.call(n,0)),r=r||e.global,function(e){return n[0]=e,t.apply(r,n)}},h=function(e){var n=this instanceof p&&t("array-extensible");"number"==typeof e&&(e=Array(e));var r=e&&"length"in e?e:arguments;if(n||!r.sort){for(var o=n?this:[],s=o.length=r.length,a=0;a<s;a++)o[a]=r[a];if(n)return o;r=o}return i._mixin(r,v),r._NodeListCtor=function(e){return p(e)},r},p=h,v=p.prototype=t("array-extensible")?[]:{};function g(e,t){var r=function(r,o){if("string"==typeof o&&!(o=n.byId(o)))return new t([]);var i="string"==typeof r?e(r,o):r?r.end&&r.on?r:[r]:[];return i.end&&i.on?i:new t(i)};if(r.matches=e.match||function(e,t,n){return r.filter([e],t,n).length>0},r.filter=e.filter||function(e,t,n){return r(t,n).filter(function(t){return o.indexOf(e,t)>-1})},"function"!=typeof e){var i=e.search;e=function(e,t){return i(t||document,e)}}return r}p._wrap=v._wrap=function(e,t,n){var r=new(n||this._NodeListCtor||p)(e);return t?r._stash(t):r},p._adaptAsMap=function(e,t){return function(){return this.map(f(e,arguments,t))}},p._adaptAsForEach=function(e,t){return function(){return this.forEach(f(e,arguments,t)),this}},p._adaptAsFilter=function(e,t){return function(){return this.filter(f(e,arguments,t))}},p._adaptWithCondition=function(t,n,r){return function(){var o=arguments,i=f(t,o,r);return n.call(r||e.global,o)?this.map(i):(this.forEach(i),this)}},u(["slice","splice"],function(e){var t=c[e];v[e]=function(){return this._wrap(t.apply(this,arguments),"slice"==e?this:null)}}),u(["indexOf","lastIndexOf","every","some"],function(t){var n=o[t];v[t]=function(){return n.apply(e,[this].concat(l.call(arguments,0)))}}),i.extend(h,{constructor:p,_NodeListCtor:p,toString:function(){return this.join(",")},_stash:function(e){return this._parent=e,this},on:function(e,t){var n=this.map(function(n){return r(n,e,t)});return n.remove=function(){for(var e=0;e<n.length;e++)n[e].remove()},n},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(e){var t=l.call(this,0),n=o.map(arguments,function(e){return l.call(e,0)});return this._wrap(d.apply(t,n),this)},map:function(e,t){return this._wrap(o.map(this,e,t),this)},forEach:function(e,t){return u(this,e,t),this},filter:function(e){var t=arguments,n=this,r=0;if("string"==typeof e){if(n=m._filterResult(this,t[0]),1==t.length)return n._stash(this);r=1}return this._wrap(o.filter(n,t[r],t[r+1]),this)},instantiate:function(e,t){var n=i.isFunction(e)?e:i.getObject(e);return t=t||{},this.forEach(function(e){new n(t,e)})},at:function(){var e=new this._NodeListCtor(0);return u(arguments,function(t){t<0&&(t=this.length+t),this[t]&&e.push(this[t])},this),e._stash(this)}});var m=g(a,h);return e.query=g(a,function(e){return h(e)}),m.load=function(e,t,n){s.load(e,t,function(e){n(g(e,h))})},e._filterQueryResult=m._filterResult=function(e,t,n){return new h(m.filter(e,t,n))},e.NodeList=m.NodeList=h,m}.apply(null,r))||(e.exports=o)},1248:(e,t,n)=>{var r,o;n.dj.r;r=[n(2616),n(2284),n(5075)],void 0===(o=function(e,t,n){var r,o,i={};r=e("webkit")?function(e){var t;if(1==e.nodeType){var n=e.ownerDocument.defaultView;!(t=n.getComputedStyle(e,null))&&e.style&&(e.style.display="",t=n.getComputedStyle(e,null))}return t||{}}:e("ie")&&(e("ie")<9||e("quirks"))?function(e){return 1==e.nodeType&&e.currentStyle?e.currentStyle:{}}:function(e){if(1===e.nodeType){var t=e.ownerDocument.defaultView;return(t.opener?t:n.global.window).getComputedStyle(e,null)}return{}},i.getComputedStyle=r,o=e("ie")?function(e,t){if(!t)return 0;if("medium"==t)return 4;if(t.slice&&"px"==t.slice(-2))return parseFloat(t);var n=e.style,r=e.runtimeStyle,o=e.currentStyle,i=n.left,s=r.left;r.left=o.left;try{n.left=t,t=n.pixelLeft}catch(e){t=0}return n.left=i,r.left=s,t}:function(e,t){return parseFloat(t)||0},i.toPixelValue=o;var s="DXImageTransform.Microsoft.Alpha",a=function(e,t){try{return e.filters.item(s)}catch(e){return t?{}:null}},c=e("ie")<9||e("ie")<10&&e("quirks")?function(e){try{return a(e).Opacity/100}catch(e){return 1}}:function(e){return r(e).opacity},l=e("ie")<9||e("ie")<10&&e("quirks")?function(e,t){""===t&&(t=1);var n=100*t;if(1===t?(e.style.zoom="",a(e)&&(e.style.filter=e.style.filter.replace(new RegExp("\\s*progid:"+s+"\\([^\\)]+?\\)","i"),""))):(e.style.zoom=1,a(e)?a(e,1).Opacity=n:e.style.filter+=" progid:"+s+"(Opacity="+n+")",a(e,1).Enabled=!0),"tr"==e.tagName.toLowerCase())for(var r=e.firstChild;r;r=r.nextSibling)"td"==r.tagName.toLowerCase()&&l(r,t);return t}:function(e,t){return e.style.opacity=t},d={left:!0,top:!0},u=/margin|padding|width|height|max|min|offset/;var f={cssFloat:1,styleFloat:1,float:1};return i.get=function(e,n){var r=t.byId(e),s=arguments.length;if(2==s&&"opacity"==n)return c(r);n=f[n]?"cssFloat"in r.style?"cssFloat":"styleFloat":n;var a=i.getComputedStyle(r);return 1==s?a:function(e,t,n){if(t=t.toLowerCase(),"auto"==n){if("height"==t)return e.offsetHeight;if("width"==t)return e.offsetWidth}return"fontweight"==t?700===n?"bold":"normal":(t in d||(d[t]=u.test(t)),d[t]?o(e,n):n)}(r,n,a[n]||r.style[n])},i.set=function(e,n,r){var o=t.byId(e),s=arguments.length,a="opacity"==n;if(n=f[n]?"cssFloat"in o.style?"cssFloat":"styleFloat":n,3==s)return a?l(o,r):o.style[n]=r;for(var c in n)i.set(e,c,n[c]);return i.getComputedStyle(o)},i}.apply(null,r))||(e.exports=o)},1442:(e,t,n)=>{var r,o;n.dj.r;r=[n(3878),n(5744),n(4481)],void 0===(o=function(e,t){return t(e,"dgrid/extensions/nls/pagination",n.dj.c(),!1)}.apply(null,r))||(e.exports=o)},1540:(e,t,n)=>{var r,o;n.dj.r;r=[n(6345),n(6323),n(28),n(8945),n(2075),n(6356),n(4624),n(4975),n(3927)],void 0===(o=function(e,t,n,r,o,i,s,a){function c(e,t){t&&t.nodeType&&e.appendChild(t)}function l(e){return a.escapeCssIdentifier(e,"-")}var d=e(s,{columns:null,hasNeutralSort:!1,cellNavigation:!0,tabableHeader:!0,showHeader:!0,column:function(e){return"object"!=typeof e?this.columns[e]:this.cell(e).column},listType:"grid",cell:function(e,t){if(e.column&&e.element)return e;var n;if(e.target&&e.target.nodeType&&(e=e.target),e.nodeType)do{if(this._rowIdToObject[e.id])break;var r=e.columnId;if(r){t=r,n=e;break}e=e.parentNode}while(e&&e!==this.domNode);if(!n&&void 0!==t){var o=this.row(e),i=o&&o.element;if(i)for(var s=i.getElementsByTagName("td"),a=0;a<s.length;a++)if(s[a].columnId===t){n=s[a];break}}return null!=e?{row:o||this.row(e),column:t&&this.column(t),element:n}:void 0},createRowCells:function(e,t,r,o,s){var a,c,d,u,f,h,p,v,g,m,y,_,b,w=n.create("table",{className:"dgrid-row-table",role:"presentation"}),x=i("ie")<9?n.create("tbody",null,w):w;for(c=0,d=(r=r||this.subRows).length;c<d;c++)for(h=r[c],a=n.create("tr",null,x),h.className&&(a.className=h.className),u=0,f=h.length;u<f;u++)v=(p=h[u]).id,g=p.field?" field-"+l(p.field):"",(m="function"==typeof p.className?p.className(o):p.className)&&(g+=" "+m),(y=n.create(e,{className:"dgrid-cell"+(v?" dgrid-column-"+l(v):"")+g,role:"th"===e?"columnheader":"gridcell"})).columnId=v,(_=p.colSpan)&&(y.colSpan=_),(b=p.rowSpan)&&(y.rowSpan=b),t(y,p,o,s),a.appendChild(y);return w},_createBodyRowCell:function(e,t,n,r){var o=n;t.get?o=t.get(n):"field"in t&&"_item"!==t.field&&(o=n[t.field]),t.renderCell?c(e,t.renderCell(n,o,e,r)):this._defaultRenderCell.call(t,n,o,e,r)},_createHeaderRowCell:function(e,t){var n=t.headerNode=e,r=t.field;r&&(e.field=r),t.renderHeaderCell?c(n,t.renderHeaderCell(n)):("label"in t||t.field)&&n.appendChild(document.createTextNode("label"in t?t.label:t.field)),!1!==t.sortable&&r&&"_item"!==r&&(e.sortable=!0,e.className+=" dgrid-sortable")},left:function(e,t){return e.element||(e=this.cell(e)),this.cell(this._move(e,-(t||1),"dgrid-cell"))},right:function(e,t){return e.element||(e=this.cell(e)),this.cell(this._move(e,t||1,"dgrid-cell"))},_defaultRenderCell:function(e,t,n){if(this.formatter){var r=this.formatter,o=this.grid.formatterScope,i="string"==typeof r&&o?o[r](t,e):this.formatter(t,e);null!=i&&i.hasOwnProperty("html")?n.innerHTML=i.html:null!=i&&n.appendChild(document.createTextNode(i))}else null!=t&&n.appendChild(document.createTextNode(t))},renderRow:function(e,r){var o=this.createRowCells("td",t.hitch(this,"_createBodyRowCell"),r&&r.subRows,e,r),i=n.create("div",{role:"row"});return i.appendChild(o),i},renderHeader:function(){var e=this,r=this.headerNode;r.setAttribute("role","row"),n.empty(r);var s=this.createRowCells("th",t.hitch(this,"_createHeaderRowCell"),this.subRows&&this.subRows.headerRows);this._rowIdToObject[s.id=this.id+"-header"]=this.columns,r.appendChild(s),this._sortListener&&this._sortListener.remove(),this._sortListener=o(s,"click,keydown",function(t){if("click"===t.type||32===t.keyCode||!i("opera")&&13===t.keyCode){var n,s,a,c,l=t.target;do{if(l.sortable){n=l.field||l.columnId,s=e.sort[0],a=e.hasNeutralSort&&s&&s.property===n&&s.descending?[]:[{property:n,descending:s&&s.property===n&&!s.descending}],c={bubbles:!0,cancelable:!0,grid:e,parentType:t.type,sort:a},o.emit(t.target,"dgrid-sort",c)&&(e._sortNode=l,e.set("sort",a));break}}while((l=l.parentNode)&&l!==r)}})},resize:function(){var e,t=this.headerNode.firstChild,n=this.contentNode;this.inherited(arguments),n.style.width="",n&&t&&(e=t.offsetWidth)>n.offsetWidth&&(n.style.width=e+"px")},destroy:function(){this._destroyColumns(),this._sortListener&&this._sortListener.remove(),this.inherited(arguments)},_setSort:function(){this.inherited(arguments),this.updateSortArrow(this.sort)},_findSortArrowParent:function(e){var t=this.columns;for(var n in t){var r=t[n];if(r.field===e)return r.headerNode}},updateSortArrow:function(e,t){if(this._lastSortedArrow&&(this._lastSortedArrow.parentNode&&r.remove(this._lastSortedArrow.parentNode,"dgrid-sort-up dgrid-sort-down"),n.destroy(this._lastSortedArrow),delete this._lastSortedArrow),t&&(this.sort=e),e[0]){var o=e[0].property,i=e[0].descending,s=this._sortNode||this._findSortArrowParent(o);delete this._sortNode,s&&(s=s.contents||s,this._lastSortedArrow=n.create("div",{className:"dgrid-sort-arrow ui-icon",innerHTML:"&nbsp;",role:"presentation"},s,"first"),r.add(s,"dgrid-sort-"+(i?"down":"up")),this.resize())}},styleColumn:function(e,t){return this.addCssRule("#"+a.escapeCssIdentifier(this.domNode.id)+" .dgrid-column-"+l(e),t)},_configColumns:function(e,t){var n=[],r=t instanceof Array;return a.each(t,function(o,i){"string"==typeof o&&(t[i]=o={label:o}),r||o.field||(o.field=i),i=o.id=o.id||(isNaN(i)?i:e+i),this._configColumn&&(this._configColumn(o,t,e),i=o.id),r&&(this.columns[i]=o),o.grid?o.grid!==this&&console.warn("Sharing column definition objects with multiple grids is not supported.",o.grid,this):o.grid=this,n.push(o)},this),r?t:n},_destroyColumns:function(){this.cleanup()},configStructure:function(){var e=this.subRows,t=this._columns=this.columns;if(this.columns=!t||t instanceof Array?{}:t,e)for(var n=0;n<e.length;n++)e[n]=this._configColumns(n+"-",e[n]);else this.subRows=[this._configColumns("",t)]},_getColumns:function(){return this._columns||this.columns},_setColumns:function(e){this._destroyColumns(),this.subRows=null,this.columns=e,this._updateColumns()},_setSubRows:function(e){this._destroyColumns(),this.subRows=e,this._updateColumns()},_updateColumns:function(){this.configStructure(),this.renderHeader(),this.refresh(),this._lastCollection&&this.renderArray(this._lastCollection),this._started&&(this.sort.length?(this._lastSortedArrow=null,this.updateSortArrow(this.sort)):this.resize())}});return d.appendIfNode=c,d}.apply(null,r))||(e.exports=o)},1600:(e,t,n)=>{var r,o;n.dj.r;r=[n(9925),n(2075),n(2641),n(2616),n(3930)],void 0===(o=function(e,t,n,r,o){var i,s=new e;return n(function(){var e=o.getBox();if(s._rlh=t(window,"resize",function(){var t=o.getBox();e.h==t.h&&e.w==t.w||(e=t,s.emit("resize"))}),8==r("ie")){var n=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=n&&(n=screen.deviceXDPI,s.emit("resize"))},500)}r("ios")&&(t(document,"focusin",function(e){i=e.target}),t(document,"focusout",function(e){i=null}))}),s.getEffectiveBox=function(e){var t=o.getBox(e),n=i&&i.tagName&&i.tagName.toLowerCase();if(r("ios")&&i&&!i.readOnly&&("textarea"==n||"input"==n&&/^(color|email|number|password|search|tel|text|url)$/.test(i.type))){t.h*=0==orientation||180==orientation?.66:.4;var s=i.getBoundingClientRect();t.h=Math.max(t.h,s.top+s.height)}return t},s}.apply(null,r))||(e.exports=o)},1603:(e,t,n)=>{var r,o;n.dj.r;r=[n(6323),n(6974),n(6566),n(6356),n(3534),n(6345),n(2219),n(8942),n(9925)],void 0===(o=function(e,t,n,r,o,i,s,a,c){r.add("object-proto",!!{}.__proto__&&!{}.watch);var l=r("object-proto");function d(e){return function(t,n){var r=this;return o(t,function(t){var o={target:t},i=n[1]||{};"beforeId"in i&&(o.beforeId=i.beforeId),r.emit(e,o)}),t}}return i(c,{constructor:function(e){e&&i.safeMixin(this,e),this.Model&&this.Model.createSubclass&&(this.Model=this.Model.createSubclass([]).extend({_store:this})),this.storage=new c;var t=this;this.autoEmitEvents&&(n.after(this,"add",d("add")),n.after(this,"put",d("update")),n.after(this,"remove",function(e,n){return o(e,function(){t.emit("delete",{id:n[0]})}),e}))},autoEmitEvents:!0,idProperty:"id",queryAccessors:!0,getIdentity:function(e){return e.get?e.get(this.idProperty):e[this.idProperty]},_setIdentity:function(e,t){e.set?e.set(this.idProperty,t):e[this.idProperty]=t},forEach:function(e,t){var n=this;return o(this.fetch(),function(r){for(var o,i=0;void 0!==(o=r[i]);i++)e.call(t,o,i,n);return r})},matchesFilter:function(e){var t=this.queryLog;if(t&&e){for(var n=[e],r=0,o=t.length;r<o;r++)n=t[r].querier(n);return n.length>0}return!0},on:function(e,t,n){var r=this;return this.storage.on(e,function(e){t&&(n&&!r.matchesFilter(e&&e.target)||t&&t(e))})},emit:function(e,t){(t=t||{}).type=e;try{return this.storage.emit(e,t)}catch(e){console.error(e)}finally{return t.cancelable}},parse:null,stringify:null,Model:null,_restore:function(t,n){var r=this.Model;if(r&&t){var o=r.prototype,i=o._restore;i?t=i.call(t,r,n):l&&n?t.__proto__=o:t=e.delegate(o,t)}return t},create:function(e){return new this.Model(e)},_createSubCollection:function(t){var n=e.delegate(this.constructor.prototype);for(var r in this)this._includePropertyInSubCollection(r,n)&&(n[r]=this[r]);return i.safeMixin(n,t)},_includePropertyInSubCollection:function(e,t){return!(e in t)||t[e]!==this[e]},queryLog:[],filter:new s({type:"filter",normalizeArguments:function(e){var t=this.Filter;return e instanceof t?[e]:[new t(e)]}}),Filter:a,sort:new s({type:"sort",normalizeArguments:function(n,r){var o;return"function"==typeof n?o=[n]:(o=n instanceof Array?n.slice():"object"==typeof n?[].slice.call(arguments):[{property:n,descending:r}],o=[o=t.map(o,function(t){return(t=e.mixin({},t)).descending=!!t.descending,t})]),o}}),select:new s({type:"select"}),_getQuerierFactory:function(e){return this["_create"+(e[0].toUpperCase()+e.substr(1))+"Querier"]}})}.apply(null,r))||(e.exports=o)},1662:(e,t,n)=>{var r,o;n.dj.r;r=[n(4332)],void 0===(o=function(e){return e("CancelError",null,null,{dojoType:"cancel",log:!1})}.apply(null,r))||(e.exports=o)},1692:(e,t,n)=>{var r,o;n.dj.r;r=[n(1054),n(6323),n(6974),n(7361)],void 0===(o=function(e,t,n,r){var o=e.Color=function(e){e&&this.setColor(e)};return o.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:r.transparentColor||[0,0,0,0]},t.extend(o,{r:255,g:255,b:255,a:1,_set:function(e,t,n,r){var o=this;o.r=e,o.g=t,o.b=n,o.a=r},setColor:function(e){return t.isString(e)?o.fromString(e,this):t.isArray(e)?o.fromArray(e,this):(this._set(e.r,e.g,e.b,e.a),e instanceof o||this.sanitize()),this},sanitize:function(){return this},toRgb:function(){var e=this;return[e.r,e.g,e.b]},toRgba:function(){var e=this;return[e.r,e.g,e.b,e.a]},toHex:function(){return"#"+n.map(["r","g","b"],function(e){var t=this[e].toString(16);return t.length<2?"0"+t:t},this).join("")},toCss:function(e){var t=this,n=t.r+", "+t.g+", "+t.b;return(e?"rgba("+n+", "+t.a:"rgb("+n)+")"},toString:function(){return this.toCss(!0)}}),o.blendColors=e.blendColors=function(e,t,n,r){var i=r||new o;return i.r=Math.round(e.r+(t.r-e.r)*n),i.g=Math.round(e.g+(t.g-e.g)*n),i.b=Math.round(e.b+(t.b-e.b)*n),i.a=e.a+(t.a-e.a)*n,i.sanitize()},o.fromRgb=e.colorFromRgb=function(e,t){var n=e.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return n&&o.fromArray(n[1].split(/\s*,\s