")},s.getElementOuterText=function(t){return t.outerHTML.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},s.hasClass=function(t,e){if(t&&t.getAttribute){var n=t.getAttribute("class");if(n)return n=n.replace(/[\t\r\n\f]/g," ").split(" "),n.indexOf(e)>=0}return!1},s.removeClass=function(t,e){if(t&&t.setAttribute&&s.hasClass(t,e)){var n=t.getAttribute("class").split(" "),r=[];a.each(n,function(t){t.toLowerCase()!==e.toLowerCase()&&r.push(t)}),t.setAttribute("class",r.join(" "))}},s.addClass=function(t,e){if(t&&t.setAttribute&&!s.hasClass(t,e)){var n=t.getAttribute("class");t.setAttribute("class",n?n+" "+e:e)}},s.toggleClass=function(t,e,n){n===!0?s.addClass(t,e):s.removeClass(t,e)},s.getElement=function(t){return t instanceof HTMLElement?t:c.isString(t)?document.querySelector(t):null},s.contains=function(t,e){for(var n=e;n;n=n.parentElement)if(n===t)return!0;return!1},s.offset=function(t){var e=t?t.getBoundingClientRect():h;return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},s.gER=function(t){var e=t?t.getBoundingClientRect():h;return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:e.width,height:e.height}},s.gCoR=function(t){var e=t?t.getBoundingClientRect():h,n=i(t),r=n.paddingLeft+n.paddingRight,o=n.paddingTop+n.paddingBottom,u=n.borderLeftWidth+n.borderRightWidth,a=n.borderTopWidth+n.borderBottomWidth;return{left:e.left+window.pageXOffset+n.borderLeftWidth+n.paddingLeft,top:e.top+window.pageYOffset+n.borderTopWidth+n.paddingTop,width:Math.max(0,Math.floor(e.width-r-u)),height:Math.max(0,Math.floor(e.height-o-a))}},s.gCoRFn=function(t){var e=i(t),n=e.paddingLeft+e.paddingRight,r=e.paddingTop+e.paddingBottom,o=e.borderLeftWidth+e.borderRightWidth,u=e.borderTopWidth+e.borderBottomWidth;return function(){var i=t.getBoundingClientRect();return{left:i.left+window.pageXOffset+e.borderLeftWidth+e.paddingLeft,top:i.top+window.pageYOffset+e.borderTopWidth+e.paddingTop,width:Math.max(0,Math.floor(i.width-n-o)),height:Math.max(0,Math.floor(i.height-r-u))}}},s.getStyle=function(t){var e=getComputedStyle||window.getComputedStyle;return t&&e?e(t,null):null};var d=["paddingLeft","paddingRight","paddingTop","paddingBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","marginLeft","marginRight","marginTop","marginBottom"];s.gCSV=i,s.getBodyStyle=u,s.setCss=function(t,e){var n=t.style;for(var r in e){var i=e[r];c.isNumber(i)&&r.match(/width|height|left|top|right|bottom|size|padding|margin'/i)&&(i+="px"),n[r]=i.toString()}},s.gSS=function(t){if(t.scS_)return t.scS_;var e=s.createElement('');return document.body.appendChild(e),t.scS_={width:e.offsetWidth-e.clientWidth,height:e.offsetHeight-e.clientHeight},e.parentNode.removeChild(e),t.scS_},s.gSCH=function(){if(s.mSCH)return s.mSCH;var t,e=1e6,n=6e9,r=s.createElement('');for(document.body.appendChild(r);;){if(t=e+5e5,r.style.height=t+"px",t>n||r.offsetHeight!==t)break;e=t}return r.parentNode.removeChild(r),s.mSCH=e,s.mSCH},s.closest=function(t,e){for(;t;){if(t.matches?t.matches(e):t.msMatchesSelector(e))return t;if(t.parentNode===document)return null;t=t.parentNode}return null};var p=void 0;s.detectRTLMode=function(){if(p)return p;var t=s.createElement('');document.body.appendChild(t);var e="normal";return 0===t.scrollLeft&&(t.scrollLeft=1e4,e=t.scrollLeft>0?"reverse":"negative"),document.body.removeChild(t),t=null,p=e,e},s.getRTLScrollLeft=function(t){var e=arguments.length<=1||void 0===arguments[1]?"normal":arguments[1];return s.isDomElement(t)?s.tRTLSL(t.scrollLeft,t.scrollWidth-t.clientWidth,s.detectRTLMode(),e):void 0},s.setRTLScrollLeft=function(t,e){var n=arguments.length<=2||void 0===arguments[2]?"normal":arguments[2];if(s.isDomElement(t)){var r=s.detectRTLMode();t.scrollLeft=n===r?e:s.tRTLSL(e,t.scrollWidth-t.clientWidth,n,r)}};var g={normal:0,reverse:1,negative:2};s.tRTLSL=function(t,e,n,i){if(n===i)return t;if(n=g[n],i=g[i],0>=e)return 0;var o=[[[1],[-1,e],[1,-e]],[[-1,e],[1],[-1]],[[1,e],[-1],[1]]];return function(t,e){var n=arguments.length<=2||void 0===arguments[2]?0:arguments[2];return(e>0?t:-t)+n}.apply(void 0,[t].concat(r(o[n][i])))},s.inverseToRTL=function(t){if(!s.isDomElement(t))return t;var e,n="[style]";e="TEMPLATE"===t.tagName?t.content.querySelectorAll(n):t.querySelectorAll(n);var r=function(t,e,n){var r=t.style[e];c.isNilOrWhiteSpace(r)||(t.style[e]="",t.style[n]=r)};return a.forEach(e,function(t){c.isNilOrWhiteSpace(t.style.right)?c.isNilOrWhiteSpace(t.style.left)||r(t,l,f):r(t,f,l),t.style["float"]===f?t.style["float"]=l:t.style["float"]===l&&(t.style["float"]=f)}),t},s.detectBrowserType=function(){if(s.duckTypingBrowserType)return s.duckTypingBrowserType;var t=navigator&&navigator.userAgent,e=!!window.opr&&!!window.opr.addons||!!window.opera||t.indexOf(" OPR/")>=0,n="undefined"!=typeof InstallTrigger,r=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,i=!!document.documentMode,o=!i&&!!window.StyleMedia,u=!!window.chrome&&!!window.chrome.webstore,a=(u||e)&&!!window.CSS,c=!!t.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop/i);return s.duckTypingBrowserType={isOpera:e,isFirefox:n,isSafari:r,isIE:i,isEdge:o,isChrome:u,isBlink:a,isMobileDevice:c}},t.exports=s}()},function(t,e,n){"use strict";!function(){function e(t){return O.isNil(t)?!0:O.isString(t)?t.replace(/\s/g,"").length<1:!1}function r(t,e,n){t&&t.removeEventListener(e,n)}function i(t,e,n){t&&t.addEventListener(e,n)}function o(t){}function u(t){return I.isNumber(t)?"number":I.isBoolean(t)?"boolean":I.isDate(t)?"date":I.isString(t)?"string":I.isArray(t)?"array":I.isObject(t)?"object":""}function a(t,e){var n=O.isNil(e)||"boolean"==typeof e||""===e;if(n)return"";var r=isNaN(e);return r||0===e||j.hasOwnProperty(t)&&j[t]?""+e:("string"==typeof e&&(e=e.trim()),e+"px")}function c(t){var e={};return function(n){return e.hasOwnProperty(n)?e[n]:(e[n]=t.call(this,n),e[n])}}function l(t){return t.replace(D,"-$1").toLowerCase()}function f(t){return l(t).replace(A,"-ms-")}function s(t){var e="";for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];O.isNil(r)||(e+=N(n)+":",e+=a(n,r)+";")}return e||null}function h(t,e){var n=function(t){return"[object Object]"===Object.prototype.toString.call(t)};if(!n(t)||!n(e))return t;for(var r,i=[{level:-1,value:t,key:null}],o=[],u={};i.length>0;)if(r=i.pop(),I.isNil(r.key)||(o=O.take(o,r.level),o.push(r.key)),I.isObject(r.value)&&!I.isFunction(r.value))for(var a in r.value)i.push({level:r.level+1,value:r.value[a],key:a});else{var c=o.join("."),l=O.get(t,c);l!==O.get(e,c)&&O.set(u,c,l)}return O.isEmpty(u)?null:u}function d(t){var e=O.cloneDeep(t),n=[];e&&n.push(e);for(var r;n.length>0;)if(r=n.pop(),I.isObject(r))for(var i in r)n.push(r[i]),I.isFunction(r[i])&&(r[i]=g(r[i]));return e}function p(t){var e=O.clone(t),n=[];e&&n.push(e);for(var r,i;n.length>0;)if(r=n.pop(),I.isObject(r))for(var o in r)n.push(r[o]),I.isString(r[o])&&(i=v(r[o]),i&&(r[o]=i));return e}function g(t){return t.toString()}function v(t){if(I.isString(t)&&"function"===t.substr(0,8)&&(/\s/.test(t[8])||"("===t[8])){var e=t.indexOf("(")+1,n=t.indexOf(")"),r=t.substr(e,n-e).split(",").map(function(t){return t.replace(/\s+/,"")}),i=t.indexOf("{")+1,o=t.lastIndexOf("}");return new Function(r,t.substr(i,o-i))}return null}function m(t){var e;try{e=GC.Spread.Views.Plugins[t]}catch(n){}return e}function y(t){var e={},n=GC&&GC.Spread&&GC.Spread.Views&&GC.Spread.Views.LocaleResource&&GC.Spread.Views.LocaleResource.content;for(var r in t)e[r]=n&&n[r];return e}function w(t){var e=I.toDate(t);if(isNaN(e.getTime()))return t;var n=e.getFullYear().toString(),r=(e.getMonth()+1).toString(),i=e.getDate().toString();return _(n,4)+"-"+_(r,2)+"-"+_(i,2)}function _(t,e){var n=e-t.length+1;return n>=0?new Array(n).join("0")+t:t}function b(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);n.prototype=e.prototype,t.prototype=new n}function T(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""}function C(t,e,n){var r=function(t){return O.isUndefined(t)?t:n?(t+"").trim().toLowerCase():(t+"").trim().toString()},i=r(e);return function(e){if(null==e)return!1;var r=S(e,t);return r=O.isUndefined(r)?r:n?(r+"").toLowerCase():(r+"").toString(),r===i?void 0!==i||t in e:O.isEqual(r,i)}}function S(){var t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1];if(!O.isNil(t)&&!O.isNil(e)){e=O.isArray(e)?e:O.isString(e)?e.split("."):[e];for(var n=0,r=e.length,i=arguments.length>2;t&&r>n;){if(i&&n===r-1)return void(t[e[n]]=arguments.length<=2?void 0:arguments[2]);t=t[e[n++]]}return t}}function E(t,e,n,r){O.isArray(t)||(t=[t]),O.isArray(e)||(e=[e]);var i=r?[]:{};O.forEach(t,function(t){i[t]||(i[t]=1)});var o=[],u=[],a=[],c=0,l=0,f=0;return O.forEach(e,function(t){i[t]?(i[t]=2,n&&(u[f++]=t)):(i[t]=3,n&&(o[c++]=t))}),n&&O.forEach(i,function(t,e){1===t&&(a[l++]=+e)}),n?{add:o,remove:a,keep:u}:{map:i}}function x(t){return I.isNumber(t)?L(t):new Date(t)}function L(t){var e=new Date(1899,11,30),n=864e5,r=t-Math.floor(t);return 0>t&&r&&(t=Math.floor(t)-r),new Date(t*n+ +e)}var I={},O=n(5);I.isString=O.isString,I.regist=i,I.unRegist=r,I.isNilOrWhiteSpace=e,I.isNumber=O.isNumber,I.isInt=O.isInteger,I.isBoolean=O.isBoolean,I.isFunction=O.isFunction,I.isUndefined=O.isUndefined,I.isDate=O.isDate,I.isArray=O.isArray,I.isObject=O.isObject,I.debugLog=o,I.getType=u,I.isNull=O.isNull,I.isNil=O.isNil;var R={Back:8,Tab:9,Enter:13,Escape:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,Left:37,Up:38,Right:39,Down:40,Delete:46,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123};I.Key=R;var M=function(t){var e=t.keyCode,n=e>47&&58>e||e>64&&91>e||e>95&&112>e||e>185&&193>e||e>218&&223>e;return n};I.isPrintableKey=M;var H={Text:"text",CheckBox:"checkbox",Date:"date",Color:"color",Number:"number"};I.EditorType=H;var j={columnCount:!0,flex:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeOpacity:!0},D=/([A-Z])/g,A=/^-ms-/,N=c(function(t){return f(t)});I.cMFS=s,I.extractObject=h,I.serializeObject=d,I.deserializeObject=p,I.serializeFunction=g,I.deserializeFunction=v,I.findPlugin=m,I.getResource=y,I.normalizeDate=w,I.extends_=b,I.caC=T,I.mP=C,I.sOP=function(t,e){return S(t,e)},I.gOP=function(t,e,n){return S(t,e,n)},I.compareArray=E,I.toDate=x,t.exports=I}()},function(t,e,n){"use strict";!function(){function e(t){var n,r,i,o=0;for(n=0,r=t.length;r>n;n++)i=t[n],o=i.hasOwnProperty("columns")?Math.max(o,1+e(i.columns)):Math.max(o,1);return o}function r(t,e,n,r,i){var o=i&&t.isTouchMode?10:0;return e>=r.left-o&&e<=r.right+o&&n>=r.top-o&&n<=r.bottom+o}function i(t,e,n,r,i,o){var u=A.offset(r),a=A.offset(i),c=u.left-a.left,l=u.top-a.top,f=A.gER(r),s=o&&t.isTouchMode?10:0;c-=s,l-=s;var h=c+f.width+2*s,d=l+f.height+2*s;return e>=c&&h>=e&&n>=l&&d>=n}function o(t){return t&&t.action&&t.swipeDirection}function u(t){return t.data.groups&&t.data.groups.length>0}function a(t,e){e=D.defaults(e,{control:null,action:null,mode:"depthFirst",direction:"ltr",traverseCollapsed:!1,parentFirst:!0,getChildren:function(t){return t.children}});var n=D.isFunction(e.control)?e.control:null,r=D.isFunction(e.action)?e.action:null,i="widthFirst"===e.mode,o="rtl"===e.direction,u=i?"unshift":"push",a=i!==o===e.parentFirst?D.forEach:D.forEachRight,c=function(t,e){if(t.length>20){var n=t.slice();return i?o?n.concat(e):n.reverse().concat(e):o?e.concat(n):e.reverse().concat(n)}return a(t,function(t){e[u](t)}),e},l=[t];if(e.parentFirst)for(;l.length>0;){var f=l.pop();if(n){var s=n(f);if("break"===s)break;if("continue"===s)continue}r&&r(f),!e.traverseCollapsed&&f.collapsed||(l=c(e.getChildren(f),l))}else{for(var h=[],d=0;l.length>0;){var p=l.pop();if(n){var g=n(p);if("break"===g)break;if("continue"===g)continue}h[d++]=p,!e.traverseCollapsed&&p.collapsed||(l=c(e.getChildren(p),l))}r&&D.forEachRight(h,function(t){r(t)}),h.length=0}l.length=0}function c(t,e,n,r){if(t){r||(r={index:-1});var i;if(-1!==t.level&&(r.index++,i=e(t,r.index,!1)))return i;if(!t.collapsed){for(var o=r.index,u=t.children.length,a=0;u>a;a++)if(i=c(t.children[a],e,n,r))return i;if(n&&u>0&&-1!==t.level&&(i=e(t,o,!0)))return i}return i}}function l(t){return t.options.hierarchy&&t.options.hierarchy.footer&&t.options.hierarchy.footer.visible}function f(t,e){if(t.area!==e.area)return!1;if(t.area===W){if(t.itemIndex!==e.itemIndex)return!1;if(t.isHierarchyFooter!==e.isHierarchyFooter)return!1}var n=t.path,r=e.path;if(n.length!==r.length)return!1;for(var i=0,o=n.length;o>i;i++)if(n[i]!==r[i])return!1;return!0}function s(t){var e,n,r,i=!1;for(e=0,n=t.length;n>e&&(r=t[e],!(i=r.columns?s(r.columns):"left"===r.pinned||"right"===r.pinned));e++);return i}function h(t,e,n){var r,i,o=[];for(r=0,i=e.length;i>r;r++)e[r].columns&&o.push(e[r]);for(var u;o.length>0;){if(u=o.shift(),u.caption===n)return u;for(r=0,i=u.columns.length;i>r;r++)u.columns[r].columns&&o.push(u.columns[r])}}function d(t,e,n){if(!e)return 0;e=N.isArray(e)?e:[e];var r,i,o,u=0;for(r=0,i=e.length;i>r;r++)o=e[r],o.columns?u+=this.gGCHW_(t,o.columns,n):t.iCV_(o,n)&&o.pinned===n&&(u+=N.isNumber(o.visibleWidth)?o.visibleWidth:0);return u}function p(t,e){var n,r=e.groupDescriptor,i=r.footer,o=r.header,u=t.data,a=e.path;if(e.collapsed)return{path:a,itemIndex:-1,area:i.visible&&!i.collapseWithGroup||!o.visible?F:k};if(i.location===et&&i.visible)return{path:a,itemIndex:-1,area:F};if(e.isBottomLevel){var c=e.expandedItemCount,l={path:a,itemIndex:c-1,area:i&&i.visible&&0===c?F:W},f=u.hierarchyDescriptor;if(f){var s=f.footer;if(s&&s.visible)l.nodeInfo={path:[0],area:B};else{var h=e.rootNode;if(h){for(;h&&h.children&&h.children.length>0;)h=h.children[h.children.length-1];l.nodeInfo={path:h.path,area:G}}}}return l}return n=e.groups,p(t,n[n.length-1])}function g(t,e,n){if(e){var r;r="left"===t?n?e.pinnedLeftColHeaderTemplate:e.pinnedLeftRowTemplate:"right"===t?n?e.pinnedRightColHeaderTemplate:e.pinnedRightRowTemplate:n?e.colHeaderTemplate:e.rowTemplate;var i=ct.gUT_(r);if(i){var o=A.createElement(""+i+"
");return e.rightToLeft?A.inverseToRTL(o).innerHTML:o.innerHTML}}return null}function v(t){if(t){var e;return e=N.isString(t)&&t.length>1&&"#"===t[0]?document.getElementById(t.slice(1)).cloneNode(!0):A.createElement(""+t+"
"),e.innerHTML}return null}function m(t,e,n,r,i){D.isObject(t)&&(e=t.area,n=t.row,r=t.groupInfo,i=t.nodeInfo,t=t.uid);var o=t;o+=lt[e]?"-"+lt[e]:"";var u=y(r),a=y(i);return o+=u+a,""===a&&D.isNumber(n)&&(-1!==n||r?n>=0&&(!r||r&&r.area===W)&&(o+="-r"+n):o+="-autorow"),o}function y(t){return t&&t.path&<[t.area]?"-"+lt[t.area]+t.path.join("_"):""}function w(t){var e={uid:/gc-\d+/.exec(t)[0],row:-1},n=t.split("-").slice(2);if(0===n.length)return e;var r=["pl","pr","rh","ch","plch","prch","corner","gt","gth","chRow","plchRow","prchRow"];if(D.indexOf(r,n[0])>-1?(e.area=lt[n[0]],n.shift()):e.area=U,0===n.length)return e;var i=n[0].match(/g[hrf]/);if(i&&(e.groupInfo={area:lt[i[0]],path:n[0].replace(/g[hrf]/,"").split("_")},n.shift()),0===n.length)return e;var o=n[0].match(/n[rf]/);return o&&(e.nodeInfo={area:lt[o[0]],path:n[0].replace(/n[rf]/,"").split("_")}),"autorow"===n[0]?e.isNewRow=!0:e.row=+n[0].replace("r",""),n.length=0,e}function _(t,e){for(var n,r=t.columns,i=0,o=r.length;o>i;i++)if(n=r[i],n.id===e)return i;return-1}function b(t,e){if(t.area===U||t.area===V||t.area===Y){var n=t.groupInfo,r=n&&(n.area===F||n.area===k),i=t.nodeInfo,o=i&&i.area===B;if(!o&&!r){var u=n?n.column:t.column;return e&&u>=0||!e}}return!1}function T(t,e,n,r,i){var o=m(t,e,n,r,i);return o?document.getElementById(o):null}function C(t,e){var n=[U],r=t.layoutEngine;r.sPV_&&(r.sPV_("left")&&n.push(V),r.sPV_("right")&&n.push(Y));var i=[],o=e.groupInfo,u=e.nodeInfo;return n.forEach(function(n){var r=ct.createID(t.uid,n,o?o.row:e.row,o,u);r&&i.push(r)}),i}function S(t){var e=''+(N.isString(t)?t:t.innerHTML)+"
",n=A.createElement(e);document.body.appendChild(n);var r=n.firstChild,i=null;return r&&(i=A.gCoR(r)),document.body.removeChild(n),i}function E(t){var e=t.gLI_(),n=e[U],r=e[V],i=e[Y];return n?n.contentHeight>n.height:r?r.contentHeight>r.height:i?i.contentHeight>i.height:!1}function x(t){var e=t.gLI_(),n=e[U];return n?n.contentWidth>n.width:!1}function L(t,e){var n=arguments.length<=2||void 0===arguments[2]?!1:arguments[2];if(!e)return 0;var r=n?1:0;return e.collapsed||(D.each(e.children,function(e){r+=L(t,e,!0)}),n&&e.children.length>0&&ct.hHF_(t)&&++r),r}function I(t,e){var n=arguments.length<=2||void 0===arguments[2]?!1:arguments[2],r=t;if(!e)return 0;
var i=0,o=e.collapsed;if(o||(e.rootNode?i+=L(r,e.rootNode):e.isBottomLevel?i+=e.itemCount:D.each(e.groups,function(t){i+=I(r,t,!0)})),n){var u=e[nt],a=u&&u[rt]&&u[rt][it],c=u&&u[ot],l=c&&c[it],f=c&&c.collapseWithGroup;a&&++i,(l&&(!f||!o)||!a&&o)&&++i}return i}function O(){var t=-1,e=void 0,n=arguments,r=n[0];if(N.isString(n[1])?e=ct.parseID(n[1]):n.length>2&&(e={row:n[1],groupInfo:n[2],nodeInfo:n[3],isNewRow:n[4]}),e){var i=r.layoutEngine.aARA_(at),o=r.data;if(e.isNewRow)t=i?0:u(r)?I(r,o.rootGroup,!0):r.data&&r.data.hierarchyDescriptor?L(r,o.rootNode,!0):o.itemCount;else{if(e.groupInfo)t=R(r,o.rootGroup,e).index;else if(e.nodeInfo)t=M(r,o.rootNode,e).index;else{var a=ct.createID(r.uid,U,e.row),c=r.getItem(a).item;t=c?o.mVI_(c.sourceIndex):-1}i&&(t+=1)}}return t}function R(t,e,n){for(var r,i,o,u,a,c,l,f,s={finish:!1,index:0},h=n.groupInfo,d=e?e.groups:[],p=0,g=d.length;g>p;p++){if(r=d[p],f=r[nt],i=f&&f[rt]&&f[rt][it],l=f&&f[ot],o=l&&l[it],u=l&&l[ut],a=i?1:0,c=o&&u===at?1:0,r.path.toString()===h.path.toString())h.area===F?s.index+=u===at?a:I(t,r,!0)-1:h.area===W&&(n.nodeInfo?s.index+=M(t,r.rootNode,n).index+a+c:s.index+=n.row+a+c),s.finish=!0;else if(r.path[r.level].toString()===h.path[r.level].toString()){var v=R(t,r,n);s.index+=v.index+a+c,s.finish=v.finish}else s.index+=I(t,r,!0);if(s.finish)break}return s}function M(t,e,n){for(var r={finish:!1,index:0},i=n.nodeInfo,o=e?e.children:[],u=0,a=o.length;a>u;u++){var c=o[u];if(c.path.toString()===i.path.toString())i.area===B&&(r.index+=L(t,c,!0)-1),r.finish=!0;else if(c.path[c.level].toString()===i.path[c.level].toString()){var l=M(t,c,n);r.index+=l.index+1,r.finish=l.finish}else r.index+=L(t,c,!0);if(r.finish)break}return r}function H(t,e,n){var r=t.getItem(e);if(!r)return null;var i=void 0,o=void 0;r.group&&(i={path:r.group.path,area:r.groupArea}),r.node&&(o={path:r.node.path,area:r.nodeArea});var u=t.uid,a=r.row,c=[];return r.isNewRow&&(a=-1,i=null,o=null),D.each(n,function(t){c.push({area:t,id:ct.createID(u,t,a,i,o)})}),c}function j(t){var e=t.dataField;return e&&!D.startsWith(D.trim(e),"=")&&1!==e.split(",").length}var D=n(5),A=n(7),N=n(8),P=n(10),k="groupHeader",F="groupFooter",W="groupContent",B="nodeFooter",G="nodeContent",U="viewport",V="pinnedLeftViewport",Y="pinnedRightViewport",X=["pageX","pageY","clientX","clientY","target"],z="mouseup",$="mousemove",q="mousedown",K="mousewheel",J="click",Z="dblclick",Q=N.regist,tt=N.unRegist,et="bottom",nt="groupDescriptor",rt="header",it="visible",ot="footer",ut="location",at="top",ct={},lt={viewport:"",pinnedLeftViewport:"pl",pinnedRightViewport:"pr",rowHeader:"rh",columnHeader:"ch",pinnedLeftColumnHeader:"plch",pinnedRightColumnHeader:"prch",columnHeaderRow:"chRow",pinnedLeftColumnHeaderRow:"plchRow",pinnedRightColumnHeaderRow:"prchRow",gantt:"gt",ganttHeader:"gth",groupHeader:"gh",groupFooter:"gf",groupContent:"gr",nodeFooter:"nf",nodeContent:"nr",pl:V,pr:Y,rh:"rowHeader",ch:"columnHeader",plch:"pinnedLeftColumnHeader",prch:"pinnedRightColumnHeader",chRow:"columnHeaderRow",plchRow:"pinnedLeftColumnHeaderRow",prchRow:"pinnedRightColumnHeaderRow",gt:"gantt",gth:"ganttHeader",gh:"groupHeader",gf:"groupFooter",gr:"groupContent",nf:"nodeFooter",nr:"nodeContent",corner:"corner"};ct.gCHL_=e,ct.poIP_=r,ct.poI_=i,ct.iTAC_=o,ct.hG_=u;var ft=function(){function t(t,n){o=(new Date).getTime(),i=!1,u=1e3*t,a=n,c&&l?l(e):setTimeout(e,16.6)}function e(){var t=(new Date).getTime(),r=t-o,f=function(t){a(t||n(r,0,1,u))};return r>=u||i?void f(1):(f(),void(c&&l?l(e):setTimeout(e,16.6)))}function n(t,e,n,r){return t/=r/2,1>t?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)}function r(){i=!0}var i,o=0,u=0,a=null,c=0,l=window.requestAnimationFrame||window.webkitRequestAnimationFrame;return{play:t,stop:r}}();ct.ani=ft,ct.tT=a,ct.tN_=c,ct.hHF_=l,ct.gIAS_=f,ct.hPC_=s,ct.gGCBC_=h,ct.gGCHW_=d,ct.gLGIP_=p,ct.gUERT_=g,ct.gUT_=v,ct.createID=m,ct.parseID=w,ct.ci_=_,ct.iEOSA_=b;var st=function(){function t(t){var e=this;e.options=D.defaultsDeep(t||{},{headerTemplate:null,footerTemplate:null,contentTemplate:null,draggable:!1,showOverlay:!0,parent:null}),e.init_()}function e(){var t=this;t.handleClick_=i.bind(t),t.handleMouseDown_=o.bind(t),t.handleMouseWheel_=u.bind(t),t.handleMouseUp_=c.bind(t),t.handleMouseMove_=l.bind(t),t.handleKeyDown_=d.bind(t),t.handleKeyUp_=p.bind(t),t.handleDoubleClick_=r.bind(t),t.tsFn_=a.bind(t),t.teFn_=s.bind(t),t.tmFn_=f.bind(t);var e=t.container;Q(e,J,t.handleClick_),Q(e,Z,t.handleDoubleClick_),Q(e,q,t.handleMouseDown_),Q(e,K,t.handleMouseWheel_),Q(e,z,t.handleMouseUp_),Q(e,$,t.handleMouseMove_),Q(e,"keydown",t.handleKeyDown_),Q(e,"keyup",t.handleKeyUp_),P(e).on("touchstart",t.tsFn_),P(e).on("touchend",t.teFn_),P(e).on("touchmove",t.tmFn_)}function n(){var t=this,e=t.container;tt(e,J,t.handleClick_),tt(e,Z,t.handleDoubleClick_),tt(e,q,t.handleMouseDown_),tt(e,K,t.handleMouseWheel_),tt(e,z,t.handleMouseUp_),tt(e,"keydown",t.handleKeyDown_),tt(e,"keyup",t.handleKeyUp_),tt(e,$,t.handleMouseMove_),P(e).off("touchstart",t.tsFn_),P(e).off("touchend",t.teFn_),P(e).off("touchmove",t.tmFn_),tt(e.querySelector(".gc-popup-first-tab"),"focus",t.fFE_),tt(e.querySelector(".gc-popup-last-tab"),"focus",t.fLE_)}function r(t){g.call(this,t,"doubleclick")}function i(t){g.call(this,t,J)}function o(t){g.call(this,t,q)}function u(t){g.call(this,t,K)}function a(t){g.call(this,h(t),q)}function c(t){g.call(this,t,z)}function l(t){g.call(this,t,$)}function f(t){g.call(this,t,"touchmove")}function s(t){g.call(this,h(t),z)}function h(t){var e=D.pick(t.changedTouches[0],X);return e.stopPropagation=function(){t.stopPropagation()},e.preventDefault=function(){t.preventDefault()},e.deviceType="touch",e}function d(t){g.call(this,t,"keydown")}function p(t){g.call(this,t,"keyup")}function g(t,e){var n=this;if(t.target){n.options.parent&&t.stopPropagation();for(var r=D.keys(n.eventCache_),i=t.target,o=i.tagName.toLowerCase(),u=i.className?i.className.split(" "):[],a=[];"body"!==o;)a=a.concat(D.intersection(r,u)),i=i.parentNode,o=i.tagName.toLowerCase(),u=i.className?i.className.split(" "):[];var c,l,f;D.each(a,function(r){for(c=n.eventCache_[r][e],f=c?c.length:0,l=0;f>l;l++)c[l](t)})}}function v(t){var e=this;"touch"===t.deviceType?(e.docTouchMoveHandler_=y.bind(e),e.docTouchEndHandler_=b.bind(e),P(document).on("touchmove",e.docTouchMoveHandler_),P(document).on("touchend",e.docTouchEndHandler_)):(e.docMouseMoveHandler_=m.bind(e),e.docMouseUpHandler_=_.bind(e),window.PointerEvent?(Q(document,"pointermove",e.docMouseMoveHandler_),Q(document,"pointerup",e.docMouseUpHandler_),document.body.setPointerCapture(t.pointerId)):(Q(document,$,e.docMouseMoveHandler_),Q(document,z,e.docMouseUpHandler_)));var n=e.container,r=A.gER(n),i=A.gCSV(n),o=i.marginTop,u=i.marginLeft,a=A.getBodyStyle();e.startMoveInfo_={mouseOffset:{left:t.pageX,top:t.pageY},containerCSSOffset:{left:r.left-u-a.left,top:r.top-o-a.top},containerRect:r,viewportRect:{left:0,top:0,width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}}function m(t){w.call(this,t)}function y(t){w.call(this,h(t))}function w(t){var e=this;t.preventDefault();var n=e.startMoveInfo_;if(n){var r=n.mouseOffset,i=n.viewportRect,o=n.containerRect,u=t.pageX-r.left,a=t.pageY-r.top,c=o.left,l=i.left,f=o.width,s=i.width,h=o.top,d=i.top,p=o.height,g=i.height;c+f+u>l+s&&(u=l+s-c-f),l>c+u&&(u=l-c),h+p+a>d+g&&(a=d+g-h-p),d>h+a&&(a=d-h),A.setCss(e.container,{left:n.containerCSSOffset.left+u,top:n.containerCSSOffset.top+a})}}function _(t){T.call(this,t)}function b(t){T.call(this,h(t))}function T(t){var e=this;e.startMoveInfo_=null,"touch"===t.deviceType?(P(document).off("touchmove",e.docTouchMoveHandler_),P(document).off("touchend",e.docTouchEndHandler_),e.docTouchMoveHandler_=null,e.docTouchEndHandler_=null):(window.PointerEvent?(document.body.releasePointerCapture(t.pointerId),tt(document,"pointermove",e.docMouseMoveHandler_),tt(document,"pointerup",e.docMouseUpHandler_)):(tt(document,$,e.docMouseMoveHandler_),tt(document,z,e.docMouseUpHandler_)),e.docMouseMoveHandler_=null,e.docMouseUpHandler_=null)}function C(){var t=this,e=t.tabbableElements=t.container.querySelectorAll("a[href]:not([disabled]), area[href]:not([disabled]), button:not([disabled]), input:not([disabled]), select:not([disabled]),textarea:not([disabled]),[tabindex]:not([disabled])"),n=t.options.setTabOrder,r=0;if(n)r=n(e,2)+1;else{for(var i=0,o=e.length;o>i;i++)e[i].setAttribute("tabindex",i+2);r=e.length+2}var u=t.container,a=A.createElement(''),c=A.createElement('');u.insertBefore(a,u.childNodes[0]),u.appendChild(c),t.fFE_=S.bind(t),t.fLE_=E.bind(t),Q(a,"focus",t.fFE_),Q(c,"focus",t.fLE_)}function S(){this.tabbableElements[this.tabbableElements.length-1].focus()}function E(){this.tabbableElements[0].focus()}return t.prototype={init_:function(){var t=this,n=t.options;t.container=A.createElement('');var r,i=t.container,o=A.createElement,u=A.addClass;if(n.headerTemplate&&(r=o(n.headerTemplate),u(r,"gc-popup-header"),i.appendChild(r)),n.contentTemplate){var a=o(n.contentTemplate);u(a,"gc-popup-content"),i.appendChild(a)}if(n.footerTemplate){var c=o(n.footerTemplate);u(c,"gc-popup-footer"),i.appendChild(c)}n.draggable&&r&&(window.PointerEvent?r.addEventListener("pointerdown",v.bind(t)):r.addEventListener(q,v.bind(t))),e.call(t)},open:function(){var t=this,e=t.options,n=e.parent||document.body;e.showOverlay&&(t.overlay_=A.createElement(''),n.appendChild(t.overlay_)),n.appendChild(t.container),C.call(t)},close:function(){var t=this;n.call(t);var e=t.overlay_;t.options.showOverlay&&e.parentNode.removeChild(e);var r=t.container,i=t.container.parentNode;i&&i.removeChild(r)},mount:function(t,e,n){var r=this;r.eventCache_=r.eventCache_||{};var i=r.eventCache_;i[t]=i[t]||{},i[t][e]=i[t][e]||[];var o=i[t][e];-1===o.indexOf(n)&&o.push(n)}},t}();ct.popup=st,ct.gRE_=T,ct.getIdList=C,ct.gUER_=S,ct.hVS=E,ct.hHS=x,ct.gNRC_=L,ct.gGRC_=I,ct.vi=O,ct.getRowIDByViewIndex=H,ct.isMultiFieldColumn=j,t.exports=ct}()},function(t,e){"use strict";!function(e){function n(t){return new r(t)}function r(t){this.element=t}function i(){function t(t,e,n,r,i,o,u,a){var c=this;c.identifier=t,c.target=e,c.screenX=n,c.screenY=r,c.clientX=i,c.clientY=o,c.pageX=u,c.pageY=a}function e(t){var e,n;for(e=0,n=u.length;n>e;e+=1)if(u[e].identifier===t)return u[e]}function n(t){var e,n;for(e=0,n=u.length;n>e;e+=1)if(u[e].identifier===t.identifier)return void(u[e]=t);u.push(t)}function r(t){var e,n;for(e=0,n=u.length;n>e;e+=1)u[e].identifier===t&&(u.splice(e,1),n=u.length)}function i(){for(;u.length>0;)u.pop()}function o(t,e){var n;for(n=0;nu;u++){var c=e.cachedEvents[u];if(c.uid===r.uid){c.element.removeEventListener(c.event,c.handler);break}}e.cachedEvents.splice(u,1),0===e.cachedEvents.length&&delete e.cachedEvents}}function u(t,e){function n(t,e){var n,r;for(v.clearTouches(),n=0;ny&&!function(){var t,e,n,r,i;for(e=g.touchList,t=0;ty&&g.clearTouches(),p.removeTouch(r.identifier),g.addUpdateTouch(r),n(r.target,p.touchList),i=new CustomEvent(e,{bubbles:!0,cancelable:!0}),i.touches=p.touchList,i.changedTouches=g.touchList,i.targetTouches=v.touchList,i}function o(t){m&&console.log(t)}function u(t){return"MSPointerDown"===t.type||"pointerdown"===t.type}function a(t){return"MSPointerMove"===t.type||"pointermove"===t.type}function c(t){return"MSPointerUp"===t.type||"pointerup"===t.type}var s,h,d,m=!1;l(t)||(u(t)||(h=p.getTouch(t.pointerId),d=h?h.target:t.target),s=u(t)||a(t)?r(t):i(t),s.preventDefault=function(){t.preventDefault&&t.preventDefault()},s.stopPropagation=function(){t.stopPropagation&&t.stopPropagation()},e.call(t.target,s),y=t.hwTimestamp)}function a(t){return w[t][_]}function c(t,e){var n="on"+e.toLowerCase();return n in t||t.hasOwnProperty(n)}function l(t){return"mouse"===t.pointerType||4===t.pointerType?!0:"pointerdown"===t.type&&0===t.x&&0===t.y?!0:"pen"===t.pointerType&&0===t.pressure&&"pointermove"===t.type}function f(t,e){return t.screenX===e.screenX&&t.screenY===e.screenY}function s(t){t&&t.style&&(e.MSPointerEvent?t.style.setAttribute("-ms-touch-action","none;"):t.style.touchAction="none")}function h(t){t&&t.style&&(e.MSPointerEvent?t.style.removeAttribute("-ms-touch-action"):t.style.touchAction=null)}function d(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}var p,g,v,m=["touchstart","touchmove","touchend"],y=0,w={touchstart:["pointerdown","MSPointerDown","touchstart"],touchmove:["pointermove","MSPointerMove","touchmove"],touchend:["pointerup","MSPointerUp","touchend"]},_=e.PointerEvent?0:e.MSPointerEvent?1:2;r.prototype={on:function(t,e){var n=this.element;if(-1===m.indexOf(t))return void n.addEventListener(t,e);if(c(n,t))return void n.addEventListener(t,e);var r=a(t);if(c(n,r)){var i=function(n){u(n,e,t)},l=d();e.uid=l,o(n,r,i,l,!0),s(n)}},off:function(t,e){var n=this.element;return-1===m.indexOf(t)?void n.removeEventListener(t,e):c(n,t)?void n.removeEventListener(t,e):(o(n,t,e,!1),void h(n))}},p=new i,g=new i,v=new i,t.exports=n}(window)}])});