!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/SPA_Build",n(n.s=121)}([function(e,t,n){"use strict";e.exports=n(71)},function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";function o(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}n.d(t,"a",function(){return o})},function(e,t,n){var o;
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var l in o)n.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){e.exports=n(83)()},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){"use strict";function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(72)},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";e.exports=function(e,t,n,o,r,i,a,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,r,i,a,l],c=0;(s=new Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";var o=function(){};e.exports=o},,function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n,i="#"===t[0],a="."===t[0],l=i||a?t.slice(1):t;if(o.test(l))return i?(e=e.getElementById?e:document,(n=e.getElementById(l))?[n]:[]):e.getElementsByClassName&&a?r(e.getElementsByClassName(l)):r(e.getElementsByTagName(t));return r(e.querySelectorAll(t))};var o=/^[\w-]*$/,r=Function.prototype.bind.call(Function.prototype.call,[].slice);e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=o,e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=function(e,t,n){var o="",c="",d=t;if("string"==typeof t){if(void 0===n)return e.style[(0,r.default)(t)]||(0,a.default)(e).getPropertyValue((0,i.default)(t));(d={})[t]=n}Object.keys(d).forEach(function(t){var n=d[t];n||0===n?(0,u.default)(t)?c+=t+"("+n+") ":o+=(0,i.default)(t)+": "+n+";":(0,l.default)(e,(0,i.default)(t))}),c&&(o+=s.transform+": "+c+";");e.style.cssText+=";"+o};var r=o(n(42)),i=o(n(78)),a=o(n(80)),l=o(n(81)),s=n(41),u=o(n(82));e.exports=t.default},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";t.__esModule=!0;var o=n(48),r=n(110),i=n(111),a=n(22);e.exports={ReactTabulator:o.default,React15Tabulator:r.default,ReactTabulatorExample:i.default,reactFormatter:a.reactFormatter}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e&&e.ownerDocument||document},e.exports=t.default},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=function(e){if((!r&&0!==r||e)&&i.default){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),r=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return r};var r,i=o(n(14));e.exports=t.default},,function(e,t,n){"use strict";t.__esModule=!0;var o=n(0),r=n(7);t.clone=function(e){return JSON.parse(JSON.stringify(e))},t.isSameArray=function(e,t){var n=e.length;if(n!==t.length)return!1;for(;n--;)if(e[n]!==t[n])return!1;return!0},t.reactFormatter=function(e){return function(t,n,i){return i(function(){var n=t.getElement(),i=o.cloneElement(e,{cell:t});r.render(i,n.querySelector(".formatterCell"))}),'<div class="formatterCell"></div>'}}},function(e,t,n){var o,r;n(77),o=[n(76)],void 0===(r=function(e){return function(){var t,n,o,r=0,i={error:"error",info:"info",success:"success",warning:"warning"},a={clear:function(n,o){var r=d();t||l(r),s(n,r,o)||function(n){for(var o=t.children(),r=o.length-1;r>=0;r--)s(e(o[r]),n)}(r)},remove:function(n){var o=d();t||l(o),n&&0===e(":focus",n).length?p(n):t.children().length&&t.remove()},error:function(e,t,n){return c({type:i.error,iconClass:d().iconClasses.error,message:e,optionsOverride:n,title:t})},getContainer:l,info:function(e,t,n){return c({type:i.info,iconClass:d().iconClasses.info,message:e,optionsOverride:n,title:t})},options:{},subscribe:function(e){n=e},success:function(e,t,n){return c({type:i.success,iconClass:d().iconClasses.success,message:e,optionsOverride:n,title:t})},version:"2.1.4",warning:function(e,t,n){return c({type:i.warning,iconClass:d().iconClasses.warning,message:e,optionsOverride:n,title:t})}};return a;function l(n,o){return n||(n=d()),(t=e("#"+n.containerId)).length?t:(o&&(t=function(n){return(t=e("<div/>").attr("id",n.containerId).addClass(n.positionClass)).appendTo(e(n.target)),t}(n)),t)}function s(t,n,o){var r=!(!o||!o.force)&&o.force;return!(!t||!r&&0!==e(":focus",t).length||(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){p(t)}}),0))}function u(e){n&&n(e)}function c(n){var i=d(),a=n.iconClass||i.iconClass;if(void 0!==n.optionsOverride&&(i=e.extend(i,n.optionsOverride),a=n.optionsOverride.iconClass||a),!function(e,t){if(e.preventDuplicates){if(t.message===o)return!0;o=t.message}return!1}(i,n)){r++,t=l(i,!0);var s=null,c=e("<div/>"),f=e("<div/>"),m=e("<div/>"),h=e("<div/>"),g=e(i.closeHtml),b={intervalId:null,hideEta:null,maxHideTime:null},v={toastId:r,state:"visible",startTime:new Date,options:i,map:n};return n.iconClass&&c.addClass(i.toastClass).addClass(a),function(){if(n.title){var e=n.title;i.escapeHtml&&(e=y(n.title)),f.append(e).addClass(i.titleClass),c.append(f)}}(),function(){if(n.message){var e=n.message;i.escapeHtml&&(e=y(n.message)),m.append(e).addClass(i.messageClass),c.append(m)}}(),i.closeButton&&(g.addClass(i.closeClass).attr("role","button"),c.prepend(g)),i.progressBar&&(h.addClass(i.progressClass),c.prepend(h)),i.rtl&&c.addClass("rtl"),i.newestOnTop?t.prepend(c):t.append(c),function(){var e="";switch(n.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}c.attr("aria-live",e)}(),c.hide(),c[i.showMethod]({duration:i.showDuration,easing:i.showEasing,complete:i.onShown}),i.timeOut>0&&(s=setTimeout(w,i.timeOut),b.maxHideTime=parseFloat(i.timeOut),b.hideEta=(new Date).getTime()+b.maxHideTime,i.progressBar&&(b.intervalId=setInterval(C,10))),i.closeOnHover&&c.hover(E,x),!i.onclick&&i.tapToDismiss&&c.click(w),i.closeButton&&g&&g.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),i.onCloseClick&&i.onCloseClick(e),w(!0)}),i.onclick&&c.click(function(e){i.onclick(e),w()}),u(v),i.debug&&console&&console.log(v),c}function y(e){return null==e&&(e=""),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function w(t){var n=t&&!1!==i.closeMethod?i.closeMethod:i.hideMethod,o=t&&!1!==i.closeDuration?i.closeDuration:i.hideDuration,r=t&&!1!==i.closeEasing?i.closeEasing:i.hideEasing;if(!e(":focus",c).length||t)return clearTimeout(b.intervalId),c[n]({duration:o,easing:r,complete:function(){p(c),clearTimeout(s),i.onHidden&&"hidden"!==v.state&&i.onHidden(),v.state="hidden",v.endTime=new Date,u(v)}})}function x(){(i.timeOut>0||i.extendedTimeOut>0)&&(s=setTimeout(w,i.extendedTimeOut),b.maxHideTime=parseFloat(i.extendedTimeOut),b.hideEta=(new Date).getTime()+b.maxHideTime)}function E(){clearTimeout(s),b.hideEta=0,c.stop(!0,!0)[i.showMethod]({duration:i.showDuration,easing:i.showEasing})}function C(){var e=(b.hideEta-(new Date).getTime())/b.maxHideTime*100;h.width(e+"%")}}function d(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},a.options)}function p(e){t||(t=l()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),o=void 0))}}()}.apply(t,o))||(e.exports=r)},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var r=(a=o,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(s," */")),i=o.sources.map(function(e){return"/*# sourceURL=".concat(o.sourceRoot).concat(e," */")});return[n].concat(i).concat([r]).join("\n")}var a,l,s;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2],"{").concat(n,"}"):n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];null!=i&&(o[i]=!0)}for(var a=0;a<e.length;a++){var l=e[a];null!=l[0]&&o[l[0]]||(n&&!l[2]?l[2]=n:n&&(l[2]="(".concat(l[2],") and (").concat(n,")")),t.push(l))}},t}},function(e,t,n){"use strict";var o,r={},i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}();function l(e,t){for(var n=[],o={},r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],l={css:i[1],media:i[2],sourceMap:i[3]};o[a]?o[a].parts.push(l):n.push(o[a]={id:a,parts:[l]})}return n}function s(e,t){for(var n=0;n<e.length;n++){var o=e[n],i=r[o.id],a=0;if(i){for(i.refs++;a<i.parts.length;a++)i.parts[a](o.parts[a]);for(;a<o.parts.length;a++)i.parts.push(h(o.parts[a],t))}else{for(var l=[];a<o.parts.length;a++)l.push(h(o.parts[a],t));r[o.id]={id:o.id,refs:1,parts:l}}}}function u(e){var t=document.createElement("style");if(void 0===e.attributes.nonce){var o=n.nc;o&&(e.attributes.nonce=o)}if(Object.keys(e.attributes).forEach(function(n){t.setAttribute(n,e.attributes[n])}),"function"==typeof e.insert)e.insert(t);else{var r=a(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}var f=null,m=0;function h(e,t){var n,o,r;if(t.singleton){var i=m++;n=f||(f=u(t)),o=p.bind(null,n,i,!1),r=p.bind(null,n,i,!0)}else n=u(t),o=function(e,t,n){var o=n.css,r=n.media,i=n.sourceMap;if(r&&e.setAttribute("media",r),i&&btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).attributes="object"==typeof t.attributes?t.attributes:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=l(e,t);return s(n,t),function(e){for(var o=[],i=0;i<n.length;i++){var a=n[i],u=r[a.id];u&&(u.refs--,o.push(u))}e&&s(l(e,t),t);for(var c=0;c<o.length;c++){var d=o[c];if(0===d.refs){for(var p=0;p<d.parts.length;p++)d.parts[p]();delete r[d.id]}}}}},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=void 0;var r=o(n(41)),i=o(n(15));function a(e,t,n){var o,i={target:e,currentTarget:e};function a(e){e.target===e.currentTarget&&(clearTimeout(o),e.target.removeEventListener(r.default.end,a),t.call(this))}r.default.end?null==n&&(n=s(e)||0):n=0,r.default.end?(e.addEventListener(r.default.end,a,!1),o=setTimeout(function(){return a(i)},1.5*(n||100))):setTimeout(a.bind(null,i),0)}a._parseDuration=s;var l=a;function s(e){var t=(0,i.default)(e,r.default.duration),n=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*n}t.default=l,e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=void 0;var r=o(n(43));t.on=r.default;var i=o(n(44));t.off=i.default;var a=o(n(95));t.filter=a.default;var l=o(n(33));t.listen=l.default;var s={on:r.default,off:i.default,filter:a.default,listen:l.default};t.default=s},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,s=a(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))r.call(n,c)&&(s[c]=n[c]);if(o){l=o(n);for(var d=0;d<l.length;d++)i.call(n,l[d])&&(s[l[d]]=n[l[d]])}}return s}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,o,r,i,a){var l=r||"<<anonymous>>",s=a||o;if(null==n[o])return t?new Error("Required "+i+" `"+s+"` was not specified in `"+l+"`."):null;for(var u=arguments.length,c=Array(u>6?u-6:0),d=6;d<u;d++)c[d-6]=arguments[d];return e.apply(void 0,[n,o,l,i,s].concat(c))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},function(e,t,n){"use strict";var o;t.__esModule=!0,t.default=void 0;var r=((o=n(0))&&o.__esModule?o:{default:o}).default.createContext({menuRef:function(){},toggleRef:function(){},onToggle:function(){},toggleNode:void 0,alignEnd:null,show:null,drop:null});t.default=r,e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=void 0;var r=o(n(14)).default?function(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):i(e,t)}:i;function i(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}t.default=r,e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=void 0;var r=o(n(14)),i=o(n(43)),a=o(n(44)),l=function(){};r.default&&(l=function(e,t,n,o){return(0,i.default)(e,t,n,o),function(){(0,a.default)(e,t,n,o)}});var s=l;t.default=s,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=a(n(0)),i=a(n(30));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i.default)(function(e,t,n,i,a){var l=e[t],s=void 0===l?"undefined":o(l);return r.default.isValidElement(l)?new Error("Invalid "+i+" `"+a+"` of type ReactElement supplied to `"+n+"`, expected a ReactComponent or a DOMElement. You can usually obtain a ReactComponent or DOMElement from a ReactElement by attaching a ref to it."):"object"===s&&"function"==typeof l.render||1===l.nodeType?null:new Error("Invalid "+i+" `"+a+"` of value `"+l+"` supplied to `"+n+"`, expected a ReactComponent or a DOMElement.")}),e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(o,function(e,t){return t.toUpperCase()})};var o=/-(.)/g;e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=void 0===t?{}:t,o=n.propTypes,i=n.defaultProps,a=n.allowFallback,l=void 0!==a&&a,s=n.displayName,u=void 0===s?e.name||e.displayName:s,c=function(t,n){return e(t,n)};return Object.assign(r.default.forwardRef||!l?r.default.forwardRef(c):function(e){return c(e,null)},{displayName:u,propTypes:o,defaultProps:i})};var o,r=(o=n(0))&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=u(n(4)),r=u(n(0)),i=n(52),a=u(n(31)),l=u(n(91)),s=u(n(92));function u(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var d=function(e){var t,n;function o(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).state={toggleId:null},t.popperIsInitialized=!1,t.handleClose=function(e){t.props.onToggle&&t.props.onToggle(!1,e)},t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=o.prototype;return a.getSnapshotBeforeUpdate=function(e){var t=!e.show&&this.props.show&&this.popperIsInitialized&&e.toggleNode===this.props.toggleNode;return this.props.show&&this.props.usePopper&&!this.popperIsInitialized&&(this.popperIsInitialized=!0),!!t},a.componentDidUpdate=function(e,t,n){n&&this.scheduleUpdate&&this.scheduleUpdate()},a.render=function(){var e=this,t=this.props,n=t.show,o=t.flip,a=t.menuRef,s=t.alignEnd,u=t.drop,d=t.usePopper,p=t.toggleNode,f=t.rootCloseEvent,m=t.popperConfig,h=void 0===m?{}:m,g=s?"bottom-end":"bottom-start";"up"===u&&(g=s?"top-end":"top-start"),"right"===u&&(g=s?"right-end":"right-start"),"left"===u&&(g=s?"left-end":"left-start");var b=null,v={ref:a,"aria-labelledby":p&&p.id},y={show:n,alignEnd:s,close:this.handleClose};return d?(this.popperIsInitialized||n)&&(p&&(h.referenceElement=p),b=r.default.createElement(i.Popper,c({},h,{innerRef:a,placement:g,eventsEnabled:!!n,modifiers:c({flip:{enabled:!!o}},h.modifiers)}),function(t){var n=t.ref,o=t.style,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["ref","style"]);return e.scheduleUpdate=r.scheduleUpdate,e.props.children(c({},r,y,{props:c({},v,{ref:n,style:o})}))})):b=this.props.children(c({},y,{props:v})),b&&r.default.createElement(l.default,{disabled:!n,event:f,onRootClose:this.handleClose},b)},o}(r.default.Component);d.displayName="ReactOverlaysDropdownMenu",d.propTypes={children:o.default.func.isRequired,show:o.default.bool,alignEnd:o.default.bool,flip:o.default.bool,usePopper:o.default.oneOf([!0,!1]),popperConfig:o.default.object,rootCloseEvent:o.default.string,onToggle:o.default.func,menuRef:o.default.func,drop:o.default.string,toggleNode:o.default.any},d.defaultProps={usePopper:!0};var p=(0,s.default)(a.default,function(e,t){var n=e.show,o=e.alignEnd,r=e.toggle;return{drop:e.drop,menuRef:e.menuRef,toggleNode:e.toggleNode,onToggle:r,show:null==n?t.show:n,alignEnd:null==o?t.alignEnd:o}},d);t.default=p,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=a(n(4)),r=a(n(0)),i=a(n(31));function a(e){return e&&e.__esModule?e:{default:e}}var l={children:o.default.func.isRequired};function s(e){var t=e.children;return r.default.createElement(i.default.Consumer,null,function(e){var n=e.show,o=e.toggle,r=e.toggleRef;return t({show:n,toggle:o,props:{ref:r,"aria-haspopup":!0,"aria-expanded":!!n}})})}s.displayName="ReactOverlaysDropdownToggle",s.propTypes=l;var u=s;t.default=u,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=s(n(100)),r=s(n(15)),i=s(n(20)),a=s(n(103)),l=n(105);function s(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(e){var t=void 0===e?{}:e,n=t.hideSiblingNodes,o=void 0===n||n,r=t.handleContainerOverflow,a=void 0===r||r;this.hideSiblingNodes=o,this.handleContainerOverflow=a,this.modals=[],this.containers=[],this.data=[],this.scrollbarSize=(0,i.default)()}var t=e.prototype;return t.isContainerOverflowing=function(e){var t=this.data[this.containerIndexFromModal(e)];return t&&t.overflowing},t.containerIndexFromModal=function(e){return t=this.data,n=function(t){return-1!==t.modals.indexOf(e)},o=-1,t.some(function(e,t){if(n(e,t))return o=t,!0}),o;var t,n,o},t.setContainerStyle=function(e,t){var n={overflow:"hidden"};e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing&&(n.paddingRight=parseInt((0,r.default)(t,"paddingRight")||0,10)+this.scrollbarSize+"px"),(0,r.default)(t,n)},t.removeContainerStyle=function(e,t){var n=e.style;Object.keys(n).forEach(function(e){t.style[e]=n[e]})},t.add=function(e,t,n){var r=this.modals.indexOf(e),i=this.containers.indexOf(t);if(-1!==r)return r;if(r=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&(0,l.hideSiblings)(t,e),-1!==i)return this.data[i].modals.push(e),r;var s={modals:[e],classes:n?n.split(/\s+/):[],overflowing:(0,a.default)(t)};return this.handleContainerOverflow&&this.setContainerStyle(s,t),s.classes.forEach(o.default.addClass.bind(null,t)),this.containers.push(t),this.data.push(s),r},t.remove=function(e){var t=this.modals.indexOf(e);if(-1!==t){var n=this.containerIndexFromModal(e),r=this.data[n],i=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.classes.forEach(o.default.removeClass.bind(null,i)),this.handleContainerOverflow&&this.removeContainerStyle(r,i),this.hideSiblingNodes&&(0,l.showSiblings)(i,e),this.containers.splice(n,1),this.data.splice(n,1);else if(this.hideSiblingNodes){var a=r.modals[r.modals.length-1],s=a.backdrop,u=a.dialog;(0,l.ariaHidden)(!1,u),(0,l.ariaHidden)(!1,s)}}},t.isTopModal=function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e},e}();t.default=u,e.exports=t.default},function(e,t,n){"use strict";(function(e){for(
/**!
 * @fileOverview Kickass library to create and place poppers near their reference elements.
 * @version 1.15.0
 * @license
 * Copyright (c) 2016 Federico Zivolo and contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
var n="undefined"!=typeof window&&"undefined"!=typeof document,o=["Edge","Trident","Firefox"],r=0,i=0;i<o.length;i+=1)if(n&&navigator.userAgent.indexOf(o[i])>=0){r=1;break}var a=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},r))}};function l(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function u(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?e:c(u(e))}var d=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?d:10===e?p:d||p}function m(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?m(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function g(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,l,s=i.commonAncestorContainer;if(e!==s&&t!==s||o.contains(r))return"BODY"===(l=(a=s).nodeName)||"HTML"!==l&&m(a.firstElementChild)!==a?m(s):s;var u=h(e);return u.host?g(u.host,t):g(e,h(t).host)}function b(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function v(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function y(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,o=f(10)&&getComputedStyle(n);return{height:y("Height",t,n,o),width:y("Width",t,n,o)}}var x=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),C=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function T(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function S(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=b(e,"top"),o=b(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?w(e.ownerDocument):{},a=i.width||e.clientWidth||r.right-r.left,l=i.height||e.clientHeight||r.bottom-r.top,u=e.offsetWidth-a,c=e.offsetHeight-l;if(u||c){var d=s(e);u-=v(d,"x"),c-=v(d,"y"),r.width-=u,r.height-=c}return T(r)}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=f(10),r="HTML"===t.nodeName,i=S(e),a=S(t),l=c(e),u=s(t),d=parseFloat(u.borderTopWidth,10),p=parseFloat(u.borderLeftWidth,10);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var m=T({top:i.top-a.top-d,left:i.left-a.left-p,width:i.width,height:i.height});if(m.marginTop=0,m.marginLeft=0,!o&&r){var h=parseFloat(u.marginTop,10),g=parseFloat(u.marginLeft,10);m.top-=d-h,m.bottom-=d-h,m.left-=p-g,m.right-=p-g,m.marginTop=h,m.marginLeft=g}return(o&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(m=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=b(t,"top"),r=b(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}(m,t)),m}function R(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function M(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=r?R(e):g(e,t);if("viewport"===o)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=D(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:b(n),l=t?0:b(n,"left");return T({top:a-o.top+o.marginTop,left:l-o.left+o.marginLeft,width:r,height:i})}(a,r);else{var l=void 0;"scrollParent"===o?"BODY"===(l=c(u(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===o?e.ownerDocument.documentElement:o;var d=D(l,a,r);if("HTML"!==l.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===s(t,"position"))return!0;var o=u(t);return!!o&&e(o)}(a))i=d;else{var p=w(e.ownerDocument),f=p.height,m=p.width;i.top+=d.top-d.marginTop,i.bottom=f+d.top,i.left+=d.left-d.marginLeft,i.right=m+d.left}}var h="number"==typeof(n=n||0);return i.left+=h?n:n.left||0,i.top+=h?n:n.top||0,i.right-=h?n:n.right||0,i.bottom-=h?n:n.bottom||0,i}function O(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=M(n,o,i,r),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(l).map(function(e){return k({key:e},l[e],{area:(t=l[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),u=s.filter(function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight}),c=u.length>0?u[0].key:s[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function P(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return D(n,o?R(t):g(t,n),o)}function N(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function _(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function L(e,t,n){n=n.split("-")[0];var o=N(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",l=i?"left":"top",s=i?"height":"width",u=i?"width":"height";return r[a]=t[a]+t[s]/2-o[s]/2,r[l]=n===l?t[l]-o[u]:t[_(l)],r}function A(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function I(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var o=A(e,function(e){return e[t]===n});return e.indexOf(o)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&l(n)&&(t.offsets.popper=T(t.offsets.popper),t.offsets.reference=T(t.offsets.reference),t=n(t,e))}),t}function z(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function F(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function j(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,n,o){n.updateBound=o,j(e).addEventListener("resize",n.updateBound,{passive:!0});var r=c(e);return function e(t,n,o,r){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,o,{passive:!0}),i||e(c(a.parentNode),n,o,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function U(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,j(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function B(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function W(e,t){Object.keys(t).forEach(function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&B(t[n])&&(o="px"),e.style[n]=t[n]+o})}var G=n&&/Firefox/i.test(navigator.userAgent);function q(e,t,n){var o=A(e,function(e){return e.name===t}),r=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});if(!r){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}var V=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Y=V.slice(3);function X(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Y.indexOf(e),o=Y.slice(n+1).concat(Y.slice(0,n));return t?o.reverse():o}var K={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function $(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),l=a.indexOf(A(a,function(e){return-1!==e.search(/,|\s/)}));a[l]&&-1===a[l].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,u=-1!==l?[a.slice(0,l).concat([a[l].split(s)[0]]),[a[l].split(s)[1]].concat(a.slice(l+1))]:[a];return(u=u.map(function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var l=void 0;switch(a){case"%p":l=n;break;case"%":case"%r":default:l=o}return T(l)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,r,t,n)})})).forEach(function(e,t){e.forEach(function(n,o){B(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))})}),r}var Q={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,l=-1!==["bottom","top"].indexOf(n),s=l?"left":"top",u=l?"width":"height",c={start:C({},s,i[s]),end:C({},s,i[s]+i[u]-a[u])};e.offsets.popper=k({},a,c[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,l=o.split("-")[0],s=void 0;return s=B(+n)?[+n,0]:$(n,i,a,l),"left"===l?(i.top+=s[0],i.left-=s[1]):"right"===l?(i.top+=s[0],i.left+=s[1]):"top"===l?(i.left+=s[0],i.top-=s[1]):"bottom"===l&&(i.left+=s[0],i.top+=s[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||m(e.instance.popper);e.instance.reference===n&&(n=m(n));var o=F("transform"),r=e.instance.popper.style,i=r.top,a=r.left,l=r[o];r.top="",r.left="",r[o]="";var s=M(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=a,r[o]=l,t.boundaries=s;var u=t.priority,c=e.offsets.popper,d={primary:function(e){var n=c[e];return c[e]<s[e]&&!t.escapeWithReference&&(n=Math.max(c[e],s[e])),C({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=c[n];return c[e]>s[e]&&!t.escapeWithReference&&(o=Math.min(c[n],s[e]-("right"===e?c.width:c.height))),C({},n,o)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=k({},c,d[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),l=a?"right":"bottom",s=a?"left":"top",u=a?"width":"height";return n[l]<i(o[s])&&(e.offsets.popper[s]=i(o[s])-n[u]),n[s]>i(o[l])&&(e.offsets.popper[s]=i(o[l])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!q(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,a=i.popper,l=i.reference,u=-1!==["left","right"].indexOf(r),c=u?"height":"width",d=u?"Top":"Left",p=d.toLowerCase(),f=u?"left":"top",m=u?"bottom":"right",h=N(o)[c];l[m]-h<a[p]&&(e.offsets.popper[p]-=a[p]-(l[m]-h)),l[p]+h>a[m]&&(e.offsets.popper[p]+=l[p]+h-a[m]),e.offsets.popper=T(e.offsets.popper);var g=l[p]+l[c]/2-h/2,b=s(e.instance.popper),v=parseFloat(b["margin"+d],10),y=parseFloat(b["border"+d+"Width"],10),w=g-e.offsets.popper[p]-v-y;return w=Math.max(Math.min(a[c]-h,w),0),e.arrowElement=o,e.offsets.arrow=(C(n={},p,Math.round(w)),C(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(z(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=M(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=_(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case K.FLIP:a=[o,r];break;case K.CLOCKWISE:a=X(o);break;case K.COUNTERCLOCKWISE:a=X(o,!0);break;default:a=t.behavior}return a.forEach(function(l,s){if(o!==l||a.length===s+1)return e;o=e.placement.split("-")[0],r=_(o);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,p="left"===o&&d(u.right)>d(c.left)||"right"===o&&d(u.left)<d(c.right)||"top"===o&&d(u.bottom)>d(c.top)||"bottom"===o&&d(u.top)<d(c.bottom),f=d(u.left)<d(n.left),m=d(u.right)>d(n.right),h=d(u.top)<d(n.top),g=d(u.bottom)>d(n.bottom),b="left"===o&&f||"right"===o&&m||"top"===o&&h||"bottom"===o&&g,v=-1!==["top","bottom"].indexOf(o),y=!!t.flipVariations&&(v&&"start"===i&&f||v&&"end"===i&&m||!v&&"start"===i&&h||!v&&"end"===i&&g),w=!!t.flipVariationsByContent&&(v&&"start"===i&&m||v&&"end"===i&&f||!v&&"start"===i&&g||!v&&"end"===i&&h),x=y||w;(p||b||x)&&(e.flipped=!0,(p||b)&&(o=a[s+1]),x&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=k({},e.offsets.popper,L(e.instance.popper,e.offsets.reference,e.placement)),e=I(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),l=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(l?r[a?"width":"height"]:0),e.placement=_(t),e.offsets.popper=T(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=A(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,r=e.offsets.popper,i=A(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,l=m(e.instance.popper),s=S(l),u={position:r.position},c=function(e,t){var n=e.offsets,o=n.popper,r=n.reference,i=Math.round,a=Math.floor,l=function(e){return e},s=i(r.width),u=i(o.width),c=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?c||d||s%2==u%2?i:a:l,f=t?i:l;return{left:p(s%2==1&&u%2==1&&!d&&t?o.left-1:o.left),top:f(o.top),bottom:f(o.bottom),right:p(o.right)}}(e,window.devicePixelRatio<2||!G),d="bottom"===n?"top":"bottom",p="right"===o?"left":"right",f=F("transform"),h=void 0,g=void 0;if(g="bottom"===d?"HTML"===l.nodeName?-l.clientHeight+c.bottom:-s.height+c.bottom:c.top,h="right"===p?"HTML"===l.nodeName?-l.clientWidth+c.right:-s.width+c.right:c.left,a&&f)u[f]="translate3d("+h+"px, "+g+"px, 0)",u[d]=0,u[p]=0,u.willChange="transform";else{var b="bottom"===d?-1:1,v="right"===p?-1:1;u[d]=g*b,u[p]=h*v,u.willChange=d+", "+p}var y={"x-placement":e.placement};return e.attributes=k({},y,e.attributes),e.styles=k({},u,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return W(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&W(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){var i=P(r,t,e,n.positionFixed),a=O(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),W(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},J=function(){function e(t,n){var o=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=a(this.update.bind(this)),this.options=k({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,r.modifiers)).forEach(function(t){o.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return k({name:e},o.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&l(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return E(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=P(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=L(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=I(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=H(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),e}();J.Utils=("undefined"!=typeof window?window:e).PopperUtils,J.placements=V,J.Defaults=Q,t.a=J}).call(this,n(29))},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r,i,a,l,s,u,c,d,p,f,m,h=o(n(14)),g="transform";if(t.transform=g,t.animationEnd=a,t.transitionEnd=i,t.transitionDelay=c,t.transitionTiming=u,t.transitionDuration=s,t.transitionProperty=l,t.animationDelay=m,t.animationTiming=f,t.animationDuration=p,t.animationName=d,h.default){var b=function(){for(var e,t,n=document.createElement("div").style,o={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},r=Object.keys(o),i="",a=0;a<r.length;a++){var l=r[a];if(l+"TransitionProperty"in n){i="-"+l.toLowerCase(),e=o[l]("TransitionEnd"),t=o[l]("AnimationEnd");break}}!e&&"transitionProperty"in n&&(e="transitionend");!t&&"animationName"in n&&(t="animationend");return n=null,{animationEnd:t,transitionEnd:e,prefix:i}}();r=b.prefix,t.transitionEnd=i=b.transitionEnd,t.animationEnd=a=b.animationEnd,t.transform=g=r+"-"+g,t.transitionProperty=l=r+"-transition-property",t.transitionDuration=s=r+"-transition-duration",t.transitionDelay=c=r+"-transition-delay",t.transitionTiming=u=r+"-transition-timing-function",t.animationName=d=r+"-animation-name",t.animationDuration=p=r+"-animation-duration",t.animationTiming=f=r+"-animation-delay",t.animationDelay=m=r+"-animation-timing-function"}var v={transform:g,end:i,property:l,timing:u,delay:c,duration:s};t.default=v},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=function(e){return(0,r.default)(e.replace(i,"ms-"))};var r=o(n(35)),i=/^-ms-/;e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=void 0;var r=function(){};o(n(14)).default&&(r=document.addEventListener?function(e,t,n,o){return e.addEventListener(t,n,o||!1)}:document.attachEvent?function(e,t,n){return e.attachEvent("on"+t,function(t){(t=t||window.event).target=t.target||t.srcElement,t.currentTarget=e,n.call(e,t)})}:void 0);var i=r;t.default=i,e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=void 0;var r=function(){};o(n(14)).default&&(r=document.addEventListener?function(e,t,n,o){return e.removeEventListener(t,n,o||!1)}:document.attachEvent?function(e,t,n){return e.detachEvent("on"+t,n)}:void 0);var i=r;t.default=i,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return(0,r.default)(o.default.findDOMNode(e))};var o=i(n(7)),r=i(n(18));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return null==e?t:(e="function"==typeof e?e():e,r.default.findDOMNode(e)||null)};var o,r=(o=n(7))&&o.__esModule?o:{default:o};e.exports=t.default},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};t.__esModule=!0;var a=n(0),l=n(7),s=n(49),u=n(50),c=n(22),d=n(51),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={data:[]},t.ref=null,t.htmlProps=null,t.mainId="tabulator-"+ +new Date+"-"+Math.floor(9999999*Math.random()),t.table=null,t.pickValidHTMLProps=function(){t.htmlProps||(t.htmlProps=s.pickHTMLProps(t.props),delete t.htmlProps.data,delete t.htmlProps.columns)},t}return r(t,e),t.prototype.componentDidMount=function(){var e=l.findDOMNode(this.ref),t=this,n=this.props,o=n.columns,r=n.data,a=n.options,s=u.propsToOptions(this.props);new d(e,i({columns:o},s,{layout:"fitColumns",tableBuilding:function(){t.table=this,t.props.tableBuilding&&t.props.tableBuilding()},dataLoaded:function(){t.props.dataLoaded&&t.props.dataLoaded()}},a,{data:r})),r&&r.length>0&&this.setState({data:r})},t.prototype.componentWillUnmount=function(){this.table.destroy()},t.getDerivedStateFromProps=function(e,t){var n=!e.data||0===e.data.length;return!t&&n?null:t&&0===t.data.length&&0===e.data.length?null:t&&e.data&&!c.isSameArray(t.data,e.data)?i({},t,{data:e.data}):{}},t.prototype.componentDidUpdate=function(){this.table.setData(this.state.data)},t.prototype.render=function(){var e=this;this.pickValidHTMLProps();var t=this.props.className;return a.createElement("div",i({ref:function(t){return e.ref=t},"data-instance":this.mainId},this.htmlProps,{className:t}))},t}(a.Component);t.default=p},function(e,t){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pickSVGProps=t.pickHTMLProps=void 0;var o=i(n(1)),r=i(n(5));function i(e){return e&&e.__esModule?e:{default:e}}t.pickHTMLProps=o.default,t.pickSVGProps=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=a(n(2)),i=a(n(3));function a(e){return e&&e.__esModule?e:{default:e}}var l=o({},r.default,["about","datatype","defaultChecked","defaultValue","inlist","prefix","property","resource","typeof","vocab","autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave","allowtransparency","charSet","ismap","typemustmatch","onBlur","onChange","onClick","onContextMenu","onCopy","onCut","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onFocus","onInput","onKeyDown","onKeyPress","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPaste","onScroll","onSubmit","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onWheel","onCompositionEnd","onCompositionStart","onCompositionUpdate","onInvalid","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onSelect","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onLoad","onError","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onToggle"].reduce(function(e,t){return e[t]=t,e},{}));t.default=(0,i.default)(function(e){return Boolean(l[e])||/^(data|aria)-/.test(e)})},function(e,t){
/*!
   * html-attributes
   * https://github.com/alexmingoia/html-attributes
   */
"use strict";e.exports={abbr:"abbr",accept:"accept",acceptCharset:"accept-charset",accessKey:"accesskey",action:"action",allowFullScreen:"allowfullscreen",allowTransparency:"allowtransparency",alt:"alt",async:"async",autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",cellPadding:"cellpadding",cellSpacing:"cellspacing",challenge:"challenge",charset:"charset",checked:"checked",cite:"cite",class:"class",className:"class",cols:"cols",colSpan:"colspan",command:"command",content:"content",contentEditable:"contenteditable",contextMenu:"contextmenu",controls:"controls",coords:"coords",crossOrigin:"crossorigin",data:"data",dateTime:"datetime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",dropzone:"dropzone",encType:"enctype",for:"for",form:"form",formAction:"formaction",formEncType:"formenctype",formMethod:"formmethod",formNoValidate:"formnovalidate",formTarget:"formtarget",frameBorder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hrefLang:"hreflang",htmlFor:"for",httpEquiv:"http-equiv",icon:"icon",id:"id",inputMode:"inputmode",isMap:"ismap",itemId:"itemid",itemProp:"itemprop",itemRef:"itemref",itemScope:"itemscope",itemType:"itemtype",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",manifest:"manifest",max:"max",maxLength:"maxlength",media:"media",mediaGroup:"mediagroup",method:"method",min:"min",minLength:"minlength",multiple:"multiple",muted:"muted",name:"name",noValidate:"novalidate",open:"open",optimum:"optimum",pattern:"pattern",ping:"ping",placeholder:"placeholder",poster:"poster",preload:"preload",radioGroup:"radiogroup",readOnly:"readonly",rel:"rel",required:"required",role:"role",rows:"rows",rowSpan:"rowspan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",sortable:"sortable",span:"span",spellCheck:"spellcheck",src:"src",srcDoc:"srcdoc",srcSet:"srcset",start:"start",step:"step",style:"style",tabIndex:"tabindex",target:"target",title:"title",translate:"translate",type:"type",typeMustMatch:"typemustmatch",useMap:"usemap",value:"value",width:"width",wmode:"wmode",wrap:"wrap"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(4),i=(o=r)&&o.__esModule?o:{default:o};t.default=function(e){return function(t){if(!(0,i.default)(t))throw new Error("props should be a plain object");var n={};for(var o in t)t.hasOwnProperty(o)&&e(o)&&(n[o]=t[o]);return n}}},function(e,t){var n="[object Object]";var o,r,i=Function.prototype,a=Object.prototype,l=i.toString,s=a.hasOwnProperty,u=l.call(Object),c=a.toString,d=(o=Object.getPrototypeOf,r=Object,function(e){return o(r(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||c.call(e)!=n||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=d(e);if(null===t)return!0;var o=s.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&l.call(o)==u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(3)),r=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.default)(function(e){return Boolean(r.default[e])})},function(e,t){
/*!
   * svg-attributes
   * https://github.com/alexmingoia/svg-attributes
   */
"use strict";e.exports={accentHeight:"accent-height",accumulate:"accumulate",additive:"additive",alphabetic:"alphabetic",amplitude:"amplitude",arabicForm:"arabic-form",ascent:"ascent",attributeName:"attributeName",attributeType:"attributeType",azimuth:"azimuth",baseFrequency:"baseFrequency",baseProfile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcMode:"calcMode",capHeight:"cap-height",class:"class",clipPathUnits:"clipPathUnits",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cx:"cx",cy:"cy",d:"d",descent:"descent",diffuseConstant:"diffuseConstant",divisor:"divisor",dur:"dur",dx:"dx",dy:"dy",edgeMode:"edgeMode",elevation:"elevation",end:"end",exponent:"exponent",externalResourcesRequired:"externalResourcesRequired",fill:"fill",filterRes:"filterRes",filterUnits:"filterUnits",fontFamily:"font-family",fontSize:"font-size",fontStretch:"font-stretch",fontStyle:"font-style",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphame:"glyph-name",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:"hanging",height:"height",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",id:"id",ideographic:"ideographic",in:"in",in2:"in2",intercept:"intercept",k:"k",k1:"k1",k2:"k2",k3:"k3",k4:"k4",kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lang:"lang",lengthAdjust:"lengthAdjust",limitingConeAngle:"limitingConeAngle",local:"local",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:"mathematical",max:"max",media:"media",method:"method",min:"min",mode:"mode",name:"name",numOctaves:"numOctaves",offset:"offset",onAbort:"onabort",onActivate:"onactivate",onBegin:"onbegin",onClick:"onclick",onEnd:"onend",onError:"onerror",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onLoad:"onload",onMouseDown:"onmousedown",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onRepeat:"onrepeat",onResize:"onresize",onScroll:"onscroll",onUnload:"onunload",onZoom:"onzoom",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overlinePosition:"overline-position",overlineThickness:"overline-thickness",panose1:"panose-1",path:"path",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",points:"points",pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:"r",radius:"radius",refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:"restart",result:"result",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",seed:"seed",slope:"slope",spacing:"spacing",specularConstant:"specularConstant",specularExponent:"specularExponent",spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchTiles:"stitchTiles",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:"string",style:"style",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",target:"target",targetX:"targetX",targetY:"targetY",textLength:"textLength",title:"title",to:"to",transform:"transform",type:"type",u1:"u1",u2:"u2",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:"unicode",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:"values",version:"version",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",width:"width",widths:"widths",x:"x",xHeight:"x-height",x1:"x1",x2:"x2",xChannelSelector:"xChannelSelector",xlink:"xlink",xml:"xml",y:"y",y1:"y1",y2:"y2",yChannelSelector:"yChannelSelector",z:"z",zoomAndPan:"zoomAndPan",alignmentBaseline:"alignment-baseline",baselineShift:"baseline-shift",clipPath:"clip-path",clipRule:"clip-rule",clip:"clip",colorInterpolationFilters:"color-interpolation-filters",colorInterpolation:"color-interpolation",colorProfile:"color-profile",colorRendering:"color-rendering",color:"color",cursor:"cursor",direction:"direction",display:"display",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:"filter",floodColor:"flood-color",floodOpacity:"flood-opacity",fontSizeAdjust:"font-size-adjust",fontVariant:"font-variant",fontWeight:"font-weight",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",imageRendering:"image-rendering",kerning:"kerning",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",mask:"mask",opacity:"opacity",overflow:"overflow",pointerEvents:"pointer-events",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",stroke:"stroke",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",unicodeBidi:"unicode-bidi",visibility:"visibility",wordSpacing:"word-spacing",writingMode:"writing-mode"}}])},function(e,t,n){"use strict";t.__esModule=!0;var o=n(108),r=function(){};t.propsToOptions=function(e){for(var t={},n=0,i=["height","layout","layoutColumnsOnNewData","columnMinWidth","columnVertAlign","resizableColumns","resizableRows","autoResize","tooltips","tooltipsHeader","tooltipGenerationMode","initialSort","initialFilter","footerElement","index","keybindings","clipboard","clipboardCopyStyled","clipboardCopySelector","clipboardCopyFormatter","clipboardCopyHeader","clipboardPasteParser","clipboardPasteAction","rowFormatter","placeholder"];n<i.length;n++){var a=i[n];void 0!==e[a]&&(t[a]=e[a])}for(var l=0,s=["tableBuilt","rowClick","rowDblClick","rowContext","rowTap","rowDblTap","rowTapHold","rowAdded","rowDeleted","rowMoved","rowUpdated","rowSelectionChanged","rowSelected","rowDeselected","rowResized","cellClick","cellDblClick","cellContext","cellTap","cellDblTap","cellTapHold","cellEditing","cellEdited","cellEditCancelled","columnMoved","columnResized","columnTitleChanged","columnVisibilityChanged","headerClick","headerDblClick","headerContext","headerTap","headerDblTap","headerTapHold","htmlImporting","htmlImported","dataLoading","dataLoaded","dataEdited","ajaxRequesting","ajaxResponse","ajaxError","dataFiltering","dataFiltered","dataSorting","dataSorted","renderStarted","renderComplete","pageLoaded","localized","dataGrouping","dataGrouped","groupVisibilityChanged","groupClick","groupDblClick","groupContext","groupTap","groupDblTap","groupTapHold","movableRowsSendingStart","movableRowsSent","movableRowsSentFailed","movableRowsSendingStop","movableRowsReceivingStart","movableRowsReceived","movableRowsReceivedFailed","movableRowsReceivingStop","validationFailed","clipboardCopied","clipboardPasted","clipboardPasteError","downloadDataFormatter","downloadReady","downloadComplete"];l<s.length;l++){var u=s[l];t[u]=e[u]||r}return"object"==typeof e.footerElement&&(t.footerElement=o.renderToString(e.footerElement)),t}},function(t,n,o){var r,i,a,l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};a=function(){"use strict";Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var o=arguments[1],r=0;r<n;){var i=t[r];if(e.call(o,i,r,t))return r;r++}return-1}}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var o=arguments[1],r=0;r<n;){var i=t[r];if(e.call(o,i,r,t))return i;r++}}});var t=function(e){this.table=e,this.blockHozScrollEvent=!1,this.headersElement=this.createHeadersElement(),this.element=this.createHeaderElement(),this.rowManager=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.element.insertBefore(this.headersElement,this.element.firstChild)};t.prototype.createHeadersElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e},t.prototype.createHeaderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-header"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e},t.prototype.initialize=function(){},t.prototype.setRowManager=function(e){this.rowManager=e},t.prototype.getElement=function(){return this.element},t.prototype.getHeadersElement=function(){return this.headersElement},t.prototype.scrollHorizontal=function(e){var t=0,n=this.element.scrollWidth-this.table.element.clientWidth;this.element.scrollLeft=e,e>n?(t=e-n,this.element.style.marginLeft=-t+"px"):this.element.style.marginLeft=0,this.scrollLeft=e,this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.scrollHorizontal()},t.prototype.generateColumnsFromRowData=function(e){var t,n,o=[];if(e&&e.length){for(var r in t=e[0]){var i={field:r,title:r},a=t[r];switch(void 0===a?"undefined":l(a)){case"undefined":n="string";break;case"boolean":n="boolean";break;case"object":n=Array.isArray(a)?"array":"string";break;default:n=isNaN(a)||""===a?a.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?"alphanum":"string":"number"}i.sorter=n,o.push(i)}this.table.options.columns=o,this.setColumns(this.table.options.columns)}},t.prototype.setColumns=function(e,t){for(var n=this;n.headersElement.firstChild;)n.headersElement.removeChild(n.headersElement.firstChild);n.columns=[],n.columnsByIndex=[],n.columnsByField={},n.table.modExists("frozenColumns")&&n.table.modules.frozenColumns.reset(),e.forEach(function(e,t){n._addColumn(e)}),n._reIndexColumns(),n.table.options.responsiveLayout&&n.table.modExists("responsiveLayout",!0)&&n.table.modules.responsiveLayout.initialize(),n.redraw(!0)},t.prototype._addColumn=function(e,t,n){var r=new o(e,this),i=r.getElement(),a=n?this.findColumnIndex(n):n;if(n&&a>-1){var l=this.columns.indexOf(n.getTopColumn()),s=n.getElement();t?(this.columns.splice(l,0,r),s.parentNode.insertBefore(i,s)):(this.columns.splice(l+1,0,r),s.parentNode.insertBefore(i,s.nextSibling))}else t?(this.columns.unshift(r),this.headersElement.insertBefore(r.getElement(),this.headersElement.firstChild)):(this.columns.push(r),this.headersElement.appendChild(r.getElement()));return r},t.prototype.registerColumnField=function(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)},t.prototype.registerColumnPosition=function(e){this.columnsByIndex.push(e)},t.prototype._reIndexColumns=function(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})},t.prototype._verticalAlignHeaders=function(){var e=this,t=0;e.columns.forEach(function(e){var n;e.clearVerticalAlign(),(n=e.getHeight())>t&&(t=n)}),e.columns.forEach(function(n){n.verticalAlign(e.table.options.columnVertAlign,t)}),e.rowManager.adjustTableSize()},t.prototype.findColumn=function(e){return"object"!=(void 0===e?"undefined":l(e))?this.columnsByField[e]||!1:e instanceof o?e:e instanceof n?e._getSelf()||!1:"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&this.columns.find(function(t){return t.element===e})||!1},t.prototype.getColumnByField=function(e){return this.columnsByField[e]},t.prototype.getColumnByIndex=function(e){return this.columnsByIndex[e]},t.prototype.getFirstVisibileColumn=function(e){return(e=this.columnsByIndex.findIndex(function(e){return e.visible}))>-1&&this.columnsByIndex[e]},t.prototype.getColumns=function(){return this.columns},t.prototype.findColumnIndex=function(e){return this.columnsByIndex.findIndex(function(t){return e===t})},t.prototype.getRealColumns=function(){return this.columnsByIndex},t.prototype.traverse=function(e){this.columnsByIndex.forEach(function(t,n){e(t,n)})},t.prototype.getDefinitions=function(e){var t=[];return this.columnsByIndex.forEach(function(n){(!e||e&&n.visible)&&t.push(n.getDefinition())}),t},t.prototype.getDefinitionTree=function(){var e=[];return this.columns.forEach(function(t){e.push(t.getDefinition(!0))}),e},t.prototype.getComponents=function(e){var t=[];return(e?this.columns:this.columnsByIndex).forEach(function(e){t.push(e.getComponent())}),t},t.prototype.getWidth=function(){var e=0;return this.columnsByIndex.forEach(function(t){t.visible&&(e+=t.getWidth())}),e},t.prototype.moveColumn=function(e,t,n){this._moveColumnInArray(this.columns,e,t,n),this._moveColumnInArray(this.columnsByIndex,e,t,n,!0),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this.table.options.columnMoved&&this.table.options.columnMoved.call(this.table,e.getComponent(),this.table.columnManager.getComponents()),this.table.options.persistentLayout&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.save("columns")},t.prototype._moveColumnInArray=function(e,t,n,o,r){var i,a=e.indexOf(t);a>-1&&(e.splice(a,1),(i=e.indexOf(n))>-1?o&&(i+=1):i=a,e.splice(i,0,t),r&&this.table.rowManager.rows.forEach(function(e){if(e.cells.length){var t=e.cells.splice(a,1)[0];e.cells.splice(i,0,t)}}))},t.prototype.scrollToColumn=function(e,t,n){var o=this,r=0,i=0,a=0,l=e.getElement();return new Promise(function(s,u){if(void 0===t&&(t=o.table.options.scrollToColumnPosition),void 0===n&&(n=o.table.options.scrollToColumnIfVisible),e.visible){switch(t){case"middle":case"center":a=-o.element.clientWidth/2;break;case"right":a=l.clientWidth-o.headersElement.clientWidth}if(!n&&(i=l.offsetLeft)>0&&i+l.offsetWidth<o.element.clientWidth)return!1;r=l.offsetLeft+o.element.scrollLeft+a,r=Math.max(Math.min(r,o.table.rowManager.element.scrollWidth-o.table.rowManager.element.clientWidth),0),o.table.rowManager.scrollHorizontal(r),o.scrollHorizontal(r),s()}else console.warn("Scroll Error - Column not visible"),u("Scroll Error - Column not visible")})},t.prototype.generateCells=function(e){var t=[];return this.columnsByIndex.forEach(function(n){t.push(n.generateCell(e))}),t},t.prototype.getFlexBaseWidth=function(){var e=this,t=e.table.element.clientWidth,n=0;return e.rowManager.element.scrollHeight>e.rowManager.element.clientHeight&&(t-=e.rowManager.element.offsetWidth-e.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(o){var r,i,a;o.visible&&(r=o.definition.width||0,i=void 0===o.minWidth?e.table.options.columnMinWidth:parseInt(o.minWidth),a="string"==typeof r?r.indexOf("%")>-1?t/100*parseInt(r):parseInt(r):r,n+=a>i?a:i)}),n},t.prototype.addColumn=function(e,t,n){var o=this._addColumn(e,t,n);this._reIndexColumns(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),this.redraw(),"fitColumns"!=this.table.modules.layout.getMode()&&o.reinitializeWidth(),this._verticalAlignHeaders(),this.table.rowManager.reinitialize()},t.prototype.deregisterColumn=function(e){var t,n=e.getField();n&&delete this.columnsByField[n],(t=this.columnsByIndex.indexOf(e))>-1&&this.columnsByIndex.splice(t,1),(t=this.columns.indexOf(e))>-1&&this.columns.splice(t,1),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this.redraw()},t.prototype.redraw=function(e){e&&(d.prototype.helpers.elVisible(this.element)&&this._verticalAlignHeaders(),this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),"fitColumns"==this.table.modules.layout.getMode()?this.table.modules.layout.layout():e?this.table.modules.layout.layout():this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout(),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),e&&(this.table.options.persistentLayout&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.save("columns"),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.redraw()),this.table.footerManager.redraw()};var n=function(e){this._column=e,this.type="ColumnComponent"};n.prototype.getElement=function(){return this._column.getElement()},n.prototype.getDefinition=function(){return this._column.getDefinition()},n.prototype.getField=function(){return this._column.getField()},n.prototype.getCells=function(){var e=[];return this._column.cells.forEach(function(t){e.push(t.getComponent())}),e},n.prototype.getVisibility=function(){return this._column.visible},n.prototype.show=function(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()},n.prototype.hide=function(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()},n.prototype.toggle=function(){this._column.visible?this.hide():this.show()},n.prototype.delete=function(){this._column.delete()},n.prototype.getSubColumns=function(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(t){e.push(t.getComponent())}),e},n.prototype.getParentColumn=function(){return this._column.parent instanceof o&&this._column.parent.getComponent()},n.prototype._getSelf=function(){return this._column},n.prototype.scrollTo=function(){return this._column.table.columnManager.scrollToColumn(this._column)},n.prototype.getTable=function(){return this._column.table},n.prototype.headerFilterFocus=function(){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.setHeaderFilterFocus(this._column)},n.prototype.reloadHeaderFilter=function(){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.reloadHeaderFilter(this._column)},n.prototype.setHeaderFilterValue=function(e){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.setHeaderFilterValue(this._column,e)},n.prototype.getNextColumn=function(){var e=this._column.nextColumn();return!!e&&e.getComponent()},n.prototype.getPrevColumn=function(){var e=this._column.prevColumn();return!!e&&e.getComponent()};var o=function e(t,n){var o=this;this.table=n.table,this.definition=t,this.parent=n,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.tooltip=!1,this.hozAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.setField(this.definition.field),this.checkDefinition(),this.modules={},this.cellEvents={cellClick:!1,cellDblClick:!1,cellContext:!1,cellTap:!1,cellDblTap:!1,cellTapHold:!1,cellMouseEnter:!1,cellMouseLeave:!1,cellMouseOver:!1,cellMouseOut:!1,cellMouseMove:!1},this.width=null,this.widthStyled="",this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this._mapDepricatedFunctionality(),t.columns?(this.isGroup=!0,t.columns.forEach(function(t,n){var r=new e(t,o);o.attachColumn(r)}),o.checkColumnVisibility()):n.registerColumnField(this),t.rowHandle&&!1!==this.table.options.movableRows&&this.table.modExists("moveRow")&&this.table.modules.moveRow.setHandle(!0),this._buildHeader()};o.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),e},o.prototype.createGroupElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e},o.prototype.checkDefinition=function(){var e=this;Object.keys(this.definition).forEach(function(t){-1===e.defaultOptionList.indexOf(t)&&console.warn("Invalid column definition option in '"+(e.field||e.definition.title)+"' column:",t)})},o.prototype.setField=function(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNesteData:this._setFlatData},o.prototype.registerColumnPosition=function(e){this.parent.registerColumnPosition(e)},o.prototype.registerColumnField=function(e){this.parent.registerColumnField(e)},o.prototype.reRegisterPosition=function(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)},o.prototype._mapDepricatedFunctionality=function(){void 0!==this.definition.hideInHtml&&(this.definition.htmlOutput=!this.definition.hideInHtml,console.warn("hideInHtml column definition property is depricated, you should now use htmlOutput"))},o.prototype.setTooltip=function(){var e=this,t=e.definition,n=t.headerTooltip||!1===t.tooltip?t.headerTooltip:e.table.options.tooltipsHeader;n?!0===n?t.field?e.table.modules.localize.bind("columns|"+t.field,function(n){e.element.setAttribute("title",n||t.title)}):e.element.setAttribute("title",t.title):("function"==typeof n&&!1===(n=n(e.getComponent()))&&(n=""),e.element.setAttribute("title",n)):e.element.setAttribute("title","")},o.prototype._buildHeader=function(){for(var e=this,t=e.definition;e.element.firstChild;)e.element.removeChild(e.element.firstChild);t.headerVertical&&(e.element.classList.add("tabulator-col-vertical"),"flip"===t.headerVertical&&e.element.classList.add("tabulator-col-vertical-flip")),e.contentElement=e._bindEvents(),e.contentElement=e._buildColumnHeaderContent(),e.element.appendChild(e.contentElement),e.isGroup?e._buildGroupHeader():e._buildColumnHeader(),e.setTooltip(),e.table.options.resizableColumns&&e.table.modExists("resizeColumns")&&e.table.modules.resizeColumns.initializeColumn("header",e,e.element),t.headerFilter&&e.table.modExists("filter")&&e.table.modExists("edit")&&(void 0!==t.headerFilterPlaceholder&&t.field&&e.table.modules.localize.setHeaderFilterColumnPlaceholder(t.field,t.headerFilterPlaceholder),e.table.modules.filter.initializeColumn(e)),e.table.modExists("frozenColumns")&&e.table.modules.frozenColumns.initializeColumn(e),e.table.options.movableColumns&&!e.isGroup&&e.table.modExists("moveColumn")&&e.table.modules.moveColumn.initializeColumn(e),(t.topCalc||t.bottomCalc)&&e.table.modExists("columnCalcs")&&e.table.modules.columnCalcs.initializeColumn(e),e.element.addEventListener("mouseenter",function(t){e.setTooltip()})},o.prototype._bindEvents=function(){var e,t,n,o=this,r=o.definition;"function"==typeof r.headerClick&&o.element.addEventListener("click",function(e){r.headerClick(e,o.getComponent())}),"function"==typeof r.headerDblClick&&o.element.addEventListener("dblclick",function(e){r.headerDblClick(e,o.getComponent())}),"function"==typeof r.headerContext&&o.element.addEventListener("contextmenu",function(e){r.headerContext(e,o.getComponent())}),"function"==typeof r.headerTap&&(n=!1,o.element.addEventListener("touchstart",function(e){n=!0},{passive:!0}),o.element.addEventListener("touchend",function(e){n&&r.headerTap(e,o.getComponent()),n=!1})),"function"==typeof r.headerDblTap&&(e=null,o.element.addEventListener("touchend",function(t){e?(clearTimeout(e),e=null,r.headerDblTap(t,o.getComponent())):e=setTimeout(function(){clearTimeout(e),e=null},300)})),"function"==typeof r.headerTapHold&&(t=null,o.element.addEventListener("touchstart",function(e){clearTimeout(t),t=setTimeout(function(){clearTimeout(t),t=null,n=!1,r.headerTapHold(e,o.getComponent())},1e3)},{passive:!0}),o.element.addEventListener("touchend",function(e){clearTimeout(t),t=null})),"function"==typeof r.cellClick&&(o.cellEvents.cellClick=r.cellClick),"function"==typeof r.cellDblClick&&(o.cellEvents.cellDblClick=r.cellDblClick),"function"==typeof r.cellContext&&(o.cellEvents.cellContext=r.cellContext),"function"==typeof r.cellMouseEnter&&(o.cellEvents.cellMouseEnter=r.cellMouseEnter),"function"==typeof r.cellMouseLeave&&(o.cellEvents.cellMouseLeave=r.cellMouseLeave),"function"==typeof r.cellMouseOver&&(o.cellEvents.cellMouseOver=r.cellMouseOver),"function"==typeof r.cellMouseOut&&(o.cellEvents.cellMouseOut=r.cellMouseOut),"function"==typeof r.cellMouseMove&&(o.cellEvents.cellMouseMove=r.cellMouseMove),"function"==typeof r.cellTap&&(o.cellEvents.cellTap=r.cellTap),"function"==typeof r.cellDblTap&&(o.cellEvents.cellDblTap=r.cellDblTap),"function"==typeof r.cellTapHold&&(o.cellEvents.cellTapHold=r.cellTapHold),"function"==typeof r.cellEdited&&(o.cellEvents.cellEdited=r.cellEdited),"function"==typeof r.cellEditing&&(o.cellEvents.cellEditing=r.cellEditing),"function"==typeof r.cellEditCancelled&&(o.cellEvents.cellEditCancelled=r.cellEditCancelled)},o.prototype._buildColumnHeader=function(){var e=this,t=e.definition,n=e.table;(n.modExists("sort")&&n.modules.sort.initializeColumn(e,e.contentElement),n.modExists("format")&&n.modules.format.initializeColumn(e),void 0!==t.editor&&n.modExists("edit")&&n.modules.edit.initializeColumn(e),void 0!==t.validator&&n.modExists("validate")&&n.modules.validate.initializeColumn(e),n.modExists("mutator")&&n.modules.mutator.initializeColumn(e),n.modExists("accessor")&&n.modules.accessor.initializeColumn(e),l(n.options.responsiveLayout)&&n.modExists("responsiveLayout")&&n.modules.responsiveLayout.initializeColumn(e),void 0!==t.visible&&(t.visible?e.show(!0):e.hide(!0)),t.cssClass)&&t.cssClass.split(" ").forEach(function(t){e.element.classList.add(t)});t.field&&this.element.setAttribute("tabulator-field",t.field),e.setMinWidth(void 0===t.minWidth?e.table.options.columnMinWidth:parseInt(t.minWidth)),e.reinitializeWidth(),e.tooltip=e.definition.tooltip||!1===e.definition.tooltip?e.definition.tooltip:e.table.options.tooltips,e.hozAlign=void 0===e.definition.align?"":e.definition.align},o.prototype._buildColumnHeaderContent=function(){this.definition,this.table;var e=document.createElement("div");return e.classList.add("tabulator-col-content"),e.appendChild(this._buildColumnHeaderTitle()),e},o.prototype._buildColumnHeaderTitle=function(){var e=this,t=e.definition,n=e.table,o=document.createElement("div");if(o.classList.add("tabulator-col-title"),t.editableTitle){var r=document.createElement("input");r.classList.add("tabulator-title-editor"),r.addEventListener("click",function(e){e.stopPropagation(),r.focus()}),r.addEventListener("change",function(){t.title=r.value,n.options.columnTitleChanged.call(e.table,e.getComponent())}),o.appendChild(r),t.field?n.modules.localize.bind("columns|"+t.field,function(e){r.value=e||t.title||"&nbsp"}):r.value=t.title||"&nbsp"}else t.field?n.modules.localize.bind("columns|"+t.field,function(n){e._formatColumnHeaderTitle(o,n||t.title||"&nbsp")}):e._formatColumnHeaderTitle(o,t.title||"&nbsp");return o},o.prototype._formatColumnHeaderTitle=function(e,t){var n,o,r,i;if(this.definition.titleFormatter&&this.table.modExists("format"))switch(n=this.table.modules.format.getFormatter(this.definition.titleFormatter),i={getValue:function(){return t},getElement:function(){return e}},r="function"==typeof(r=this.definition.titleFormatterParams||{})?r():r,void 0===(o=n.call(this.table.modules.format,i,r))?"undefined":l(o)){case"object":o instanceof Node?e.appendChild(o):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",o));break;case"undefined":case"null":e.innerHTML="";break;default:e.innerHTML=o}else e.innerHTML=t},o.prototype._buildGroupHeader=function(){this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.element.appendChild(this.groupElement)},o.prototype._getFlatData=function(e){return e[this.field]},o.prototype._getNestedData=function(e){for(var t,n=e,o=this.fieldStructure,r=o.length,i=0;i<r&&(t=n=n[o[i]],n);i++);return t},o.prototype._setFlatData=function(e,t){this.field&&(e[this.field]=t)},o.prototype._setNesteData=function(e,t){for(var n=e,o=this.fieldStructure,r=o.length,i=0;i<r;i++)i==r-1?n[o[i]]=t:(n[o[i]]||(n[o[i]]={}),n=n[o[i]])},o.prototype.attachColumn=function(e){this.groupElement?(this.columns.push(e),this.groupElement.appendChild(e.getElement())):console.warn("Column Warning - Column being attached to another column instead of column group")},o.prototype.verticalAlign=function(e,t){var n=this.parent.isGroup?this.parent.getGroupElement().clientHeight:t||this.parent.getHeadersElement().clientHeight;this.element.style.height=n+"px",this.isGroup&&(this.groupElement.style.minHeight=n-this.contentElement.offsetHeight+"px"),this.isGroup||"top"===e||(this.element.style.paddingTop="bottom"===e?this.element.clientHeight-this.contentElement.offsetHeight+"px":(this.element.clientHeight-this.contentElement.offsetHeight)/2+"px"),this.columns.forEach(function(t){t.verticalAlign(e)})},o.prototype.clearVerticalAlign=function(){this.element.style.paddingTop="",this.element.style.height="",this.element.style.minHeight="",this.groupElement.style.minHeight="",this.columns.forEach(function(e){e.clearVerticalAlign()})},o.prototype.getElement=function(){return this.element},o.prototype.getGroupElement=function(){return this.groupElement},o.prototype.getField=function(){return this.field},o.prototype.getFirstColumn=function(){return this.isGroup?!!this.columns.length&&this.columns[0].getFirstColumn():this},o.prototype.getLastColumn=function(){return this.isGroup?!!this.columns.length&&this.columns[this.columns.length-1].getLastColumn():this},o.prototype.getColumns=function(){return this.columns},o.prototype.getCells=function(){return this.cells},o.prototype.getTopColumn=function(){return this.parent.isGroup?this.parent.getTopColumn():this},o.prototype.getDefinition=function(e){var t=[];return this.isGroup&&e&&(this.columns.forEach(function(e){t.push(e.getDefinition(!0))}),this.definition.columns=t),this.definition},o.prototype.checkColumnVisibility=function(){var e=!1;this.columns.forEach(function(t){t.visible&&(e=!0)}),e?(this.show(),this.parent.table.options.columnVisibilityChanged.call(this.table,this.getComponent(),!1)):this.hide()},o.prototype.show=function(e,t){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(e){e.show()}),this.isGroup||null!==this.width||this.reinitializeWidth(),this.table.columnManager._verticalAlignHeaders(),this.table.options.persistentLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.persistence.save("columns"),!t&&this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.updateColumnVisibility(this,this.visible),e||this.table.options.columnVisibilityChanged.call(this.table,this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths())},o.prototype.hide=function(e,t){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager._verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(e){e.hide()}),this.table.options.persistentLayout&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.save("columns"),!t&&this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.updateColumnVisibility(this,this.visible),e||this.table.options.columnVisibilityChanged.call(this.table,this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths())},o.prototype.matchChildWidths=function(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(t){t.visible&&(e+=t.getWidth())}),this.contentElement.style.maxWidth=e-1+"px")},o.prototype.setWidth=function(e){this.widthFixed=!0,this.setWidthActual(e)},o.prototype.setWidthActual=function(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(e){e.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()},o.prototype.checkCellHeights=function(){var e=[];this.cells.forEach(function(t){t.row.heightInitialized&&(null!==t.row.getElement().offsetParent?(e.push(t.row),t.row.clearCellHeight()):t.row.heightInitialized=!1)}),e.forEach(function(e){e.calcHeight()}),e.forEach(function(e){e.setCellHeight()})},o.prototype.getWidth=function(){return this.width},o.prototype.getHeight=function(){return this.element.offsetHeight},o.prototype.setMinWidth=function(e){this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(e){e.setMinWidth()})},o.prototype.delete=function(){this.isGroup&&this.columns.forEach(function(e){e.delete()});for(var e=this.cells.length,t=0;t<e;t++)this.cells[0].delete();this.element.parentNode.removeChild(this.element),this.table.columnManager.deregisterColumn(this)},o.prototype.generateCell=function(e){var t=new u(this,e);return this.cells.push(t),t},o.prototype.nextColumn=function(){var e=this.table.columnManager.findColumnIndex(this);return e>-1&&this.table.columnManager.getColumnByIndex(e+1)},o.prototype.prevColumn=function(){var e=this.table.columnManager.findColumnIndex(this);return e>-1&&this.table.columnManager.getColumnByIndex(e-1)},o.prototype.reinitializeWidth=function(e){this.widthFixed=!1,void 0===this.definition.width||e||this.setWidth(this.definition.width),this.table.modExists("filter")&&this.table.modules.filter.hideHeaderFilterElements(),this.fitToData(),this.table.modExists("filter")&&this.table.modules.filter.showHeaderFilterElements()},o.prototype.fitToData=function(){this.widthFixed||(this.element.style.width="",this.cells.forEach(function(e){e.clearWidth()}));var e=this.element.offsetWidth;this.width&&this.widthFixed||(this.cells.forEach(function(t){var n=t.getWidth();n>e&&(e=n)}),e&&this.setWidthActual(e+1))},o.prototype.deleteCell=function(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)},o.prototype.defaultOptionList=["title","field","columns","visible","align","width","minWidth","widthGrow","widthShrink","resizable","frozen","responsive","tooltip","cssClass","rowHandle","hideInHtml","print","htmlOutput","sorter","sorterParams","formatter","formatterParams","variableHeight","editable","editor","editorParams","validator","mutator","mutatorParams","mutatorData","mutatorDataParams","mutatorEdit","mutatorEditParams","mutatorClipboard","mutatorClipboardParams","accessor","accessorParams","accessorData","accessorDataParams","accessorDownload","accessorDownloadParams","accessorClipboard","accessorClipboardParams","download","downloadTitle","topCalc","topCalcParams","topCalcFormatter","topCalcFormatterParams","bottomCalc","bottomCalcParams","bottomCalcFormatter","bottomCalcFormatterParams","cellClick","cellDblClick","cellContext","cellTap","cellDblTap","cellTapHold","cellMouseEnter","cellMouseLeave","cellMouseOver","cellMouseOut","cellMouseMove","cellEditing","cellEdited","cellEditCancelled","headerSort","headerSortStartingDir","headerSortTristate","headerClick","headerDblClick","headerContext","headerTap","headerDblTap","headerTapHold","headerTooltip","headerVertical","editableTitle","titleFormatter","titleFormatterParams","headerFilter","headerFilterPlaceholder","headerFilterParams","headerFilterEmptyCheck","headerFilterFunc","headerFilterFuncParams","headerFilterLiveFilter","print"],o.prototype.getComponent=function(){return new n(this)};var r=function(e){this.table=e,this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.columnManager=null,this.height=0,this.firstRender=!1,this.renderMode="classic",this.rows=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]};r.prototype.createHolderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-tableHolder"),e.setAttribute("tabindex",0),e},r.prototype.createTableElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e},r.prototype.getElement=function(){return this.element},r.prototype.getTableElement=function(){return this.tableElement},r.prototype.getRowPosition=function(e,t){return t?this.activeRows.indexOf(e):this.rows.indexOf(e)},r.prototype.setColumnManager=function(e){this.columnManager=e},r.prototype.initialize=function(){var e=this;e.setRenderMode(),e.element.appendChild(e.tableElement),e.firstRender=!0,e.element.addEventListener("scroll",function(){var t=e.element.scrollLeft;e.scrollLeft!=t&&(e.columnManager.scrollHorizontal(t),e.table.options.groupBy&&e.table.modules.groupRows.scrollHeaders(t),e.table.modExists("columnCalcs")&&e.table.modules.columnCalcs.scrollHorizontal(t)),e.scrollLeft=t}),"virtual"===this.renderMode&&e.element.addEventListener("scroll",function(){var t=e.element.scrollTop,n=e.scrollTop>t;e.scrollTop!=t?(e.scrollTop=t,e.scrollVertical(n),"scroll"==e.table.options.ajaxProgressiveLoad&&e.table.modules.ajax.nextPage(e.element.scrollHeight-e.element.clientHeight-t)):e.scrollTop=t})},r.prototype.findRow=function(e){var t=this;return"object"!=(void 0===e?"undefined":l(e))?null!=e&&(t.rows.find(function(n){return n.data[t.table.options.index]==e})||!1):e instanceof a?e:e instanceof i?e._getSelf()||!1:"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&t.rows.find(function(t){return t.element===e})||!1},r.prototype.getRowFromDataObject=function(e){return this.rows.find(function(t){return t.data===e})||!1},r.prototype.getRowFromPosition=function(e,t){return t?this.activeRows[e]:this.rows[e]},r.prototype.scrollToRow=function(e,t,n){var o,r=this,i=this.getDisplayRows().indexOf(e),a=e.getElement(),l=0;return new Promise(function(e,s){if(i>-1){if(void 0===t&&(t=r.table.options.scrollToRowPosition),void 0===n&&(n=r.table.options.scrollToRowIfVisible),"nearest"===t)switch(r.renderMode){case"classic":o=d.prototype.helpers.elOffset(a).top,t=Math.abs(r.element.scrollTop-o)>Math.abs(r.element.scrollTop+r.element.clientHeight-o)?"bottom":"top";break;case"virtual":t=Math.abs(r.vDomTop-i)>Math.abs(r.vDomBottom-i)?"bottom":"top"}if(!n&&d.prototype.helpers.elVisible(a)&&(l=d.prototype.helpers.elOffset(a).top-d.prototype.helpers.elOffset(r.element).top)>0&&l<r.element.clientHeight-a.offsetHeight)return!1;switch(r.renderMode){case"classic":r.element.scrollTop=d.prototype.helpers.elOffset(a).top-d.prototype.helpers.elOffset(r.element).top+r.element.scrollTop;break;case"virtual":r._virtualRenderFill(i,!0)}switch(t){case"middle":case"center":r.element.scrollTop=r.element.scrollTop-r.element.clientHeight/2;break;case"bottom":r.element.scrollTop=r.element.scrollTop-r.element.clientHeight+a.offsetHeight}e()}else console.warn("Scroll Error - Row not visible"),s("Scroll Error - Row not visible")})},r.prototype.setData=function(e,t){var n=this,o=this;return new Promise(function(r,i){t&&n.getDisplayRows().length?o.table.options.pagination?o._setDataActual(e,!0):n.reRenderInPosition(function(){o._setDataActual(e)}):(n.table.options.autoColumns&&n.table.columnManager.generateColumnsFromRowData(e),n.resetScroll(),n._setDataActual(e)),r()})},r.prototype._setDataActual=function(e,t){var n=this;n.table.options.dataLoading.call(this.table,e),this._wipeElements(),this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.clear(),Array.isArray(e)?(this.table.modExists("selectRow")&&this.table.modules.selectRow.clearSelectionData(),this.table.options.reactiveData&&this.table.modExists("reactiveData",!0)&&this.table.modules.reactiveData.watchData(e),e.forEach(function(e,t){if(e&&"object"===(void 0===e?"undefined":l(e))){var o=new a(e,n);n.rows.push(o)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",e)}),n.table.options.dataLoaded.call(this.table,e),n.refreshActiveData(!1,!1,t)):console.error("Data Loading Error - Unable to process data due to invalid data type \nExpecting: array \nReceived: ",void 0===e?"undefined":l(e),"\nData:     ",e)},r.prototype._wipeElements=function(){this.rows.forEach(function(e){e.wipe()}),this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.wipe(),this.rows=[]},r.prototype.deleteRow=function(e,t){var n=this.rows.indexOf(e),o=this.activeRows.indexOf(e);o>-1&&this.activeRows.splice(o,1),n>-1&&this.rows.splice(n,1),this.setActiveRows(this.activeRows),this.displayRowIterator(function(t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}),t||this.reRenderInPosition(),this.table.options.rowDeleted.call(this.table,e.getComponent()),this.table.options.dataEdited.call(this.table,this.getData()),this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.groupRows.updateGroupRows(!0):this.table.options.pagination&&this.table.modExists("page")?this.refreshActiveData(!1,!1,!0):this.table.options.pagination&&this.table.modExists("page")&&this.refreshActiveData("page")},r.prototype.addRow=function(e,t,n,o){var r=this.addRowActual(e,t,n,o);return this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("rowAdd",r,{data:e,pos:t,index:n}),r},r.prototype.addRows=function(e,t,n){var o=this,r=this,i=[];return new Promise(function(a,l){t=o.findAddRowPos(t),Array.isArray(e)||(e=[e]),e.length-1,(void 0===n&&t||void 0!==n&&!t)&&e.reverse(),e.forEach(function(e,o){var a=r.addRow(e,t,n,!0);i.push(a)}),o.table.options.groupBy&&o.table.modExists("groupRows")?o.table.modules.groupRows.updateGroupRows(!0):o.table.options.pagination&&o.table.modExists("page")?o.refreshActiveData(!1,!1,!0):o.reRenderInPosition(),o.table.modExists("columnCalcs")&&o.table.modules.columnCalcs.recalc(o.table.rowManager.activeRows),a(i)})},r.prototype.findAddRowPos=function(e){return void 0===e&&(e=this.table.options.addRowPos),"pos"===e&&(e=!0),"bottom"===e&&(e=!1),e},r.prototype.addRowActual=function(e,t,n,o){var r,i=e instanceof a?e:new a(e||{},this),l=this.findAddRowPos(t);if(!n&&this.table.options.pagination&&"page"==this.table.options.paginationAddRow&&(r=this.getDisplayRows(),l?r.length?n=r[0]:this.activeRows.length&&(n=this.activeRows[this.activeRows.length-1],l=!1):r.length&&(n=r[r.length-1],l=!(r.length<this.table.modules.page.getPageSize()))),n&&(n=this.findRow(n)),this.table.options.groupBy&&this.table.modExists("groupRows")){this.table.modules.groupRows.assignRowToGroup(i);var s=i.getGroup().rows;s.length>1&&(!n||n&&-1==s.indexOf(n)?l?s[0]!==i&&(n=s[0],this._moveRowInArray(i.getGroup().rows,i,n,l)):s[s.length-1]!==i&&(n=s[s.length-1],this._moveRowInArray(i.getGroup().rows,i,n,l)):this._moveRowInArray(i.getGroup().rows,i,n,l))}if(n){var u=this.rows.indexOf(n),c=this.activeRows.indexOf(n);this.displayRowIterator(function(e){var t=e.indexOf(n);t>-1&&e.splice(l?t:t+1,0,i)}),c>-1&&this.activeRows.splice(l?c:c+1,0,i),u>-1&&this.rows.splice(l?u:u+1,0,i)}else l?(this.displayRowIterator(function(e){e.unshift(i)}),this.activeRows.unshift(i),this.rows.unshift(i)):(this.displayRowIterator(function(e){e.push(i)}),this.activeRows.push(i),this.rows.push(i));return this.setActiveRows(this.activeRows),this.table.options.rowAdded.call(this.table,i.getComponent()),this.table.options.dataEdited.call(this.table,this.getData()),o||this.reRenderInPosition(),i},r.prototype.moveRow=function(e,t,n){this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("rowMove",e,{pos:this.getRowPosition(e),to:t,after:n}),this.moveRowActual(e,t,n),this.table.options.rowMoved.call(this.table,e.getComponent())},r.prototype.moveRowActual=function(e,t,n){var o=this;if(this._moveRowInArray(this.rows,e,t,n),this._moveRowInArray(this.activeRows,e,t,n),this.displayRowIterator(function(r){o._moveRowInArray(r,e,t,n)}),this.table.options.groupBy&&this.table.modExists("groupRows")){var r=t.getGroup(),i=e.getGroup();r===i?this._moveRowInArray(r.rows,e,t,n):(i&&i.removeRow(e),r.insertRow(e,t,n))}},r.prototype._moveRowInArray=function(e,t,n,o){var r,i,a;if(t!==n&&((r=e.indexOf(t))>-1&&(e.splice(r,1),(i=e.indexOf(n))>-1?o?e.splice(i+1,0,t):e.splice(i,0,t):e.splice(r,0,t)),e===this.getDisplayRows())){a=i>r?i:r+1;for(var l=r<i?r:i;l<=a;l++)e[l]&&this.styleRow(e[l],l)}},r.prototype.clearData=function(){this.setData([])},r.prototype.getRowIndex=function(e){return this.findRowIndex(e,this.rows)},r.prototype.getDisplayRowIndex=function(e){var t=this.getDisplayRows().indexOf(e);return t>-1&&t},r.prototype.nextDisplayRow=function(e,t){var n=this.getDisplayRowIndex(e),o=!1;return!1!==n&&n<this.displayRowsCount-1&&(o=this.getDisplayRows()[n+1]),!o||o instanceof a&&"row"==o.type?o:this.nextDisplayRow(o,t)},r.prototype.prevDisplayRow=function(e,t){var n=this.getDisplayRowIndex(e),o=!1;return n&&(o=this.getDisplayRows()[n-1]),!o||o instanceof a&&"row"==o.type?o:this.prevDisplayRow(o,t)},r.prototype.findRowIndex=function(e,t){var n;return!!((e=this.findRow(e))&&(n=t.indexOf(e))>-1)&&n},r.prototype.getData=function(e,t){var n=[];return(e?this.activeRows:this.rows).forEach(function(e){n.push(e.getData(t||"data"))}),n},r.prototype.getComponents=function(e){var t=[];return(e?this.activeRows:this.rows).forEach(function(e){t.push(e.getComponent())}),t},r.prototype.getDataCount=function(e){return e?this.activeRows.length:this.rows.length},r.prototype._genRemoteRequest=function(){var e=this,t=e.table,n=t.options,o={};if(t.modExists("page")){if(n.ajaxSorting){var r=e.table.modules.sort.getSort();r.forEach(function(e){delete e.column}),o[e.table.modules.page.paginationDataSentNames.sorters]=r}if(n.ajaxFiltering){var i=e.table.modules.filter.getFilters(!0,!0);o[e.table.modules.page.paginationDataSentNames.filters]=i}e.table.modules.ajax.setParams(o,!0)}t.modules.ajax.sendRequest().then(function(t){e.setData(t)}).catch(function(e){})},r.prototype.filterRefresh=function(){var e=this.table,t=e.options,n=this.scrollLeft;t.ajaxFiltering?"remote"==t.pagination&&e.modExists("page")?(e.modules.page.reset(!0),e.modules.page.setPage(1).then(function(){}).catch(function(){})):t.ajaxProgressiveLoad?e.modules.ajax.loadData().then(function(){}).catch(function(){}):this._genRemoteRequest():this.refreshActiveData("filter"),this.scrollHorizontal(n)},r.prototype.sorterRefresh=function(e){var t=this.table,n=this.table.options,o=this.scrollLeft;n.ajaxSorting?("remote"==n.pagination||n.progressiveLoad)&&t.modExists("page")?(t.modules.page.reset(!0),t.modules.page.setPage(1).then(function(){}).catch(function(){})):n.ajaxProgressiveLoad?t.modules.ajax.loadData().then(function(){}).catch(function(){}):this._genRemoteRequest():this.refreshActiveData(e?"filter":"sort"),this.scrollHorizontal(o)},r.prototype.scrollHorizontal=function(e){this.scrollLeft=e,this.element.scrollLeft=e,this.table.options.groupBy&&this.table.modules.groupRows.scrollHeaders(e),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.scrollHorizontal(e)},r.prototype.refreshActiveData=function(e,t,n){var o,r=this.table;switch(this.table.modExists("edit")&&this.table.modules.edit.cancelEdit(),e||(e="all"),r.options.selectable&&!r.options.selectablePersistence&&r.modExists("selectRow")&&r.modules.selectRow.deselectRows(),e){case"all":case"filter":t?t=!1:r.modExists("filter")?this.setActiveRows(r.modules.filter.filter(this.rows)):this.setActiveRows(this.rows.slice(0));case"sort":t?t=!1:r.modExists("sort")&&r.modules.sort.sort(this.activeRows);case"display":this.resetDisplayRows();case"freeze":t?t=!1:this.table.modExists("frozenRows")&&r.modules.frozenRows.isFrozen()&&(r.modules.frozenRows.getDisplayIndex()||r.modules.frozenRows.setDisplayIndex(this.getNextDisplayIndex()),o=r.modules.frozenRows.getDisplayIndex(),!0!==(o=this.setDisplayRows(r.modules.frozenRows.getRows(this.getDisplayRows(o-1)),o))&&r.modules.frozenRows.setDisplayIndex(o));case"group":t?t=!1:r.options.groupBy&&r.modExists("groupRows")&&(r.modules.groupRows.getDisplayIndex()||r.modules.groupRows.setDisplayIndex(this.getNextDisplayIndex()),o=r.modules.groupRows.getDisplayIndex(),!0!==(o=this.setDisplayRows(r.modules.groupRows.getRows(this.getDisplayRows(o-1)),o))&&r.modules.groupRows.setDisplayIndex(o));case"tree":t?t=!1:r.options.dataTree&&r.modExists("dataTree")&&(r.modules.dataTree.getDisplayIndex()||r.modules.dataTree.setDisplayIndex(this.getNextDisplayIndex()),o=r.modules.dataTree.getDisplayIndex(),!0!==(o=this.setDisplayRows(r.modules.dataTree.getRows(this.getDisplayRows(o-1)),o))&&r.modules.dataTree.setDisplayIndex(o)),r.options.pagination&&r.modExists("page")&&!n&&"local"==r.modules.page.getMode()&&r.modules.page.reset();case"page":t?t=!1:r.options.pagination&&r.modExists("page")&&(r.modules.page.getDisplayIndex()||r.modules.page.setDisplayIndex(this.getNextDisplayIndex()),o=r.modules.page.getDisplayIndex(),"local"==r.modules.page.getMode()&&r.modules.page.setMaxRows(this.getDisplayRows(o-1).length),!0!==(o=this.setDisplayRows(r.modules.page.getRows(this.getDisplayRows(o-1)),o))&&r.modules.page.setDisplayIndex(o))}d.prototype.helpers.elVisible(this.element)&&(n?this.reRenderInPosition():(this.renderTable(),r.options.layoutColumnsOnNewData&&this.table.columnManager.redraw(!0))),r.modExists("columnCalcs")&&r.modules.columnCalcs.recalc(this.activeRows)},r.prototype.setActiveRows=function(e){this.activeRows=e,this.activeRowsCount=this.activeRows.length},r.prototype.resetDisplayRows=function(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length,this.table.modExists("frozenRows")&&this.table.modules.frozenRows.setDisplayIndex(0),this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.setDisplayIndex(0),this.table.options.pagination&&this.table.modExists("page")&&this.table.modules.page.setDisplayIndex(0)},r.prototype.getNextDisplayIndex=function(){return this.displayRows.length},r.prototype.setDisplayRows=function(e,t){var n=!0;return t&&void 0!==this.displayRows[t]?(this.displayRows[t]=e,n=!0):(this.displayRows.push(e),n=t=this.displayRows.length-1),t==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length),n},r.prototype.getDisplayRows=function(e){return void 0===e?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]},r.prototype.getVisibleRows=function(e){var t=this.element.scrollTop,n=this.element.clientHeight+t,o=!1,r=0,i=0,a=this.getDisplayRows();if(e){this.getDisplayRows();for(var l=this.vDomTop;l<=this.vDomBottom;l++)if(a[l])if(o){if(!(n-a[l].getElement().offsetTop>=0))break;i=l}else t-a[l].getElement().offsetTop>=0?r=l:o=!0}else r=this.vDomTop,i=this.vDomBottom;return a.slice(r,i+1)},r.prototype.displayRowIterator=function(e){this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length},r.prototype.getRows=function(){return this.rows},r.prototype.reRenderInPosition=function(e){if("virtual"==this.getRenderMode()){for(var t=this.element.scrollTop,n=!1,o=!1,r=this.scrollLeft,i=this.getDisplayRows(),a=this.vDomTop;a<=this.vDomBottom;a++)if(i[a]){var l=t-i[a].getElement().offsetTop;if(!(!1===o||Math.abs(l)<o))break;o=l,n=a}e&&e(),this._virtualRenderFill(!1===n?this.displayRowsCount-1:n,!0,o||0),this.scrollHorizontal(r)}else this.renderTable(),e&&e()},r.prototype.setRenderMode=function(){(this.table.element.clientHeight||this.table.options.height)&&this.table.options.virtualDom?this.renderMode="virtual":this.renderMode="classic"},r.prototype.getRenderMode=function(){return this.renderMode},r.prototype.renderTable=function(){switch(this.table.options.renderStarted.call(this.table),this.element.scrollTop=0,this.renderMode){case"classic":this._simpleRender();break;case"virtual":this._virtualRenderFill()}this.firstRender&&(this.displayRowsCount?(this.firstRender=!1,this.table.modules.layout.layout()):this.renderEmptyScroll()),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout(),this.displayRowsCount||this.table.options.placeholder&&(this.renderMode&&this.table.options.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.table.options.placeholder)),this.table.options.renderComplete.call(this.table)},r.prototype._simpleRender=function(){this._clearVirtualDom(),this.displayRowsCount?this.checkClassicModeGroupHeaderWidth():this.renderEmptyScroll()},r.prototype.checkClassicModeGroupHeaderWidth=function(){var e=this,t=this.tableElement,n=!0;e.getDisplayRows().forEach(function(o,r){e.styleRow(o,r),t.appendChild(o.getElement()),o.initialize(!0),"group"!==o.type&&(n=!1)}),t.style.minWidth=n?e.table.columnManager.getWidth()+"px":""},r.prototype.renderEmptyScroll=function(){this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px",this.tableElement.style.minHeight="1px",this.tableElement.style.visibility="hidden"},r.prototype._clearVirtualDom=function(){var e=this.tableElement;for(this.table.options.placeholder&&this.table.options.placeholder.parentNode&&this.table.options.placeholder.parentNode.removeChild(this.table.options.placeholder);e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minWidth="",e.style.minHeight="",e.style.visibility="",this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0},r.prototype.styleRow=function(e,t){var n=e.getElement();t%2?(n.classList.add("tabulator-row-even"),n.classList.remove("tabulator-row-odd")):(n.classList.add("tabulator-row-odd"),n.classList.remove("tabulator-row-even"))},r.prototype._virtualRenderFill=function(e,t,n){var o=this.tableElement,r=this.element,i=0,a=0,l=0,s=0,u=!0,c=this.getDisplayRows();if(n=n||0,e=e||0){for(;o.firstChild;)o.removeChild(o.firstChild);var p=(this.displayRowsCount-e+1)*this.vDomRowHeight;p<this.height&&(e-=Math.ceil((this.height-p)/this.vDomRowHeight))<0&&(e=0),e-=i=Math.min(Math.max(Math.floor(this.vDomWindowBuffer/this.vDomRowHeight),this.vDomWindowMinMarginRows),e)}else this._clearVirtualDom();if(this.displayRowsCount&&d.prototype.helpers.elVisible(this.element)){for(this.vDomTop=e,this.vDomBottom=e-1;(a<=this.height+this.vDomWindowBuffer||s<this.vDomWindowMinTotalRows)&&this.vDomBottom<this.displayRowsCount-1;){var f,m=this.vDomBottom+1,h=c[m];this.styleRow(h,m),o.appendChild(h.getElement()),h.initialized?h.heightInitialized||h.normalizeHeight(!0):h.initialize(!0),f=h.getHeight(),s<i?l+=f:a+=f,f>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*f),"group"!==h.type&&(u=!1),this.vDomBottom++,s++}e?(this.vDomTopPad=t?this.vDomRowHeight*this.vDomTop+n:this.scrollTop-l,this.vDomBottomPad=this.vDomBottom==this.displayRowsCount-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-a-l,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((a+l)/s),this.vDomBottomPad=this.vDomRowHeight*(this.displayRowsCount-this.vDomBottom-1),this.vDomScrollHeight=l+a+this.vDomBottomPad-this.height),o.style.paddingTop=this.vDomTopPad+"px",o.style.paddingBottom=this.vDomBottomPad+"px",t&&(this.scrollTop=this.vDomTopPad+l+n-(this.element.scrollWidth>this.element.clientWidth?this.element.offsetHeight-this.element.clientHeight:0)),this.scrollTop=Math.min(this.scrollTop,this.element.scrollHeight-this.height),this.element.scrollWidth>this.element.offsetWidth&&t&&(this.scrollTop+=this.element.offsetHeight-this.element.clientHeight),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,r.scrollTop=this.scrollTop,o.style.minWidth=u?this.table.columnManager.getWidth()+"px":"",this.table.options.groupBy&&"fitDataFill"!=this.table.modules.layout.getMode()&&this.displayRowsCount==this.table.modules.groupRows.countGroups()&&(this.tableElement.style.minWidth=this.table.columnManager.getWidth())}else this.renderEmptyScroll()},r.prototype.scrollVertical=function(e){var t=this.scrollTop-this.vDomScrollPosTop,n=this.scrollTop-this.vDomScrollPosBottom,o=2*this.vDomWindowBuffer;if(-t>o||n>o){var r=this.scrollLeft;this._virtualRenderFill(Math.floor(this.element.scrollTop/this.element.scrollHeight*this.displayRowsCount)),this.scrollHorizontal(r)}else e?(t<0&&this._addTopRow(-t),n<0&&this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer&&this._removeBottomRow(-n)):(t>=0&&this.scrollTop>this.vDomWindowBuffer&&this._removeTopRow(t),n>=0&&this._addBottomRow(n))},r.prototype._addTopRow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.tableElement,o=this.getDisplayRows();if(this.vDomTop){var r=this.vDomTop-1,i=o[r],a=i.getHeight()||this.vDomRowHeight;e>=a&&(this.styleRow(i,r),n.insertBefore(i.getElement(),n.firstChild),i.initialized&&i.heightInitialized||(this.vDomTopNewRows.push(i),i.heightInitialized||i.clearCellHeight()),i.initialize(),this.vDomTopPad-=a,this.vDomTopPad<0&&(this.vDomTopPad=r*this.vDomRowHeight),r||(this.vDomTopPad=0),n.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=a,this.vDomTop--),e=-(this.scrollTop-this.vDomScrollPosTop),i.getHeight()>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*i.getHeight()),t<this.vDomMaxRenderChain&&this.vDomTop&&e>=(o[this.vDomTop-1].getHeight()||this.vDomRowHeight)?this._addTopRow(e,t+1):this._quickNormalizeRowHeight(this.vDomTopNewRows)}},r.prototype._removeTopRow=function(e){var t=this.tableElement,n=this.getDisplayRows()[this.vDomTop],o=n.getHeight()||this.vDomRowHeight;if(e>=o){var r=n.getElement();r.parentNode.removeChild(r),this.vDomTopPad+=o,t.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?o:o+this.vDomWindowBuffer,this.vDomTop++,e=this.scrollTop-this.vDomScrollPosTop,this._removeTopRow(e)}},r.prototype._addBottomRow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.tableElement,o=this.getDisplayRows();if(this.vDomBottom<this.displayRowsCount-1){var r=this.vDomBottom+1,i=o[r],a=i.getHeight()||this.vDomRowHeight;e>=a&&(this.styleRow(i,r),n.appendChild(i.getElement()),i.initialized&&i.heightInitialized||(this.vDomBottomNewRows.push(i),i.heightInitialized||i.clearCellHeight()),i.initialize(),this.vDomBottomPad-=a,(this.vDomBottomPad<0||r==this.displayRowsCount-1)&&(this.vDomBottomPad=0),n.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=a,this.vDomBottom++),e=this.scrollTop-this.vDomScrollPosBottom,i.getHeight()>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*i.getHeight()),t<this.vDomMaxRenderChain&&this.vDomBottom<this.displayRowsCount-1&&e>=(o[this.vDomBottom+1].getHeight()||this.vDomRowHeight)?this._addBottomRow(e,t+1):this._quickNormalizeRowHeight(this.vDomBottomNewRows)}},r.prototype._removeBottomRow=function(e){var t=this.tableElement,n=this.getDisplayRows()[this.vDomBottom],o=n.getHeight()||this.vDomRowHeight;if(e>=o){var r=n.getElement();r.parentNode&&r.parentNode.removeChild(r),this.vDomBottomPad+=o,this.vDomBottomPad<0&&(this.vDomBottomPad=0),t.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=o,this.vDomBottom--,e=-(this.scrollTop-this.vDomScrollPosBottom),this._removeBottomRow(e)}},r.prototype._quickNormalizeRowHeight=function(e){e.forEach(function(e){e.calcHeight()}),e.forEach(function(e){e.setCellHeight()}),e.length=0},r.prototype.normalizeHeight=function(){this.activeRows.forEach(function(e){e.normalizeHeight()})},r.prototype.adjustTableSize=function(){if("virtual"===this.renderMode){this.height=this.element.clientHeight,this.vDomWindowBuffer=this.table.options.virtualDomBuffer||this.height;var e=this.columnManager.getElement().offsetHeight+(this.table.footerManager&&!this.table.footerManager.external?this.table.footerManager.getElement().offsetHeight:0);this.element.style.minHeight="calc(100% - "+e+"px)",this.element.style.height="calc(100% - "+e+"px)",this.element.style.maxHeight="calc(100% - "+e+"px)"}},r.prototype.reinitialize=function(){this.rows.forEach(function(e){e.reinitialize()})},r.prototype.redraw=function(e){var t=this.scrollLeft;this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():("classic"==self.renderMode?self.table.options.groupBy?self.refreshActiveData("group",!1,!1):this._simpleRender():(this.reRenderInPosition(),this.scrollHorizontal(t)),this.displayRowsCount||this.table.options.placeholder&&this.getElement().appendChild(this.table.options.placeholder))},r.prototype.resetScroll=function(){if(this.element.scrollLeft=0,this.element.scrollTop=0,"ie"===this.table.browser){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))};var i=function(e){this._row=e};i.prototype.getData=function(e){return this._row.getData(e)},i.prototype.getElement=function(){return this._row.getElement()},i.prototype.getCells=function(){var e=[];return this._row.getCells().forEach(function(t){e.push(t.getComponent())}),e},i.prototype.getCell=function(e){var t=this._row.getCell(e);return!!t&&t.getComponent()},i.prototype.getIndex=function(){return this._row.getData("data")[this._row.table.options.index]},i.prototype.getPosition=function(e){return this._row.table.rowManager.getRowPosition(this._row,e)},i.prototype.delete=function(){return this._row.delete()},i.prototype.scrollTo=function(){return this._row.table.rowManager.scrollToRow(this._row)},i.prototype.pageTo=function(){if(this._row.table.modExists("page",!0))return this._row.table.modules.page.setPageToRow(this._row)},i.prototype.move=function(e,t){this._row.moveToRow(e,t)},i.prototype.update=function(e){return this._row.updateData(e)},i.prototype.normalizeHeight=function(){this._row.normalizeHeight(!0)},i.prototype.select=function(){this._row.table.modules.selectRow.selectRows(this._row)},i.prototype.deselect=function(){this._row.table.modules.selectRow.deselectRows(this._row)},i.prototype.toggleSelect=function(){this._row.table.modules.selectRow.toggleRow(this._row)},i.prototype.isSelected=function(){return this._row.table.modules.selectRow.isRowSelected(this._row)},i.prototype._getSelf=function(){return this._row},i.prototype.freeze=function(){this._row.table.modExists("frozenRows",!0)&&this._row.table.modules.frozenRows.freezeRow(this._row)},i.prototype.unfreeze=function(){this._row.table.modExists("frozenRows",!0)&&this._row.table.modules.frozenRows.unfreezeRow(this._row)},i.prototype.treeCollapse=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.collapseRow(this._row)},i.prototype.treeExpand=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.expandRow(this._row)},i.prototype.treeToggle=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.toggleRow(this._row)},i.prototype.getTreeParent=function(){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.getTreeParent(this._row)},i.prototype.getTreeChildren=function(){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.getTreeChildren(this._row)},i.prototype.reformat=function(){return this._row.reinitialize()},i.prototype.getGroup=function(){return this._row.getGroup().getComponent()},i.prototype.getTable=function(){return this._row.table},i.prototype.getNextRow=function(){var e=this._row.nextRow();return e?e.getComponent():e},i.prototype.getPrevRow=function(){var e=this._row.prevRow();return e?e.getComponent():e};var a=function(e,t){this.table=t.table,this.parent=t,this.data={},this.type="row",this.element=this.createElement(),this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.setData(e),this.generateElement()};a.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.setAttribute("role","row"),e},a.prototype.getElement=function(){return this.element},a.prototype.detachElement=function(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)},a.prototype.generateElement=function(){var e,t,n,o=this;!1!==o.table.options.selectable&&o.table.modExists("selectRow")&&o.table.modules.selectRow.initializeRow(this),!1!==o.table.options.movableRows&&o.table.modExists("moveRow")&&o.table.modules.moveRow.initializeRow(this),!1!==o.table.options.dataTree&&o.table.modExists("dataTree")&&o.table.modules.dataTree.initializeRow(this),o.table.options.rowClick&&o.element.addEventListener("click",function(e){o.table.options.rowClick(e,o.getComponent())}),o.table.options.rowDblClick&&o.element.addEventListener("dblclick",function(e){o.table.options.rowDblClick(e,o.getComponent())}),o.table.options.rowContext&&o.element.addEventListener("contextmenu",function(e){o.table.options.rowContext(e,o.getComponent())}),o.table.options.rowMouseEnter&&o.element.addEventListener("mouseenter",function(e){o.table.options.rowMouseEnter(e,o.getComponent())}),o.table.options.rowMouseLeave&&o.element.addEventListener("mouseleave",function(e){o.table.options.rowMouseLeave(e,o.getComponent())}),o.table.options.rowMouseOver&&o.element.addEventListener("mouseover",function(e){o.table.options.rowMouseOver(e,o.getComponent())}),o.table.options.rowMouseOut&&o.element.addEventListener("mouseout",function(e){o.table.options.rowMouseOut(e,o.getComponent())}),o.table.options.rowMouseMove&&o.element.addEventListener("mousemove",function(e){o.table.options.rowMouseMove(e,o.getComponent())}),o.table.options.rowTap&&(n=!1,o.element.addEventListener("touchstart",function(e){n=!0},{passive:!0}),o.element.addEventListener("touchend",function(e){n&&o.table.options.rowTap(e,o.getComponent()),n=!1})),o.table.options.rowDblTap&&(e=null,o.element.addEventListener("touchend",function(t){e?(clearTimeout(e),e=null,o.table.options.rowDblTap(t,o.getComponent())):e=setTimeout(function(){clearTimeout(e),e=null},300)})),o.table.options.rowTapHold&&(t=null,o.element.addEventListener("touchstart",function(e){clearTimeout(t),t=setTimeout(function(){clearTimeout(t),t=null,n=!1,o.table.options.rowTapHold(e,o.getComponent())},1e3)},{passive:!0}),o.element.addEventListener("touchend",function(e){clearTimeout(t),t=null}))},a.prototype.generateCells=function(){this.cells=this.table.columnManager.generateCells(this)},a.prototype.initialize=function(e){var t=this;if(!t.initialized||e){for(t.deleteCells();t.element.firstChild;)t.element.removeChild(t.element.firstChild);this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layoutRow(this),this.generateCells(),t.cells.forEach(function(e){t.element.appendChild(e.getElement()),e.cellRendered()}),e&&t.normalizeHeight(),t.table.options.dataTree&&t.table.modExists("dataTree")&&t.table.modules.dataTree.layoutRow(this),"collapse"===t.table.options.responsiveLayout&&t.table.modExists("responsiveLayout")&&t.table.modules.responsiveLayout.layoutRow(this),t.table.options.rowFormatter&&t.table.options.rowFormatter(t.getComponent()),t.table.options.resizableRows&&t.table.modExists("resizeRows")&&t.table.modules.resizeRows.initializeRow(t),t.initialized=!0}},a.prototype.reinitializeHeight=function(){this.heightInitialized=!1,null!==this.element.offsetParent&&this.normalizeHeight(!0)},a.prototype.reinitialize=function(){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),null!==this.element.offsetParent&&this.initialize(!0)},a.prototype.calcHeight=function(e){var t=0,n=this.table.options.resizableRows?this.element.clientHeight:0;this.cells.forEach(function(e){var n=e.getHeight();n>t&&(t=n)}),this.height=e?Math.max(t,n):this.manualHeight?this.height:Math.max(t,n),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight},a.prototype.setCellHeight=function(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0},a.prototype.clearCellHeight=function(){this.cells.forEach(function(e){e.clearHeight()})},a.prototype.normalizeHeight=function(e){e&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()},a.prototype.setHeight=function(e,t){(this.height!=e||t)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)},a.prototype.getHeight=function(){return this.outerHeight},a.prototype.getWidth=function(){return this.element.offsetWidth},a.prototype.deleteCell=function(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)},a.prototype.setData=function(e){this.table.modExists("mutator")&&(e=this.table.modules.mutator.transformRow(e,"data")),this.data=e,this.table.options.reactiveData&&this.table.modExists("reactiveData",!0)&&this.table.modules.reactiveData.watchRow(this)},a.prototype.updateData=function(e){var t=this,n=this,o=d.prototype.helpers.elVisible(this.element);return new Promise(function(r,i){for(var a in"string"==typeof e&&(e=JSON.parse(e)),t.table.options.reactiveData&&t.table.modExists("reactiveData",!0)&&t.table.modules.reactiveData.block(),n.table.modExists("mutator")&&(e=n.table.modules.mutator.transformRow(e,"data",!0)),e)n.data[a]=e[a];for(var a in t.table.options.reactiveData&&t.table.modExists("reactiveData",!0)&&t.table.modules.reactiveData.unblock(),e){var l=t.getCell(a);l&&l.getValue()!=e[a]&&(l.setValueProcessData(e[a]),o&&l.cellRendered())}o?(n.normalizeHeight(),n.table.options.rowFormatter&&n.table.options.rowFormatter(n.getComponent())):(t.initialized=!1,t.height=0,t.heightStyled=""),!1!==n.table.options.dataTree&&n.table.modExists("dataTree")&&void 0!==e[t.table.modules.dataTree.getChildField()]&&(t.table.modules.dataTree.initializeRow(t),t.table.rowManager.refreshActiveData("tree",!1,!0)),n.table.options.rowUpdated.call(t.table,n.getComponent()),r()})},a.prototype.getData=function(e){return e?this.table.modExists("accessor")?this.table.modules.accessor.transformRow(this.data,e):void 0:this.data},a.prototype.getCell=function(e){return e=this.table.columnManager.findColumn(e),this.cells.find(function(t){return t.column===e})},a.prototype.getCellIndex=function(e){return this.cells.findIndex(function(t){return t===e})},a.prototype.findNextEditableCell=function(e){var t=!1;if(e<this.cells.length-1)for(var n=e+1;n<this.cells.length;n++){var o=this.cells[n];if(o.column.modules.edit&&d.prototype.helpers.elVisible(o.getElement())){var r=!0;if("function"==typeof o.column.modules.edit.check&&(r=o.column.modules.edit.check(o.getComponent())),r){t=o;break}}}return t},a.prototype.findPrevEditableCell=function(e){var t=!1;if(e>0)for(var n=e-1;n>=0;n--){var o=this.cells[n],r=!0;if(o.column.modules.edit&&d.prototype.helpers.elVisible(o.getElement())&&("function"==typeof o.column.modules.edit.check&&(r=o.column.modules.edit.check(o.getComponent())),r)){t=o;break}}return t},a.prototype.getCells=function(){return this.cells},a.prototype.nextRow=function(){return this.table.rowManager.nextDisplayRow(this,!0)||!1},a.prototype.prevRow=function(){return this.table.rowManager.prevDisplayRow(this,!0)||!1},a.prototype.moveToRow=function(e,t){var n=this.table.rowManager.findRow(e);n?(this.table.rowManager.moveRowActual(this,n,!t),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)},a.prototype.delete=function(){var e=this;return new Promise(function(t,n){var o=e.table.rowManager.getRowIndex(e);e.deleteActual(),e.table.options.history&&e.table.modExists("history")&&(o&&(o=e.table.rowManager.rows[o-1]),e.table.modules.history.action("rowDelete",e,{data:e.getData(),pos:!o,index:o})),t()})},a.prototype.deleteActual=function(e){this.table.rowManager.getRowIndex(this);this.table.modExists("selectRow")&&this.table.modules.selectRow._deselectRow(this,!0),this.table.options.reactiveData&&this.table.modExists("reactiveData",!0),this.modules.group&&this.modules.group.removeRow(this),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.table.modExists("columnCalcs")&&(this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.columnCalcs.recalcRowGroup(this):this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows))},a.prototype.deleteCells=function(){for(var e=this.cells.length,t=0;t<e;t++)this.cells[0].delete()},a.prototype.wipe=function(){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element=!1,this.modules={},this.element.parentNode&&this.element.parentNode.removeChild(this.element)},a.prototype.getGroup=function(){return this.modules.group||!1},a.prototype.getComponent=function(){return new i(this)};var s=function(e){this._cell=e};s.prototype.getValue=function(){return this._cell.getValue()},s.prototype.getOldValue=function(){return this._cell.getOldValue()},s.prototype.getElement=function(){return this._cell.getElement()},s.prototype.getRow=function(){return this._cell.row.getComponent()},s.prototype.getData=function(){return this._cell.row.getData()},s.prototype.getField=function(){return this._cell.column.getField()},s.prototype.getColumn=function(){return this._cell.column.getComponent()},s.prototype.setValue=function(e,t){void 0===t&&(t=!0),this._cell.setValue(e,t)},s.prototype.restoreOldValue=function(){this._cell.setValueActual(this._cell.getOldValue())},s.prototype.edit=function(e){return this._cell.edit(e)},s.prototype.cancelEdit=function(){this._cell.cancelEdit()},s.prototype.nav=function(){return this._cell.nav()},s.prototype.checkHeight=function(){this._cell.checkHeight()},s.prototype.getTable=function(){return this._cell.table},s.prototype._getSelf=function(){return this._cell};var u=function(e,t){this.table=e.table,this.column=e,this.row=t,this.element=null,this.value=null,this.oldValue=null,this.height=null,this.width=null,this.minWidth=null,this.build()};u.prototype.build=function(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data))},u.prototype.generateElement=function(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell"),this.element=this.element},u.prototype._configureCell=function(){var e=this,t=e.column.cellEvents,n=e.element,o=this.column.getField();(n.style.textAlign=e.column.hozAlign,o&&n.setAttribute("tabulator-field",o),e.column.definition.cssClass)&&e.column.definition.cssClass.split(" ").forEach(function(e){n.classList.add(e)});"hover"===this.table.options.tooltipGenerationMode&&n.addEventListener("mouseenter",function(t){e._generateTooltip()}),e._bindClickEvents(t),e._bindTouchEvents(t),e._bindMouseEvents(t),e.column.modules.edit&&e.table.modules.edit.bindEditor(e),e.column.definition.rowHandle&&!1!==e.table.options.movableRows&&e.table.modExists("moveRow")&&e.table.modules.moveRow.initializeCell(e),e.column.visible||e.hide()},u.prototype._bindClickEvents=function(e){var t=this,n=t.element;(e.cellClick||t.table.options.cellClick)&&n.addEventListener("click",function(n){var o=t.getComponent();e.cellClick&&e.cellClick.call(t.table,n,o),t.table.options.cellClick&&t.table.options.cellClick.call(t.table,n,o)}),e.cellDblClick||this.table.options.cellDblClick?n.addEventListener("dblclick",function(n){var o=t.getComponent();e.cellDblClick&&e.cellDblClick.call(t.table,n,o),t.table.options.cellDblClick&&t.table.options.cellDblClick.call(t.table,n,o)}):n.addEventListener("dblclick",function(e){if(e.preventDefault(),document.selection)(n=document.body.createTextRange()).moveToElementText(t.element),n.select();else if(window.getSelection){var n;(n=document.createRange()).selectNode(t.element),window.getSelection().removeAllRanges(),window.getSelection().addRange(n)}}),(e.cellContext||this.table.options.cellContext)&&n.addEventListener("contextmenu",function(n){var o=t.getComponent();e.cellContext&&e.cellContext.call(t.table,n,o),t.table.options.cellContext&&t.table.options.cellContext.call(t.table,n,o)})},u.prototype._bindMouseEvents=function(e){var t=this,n=t.element;(e.cellMouseEnter||t.table.options.cellMouseEnter)&&n.addEventListener("mouseenter",function(n){var o=t.getComponent();e.cellMouseEnter&&e.cellMouseEnter.call(t.table,n,o),t.table.options.cellMouseEnter&&t.table.options.cellMouseEnter.call(t.table,n,o)}),(e.cellMouseLeave||t.table.options.cellMouseLeave)&&n.addEventListener("mouseleave",function(n){var o=t.getComponent();e.cellMouseLeave&&e.cellMouseLeave.call(t.table,n,o),t.table.options.cellMouseLeave&&t.table.options.cellMouseLeave.call(t.table,n,o)}),(e.cellMouseOver||t.table.options.cellMouseOver)&&n.addEventListener("mouseover",function(n){var o=t.getComponent();e.cellMouseOver&&e.cellMouseOver.call(t.table,n,o),t.table.options.cellMouseOver&&t.table.options.cellMouseOver.call(t.table,n,o)}),(e.cellMouseOut||t.table.options.cellMouseOut)&&n.addEventListener("mouseout",function(n){var o=t.getComponent();e.cellMouseOut&&e.cellMouseOut.call(t.table,n,o),t.table.options.cellMouseOut&&t.table.options.cellMouseOut.call(t.table,n,o)}),(e.cellMouseMove||t.table.options.cellMouseMove)&&n.addEventListener("mousemove",function(n){var o=t.getComponent();e.cellMouseMove&&e.cellMouseMove.call(t.table,n,o),t.table.options.cellMouseMove&&t.table.options.cellMouseMove.call(t.table,n,o)})},u.prototype._bindTouchEvents=function(e){var t,n,o,r=this,i=r.element;(e.cellTap||this.table.options.cellTap)&&(o=!1,i.addEventListener("touchstart",function(e){o=!0},{passive:!0}),i.addEventListener("touchend",function(t){if(o){var n=r.getComponent();e.cellTap&&e.cellTap.call(r.table,t,n),r.table.options.cellTap&&r.table.options.cellTap.call(r.table,t,n)}o=!1})),(e.cellDblTap||this.table.options.cellDblTap)&&(t=null,i.addEventListener("touchend",function(n){if(t){clearTimeout(t),t=null;var o=r.getComponent();e.cellDblTap&&e.cellDblTap.call(r.table,n,o),r.table.options.cellDblTap&&r.table.options.cellDblTap.call(r.table,n,o)}else t=setTimeout(function(){clearTimeout(t),t=null},300)})),(e.cellTapHold||this.table.options.cellTapHold)&&(n=null,i.addEventListener("touchstart",function(t){clearTimeout(n),n=setTimeout(function(){clearTimeout(n),n=null,o=!1;var i=r.getComponent();e.cellTapHold&&e.cellTapHold.call(r.table,t,i),r.table.options.cellTapHold&&r.table.options.cellTapHold.call(r.table,t,i)},1e3)},{passive:!0}),i.addEventListener("touchend",function(e){clearTimeout(n),n=null}))},u.prototype._generateContents=function(){var e;switch(void 0===(e=this.table.modExists("format")?this.table.modules.format.formatValue(this):this.element.innerHTML=this.value)?"undefined":l(e)){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",null!=e&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":case"null":this.element.innerHTML="";break;default:this.element.innerHTML=e}},u.prototype.cellRendered=function(){this.table.modExists("format")&&this.table.modules.format.cellRendered&&this.table.modules.format.cellRendered(this)},u.prototype._generateTooltip=function(){var e=this.column.tooltip;e?(!0===e?e=this.value:"function"==typeof e&&!1===(e=e(this.getComponent()))&&(e=""),void 0===e&&(e=""),this.element.setAttribute("title",e)):this.element.setAttribute("title","")},u.prototype.getElement=function(){return this.element},u.prototype.getValue=function(){return this.value},u.prototype.getOldValue=function(){return this.oldValue},u.prototype.setValue=function(e,t){var n;this.setValueProcessData(e,t)&&(this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("cellEdit",this,{oldValue:this.oldValue,newValue:this.value}),n=this.getComponent(),this.column.cellEvents.cellEdited&&this.column.cellEvents.cellEdited.call(this.table,n),this.table.options.cellEdited.call(this.table,n),this.table.options.dataEdited.call(this.table,this.table.rowManager.getData()))},u.prototype.setValueProcessData=function(e,t){var n=!1;return this.value!=e&&(n=!0,t&&this.column.modules.mutate&&(e=this.table.modules.mutator.transformCell(this,e))),this.setValueActual(e),n&&this.table.modExists("columnCalcs")&&(this.column.definition.topCalc||this.column.definition.bottomCalc)&&(this.table.options.groupBy&&this.table.modExists("groupRows")?("table"!=this.table.options.columnCalcs&&"both"!=this.table.options.columnCalcs||this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),"table"!=this.table.options.columnCalcs&&this.table.modules.columnCalcs.recalcRowGroup(this.row)):this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows)),n},u.prototype.setValueActual=function(e){this.oldValue=this.value,this.value=e,this.table.options.reactiveData&&this.table.modExists("reactiveData")&&this.table.modules.reactiveData.block(),this.column.setFieldValue(this.row.data,e),this.table.options.reactiveData&&this.table.modExists("reactiveData")&&this.table.modules.reactiveData.unblock(),this._generateContents(),this._generateTooltip(),this.table.options.resizableColumns&&this.table.modExists("resizeColumns")&&this.table.modules.resizeColumns.initializeColumn("cell",this.column,this.element),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layoutElement(this.element,this.column)},u.prototype.setWidth=function(){this.width=this.column.width,this.element.style.width=this.column.widthStyled},u.prototype.clearWidth=function(){this.width="",this.element.style.width=""},u.prototype.getWidth=function(){return this.width||this.element.offsetWidth},u.prototype.setMinWidth=function(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled},u.prototype.checkHeight=function(){this.row.reinitializeHeight()},u.prototype.clearHeight=function(){this.element.style.height="",this.height=null},u.prototype.setHeight=function(){this.height=this.row.height,this.element.style.height=this.row.heightStyled},u.prototype.getHeight=function(){return this.height||this.element.offsetHeight},u.prototype.show=function(){this.element.style.display=""},u.prototype.hide=function(){this.element.style.display="none"},u.prototype.edit=function(e){if(this.table.modExists("edit",!0))return this.table.modules.edit.editCell(this,e)},u.prototype.cancelEdit=function(){if(this.table.modExists("edit",!0)){var e=this.table.modules.edit.getCurrentCell();e&&e._getSelf()===this?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}},u.prototype.delete=function(){this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}},u.prototype.nav=function(){var e=this,t=!1,n=this.row.getCellIndex(this);return{next:function(){var t,n=this.right();return!!n||!(!(t=e.table.rowManager.nextDisplayRow(e.row,!0))||!(n=t.findNextEditableCell(-1)))&&(n.edit(),!0)},prev:function(){var t,n=this.left();return!!n||!(!(t=e.table.rowManager.prevDisplayRow(e.row,!0))||!(n=t.findPrevEditableCell(t.cells.length)))&&(n.edit(),!0)},left:function(){return!!(t=e.row.findPrevEditableCell(n))&&(t.edit(),!0)},right:function(){return!!(t=e.row.findNextEditableCell(n))&&(t.edit(),!0)},up:function(){var t=e.table.rowManager.prevDisplayRow(e.row,!0);t&&t.cells[n].edit()},down:function(){var t=e.table.rowManager.nextDisplayRow(e.row,!0);t&&t.cells[n].edit()}}},u.prototype.getIndex=function(){this.row.getCellIndex(this)},u.prototype.getComponent=function(){return new s(this)};var c=function(e){this.table=e,this.active=!1,this.element=this.createElement(),this.external=!1,this.links=[],this._initialize()};c.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e},c.prototype._initialize=function(e){if(this.table.options.footerElement)switch(l(this.table.options.footerElement)){case"string":"<"===this.table.options.footerElement[0]?this.element.innerHTML=this.table.options.footerElement:(this.external=!0,this.element=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement}},c.prototype.getElement=function(){return this.element},c.prototype.append=function(e,t){this.activate(t),this.element.appendChild(e),this.table.rowManager.adjustTableSize()},c.prototype.prepend=function(e,t){this.activate(t),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()},c.prototype.remove=function(e){e.parentNode.removeChild(e),this.deactivate()},c.prototype.deactivate=function(e){this.element.firstChild&&!e||(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)},c.prototype.activate=function(e){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display="")),e&&this.links.push(e)},c.prototype.redraw=function(){this.links.forEach(function(e){e.footerRedraw()})};var d=function e(t,n){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.browser="",this.browserSlow=!1,this.modules={},this.initializeElement(t),this.initializeOptions(n||{}),this._create(),e.prototype.comms.register(this)};d.prototype.defaultOptions={height:!1,layout:"fitData",layoutColumnsOnNewData:!1,columnMinWidth:40,columnVertAlign:"top",resizableColumns:!0,resizableRows:!1,autoResize:!0,columns:[],data:[],autoColumns:!1,reactiveData:!1,nestedFieldSeparator:".",tooltips:!1,tooltipsHeader:!1,tooltipGenerationMode:"load",initialSort:!1,initialFilter:!1,initialHeaderFilter:!1,columnHeaderSortMulti:!0,sortOrderReverse:!1,footerElement:!1,index:"id",keybindings:[],clipboard:!1,clipboardCopyStyled:!0,clipboardCopySelector:"active",clipboardCopyFormatter:"table",clipboardPasteParser:"table",clipboardPasteAction:"insert",clipboardCopyConfig:!1,clipboardCopied:function(){},clipboardPasted:function(){},clipboardPasteError:function(){},downloadDataFormatter:!1,downloadReady:function(e,t){return t},downloadComplete:!1,downloadConfig:!1,dataTree:!1,dataTreeElementColumn:!1,dataTreeBranchElement:!0,dataTreeChildIndent:9,dataTreeChildField:"_children",dataTreeCollapseElement:!1,dataTreeExpandElement:!1,dataTreeStartExpanded:!1,dataTreeRowExpanded:function(){},dataTreeRowCollapsed:function(){},printAsHtml:!1,printFormatter:!1,printHeader:!1,printFooter:!1,printCopyStyle:!0,printVisibleRows:!0,printConfig:{},addRowPos:"bottom",selectable:"highlight",selectableRangeMode:"drag",selectableRollingSelection:!0,selectablePersistence:!0,selectableCheck:function(e,t){return!0},headerFilterPlaceholder:!1,headerVisible:!0,history:!1,locale:!1,langs:{},virtualDom:!0,virtualDomBuffer:0,persistentLayout:!1,persistentSort:!1,persistentFilter:!1,persistenceID:"",persistenceMode:!0,responsiveLayout:!1,responsiveLayoutCollapseStartOpen:!0,responsiveLayoutCollapseUseFormatters:!0,responsiveLayoutCollapseFormatter:!1,pagination:!1,paginationSize:!1,paginationButtonCount:5,paginationSizeSelector:!1,paginationElement:!1,paginationDataSent:{},paginationDataReceived:{},paginationAddRow:"page",ajaxURL:!1,ajaxURLGenerator:!1,ajaxParams:{},ajaxConfig:"get",ajaxContentType:"form",ajaxRequestFunc:!1,ajaxLoader:!0,ajaxLoaderLoading:!1,ajaxLoaderError:!1,ajaxFiltering:!1,ajaxSorting:!1,ajaxProgressiveLoad:!1,ajaxProgressiveLoadDelay:0,ajaxProgressiveLoadScrollMargin:0,groupBy:!1,groupStartOpen:!0,groupValues:!1,groupHeader:!1,htmlOutputConfig:!1,movableColumns:!1,movableRows:!1,movableRowsConnectedTables:!1,movableRowsSender:!1,movableRowsReceiver:"insert",movableRowsSendingStart:function(){},movableRowsSent:function(){},movableRowsSentFailed:function(){},movableRowsSendingStop:function(){},movableRowsReceivingStart:function(){},movableRowsReceived:function(){},movableRowsReceivedFailed:function(){},movableRowsReceivingStop:function(){},scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,placeholder:!1,tableBuilding:function(){},tableBuilt:function(){},renderStarted:function(){},renderComplete:function(){},rowClick:!1,rowDblClick:!1,rowContext:!1,rowTap:!1,rowDblTap:!1,rowTapHold:!1,rowMouseEnter:!1,rowMouseLeave:!1,rowMouseOver:!1,rowMouseOut:!1,rowMouseMove:!1,rowAdded:function(){},rowDeleted:function(){},rowMoved:function(){},rowUpdated:function(){},rowSelectionChanged:function(){},rowSelected:function(){},rowDeselected:function(){},rowResized:function(){},cellClick:!1,cellDblClick:!1,cellContext:!1,cellTap:!1,cellDblTap:!1,cellTapHold:!1,cellMouseEnter:!1,cellMouseLeave:!1,cellMouseOver:!1,cellMouseOut:!1,cellMouseMove:!1,cellEditing:function(){},cellEdited:function(){},cellEditCancelled:function(){},columnMoved:!1,columnResized:function(){},columnTitleChanged:function(){},columnVisibilityChanged:function(){},htmlImporting:function(){},htmlImported:function(){},dataLoading:function(){},dataLoaded:function(){},dataEdited:function(){},ajaxRequesting:function(){},ajaxResponse:!1,ajaxError:function(){},dataFiltering:!1,dataFiltered:!1,dataSorting:function(){},dataSorted:function(){},groupToggleElement:"arrow",groupClosedShowCalcs:!1,dataGrouping:function(){},dataGrouped:!1,groupVisibilityChanged:function(){},groupClick:!1,groupDblClick:!1,groupContext:!1,groupTap:!1,groupDblTap:!1,groupTapHold:!1,columnCalcs:!0,pageLoaded:function(){},localized:function(){},validationFailed:function(){},historyUndo:function(){},historyRedo:function(){}},d.prototype.initializeOptions=function(e){for(var t in e)void 0===this.defaultOptions[t]&&console.warn("Invalid table constructor option:",t);for(var t in this.defaultOptions)t in e?this.options[t]=e[t]:Array.isArray(this.defaultOptions[t])?this.options[t]=[]:"object"===l(this.defaultOptions[t])?this.options[t]={}:this.options[t]=this.defaultOptions[t]},d.prototype.initializeElement=function(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement?(this.element=e,!0):"string"==typeof e?(this.element=document.querySelector(e),!!this.element||(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)},d.prototype._mapDepricatedFunctionality=function(){},d.prototype._clearSelection=function(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")},d.prototype._create=function(){this._clearObjectPointers(),this._mapDepricatedFunctionality(),this.bindModules(),"TABLE"===this.element.tagName&&this.modExists("htmlTableImport",!0)&&this.modules.htmlTableImport.parseTable(),this.columnManager=new t(this),this.rowManager=new r(this),this.footerManager=new c(this),this.columnManager.setRowManager(this.rowManager),this.rowManager.setColumnManager(this.columnManager),this._buildElement(),this._loadInitialData()},d.prototype._clearObjectPointers=function(){this.options.columns=this.options.columns.slice(0),this.options.reactiveData||(this.options.data=this.options.data.slice(0))},d.prototype._buildElement=function(){var e=this,t=this.element,n=this.modules,o=this.options;for(o.tableBuilding.call(this),t.classList.add("tabulator"),t.setAttribute("role","grid");t.firstChild;)t.removeChild(t.firstChild);for(var r in o.height&&(o.height=isNaN(o.height)?o.height:o.height+"px",t.style.height=o.height),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modExists("layout",!0)&&n.layout.initialize(o.layout),!1!==o.headerFilterPlaceholder&&n.localize.setHeaderFilterPlaceholder(o.headerFilterPlaceholder),o.langs)n.localize.installLang(r,o.langs[r]);if(n.localize.setLocale(o.locale),"string"==typeof o.placeholder){var i=document.createElement("div");i.classList.add("tabulator-placeholder");var a=document.createElement("span");a.innerHTML=o.placeholder,i.appendChild(a),o.placeholder=i}if(t.appendChild(this.columnManager.getElement()),t.appendChild(this.rowManager.getElement()),o.footerElement&&this.footerManager.activate(),(o.persistentLayout||o.persistentSort||o.persistentFilter)&&this.modExists("persistence",!0)&&n.persistence.initialize(o.persistenceMode,o.persistenceID),o.persistentLayout&&this.modExists("persistence",!0)&&(o.columns=n.persistence.load("columns",o.columns)),o.movableRows&&this.modExists("moveRow")&&n.moveRow.initialize(),o.autoColumns&&this.options.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modExists("columnCalcs")&&n.columnCalcs.initialize(),this.columnManager.setColumns(o.columns),o.dataTree&&this.modExists("dataTree",!0)&&n.dataTree.initialize(),this.modExists("frozenRows")&&this.modules.frozenRows.initialize(),(o.persistentSort||o.initialSort)&&this.modExists("sort",!0)){var l=[];o.persistentSort&&this.modExists("persistence",!0)?!1===(l=n.persistence.load("sort"))&&o.initialSort&&(l=o.initialSort):o.initialSort&&(l=o.initialSort),n.sort.setSort(l)}if((o.persistentFilter||o.initialFilter)&&this.modExists("filter",!0)){var s=[];o.persistentFilter&&this.modExists("persistence",!0)?!1===(s=n.persistence.load("filter"))&&o.initialFilter&&(s=o.initialFilter):o.initialFilter&&(s=o.initialFilter),n.filter.setFilter(s)}o.initialHeaderFilter&&this.modExists("filter",!0)&&o.initialHeaderFilter.forEach(function(t){var o=e.columnManager.findColumn(t.field);if(!o)return console.warn("Column Filter Error - No matching column found:",t.field),!1;n.filter.setHeaderFilterValue(o,t.value)}),this.modExists("ajax")&&n.ajax.initialize(),o.pagination&&this.modExists("page",!0)&&n.page.initialize(),o.groupBy&&this.modExists("groupRows",!0)&&n.groupRows.initialize(),this.modExists("keybindings")&&n.keybindings.initialize(),this.modExists("selectRow")&&n.selectRow.clearSelectionData(!0),o.autoResize&&this.modExists("resizeTable")&&n.resizeTable.initialize(),this.modExists("clipboard")&&n.clipboard.initialize(),o.printAsHtml&&this.modExists("print")&&n.print.initialize(),o.tableBuilt.call(this)},d.prototype._loadInitialData=function(){this.options.pagination&&this.modExists("page")?(this.modules.page.reset(!0),"local"==this.options.pagination?this.options.data.length?this.rowManager.setData(this.options.data):(this.options.ajaxURL||this.options.ajaxURLGenerator)&&this.modExists("ajax")?this.modules.ajax.loadData().then(function(){}).catch(function(){}):this.rowManager.setData(this.options.data):this.options.ajaxURL?this.modules.page.setPage(1).then(function(){}).catch(function(){}):this.rowManager.setData([])):this.options.data.length?this.rowManager.setData(this.options.data):(this.options.ajaxURL||this.options.ajaxURLGenerator)&&this.modExists("ajax")?this.modules.ajax.loadData().then(function(){}).catch(function(){}):this.rowManager.setData(this.options.data)},d.prototype.destroy=function(){var e=this.element;for(d.prototype.comms.deregister(this),this.options.reactiveData&&this.modExists("reactiveData",!0)&&this.modules.reactiveData.unwatchData(),this.rowManager.rows.forEach(function(e){e.wipe()}),this.rowManager.rows=[],this.rowManager.activeRows=[],this.rowManager.displayRows=[],this.options.autoResize&&this.modExists("resizeTable")&&this.modules.resizeTable.clearBindings(),this.modExists("keybindings")&&this.modules.keybindings.clearBindings();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator")},d.prototype._detectBrowser=function(){var e=navigator.userAgent;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1)},d.prototype.setDataFromLocalFile=function(e){var t=this;return new Promise(function(n,o){var r=document.createElement("input");r.type="file",r.accept=e||".json,application/json",r.addEventListener("change",function(e){var i,a=r.files[0],l=new FileReader;l.readAsText(a),l.onload=function(e){try{i=JSON.parse(l.result)}catch(e){return console.warn("File Load Error - File contents is invalid JSON",e),void o(e)}t._setData(i).then(function(e){n(e)}).catch(function(e){n(e)})},l.onerror=function(e){console.warn("File Load Error - Unable to read file"),o()}}),r.click()})},d.prototype.setData=function(e,t,n){return this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this._setData(e,t,n)},d.prototype._setData=function(e,t,n,o){return"string"!=typeof e?e?this.rowManager.setData(e,o):this.modExists("ajax")&&(this.modules.ajax.getUrl||this.options.ajaxURLGenerator)?"remote"==this.options.pagination&&this.modExists("page",!0)?(this.modules.page.reset(!0),this.modules.page.setPage(1)):this.modules.ajax.loadData(o):this.rowManager.setData([],o):0==e.indexOf("{")||0==e.indexOf("[")?this.rowManager.setData(JSON.parse(e),o):this.modExists("ajax",!0)?(t&&this.modules.ajax.setParams(t),n&&this.modules.ajax.setConfig(n),this.modules.ajax.setUrl(e),"remote"==this.options.pagination&&this.modExists("page",!0)?(this.modules.page.reset(!0),this.modules.page.setPage(1)):this.modules.ajax.loadData(o)):void 0},d.prototype.clearData=function(){this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this.rowManager.clearData()},d.prototype.getData=function(e){return this.rowManager.getData(e)},d.prototype.getDataCount=function(e){return this.rowManager.getDataCount(e)},d.prototype.searchRows=function(e,t,n){if(this.modExists("filter",!0))return this.modules.filter.search("rows",e,t,n)},d.prototype.searchData=function(e,t,n){if(this.modExists("filter",!0))return this.modules.filter.search("data",e,t,n)},d.prototype.getHtml=function(e,t,n){if(this.modExists("htmlTableExport",!0))return this.modules.htmlTableExport.getHtml(e,t,n)},d.prototype.print=function(e,t,n){if(this.modExists("print",!0))return this.modules.print.printFullscreen(e,t,n)},d.prototype.getAjaxUrl=function(){if(this.modExists("ajax",!0))return this.modules.ajax.getUrl()},d.prototype.replaceData=function(e,t,n){return this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this._setData(e,t,n,!0)},d.prototype.updateData=function(e){var t=this,n=this,o=0;return new Promise(function(r,i){t.modExists("ajax")&&t.modules.ajax.blockActiveRequest(),"string"==typeof e&&(e=JSON.parse(e)),e?e.forEach(function(e){var t=n.rowManager.findRow(e[n.options.index]);t&&(o++,t.updateData(e).then(function(){--o||r()}))}):(console.warn("Update Error - No data provided"),i("Update Error - No data provided"))})},d.prototype.addData=function(e,t,n){var o=this;return new Promise(function(r,i){o.modExists("ajax")&&o.modules.ajax.blockActiveRequest(),"string"==typeof e&&(e=JSON.parse(e)),e?o.rowManager.addRows(e,t,n).then(function(e){var t=[];e.forEach(function(e){t.push(e.getComponent())}),r(t)}):(console.warn("Update Error - No data provided"),i("Update Error - No data provided"))})},d.prototype.updateOrAddData=function(e){var t=this,n=this,o=[],r=0;return new Promise(function(i,a){t.modExists("ajax")&&t.modules.ajax.blockActiveRequest(),"string"==typeof e&&(e=JSON.parse(e)),e?e.forEach(function(e){var t=n.rowManager.findRow(e[n.options.index]);r++,t?t.updateData(e).then(function(){r--,o.push(t.getComponent()),r||i(o)}):n.rowManager.addRows(e).then(function(e){r--,o.push(e[0].getComponent()),r||i(o)})}):(console.warn("Update Error - No data provided"),a("Update Error - No data provided"))})},d.prototype.getRow=function(e){var t=this.rowManager.findRow(e);return t?t.getComponent():(console.warn("Find Error - No matching row found:",e),!1)},d.prototype.getRowFromPosition=function(e,t){var n=this.rowManager.getRowFromPosition(e,t);return n?n.getComponent():(console.warn("Find Error - No matching row found:",e),!1)},d.prototype.deleteRow=function(e){var t=this;return new Promise(function(n,o){var r=t.rowManager.findRow(e);r?r.delete().then(function(){n()}).catch(function(e){o(e)}):(console.warn("Delete Error - No matching row found:",e),o("Delete Error - No matching row found"))})},d.prototype.addRow=function(e,t,n){var o=this;return new Promise(function(r,i){"string"==typeof e&&(e=JSON.parse(e)),o.rowManager.addRows(e,t,n).then(function(e){o.modExists("columnCalcs")&&o.modules.columnCalcs.recalc(o.rowManager.activeRows),r(e[0].getComponent())})})},d.prototype.updateOrAddRow=function(e,t){var n=this;return new Promise(function(o,r){var i=n.rowManager.findRow(e);"string"==typeof t&&(t=JSON.parse(t)),i?i.updateData(t).then(function(){n.modExists("columnCalcs")&&n.modules.columnCalcs.recalc(n.rowManager.activeRows),o(i.getComponent())}).catch(function(e){r(e)}):i=n.rowManager.addRows(t).then(function(e){n.modExists("columnCalcs")&&n.modules.columnCalcs.recalc(n.rowManager.activeRows),o(e[0].getComponent())}).catch(function(e){r(e)})})},d.prototype.updateRow=function(e,t){var n=this;return new Promise(function(o,r){var i=n.rowManager.findRow(e);"string"==typeof t&&(t=JSON.parse(t)),i?i.updateData(t).then(function(){o(i.getComponent())}).catch(function(e){r(e)}):(console.warn("Update Error - No matching row found:",e),r("Update Error - No matching row found"))})},d.prototype.scrollToRow=function(e,t,n){var o=this;return new Promise(function(r,i){var a=o.rowManager.findRow(e);a?o.rowManager.scrollToRow(a,t,n).then(function(){r()}).catch(function(e){i(e)}):(console.warn("Scroll Error - No matching row found:",e),i("Scroll Error - No matching row found"))})},d.prototype.moveRow=function(e,t,n){var o=this.rowManager.findRow(e);o?o.moveToRow(t,n):console.warn("Move Error - No matching row found:",e)},d.prototype.getRows=function(e){return this.rowManager.getComponents(e)},d.prototype.getRowPosition=function(e,t){var n=this.rowManager.findRow(e);return n?this.rowManager.getRowPosition(n,t):(console.warn("Position Error - No matching row found:",e),!1)},d.prototype.copyToClipboard=function(e,t,n,o){this.modExists("clipboard",!0)&&this.modules.clipboard.copy(e,t,n,o)},d.prototype.setColumns=function(e){this.columnManager.setColumns(e)},d.prototype.getColumns=function(e){return this.columnManager.getComponents(e)},d.prototype.getColumn=function(e){var t=this.columnManager.findColumn(e);return t?t.getComponent():(console.warn("Find Error - No matching column found:",e),!1)},d.prototype.getColumnDefinitions=function(){return this.columnManager.getDefinitionTree()},d.prototype.getColumnLayout=function(){if(this.modExists("persistence",!0))return this.modules.persistence.parseColumns(this.columnManager.getColumns())},d.prototype.setColumnLayout=function(e){return!!this.modExists("persistence",!0)&&(this.columnManager.setColumns(this.modules.persistence.mergeDefinition(this.options.columns,e)),!0)},d.prototype.showColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Show Error - No matching column found:",e),!1;t.show(),this.options.responsiveLayout&&this.modExists("responsiveLayout",!0)&&this.modules.responsiveLayout.update()},d.prototype.hideColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Hide Error - No matching column found:",e),!1;t.hide(),this.options.responsiveLayout&&this.modExists("responsiveLayout",!0)&&this.modules.responsiveLayout.update()},d.prototype.toggleColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1;t.visible?t.hide():t.show()},d.prototype.addColumn=function(e,t,n){var o=this.columnManager.findColumn(n);this.columnManager.addColumn(e,t,o)},d.prototype.deleteColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Delete Error - No matching column found:",e),!1;t.delete()},d.prototype.scrollToColumn=function(e,t,n){var o=this;return new Promise(function(r,i){var a=o.columnManager.findColumn(e);a?o.columnManager.scrollToColumn(a,t,n).then(function(){r()}).catch(function(e){i(e)}):(console.warn("Scroll Error - No matching column found:",e),i("Scroll Error - No matching column found"))})},d.prototype.setLocale=function(e){this.modules.localize.setLocale(e)},d.prototype.getLocale=function(){return this.modules.localize.getLocale()},d.prototype.getLang=function(e){return this.modules.localize.getLang(e)},d.prototype.redraw=function(e){this.columnManager.redraw(e),this.rowManager.redraw(e)},d.prototype.setHeight=function(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.redraw()},d.prototype.setSort=function(e,t){this.modExists("sort",!0)&&(this.modules.sort.setSort(e,t),this.rowManager.sorterRefresh())},d.prototype.getSorters=function(){if(this.modExists("sort",!0))return this.modules.sort.getSort()},d.prototype.clearSort=function(){this.modExists("sort",!0)&&(this.modules.sort.clear(),this.rowManager.sorterRefresh())},d.prototype.setFilter=function(e,t,n){this.modExists("filter",!0)&&(this.modules.filter.setFilter(e,t,n),this.rowManager.filterRefresh())},d.prototype.addFilter=function(e,t,n){this.modExists("filter",!0)&&(this.modules.filter.addFilter(e,t,n),this.rowManager.filterRefresh())},d.prototype.getFilters=function(e){if(this.modExists("filter",!0))return this.modules.filter.getFilters(e)},d.prototype.setHeaderFilterFocus=function(e){if(this.modExists("filter",!0)){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Filter Focus Error - No matching column found:",e),!1;this.modules.filter.setHeaderFilterFocus(t)}},d.prototype.setHeaderFilterValue=function(e,t){if(this.modExists("filter",!0)){var n=this.columnManager.findColumn(e);if(!n)return console.warn("Column Filter Error - No matching column found:",e),!1;this.modules.filter.setHeaderFilterValue(n,t)}},d.prototype.getHeaderFilters=function(){if(this.modExists("filter",!0))return this.modules.filter.getHeaderFilters()},d.prototype.removeFilter=function(e,t,n){this.modExists("filter",!0)&&(this.modules.filter.removeFilter(e,t,n),this.rowManager.filterRefresh())},d.prototype.clearFilter=function(e){this.modExists("filter",!0)&&(this.modules.filter.clearFilter(e),this.rowManager.filterRefresh())},d.prototype.clearHeaderFilter=function(){this.modExists("filter",!0)&&(this.modules.filter.clearHeaderFilter(),this.rowManager.filterRefresh())},d.prototype.selectRow=function(e){this.modExists("selectRow",!0)&&this.modules.selectRow.selectRows(e)},d.prototype.deselectRow=function(e){this.modExists("selectRow",!0)&&this.modules.selectRow.deselectRows(e)},d.prototype.toggleSelectRow=function(e){this.modExists("selectRow",!0)&&this.modules.selectRow.toggleRow(e)},d.prototype.getSelectedRows=function(){if(this.modExists("selectRow",!0))return this.modules.selectRow.getSelectedRows()},d.prototype.getSelectedData=function(){if(this.modExists("selectRow",!0))return this.modules.selectRow.getSelectedData()},d.prototype.setMaxPage=function(e){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.setMaxPage(e)},d.prototype.setPage=function(e){return this.options.pagination&&this.modExists("page")?this.modules.page.setPage(e):new Promise(function(e,t){t()})},d.prototype.setPageToRow=function(e){var t=this;return new Promise(function(n,o){t.options.pagination&&t.modExists("page")&&(e=t.rowManager.findRow(e))?t.modules.page.setPageToRow(e).then(function(){n()}).catch(function(){o()}):o()})},d.prototype.setPageSize=function(e){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.setPageSize(e),this.modules.page.setPage(1).then(function(){}).catch(function(){})},d.prototype.getPageSize=function(){if(this.options.pagination&&this.modExists("page",!0))return this.modules.page.getPageSize()},d.prototype.previousPage=function(){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.previousPage()},d.prototype.nextPage=function(){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.nextPage()},d.prototype.getPage=function(){return!(!this.options.pagination||!this.modExists("page"))&&this.modules.page.getPage()},d.prototype.getPageMax=function(){return!(!this.options.pagination||!this.modExists("page"))&&this.modules.page.getPageMax()},d.prototype.setGroupBy=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupBy=e,this.modules.groupRows.initialize(),this.rowManager.refreshActiveData("display")},d.prototype.setGroupStartOpen=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupStartOpen=e,this.modules.groupRows.initialize(),this.options.groupBy?this.rowManager.refreshActiveData("group"):console.warn("Grouping Update - cant refresh view, no groups have been set")},d.prototype.setGroupHeader=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupHeader=e,this.modules.groupRows.initialize(),this.options.groupBy?this.rowManager.refreshActiveData("group"):console.warn("Grouping Update - cant refresh view, no groups have been set")},d.prototype.getGroups=function(e){return!!this.modExists("groupRows",!0)&&this.modules.groupRows.getGroups(!0)},d.prototype.getGroupedData=function(){if(this.modExists("groupRows",!0))return this.options.groupBy?this.modules.groupRows.getGroupedData():this.getData()},d.prototype.getCalcResults=function(){return!!this.modExists("columnCalcs",!0)&&this.modules.columnCalcs.getResults()},d.prototype.navigatePrev=function(){var e=!1;return!(!this.modExists("edit",!0)||!(e=this.modules.edit.currentCell))&&e.nav().prev()},d.prototype.navigateNext=function(){var e=!1;return!(!this.modExists("edit",!0)||!(e=this.modules.edit.currentCell))&&e.nav().next()},d.prototype.navigateLeft=function(){var t=!1;return!(!this.modExists("edit",!0)||!(t=this.modules.edit.currentCell))&&(e.preventDefault(),t.nav().left())},d.prototype.navigateRight=function(){var t=!1;return!(!this.modExists("edit",!0)||!(t=this.modules.edit.currentCell))&&(e.preventDefault(),t.nav().right())},d.prototype.navigateUp=function(){var t=!1;return!(!this.modExists("edit",!0)||!(t=this.modules.edit.currentCell))&&(e.preventDefault(),t.nav().up())},d.prototype.navigateDown=function(){var t=!1;return!(!this.modExists("edit",!0)||!(t=this.modules.edit.currentCell))&&(e.preventDefault(),t.nav().down())},d.prototype.undo=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.undo()},d.prototype.redo=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.redo()},d.prototype.getHistoryUndoSize=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.getHistoryUndoSize()},d.prototype.getHistoryRedoSize=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.getHistoryRedoSize()},d.prototype.download=function(e,t,n){this.modExists("download",!0)&&this.modules.download.download(e,t,n)},d.prototype.downloadToTab=function(e,t,n){this.modExists("download",!0)&&this.modules.download.download(e,t,n,!0)},d.prototype.tableComms=function(e,t,n,o){this.modules.comms.receive(e,t,n,o)},d.prototype.moduleBindings={},d.prototype.extendModule=function(e,t,n){if(d.prototype.moduleBindings[e]){var o=d.prototype.moduleBindings[e].prototype[t];if(o)if("object"==(void 0===n?"undefined":l(n)))for(var r in n)o[r]=n[r];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",t)}else console.warn("Module Error - module does not exist:",e)},d.prototype.registerModule=function(e,t){d.prototype.moduleBindings[e]=t},d.prototype.bindModules=function(){for(var e in this.modules={},d.prototype.moduleBindings)this.modules[e]=new d.prototype.moduleBindings[e](this)},d.prototype.modExists=function(e,t){return!!this.modules[e]||(t&&console.error("Tabulator Module Not Installed: "+e),!1)},d.prototype.helpers={elVisible:function(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)},elOffset:function(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}},deepClone:function(e){var t=Array.isArray(e)?[]:{};for(var n in e)null!=e[n]&&"object"===l(e[n])?e[n]instanceof Date?t[n]=new Date(e[n]):t[n]=this.deepClone(e[n]):t[n]=e[n];return t}},d.prototype.comms={tables:[],register:function(e){d.prototype.comms.tables.push(e)},deregister:function(e){var t=d.prototype.comms.tables.indexOf(e);t>-1&&d.prototype.comms.tables.splice(t,1)},lookupTable:function(e){var t,n,o=[];if("string"==typeof e){if((t=document.querySelectorAll(e)).length)for(var r=0;r<t.length;r++)(n=d.prototype.comms.matchElement(t[r]))&&o.push(n)}else"undefined"!=typeof HTMLElement&&e instanceof HTMLElement||e instanceof d?(n=d.prototype.comms.matchElement(e))&&o.push(n):Array.isArray(e)?e.forEach(function(e){o=o.concat(d.prototype.comms.lookupTable(e))}):console.warn("Table Connection Error - Invalid Selector",e);return o},matchElement:function(e){return d.prototype.comms.tables.find(function(t){return e instanceof d?t===e:t.element===e})}};var p=function(e){this.table=e,this.mode=null};p.prototype.initialize=function(e){this.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode)},p.prototype.getMode=function(){return this.mode},p.prototype.layout=function(){this.modes[this.mode].call(this,this.table.columnManager.columnsByIndex)},p.prototype.modes={fitData:function(e){e.forEach(function(e){e.reinitializeWidth()}),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()},fitDataFill:function(e){e.forEach(function(e){e.reinitializeWidth()}),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()},fitColumns:function(e){var t,n,o=this.table.element.clientWidth,r=0,i=0,a=0,l=[],s=[],u=0,c=0;function d(e){return"string"==typeof e?e.indexOf("%")>-1?o/100*parseInt(e):parseInt(e):e}function p(e,t,n,o){var r=[],i=0,a=0,l=0,s=0,u=0,c=[];function f(e){return n*(e.column.definition.widthGrow||1)}function m(e){return d(e.width)-n*(e.column.definition.widthShrink||0)}return e.forEach(function(e,t){var n=o?m(e):f(e);e.column.minWidth>=n?r.push(e):(c.push(e),u+=o?e.column.definition.widthShrink||1:e.column.definition.widthGrow||1)}),r.length?(r.forEach(function(e){i+=o?e.width-e.column.minWidth:e.column.minWidth,e.width=e.column.minWidth}),s=(a=t-i)-(l=u?Math.floor(a/u):a)*u,s+=p(c,a,l,o)):(s=u?t-Math.floor(t/u)*u:t,c.forEach(function(e){e.width=o?m(e):f(e)})),s}this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update(),this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(o-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),e.forEach(function(e){var t,n,o;e.visible&&(t=e.definition.width,n=parseInt(e.minWidth),t?(o=d(t),r+=o>n?o:n,e.definition.widthShrink&&(s.push({column:e,width:o>n?o:n}),u+=e.definition.widthShrink)):(l.push({column:e,width:0}),a+=e.definition.widthGrow||1))}),i=o-r,t=Math.floor(i/a);c=p(l,i,t,!1);l.length&&c>0&&(l[l.length-1].width+=+c),l.forEach(function(e){i-=e.width}),(n=Math.abs(c)+i)>0&&u&&(c=p(s,n,Math.floor(n/u),!0)),s.length&&(s[s.length-1].width-=c),l.forEach(function(e){e.column.setWidth(e.width)}),s.forEach(function(e){e.column.setWidth(e.width)})}},d.prototype.registerModule("layout",p);var f=function(e){this.table=e,this.locale="default",this.lang=!1,this.bindings={}};f.prototype.setHeaderFilterPlaceholder=function(e){this.langs.default.headerFilters.default=e},f.prototype.setHeaderFilterColumnPlaceholder=function(e,t){this.langs.default.headerFilters.columns[e]=t,this.lang&&!this.lang.headerFilters.columns[e]&&(this.lang.headerFilters.columns[e]=t)},f.prototype.installLang=function(e,t){this.langs[e]?this._setLangProp(this.langs[e],t):this.langs[e]=t},f.prototype._setLangProp=function(e,t){for(var n in t)e[n]&&"object"==l(e[n])?this._setLangProp(e[n],t[n]):e[n]=t[n]},f.prototype.setLocale=function(e){if(!0===(e=e||"default")&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langs[e]){var t=e.split("-")[0];this.langs[t]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,t),e=t):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=d.prototype.helpers.deepClone(this.langs.default||{}),"default"!=e&&function e(t,n){for(var o in t)"object"==l(t[o])?(n[o]||(n[o]={}),e(t[o],n[o])):n[o]=t[o]}(this.langs[e],this.lang),this.table.options.localized.call(this.table,this.locale,this.lang),this._executeBindings()},f.prototype.getLocale=function(e){return self.locale},f.prototype.getLang=function(e){return e?this.langs[e]:this.lang},f.prototype.getText=function(e,t){var n=(e=t?e+"|"+t:e).split("|");return this._getLangElement(n,this.locale)||""},f.prototype._getLangElement=function(e,t){var n=this.lang;return e.forEach(function(e){var t;n&&(t=n[e],n=void 0!==t&&t)}),n},f.prototype.bind=function(e,t){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(t),t(this.getText(e),this.lang)},f.prototype._executeBindings=function(){var e=this,t=function(t){e.bindings[t].forEach(function(n){n(e.getText(t),e.lang)})};for(var n in e.bindings)t(n)},f.prototype.langs={default:{groups:{item:"item",items:"items"},columns:{},ajax:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page"},headerFilters:{default:"filter column...",columns:{}}}},d.prototype.registerModule("localize",f);var m=function(e){this.table=e};m.prototype.getConnections=function(e){var t=this,n=[];return d.prototype.comms.lookupTable(e).forEach(function(e){t.table!==e&&n.push(e)}),n},m.prototype.send=function(e,t,n,o){var r=this,i=this.getConnections(e);i.forEach(function(e){e.tableComms(r.table.element,t,n,o)}),!i.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)},m.prototype.receive=function(e,t,n,o){if(this.table.modExists(t))return this.table.modules[t].commsReceived(e,n,o);console.warn("Inter-table Comms Error - no such module:",t)},d.prototype.registerModule("comms",m);var h=function(e){this.table=e,this.allowedTypes=["","data","download","clipboard"]};h.prototype.initializeColumn=function(e){var t=this,n=!1,o={};this.allowedTypes.forEach(function(r){var i,a="accessor"+(r.charAt(0).toUpperCase()+r.slice(1));e.definition[a]&&(i=t.lookupAccessor(e.definition[a]))&&(n=!0,o[a]={accessor:i,params:e.definition[a+"Params"]||{}})}),n&&(e.modules.accessor=o)},h.prototype.lookupAccessor=function(e){var t=!1;switch(void 0===e?"undefined":l(e)){case"string":this.accessors[e]?t=this.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e}return t},h.prototype.transformRow=function(e,t){var n="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),o=d.prototype.helpers.deepClone(e||{});return this.table.columnManager.traverse(function(e){var r,i,a,l;e.modules.accessor&&(i=e.modules.accessor[n]||e.modules.accessor.accessor||!1)&&"undefined"!=(r=e.getFieldValue(o))&&(l=e.getComponent(),a="function"==typeof i.params?i.params(r,o,t,l):i.params,e.setFieldValue(o,i.accessor(r,o,t,a,l)))}),o},h.prototype.accessors={},d.prototype.registerModule("accessor",h);var g=function(e){this.table=e,this.config=!1,this.url="",this.urlGenerator=!1,this.params=!1,this.loaderElement=this.createLoaderElement(),this.msgElement=this.createMsgElement(),this.loadingElement=!1,this.errorElement=!1,this.loaderPromise=!1,this.progressiveLoad=!1,this.loading=!1,this.requestOrder=0};g.prototype.initialize=function(){var e;this.loaderElement.appendChild(this.msgElement),this.table.options.ajaxLoaderLoading&&("string"==typeof this.table.options.ajaxLoaderLoading?((e=document.createElement("template")).innerHTML=this.table.options.ajaxLoaderLoading.trim(),this.loadingElement=e.content.firstChild):this.loadingElement=this.table.options.ajaxLoaderLoading),this.loaderPromise=this.table.options.ajaxRequestFunc||this.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||this.defaultURLGenerator,this.table.options.ajaxLoaderError&&("string"==typeof this.table.options.ajaxLoaderError?((e=document.createElement("template")).innerHTML=this.table.options.ajaxLoaderError.trim(),this.errorElement=e.content.firstChild):this.errorElement=this.table.options.ajaxLoaderError),this.table.options.ajaxParams&&this.setParams(this.table.options.ajaxParams),this.table.options.ajaxConfig&&this.setConfig(this.table.options.ajaxConfig),this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.table.options.ajaxProgressiveLoad&&(this.table.options.pagination?(this.progressiveLoad=!1,console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time")):this.table.modExists("page")?(this.progressiveLoad=this.table.options.ajaxProgressiveLoad,this.table.modules.page.initializeProgressive(this.progressiveLoad)):console.error("Pagination plugin is required for progressive ajax loading"))},g.prototype.createLoaderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-loader"),e},g.prototype.createMsgElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-loader-msg"),e.setAttribute("role","alert"),e},g.prototype.setParams=function(e,t){if(t)for(var n in this.params=this.params||{},e)this.params[n]=e[n];else this.params=e},g.prototype.getParams=function(){return this.params||{}},g.prototype.setConfig=function(e){if(this._loadDefaultConfig(),"string"==typeof e)this.config.method=e;else for(var t in e)this.config[t]=e[t]},g.prototype._loadDefaultConfig=function(e){if(!this.config||e)for(var t in this.config={},this.defaultConfig)this.config[t]=this.defaultConfig[t]},g.prototype.setUrl=function(e){this.url=e},g.prototype.getUrl=function(){return this.url},g.prototype.loadData=function(e){return this.progressiveLoad?this._loadDataProgressive():this._loadDataStandard(e)},g.prototype.nextPage=function(e){this.loading||e<(this.table.options.ajaxProgressiveLoadScrollMargin||2*this.table.rowManager.getElement().clientHeight)&&this.table.modules.page.nextPage().then(function(){}).catch(function(){})},g.prototype.blockActiveRequest=function(){this.requestOrder++},g.prototype._loadDataProgressive=function(){return this.table.rowManager.setData([]),this.table.modules.page.setPage(1)},g.prototype._loadDataStandard=function(e){var t=this;return new Promise(function(n,o){t.sendRequest(e).then(function(r){t.table.rowManager.setData(r,e).then(function(){n()}).catch(function(e){o(e)})}).catch(function(e){o(e)})})},g.prototype.generateParamsList=function(e,t){var n=this,o=[];if(t=t||"",Array.isArray(e))e.forEach(function(e,r){o=o.concat(n.generateParamsList(e,t?t+"["+r+"]":r))});else if("object"===(void 0===e?"undefined":l(e)))for(var r in e)o=o.concat(n.generateParamsList(e[r],t?t+"["+r+"]":r));else o.push({key:t,value:e});return o},g.prototype.serializeParams=function(e){var t=this.generateParamsList(e),n=[];return t.forEach(function(e){n.push(encodeURIComponent(e.key)+"="+encodeURIComponent(e.value))}),n.join("&")},g.prototype.sendRequest=function(e){var t,n=this,o=this,r=o.url;return o.requestOrder++,t=o.requestOrder,o._loadDefaultConfig(),new Promise(function(i,a){!1!==o.table.options.ajaxRequesting.call(n.table,o.url,o.params)?(o.loading=!0,e||o.showLoader(),n.loaderPromise(r,o.config,o.params).then(function(e){t===o.requestOrder?(o.table.options.ajaxResponse&&(e=o.table.options.ajaxResponse.call(o.table,o.url,o.params,e)),i(e)):console.warn("Ajax Response Blocked - An active ajax request was blocked by an attempt to change table data while the request was being made"),o.hideLoader(),o.loading=!1}).catch(function(e){console.error("Ajax Load Error: ",e),o.table.options.ajaxError.call(o.table,e),o.showError(),setTimeout(function(){o.hideLoader()},3e3),o.loading=!1,a()})):a()})},g.prototype.showLoader=function(){if("function"==typeof this.table.options.ajaxLoader?this.table.options.ajaxLoader():this.table.options.ajaxLoader){for(this.hideLoader();this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.remove("tabulator-error"),this.msgElement.classList.add("tabulator-loading"),this.loadingElement?this.msgElement.appendChild(this.loadingElement):this.msgElement.innerHTML=this.table.modules.localize.getText("ajax|loading"),this.table.element.appendChild(this.loaderElement)}},g.prototype.showError=function(){for(this.hideLoader();this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.remove("tabulator-loading"),this.msgElement.classList.add("tabulator-error"),this.errorElement?this.msgElement.appendChild(this.errorElement):this.msgElement.innerHTML=this.table.modules.localize.getText("ajax|error"),this.table.element.appendChild(this.loaderElement)},g.prototype.hideLoader=function(){this.loaderElement.parentNode&&this.loaderElement.parentNode.removeChild(this.loaderElement)},g.prototype.defaultConfig={method:"GET"},g.prototype.defaultURLGenerator=function(e,t,n){return e&&n&&Object.keys(n).length&&(t.method&&"get"!=t.method.toLowerCase()||(t.method="get",e+="?"+this.serializeParams(n))),e},g.prototype.defaultLoaderPromise=function(e,t,n){var o,r=this;return new Promise(function(i,a){if(e=r.urlGenerator(e,t,n),"GET"!=t.method.toUpperCase())if(o="object"===l(r.table.options.ajaxContentType)?r.table.options.ajaxContentType:r.contentTypeFormatters[r.table.options.ajaxContentType]){for(var s in o.headers)t.headers||(t.headers={}),void 0===t.headers[s]&&(t.headers[s]=o.headers[s]);t.body=o.body.call(r,e,t,n)}else console.warn("Ajax Error - Invalid ajaxContentType value:",r.table.options.ajaxContentType);e?(void 0===t.headers&&(t.headers={}),void 0===t.headers.Accept&&(t.headers.Accept="application/json"),void 0===t.headers["X-Requested-With"]&&(t.headers["X-Requested-With"]="XMLHttpRequest"),void 0===t.mode&&(t.mode="cors"),"cors"==t.mode?(void 0===t.headers["Access-Control-Allow-Origin"]&&(t.headers["Access-Control-Allow-Origin"]=window.location.origin),void 0===t.credentials&&(t.credentials="same-origin")):void 0===t.credentials&&(t.credentials="include"),fetch(e,t).then(function(e){e.ok?e.json().then(function(e){i(e)}).catch(function(e){a(e),console.warn("Ajax Load Error - Invalid JSON returned",e)}):(console.error("Ajax Load Error - Connection Error: "+e.status,e.statusText),a(e))}).catch(function(e){console.error("Ajax Load Error - Connection Error: ",e),a(e)})):(console.warn("Ajax Load Error - No URL Set"),i([]))})},g.prototype.contentTypeFormatters={json:{headers:{"Content-Type":"application/json"},body:function(e,t,n){return JSON.stringify(n)}},form:{headers:{},body:function(e,t,n){var o=this.generateParamsList(n),r=new FormData;return o.forEach(function(e){r.append(e.key,e.value)}),r}}},d.prototype.registerModule("ajax",g);var b=function(e){this.table=e,this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.initialize()};b.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e},b.prototype.initialize=function(){this.genColumn=new o({field:"value"},this)},b.prototype.registerColumnField=function(){},b.prototype.initializeColumn=function(e){var t=e.definition,n={topCalcParams:t.topCalcParams||{},botCalcParams:t.bottomCalcParams||{}};if(t.topCalc){switch(l(t.topCalc)){case"string":this.calculations[t.topCalc]?n.topCalc=this.calculations[t.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.topCalc);break;case"function":n.topCalc=t.topCalc}n.topCalc&&(e.modules.columnCalcs=n,this.topCalcs.push(e),"group"!=this.table.options.columnCalcs&&this.initializeTopRow())}if(t.bottomCalc){switch(l(t.bottomCalc)){case"string":this.calculations[t.bottomCalc]?n.botCalc=this.calculations[t.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.bottomCalc);break;case"function":n.botCalc=t.bottomCalc}n.botCalc&&(e.modules.columnCalcs=n,this.botCalcs.push(e),"group"!=this.table.options.columnCalcs&&this.initializeBottomRow())}},b.prototype.removeCalcs=function(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.table.footerManager.remove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()},b.prototype.initializeTopRow=function(){this.topInitialized||(this.table.columnManager.getElement().insertBefore(this.topElement,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)},b.prototype.initializeBottomRow=function(){this.botInitialized||(this.table.footerManager.prepend(this.botElement),this.botInitialized=!0)},b.prototype.scrollHorizontal=function(e){this.table.columnManager.getElement().scrollWidth,this.table.element.clientWidth;this.botInitialized&&(this.botRow.getElement().style.marginLeft=-e+"px")},b.prototype.recalc=function(e){var t;if(this.topInitialized||this.botInitialized){if(this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),t=this.generateRow("top",this.rowsToData(e)),this.topRow=t;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(t.getElement()),t.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),t=this.generateRow("bottom",this.rowsToData(e)),this.botRow=t;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(t.getElement()),t.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}},b.prototype.recalcRowGroup=function(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))},b.prototype.recalcGroup=function(e){var t,n;e&&e.calcs&&(e.calcs.bottom&&(t=this.rowsToData(e.rows),n=this.generateRowData("bottom",t),e.calcs.bottom.updateData(n),e.calcs.bottom.reinitialize()),e.calcs.top&&(t=this.rowsToData(e.rows),n=this.generateRowData("top",t),e.calcs.top.updateData(n),e.calcs.top.reinitialize()))},b.prototype.generateTopRow=function(e){return this.generateRow("top",this.rowsToData(e))},b.prototype.generateBottomRow=function(e){return this.generateRow("bottom",this.rowsToData(e))},b.prototype.rowsToData=function(e){var t=[];return e.forEach(function(e){t.push(e.getData())}),t},b.prototype.generateRow=function(e,t){var n,o=this,r=this.generateRowData(e,t);return o.table.modExists("mutator")&&o.table.modules.mutator.disable(),n=new a(r,this),o.table.modExists("mutator")&&o.table.modules.mutator.enable(),n.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),n.type="calc",n.generateCells=function(){var t=[];o.table.columnManager.columnsByIndex.forEach(function(r){o.genColumn.setField(r.getField()),o.genColumn.hozAlign=r.hozAlign,r.definition[e+"CalcFormatter"]&&o.table.modExists("format")?o.genColumn.modules.format={formatter:o.table.modules.format.getFormatter(r.definition[e+"CalcFormatter"]),params:r.definition[e+"CalcFormatterParams"]}:o.genColumn.modules.format={formatter:o.table.modules.format.getFormatter("plaintext"),params:{}},o.genColumn.definition.cssClass=r.definition.cssClass;var i=new u(o.genColumn,n);i.column=r,i.setWidth(),r.cells.push(i),t.push(i),r.visible||i.hide()}),this.cells=t},n},b.prototype.generateRowData=function(e,t){var n,o,r={},i="top"==e?this.topCalcs:this.botCalcs,a="top"==e?"topCalc":"botCalc";return i.forEach(function(e){var i=[];e.modules.columnCalcs&&e.modules.columnCalcs[a]&&(t.forEach(function(t){i.push(e.getFieldValue(t))}),o=a+"Params",n="function"==typeof e.modules.columnCalcs[o]?e.modules.columnCalcs[o](i,t):e.modules.columnCalcs[o],e.setFieldValue(r,e.modules.columnCalcs[a](i,t,n)))}),r},b.prototype.hasTopCalcs=function(){return!!this.topCalcs.length},b.prototype.hasBottomCalcs=function(){return!!this.botCalcs.length},b.prototype.redraw=function(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)},b.prototype.getResults=function(){var e=this,t={};return this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.groupRows.getGroups(!0).forEach(function(n){t[n.getKey()]=e.getGroupResults(n)}):t={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},t},b.prototype.getGroupResults=function(e){var t=this,n=e._getSelf(),o=e.getSubGroups(),r={};return o.forEach(function(e){r[e.getKey()]=t.getGroupResults(e)}),{top:n.calcs.top?n.calcs.top.getData():{},bottom:n.calcs.bottom?n.calcs.bottom.getData():{},groups:r}},b.prototype.calculations={avg:function(e,t,n){var o=0,r=void 0!==n.precision?n.precision:2;return e.length&&(o=e.reduce(function(e,t){return e+(t=Number(t))}),o/=e.length,o=!1!==r?o.toFixed(r):o),parseFloat(o).toString()},max:function(e,t,n){var o=null,r=void 0!==n.precision&&n.precision;return e.forEach(function(e){((e=Number(e))>o||null===o)&&(o=e)}),null!==o?!1!==r?o.toFixed(r):o:""},min:function(e,t,n){var o=null,r=void 0!==n.precision&&n.precision;return e.forEach(function(e){((e=Number(e))<o||null===o)&&(o=e)}),null!==o?!1!==r?o.toFixed(r):o:""},sum:function(e,t,n){var o=0,r=void 0!==n.precision&&n.precision;return e.length&&e.forEach(function(e){e=Number(e),o+=isNaN(e)?0:Number(e)}),!1!==r?o.toFixed(r):o},concat:function(e,t,n){var o=0;return e.length&&(o=e.reduce(function(e,t){return String(e)+String(t)})),o},count:function(e,t,n){var o=0;return e.length&&e.forEach(function(e){e&&o++}),o}},d.prototype.registerModule("columnCalcs",b);var v=function(e){this.table=e,this.mode=!0,this.copySelector=!1,this.copySelectorParams={},this.copyFormatter=!1,this.copyFormatterParams={},this.pasteParser=function(){},this.pasteAction=function(){},this.htmlElement=!1,this.config={},this.blocked=!0};v.prototype.initialize=function(){var e=this;this.mode=this.table.options.clipboard,!0!==this.mode&&"copy"!==this.mode||this.table.element.addEventListener("copy",function(t){var n;e.processConfig(),e.blocked||(t.preventDefault(),n=e.generateContent(),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",n):t.clipboardData&&t.clipboardData.setData?(t.clipboardData.setData("text/plain",n),e.htmlElement&&t.clipboardData.setData("text/html",e.htmlElement.outerHTML)):t.originalEvent&&t.originalEvent.clipboardData.setData&&(t.originalEvent.clipboardData.setData("text/plain",n),e.htmlElement&&t.originalEvent.clipboardData.setData("text/html",e.htmlElement.outerHTML)),e.table.options.clipboardCopied.call(this.table,n),e.reset())}),!0!==this.mode&&"paste"!==this.mode||this.table.element.addEventListener("paste",function(t){e.paste(t)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction)},v.prototype.processConfig=function(){var e={columnHeaders:"groups",rowGroups:!0,columnCalcs:!0};if(void 0!==this.table.options.clipboardCopyHeader&&(e.columnHeaders=this.table.options.clipboardCopyHeader,console.warn("DEPRECATION WANRING - clipboardCopyHeader option has been depricated, please use the columnHeaders property on the clipboardCopyConfig option")),this.table.options.clipboardCopyConfig)for(var t in this.table.options.clipboardCopyConfig)e[t]=this.table.options.clipboardCopyConfig[t];e.rowGroups&&this.table.options.groupBy&&this.table.modExists("groupRows")&&(this.config.rowGroups=!0),e.columnHeaders?"groups"!==e.columnHeaders&&!0!==e||this.table.columnManager.columns.length==this.table.columnManager.columnsByIndex.length?this.config.columnHeaders="columns":this.config.columnHeaders="groups":this.config.columnHeaders=!1,e.columnCalcs&&this.table.modExists("columnCalcs")&&(this.config.columnCalcs=!0)},v.prototype.reset=function(){this.blocked=!1,this.originalSelectionText=""},v.prototype.setPasteAction=function(e){switch(void 0===e?"undefined":l(e)){case"string":this.pasteAction=this.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e}},v.prototype.setPasteParser=function(e){switch(void 0===e?"undefined":l(e)){case"string":this.pasteParser=this.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e}},v.prototype.paste=function(e){var t,n,o;this.checkPaseOrigin(e)&&(t=this.getPasteData(e),(n=this.pasteParser.call(this,t))?(e.preventDefault(),this.table.modExists("mutator")&&(n=this.mutateData(n)),o=this.pasteAction.call(this,n),this.table.options.clipboardPasted.call(this.table,t,n,o)):this.table.options.clipboardPasteError.call(this.table,t))},v.prototype.mutateData=function(e){var t=this,n=[];return Array.isArray(e)?e.forEach(function(e){n.push(t.table.modules.mutator.transformRow(e,"clipboard"))}):n=e,n},v.prototype.checkPaseOrigin=function(e){var t=!0;return("DIV"!=e.target.tagName||this.table.modules.edit.currentCell)&&(t=!1),t},v.prototype.getPasteData=function(e){var t;return window.clipboardData&&window.clipboardData.getData?t=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?t=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(t=e.originalEvent.clipboardData.getData("text/plain")),t},v.prototype.copy=function(e,t,n,o,r){var i,a,l;this.blocked=!1,!0!==this.mode&&"copy"!==this.mode||(void 0!==window.getSelection&&void 0!==document.createRange?((i=document.createRange()).selectNodeContents(this.table.element),(a=window.getSelection()).toString()&&r&&(e="userSelection",n="raw",t=a.toString()),a.removeAllRanges(),a.addRange(i)):void 0!==document.selection&&void 0!==document.body.createTextRange&&((l=document.body.createTextRange()).moveToElementText(this.table.element),l.select()),this.setSelector(e),this.copySelectorParams=void 0!==t&&null!=t?t:this.config.columnHeaders,this.setFormatter(n),this.copyFormatterParams=void 0!==o&&null!=o?o:{},document.execCommand("copy"),a&&a.removeAllRanges())},v.prototype.setSelector=function(e){switch(void 0===(e=e||this.table.options.clipboardCopySelector)?"undefined":l(e)){case"string":this.copySelectors[e]?this.copySelector=this.copySelectors[e]:console.warn("Clipboard Error - No such selector found:",e);break;case"function":this.copySelector=e}},v.prototype.setFormatter=function(e){switch(void 0===(e=e||this.table.options.clipboardCopyFormatter)?"undefined":l(e)){case"string":this.copyFormatters[e]?this.copyFormatter=this.copyFormatters[e]:console.warn("Clipboard Error - No such formatter found:",e);break;case"function":this.copyFormatter=e}},v.prototype.generateContent=function(){var e;return this.htmlElement=!1,e=this.copySelector.call(this,this.config,this.copySelectorParams),this.copyFormatter.call(this,e,this.config,this.copyFormatterParams)},v.prototype.generateSimpleHeaders=function(e){var t=[];return e.forEach(function(e){t.push(e.definition.title)}),t},v.prototype.generateColumnGroupHeaders=function(e){var t=this,n=[];return this.table.columnManager.columns.forEach(function(e){var o=t.processColumnGroup(e);o&&n.push(o)}),n},v.prototype.processColumnGroup=function(e){var t=this,n=e.columns,o={type:"group",title:e.definition.title,column:e};if(n.length){if(o.subGroups=[],o.width=0,n.forEach(function(e){var n=t.processColumnGroup(e);n&&(o.width+=n.width,o.subGroups.push(n))}),!o.width)return!1}else{if(!e.field||!e.visible)return!1;o.width=1}return o},v.prototype.groupHeadersToRows=function(e){var t=[];function n(e,o){var r;void 0===t[o]&&(t[o]=[]),t[o].push(e.title),e.subGroups?e.subGroups.forEach(function(e){n(e,o+1)}):(r=0,t.forEach(function(e){var t=e.length;t>r&&(r=t)}),t.forEach(function(e){var t=e.length;if(t<r)for(var n=t;n<r;n++)e.push("")}))}return e.forEach(function(e){n(e,0)}),t},v.prototype.rowsToData=function(e,t,n){var o=this.table.columnManager.columnsByIndex,r=[];return e.forEach(function(e){var t=[],n=e instanceof i?e.getData("clipboard"):e;o.forEach(function(e){var o=e.getFieldValue(n);switch(void 0===o?"undefined":l(o)){case"object":o=JSON.stringify(o);break;case"undefined":case"null":o="";break;default:o=o}t.push(o)}),r.push(t)}),r},v.prototype.buildComplexRows=function(e){var t=this,n=[];return this.table.modules.groupRows.getGroups().forEach(function(e){n.push(t.processGroupData(e))}),n},v.prototype.processGroupData=function(e){var t=this,n=e.getSubGroups(),o={type:"group",key:e.key};return n.length?(o.subGroups=[],n.forEach(function(e){o.subGroups.push(t.processGroupData(e))})):o.rows=e.getRows(!0),o},v.prototype.getCalcRow=function(e,t,n){var o=e[t];return o&&(n&&(o=o[n]),Object.keys(o).length)?this.rowsToData([o]):[]},v.prototype.buildOutput=function(e,t,n){var o,r=this,i=[],a=this.table.columnManager.columnsByIndex;return t.columnHeaders&&("groups"==t.columnHeaders?(a=this.generateColumnGroupHeaders(this.table.columnManager.columns),i=i.concat(this.groupHeadersToRows(a))):i.push(this.generateSimpleHeaders(a))),this.config.columnCalcs&&(o=this.table.getCalcResults()),this.table.options.clipboardCopyStyled&&this.generateHTML(e,a,o,t,n),t.rowGroups?e.forEach(function(e){i=i.concat(r.parseRowGroupData(e,t,n,o||{}))}):(t.columnCalcs&&(i=i.concat(this.getCalcRow(o,"top"))),i=i.concat(this.rowsToData(e,t,n)),t.columnCalcs&&(i=i.concat(this.getCalcRow(o,"bottom")))),i},v.prototype.parseRowGroupData=function(e,t,n,o){var r=this,i=[];return i.push([e.key]),e.subGroups?e.subGroups.forEach(function(a){i=i.concat(r.parseRowGroupData(a,t,n,o[e.key]&&o[e.key].groups||{}))}):(t.columnCalcs&&(i=i.concat(this.getCalcRow(o,e.key,"top"))),i=i.concat(this.rowsToData(e.rows,t,n)),t.columnCalcs&&(i=i.concat(this.getCalcRow(o,e.key,"bottom")))),i},v.prototype.generateHTML=function(e,t,n,o,r){var a,s,u,c,d,p,f,m,h,g=this,b=[];function v(e,t,n){var o=e[t];o&&(n&&(o=o[n]),Object.keys(o).length&&y([o]))}function y(e){e.forEach(function(e,n){var o,r=document.createElement("tr"),f=d,m=!1;e instanceof i?o=e.getData("clipboard"):(o=e,m=!0),t.forEach(function(e,n){var i=document.createElement("td"),a=e.getFieldValue(o);switch(void 0===a?"undefined":l(a)){case"object":a=JSON.stringify(a);break;case"undefined":case"null":a="";break;default:a=a}i.innerHTML=a,e.definition.align&&(i.style.textAlign=e.definition.align),t.length,p&&g.mapElementStyles(p,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size"]),r.appendChild(i)}),m?f=c:(n%2||!s||(f=s),n%2&&u&&(f=u)),f&&g.mapElementStyles(f,r,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),a.appendChild(r)})}this.htmlElement=document.createElement("table"),g.mapElementStyles(this.table.element,this.htmlElement,["border-top","border-left","border-right","border-bottom"]),o.columnHeaders&&("groups"==o.columnHeaders?(t.forEach(function(e){!function e(t,n){void 0===b[n]&&(b[n]=[]),b[n].push({title:t.title,width:t.width,height:1,children:!!t.subGroups,element:t.column.getElement()}),t.subGroups&&t.subGroups.forEach(function(t){e(t,n+1)})}(e,0)}),b.forEach(function(e,t){e.forEach(function(e){e.children||(e.height=b.length-t)})}),function(e){var t=document.createElement("thead");e.forEach(function(e){var n=document.createElement("tr");e.forEach(function(e){var t=document.createElement("th");e.width>1&&(t.colSpan=e.width),e.height>1&&(t.rowSpan=e.height),t.innerHTML=e.title,g.mapElementStyles(e.element,t,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),n.appendChild(t)}),g.mapElementStyles(g.table.columnManager.getHeadersElement(),n,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),t.appendChild(n)}),g.htmlElement.appendChild(t)}(b)):(h=document.createElement("tr"),t.forEach(function(e){var t=document.createElement("th");t.innerHTML=e.definition.title,g.mapElementStyles(e.getElement(),t,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),h.appendChild(t)}),g.mapElementStyles(g.table.columnManager.getHeadersElement(),h,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),g.htmlElement.appendChild(document.createElement("thead").appendChild(h)))),t=this.table.columnManager.columnsByIndex,a=document.createElement("tbody"),window.getComputedStyle&&(s=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),u=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),c=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),d=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),f=this.table.element.getElementsByClassName("tabulator-group")[0],d&&(m=d.getElementsByClassName("tabulator-cell"),p=m[0],m[m.length-1])),o.rowGroups?e.forEach(function(e){!function e(n,r){var i=document.createElement("tr"),l=document.createElement("td");l.colSpan=t.length,l.innerHTML=n.key,i.appendChild(l),a.appendChild(i),g.mapElementStyles(f,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),n.subGroups?n.subGroups.forEach(function(t){e(t,r[n.key]&&r[n.key].groups||{})}):(o.columnCalcs&&v(r,n.key,"top"),y(n.rows),o.columnCalcs&&v(r,n.key,"bottom"))}(e,n||{})}):(o.columnCalcs&&v(n,"top"),y(e),o.columnCalcs&&v(n,"bottom")),this.htmlElement.appendChild(a)},v.prototype.mapElementStyles=function(e,t,n){var o={"background-color":"backgroundColor",color:"fontColor","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom"};if(window.getComputedStyle){var r=window.getComputedStyle(e);n.forEach(function(e){t.style[o[e]]=r.getPropertyValue(e)})}},v.prototype.copySelectors={userSelection:function(e,t){return t},selected:function(e,t){var n=[];return this.table.modExists("selectRow",!0)&&(n=this.table.modules.selectRow.getSelectedRows()),e.rowGroups&&console.warn("Clipboard Warning - select coptSelector does not support row groups"),this.buildOutput(n,e,t)},table:function(e,t){return e.rowGroups&&console.warn("Clipboard Warning - table coptSelector does not support row groups"),this.buildOutput(this.table.rowManager.getComponents(),e,t)},active:function(e,t){var n;return n=e.rowGroups?this.buildComplexRows(e):this.table.rowManager.getComponents(!0),this.buildOutput(n,e,t)}},v.prototype.copyFormatters={raw:function(e,t){return e},table:function(e,t){var n=[];return e.forEach(function(e){e.forEach(function(e){void 0===e&&(e=""),(e=null==e?"":e.toString()).match(/\r|\n/)&&(e='"'+(e=e.split('"').join('""'))+'"')}),n.push(e.join("\t"))}),n.join("\n")}},v.prototype.pasteParsers={table:function(e){var t=[],n=!0,o=this.table.columnManager.columns,r=[],i=[];return(e=e.split("\n")).forEach(function(e){t.push(e.split("\t"))}),!(!t.length||1===t.length&&t[0].length<2)&&(!0,t[0].forEach(function(e){var t=o.find(function(t){return e&&t.definition.title&&e.trim()&&t.definition.title.trim()===e.trim()});t?r.push(t):n=!1}),n||(n=!0,r=[],t[0].forEach(function(e){var t=o.find(function(t){return e&&t.field&&e.trim()&&t.field.trim()===e.trim()});t?r.push(t):n=!1}),n||(r=this.table.columnManager.columnsByIndex)),n&&t.shift(),t.forEach(function(e){var t={};e.forEach(function(e,n){r[n]&&(t[r[n].field]=e)}),i.push(t)}),i)}},v.prototype.pasteActions={replace:function(e){return this.table.setData(e)},update:function(e){return this.table.updateOrAddData(e)},insert:function(e){return this.table.addData(e)}},d.prototype.registerModule("clipboard",v);var y=function(e){this.table=e,this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.displayIndex=0};y.prototype.initialize=function(){var e=null,t=this.table.columnManager.getFirstVisibileColumn(),n=this.table.options;switch(this.field=n.dataTreeChildField,this.indent=n.dataTreeChildIndent,this.elementField=n.dataTreeElementColumn||!!t&&t.field,n.dataTreeBranchElement&&(!0===n.dataTreeBranchElement?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):"string"==typeof n.dataTreeBranchElement?((e=document.createElement("div")).innerHTML=n.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=n.dataTreeBranchElement),n.dataTreeCollapseElement?"string"==typeof n.dataTreeCollapseElement?((e=document.createElement("div")).innerHTML=n.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=n.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.innerHTML="<div class='tabulator-data-tree-control-collapse'></div>"),n.dataTreeExpandElement?"string"==typeof n.dataTreeExpandElement?((e=document.createElement("div")).innerHTML=n.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=n.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.innerHTML="<div class='tabulator-data-tree-control-expand'></div>"),l(n.dataTreeStartExpanded)){case"boolean":this.startOpen=function(e,t){return n.dataTreeStartExpanded};break;case"function":this.startOpen=n.dataTreeStartExpanded;break;default:this.startOpen=function(e,t){return n.dataTreeStartExpanded[t]}}},y.prototype.initializeRow=function(e){var t=e.getData()[this.field],n=Array.isArray(t),o=n||!n&&"object"===(void 0===t?"undefined":l(t))&&null!==t;e.modules.dataTree={index:0,open:!!o&&this.startOpen(e.getComponent(),0),controlEl:!1,branchEl:!1,parent:!1,children:o}},y.prototype.layoutRow=function(e){var t=(this.elementField?e.getCell(this.elementField):e.getCells()[0]).getElement(),n=e.modules.dataTree;n.branchEl&&n.branchEl.parentNode.removeChild(n.branchEl),this.generateControlElement(e,t),n.index&&(this.branchEl?(n.branchEl=this.branchEl.cloneNode(!0),t.insertBefore(n.branchEl,t.firstChild),n.branchEl.style.marginLeft=(n.branchEl.offsetWidth+n.branchEl.style.marginRight)*(n.index-1)+n.index*this.indent+"px"):t.style.paddingLeft=parseInt(window.getComputedStyle(t,null).getPropertyValue("padding-left"))+n.index*this.indent+"px")},y.prototype.generateControlElement=function(e,t){var n=this,o=e.modules.dataTree,r=(t=t||e.getCells()[0].getElement(),o.controlEl);!1!==o.children&&(o.open?(o.controlEl=this.collapseEl.cloneNode(!0),o.controlEl.addEventListener("click",function(t){t.stopPropagation(),n.collapseRow(e)})):(o.controlEl=this.expandEl.cloneNode(!0),o.controlEl.addEventListener("click",function(t){t.stopPropagation(),n.expandRow(e)})),o.controlEl.addEventListener("mousedown",function(e){e.stopPropagation()}),r&&r.parentNode===t?r.parentNode.replaceChild(o.controlEl,r):t.insertBefore(o.controlEl,t.firstChild))},y.prototype.setDisplayIndex=function(e){this.displayIndex=e},y.prototype.getDisplayIndex=function(){return this.displayIndex},y.prototype.getRows=function(e){var t=this,n=[];return e.forEach(function(e,o){var r;n.push(e),e instanceof a&&((r=e.modules.dataTree.children).index||!1===r.children||t.getChildren(e).forEach(function(e){n.push(e)}))}),n},y.prototype.getChildren=function(e){var t=this,n=e.modules.dataTree,o=[],r=[];return!1!==n.children&&n.open&&(Array.isArray(n.children)||(n.children=this.generateChildren(e)),o=this.table.modExists("filter")?this.table.modules.filter.filter(n.children):n.children,this.table.modExists("sort")&&this.table.modules.sort.sort(o),o.forEach(function(e){r.push(e),t.getChildren(e).forEach(function(e){r.push(e)})})),r},y.prototype.generateChildren=function(e){var t=this,n=[],o=e.getData()[this.field];return Array.isArray(o)||(o=[o]),o.forEach(function(o){var r=new a(o||{},t.table.rowManager);r.modules.dataTree.index=e.modules.dataTree.index+1,r.modules.dataTree.parent=e,r.modules.dataTree.children&&(r.modules.dataTree.open=t.startOpen(r.getComponent(),r.modules.dataTree.index)),n.push(r)}),n},y.prototype.expandRow=function(e,t){var n=e.modules.dataTree;!1!==n.children&&(n.open=!0,e.reinitialize(),this.table.rowManager.refreshActiveData("tree",!1,!0),this.table.options.dataTreeRowExpanded(e.getComponent(),e.modules.dataTree.index))},y.prototype.collapseRow=function(e){var t=e.modules.dataTree;!1!==t.children&&(t.open=!1,e.reinitialize(),this.table.rowManager.refreshActiveData("tree",!1,!0),this.table.options.dataTreeRowCollapsed(e.getComponent(),e.modules.dataTree.index))},y.prototype.toggleRow=function(e){var t=e.modules.dataTree;!1!==t.children&&(t.open?this.collapseRow(e):this.expandRow(e))},y.prototype.getTreeParent=function(e){return!!e.modules.dataTree.parent&&e.modules.dataTree.parent.getComponent()},y.prototype.getTreeChildren=function(e){var t=e.modules.dataTree,n=[];return t.children&&(Array.isArray(t.children)||(t.children=this.generateChildren(e)),t.children.forEach(function(e){e instanceof a&&n.push(e.getComponent())})),n},y.prototype.checkForRestyle=function(e){e.row.cells.indexOf(e)||!1!==e.row.modules.dataTree.children&&e.row.reinitialize()},y.prototype.getChildField=function(){return this.field},d.prototype.registerModule("dataTree",y);var w=function(e){this.table=e,this.fields={},this.columnsByIndex=[],this.columnsByField={},this.config={}};w.prototype.download=function(e,t,n,o){var r=this,i=!1;this.processConfig(),"function"==typeof e?i=e:r.downloaders[e]?i=r.downloaders[e]:console.warn("Download Error - No such download type found: ",e),this.processColumns(),i&&i.call(this,r.processDefinitions(),r.processData(),n||{},function(n,i){o?!0===o?r.triggerDownload(n,i,e,t,!0):o(n):r.triggerDownload(n,i,e,t)},this.config)},w.prototype.processConfig=function(){var e={columnGroups:!0,rowGroups:!0,columnCalcs:!0};if(this.table.options.downloadConfig)for(var t in this.table.options.downloadConfig)e[t]=this.table.options.downloadConfig[t];e.rowGroups&&this.table.options.groupBy&&this.table.modExists("groupRows")&&(this.config.rowGroups=!0),e.columnGroups&&this.table.columnManager.columns.length!=this.table.columnManager.columnsByIndex.length&&(this.config.columnGroups=!0),e.columnCalcs&&this.table.modExists("columnCalcs")&&(this.config.columnCalcs=!0)},w.prototype.processColumns=function(){var e=this;e.columnsByIndex=[],e.columnsByField={},e.table.columnManager.columnsByIndex.forEach(function(t){t.field&&!1!==t.definition.download&&(t.visible||!t.visible&&t.definition.download)&&(e.columnsByIndex.push(t),e.columnsByField[t.field]=t)})},w.prototype.processDefinitions=function(){var e=this,t=[];return this.config.columnGroups?e.table.columnManager.columns.forEach(function(n){var o=e.processColumnGroup(n);o&&t.push(o)}):e.columnsByIndex.forEach(function(n){!1!==n.download&&t.push(e.processDefinition(n))}),t},w.prototype.processColumnGroup=function(e){var t=this,n=e.columns,o=0,r=this.processDefinition(e),i={type:"group",title:r.title,depth:1};if(n.length){if(i.subGroups=[],i.width=0,n.forEach(function(e){var n=t.processColumnGroup(e);n.depth>o&&(o=n.depth),n&&(i.width+=n.width,i.subGroups.push(n))}),i.depth+=o,!i.width)return!1}else{if(!e.field||!1===e.definition.download||!(e.visible||!e.visible&&e.definition.download))return!1;i.width=1,i.definition=r}return i},w.prototype.processDefinition=function(e){var t={};for(var n in e.definition)t[n]=e.definition[n];return void 0!==e.definition.downloadTitle&&(t.title=e.definition.downloadTitle),t},w.prototype.processData=function(){var e=this,t=[],n={};return this.config.rowGroups?this.table.modules.groupRows.getGroups().forEach(function(n){t.push(e.processGroupData(n))}):t=this.table.rowManager.getData(!0,"download"),this.config.columnCalcs&&(n=this.table.getCalcResults(),t={calcs:n,data:t}),"function"==typeof this.table.options.downloadDataFormatter&&(t=this.table.options.downloadDataFormatter(t)),t},w.prototype.processGroupData=function(e){var t=this,n=e.getSubGroups(),o={type:"group",key:e.key};return n.length?(o.subGroups=[],n.forEach(function(e){o.subGroups.push(t.processGroupData(e))})):o.rows=e.getData(!0,"download"),o},w.prototype.triggerDownload=function(e,t,n,o,r){var i=document.createElement("a"),a=new Blob([e],{type:t});o=o||"Tabulator."+("function"==typeof n?"txt":n);(a=this.table.options.downloadReady.call(this.table,e,a))&&(r?window.open(window.URL.createObjectURL(a)):navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(a,o):(i.setAttribute("href",window.URL.createObjectURL(a)),i.setAttribute("download",o),i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i)),this.table.options.downloadComplete&&this.table.options.downloadComplete())},w.prototype.getFieldValue=function(e,t){var n=this.columnsByField[e];return!!n&&n.getFieldValue(t)},w.prototype.commsReceived=function(e,t,n){switch(t){case"intercept":this.download(n.type,"",n.options,n.intercept)}},w.prototype.downloaders={csv:function(e,t,n,o,r){var i,a,s=this,u=[],c=[],d=n&&n.delimiter?n.delimiter:",";function p(e){e.forEach(function(e){var t=[];c.forEach(function(n){var o=s.getFieldValue(n,e);switch(void 0===o?"undefined":l(o)){case"object":o=JSON.stringify(o);break;case"undefined":case"null":o="";break;default:o=o}t.push('"'+String(o).split('"').join('""')+'"')}),i.push(t.join(d))})}r.columnGroups?(console.warn("Download Warning - CSV downloader cannot process column groups"),e.forEach(function(e){!function e(t,n){t.subGroups?t.subGroups.forEach(function(t){e(t,n+1)}):(u.push('"'+String(t.title).split('"').join('""')+'"'),c.push(t.definition.field))}(e,0)})):e.forEach(function(e){u.push('"'+String(e.title).split('"').join('""')+'"'),c.push(e.field)}),i=[u.join(d)],r.columnCalcs&&(console.warn("Download Warning - CSV downloader cannot process column calculations"),t=t.data),r.rowGroups?(console.warn("Download Warning - CSV downloader cannot process row groups"),t.forEach(function(e){!function e(t){t.subGroups?t.subGroups.forEach(function(t){e(t)}):p(t.rows)}(e)})):p(t),a=i.join("\n"),n.bom&&(a="\ufeff"+a),o(a,"text/csv")},json:function(e,t,n,o,r){r.columnCalcs&&(console.warn("Download Warning - CSV downloader cannot process column calculations"),t=t.data),o(JSON.stringify(t,null,"\t"),"application/json")},pdf:function(e,t,n,o,r){var i=this,a=[],s=[],u=[],c={},d=1,p={},f=n.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},m=n.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},h=n.jsPDF||{},g=n&&n.title?n.title:"";if(r.columnCalcs&&(c=t.calcs,t=t.data),h.orientation||(h.orientation=n.orientation||"landscape"),h.unit||(h.unit="pt"),r.columnGroups){e.forEach(function(e){e.depth>d&&(d=e.depth)});for(var b=0;b<d;b++)s.push([]);e.forEach(function(e){!function e(t,n){var o=t.width,r=1,i={content:t.title||""};if(t.subGroups?(t.subGroups.forEach(function(t){e(t,n+1)}),r=1):(a.push(t.definition.field),r=d-n),i.rowSpan=r,s[n].push(i),o--,r>1)for(var l=n+1;l<d;l++)s[l].push("");for(l=0;l<o;l++)s[n].push("")}(e,0)})}else e.forEach(function(e){e.field&&(s.push(e.title||""),a.push(e.field))}),s=[s];function v(e){switch(void 0===e?"undefined":l(e)){case"object":e=JSON.stringify(e);break;case"undefined":case"null":e="";break;default:e=e}return e}function y(e){e.forEach(function(e){u.push(w(e))})}function w(e,t){var n=[];return a.forEach(function(o){var r=i.getFieldValue(o,e);r=v(r),t?n.push({content:r,styles:t}):n.push(r)}),n}function x(e,t,n){var o=e[t];o&&(n&&(o=o[n]),Object.keys(o).length&&u.push(w(o,m)))}r.rowGroups?t.forEach(function(e){!function e(t,n){var o=[];o.push({content:v(t.key),colSpan:a.length,styles:f}),u.push(o),t.subGroups?t.subGroups.forEach(function(o){e(o,n[t.key]&&n[t.key].groups||{})}):(r.columnCalcs&&x(n,t.key,"top"),y(t.rows),r.columnCalcs&&x(n,t.key,"bottom"))}(e,c)}):(r.columnCalcs&&x(c,"top"),y(t),r.columnCalcs&&x(c,"bottom"));var E=new jsPDF(h);n&&n.autoTable&&(p="function"==typeof n.autoTable?n.autoTable(E)||{}:n.autoTable),g&&(p.addPageContent=function(e){E.text(g,40,30)}),p.head=s,p.body=u,E.autoTable(p),n&&n.documentProcessing&&n.documentProcessing(E),o(E.output("arraybuffer"),"application/pdf")},xlsx:function(e,t,n,o,r){var i=this,a=n.sheetName||"Sheet1",s={SheetNames:[],Sheets:{}},u={},c=[],d=[],p=[];function f(){var n=[],o=[],a=[];function s(e,t){var r;void 0===n[t]&&(n[t]=[]),void 0===d[t]&&(d[t]=[]),e.width>1&&d[t].push({type:"hoz",start:n[t].length,end:n[t].length+e.width-1}),n[t].push(e.title),e.subGroups?e.subGroups.forEach(function(e){s(e,t+1)}):(o.push(e.definition.field),o.length,r=0,n.forEach(function(e){var t=e.length;t>r&&(r=t)}),n.forEach(function(e){var t=e.length;if(t<r)for(var n=t;n<r;n++)e.push("")}),d[t].push({type:"vert",start:o.length-1}))}function f(e){e.forEach(function(e){a.push(m(e))})}function m(e){var t=[];return o.forEach(function(n){var o=i.getFieldValue(n,e);t.push(o instanceof Date||"object"!==(void 0===o?"undefined":l(o))?o:JSON.stringify(o))}),t}function h(e,t,n){var o=e[t];o&&(n&&(o=o[n]),Object.keys(o).length&&(p.push(a.length),a.push(m(o))))}return r.columnGroups?(e.forEach(function(e){s(e,0)}),n.forEach(function(e){a.push(e)})):(e.forEach(function(e){n.push(e.title),o.push(e.field)}),a.push(n)),r.rowGroups?t.forEach(function(e){!function e(t,n){var o=[];o.push(t.key),c.push(a.length),a.push(o),t.subGroups?t.subGroups.forEach(function(o){e(o,n[t.key]&&n[t.key].groups||{})}):(r.columnCalcs&&h(n,t.key,"top"),f(t.rows),r.columnCalcs&&h(n,t.key,"bottom"))}(e,u)}):(r.columnCalcs&&h(u,"top"),f(t),r.columnCalcs&&h(u,"bottom")),function(){var e={},t={s:{c:0,r:0},e:{c:o.length,r:a.length}};XLSX.utils.sheet_add_aoa(e,a),e["!ref"]=XLSX.utils.encode_range(t);var r=function(){var e=[];return c.forEach(function(t){e.push({s:{r:t,c:0},e:{r:t,c:o.length-1}})}),d.forEach(function(t,o){t.forEach(function(t){"hoz"===t.type?e.push({s:{r:o,c:t.start},e:{r:o,c:t.end}}):o!=n.length-1&&e.push({s:{r:o,c:t.start},e:{r:n.length-1,c:t.start}})})}),e}();return r.length&&(e["!merges"]=r),e}()}if(r.columnCalcs&&(u=t.calcs,t=t.data),n.sheetOnly)o(f());else{if(n.sheets)for(var m in n.sheets)!0===n.sheets[m]?(s.SheetNames.push(m),s.Sheets[m]=f()):(s.SheetNames.push(m),this.table.modules.comms.send(n.sheets[m],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},intercept:function(e){s.Sheets[m]=e}}));else s.SheetNames.push(a),s.Sheets[a]=f();o(function(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),o=0;o!=e.length;++o)n[o]=255&e.charCodeAt(o);return t}(XLSX.write(s,{bookType:"xlsx",bookSST:!0,type:"binary"})),"application/octet-stream")}}},d.prototype.registerModule("download",w);var x=function(e){this.table=e,this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1};x.prototype.initializeColumn=function(e){var t={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(l(e.definition.editor)){case"string":"tick"===e.definition.editor&&(e.definition.editor="tickCross",console.warn("DEPRECATION WANRING - the tick editor has been depricated, please use the tickCross editor")),this.editors[e.definition.editor]?t.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":t.editor=e.definition.editor;break;case"boolean":!0===e.definition.editor&&("function"!=typeof e.definition.formatter?("tick"===e.definition.formatter&&(e.definition.formatter="tickCross",console.warn("DEPRECATION WANRING - the tick editor has been depricated, please use the tickCross editor")),this.editors[e.definition.formatter]?t.editor=this.editors[e.definition.formatter]:t.editor=this.editors.input):console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter))}t.editor&&(e.modules.edit=t)},x.prototype.getCurrentCell=function(){return!!this.currentCell&&this.currentCell.getComponent()},x.prototype.clearEditor=function(){var e,t=this.currentCell;if(this.invalidEdit=!1,t){for(this.currentCell=!1,(e=t.getElement()).classList.remove("tabulator-validation-fail"),e.classList.remove("tabulator-editing");e.firstChild;)e.removeChild(e.firstChild);t.row.getElement().classList.remove("tabulator-row-editing")}},x.prototype.cancelEdit=function(){if(this.currentCell){var e=this.currentCell,t=this.currentCell.getComponent();this.clearEditor(),e.setValueActual(e.getValue()),e.column.cellEvents.cellEditCancelled&&e.column.cellEvents.cellEditCancelled.call(this.table,t),this.table.options.cellEditCancelled.call(this.table,t)}},x.prototype.bindEditor=function(e){var t=this,n=e.getElement();n.setAttribute("tabindex",0),n.addEventListener("click",function(e){n.classList.contains("tabulator-editing")||n.focus()}),n.addEventListener("mousedown",function(e){t.mouseClick=!0}),n.addEventListener("focus",function(n){t.recursionBlock||t.edit(e,n,!1)})},x.prototype.focusCellNoEvent=function(e){this.recursionBlock=!0,"ie"!==this.table.browser&&e.getElement().focus(),this.recursionBlock=!1},x.prototype.editCell=function(e,t){this.focusCellNoEvent(e),this.edit(e,!1,t)},x.prototype.edit=function(e,t,n){var o,r,i,a=this,s=!0,u=function(){},c=e.getElement();if(!this.currentCell){if(e.column.modules.edit.blocked)return this.mouseClick=!1,c.blur(),!1;switch(t&&t.stopPropagation(),l(e.column.modules.edit.check)){case"function":s=e.column.modules.edit.check(e.getComponent());break;case"boolean":s=e.column.modules.edit.check}if(s||n){if(a.cancelEdit(),a.currentCell=e,r=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.cellEvents.cellClick&&e.column.cellEvents.cellClick.call(this.table,t,r)),e.column.cellEvents.cellEditing&&e.column.cellEvents.cellEditing.call(this.table,r),a.table.options.cellEditing.call(this.table,r),i="function"==typeof e.column.modules.edit.params?e.column.modules.edit.params(r):e.column.modules.edit.params,!1===(o=e.column.modules.edit.editor.call(a,r,function(e){u=e},function(t){if(a.currentCell===e){var n=!0;e.column.modules.validate&&a.table.modExists("validate")&&(n=a.table.modules.validate.validate(e.column.modules.validate,e.getComponent(),t)),!0===n?(a.clearEditor(),e.setValue(t,!0),a.table.options.dataTree&&a.table.modExists("dataTree")&&a.table.modules.dataTree.checkForRestyle(e)):(a.invalidEdit=!0,c.classList.add("tabulator-validation-fail"),a.focusCellNoEvent(e),u(),a.table.options.validationFailed.call(a.table,e.getComponent(),t,n))}},function(){a.currentCell===e&&(a.cancelEdit(),a.table.options.dataTree&&a.table.modExists("dataTree")&&a.table.modules.dataTree.checkForRestyle(e))},i)))return c.blur(),!1;if(!(o instanceof Node))return console.warn("Edit Error - Editor should return an instance of Node, the editor returned:",o),c.blur(),!1;for(c.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-row-editing");c.firstChild;)c.removeChild(c.firstChild);c.appendChild(o),u();for(var d=c.children,p=0;p<d.length;p++)d[p].addEventListener("click",function(e){e.stopPropagation()});return!0}return this.mouseClick=!1,c.blur(),!1}this.invalidEdit||this.cancelEdit()},x.prototype.editors={input:function(e,t,n,o,r){var i=e.getValue(),a=document.createElement("input");function l(e){null==i&&""!==a.value||a.value!=i?n(a.value):o()}return a.setAttribute("type",r.search?"search":"text"),a.style.padding="4px",a.style.width="100%",a.style.boxSizing="border-box",a.value=void 0!==i?i:"",t(function(){a.focus(),a.style.height="100%"}),a.addEventListener("change",l),a.addEventListener("blur",l),a.addEventListener("keydown",function(e){switch(e.keyCode){case 13:n(a.value);break;case 27:o()}}),a},textarea:function(e,t,n,o,r){var i=e.getValue(),a=String(null!=i?i:""),l=((a.match(/(?:\r\n|\r|\n)/g)||[]).length,document.createElement("textarea")),s=0;function u(t){null==i&&""!==l.value||l.value!=i?(n(l.value),setTimeout(function(){e.getRow().normalizeHeight()},300)):o()}return l.style.display="block",l.style.padding="2px",l.style.height="100%",l.style.width="100%",l.style.boxSizing="border-box",l.style.whiteSpace="pre-wrap",l.style.resize="none",l.value=a,t(function(){l.focus(),l.style.height="100%"}),l.addEventListener("change",u),l.addEventListener("blur",u),l.addEventListener("keyup",function(){l.style.height="";var t=l.scrollHeight;l.style.height=t+"px",t!=s&&(s=t,e.getRow().normalizeHeight())}),l.addEventListener("keydown",function(e){27==e.keyCode&&o()}),l},number:function(e,t,n,o,r){var i=e.getValue(),a=document.createElement("input");a.setAttribute("type","number"),void 0!==r.max&&a.setAttribute("max",r.max),void 0!==r.min&&a.setAttribute("min",r.min),void 0!==r.step&&a.setAttribute("step",r.step),a.style.padding="4px",a.style.width="100%",a.style.boxSizing="border-box",a.value=i;var l=function(e){s()};function s(){var e=a.value;isNaN(e)||""===e||(e=Number(e)),e!=i?n(e):o()}return t(function(){a.removeEventListener("blur",l),a.focus(),a.style.height="100%",a.addEventListener("blur",l)}),a.addEventListener("keydown",function(e){switch(e.keyCode){case 13:case 9:s();break;case 27:o()}}),a},range:function(e,t,n,o,r){var i=e.getValue(),a=document.createElement("input");function l(){var e=a.value;isNaN(e)||""===e||(e=Number(e)),e!=i?n(e):o()}return a.setAttribute("type","range"),void 0!==r.max&&a.setAttribute("max",r.max),void 0!==r.min&&a.setAttribute("min",r.min),void 0!==r.step&&a.setAttribute("step",r.step),a.style.padding="4px",a.style.width="100%",a.style.boxSizing="border-box",a.value=i,t(function(){a.focus(),a.style.height="100%"}),a.addEventListener("blur",function(e){l()}),a.addEventListener("keydown",function(e){switch(e.keyCode){case 13:case 9:l();break;case 27:o()}}),a},select:function(e,t,n,o,r){var i=this,a=e.getElement(),s=e.getValue(),u=document.createElement("input"),c=document.createElement("div"),p=[],f=[],m={},h=!0;function g(){var t={},n=e.getColumn()._getSelf();return i.table.getData().forEach(function(e){var o=n.getFieldValue(e);null!=o&&""!==o&&(t[o]=!0)}),t=r.sortValuesList?"asc"==r.sortValuesList?Object.keys(t).sort():Object.keys(t).sort().reverse():Object.keys(t)}function b(t,n){var o=[],i=[];function a(e){return(e={label:r.listItemFormatter?r.listItemFormatter(e.value,e.label):e.label,value:e.value,element:!1}).value!==n&&(isNaN(parseFloat(e.value))||isNaN(parseFloat(e.value))||parseFloat(e.value)!==parseFloat(n))||v(e),o.push(e),i.push(e),e}if("function"==typeof t&&(t=t(e)),Array.isArray(t))t.forEach(function(e){var t;"object"===(void 0===e?"undefined":l(e))?e.options?(t={label:e.label,group:!0,element:!1},i.push(t),e.options.forEach(function(e){a(e)})):a(e):((t={label:r.listItemFormatter?r.listItemFormatter(e,e):e,value:e,element:!1}).value!==n&&(isNaN(parseFloat(t.value))||isNaN(parseFloat(t.value))||parseFloat(t.value)!==parseFloat(n))||v(t),o.push(t),i.push(t))});else for(var s in t){var u={label:r.listItemFormatter?r.listItemFormatter(s,t[s]):t[s],value:s,element:!1};u.value!==n&&(isNaN(parseFloat(u.value))||isNaN(parseFloat(u.value))||parseFloat(u.value)!==parseFloat(n))||v(u),o.push(u),i.push(u)}p=o,f=i,function(){for(;c.firstChild;)c.removeChild(c.firstChild);f.forEach(function(e){var t=e.element;t||(e.group?((t=document.createElement("div")).classList.add("tabulator-edit-select-list-group"),t.tabIndex=0,t.innerHTML=""===e.label?"&nbsp;":e.label):((t=document.createElement("div")).classList.add("tabulator-edit-select-list-item"),t.tabIndex=0,t.innerHTML=""===e.label?"&nbsp;":e.label,t.addEventListener("click",function(){v(e),y()}),e===m&&t.classList.add("active")),t.addEventListener("mousedown",function(){h=!1,setTimeout(function(){h=!0},10)}),e.element=t),c.appendChild(t)})}()}function v(e){m&&m.element&&m.element.classList.remove("active"),m=e,u.value="&nbsp;"===e.label?"":e.label,e.element&&e.element.classList.add("active")}function y(){x(),s!==m.value?(s=m.value,n(m.value)):o()}function w(){x(),o()}function x(){c.parentNode&&c.parentNode.removeChild(c),i.table.rowManager.element.removeEventListener("scroll",w)}return this.table.rowManager.element.addEventListener("scroll",w),(Array.isArray(r)||!Array.isArray(r)&&"object"===(void 0===r?"undefined":l(r))&&!r.values)&&(console.warn("DEPRECATION WANRING - values for the select editor must now be passed into the values property of the editorParams object, not as the editorParams object"),r={values:r}),u.setAttribute("type","text"),u.style.padding="4px",u.style.width="100%",u.style.boxSizing="border-box",u.style.cursor="default",u.readOnly=0!=this.currentCell,u.value=void 0!==s||null===s?s:"",!0===r.values?b(g(),s):b(r.values||[],s),u.addEventListener("keydown",function(e){var t;switch(e.keyCode){case 38:e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),(t=p.indexOf(m))>0&&v(p[t-1]);break;case 40:e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),(t=p.indexOf(m))<p.length-1&&v(-1==t?p[0]:p[t+1]);break;case 37:case 39:e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault();break;case 13:y();break;case 27:w()}}),u.addEventListener("blur",function(e){h&&w()}),u.addEventListener("focus",function(e){!function(){if(!c.parentNode){!0===r.values?b(g(),s):b(r.values||[],s);var e=d.prototype.helpers.elOffset(a);c.style.minWidth=a.offsetWidth+"px",c.style.top=e.top+a.offsetHeight+"px",c.style.left=e.left+"px",document.body.appendChild(c)}}()}),(c=document.createElement("div")).classList.add("tabulator-edit-select-list"),t(function(){u.style.height="100%",u.focus()}),u},autocomplete:function(e,t,n,o,r){var i=this,a=e.getElement(),l=e.getValue(),s=document.createElement("input"),u=document.createElement("div"),c=[],p=[],f=[],m={},h=!0;function g(e,t){var n=[],o=[];r.searchFunc?(c.forEach(function(e){o.push(e.search)}),r.searchFunc(e,o).forEach(function(e){var t=c.find(function(t){return t.search===e});t&&n.push(t)})):""===e?r.showListOnEmpty&&c.forEach(function(e){n.push(e)}):c.forEach(function(t){null===t.value&&void 0===t.value||(String(t.value).toLowerCase().indexOf(String(e).toLowerCase())>-1||String(t.title).toLowerCase().indexOf(String(e).toLowerCase())>-1)&&n.push(t)}),p=n,function(e){var t=!1;for(;u.firstChild;)u.removeChild(u.firstChild);p.forEach(function(n){var o=n.element;o||((o=document.createElement("div")).classList.add("tabulator-edit-select-list-item"),o.tabIndex=0,o.innerHTML=n.title,o.addEventListener("click",function(){b(n),v()}),o.addEventListener("mousedown",function(){h=!1,setTimeout(function(){h=!0},10)}),n.element=o,e&&n.value==l&&(s.value=n.title,n.element.classList.add("active"),t=!0),n===m&&(n.element.classList.add("active"),t=!0)),u.appendChild(o)}),t||b(!1)}(t)}function b(e,t){m&&m.element&&m.element.classList.remove("active"),m=e,e&&e.element&&e.element.classList.add("active")}function v(){x(),m?l!==m.value?(l=m.value,s.value=m.title,n(m.value)):o():r.freetext?(l=s.value,n(s.value)):r.allowEmpty&&""===s.value?(l=s.value,n(s.value)):o()}function y(){x(),o()}function w(){if(!u.parentNode){for(;u.firstChild;)u.removeChild(u.firstChild);!0===r.values?(n={},o=e.getColumn()._getSelf(),i.table.getData().forEach(function(e){var t=o.getFieldValue(e);null!=t&&""!==t&&(n[t]=!0)}),f=n=r.sortValuesList?"asc"==r.sortValuesList?Object.keys(n).sort():Object.keys(n).sort().reverse():Object.keys(n)):f=r.values||[],function(e,t){var n=[];if(Array.isArray(e))e.forEach(function(e){var o={title:r.listItemFormatter?r.listItemFormatter(e,e):e,value:e,element:!1};o.value!==t&&(isNaN(parseFloat(o.value))||isNaN(parseFloat(o.value))||parseFloat(o.value)!==parseFloat(t))||b(o),n.push(o)});else for(var o in e){var i={title:r.listItemFormatter?r.listItemFormatter(o,e[o]):e[o],value:o,element:!1};i.value!==t&&(isNaN(parseFloat(i.value))||isNaN(parseFloat(i.value))||parseFloat(i.value)!==parseFloat(t))||b(i),n.push(i)}r.searchFunc&&n.forEach(function(e){e.search={title:e.title,value:e.value}}),c=n}(f,l);var t=d.prototype.helpers.elOffset(a);u.style.minWidth=a.offsetWidth+"px",u.style.top=t.top+a.offsetHeight+"px",u.style.left=t.left+"px",document.body.appendChild(u)}var n,o}function x(){u.parentNode&&u.parentNode.removeChild(u),i.table.rowManager.element.removeEventListener("scroll",y)}return this.table.rowManager.element.addEventListener("scroll",y),s.setAttribute("type","search"),s.style.padding="4px",s.style.width="100%",s.style.boxSizing="border-box",s.addEventListener("keydown",function(e){var t;switch(e.keyCode){case 38:e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),b((t=p.indexOf(m))>0&&p[t-1]);break;case 40:e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),(t=p.indexOf(m))<p.length-1&&b(-1==t?p[0]:p[t+1]);break;case 37:case 39:e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault();break;case 13:v();break;case 27:y();break;case 36:case 35:e.stopImmediatePropagation()}}),s.addEventListener("keyup",function(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:g(s.value)}}),s.addEventListener("search",function(e){g(s.value)}),s.addEventListener("blur",function(e){h&&v()}),s.addEventListener("focus",function(e){var t=void 0!==l||null===l?l:"";w(),s.value=t,g(t,!0)}),(u=document.createElement("div")).classList.add("tabulator-edit-select-list"),t(function(){s.style.height="100%",s.focus()}),s},star:function(e,t,n,o,r){var i=this,a=e.getElement(),l=e.getValue(),s=a.getElementsByTagName("svg").length||5,u=a.getElementsByTagName("svg")[0]?a.getElementsByTagName("svg")[0].getAttribute("width"):14,c=[],d=document.createElement("div"),p=document.createElementNS("http://www.w3.org/2000/svg","svg");function f(e){c.forEach(function(t,n){n<e?("ie"==i.table.browser?t.setAttribute("class","tabulator-star-active"):t.classList.replace("tabulator-star-inactive","tabulator-star-active"),t.innerHTML='<polygon fill="#488CE9" stroke="#014AAE" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>'):("ie"==i.table.browser?t.setAttribute("class","tabulator-star-inactive"):t.classList.replace("tabulator-star-active","tabulator-star-inactive"),t.innerHTML='<polygon fill="#010155" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>')})}function m(e){var t=document.createElement("span"),o=p.cloneNode(!0);c.push(o),t.addEventListener("mouseenter",function(t){t.stopPropagation(),t.stopImmediatePropagation(),f(e)}),t.addEventListener("mousemove",function(e){e.stopPropagation(),e.stopImmediatePropagation()}),t.addEventListener("click",function(t){t.stopPropagation(),t.stopImmediatePropagation(),n(e)}),t.appendChild(o),d.appendChild(t)}function h(e){l=e,f(e)}a.style.whiteSpace="nowrap",a.style.overflow="hidden",a.style.textOverflow="ellipsis",d.style.verticalAlign="middle",d.style.display="inline-block",d.style.padding="4px",p.setAttribute("width",u),p.setAttribute("height",u),p.setAttribute("viewBox","0 0 512 512"),p.setAttribute("xml:space","preserve"),p.style.padding="0 1px";for(var g=1;g<=s;g++)m(g);return f(l=Math.min(parseInt(l),s)),d.addEventListener("mousemove",function(e){f(0)}),d.addEventListener("click",function(e){n(0)}),a.addEventListener("blur",function(e){o()}),a.addEventListener("keydown",function(e){switch(e.keyCode){case 39:h(l+1);break;case 37:h(l-1);break;case 13:n(l);break;case 27:o()}}),d},progress:function(e,t,n,o,r){var i,a,l=e.getElement(),s=void 0===r.max?l.getElementsByTagName("div")[0].getAttribute("max")||100:r.max,u=void 0===r.min?l.getElementsByTagName("div")[0].getAttribute("min")||0:r.min,c=(s-u)/100,d=e.getValue()||0,p=document.createElement("div"),f=document.createElement("div");function m(){var e=c*Math.round(f.offsetWidth/(l.clientWidth/100))+u;n(e),l.setAttribute("aria-valuenow",e),l.setAttribute("aria-label",d)}return p.style.position="absolute",p.style.right="0",p.style.top="0",p.style.bottom="0",p.style.width="5px",p.classList.add("tabulator-progress-handle"),f.style.display="inline-block",f.style.position="relative",f.style.height="100%",f.style.backgroundColor="#488CE9",f.style.maxWidth="100%",f.style.minWidth="0%",l.style.padding="4px 4px",d=Math.min(parseFloat(d),s),d=Math.max(parseFloat(d),u),d=Math.round((d-u)/c),f.style.width=d+"%",l.setAttribute("aria-valuemin",u),l.setAttribute("aria-valuemax",s),f.appendChild(p),p.addEventListener("mousedown",function(e){i=e.screenX,a=f.offsetWidth}),p.addEventListener("mouseover",function(){p.style.cursor="ew-resize"}),l.addEventListener("mousemove",function(e){i&&(f.style.width=a+e.screenX-i+"px")}),l.addEventListener("mouseup",function(e){i&&(e.stopPropagation(),e.stopImmediatePropagation(),i=!1,a=!1,m())}),l.addEventListener("keydown",function(e){switch(e.keyCode){case 39:f.style.width=f.clientWidth+l.clientWidth/100+"px";break;case 37:f.style.width=f.clientWidth-l.clientWidth/100+"px";break;case 13:m();break;case 27:o()}}),l.addEventListener("blur",function(){o()}),f},tickCross:function(e,t,n,o,r){var i=e.getValue(),a=document.createElement("input"),l=r.tristate,s=void 0===r.indeterminateValue?null:r.indeterminateValue,u=!1;function c(e){return l?e?u?s:a.checked:a.checked&&!u?(a.checked=!1,a.indeterminate=!0,u=!0,s):(u=!1,a.checked):a.checked}return a.setAttribute("type","checkbox"),a.style.marginTop="5px",a.style.boxSizing="border-box",a.value=i,!l||void 0!==i&&i!==s&&""!==i||(u=!0,a.indeterminate=!0),"firefox"!=this.table.browser&&t(function(){a.focus()}),a.checked=!0===i||"true"===i||"True"===i||1===i,a.addEventListener("change",function(e){n(c())}),a.addEventListener("blur",function(e){n(c(!0))}),a.addEventListener("keydown",function(e){13==e.keyCode&&n(c()),27==e.keyCode&&o()}),a}},d.prototype.registerModule("edit",x);var E=function(e){this.table=e,this.filterList=[],this.headerFilters={},this.headerFilterElements=[],this.headerFilterColumns=[],this.changed=!1};E.prototype.initializeColumn=function(e,t){var n,o=this,r=e.getField();e.modules.filter={success:function(t){var i,a="input"==e.modules.filter.tagType&&"text"==e.modules.filter.attrType||"textarea"==e.modules.filter.tagType?"partial":"match",s="";if(void 0===n||n!==t){if(n=t,e.modules.filter.emptyFunc(t))delete o.headerFilters[r];else{switch(e.modules.filter.value=t,l(e.definition.headerFilterFunc)){case"string":o.filters[e.definition.headerFilterFunc]?(s=e.definition.headerFilterFunc,i=function(n){var r=e.definition.headerFilterFuncParams||{},i=e.getFieldValue(n);return r="function"==typeof r?r(t,i,n):r,o.filters[e.definition.headerFilterFunc](t,i,n,r)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":s=i=function(n){var o=e.definition.headerFilterFuncParams||{},r=e.getFieldValue(n);return o="function"==typeof o?o(t,r,n):o,e.definition.headerFilterFunc(t,r,n,o)}}if(!i)switch(a){case"partial":i=function(n){var o=e.getFieldValue(n);return null!=o&&String(o).toLowerCase().indexOf(String(t).toLowerCase())>-1},s="like";break;default:i=function(n){return e.getFieldValue(n)==t},s="="}o.headerFilters[r]={value:t,func:i,type:s}}o.changed=!0,o.table.rowManager.filterRefresh()}},attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)},E.prototype.generateHeaderFilterElement=function(e,t){var n,o,r,i,a,s,u,c=this,d=this,p=e.modules.filter.success,f=e.getField();if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode){var m=e.modules.filter.headerElement.parentNode,h=d.headerFilterElements.indexOf(m);h>=0&&d.headerFilterElements.splice(h,1);var g=d.headerFilterColumns.indexOf(g);g>=0&&d.headerFilterColumns.splice(g,1),e.contentElement.removeChild(m)}if(f){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(e){return!e&&"0"!==e},(n=document.createElement("div")).classList.add("tabulator-header-filter"),l(e.definition.headerFilter)){case"string":d.table.modules.edit.editors[e.definition.headerFilter]?(o=d.table.modules.edit.editors[e.definition.headerFilter],"tick"!==e.definition.headerFilter&&"tickCross"!==e.definition.headerFilter||e.definition.headerFilterEmptyCheck||(e.modules.filter.emptyFunc=function(e){return!0!==e&&!1!==e})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":o=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?o=e.modules.edit.editor:e.definition.formatter&&d.table.modules.edit.editors[e.definition.formatter]?(o=d.table.modules.edit.editors[e.definition.formatter],"tick"!==e.definition.formatter&&"tickCross"!==e.definition.formatter||e.definition.headerFilterEmptyCheck||(e.modules.filter.emptyFunc=function(e){return!0!==e&&!1!==e})):o=d.table.modules.edit.editors.input}if(o){if(i={getValue:function(){return void 0!==t?t:""},getField:function(){return e.definition.field},getElement:function(){return n},getColumn:function(){return e.getComponent()},getRow:function(){return{normalizeHeight:function(){}}}},u="function"==typeof(u=e.definition.headerFilterParams||{})?u.call(d.table):u,!(r=o.call(this.table.modules.edit,i,function(){},p,function(){},u)))return void console.warn("Filter Error - Cannot add filter to "+f+" column, editor returned a value of false");if(!(r instanceof Node))return void console.warn("Filter Error - Cannot add filter to "+f+" column, editor should return an instance of Node, the editor returned:",r);f?d.table.modules.localize.bind("headerFilters|columns|"+e.definition.field,function(e){r.setAttribute("placeholder",void 0!==e&&e?e:d.table.modules.localize.getText("headerFilters|default"))}):d.table.modules.localize.bind("headerFilters|default",function(e){r.setAttribute("placeholder",void 0!==d.column.definition.headerFilterPlaceholder&&d.column.definition.headerFilterPlaceholder?d.column.definition.headerFilterPlaceholder:e)}),r.addEventListener("click",function(e){e.stopPropagation(),r.focus()}),r.addEventListener("focus",function(e){var t=c.table.columnManager.element.scrollLeft;t!==c.table.rowManager.element.scrollLeft&&(c.table.rowManager.scrollHorizontal(t),c.table.columnManager.scrollHorizontal(t))}),a=!1,s=function(e){a&&clearTimeout(a),a=setTimeout(function(){p(r.value)},300)},e.modules.filter.headerElement=r,e.modules.filter.attrType=r.hasAttribute("type")?r.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=r.tagName.toLowerCase(),!1!==e.definition.headerFilterLiveFilter&&("autocomplete"!==e.definition.headerFilter&&"tickCross"!==e.definition.headerFilter&&("autocomplete"!==e.definition.editor&&"tickCross"!==e.definition.editor||!0!==e.definition.headerFilter)&&(r.addEventListener("keyup",s),r.addEventListener("search",s),"number"==e.modules.filter.attrType&&r.addEventListener("change",function(e){p(r.value)}),"text"==e.modules.filter.attrType&&"ie"!==this.table.browser&&r.setAttribute("type","search")),"input"!=e.modules.filter.tagType&&"select"!=e.modules.filter.tagType&&"textarea"!=e.modules.filter.tagType||r.addEventListener("mousedown",function(e){e.stopPropagation()})),n.appendChild(r),e.contentElement.appendChild(n),d.headerFilterElements.push(r),d.headerFilterColumns.push(e)}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)},E.prototype.hideHeaderFilterElements=function(){this.headerFilterElements.forEach(function(e){e.style.display="none"})},E.prototype.showHeaderFilterElements=function(){this.headerFilterElements.forEach(function(e){e.style.display=""})},E.prototype.setHeaderFilterFocus=function(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())},E.prototype.setHeaderFilterValue=function(e,t){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,t),e.modules.filter.success(t)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))},E.prototype.reloadHeaderFilter=function(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value):console.warn("Column Filter Error - No header filter set on column:",e.getField()))},E.prototype.hasChanged=function(){var e=this.changed;return this.changed=!1,e},E.prototype.setFilter=function(e,t,n){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:t,value:n}]),this.addFilter(e)},E.prototype.addFilter=function(e,t,n){var o=this;Array.isArray(e)||(e=[{field:e,type:t,value:n}]),e.forEach(function(e){(e=o.findFilter(e))&&(o.filterList.push(e),o.changed=!0)}),this.table.options.persistentFilter&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.save("filter")},E.prototype.findFilter=function(e){var t,n=this;if(Array.isArray(e))return this.findSubFilters(e);var o=!1;return"function"==typeof e.field?o=function(t){return e.field(t,e.type||{})}:n.filters[e.type]?o=(t=n.table.columnManager.getColumnByField(e.field))?function(o){return n.filters[e.type](e.value,t.getFieldValue(o))}:function(t){return n.filters[e.type](e.value,t[e.field])}:console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=o,!!e.func&&e},E.prototype.findSubFilters=function(e){var t=this,n=[];return e.forEach(function(e){(e=t.findFilter(e))&&n.push(e)}),!!n.length&&n},E.prototype.getFilters=function(e,t){var n=[];return e&&(n=this.getHeaderFilters()),t&&n.forEach(function(e){"function"==typeof e.type&&(e.type="function")}),n=n.concat(this.filtersToArray(this.filterList,t))},E.prototype.filtersToArray=function(e,t){var n=this,o=[];return e.forEach(function(e){var r;Array.isArray(e)?o.push(n.filtersToArray(e,t)):(r={field:e.field,type:e.type,value:e.value},t&&"function"==typeof r.type&&(r.type="function"),o.push(r))}),o},E.prototype.getHeaderFilters=function(){var e=[];for(var t in this.headerFilters)e.push({field:t,type:this.headerFilters[t].type,value:this.headerFilters[t].value});return e},E.prototype.removeFilter=function(e,t,n){var o=this;Array.isArray(e)||(e=[{field:e,type:t,value:n}]),e.forEach(function(e){var t=-1;(t="object"==l(e.field)?o.filterList.findIndex(function(t){return e===t}):o.filterList.findIndex(function(t){return e.field===t.field&&e.type===t.type&&e.value===t.value}))>-1?(o.filterList.splice(t,1),o.changed=!0):console.warn("Filter Error - No matching filter type found, ignoring: ",e.type)}),this.table.options.persistentFilter&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.save("filter")},E.prototype.clearFilter=function(e){this.filterList=[],e&&this.clearHeaderFilter(),this.changed=!0,this.table.options.persistentFilter&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.save("filter")},E.prototype.clearHeaderFilter=function(){var e=this;this.headerFilters={},this.headerFilterColumns.forEach(function(t){t.modules.filter.value=null,e.reloadHeaderFilter(t)}),this.changed=!0},E.prototype.search=function(e,t,n,o){var r=this,i=[],a=[];return Array.isArray(t)||(t=[{field:t,type:n,value:o}]),t.forEach(function(e){(e=r.findFilter(e))&&a.push(e)}),this.table.rowManager.rows.forEach(function(t){var n=!0;a.forEach(function(e){r.filterRecurse(e,t.getData())||(n=!1)}),n&&i.push("data"===e?t.getData("data"):t.getComponent())}),i},E.prototype.filter=function(e,t){var n=this,o=[],r=[];return n.table.options.dataFiltering&&n.table.options.dataFiltering.call(n.table,n.getFilters()),n.table.options.ajaxFiltering||!n.filterList.length&&!Object.keys(n.headerFilters).length?o=e.slice(0):e.forEach(function(e){n.filterRow(e)&&o.push(e)}),n.table.options.dataFiltered&&(o.forEach(function(e){r.push(e.getComponent())}),n.table.options.dataFiltered.call(n.table,n.getFilters(),r)),o},E.prototype.filterRow=function(e,t){var n=this,o=!0,r=e.getData();for(var i in n.filterList.forEach(function(e){n.filterRecurse(e,r)||(o=!1)}),n.headerFilters)n.headerFilters[i].func(r)||(o=!1);return o},E.prototype.filterRecurse=function(e,t){var n=this,o=!1;return Array.isArray(e)?e.forEach(function(e){n.filterRecurse(e,t)&&(o=!0)}):o=e.func(t),o},E.prototype.filters={"=":function(e,t,n,o){return t==e},"<":function(e,t,n,o){return t<e},"<=":function(e,t,n,o){return t<=e},">":function(e,t,n,o){return t>e},">=":function(e,t,n,o){return t>=e},"!=":function(e,t,n,o){return t!=e},regex:function(e,t,n,o){return"string"==typeof e&&(e=new RegExp(e)),e.test(t)},like:function(e,t,n,o){return null==e?t===e:null!=t&&String(t).toLowerCase().indexOf(e.toLowerCase())>-1},in:function(e,t,n,o){return Array.isArray(e)?e.indexOf(t)>-1:(console.warn("Filter Error - filter value is not an array:",e),!1)}},d.prototype.registerModule("filter",E);var C=function(e){this.table=e};C.prototype.initializeColumn=function(e){var t={params:e.definition.formatterParams||{}};switch(l(e.definition.formatter)){case"string":"tick"===e.definition.formatter&&(e.definition.formatter="tickCross",void 0===t.params.crossElement&&(t.params.crossElement=!1),console.warn("DEPRECATION WANRING - the tick formatter has been depricated, please use the tickCross formatter with the crossElement param set to false")),this.formatters[e.definition.formatter]?t.formatter=this.formatters[e.definition.formatter]:(console.warn("Formatter Error - No such formatter found: ",e.definition.formatter),t.formatter=this.formatters.plaintext);break;case"function":t.formatter=e.definition.formatter;break;default:t.formatter=this.formatters.plaintext}e.modules.format=t},C.prototype.cellRendered=function(e){e.column.modules.format.renderedCallback&&e.column.modules.format.renderedCallback()},C.prototype.formatValue=function(e){var t=e.getComponent(),n="function"==typeof e.column.modules.format.params?e.column.modules.format.params(t):e.column.modules.format.params;return e.column.modules.format.formatter.call(this,t,n,function(t){e.column.modules.format.renderedCallback=t})},C.prototype.sanitizeHTML=function(e){if(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};return String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]})}return e},C.prototype.emptyToSpace=function(e){return null==e?"&nbsp":e},C.prototype.getFormatter=function(e){switch(void 0===e?"undefined":l(e)){case"string":this.formatters[e]?e=this.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=this.formatters.plaintext);break;case"function":e=e;break;default:e=this.formatters.plaintext}return e},C.prototype.formatters={plaintext:function(e,t,n){return this.emptyToSpace(this.sanitizeHTML(e.getValue()))},html:function(e,t,n){return e.getValue()},textarea:function(e,t,n){return e.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(e.getValue()))},money:function(e,t,n){var o,r,i,a,l=parseFloat(e.getValue()),s=t.decimal||".",u=t.thousand||",",c=t.symbol||"",d=!!t.symbolAfter,p=void 0!==t.precision?t.precision:2;if(isNaN(l))return this.emptyToSpace(this.sanitizeHTML(e.getValue()));for(o=!1!==p?l.toFixed(p):l,r=(o=String(o).split("."))[0],i=o.length>1?s+o[1]:"",a=/(\d+)(\d{3})/;a.test(r);)r=r.replace(a,"$1"+u+"$2");return d?r+i+c:c+r+i},link:function(e,t,n){var o=e.getValue(),r=t.urlPrefix||"",i=this.emptyToSpace(o),a=document.createElement("a");if(t.labelField&&(i=e.getData()[t.labelField]),t.label)switch(l(t.label)){case"string":i=t.label;break;case"function":i=t.label(e)}if(t.urlField&&(o=e.getData()[t.urlField]),t.url)switch(l(t.url)){case"string":o=t.url;break;case"function":o=t.url(e)}return a.setAttribute("href",r+o),t.target&&a.setAttribute("target",t.target),a.innerHTML=this.emptyToSpace(this.sanitizeHTML(i)),a},image:function(e,t,n){var o=document.createElement("img");switch(o.setAttribute("src",e.getValue()),l(t.height)){case"number":o.style.height=t.height+"px";break;case"string":o.style.height=t.height}switch(l(t.width)){case"number":o.style.width=t.width+"px";break;case"string":o.style.width=t.width}return o.addEventListener("load",function(){e.getRow().normalizeHeight()}),o},tickCross:function(e,t,n){var o=e.getValue(),r=e.getElement(),i=t.allowEmpty,a=t.allowTruthy,l=void 0!==t.tickElement?t.tickElement:'<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34  c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351  l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07  l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>',s=void 0!==t.crossElement?t.crossElement:'<svg enable-background="new 0 0 24 24" height="14" width="14"  viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272  c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0  l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269  c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73  L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';return a&&o||!0===o||"true"===o||"True"===o||1===o||"1"===o?(r.setAttribute("aria-checked",!0),l||""):!i||"null"!==o&&""!==o&&null!=o?(r.setAttribute("aria-checked",!1),s||""):(r.setAttribute("aria-checked","mixed"),"")},datetime:function(e,t,n){var o=t.inputFormat||"YYYY-MM-DD hh:mm:ss",r=t.outputFormat||"DD/MM/YYYY hh:mm:ss",i=void 0!==t.invalidPlaceholder?t.invalidPlaceholder:"",a=e.getValue(),l=moment(a,o);return l.isValid()?l.format(r):!0===i?a:"function"==typeof i?i(a):i},datetimediff:function(e,t,n){var o=t.inputFormat||"YYYY-MM-DD hh:mm:ss",r=void 0!==t.invalidPlaceholder?t.invalidPlaceholder:"",i=void 0!==t.suffix&&t.suffix,a=void 0!==t.unit?t.unit:void 0,l=void 0!==t.humanize&&t.humanize,s=void 0!==t.date?t.date:moment(),u=e.getValue(),c=moment(u,o);return c.isValid()?l?moment.duration(c.diff(s)).humanize(i):c.diff(s,a)+(i?" "+i:""):!0===r?u:"function"==typeof r?r(u):r},lookup:function(e,t,n){var o=e.getValue();return void 0===t[o]?(console.warn("Missing display value for "+o),o):t[o]},star:function(e,t,n){var o=e.getValue(),r=e.getElement(),i=t&&t.stars?t.stars:5,a=document.createElement("span"),l=document.createElementNS("http://www.w3.org/2000/svg","svg");a.style.verticalAlign="middle",l.setAttribute("width","14"),l.setAttribute("height","14"),l.setAttribute("viewBox","0 0 512 512"),l.setAttribute("xml:space","preserve"),l.style.padding="0 1px",o=parseInt(o)<i?parseInt(o):i;for(var s=1;s<=i;s++){var u=l.cloneNode(!0);u.innerHTML=s<=o?'<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>':'<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>',a.appendChild(u)}return r.style.whiteSpace="nowrap",r.style.overflow="hidden",r.style.textOverflow="ellipsis",r.setAttribute("aria-label",o),a},traffic:function(e,t,n){var o,r,i=this.sanitizeHTML(e.getValue())||0,a=document.createElement("span"),s=t&&t.max?t.max:100,u=t&&t.min?t.min:0,c=t&&void 0!==t.color?t.color:["red","orange","green"],d="#666666";if(!isNaN(i)&&void 0!==e.getValue()){switch(a.classList.add("tabulator-traffic-light"),r=parseFloat(i)<=s?parseFloat(i):s,r=parseFloat(r)>=u?parseFloat(r):u,o=(s-u)/100,r=Math.round((r-u)/o),void 0===c?"undefined":l(c)){case"string":d=c;break;case"function":d=c(i);break;case"object":if(Array.isArray(c)){var p=100/c.length,f=Math.floor(r/p);f=Math.min(f,c.length-1),d=c[f=Math.max(f,0)];break}}return a.style.backgroundColor=d,a}},progress:function(e,t,n){var o,r,i,a,s,u=this.sanitizeHTML(e.getValue())||0,c=e.getElement(),d=t&&t.max?t.max:100,p=t&&t.min?t.min:0,f=t&&t.legendAlign?t.legendAlign:"center";switch(r=parseFloat(u)<=d?parseFloat(u):d,r=parseFloat(r)>=p?parseFloat(r):p,o=(d-p)/100,r=Math.round((r-p)/o),l(t.color)){case"string":i=t.color;break;case"function":i=t.color(u);break;case"object":if(Array.isArray(t.color)){var m=100/t.color.length,h=Math.floor(r/m);h=Math.min(h,t.color.length-1),h=Math.max(h,0),i=t.color[h];break}default:i="#2DC214"}switch(l(t.legend)){case"string":a=t.legend;break;case"function":a=t.legend(u);break;case"boolean":a=u;break;default:a=!1}switch(l(t.legendColor)){case"string":s=t.legendColor;break;case"function":s=t.legendColor(u);break;case"object":if(Array.isArray(t.legendColor)){m=100/t.legendColor.length,h=Math.floor(r/m);h=Math.min(h,t.legendColor.length-1),h=Math.max(h,0),s=t.legendColor[h]}break;default:s="#000"}return c.style.minWidth="30px",c.style.position="relative",c.setAttribute("aria-label",r),"<div style='position:realtive; height:100%;'  data-max='"+d+"' data-min='"+p+"'><div style='position:relative; height:100%; width:calc("+r+"%); background-color:"+i+"; display:inline-block;'></div></div>"+(a?"<div style='position:absolute; top:4px; left:0; text-align:"+f+"; width:100%; color:"+s+";'>"+a+"</div>":"")},color:function(e,t,n){return e.getElement().style.backgroundColor=this.sanitizeHTML(e.getValue()),""},buttonTick:function(e,t,n){return'<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34  c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351  l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07  l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>'},buttonCross:function(e,t,n){return'<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272  c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0  l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269  c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73  L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>'},rownum:function(e,t,n){return this.table.rowManager.activeRows.indexOf(e.getRow()._getSelf())+1},handle:function(e,t,n){return e.getElement().classList.add("tabulator-row-handle"),"<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>"},responsiveCollapse:function(e,t,n){var o=!1,r=document.createElement("div");function i(t){var n=e.getRow().getElement().getElementsByClassName("tabulator-responsive-collapse")[0];(o=t)?(r.classList.add("open"),n&&(n.style.display="")):(r.classList.remove("open"),n&&(n.style.display="none"))}return r.classList.add("tabulator-responsive-collapse-toggle"),r.innerHTML="<span class='tabulator-responsive-collapse-toggle-open'>+</span><span class='tabulator-responsive-collapse-toggle-close'>-</span>",e.getElement().classList.add("tabulator-row-handle"),this.table.options.responsiveLayoutCollapseStartOpen&&(o=!0),r.addEventListener("click",function(e){e.stopImmediatePropagation(),i(!o)}),i(o),r}},d.prototype.registerModule("format",C);var k=function(e){this.table=e,this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightPadding=0,this.initializationMode="left",this.active=!1,this.scrollEndTimer=!1};k.prototype.reset=function(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightMargin=0,this.active=!1,this.table.columnManager.headersElement.style.marginLeft=0,this.table.columnManager.element.style.paddingRight=0},k.prototype.initializeColumn=function(e){var t={margin:0,edge:!1};e.definition.frozen?e.parent.isGroup?console.warn("Frozen Column Error - Grouped columns cannot be frozen"):e.isGroup?console.warn("Frozen Column Error - Column Groups cannot be frozen"):(t.position=this.initializationMode,"left"==this.initializationMode?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=t):this.initializationMode="right"},k.prototype.scrollHorizontal=function(){var e,t=this;this.active&&(clearTimeout(this.scrollEndTimer),this.scrollEndTimer=setTimeout(function(){t.layout()},100),e=this.table.rowManager.getVisibleRows(),this.calcMargins(),this.layoutColumnPosition(),this.layoutCalcRows(),e.forEach(function(e){"row"===e.type&&t.layoutRow(e)}),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)},k.prototype.calcMargins=function(){this.leftMargin=this._calcSpace(this.leftColumns,this.leftColumns.length)+"px",this.table.columnManager.headersElement.style.marginLeft=this.leftMargin,this.rightMargin=this._calcSpace(this.rightColumns,this.rightColumns.length)+"px",this.table.columnManager.element.style.paddingRight=this.rightMargin,this.rightPadding=this.table.rowManager.element.clientWidth+this.table.columnManager.scrollLeft},k.prototype.layoutCalcRows=function(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow))},k.prototype.layoutColumnPosition=function(e){var t=this;this.leftColumns.forEach(function(n,o){n.modules.frozen.margin=t._calcSpace(t.leftColumns,o)+t.table.columnManager.scrollLeft+"px",o==t.leftColumns.length-1?n.modules.frozen.edge=!0:n.modules.frozen.edge=!1,t.layoutElement(n.getElement(),n),e&&n.cells.forEach(function(e){t.layoutElement(e.getElement(),n)})}),this.rightColumns.forEach(function(n,o){n.modules.frozen.margin=t.rightPadding-t._calcSpace(t.rightColumns,o+1)+"px",o==t.rightColumns.length-1?n.modules.frozen.edge=!0:n.modules.frozen.edge=!1,t.layoutElement(n.getElement(),n),e&&n.cells.forEach(function(e){t.layoutElement(e.getElement(),n)})})},k.prototype.layout=function(){var e=this;e.active&&(this.calcMargins(),e.table.rowManager.getDisplayRows().forEach(function(t){"row"===t.type&&e.layoutRow(t)}),this.layoutCalcRows(),this.layoutColumnPosition(!0),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)},k.prototype.layoutRow=function(e){var t=this;e.getElement().style.paddingLeft=this.leftMargin,this.leftColumns.forEach(function(n){var o=e.getCell(n);o&&t.layoutElement(o.getElement(),n)}),this.rightColumns.forEach(function(n){var o=e.getCell(n);o&&t.layoutElement(o.getElement(),n)})},k.prototype.layoutElement=function(e,t){t.modules.frozen&&(e.style.position="absolute",e.style.left=t.modules.frozen.margin,e.classList.add("tabulator-frozen"),t.modules.frozen.edge&&e.classList.add("tabulator-frozen-"+t.modules.frozen.position))},k.prototype._calcSpace=function(e,t){for(var n=0,o=0;o<t;o++)e[o].visible&&(n+=e[o].getWidth());return n},d.prototype.registerModule("frozenColumns",k);var T=function(e){this.table=e,this.topElement=document.createElement("div"),this.rows=[],this.displayIndex=0};T.prototype.initialize=function(){this.rows=[],this.topElement.classList.add("tabulator-frozen-rows-holder"),this.table.columnManager.getElement().insertBefore(this.topElement,this.table.columnManager.headersElement.nextSibling)},T.prototype.setDisplayIndex=function(e){this.displayIndex=e},T.prototype.getDisplayIndex=function(){return this.displayIndex},T.prototype.isFrozen=function(){return!!this.rows.length},T.prototype.getRows=function(e){var t=e.slice(0);return this.rows.forEach(function(e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}),t},T.prototype.freezeRow=function(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.table.rowManager.adjustTableSize(),this.rows.push(e),this.table.rowManager.refreshActiveData("display"),this.styleRows())},T.prototype.unfreezeRow=function(e){var t=this.rows.indexOf(e);if(e.modules.frozen){e.modules.frozen=!1;var n=e.getElement();n.parentNode.removeChild(n),this.table.rowManager.adjustTableSize(),this.rows.splice(t,1),this.table.rowManager.refreshActiveData("display"),this.rows.length&&this.styleRows()}else console.warn("Freeze Error - Row is already unfrozen")},T.prototype.styleRows=function(e){var t=this;this.rows.forEach(function(e,n){t.table.rowManager.styleRow(e,n)})},d.prototype.registerModule("frozenRows",T);var S=function(e){this._group=e,this.type="GroupComponent"};S.prototype.getKey=function(){return this._group.key},S.prototype.getElement=function(){return this._group.element},S.prototype.getRows=function(){return this._group.getRows(!0)},S.prototype.getSubGroups=function(){return this._group.getSubGroups(!0)},S.prototype.getParentGroup=function(){return!!this._group.parent&&this._group.parent.getComponent()},S.prototype.getVisibility=function(){return this._group.visible},S.prototype.show=function(){this._group.show()},S.prototype.hide=function(){this._group.hide()},S.prototype.toggle=function(){this._group.toggleVisibility()},S.prototype._getSelf=function(){return this._group},S.prototype.getTable=function(){return this._group.groupManager.table};var D=function(e,t,n,o,r,i,a){this.groupManager=e,this.parent=t,this.key=o,this.level=n,this.field=r,this.hasSubGroups=n<e.groupIDLookups.length-1,this.addRow=this.hasSubGroups?this._addRowToGroup:this._addRow,this.type="group",this.old=a,this.rows=[],this.groups=[],this.groupList=[],this.generator=i,this.elementContents=!1,this.height=0,this.outerHeight=0,this.initialized=!1,this.calcs={},this.initialized=!1,this.modules={},this.arrowElement=!1,this.visible=a?a.visible:void 0!==e.startOpen[n]?e.startOpen[n]:e.startOpen[0],this.createElements(),this.addBindings(),this.createValueGroups()};D.prototype.wipe=function(){this.groupList.length?this.groupList.forEach(function(e){e.wipe()}):(this.element=!1,this.arrowElement=!1,this.elementContents=!1)},D.prototype.createElements=function(){this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-arrow"),!1!==this.groupManager.table.options.movableRows&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)},D.prototype.createValueGroups=function(){var e=this,t=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[t]&&this.groupManager.allowedValues[t].forEach(function(n){e._createGroup(n,t)})},D.prototype.addBindings=function(){var e,t,n,o=this;o.groupManager.table.options.groupClick&&o.element.addEventListener("click",function(e){o.groupManager.table.options.groupClick(e,o.getComponent())}),o.groupManager.table.options.groupDblClick&&o.element.addEventListener("dblclick",function(e){o.groupManager.table.options.groupDblClick(e,o.getComponent())}),o.groupManager.table.options.groupContext&&o.element.addEventListener("contextmenu",function(e){o.groupManager.table.options.groupContext(e,o.getComponent())}),o.groupManager.table.options.groupTap&&(n=!1,o.element.addEventListener("touchstart",function(e){n=!0},{passive:!0}),o.element.addEventListener("touchend",function(e){n&&o.groupManager.table.options.groupTap(e,o.getComponent()),n=!1})),o.groupManager.table.options.groupDblTap&&(e=null,o.element.addEventListener("touchend",function(t){e?(clearTimeout(e),e=null,o.groupManager.table.options.groupDblTap(t,o.getComponent())):e=setTimeout(function(){clearTimeout(e),e=null},300)})),o.groupManager.table.options.groupTapHold&&(t=null,o.element.addEventListener("touchstart",function(e){clearTimeout(t),t=setTimeout(function(){clearTimeout(t),t=null,n=!1,o.groupManager.table.options.groupTapHold(e,o.getComponent())},1e3)},{passive:!0}),o.element.addEventListener("touchend",function(e){clearTimeout(t),t=null})),o.groupManager.table.options.groupToggleElement&&("arrow"==o.groupManager.table.options.groupToggleElement?o.arrowElement:o.element).addEventListener("click",function(e){e.stopPropagation(),e.stopImmediatePropagation(),o.toggleVisibility()})},D.prototype._createGroup=function(e,t){var n=t+"_"+e,o=new D(this.groupManager,this,t,e,this.groupManager.groupIDLookups[t].field,this.groupManager.headerGenerator[t]||this.groupManager.headerGenerator[0],!!this.old&&this.old.groups[n]);this.groups[n]=o,this.groupList.push(o)},D.prototype._addRowToGroup=function(e){var t=this.level+1;if(this.hasSubGroups){var n=this.groupManager.groupIDLookups[t].func(e.getData()),o=t+"_"+n;this.groupManager.allowedValues&&this.groupManager.allowedValues[t]?this.groups[o]&&this.groups[o].addRow(e):(this.groups[o]||this._createGroup(n,t),this.groups[o].addRow(e))}},D.prototype._addRow=function(e){this.rows.push(e),e.modules.group=this},D.prototype.insertRow=function(e,t,n){var o=this.conformRowData({});e.updateData(o);var r=this.rows.indexOf(t);r>-1?n?this.rows.splice(r+1,0,e):this.rows.splice(r,0,e):n?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)},D.prototype.scrollHeader=function(e){this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(t){t.scrollHeader(e)})},D.prototype.getRowIndex=function(e){},D.prototype.conformRowData=function(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e},D.prototype.removeRow=function(e){var t=this.rows.indexOf(e),n=e.getElement();t>-1&&this.rows.splice(t,1),this.groupManager.table.options.groupValues||this.rows.length?(n.parentNode&&n.parentNode.removeChild(n),this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)):(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0))},D.prototype.removeGroup=function(e){var t,n=e.level+"_"+e.key;this.groups[n]&&(delete this.groups[n],(t=this.groupList.indexOf(e))>-1&&this.groupList.splice(t,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))},D.prototype.getHeadersAndRows=function(e){var t=[];return t.push(this),this._visSet(),this.visible?this.groupList.length?this.groupList.forEach(function(n){t=t.concat(n.getHeadersAndRows(e))}):(!e&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),t.push(this.calcs.top)),t=t.concat(this.rows),!e&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),t.push(this.calcs.bottom))):this.groupList.length||"table"==this.groupManager.table.options.columnCalcs||this.groupManager.table.modExists("columnCalcs")&&(!e&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),t.push(this.calcs.top))),!e&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),t.push(this.calcs.bottom)))),t},D.prototype.getData=function(e,t){var n=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(function(e){n.push(e.getData(t||"data"))}),n},D.prototype.getRowCount=function(){var e=0;return this.groupList.length?this.groupList.forEach(function(t){e+=t.getRowCount()}):e=this.rows.length,e},D.prototype.toggleVisibility=function(){this.visible?this.hide():this.show()},D.prototype.hide=function(){this.visible=!1,"classic"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination?this.groupManager.updateGroupRows(!0):(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(function(e){e.getHeadersAndRows().forEach(function(e){e.detachElement()})}):this.rows.forEach(function(e){var t=e.getElement();t.parentNode.removeChild(t)}),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()),this.groupManager.table.options.groupVisibilityChanged.call(this.table,this.getComponent(),!1)},D.prototype.show=function(){if(this.visible=!0,"classic"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination)this.groupManager.updateGroupRows(!0);else{this.element.classList.add("tabulator-group-visible");var e=this.getElement();this.groupList.length?this.groupList.forEach(function(t){t.getHeadersAndRows().forEach(function(t){var n=t.getElement();e.parentNode.insertBefore(n,e.nextSibling),t.initialize(),e=n})}):this.rows.forEach(function(t){var n=t.getElement();e.parentNode.insertBefore(n,e.nextSibling),t.initialize(),e=n}),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()}this.groupManager.table.options.groupVisibilityChanged.call(this.table,this.getComponent(),!0)},D.prototype._visSet=function(){var e=[];"function"==typeof this.visible&&(this.rows.forEach(function(t){e.push(t.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))},D.prototype.getRowGroup=function(e){var t=!1;return this.groupList.length?this.groupList.forEach(function(n){var o=n.getRowGroup(e);o&&(t=o)}):this.rows.find(function(t){return t===e})&&(t=this),t},D.prototype.getSubGroups=function(e){var t=[];return this.groupList.forEach(function(n){t.push(e?n.getComponent():n)}),t},D.prototype.getRows=function(e){var t=[];return this.rows.forEach(function(n){t.push(e?n.getComponent():n)}),t},D.prototype.generateGroupHeaderContents=function(){var e=[];for(this.rows.forEach(function(t){e.push(t.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);"string"==typeof this.elementContents?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)},D.prototype.getElement=function(){this.addBindingsd=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;e<this.element.childNodes.length;++e)this.element.childNodes[e].parentNode.removeChild(this.element.childNodes[e]);return this.generateGroupHeaderContents(),this.element},D.prototype.detachElement=function(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)},D.prototype.normalizeHeight=function(){this.setHeight(this.element.clientHeight)},D.prototype.initialize=function(e){this.initialized&&!e||(this.normalizeHeight(),this.initialized=!0)},D.prototype.reinitialize=function(){this.initialized=!1,this.height=0,d.prototype.helpers.elVisible(this.element)&&this.initialize(!0)},D.prototype.setHeight=function(e){this.height!=e&&(this.height=e,this.outerHeight=this.element.offsetHeight)},D.prototype.getHeight=function(){return this.outerHeight},D.prototype.getGroup=function(){return this},D.prototype.reinitializeHeight=function(){},D.prototype.calcHeight=function(){},D.prototype.setCellHeight=function(){},D.prototype.clearCellHeight=function(){},D.prototype.getComponent=function(){return new S(this)};var R=function(e){this.table=e,this.groupIDLookups=!1,this.startOpen=[function(){return!1}],this.headerGenerator=[function(){return""}],this.groupList=[],this.allowedValues=!1,this.groups={},this.displayIndex=0};R.prototype.initialize=function(){var e=this,t=e.table.options.groupBy,n=e.table.options.groupStartOpen,o=e.table.options.groupHeader;(this.allowedValues=e.table.options.groupValues,e.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],e.table.modules.localize.bind("groups|item",function(t,n){e.headerGenerator[0]=function(e,o,r){return(void 0===e?"":e)+"<span>("+o+" "+(1===o?t:n.groups.items)+")</span>"}}),this.groupIDLookups=[],Array.isArray(t)||t)?this.table.modExists("columnCalcs")&&"table"!=this.table.options.columnCalcs&&"both"!=this.table.options.columnCalcs&&this.table.modules.columnCalcs.removeCalcs():this.table.modExists("columnCalcs")&&"group"!=this.table.options.columnCalcs&&this.table.columnManager.getRealColumns().forEach(function(t){t.definition.topCalc&&e.table.modules.columnCalcs.initializeTopRow(),t.definition.bottomCalc&&e.table.modules.columnCalcs.initializeBottomRow()});Array.isArray(t)||(t=[t]),t.forEach(function(t,n){var o,r;o="function"==typeof t?t:(r=e.table.columnManager.getColumnByField(t))?function(e){return r.getFieldValue(e)}:function(e){return e[t]},e.groupIDLookups.push({field:"function"!=typeof t&&t,func:o,values:!!e.allowedValues&&e.allowedValues[n]})}),n&&(Array.isArray(n)||(n=[n]),n.forEach(function(e){e="function"==typeof e?e:function(){return!0}}),e.startOpen=n),o&&(e.headerGenerator=Array.isArray(o)?o:[o]),this.initialized=!0},R.prototype.setDisplayIndex=function(e){this.displayIndex=e},R.prototype.getDisplayIndex=function(){return this.displayIndex},R.prototype.getRows=function(e){return this.groupIDLookups.length?(this.table.options.dataGrouping.call(this.table),this.generateGroups(e),this.table.options.dataGrouped&&this.table.options.dataGrouped.call(this.table,this.getGroups(!0)),this.updateGroupRows()):e.slice(0)},R.prototype.getGroups=function(e){var t=[];return this.groupList.forEach(function(n){t.push(e?n.getComponent():n)}),t},R.prototype.wipe=function(){this.groupList.forEach(function(e){e.wipe()})},R.prototype.pullGroupListData=function(e){var t=this,n=[];return e.forEach(function(e){var o={level:0,rowCount:0,headerContent:""},r=[];e.hasSubGroups?(r=t.pullGroupListData(e.groupList),o.level=e.level,o.rowCount=r.length-e.groupList.length,o.headerContent=e.generator(e.key,o.rowCount,e.rows,e),n.push(o),n=n.concat(r)):(o.level=e.level,o.headerContent=e.generator(e.key,e.rows.length,e.rows,e),o.rowCount=e.getRows().length,n.push(o),e.getRows().forEach(function(e){n.push(e.getData("data"))}))}),n},R.prototype.getGroupedData=function(){return this.pullGroupListData(this.groupList)},R.prototype.getRowGroup=function(e){var t=!1;return this.groupList.forEach(function(n){var o=n.getRowGroup(e);o&&(t=o)}),t},R.prototype.countGroups=function(){return this.groupList.length},R.prototype.generateGroups=function(e){var t=this,n=t.groups;t.groups={},t.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(function(e){t.createGroup(e,0,n)}),e.forEach(function(e){t.assignRowToExistingGroup(e,n)})):e.forEach(function(e){t.assignRowToGroup(e,n)})},R.prototype.createGroup=function(e,t,n){var o,r=t+"_"+e;n=n||[],o=new D(this,!1,t,e,this.groupIDLookups[0].field,this.headerGenerator[0],n[r]),this.groups[r]=o,this.groupList.push(o)},R.prototype.assignRowToGroup=function(e,t){var n=this.groupIDLookups[0].func(e.getData()),o="0_"+n;this.groups[o]||this.createGroup(n,0,t),this.groups[o].addRow(e)},R.prototype.assignRowToExistingGroup=function(e,t){var n="0_"+this.groupIDLookups[0].func(e.getData());this.groups[n]&&this.groups[n].addRow(e)},R.prototype.assignRowToGroup=function(e,t){var n=this.groupIDLookups[0].func(e.getData()),o=!this.groups["0_"+n];return o&&this.createGroup(n,0,t),this.groups["0_"+n].addRow(e),!o},R.prototype.updateGroupRows=function(e){var t=[];if(this.groupList.forEach(function(e){t=t.concat(e.getHeadersAndRows())}),e){var n=this.table.rowManager.setDisplayRows(t,this.getDisplayIndex());!0!==n&&this.setDisplayIndex(n),this.table.rowManager.refreshActiveData("group",!0,!0)}return t},R.prototype.scrollHeaders=function(e){e+="px",this.groupList.forEach(function(t){t.scrollHeader(e)})},R.prototype.removeGroup=function(e){var t,n=e.level+"_"+e.key;this.groups[n]&&(delete this.groups[n],(t=this.groupList.indexOf(e))>-1&&this.groupList.splice(t,1))},d.prototype.registerModule("groupRows",R);var M=function(e){this.table=e,this.history=[],this.index=-1};M.prototype.clear=function(){this.history=[],this.index=-1},M.prototype.action=function(e,t,n){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:t,data:n}),this.index++},M.prototype.getHistoryUndoSize=function(){return this.index+1},M.prototype.getHistoryRedoSize=function(){return this.history.length-(this.index+1)},M.prototype.undo=function(){if(this.index>-1){var e=this.history[this.index];return this.undoers[e.type].call(this,e),this.index--,this.table.options.historyUndo.call(this.table,e.type,e.component.getComponent(),e.data),!0}return console.warn("History Undo Error - No more history to undo"),!1},M.prototype.redo=function(){if(this.history.length-1>this.index){this.index++;var e=this.history[this.index];return this.redoers[e.type].call(this,e),this.table.options.historyRedo.call(this.table,e.type,e.component.getComponent(),e.data),!0}return console.warn("History Redo Error - No more history to redo"),!1},M.prototype.undoers={cellEdit:function(e){e.component.setValueProcessData(e.data.oldValue)},rowAdd:function(e){e.component.deleteActual()},rowDelete:function(e){var t=this.table.rowManager.addRowActual(e.data.data,e.data.pos,e.data.index);this._rebindRow(e.component,t)},rowMove:function(e){this.table.rowManager.moveRowActual(e.component,this.table.rowManager.rows[e.data.pos],!1),this.table.rowManager.redraw()}},M.prototype.redoers={cellEdit:function(e){e.component.setValueProcessData(e.data.newValue)},rowAdd:function(e){var t=this.table.rowManager.addRowActual(e.data.data,e.data.pos,e.data.index);this._rebindRow(e.component,t)},rowDelete:function(e){e.component.deleteActual()},rowMove:function(e){this.table.rowManager.moveRowActual(e.component,this.table.rowManager.rows[e.data.pos],!1),this.table.rowManager.redraw()}},M.prototype._rebindRow=function(e,t){this.history.forEach(function(n){if(n.component instanceof a)n.component===e&&(n.component=t);else if(n.component instanceof u&&n.component.row===e){var o=n.component.column.getField();o&&(n.component=t.getCell(o))}})},d.prototype.registerModule("history",M);var O=function(e){this.table=e,this.fieldIndex=[],this.hasIndex=!1};O.prototype.parseTable=function(){var e=this.table.element,t=this.table.options,n=(t.columns,e.getElementsByTagName("th")),o=e.getElementsByTagName("tbody")[0],r=[];this.hasIndex=!1,this.table.options.htmlImporting.call(this.table),o=o?o.getElementsByTagName("tr"):[],this._extractOptions(e,t),n.length?this._extractHeaders(n,o):this._generateBlankHeaders(n,o);for(var i=0;i<o.length;i++){var a=o[i].getElementsByTagName("td"),s={};this.hasIndex||(s[t.index]=i);for(var u=0;u<a.length;u++){var c=a[u];void 0!==this.fieldIndex[u]&&(s[this.fieldIndex[u]]=c.innerHTML)}r.push(s)}var d=document.createElement("div"),p=e.attributes;for(var u in p)"object"==l(p[u])&&d.setAttribute(p[u].name,p[u].value);e.parentNode.replaceChild(d,e),t.data=r,this.table.options.htmlImported.call(this.table),this.table.element=d},O.prototype._extractOptions=function(e,t,n){var o=e.attributes,r=n?Object.assign([],n):Object.keys(t),i={};for(var a in r.forEach(function(e){i[e.toLowerCase()]=e}),o){var s,u=o[a];u&&"object"==(void 0===u?"undefined":l(u))&&u.name&&0===u.name.indexOf("tabulator-")&&(s=u.name.replace("tabulator-",""),void 0!==i[s]&&(t[i[s]]=this._attribValue(u.value)))}},O.prototype._attribValue=function(e){return"true"===e||"false"!==e&&e},O.prototype._findCol=function(e){return this.table.options.columns.find(function(t){return t.title===e})||!1},O.prototype._extractHeaders=function(e,t){for(var n=0;n<e.length;n++){var r,i,a=e[n],s=!1,u=this._findCol(a.textContent);for(var c in u?s=!0:u={title:a.textContent.trim()},u.field||(u.field=a.textContent.trim().toLowerCase().replace(" ","_")),(r=a.getAttribute("width"))&&!u.width&&(u.width=r),i=a.attributes,this._extractOptions(a,u,o.prototype.defaultOptionList),i){var d=i[c];d&&"object"==(void 0===d?"undefined":l(d))&&d.name&&0===d.name.indexOf("tabulator-")&&(u[d.name.replace("tabulator-","")]=this._attribValue(d.value))}this.fieldIndex[n]=u.field,u.field==this.table.options.index&&(this.hasIndex=!0),s||this.table.options.columns.push(u)}},O.prototype._generateBlankHeaders=function(e,t){for(var n=0;n<e.length;n++){var o=e[n],r={title:"",field:"col"+n};this.fieldIndex[n]=r.field;var i=o.getAttribute("width");i&&(r.width=i),this.table.options.columns.push(r)}},d.prototype.registerModule("htmlTableImport",O);var P=function(e){this.table=e,this.config={},this.cloneTableStyle=!0,this.colVisProp=""};P.prototype.genereateTable=function(e,t,n,o){this.cloneTableStyle=t,this.config=e||{},this.colVisProp=o;var r=this.generateHeaderElements(),i=this.generateBodyElements(n),a=document.createElement("table");return a.classList.add("tabulator-print-table"),a.appendChild(r),a.appendChild(i),this.mapElementStyles(this.table.element,a,["border-top","border-left","border-right","border-bottom"]),a},P.prototype.generateColumnGroupHeaders=function(){var e=this,t=[];return(!1!==this.config.columnGroups?this.table.columnManager.columns:this.table.columnManager.columnsByIndex).forEach(function(n){var o=e.processColumnGroup(n);o&&t.push(o)}),t},P.prototype.processColumnGroup=function(e){var t=this,n=e.columns,o=0,r={title:e.definition.title,column:e,depth:1};if(n.length){if(r.subGroups=[],r.width=0,n.forEach(function(e){var n=t.processColumnGroup(e);n&&(r.width+=n.width,r.subGroups.push(n),n.depth>o&&(o=n.depth))}),r.depth+=o,!r.width)return!1}else{if(!e.field||!this.columnVisCheck(e))return!1;r.width=1}return r},P.prototype.groupHeadersToRows=function(e){var t=[],n=0;return e.forEach(function(e){e.depth>n&&(n=e.depth)}),e.forEach(function(e){!function e(o,r){var i=n-r;void 0===t[r]&&(t[r]=[]),o.height=o.subGroups?1:i-o.depth+1,t[r].push(o),o.subGroups&&o.subGroups.forEach(function(t){e(t,r+1)})}(e,0)}),t},P.prototype.generateHeaderElements=function(){var e=this,t=document.createElement("thead");return this.groupHeadersToRows(this.generateColumnGroupHeaders()).forEach(function(n){var o=document.createElement("tr");e.mapElementStyles(e.table.columnManager.getHeadersElement(),t,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),n.forEach(function(t){var n=document.createElement("th");n.colSpan=t.width,n.rowSpan=t.height,n.innerHTML=t.column.definition.title,e.cloneTableStyle&&(n.style.boxSizing="border-box"),e.mapElementStyles(t.column.getElement(),n,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.mapElementStyles(t.column.contentElement,n,["padding-top","padding-left","padding-right","padding-bottom"]),t.column.visible?e.mapElementStyles(t.column.getElement(),n,["width"]):t.column.definition.width&&(n.style.width=t.column.definition.width+"px"),t.column.parent&&e.mapElementStyles(t.column.parent.groupElement,n,["border-top"]),o.appendChild(n)}),t.appendChild(o)}),t},P.prototype.generateBodyElements=function(e){var t,n,o,r,i,a,s,u,c=this;this.cloneTableStyle&&window.getComputedStyle&&(t=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),n=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),o=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),r=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),a=this.table.element.getElementsByClassName("tabulator-group")[0],r&&(s=r.getElementsByClassName("tabulator-cell"),i=s[0],s[s.length-1]));var d=document.createElement("tbody"),p=e?this.table.rowManager.getVisibleRows(!0):this.table.rowManager.getDisplayRows(),f=[];return this.table.columnManager.columnsByIndex.forEach(function(e){c.columnVisCheck(e)&&f.push(e)}),(p=p.filter(function(e){switch(e.type){case"group":return!1!==c.config.rowGroups;case"calc":return!1!==c.config.columnCalcs}return!0})).length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),p.forEach(function(e,r){var s=e.getData(),p=document.createElement("tr");switch(p.classList.add("tabulator-print-table-row"),e.type){case"group":var m=document.createElement("td");m.colSpan=f.length,m.innerHTML=e.key,p.classList.add("tabulator-print-table-group"),c.mapElementStyles(a,p,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),c.mapElementStyles(a,m,["padding-top","padding-left","padding-right","padding-bottom"]),p.appendChild(m);break;case"calc":p.classList.add("tabulator-print-table-calcs");case"row":f.forEach(function(e){var t=document.createElement("td"),n=e.getFieldValue(s),o={getValue:function(){return n},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getRow:function(){return{normalizeHeight:function(){}}},getComponent:function(){return o},column:e};if(c.table.modExists("format"))n=c.table.modules.format.formatValue(o);else switch(void 0===n?"undefined":l(n)){case"object":n=JSON.stringify(n);break;case"undefined":case"null":n="";break;default:n=n}n instanceof Node?t.appendChild(n):t.innerHTML=n,i&&c.mapElementStyles(i,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),p.appendChild(t)}),u="calc"==e.type?o:r%2&&n?n:t,c.mapElementStyles(u,p,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"])}d.appendChild(p)}),d},P.prototype.columnVisCheck=function(e){return!1!==e.definition[this.colVisProp]&&(e.visible||!e.visible&&e.definition[this.colVisProp])},P.prototype.getHtml=function(e,t,n){var o=document.createElement("div");return o.appendChild(this.genereateTable(n||this.table.options.htmlOutputConfig,t,e,"htmlOutput")),o.innerHTML},P.prototype.mapElementStyles=function(e,t,n){if(this.cloneTableStyle&&e&&t){var o={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var r=window.getComputedStyle(e);n.forEach(function(e){t.style[o[e]]=r.getPropertyValue(e)})}}},d.prototype.registerModule("htmlTableExport",P);var N=function(e){this.table=e,this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1};N.prototype.initialize=function(){var e=this.table.options.keybindings,t={};if(this.watchKeys={},this.pressedKeys=[],!1!==e){for(var n in this.bindings)t[n]=this.bindings[n];if(Object.keys(e).length)for(var o in e)t[o]=e[o];this.mapBindings(t),this.bindEvents()}},N.prototype.mapBindings=function(e){var t=this,n=this,o=function(o){t.actions[o]?e[o]&&("object"!==l(e[o])&&(e[o]=[e[o]]),e[o].forEach(function(e){n.mapBinding(o,e)})):console.warn("Key Binding Error - no such action:",o)};for(var r in e)o(r)},N.prototype.mapBinding=function(e,t){var n=this,o={action:this.actions[e],keys:[],ctrl:!1,shift:!1};t.toString().toLowerCase().split(" ").join("").split("+").forEach(function(e){switch(e){case"ctrl":o.ctrl=!0;break;case"shift":o.shift=!0;break;default:e=parseInt(e),o.keys.push(e),n.watchKeys[e]||(n.watchKeys[e]=[]),n.watchKeys[e].push(o)}})},N.prototype.bindEvents=function(){var e=this;this.keyupBinding=function(t){var n=t.keyCode,o=e.watchKeys[n];o&&(e.pressedKeys.push(n),o.forEach(function(n){e.checkBinding(t,n)}))},this.keydownBinding=function(t){var n=t.keyCode;if(e.watchKeys[n]){var o=e.pressedKeys.indexOf(n);o>-1&&e.pressedKeys.splice(o,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)},N.prototype.clearBindings=function(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)},N.prototype.checkBinding=function(e,t){var n=this,o=!0;return e.ctrlKey==t.ctrl&&e.shiftKey==t.shift&&(t.keys.forEach(function(e){-1==n.pressedKeys.indexOf(e)&&(o=!1)}),o&&t.action.call(n,e),!0)},N.prototype.bindings={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:"ctrl + 90",redo:"ctrl + 89",copyToClipboard:"ctrl + 67"},N.prototype.actions={keyBlock:function(e){e.stopPropagation(),e.preventDefault()},scrollPageUp:function(e){var t=this.table.rowManager,n=t.scrollTop-t.height;t.element.scrollHeight;e.preventDefault(),t.displayRowsCount&&(n>=0?t.element.scrollTop=n:t.scrollToRow(t.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(e){var t=this.table.rowManager,n=t.scrollTop+t.height,o=t.element.scrollHeight;e.preventDefault(),t.displayRowsCount&&(n<=o?t.element.scrollTop=n:t.scrollToRow(t.getDisplayRows()[t.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(e){var t=this.table.rowManager;e.preventDefault(),t.displayRowsCount&&t.scrollToRow(t.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(e){var t=this.table.rowManager;e.preventDefault(),t.displayRowsCount&&t.scrollToRow(t.getDisplayRows()[t.displayRowsCount-1]),this.table.element.focus()},navPrev:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().prev())},navNext:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().next())},navLeft:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().left())},navRight:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().right())},navUp:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().up())},navDown:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().down())},undo:function(e){this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(this.table.modules.edit.currentCell||(e.preventDefault(),this.table.modules.history.undo()))},redo:function(e){this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(this.table.modules.edit.currentCell||(e.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(e){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(this.table.options.selectable&&"highlight"!=this.table.options.selectable?"selected":"active",null,null,null,!0)}},d.prototype.registerModule("keybindings",N);var _=function(e){this.table=e,this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this)};_.prototype.createPlaceholderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e},_.prototype.initializeColumn=function(e){var t,n=this,o={};e.modules.frozen||(t=e.getElement(),o.mousemove=function(o){e.parent===n.moving.parent&&((n.touchMove?o.touches[0].pageX:o.pageX)-d.prototype.helpers.elOffset(t).left+n.table.columnManager.element.scrollLeft>e.getWidth()/2?n.toCol===e&&n.toColAfter||(t.parentNode.insertBefore(n.placeholderElement,t.nextSibling),n.moveColumn(e,!0)):(n.toCol!==e||n.toColAfter)&&(t.parentNode.insertBefore(n.placeholderElement,t),n.moveColumn(e,!1)))}.bind(n),t.addEventListener("mousedown",function(t){n.touchMove=!1,1===t.which&&(n.checkTimeout=setTimeout(function(){n.startMove(t,e)},n.checkPeriod))}),t.addEventListener("mouseup",function(e){1===e.which&&n.checkTimeout&&clearTimeout(n.checkTimeout)}),n.bindTouchEvents(e)),e.modules.moveColumn=o},_.prototype.bindTouchEvents=function(e){var t,n,o,r,i,a,l=this,s=e.getElement(),u=!1;s.addEventListener("touchstart",function(s){l.checkTimeout=setTimeout(function(){l.touchMove=!0,e,t=e.nextColumn(),o=t?t.getWidth()/2:0,n=e.prevColumn(),r=n?n.getWidth()/2:0,i=0,a=0,u=!1,l.startMove(s,e)},l.checkPeriod)},{passive:!0}),s.addEventListener("touchmove",function(s){var c,d;l.moving&&(l.moveHover(s),u||(u=s.touches[0].pageX),(c=s.touches[0].pageX-u)>0?t&&c-i>o&&(d=t)!==e&&(u=s.touches[0].pageX,d.getElement().parentNode.insertBefore(l.placeholderElement,d.getElement().nextSibling),l.moveColumn(d,!0)):n&&-c-a>r&&(d=n)!==e&&(u=s.touches[0].pageX,d.getElement().parentNode.insertBefore(l.placeholderElement,d.getElement()),l.moveColumn(d,!1)),d&&(d,t=d.nextColumn(),i=o,o=t?t.getWidth()/2:0,n=d.prevColumn(),a=r,r=n?n.getWidth()/2:0))},{passive:!0}),s.addEventListener("touchend",function(e){l.checkTimeout&&clearTimeout(l.checkTimeout),l.moving&&l.endMove(e)})},_.prototype.startMove=function(e,t){var n=t.getElement();this.moving=t,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-d.prototype.helpers.elOffset(n).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=t.getWidth()+"px",this.placeholderElement.style.height=t.getHeight()+"px",n.parentNode.insertBefore(this.placeholderElement,n),n.parentNode.removeChild(n),this.hoverElement=n.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.table.columnManager.getElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom="0",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)},_.prototype._bindMouseMove=function(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})},_.prototype._unbindMouseMove=function(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})},_.prototype.moveColumn=function(e,t){var n=this.moving.getCells();this.toCol=e,this.toColAfter=t,t?e.getCells().forEach(function(e,t){var o=e.getElement();o.parentNode.insertBefore(n[t].getElement(),o.nextSibling)}):e.getCells().forEach(function(e,t){var o=e.getElement();o.parentNode.insertBefore(n[t].getElement(),o)})},_.prototype.endMove=function(e){(1===e.which||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumn(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))},_.prototype.moveHover=function(e){var t,n=this,o=n.table.columnManager.getElement(),r=o.scrollLeft,i=(n.touchMove?e.touches[0].pageX:e.pageX)-d.prototype.helpers.elOffset(o).left+r;n.hoverElement.style.left=i-n.startX+"px",i-r<n.autoScrollMargin&&(n.autoScrollTimeout||(n.autoScrollTimeout=setTimeout(function(){t=Math.max(0,r-5),n.table.rowManager.getElement().scrollLeft=t,n.autoScrollTimeout=!1},1))),r+o.clientWidth-i<n.autoScrollMargin&&(n.autoScrollTimeout||(n.autoScrollTimeout=setTimeout(function(){t=Math.min(o.clientWidth,r+5),n.table.rowManager.getElement().scrollLeft=t,n.autoScrollTimeout=!1},1)))},d.prototype.registerModule("moveColumn",_);var L=function(e){this.table=e,this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connections=[],this.connectedTable=!1,this.connectedRow=!1};L.prototype.createPlaceholderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e},L.prototype.initialize=function(e){this.connection=this.table.options.movableRowsConnectedTables},L.prototype.setHandle=function(e){this.hasHandle=e},L.prototype.initializeGroupHeader=function(e){var t=this,n={};n.mouseup=function(e){t.tableRowDrop(e,row)}.bind(t),n.mousemove=function(n){var o;n.pageY-d.prototype.helpers.elOffset(e.element).top+t.table.rowManager.element.scrollTop>e.getHeight()/2?t.toRow===e&&t.toRowAfter||((o=e.getElement()).parentNode.insertBefore(t.placeholderElement,o.nextSibling),t.moveRow(e,!0)):(t.toRow!==e||t.toRowAfter)&&(o=e.getElement()).previousSibling&&(o.parentNode.insertBefore(t.placeholderElement,o),t.moveRow(e,!1))}.bind(t),e.modules.moveRow=n},L.prototype.initializeRow=function(e){var t,n=this,o={};o.mouseup=function(t){n.tableRowDrop(t,e)}.bind(n),o.mousemove=function(t){var o;t.pageY-d.prototype.helpers.elOffset(e.element).top+n.table.rowManager.element.scrollTop>e.getHeight()/2?n.toRow===e&&n.toRowAfter||((o=e.getElement()).parentNode.insertBefore(n.placeholderElement,o.nextSibling),n.moveRow(e,!0)):(n.toRow!==e||n.toRowAfter)&&((o=e.getElement()).parentNode.insertBefore(n.placeholderElement,o),n.moveRow(e,!1))}.bind(n),this.hasHandle||((t=e.getElement()).addEventListener("mousedown",function(t){1===t.which&&(n.checkTimeout=setTimeout(function(){n.startMove(t,e)},n.checkPeriod))}),t.addEventListener("mouseup",function(e){1===e.which&&n.checkTimeout&&clearTimeout(n.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=o},L.prototype.initializeCell=function(e){var t=this,n=e.getElement();n.addEventListener("mousedown",function(n){1===n.which&&(t.checkTimeout=setTimeout(function(){t.startMove(n,e.row)},t.checkPeriod))}),n.addEventListener("mouseup",function(e){1===e.which&&t.checkTimeout&&clearTimeout(t.checkTimeout)}),this.bindTouchEvents(e.row,e.getElement())},L.prototype.bindTouchEvents=function(e,t){var n,o,r,i,a,l,s=this,u=!1;t.addEventListener("touchstart",function(t){s.checkTimeout=setTimeout(function(){s.touchMove=!0,e,n=e.nextRow(),r=n?n.getHeight()/2:0,o=e.prevRow(),i=o?o.getHeight()/2:0,a=0,l=0,u=!1,s.startMove(t,e)},s.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,t.addEventListener("touchmove",function(t){var c,d;s.moving&&(t.preventDefault(),s.moveHover(t),u||(u=t.touches[0].pageY),(c=t.touches[0].pageY-u)>0?n&&c-a>r&&(d=n)!==e&&(u=t.touches[0].pageY,d.getElement().parentNode.insertBefore(s.placeholderElement,d.getElement().nextSibling),s.moveRow(d,!0)):o&&-c-l>i&&(d=o)!==e&&(u=t.touches[0].pageY,d.getElement().parentNode.insertBefore(s.placeholderElement,d.getElement()),s.moveRow(d,!1)),d&&(d,n=d.nextRow(),a=r,r=n?n.getHeight()/2:0,o=d.prevRow(),l=i,i=o?o.getHeight()/2:0))}),t.addEventListener("touchend",function(e){s.checkTimeout&&clearTimeout(s.checkTimeout),s.moving&&(s.endMove(e),s.touchMove=!1)})},L.prototype._bindMouseMove=function(){this.table.rowManager.getDisplayRows().forEach(function(e){"row"!==e.type&&"group"!==e.type||!e.modules.moveRow.mousemove||e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})},L.prototype._unbindMouseMove=function(){this.table.rowManager.getDisplayRows().forEach(function(e){"row"!==e.type&&"group"!==e.type||!e.modules.moveRow.mousemove||e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})},L.prototype.startMove=function(e,t){var n=t.getElement();this.setStartPosition(e,t),this.moving=t,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=t.getWidth()+"px",this.placeholderElement.style.height=t.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(t)):(n.parentNode.insertBefore(this.placeholderElement,n),n.parentNode.removeChild(n)),this.hoverElement=n.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.moveHover(e)},L.prototype.setStartPosition=function(e,t){var n,o,r=this.touchMove?e.touches[0].pageX:e.pageX,i=this.touchMove?e.touches[0].pageY:e.pageY;n=t.getElement(),this.connection?(o=n.getBoundingClientRect(),this.startX=o.left-r+window.pageXOffset,this.startY=o.top-i+window.pageYOffset):this.startY=i-n.getBoundingClientRect().top},L.prototype.endMove=function(e){e&&1!==e.which&&!this.touchMove||(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow&&this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))},L.prototype.moveRow=function(e,t){this.toRow=e,this.toRowAfter=t},L.prototype.moveHover=function(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)},L.prototype.moveHoverTable=function(e){var t=this.table.rowManager.getElement(),n=t.scrollTop,o=(this.touchMove?e.touches[0].pageY:e.pageY)-t.getBoundingClientRect().top+n;this.hoverElement.style.top=o-this.startY+"px"},L.prototype.moveHoverConnections=function(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"},L.prototype.connectToTables=function(e){var t=this.table.modules.comms.getConnections(this.connection);this.table.options.movableRowsSendingStart.call(this.table,t),this.table.modules.comms.send(this.connection,"moveRow","connect",{row:e})},L.prototype.disconnectFromTables=function(){var e=this.table.modules.comms.getConnections(this.connection);this.table.options.movableRowsSendingStop.call(this.table,e),this.table.modules.comms.send(this.connection,"moveRow","disconnect")},L.prototype.connect=function(e,t){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=t,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(function(e){"row"===e.type&&e.modules.moveRow&&e.modules.moveRow.mouseup&&e.getElement().addEventListener("mouseup",e.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.table.options.movableRowsReceivingStart.call(this.table,t,e),!0)},L.prototype.disconnect=function(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(function(e){"row"===e.type&&e.modules.moveRow&&e.modules.moveRow.mouseup&&e.getElement().removeEventListener("mouseup",e.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.table.options.movableRowsReceivingStop.call(this.table,e)):console.warn("Move Row Error - trying to disconnect from non connected table")},L.prototype.dropComplete=function(e,t,n){var o=!1;if(n){switch(l(this.table.options.movableRowsSender)){case"string":o=this.senders[this.table.options.movableRowsSender];break;case"function":o=this.table.options.movableRowsSender}o?o.call(this,this.moving.getComponent(),t?t.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.table.options.movableRowsSent.call(this.table,this.moving.getComponent(),t?t.getComponent():void 0,e)}else this.table.options.movableRowsSentFailed.call(this.table,this.moving.getComponent(),t?t.getComponent():void 0,e);this.endMove()},L.prototype.tableRowDrop=function(e,t){var n=!1,o=!1;switch(e.stopImmediatePropagation(),l(this.table.options.movableRowsReceiver)){case"string":n=this.receivers[this.table.options.movableRowsReceiver];break;case"function":n=this.table.options.movableRowsReceiver}n?o=n.call(this,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),o?this.table.options.movableRowsReceived.call(this.table,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable):this.table.options.movableRowsReceivedFailed.call(this.table,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable),this.table.modules.comms.send(this.connectedTable,"moveRow","dropcomplete",{row:t,success:o})},L.prototype.receivers={insert:function(e,t,n){return this.table.addRow(e.getData(),void 0,t),!0},add:function(e,t,n){return this.table.addRow(e.getData()),!0},update:function(e,t,n){return!!t&&(t.update(e.getData()),!0)},replace:function(e,t,n){return!!t&&(this.table.addRow(e.getData(),void 0,t),t.delete(),!0)}},L.prototype.senders={delete:function(e,t,n){e.delete()}},L.prototype.commsReceived=function(e,t,n){switch(t){case"connect":return this.connect(e,n.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,n.row,n.success)}},d.prototype.registerModule("moveRow",L);var A=function(e){this.table=e,this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0};A.prototype.initializeColumn=function(e){var t=this,n=!1,o={};this.allowedTypes.forEach(function(r){var i,a="mutator"+(r.charAt(0).toUpperCase()+r.slice(1));e.definition[a]&&(i=t.lookupMutator(e.definition[a]))&&(n=!0,o[a]={mutator:i,params:e.definition[a+"Params"]||{}})}),n&&(e.modules.mutate=o)},A.prototype.lookupMutator=function(e){var t=!1;switch(void 0===e?"undefined":l(e)){case"string":this.mutators[e]?t=this.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":t=e}return t},A.prototype.transformRow=function(e,t,n){var o,r="mutator"+(t.charAt(0).toUpperCase()+t.slice(1));return this.enabled&&this.table.columnManager.traverse(function(i){var a,l,s;i.modules.mutate&&(a=i.modules.mutate[r]||i.modules.mutate.mutator||!1)&&(o=i.getFieldValue(e),(!n||n&&void 0!==o)&&(s=i.getComponent(),l="function"==typeof a.params?a.params(o,e,t,s):a.params,i.setFieldValue(e,a.mutator(o,e,t,l,s))))}),e},A.prototype.transformCell=function(e,t){var n=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1;return n?n.mutator(t,e.row.getData(),"edit",n.params,e.getComponent()):t},A.prototype.enable=function(){this.enabled=!0},A.prototype.disable=function(){this.enabled=!1},A.prototype.mutators={},d.prototype.registerModule("mutator",A);var I=function(e){this.table=e,this.mode="local",this.progressiveLoad=!1,this.size=0,this.page=1,this.count=5,this.max=1,this.displayIndex=0,this.pageSizes=[],this.createElements()};I.prototype.createElements=function(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),(e=document.createElement("button")).classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))},I.prototype.generatePageSizeSelectList=function(){var e=this,t=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))t=this.table.options.paginationSizeSelector,this.pageSizes=t,-1==this.pageSizes.indexOf(this.size)&&t.unshift(this.size);else if(-1==this.pageSizes.indexOf(this.size)){t=[];for(var n=1;n<5;n++)t.push(this.size*n);this.pageSizes=t}else t=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);t.forEach(function(t){var n=document.createElement("option");n.value=t,n.innerHTML=t,e.pageSizeSelect.appendChild(n)}),this.pageSizeSelect.value=this.size}},I.prototype.initialize=function(e){var t,n=this;for(var o in n.table.options.paginationDataSent)n.paginationDataSentNames[o]=n.table.options.paginationDataSent[o];for(var r in n.table.options.paginationDataReceived)n.paginationDataReceivedNames[r]=n.table.options.paginationDataReceived[r];n.table.modules.localize.bind("pagination|first",function(e){n.firstBut.innerHTML=e}),n.table.modules.localize.bind("pagination|first_title",function(e){n.firstBut.setAttribute("aria-label",e),n.firstBut.setAttribute("title",e)}),n.table.modules.localize.bind("pagination|prev",function(e){n.prevBut.innerHTML=e}),n.table.modules.localize.bind("pagination|prev_title",function(e){n.prevBut.setAttribute("aria-label",e),n.prevBut.setAttribute("title",e)}),n.table.modules.localize.bind("pagination|next",function(e){n.nextBut.innerHTML=e}),n.table.modules.localize.bind("pagination|next_title",function(e){n.nextBut.setAttribute("aria-label",e),n.nextBut.setAttribute("title",e)}),n.table.modules.localize.bind("pagination|last",function(e){n.lastBut.innerHTML=e}),n.table.modules.localize.bind("pagination|last_title",function(e){n.lastBut.setAttribute("aria-label",e),n.lastBut.setAttribute("title",e)}),n.firstBut.addEventListener("click",function(){n.setPage(1)}),n.prevBut.addEventListener("click",function(){n.previousPage()}),n.nextBut.addEventListener("click",function(){n.nextPage().then(function(){}).catch(function(){})}),n.lastBut.addEventListener("click",function(){n.setPage(n.max)}),n.table.options.paginationElement&&(n.element=n.table.options.paginationElement),this.pageSizeSelect&&(t=document.createElement("label"),n.table.modules.localize.bind("pagination|page_size",function(e){n.pageSizeSelect.setAttribute("aria-label",e),n.pageSizeSelect.setAttribute("title",e),t.innerHTML=e}),n.element.appendChild(t),n.element.appendChild(n.pageSizeSelect),n.pageSizeSelect.addEventListener("change",function(e){n.setPageSize(n.pageSizeSelect.value),n.setPage(1).then(function(){}).catch(function(){})})),n.element.appendChild(n.firstBut),n.element.appendChild(n.prevBut),n.element.appendChild(n.pagesElement),n.element.appendChild(n.nextBut),n.element.appendChild(n.lastBut),n.table.options.paginationElement||e||n.table.footerManager.append(n.element,n),n.mode=n.table.options.pagination,n.size=n.table.options.paginationSize||Math.floor(n.table.rowManager.getElement().clientHeight/24),n.count=n.table.options.paginationButtonCount,n.generatePageSizeSelectList()},I.prototype.initializeProgressive=function(e){this.initialize(!0),this.mode="progressive_"+e,this.progressiveLoad=!0},I.prototype.setDisplayIndex=function(e){this.displayIndex=e},I.prototype.getDisplayIndex=function(){return this.displayIndex},I.prototype.setMaxRows=function(e){this.max=e?Math.ceil(e/this.size):1,this.page>this.max&&(this.page=this.max)},I.prototype.reset=function(e){return("local"==this.mode||e)&&(this.page=1),!0},I.prototype.setMaxPage=function(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())},I.prototype.setPage=function(e){var t=this;return new Promise(function(n,o){(e=parseInt(e))>0&&e<=t.max?(t.page=e,t.trigger().then(function(){n()}).catch(function(){o()})):(console.warn("Pagination Error - Requested page is out of range of 1 - "+t.max+":",e),o())})},I.prototype.setPageToRow=function(e){var t=this;return new Promise(function(n,o){var r=t.table.rowManager.getDisplayRows(t.displayIndex-1).indexOf(e);if(r>-1){var i=Math.ceil((r+1)/t.size);t.setPage(i).then(function(){n()}).catch(function(){o()})}else console.warn("Pagination Error - Requested row is not visible"),o()})},I.prototype.setPageSize=function(e){(e=parseInt(e))>0&&(this.size=e),this.pageSizeSelect&&this.generatePageSizeSelectList()},I.prototype._setPageButtons=function(){for(var e=Math.floor((this.count-1)/2),t=Math.ceil((this.count-1)/2),n=this.max-this.page+e+1<this.count?this.max-this.count+1:Math.max(this.page-e,1),o=this.page<=t?Math.min(this.count,this.max):Math.min(this.page+t,this.max);this.pagesElement.firstChild;)this.pagesElement.removeChild(this.pagesElement.firstChild);1==this.page?(this.firstBut.disabled=!0,this.prevBut.disabled=!0):(this.firstBut.disabled=!1,this.prevBut.disabled=!1),this.page==this.max?(this.lastBut.disabled=!0,this.nextBut.disabled=!0):(this.lastBut.disabled=!1,this.nextBut.disabled=!1);for(var r=n;r<=o;r++)r>0&&r<=this.max&&this.pagesElement.appendChild(this._generatePageButton(r));this.footerRedraw()},I.prototype._generatePageButton=function(e){var t=this,n=document.createElement("button");return n.classList.add("tabulator-page"),e==t.page&&n.classList.add("active"),n.setAttribute("type","button"),n.setAttribute("role","button"),n.setAttribute("aria-label","Show Page "+e),n.setAttribute("title","Show Page "+e),n.setAttribute("data-page",e),n.textContent=e,n.addEventListener("click",function(n){t.setPage(e)}),n},I.prototype.previousPage=function(){var e=this;return new Promise(function(t,n){e.page>1?(e.page--,e.trigger().then(function(){t()}).catch(function(){n()})):(console.warn("Pagination Error - Previous page would be less than page 1:",0),n())})},I.prototype.nextPage=function(){var e=this;return new Promise(function(t,n){e.page<e.max?(e.page++,e.trigger().then(function(){t()}).catch(function(){n()})):(e.progressiveLoad||console.warn("Pagination Error - Next page would be greater than maximum page of "+e.max+":",e.max+1),n())})},I.prototype.getPage=function(){return this.page},I.prototype.getPageMax=function(){return this.max},I.prototype.getPageSize=function(e){return this.size},I.prototype.getMode=function(){return this.mode},I.prototype.getRows=function(e){var t,n,o;if("local"==this.mode){t=[],o=(n=this.size*(this.page-1))+parseInt(this.size),this._setPageButtons();for(var r=n;r<o;r++)e[r]&&t.push(e[r]);return t}return this._setPageButtons(),e.slice(0)},I.prototype.trigger=function(){var e,t=this;return new Promise(function(n,o){switch(t.mode){case"local":e=t.table.rowManager.scrollLeft,t.table.rowManager.refreshActiveData("page"),t.table.rowManager.scrollHorizontal(e),t.table.options.pageLoaded.call(t.table,t.getPage()),n();break;case"remote":case"progressive_load":case"progressive_scroll":t.table.modules.ajax.blockActiveRequest(),t._getRemotePage().then(function(){n()}).catch(function(){o()});break;default:console.warn("Pagination Error - no such pagination mode:",t.mode),o()}})},I.prototype._getRemotePage=function(){var e,t,n=this,o=this;return new Promise(function(r,i){if(o.table.modExists("ajax",!0)||i(),e=d.prototype.helpers.deepClone(o.table.modules.ajax.getParams()||{}),(t=o.table.modules.ajax.getParams())[n.paginationDataSentNames.page]=o.page,n.size&&(t[n.paginationDataSentNames.size]=n.size),n.table.options.ajaxSorting&&n.table.modExists("sort")){var a=o.table.modules.sort.getSort();a.forEach(function(e){delete e.column}),t[n.paginationDataSentNames.sorters]=a}if(n.table.options.ajaxFiltering&&n.table.modExists("filter")){var l=o.table.modules.filter.getFilters(!0,!0);t[n.paginationDataSentNames.filters]=l}o.table.modules.ajax.setParams(t),o.table.modules.ajax.sendRequest(n.progressiveLoad).then(function(e){o._parseRemoteData(e),r()}).catch(function(e){i()}),o.table.modules.ajax.setParams(e)})},I.prototype._parseRemoteData=function(e){var t,n,o=this;if(void 0===e[this.paginationDataReceivedNames.last_page]&&console.warn("Remote Pagination Error - Server response missing '"+this.paginationDataReceivedNames.last_page+"' property"),e[this.paginationDataReceivedNames.data])if(this.max=parseInt(e[this.paginationDataReceivedNames.last_page])||1,this.progressiveLoad)switch(this.mode){case"progressive_load":this.table.rowManager.addRows(e[this.paginationDataReceivedNames.data]),this.page<this.max&&setTimeout(function(){o.nextPage().then(function(){}).catch(function(){})},o.table.options.ajaxProgressiveLoadDelay);break;case"progressive_scroll":e=this.table.rowManager.getData().concat(e[this.paginationDataReceivedNames.data]),this.table.rowManager.setData(e,!0),n=this.table.options.ajaxProgressiveLoadScrollMargin||2*this.table.rowManager.element.clientHeight,o.table.rowManager.element.scrollHeight<=o.table.rowManager.element.clientHeight+n&&o.nextPage().then(function(){}).catch(function(){})}else t=this.table.rowManager.scrollLeft,this.table.rowManager.setData(e[this.paginationDataReceivedNames.data]),this.table.rowManager.scrollHorizontal(t),this.table.columnManager.scrollHorizontal(t),this.table.options.pageLoaded.call(this.table,this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+this.paginationDataReceivedNames.data+"' property")},I.prototype.footerRedraw=function(){var e=this.table.footerManager.element;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))},I.prototype.paginationDataSentNames={page:"page",size:"size",sorters:"sorters",filters:"filters"},I.prototype.paginationDataReceivedNames={current_page:"current_page",last_page:"last_page",data:"data"},d.prototype.registerModule("page",I);var z=function(e){this.table=e,this.mode="",this.id="",this.persistProps=["field","width","visible"]};z.prototype.initialize=function(e,t){this.mode=!0!==e?e:void 0!==window.localStorage?"local":"cookie",this.id="tabulator-"+(t||this.table.element.getAttribute("id")||"")},z.prototype.load=function(e,t){var n=this.retreiveData(e);return t&&(n=n?this.mergeDefinition(t,n):t),n},z.prototype.retreiveData=function(e){var t="",n=this.id+("columns"===e?"":"-"+e);switch(this.mode){case"local":t=localStorage.getItem(n);break;case"cookie":var o=document.cookie,r=o.indexOf(n+"="),i=void 0;r>-1&&((i=(o=o.substr(r)).indexOf(";"))>-1&&(o=o.substr(0,i)),t=o.replace(n+"=",""));break;default:console.warn("Persistance Load Error - invalid mode selected",this.mode)}return!!t&&JSON.parse(t)},z.prototype.mergeDefinition=function(e,t){var n=this,o=[];return(t=t||[]).forEach(function(t,r){var i=n._findColumn(e,t);i&&(i.width=t.width,i.visible=t.visible,i.columns&&(i.columns=n.mergeDefinition(i.columns,t.columns)),o.push(i))}),e.forEach(function(e,r){n._findColumn(t,e)||(o.length>r?o.splice(r,0,e):o.push(e))}),o},z.prototype._findColumn=function(e,t){var n=t.columns?"group":t.field?"field":"object";return e.find(function(e){switch(n){case"group":return e.title===t.title&&e.columns.length===t.columns.length;case"field":return e.field===t.field;case"object":return e===t}})},z.prototype.save=function(e){var t={};switch(e){case"columns":t=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":t=this.table.modules.filter.getFilters();break;case"sort":t=this.validateSorters(this.table.modules.sort.getSort())}var n=this.id+("columns"===e?"":"-"+e);this.saveData(n,t)},z.prototype.validateSorters=function(e){return e.forEach(function(e){e.column=e.field,delete e.field}),e},z.prototype.saveData=function(e,t){switch(t=JSON.stringify(t),this.mode){case"local":localStorage.setItem(e,t);break;case"cookie":var n=new Date;n.setDate(n.getDate()+1e4),document.cookie=e+"="+t+"; expires="+n.toUTCString();break;default:console.warn("Persistance Save Error - invalid mode selected",this.mode)}},z.prototype.parseColumns=function(e){var t=this,n=[];return e.forEach(function(e){var o={};e.isGroup?(o.title=e.getDefinition().title,o.columns=t.parseColumns(e.getColumns())):(o.title=e.getDefinition().title,o.field=e.getField(),o.width=e.getWidth(),o.visible=e.visible),n.push(o)}),n},d.prototype.registerModule("persistence",z);var F=function(e){this.table=e,this.element=!1,this.manualBlock=!1};F.prototype.initialize=function(){window.addEventListener("beforeprint",this.replaceTable.bind(this)),window.addEventListener("afterprint",this.cleanup.bind(this))},F.prototype.replaceTable=function(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.htmlTableExport.genereateTable(this.table.options.printConfig,this.table.options.printCopyStyle,this.table.options.printVisibleRows,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))},F.prototype.cleanup=function(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")},F.prototype.printFullscreen=function(e,t,n){var o,r,i=window.scrollX,a=window.scrollY,l=document.createElement("div"),s=document.createElement("div"),u=this.table.modules.htmlTableExport.genereateTable(void 0!==n?n:this.table.options.printConfig,void 0!==t?t:this.table.options.printCopyStyle,e,"print");this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(l.classList.add("tabulator-print-header"),"string"==typeof(o="function"==typeof this.table.options.printHeader?this.table.options.printHeader.call(this.table):this.table.options.printHeader)?l.innerHTML=o:l.appendChild(o),this.element.appendChild(l)),this.element.appendChild(u),this.table.options.printFooter&&(s.classList.add("tabulator-print-footer"),"string"==typeof(r="function"==typeof this.table.options.printFooter?this.table.options.printFooter.call(this.table):this.table.options.printFooter)?s.innerHTML=r:s.appendChild(r),this.element.appendChild(s)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,u),window.print(),this.cleanup(),window.scrollTo(i,a),this.manualBlock=!1},d.prototype.registerModule("print",F);var j=function(e){this.table=e,this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0};j.prototype.watchData=function(e){var t,n=this;this.currentVersion++,t=this.currentVersion,n.unwatchData(),n.data=e,n.origFuncs.push=e.push,Object.defineProperty(n.data,"push",{enumerable:!1,configurable:!0,value:function(){var o=Array.from(arguments);return n.blocked||t!==n.currentVersion||o.forEach(function(e){n.table.rowManager.addRowActual(e,!1)}),n.origFuncs.push.apply(e,arguments)}}),n.origFuncs.unshift=e.unshift,Object.defineProperty(n.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var o=Array.from(arguments);return n.blocked||t!==n.currentVersion||o.forEach(function(e){n.table.rowManager.addRowActual(e,!0)}),n.origFuncs.unshift.apply(e,arguments)}}),n.origFuncs.shift=e.shift,Object.defineProperty(n.data,"shift",{enumerable:!1,configurable:!0,value:function(){var o;return n.blocked||t!==n.currentVersion||n.data.length&&(o=n.table.rowManager.getRowFromDataObject(n.data[0]))&&o.deleteActual(),n.origFuncs.shift.call(e)}}),n.origFuncs.pop=e.pop,Object.defineProperty(n.data,"pop",{enumerable:!1,configurable:!0,value:function(){var o;return n.blocked||t!==n.currentVersion||n.data.length&&(o=n.table.rowManager.getRowFromDataObject(n.data[n.data.length-1]))&&o.deleteActual(),n.origFuncs.pop.call(e)}}),n.origFuncs.splice=e.splice,Object.defineProperty(n.data,"splice",{enumerable:!1,configurable:!0,value:function(){var o,r=Array.from(arguments),i=r[0]<0?e.length+r[0]:r[0],a=r[1],l=!!r[2]&&r.slice(2);if(!n.blocked&&t===n.currentVersion){if(l&&((o=!!e[i]&&n.table.rowManager.getRowFromDataObject(e[i]))?l.forEach(function(e){n.table.rowManager.addRowActual(e,!0,o,!0)}):(l=l.slice().reverse()).forEach(function(e){n.table.rowManager.addRowActual(e,!0,!1,!0)})),0!==a){var s=e.slice(i,void 0===r[1]?r[1]:i+a);s.forEach(function(e,t){var o=n.table.rowManager.getRowFromDataObject(e);o&&o.deleteActual(t!==s.length-1)})}(l||0!==a)&&n.table.rowManager.reRenderInPosition()}return n.origFuncs.splice.apply(e,arguments)}})},j.prototype.unwatchData=function(){if(!1!==this.data)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})},j.prototype.watchRow=function(e){var t=e.getData();for(var n in this.blocked=!0,t)this.watchKey(e,t,n);this.blocked=!1},j.prototype.watchKey=function(e,t,n){var o=this,r=Object.getOwnPropertyDescriptor(t,n),i=t[n],a=this.currentVersion;Object.defineProperty(t,n,{set:function(t){if(i=t,!o.blocked&&a===o.currentVersion){var l={};l[n]=t,e.updateData(l)}r.set&&r.set(t)},get:function(){return r.get&&r.get(),i}})},j.prototype.unwatchRow=function(e){var t=e.getData();for(var n in t)Object.defineProperty(t,n,{value:t[n]})},j.prototype.block=function(){this.blocked=!0},j.prototype.unblock=function(){this.blocked=!1},d.prototype.registerModule("reactiveData",j);var H=function(e){this.table=e,this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.handle=null,this.prevHandle=null};H.prototype.initializeColumn=function(e,t,n){var o=this,r=!1,i=this.table.options.resizableColumns;if("header"===e&&(r="textarea"==t.definition.formatter||t.definition.variableHeight,t.modules.resize={variableHeight:r}),!0===i||i==e){var a=document.createElement("div");a.className="tabulator-col-resize-handle";var l=document.createElement("div");l.className="tabulator-col-resize-handle prev",a.addEventListener("click",function(e){e.stopPropagation()});var s=function(e){var n=t.getLastColumn();n&&o._checkResizability(n)&&(o.startColumn=t,o._mouseDown(e,n,a))};a.addEventListener("mousedown",s),a.addEventListener("touchstart",s,{passive:!0}),a.addEventListener("dblclick",function(e){var n=t.getLastColumn();n&&o._checkResizability(n)&&n.reinitializeWidth(!0)}),l.addEventListener("click",function(e){e.stopPropagation()});var u=function(e){var n,r,i;(n=t.getFirstColumn())&&(i=(r=o.table.columnManager.findColumnIndex(n))>0&&o.table.columnManager.getColumnByIndex(r-1))&&o._checkResizability(i)&&(o.startColumn=t,o._mouseDown(e,i,l))};l.addEventListener("mousedown",u),l.addEventListener("touchstart",u,{passive:!0}),l.addEventListener("dblclick",function(e){var n,r,i;(n=t.getFirstColumn())&&(i=(r=o.table.columnManager.findColumnIndex(n))>0&&o.table.columnManager.getColumnByIndex(r-1))&&o._checkResizability(i)&&i.reinitializeWidth(!0)}),n.appendChild(a),n.appendChild(l)}},H.prototype._checkResizability=function(e){return void 0!==e.definition.resizable?e.definition.resizable:this.table.options.resizableColumns},H.prototype._mouseDown=function(e,t,n){var o=this;function r(e){t.setWidth(o.startWidth+((void 0===e.screenX?e.touches[0].screenX:e.screenX)-o.startX)),!o.table.browserSlow&&t.modules.resize&&t.modules.resize.variableHeight&&t.checkCellHeights()}function i(e){o.startColumn.modules.edit&&(o.startColumn.modules.edit.blocked=!1),o.table.browserSlow&&t.modules.resize&&t.modules.resize.variableHeight&&t.checkCellHeights(),document.body.removeEventListener("mouseup",i),document.body.removeEventListener("mousemove",r),n.removeEventListener("touchmove",r),n.removeEventListener("touchend",i),o.table.element.classList.remove("tabulator-block-select"),o.table.options.persistentLayout&&o.table.modExists("persistence",!0)&&o.table.modules.persistence.save("columns"),o.table.options.columnResized.call(o.table,t.getComponent())}o.table.element.classList.add("tabulator-block-select"),e.stopPropagation(),o.startColumn.modules.edit&&(o.startColumn.modules.edit.blocked=!0),o.startX=void 0===e.screenX?e.touches[0].screenX:e.screenX,o.startWidth=t.getWidth(),document.body.addEventListener("mousemove",r),document.body.addEventListener("mouseup",i),n.addEventListener("touchmove",r,{passive:!0}),n.addEventListener("touchend",i)},d.prototype.registerModule("resizeColumns",H);var U=function(e){this.table=e,this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null};U.prototype.initializeRow=function(e){var t=this,n=e.getElement(),o=document.createElement("div");o.className="tabulator-row-resize-handle";var r=document.createElement("div");r.className="tabulator-row-resize-handle prev",o.addEventListener("click",function(e){e.stopPropagation()});var i=function(n){t.startRow=e,t._mouseDown(n,e,o)};o.addEventListener("mousedown",i,{passive:!0}),o.addEventListener("touchstart",i),r.addEventListener("click",function(e){e.stopPropagation()});var a=function(n){var o=t.table.rowManager.prevDisplayRow(e);o&&(t.startRow=o,t._mouseDown(n,o,r))};r.addEventListener("mousedown",a),r.addEventListener("touchstart",a,{passive:!0}),n.appendChild(o),n.appendChild(r)},U.prototype._mouseDown=function(e,t,n){var o=this;function r(e){t.setHeight(o.startHeight+((void 0===e.screenY?e.touches[0].screenY:e.screenY)-o.startY))}function i(e){document.body.removeEventListener("mouseup",r),document.body.removeEventListener("mousemove",r),n.removeEventListener("touchmove",r),n.removeEventListener("touchend",i),o.table.element.classList.remove("tabulator-block-select"),o.table.options.rowResized.call(this.table,t.getComponent())}o.table.element.classList.add("tabulator-block-select"),e.stopPropagation(),o.startY=void 0===e.screenY?e.touches[0].screenY:e.screenY,o.startHeight=t.getHeight(),document.body.addEventListener("mousemove",r),document.body.addEventListener("mouseup",i),n.addEventListener("touchmove",r,{passive:!0}),n.addEventListener("touchend",i)},d.prototype.registerModule("resizeRows",U);var B=function(e){this.table=e,this.binding=!1,this.observer=!1};B.prototype.initialize=function(e){var t=this.table;"undefined"!=typeof ResizeObserver&&"virtual"===t.rowManager.getRenderMode()?(this.observer=new ResizeObserver(function(e){t.redraw()}),this.observer.observe(t.element)):(this.binding=function(){t.redraw()},window.addEventListener("resize",this.binding))},B.prototype.clearBindings=function(e){this.binding&&window.removeEventListener("resize",this.binding),this.observer&&this.observer.unobserve(this.table.element)},d.prototype.registerModule("resizeTable",B);var W=function(e){this.table=e,this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0};W.prototype.initialize=function(){var e=this,t=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach(function(n,o){n.modules.responsive&&n.modules.responsive.order&&n.modules.responsive.visible&&(n.modules.responsive.index=o,t.push(n),n.visible||"collapse"!==e.mode||e.hiddenColumns.push(n))}),t=(t=t.reverse()).sort(function(e,t){return t.modules.responsive.order-e.modules.responsive.order||t.modules.responsive.index-e.modules.responsive.index}),this.columns=t,"collapse"===this.mode&&this.generateCollapsedContent()},W.prototype.initializeColumn=function(e){var t=e.getDefinition();e.modules.responsive={order:void 0===t.responsive?1:t.responsive,visible:!1!==t.visible}},W.prototype.layoutRow=function(e){var t=e.getElement(),n=document.createElement("div");n.classList.add("tabulator-responsive-collapse"),t.classList.contains("tabulator-calcs")||(e.modules.responsiveLayout={element:n},this.collapseStartOpen||(n.style.display="none"),t.appendChild(n),this.generateCollapsedRowContent(e))},W.prototype.updateColumnVisibility=function(e,t){e.modules.responsive&&(e.modules.responsive.visible=t,this.initialize())},W.prototype.hideColumn=function(e){e.hide(!1,!0),"collapse"===this.mode&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent())},W.prototype.showColumn=function(e){var t;e.show(!1,!0),e.setWidth(e.getWidth()),"collapse"===this.mode&&((t=this.hiddenColumns.indexOf(e))>-1&&this.hiddenColumns.splice(t,1),this.generateCollapsedContent())},W.prototype.update=function(){for(var e=!0;e;){var t="fitColumns"==this.table.modules.layout.getMode()?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),n=this.table.columnManager.element.clientWidth-t;if(n<0){var o=this.columns[this.index];o?(this.hideColumn(o),this.index++):e=!1}else{var r=this.columns[this.index-1];r&&n>0&&n>=r.getWidth()?(this.showColumn(r),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}},W.prototype.generateCollapsedContent=function(){var e=this;this.table.rowManager.getDisplayRows().forEach(function(t){e.generateCollapsedRowContent(t)})},W.prototype.generateCollapsedRowContent=function(e){var t,n;if(e.modules.responsiveLayout){for(t=e.modules.responsiveLayout.element;t.firstChild;)t.removeChild(t.firstChild);(n=this.collapseFormatter(this.generateCollapsedRowData(e)))&&t.appendChild(n)}},W.prototype.generateCollapsedRowData=function(e){var t,n=this,o=e.getData(),r=[];return this.hiddenColumns.forEach(function(i){var a=i.getFieldValue(o);i.definition.title&&i.field&&(i.modules.format&&n.table.options.responsiveLayoutCollapseUseFormatters?(t={value:!1,data:{},getValue:function(){return a},getData:function(){return o},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return i.getComponent()}},r.push({title:i.definition.title,value:i.modules.format.formatter.call(n.table.modules.format,t,i.modules.format.params)})):r.push({title:i.definition.title,value:a}))}),r},W.prototype.formatCollapsedData=function(e){var t=document.createElement("table"),n="";return e.forEach(function(e){var t=document.createElement("div");e.value instanceof Node&&(t.appendChild(e.value),e.value=t.innerHTML),n+="<tr><td><strong>"+e.title+"</strong></td><td>"+e.value+"</td></tr>"}),t.innerHTML=n,Object.keys(e).length?t:""},d.prototype.registerModule("responsiveLayout",W);var G=function(e){this.table=e,this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[]};G.prototype.clearSelectionData=function(e){this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],e||this._rowSelectionChanged()},G.prototype.initializeRow=function(e){var t=this,n=e.getElement(),o=function e(){setTimeout(function(){t.selecting=!1},50),document.body.removeEventListener("mouseup",e)};e.modules.select={selected:!1},t.table.options.selectableCheck.call(this.table,e.getComponent())?(n.classList.add("tabulator-selectable"),n.classList.remove("tabulator-unselectable"),t.table.options.selectable&&"highlight"!=t.table.options.selectable&&("click"===t.table.options.selectableRangeMode?n.addEventListener("click",function(n){if(t.table._clearSelection(),n.shiftKey){t.lastClickedRow=t.lastClickedRow||e;var o=t.table.rowManager.getDisplayRowIndex(t.lastClickedRow),r=t.table.rowManager.getDisplayRowIndex(e),i=o<=r?o:r,a=o>=r?o:r,l=t.table.rowManager.getDisplayRows().slice(0).splice(i,a-i+1);n.ctrlKey||n.metaKey?(l.forEach(function(n){n!==t.lastClickedRow&&(!0===t.table.options.selectable||t.isRowSelected(e)?t.toggleRow(n):t.selectedRows.length<t.table.options.selectable&&t.toggleRow(n))}),t.lastClickedRow=e):(t.deselectRows(),!0!==t.table.options.selectable&&l.length>t.table.options.selectable&&(l=l.slice(0,t.table.options.selectable)),t.selectRows(l))}else n.ctrlKey||n.metaKey?(t.toggleRow(e),t.lastClickedRow=e):(t.deselectRows(),t.selectRows(e),t.lastClickedRow=e);t.table._clearSelection()}):(n.addEventListener("click",function(n){t.table._clearSelection(),t.selecting||t.toggleRow(e)}),n.addEventListener("mousedown",function(n){if(n.shiftKey)return t.table._clearSelection(),t.selecting=!0,t.selectPrev=[],document.body.addEventListener("mouseup",o),document.body.addEventListener("keyup",o),t.toggleRow(e),!1}),n.addEventListener("mouseenter",function(n){t.selecting&&(t.table._clearSelection(),t.toggleRow(e),t.selectPrev[1]==e&&t.toggleRow(t.selectPrev[0]))}),n.addEventListener("mouseout",function(n){t.selecting&&(t.table._clearSelection(),t.selectPrev.unshift(e))})))):(n.classList.add("tabulator-unselectable"),n.classList.remove("tabulator-selectable"))},G.prototype.toggleRow=function(e){this.table.options.selectableCheck.call(this.table,e.getComponent())&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))},G.prototype.selectRows=function(e){var t=this;switch(void 0===e?"undefined":l(e)){case"undefined":t.table.rowManager.rows.forEach(function(e){t._selectRow(e,!0,!0)}),t._rowSelectionChanged();break;case"boolean":!0===e&&(t.table.rowManager.activeRows.forEach(function(e){t._selectRow(e,!0,!0)}),t._rowSelectionChanged());break;default:Array.isArray(e)?(e.forEach(function(e){t._selectRow(e,!0,!0)}),t._rowSelectionChanged()):t._selectRow(e,!1,!0)}},G.prototype._selectRow=function(e,t,n){if(!isNaN(this.table.options.selectable)&&!0!==this.table.options.selectable&&!n&&this.selectedRows.length>=this.table.options.selectable){if(!this.table.options.selectableRollingSelection)return!1;this._deselectRow(this.selectedRows[0])}var o=this.table.rowManager.findRow(e);o?-1==this.selectedRows.indexOf(o)&&(o.modules.select||(o.modules.select={}),o.modules.select.selected=!0,o.getElement().classList.add("tabulator-selected"),this.selectedRows.push(o),t||(this.table.options.rowSelected.call(this.table,o.getComponent()),this._rowSelectionChanged())):t||console.warn("Selection Error - No such row found, ignoring selection:"+e)},G.prototype.isRowSelected=function(e){return-1!==this.selectedRows.indexOf(e)},G.prototype.deselectRows=function(e){var t,n=this;if(void 0===e){t=n.selectedRows.length;for(var o=0;o<t;o++)n._deselectRow(n.selectedRows[0],!0);n._rowSelectionChanged()}else Array.isArray(e)?(e.forEach(function(e){n._deselectRow(e,!0)}),n._rowSelectionChanged()):n._deselectRow(e)},G.prototype._deselectRow=function(e,t){var n,o=this.table.rowManager.findRow(e);o?(n=this.selectedRows.findIndex(function(e){return e==o}))>-1&&(o.modules.select||(o.modules.select={}),o.modules.select.selected=!1,o.getElement().classList.remove("tabulator-selected"),this.selectedRows.splice(n,1),t||(this.table.options.rowDeselected.call(this.table,o.getComponent()),this._rowSelectionChanged())):t||console.warn("Deselection Error - No such row found, ignoring selection:"+e)},G.prototype.getSelectedData=function(){var e=[];return this.selectedRows.forEach(function(t){e.push(t.getData())}),e},G.prototype.getSelectedRows=function(){var e=[];return this.selectedRows.forEach(function(t){e.push(t.getComponent())}),e},G.prototype._rowSelectionChanged=function(){this.table.options.rowSelectionChanged.call(this.table,this.getSelectedData(),this.getSelectedRows())},d.prototype.registerModule("selectRow",G);var q=function(e){this.table=e,this.sortList=[],this.changed=!1};q.prototype.initializeColumn=function(e,t){var n,o,r=this,i=!1;switch(l(e.definition.sorter)){case"string":r.sorters[e.definition.sorter]?i=r.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":i=e.definition.sorter}e.modules.sort={sorter:i,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},!1!==e.definition.headerSort&&((n=e.getElement()).classList.add("tabulator-sortable"),(o=document.createElement("div")).classList.add("tabulator-arrow"),t.appendChild(o),n.addEventListener("click",function(t){var n="",o=[],i=!1;if(e.modules.sort){if(e.modules.sort.tristate)n="none"==e.modules.sort.dir?e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?"asc"==e.modules.sort.dir?"desc":"asc":"none";else switch(e.modules.sort.dir){case"asc":n="desc";break;case"desc":n="asc";break;default:n=e.modules.sort.startingDir}r.table.options.columnHeaderSortMulti&&(t.shiftKey||t.ctrlKey)?((i=(o=r.getSort()).findIndex(function(t){return t.field===e.getField()}))>-1?(o[i].dir=n,i!=o.length-1&&(i=o.splice(i,1)[0],"none"!=n&&o.push(i))):"none"!=n&&o.push({column:e,dir:n}),r.setSort(o)):"none"==n?r.clear():r.setSort(e,n),r.table.rowManager.sorterRefresh(!r.sortList.length)}}))},q.prototype.hasChanged=function(){var e=this.changed;return this.changed=!1,e},q.prototype.getSort=function(){var e=[];return this.sortList.forEach(function(t){t.column&&e.push({column:t.column.getComponent(),field:t.column.getField(),dir:t.dir})}),e},q.prototype.setSort=function(e,t){var n=this,o=[];Array.isArray(e)||(e=[{column:e,dir:t}]),e.forEach(function(e){var t;(t=n.table.columnManager.findColumn(e.column))?(e.column=t,o.push(e),n.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",e.column)}),n.sortList=o,this.table.options.persistentSort&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.save("sort")},q.prototype.clear=function(){this.setSort([])},q.prototype.findSorter=function(e){var t,n=this.table.rowManager.activeRows[0],o="string";if(n&&(n=n.getData(),e.getField()))switch(void 0===(t=e.getFieldValue(n))?"undefined":l(t)){case"undefined":o="string";break;case"boolean":o="boolean";break;default:isNaN(t)||""===t?t.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(o="alphanum"):o="number"}return this.sorters[o]},q.prototype.sort=function(e){var t,n=this;t=this.table.options.sortOrderReverse?n.sortList.slice().reverse():n.sortList,n.table.options.dataSorting&&n.table.options.dataSorting.call(n.table,n.getSort()),n.clearColumnHeaders(),n.table.options.ajaxSorting?t.forEach(function(e,t){n.setColumnHeader(e.column,e.dir)}):t.forEach(function(o,r){o.column&&o.column.modules.sort&&(o.column.modules.sort.sorter||(o.column.modules.sort.sorter=n.findSorter(o.column)),n._sortItem(e,o.column,o.dir,t,r)),n.setColumnHeader(o.column,o.dir)}),n.table.options.dataSorted&&n.table.options.dataSorted.call(n.table,n.getSort(),n.table.rowManager.getComponents(!0))},q.prototype.clearColumnHeaders=function(){this.table.columnManager.getRealColumns().forEach(function(e){e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"))})},q.prototype.setColumnHeader=function(e,t){e.modules.sort.dir=t,e.getElement().setAttribute("aria-sort",t)},q.prototype._sortItem=function(e,t,n,o,r){var i=this,a="function"==typeof t.modules.sort.params?t.modules.sort.params(t.getComponent(),n):t.modules.sort.params;e.sort(function(e,l){var s=i._sortRow(e,l,t,n,a);if(0===s&&r)for(var u=r-1;u>=0&&0===(s=i._sortRow(e,l,o[u].column,o[u].dir,a));u--);return s})},q.prototype._sortRow=function(e,t,n,o,r){var i,a,l="asc"==o?e:t,s="asc"==o?t:e;return e=void 0!==(e=n.getFieldValue(l.getData()))?e:"",t=void 0!==(t=n.getFieldValue(s.getData()))?t:"",i=l.getComponent(),a=s.getComponent(),n.modules.sort.sorter.call(this,e,t,i,a,n.getComponent(),o,r)},q.prototype.sorters={number:function(e,t,n,o,r,i,a){var l=a.alignEmptyValues,s=a.decimalSeparator||".",u=a.thousandSeparator||",",c=0;if(e=parseFloat(String(e).split(u).join("").split(s).join(".")),t=parseFloat(String(t).split(u).join("").split(s).join(".")),isNaN(e))c=isNaN(t)?0:-1;else{if(!isNaN(t))return e-t;c=1}return("top"===l&&"desc"===i||"bottom"===l&&"asc"===i)&&(c*=-1),c},string:function(e,t,n,o,r,i,a){var s,u=a.alignEmptyValues,c=0;if(e){if(t){switch(l(a.locale)){case"boolean":a.locale&&(s=this.table.modules.localize.getLocale());break;case"string":s=a.locale}return String(e).toLowerCase().localeCompare(String(t).toLowerCase(),s)}c=1}else c=t?-1:0;return("top"===u&&"desc"===i||"bottom"===u&&"asc"===i)&&(c*=-1),c},date:function(e,t,n,o,r,i,a){return a.format||(a.format="DD/MM/YYYY"),this.sorters.datetime.call(this,e,t,n,o,r,i,a)},time:function(e,t,n,o,r,i,a){return a.format||(a.format="hh:mm"),this.sorters.datetime.call(this,e,t,n,o,r,i,a)},datetime:function(e,t,n,o,r,i,a){var l=a.format||"DD/MM/YYYY hh:mm:ss",s=a.alignEmptyValues,u=0;if("undefined"!=typeof moment){if(e=moment(e,l),t=moment(t,l),e.isValid()){if(t.isValid())return e-t;u=1}else u=t.isValid()?-1:0;return("top"===s&&"desc"===i||"bottom"===s&&"asc"===i)&&(u*=-1),u}console.error("Sort Error - 'datetime' sorter is dependant on moment.js")},boolean:function(e,t,n,o,r,i,a){return(!0===e||"true"===e||"True"===e||1===e?1:0)-(!0===t||"true"===t||"True"===t||1===t?1:0)},array:function(e,t,n,o,r,i,a){var l=a.type||"length",s=a.alignEmptyValues,u=0;function c(e){switch(l){case"length":return e.length;case"sum":return e.reduce(function(e,t){return e+t});case"max":return Math.max.apply(null,e);case"min":return Math.min.apply(null,e);case"avg":return e.reduce(function(e,t){return e+t})/e.length}}if(Array.isArray(e)){if(Array.isArray(t))return(e?c(e):0)-(t?c(t):0);s=1}else s=Array.isArray(t)?-1:0;return("top"===s&&"desc"===i||"bottom"===s&&"asc"===i)&&(u*=-1),u},exists:function(e,t,n,o,r,i,a){return(void 0===e?0:1)-(void 0===t?0:1)},alphanum:function(e,t,n,o,r,i,a){var l,s,u,c,d,p=0,f=/(\d+)|(\D+)/g,m=/\d/,h=a.alignEmptyValues,g=0;if(e||0===e){if(t||0===t){if(isFinite(e)&&isFinite(t))return e-t;if((l=String(e).toLowerCase())===(s=String(t).toLowerCase()))return 0;if(!m.test(l)||!m.test(s))return l>s?1:-1;for(l=l.match(f),s=s.match(f),d=l.length>s.length?s.length:l.length;p<d;)if((u=l[p])!==(c=s[p++]))return isFinite(u)&&isFinite(c)?("0"===u.charAt(0)&&(u="."+u),"0"===c.charAt(0)&&(c="."+c),u-c):u>c?1:-1;return l.length>s.length}g=1}else g=t||0===t?-1:0;return("top"===h&&"desc"===i||"bottom"===h&&"asc"===i)&&(g*=-1),g}},d.prototype.registerModule("sort",q);var V=function(e){this.table=e};return V.prototype.initializeColumn=function(e){var t,n=this,o=[];e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(function(e){(t=n._extractValidator(e))&&o.push(t)}):(t=this._extractValidator(e.definition.validator))&&o.push(t),e.modules.validate=!!o.length&&o)},V.prototype._extractValidator=function(e){var t,n,o;switch(void 0===e?"undefined":l(e)){case"string":return n=(t=e.split(":",2)).shift(),o=t[0],this._buildValidator(n,o);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}},V.prototype._buildValidator=function(e,t){var n="function"==typeof e?e:this.validators[e];return n?{type:"function"==typeof e?"function":e,func:n,params:t}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)},V.prototype.validate=function(e,t,n){var o=this,r=[];return e&&e.forEach(function(e){e.func.call(o,t,n,e.params)||r.push({type:e.type,parameters:e.params})}),!r.length||r},V.prototype.validators={integer:function(e,t,n){return""===t||null==t||"number"==typeof(t=Number(t))&&isFinite(t)&&Math.floor(t)===t},float:function(e,t,n){return""===t||null==t||"number"==typeof(t=Number(t))&&isFinite(t)&&t%1!=0},numeric:function(e,t,n){return""===t||null==t||!isNaN(t)},string:function(e,t,n){return""===t||null==t||isNaN(t)},max:function(e,t,n){return""===t||null==t||parseFloat(t)<=n},min:function(e,t,n){return""===t||null==t||parseFloat(t)>=n},minLength:function(e,t,n){return""===t||null==t||String(t).length>=n},maxLength:function(e,t,n){return""===t||null==t||String(t).length<=n},in:function(e,t,n){return""===t||null==t||("string"==typeof n&&(n=n.split("|")),""===t||n.indexOf(t)>-1)},regex:function(e,t,n){return""===t||null==t||new RegExp(n).test(t)},unique:function(e,t,n){if(""===t||null==t)return!0;var o=!0,r=e.getData(),i=e.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(e){var n=e.getData();n!==r&&t==i.getFieldValue(n)&&(o=!1)}),o},required:function(e,t,n){return""!==t&&null!=t}},d.prototype.registerModule("validate",V),d},"object"===l(n)&&void 0!==t?t.exports=a():void 0===(i="function"==typeof(r=a)?r.call(n,o,n,t):r)||(t.exports=i)},function(e,t,n){"use strict";n.r(t);var o=n(57),r=n.n(o),i=n(16),a=n.n(i),l=n(19),s=n.n(l),u=n(5),c=n.n(u),d=n(8),p=n.n(d),f=n(0),m=n(40),h=n(58),g=n.n(h)()({setReferenceNode:void 0,referenceNode:void 0}),b=function(e){function t(){var t;return t=e.call(this)||this,p()(c()(c()(t)),"setReferenceNode",function(e){e&&t.state.context.referenceNode!==e&&t.setState(function(t){var n=t.context;return{context:a()({},n,{referenceNode:e})}})}),t.state={context:{setReferenceNode:t.setReferenceNode,referenceNode:void 0}},t}return s()(t,e),t.prototype.render=function(){return f.createElement(g.Provider,{value:this.state.context},this.props.children)},t}(f.Component),v=function(e){return Array.isArray(e)?e[0]:e},y=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return e.apply(void 0,n)}},w={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},x={},E=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return t=e.call.apply(e,[this].concat(o))||this,p()(c()(c()(t)),"state",{data:void 0,placement:void 0}),p()(c()(c()(t)),"popperInstance",void 0),p()(c()(c()(t)),"popperNode",null),p()(c()(c()(t)),"arrowNode",null),p()(c()(c()(t)),"setPopperNode",function(e){e&&t.popperNode!==e&&(y(t.props.innerRef,e),t.popperNode=e,t.updatePopperInstance())}),p()(c()(c()(t)),"setArrowNode",function(e){t.arrowNode=e}),p()(c()(c()(t)),"updateStateModifier",{enabled:!0,order:900,fn:function(e){var n=e.placement;return t.setState({data:e,placement:n}),e}}),p()(c()(c()(t)),"getOptions",function(){return{placement:t.props.placement,eventsEnabled:t.props.eventsEnabled,positionFixed:t.props.positionFixed,modifiers:a()({},t.props.modifiers,{arrow:a()({},t.props.modifiers&&t.props.modifiers.arrow,{enabled:!!t.arrowNode,element:t.arrowNode}),applyStyle:{enabled:!1},updateStateModifier:t.updateStateModifier})}}),p()(c()(c()(t)),"getPopperStyle",function(){return t.popperNode&&t.state.data?a()({position:t.state.data.offsets.popper.position},t.state.data.styles):w}),p()(c()(c()(t)),"getPopperPlacement",function(){return t.state.data?t.state.placement:void 0}),p()(c()(c()(t)),"getArrowStyle",function(){return t.arrowNode&&t.state.data?t.state.data.arrowStyles:x}),p()(c()(c()(t)),"getOutOfBoundariesState",function(){return t.state.data?t.state.data.hide:void 0}),p()(c()(c()(t)),"destroyPopperInstance",function(){t.popperInstance&&(t.popperInstance.destroy(),t.popperInstance=null)}),p()(c()(c()(t)),"updatePopperInstance",function(){t.destroyPopperInstance();var e=c()(c()(t)).popperNode,n=t.props.referenceElement;n&&e&&(t.popperInstance=new m.a(n,e,t.getOptions()))}),p()(c()(c()(t)),"scheduleUpdate",function(){t.popperInstance&&t.popperInstance.scheduleUpdate()}),t}s()(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){this.props.placement!==e.placement||this.props.referenceElement!==e.referenceElement||this.props.positionFixed!==e.positionFixed?this.updatePopperInstance():this.props.eventsEnabled!==e.eventsEnabled&&this.popperInstance&&(this.props.eventsEnabled?this.popperInstance.enableEventListeners():this.popperInstance.disableEventListeners()),t.placement!==this.state.placement&&this.scheduleUpdate()},n.componentWillUnmount=function(){y(this.props.innerRef,null),this.destroyPopperInstance()},n.render=function(){return v(this.props.children)({ref:this.setPopperNode,style:this.getPopperStyle(),placement:this.getPopperPlacement(),outOfBoundaries:this.getOutOfBoundariesState(),scheduleUpdate:this.scheduleUpdate,arrowProps:{ref:this.setArrowNode,style:this.getArrowStyle()}})},t}(f.Component);p()(E,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1});var C=m.a.placements;function k(e){var t=e.referenceElement,n=r()(e,["referenceElement"]);return f.createElement(g.Consumer,null,function(e){var o=e.referenceNode;return f.createElement(E,a()({referenceElement:void 0!==t?t:o},n))})}var T=n(11),S=n.n(T),D=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return t=e.call.apply(e,[this].concat(o))||this,p()(c()(c()(t)),"refHandler",function(e){y(t.props.innerRef,e),y(t.props.setReferenceNode,e)}),t}return s()(t,e),t.prototype.render=function(){return S()(Boolean(this.props.setReferenceNode),"`Reference` should not be used outside of a `Manager` component."),v(this.props.children)({ref:this.refHandler})},t}(f.Component);function R(e){return f.createElement(g.Consumer,null,function(t){var n=t.setReferenceNode;return f.createElement(D,a()({setReferenceNode:n},e))})}n.d(t,"Popper",function(){return k}),n.d(t,"placements",function(){return C}),n.d(t,"Manager",function(){return b}),n.d(t,"Reference",function(){return R})},function(e,t,n){e.exports=n(75)},function(e,t){e.exports="SPA_Build/Images/Folder.png"},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t,n){return 2===arguments.length?u(e,t):u({consumers:e,mapToProps:t},n)};var o=i(n(0)),r=i(n(36));function i(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var l=function(e){var t="string"==typeof e?e:e.name||e.displayName;return t?"ContextTransform("+t+")":"ContextTransform"},s=function(e){return e.Consumer||e};function u(e,t){var n=e.consumers,i=e.mapToProps,u=e.displayName,c=e.forwardRefAs,d=void 0===c?"ref":c,p=n;Array.isArray(n)||(p=[n]);var f=s(p[0]);var m=1===p.length?function(e,n){var r,l=a(((r={})[d]=n,r),e);return o.default.createElement(f,null,function(n){return o.default.createElement(t,a({},l,i(n,e)))})}:function(e,n){var r,l=a(((r={})[d]=n,r),e);return p.reduceRight(function(e,t){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=s(t);return o.default.createElement(a,null,function(t){return e.apply(void 0,r.concat([t]))})}},function(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return o.default.createElement(t,a({},l,i.apply(void 0,r.concat([e]))))})()};return(0,r.default)(m,{displayName:u||l(t)})}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=f(n(86)),r=f(n(13)),i=f(n(0)),a=f(n(7)),l=f(n(4)),s=f(n(122)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}return t.default=e,t}(n(52)),c=f(n(31)),d=f(n(37)),p=f(n(38));function f(e){return e&&e.__esModule?e:{default:e}}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var h={children:l.default.func.isRequired,drop:l.default.oneOf(["up","left","right","down"]),focusFirstItemOnShow:l.default.oneOf([!1,!0,"keyboard"]),itemSelector:l.default.string.isRequired,alignEnd:l.default.bool,show:l.default.bool,onToggle:l.default.func},g=function(e){var t,n;function l(t,n){var o;return(o=e.call(this,t,n)||this).handleClick=function(e){o.toggleOpen(e)},o.handleKeyDown=function(e){var t=e.key,n=e.target;if(!/input|textarea/i.test(n.tagName)||!(" "===t||"Escape"!==t&&o.menu.contains(n)))switch(o._lastSourceEvent=e.type,t){case"ArrowUp":var r=o.getNextFocusedChild(n,-1);return r&&r.focus&&r.focus(),void e.preventDefault();case"ArrowDown":if(e.preventDefault(),o.props.show){var i=o.getNextFocusedChild(n,1);i&&i.focus&&i.focus()}else o.toggleOpen(e);return;case"Escape":case"Tab":o.props.onToggle(!1,e)}},o._focusInDropdown=!1,o.menu=null,o.state={context:{close:o.handleClose,toggle:o.handleClick,menuRef:function(e){o.menu=e},toggleRef:function(e){var t=e&&a.default.findDOMNode(e);o.setState(function(e){return{context:m({},e.context,{toggleNode:t})}})}}},o}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,l.getDerivedStateFromProps=function(e,t){var n=e.drop,o=e.alignEnd,r=e.show;return{lastShow:t.context.show,context:m({},t.context,{drop:n,show:r,alignEnd:o})}};var s=l.prototype;return s.componentDidUpdate=function(e){var t=this.props.show,n=e.show;t&&!n&&this.maybeFocusFirst(),this._lastSourceEvent=null,!t&&n&&this._focusInDropdown&&(this._focusInDropdown=!1,this.focus())},s.getNextFocusedChild=function(e,t){if(!this.menu)return null;var n=this.props.itemSelector,o=(0,r.default)(this.menu,n),i=o.indexOf(e)+t;return o[i=Math.max(0,Math.min(i,o.length))]},s.hasMenuRole=function(){return this.menu&&(0,o.default)(this.menu,"[role=menu]")},s.focus=function(){var e=this.state.context.toggleNode;e&&e.focus&&e.focus()},s.maybeFocusFirst=function(){var e=this._lastSourceEvent,t=this.props.focusFirstItemOnShow;if(null==t&&(t=!!this.hasMenuRole()&&"keyboard"),!1!==t&&("keyboard"!==t||/^key.+$/.test(e))){var n=this.props.itemSelector,o=(0,r.default)(this.menu,n)[0];o&&o.focus&&o.focus()}},s.toggleOpen=function(e){var t=!this.props.show;this.props.onToggle(t,e)},s.render=function(){var e=this.props,t=e.children;return delete function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["children"]).onToggle,this.menu&&this.state.lastShow&&!this.props.show&&(this._focusInDropdown=this.menu.contains(document.activeElement)),i.default.createElement(c.default.Provider,{value:this.state.context},i.default.createElement(u.Manager,null,t({props:{onKeyDown:this.handleKeyDown}})))},l}(i.default.Component);g.displayName="ReactOverlaysDropdown",g.propTypes=h,g.defaultProps={itemSelector:"* > *"};var b=(0,s.default)(g,{show:"onToggle"});b.Menu=d.default,b.Toggle=p.default;var v=b;t.default=v,e.exports=t.default},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}},function(e,t,n){"use strict";t.__esModule=!0;var o=i(n(0)),r=i(n(87));function i(e){return e&&e.__esModule?e:{default:e}}t.default=o.default.createContext||r.default,e.exports=t.default},function(e,t){e.exports="SPA_Build/Images/Scan.png"},function(e,t){e.exports="SPA_Build/Images/Update.png"},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=g(n(96)),r=g(n(32)),i=g(n(14)),a=g(n(33)),l=g(n(4)),s=g(n(34)),u=g(n(97)),c=g(n(0)),d=g(n(7)),p=g(n(39)),f=g(n(106)),m=g(n(47)),h=g(n(45));function g(e){return e&&e.__esModule?e:{default:e}}function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var y=new p.default;var w=function(e){var t,n;function l(){for(var t,n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return(t=e.call.apply(e,[this].concat(i))||this).state={exited:!t.props.show},t.onPortalRendered=function(){t.props.onShow&&t.props.onShow(),t.autoFocus()},t.onShow=function(){var e=(0,h.default)(v(v(t))),n=(0,m.default)(t.props.container,e.body);t.props.manager.add(v(v(t)),n,t.props.containerClassName),t.removeKeydownListener=(0,a.default)(e,"keydown",t.handleDocumentKeyDown),t.removeFocusListener=(0,a.default)(e,"focus",function(){return setTimeout(t.enforceFocus)},!0)},t.onHide=function(){t.props.manager.remove(v(v(t))),t.removeKeydownListener(),t.removeFocusListener(),t.props.restoreFocus&&t.restoreLastFocus()},t.setDialogRef=function(e){t.dialog=e},t.setBackdropRef=function(e){t.backdrop=e&&d.default.findDOMNode(e)},t.handleHidden=function(){var e;(t.setState({exited:!0}),t.onHide(),t.props.onExited)&&(e=t.props).onExited.apply(e,arguments)},t.handleBackdropClick=function(e){e.target===e.currentTarget&&(t.props.onBackdropClick&&t.props.onBackdropClick(e),!0===t.props.backdrop&&t.props.onHide())},t.handleDocumentKeyDown=function(e){t.props.keyboard&&27===e.keyCode&&t.isTopModal()&&(t.props.onEscapeKeyDown&&t.props.onEscapeKeyDown(e),t.props.onHide())},t.enforceFocus=function(){if(t.props.enforceFocus&&t._isMounted&&t.isTopModal()){var e=(0,o.default)((0,h.default)(v(v(t))));t.dialog&&!(0,r.default)(t.dialog,e)&&t.dialog.focus()}},t.renderBackdrop=function(){var e=t.props,n=e.renderBackdrop,o=e.backdropTransition,r=n({ref:t.setBackdropRef,onClick:t.handleBackdropClick});return o&&(r=c.default.createElement(o,{appear:!0,in:t.props.show},r)),r},t}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,l.getDerivedStateFromProps=function(e){return e.show?{exited:!1}:e.transition?null:{exited:!0}};var s=l.prototype;return s.getSnapshotBeforeUpdate=function(e){return i.default&&!e.show&&this.props.show&&(this.lastFocus=(0,o.default)()),null},s.componentDidMount=function(){this._isMounted=!0,this.props.show&&this.onShow()},s.componentDidUpdate=function(e){var t=this.props.transition;!e.show||this.props.show||t?!e.show&&this.props.show&&this.onShow():this.onHide()},s.componentWillUnmount=function(){var e=this.props,t=e.show,n=e.transition;this._isMounted=!1,(t||n&&!this.state.exited)&&this.onHide()},s.autoFocus=function(){if(this.props.autoFocus){var e=(0,o.default)((0,h.default)(this));this.dialog&&!(0,r.default)(this.dialog,e)&&(this.lastFocus=e,this.dialog.focus())}},s.restoreLastFocus=function(){this.lastFocus&&this.lastFocus.focus&&(this.lastFocus.focus(),this.lastFocus=null)},s.isTopModal=function(){return this.props.manager.isTopModal(this)},s.render=function(){var e=this.props,t=e.show,n=e.container,o=e.children,r=e.renderDialog,i=e.role,a=void 0===i?"dialog":i,s=e.transition,u=e.backdrop,d=e.className,p=e.style,m=e.onExit,h=e.onExiting,g=e.onEnter,v=e.onEntering,y=e.onEntered,w=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["show","container","children","renderDialog","role","transition","backdrop","className","style","onExit","onExiting","onEnter","onEntering","onEntered"]);if(!(t||s&&!this.state.exited))return null;var x=b({role:a,ref:this.setDialogRef,"aria-modal":"dialog"===a||void 0},function(e,t){var n=Object.keys(e),o={};return n.map(function(n){Object.prototype.hasOwnProperty.call(t,n)||(o[n]=e[n])}),o}(w,l.propTypes),{style:p,className:d,tabIndex:"-1"}),E=r?r(x):c.default.createElement("div",x,c.default.cloneElement(o,{role:"document"}));return s&&(E=c.default.createElement(s,{appear:!0,unmountOnExit:!0,in:t,onExit:m,onExiting:h,onExited:this.handleHidden,onEnter:g,onEntering:v,onEntered:y},E)),c.default.createElement(f.default,{container:n,onRendered:this.onPortalRendered},c.default.createElement(c.default.Fragment,null,u&&this.renderBackdrop(),E))},l}(c.default.Component);w.propTypes={show:l.default.bool,container:l.default.oneOfType([s.default,l.default.func]),onShow:l.default.func,onHide:l.default.func,backdrop:l.default.oneOfType([l.default.bool,l.default.oneOf(["static"])]),renderDialog:l.default.func,renderBackdrop:l.default.func,onEscapeKeyDown:l.default.func,onBackdropClick:l.default.func,containerClassName:l.default.string,keyboard:l.default.bool,transition:u.default,backdropTransition:u.default,autoFocus:l.default.bool,enforceFocus:l.default.bool,restoreFocus:l.default.bool,onEnter:l.default.func,onEntering:l.default.func,onEntered:l.default.func,onExit:l.default.func,onExiting:l.default.func,onExited:l.default.func,manager:l.default.object.isRequired},w.defaultProps={show:!1,role:"dialog",backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,onHide:function(){},manager:y,renderBackdrop:function(e){return c.default.createElement("div",e)}},w.Manager=p.default;var x=w;t.default=x,e.exports=t.default},function(e,t,n){var o=n(119);e.exports=f,e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t))},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var r=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,o=[],i=0,a=0,l="",c=t&&t.delimiter||"/";null!=(n=r.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(a,f),a=f+d.length,p)l+=p[1];else{var m=e[a],h=n[2],g=n[3],b=n[4],v=n[5],y=n[6],w=n[7];l&&(o.push(l),l="");var x=null!=h&&null!=m&&m!==h,E="+"===y||"*"===y,C="?"===y||"*"===y,k=n[2]||c,T=b||v;o.push({name:g||i++,prefix:h||"",delimiter:k,optional:C,repeat:E,partial:x,asterisk:!!w,pattern:T?u(T):w?".*":"[^"+s(k)+"]+?"})}}return a<e.length&&(l+=e.substr(a)),l&&o.push(l),o}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function l(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,r){for(var i="",l=n||{},s=(r||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,p=l[c.name];if(null==p){if(c.optional){c.partial&&(i+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(o(p)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=s(p[f]),!t[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===f?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(p).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):s(p),!t[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');i+=c.prefix+d}}else i+=c}return i}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e.sensitive?"":"i"}function p(e,t,n){o(t)||(n=t||n,t=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,a="",l=0;l<e.length;l++){var u=e[l];if("string"==typeof u)a+=s(u);else{var p=s(u.prefix),f="(?:"+u.pattern+")";t.push(u),u.repeat&&(f+="(?:"+p+f+")*"),a+=f=u.optional?u.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var m=s(n.delimiter||"/"),h=a.slice(-m.length)===m;return r||(a=(h?a.slice(0,-m.length):a)+"(?:"+m+"(?=$))?"),a+=i?"$":r&&h?"":"(?="+m+"|$)",c(new RegExp("^"+a,d(n)),t)}function f(e,t,n){return o(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var o=0;o<n.length;o++)t.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):o(e)?function(e,t,n){for(var o=[],r=0;r<e.length;r++)o.push(f(e[r],t,n).source);return c(new RegExp("(?:"+o.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},function(e,t,n){var o=n(64);"string"==typeof o&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};n(25)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){(e.exports=n(24)(!1)).push([e.i,"/*!\n * Bootstrap v4.3.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex=\"-1\"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer::before{content:\"\\2014\\00A0\"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-break:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.container-fluid{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-ms-flex-order:-1;order:-1}.order-sm-last{-ms-flex-order:13;order:13}.order-sm-0{-ms-flex-order:0;order:0}.order-sm-1{-ms-flex-order:1;order:1}.order-sm-2{-ms-flex-order:2;order:2}.order-sm-3{-ms-flex-order:3;order:3}.order-sm-4{-ms-flex-order:4;order:4}.order-sm-5{-ms-flex-order:5;order:5}.order-sm-6{-ms-flex-order:6;order:6}.order-sm-7{-ms-flex-order:7;order:7}.order-sm-8{-ms-flex-order:8;order:8}.order-sm-9{-ms-flex-order:9;order:9}.order-sm-10{-ms-flex-order:10;order:10}.order-sm-11{-ms-flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-ms-flex-order:-1;order:-1}.order-md-last{-ms-flex-order:13;order:13}.order-md-0{-ms-flex-order:0;order:0}.order-md-1{-ms-flex-order:1;order:1}.order-md-2{-ms-flex-order:2;order:2}.order-md-3{-ms-flex-order:3;order:3}.order-md-4{-ms-flex-order:4;order:4}.order-md-5{-ms-flex-order:5;order:5}.order-md-6{-ms-flex-order:6;order:6}.order-md-7{-ms-flex-order:7;order:7}.order-md-8{-ms-flex-order:8;order:8}.order-md-9{-ms-flex-order:9;order:9}.order-md-10{-ms-flex-order:10;order:10}.order-md-11{-ms-flex-order:11;order:11}.order-md-12{-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-ms-flex-order:-1;order:-1}.order-lg-last{-ms-flex-order:13;order:13}.order-lg-0{-ms-flex-order:0;order:0}.order-lg-1{-ms-flex-order:1;order:1}.order-lg-2{-ms-flex-order:2;order:2}.order-lg-3{-ms-flex-order:3;order:3}.order-lg-4{-ms-flex-order:4;order:4}.order-lg-5{-ms-flex-order:5;order:5}.order-lg-6{-ms-flex-order:6;order:6}.order-lg-7{-ms-flex-order:7;order:7}.order-lg-8{-ms-flex-order:8;order:8}.order-lg-9{-ms-flex-order:9;order:9}.order-lg-10{-ms-flex-order:10;order:10}.order-lg-11{-ms-flex-order:11;order:11}.order-lg-12{-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-ms-flex-order:-1;order:-1}.order-xl-last{-ms-flex-order:13;order:13}.order-xl-0{-ms-flex-order:0;order:0}.order-xl-1{-ms-flex-order:1;order:1}.order-xl-2{-ms-flex-order:2;order:2}.order-xl-3{-ms-flex-order:3;order:3}.order-xl-4{-ms-flex-order:4;order:4}.order-xl-5{-ms-flex-order:5;order:5}.order-xl-6{-ms-flex-order:6;order:6}.order-xl-7{-ms-flex-order:7;order:7}.order-xl-8{-ms-flex-order:8;order:8}.order-xl-9{-ms-flex-order:9;order:9}.order-xl-10{-ms-flex-order:10;order:10}.order-xl-11{-ms-flex-order:11;order:11}.order-xl-12{-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered{border:1px solid #dee2e6}.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover{background-color:#9fcdff}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover{background-color:#c8cbcf}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover{background-color:#b1dfbb}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover{background-color:#abdde5}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover{background-color:#ffe8a1}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover{background-color:#f1b0b7}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover{background-color:#ececf6}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover{background-color:#b9bbbe}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.form-control::-webkit-input-placeholder{color:#6c757d;opacity:1}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding-top:.375rem;padding-bottom:.375rem;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:center right calc(.375em + .1875rem);background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-control.is-valid~.valid-feedback,.form-control.is-valid~.valid-tooltip,.was-validated .form-control:valid~.valid-feedback,.was-validated .form-control:valid~.valid-tooltip{display:block}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc((1em + .75rem) * 3 / 4 + 1.75rem);background:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e\") no-repeat right .75rem center/8px 10px,url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-select.is-valid~.valid-feedback,.custom-select.is-valid~.valid-tooltip,.was-validated .custom-select:valid~.valid-feedback,.was-validated .custom-select:valid~.valid-tooltip{display:block}.form-control-file.is-valid~.valid-feedback,.form-control-file.is-valid~.valid-tooltip,.was-validated .form-control-file:valid~.valid-feedback,.was-validated .form-control-file:valid~.valid-tooltip{display:block}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label::before,.was-validated .custom-control-input:valid~.custom-control-label::before{border-color:#28a745}.custom-control-input.is-valid~.valid-feedback,.custom-control-input.is-valid~.valid-tooltip,.was-validated .custom-control-input:valid~.valid-feedback,.was-validated .custom-control-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid:checked~.custom-control-label::before,.was-validated .custom-control-input:valid:checked~.custom-control-label::before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label::before,.was-validated .custom-control-input:valid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid~.valid-feedback,.custom-file-input.is-valid~.valid-tooltip,.was-validated .custom-file-input:valid~.valid-feedback,.was-validated .custom-file-input:valid~.valid-tooltip{display:block}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E\");background-repeat:no-repeat;background-position:center right calc(.375em + .1875rem);background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-control.is-invalid~.invalid-feedback,.form-control.is-invalid~.invalid-tooltip,.was-validated .form-control:invalid~.invalid-feedback,.was-validated .form-control:invalid~.invalid-tooltip{display:block}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc((1em + .75rem) * 3 / 4 + 1.75rem);background:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e\") no-repeat right .75rem center/8px 10px,url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E\") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-select.is-invalid~.invalid-feedback,.custom-select.is-invalid~.invalid-tooltip,.was-validated .custom-select:invalid~.invalid-feedback,.was-validated .custom-select:invalid~.invalid-tooltip{display:block}.form-control-file.is-invalid~.invalid-feedback,.form-control-file.is-invalid~.invalid-tooltip,.was-validated .form-control-file:invalid~.invalid-feedback,.was-validated .form-control-file:invalid~.invalid-tooltip{display:block}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label::before,.was-validated .custom-control-input:invalid~.custom-control-label::before{border-color:#dc3545}.custom-control-input.is-invalid~.invalid-feedback,.custom-control-input.is-invalid~.invalid-tooltip,.was-validated .custom-control-input:invalid~.invalid-feedback,.was-validated .custom-control-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid:checked~.custom-control-label::before,.was-validated .custom-control-input:invalid:checked~.custom-control-label::before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid~.invalid-feedback,.custom-file-input.is-invalid~.invalid-tooltip,.was-validated .custom-file-input:invalid~.invalid-feedback,.was-validated .custom-file-input:invalid~.invalid-tooltip{display:block}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.btn.disabled,.btn:disabled{opacity:.65}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3;text-decoration:underline}.btn-link.focus,.btn-link:focus{text-decoration:underline;box-shadow:none}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\"}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#f8f9fa}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#6c757d;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group-vertical>.btn:hover,.btn-group>.btn:hover{z-index:1}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus{z-index:1}.btn-toolbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropright .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropleft .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:last-child),.input-group>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-append,.input-group-prepend{display:-ms-flexbox;display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;display:block;min-height:1.5rem;padding-left:1.5rem}.custom-control-inline{display:-ms-inline-flexbox;display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label::before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:\"\";background-color:#fff;border:#adb5bd solid 1px}.custom-control-label::after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:\"\";background:no-repeat 50%/50% 50%}.custom-checkbox .custom-control-label::before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e\")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e\")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-radio .custom-control-label::before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e\")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#fff;-webkit-transform:translateX(.75rem);transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e\") no-repeat right .75rem center/8px 10px;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size=\"1\"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75rem + 2px);margin:0;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-file-input:disabled~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label::after{content:\"Browse\"}.custom-file-input~.custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label::after{position:absolute;top:0;right:0;bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);padding:.375rem .75rem;line-height:1.5;color:#495057;content:\"Browse\";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:calc(1rem + .4rem);padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:.5rem}.custom-range::-ms-fill-lower{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px;background-color:#dee2e6;border-radius:1rem}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label::before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}.nav{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item{-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:.5rem 1rem}.navbar>.container,.navbar>.container-fluid{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:\"\";background:no-repeat center center;background-size:100% 100%}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url(\"data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a{color:rgba(0,0,0,.9)}.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.5);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url(\"data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}.navbar-dark .navbar-text{color:rgba(255,255,255,.5)}.navbar-dark .navbar-text a{color:#fff}.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group:first-child .list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.card-body{-ms-flex:1 1 auto;flex:1 1 auto;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-header+.list-group .list-group-item:first-child{border-top:0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img{width:100%;border-radius:calc(.25rem - 1px)}.card-img-top{width:100%;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img-bottom{width:100%;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{display:-ms-flexbox;display:flex;-ms-flex:1 0 0%;flex:1 0 0%;-ms-flex-direction:column;flex-direction:column;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion>.card{overflow:hidden}.accordion>.card:not(:first-of-type) .card-header:first-child{border-radius:0}.accordion>.card:not(:first-of-type):not(:last-of-type){border-bottom:0;border-radius:0}.accordion>.card:first-of-type{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:last-of-type{border-top-left-radius:0;border-top-right-radius:0}.accordion>.card .card-header{margin-bottom:-1px}.breadcrumb{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;color:#6c757d;content:\"/\"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:2;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:1;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@-webkit-keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.media-body{-ms-flex:1;flex:1}.list-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-horizontal{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}@media (min-width:576px){.list-group-horizontal-sm{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-sm .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:768px){.list-group-horizontal-md{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-md .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:992px){.list-group-horizontal-lg{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-lg .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:1200px){.list-group-horizontal-xl{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-xl .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}.list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.list-group-flush .list-group-item:last-child{margin-bottom:-1px}.list-group-flush:first-child .list-group-item:first-child{border-top:0}.list-group-flush:last-child .list-group-item:last-child{margin-bottom:0;border-bottom:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}a.close.disabled{pointer-events:none}.toast{max-width:350px;overflow:hidden;font-size:.875rem;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .25rem .75rem rgba(0,0,0,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translate(0,-50px);transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal-dialog-scrollable{display:-ms-flexbox;display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);content:\"\"}.modal-dialog-centered.modal-dialog-scrollable{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:.3rem;border-top-right-radius:.3rem}.modal-header .close{padding:1rem 1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem}.modal-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:1rem;border-top:1px solid #dee2e6;border-bottom-right-radius:.3rem;border-bottom-left-radius:.3rem}.modal-footer>:not(:first-child){margin-left:.25rem}.modal-footer>:not(:last-child){margin-right:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow::before{position:absolute;content:\"\";border-color:transparent;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow::before,.bs-tooltip-top .arrow::before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow::before,.bs-tooltip-right .arrow::before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow::before,.bs-tooltip-bottom .arrow::before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow::before,.bs-tooltip-left .arrow::before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .arrow{position:absolute;display:block;width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow::after,.popover .arrow::before{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc((.5rem + 1px) * -1)}.bs-popover-auto[x-placement^=top]>.arrow::before,.bs-popover-top>.arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc((.5rem + 1px) * -1);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow::before,.bs-popover-right>.arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc((.5rem + 1px) * -1)}.bs-popover-auto[x-placement^=bottom]>.arrow::before,.bs-popover-bottom>.arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:\"\";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc((.5rem + 1px) * -1);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow::before,.bs-popover-left>.arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:\"\"}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){-webkit-transform:translateX(100%);transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){-webkit-transform:translateX(-100%);transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:0s .6s opacity}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:no-repeat 50%/100% 100%}.carousel-control-prev-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e\")}.carousel-control-next-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e\")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:content-box;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-right{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix::after{display:block;clear:both;content:\"\"}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive::before{display:block;content:\"\"}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9::before{padding-top:42.857143%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.flex-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-sm-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-sm-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-md-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-md-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-lg-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-lg-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-xl-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-xl-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}@supports ((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:\"\";background-color:rgba(0,0,0,0)}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:rgba(255,255,255,.5)!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;overflow-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]::after{content:\" (\" attr(title) \")\"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}body{min-width:992px!important}.container{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}}",""])},function(e,t,n){var o=n(66);"string"==typeof o&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};n(25)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){(e.exports=n(24)(!1)).push([e.i,".toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#FFF}.toast-message a:hover{color:#CCC;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#FFF;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80);line-height:1}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}.rtl .toast-close-button{left:-.3em;float:left;right:.3em}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#FFF;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80)}#toast-container>div.rtl{direction:rtl;padding:15px 50px 15px 15px;background-position:right 15px center}#toast-container>div:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);filter:alpha(opacity=100);cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin-left:auto;margin-right:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin-left:auto;margin-right:auto}.toast{background-color:#030303}.toast-success{background-color:#51A351}.toast-error{background-color:#BD362F}.toast-info{background-color:#2F96B4}.toast-warning{background-color:#F89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}@media all and (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}#toast-container>div.rtl{padding:15px 50px 15px 15px}}",""])},function(e,t,n){var o=n(68);"string"==typeof o&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};n(25)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){(e.exports=n(24)(!1)).push([e.i,'/* Tabulator v4.2.3 (c) Oliver Folkerd */\n.tabulator{position:relative;border:1px solid #999;background-color:#888;font-size:14px;text-align:left;overflow:hidden;transform:translatez(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableHolder .tabulator-table{min-width:100%}.tabulator.tabulator-block-select{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #999;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header .tabulator-col{display:inline-block;position:relative;box-sizing:border-box;border-right:1px solid #aaa;background:#e6e6e6;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #999;background:#cdcdcd;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow{display:inline-block;position:absolute;top:9px;right:8px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:-ms-flexbox;display:flex;border-top:1px solid #aaa;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols .tabulator-col:last-child{margin-right:-1px}.tabulator .tabulator-header .tabulator-col:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator .tabulator-header .tabulator-col.ui-sortable-helper{position:absolute;background-color:#e6e6e6!important;border:1px solid #aaa}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover{cursor:pointer;background-color:#cdcdcd}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-arrow{border-top:6px solid #666;border-bottom:none}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{-webkit-writing-mode:vertical-rl;-ms-writing-mode:tb-rl;writing-mode:vertical-rl;text-orientation:mixed;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-arrow{right:calc(50% - 6px)}.tabulator .tabulator-header .tabulator-frozen{display:inline-block;position:absolute;z-index:1}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;min-width:400%;background:#f3f3f3!important;border-top:1px solid #aaa;border-bottom:1px solid #aaa;overflow:hidden}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{min-width:400%}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableHolder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableHolder:focus{outline:none}.tabulator .tabulator-tableHolder .tabulator-placeholder{box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%}.tabulator .tabulator-tableHolder .tabulator-placeholder[tabulator-render-mode=virtual]{position:absolute;top:0;left:0;height:100%}.tabulator .tabulator-tableHolder .tabulator-placeholder span{display:inline-block;margin:0 auto;padding:10px;color:#ccc;font-weight:700;font-size:20px}.tabulator .tabulator-tableHolder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#e2e2e2!important}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #aaa}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #aaa}.tabulator .tabulator-footer{padding:5px 10px;border-top:1px solid #999;background-color:#e6e6e6;text-align:right;color:#555;font-weight:700;white-space:nowrap;-ms-user-select:none;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:calc(100% + 20px);margin:-5px -10px 5px;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #aaa;border-top:1px solid #aaa;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer .tabulator-paginator{color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #aaa;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #aaa;border-radius:3px;background:hsla(0,0%,100%,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#d00}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}.tabulator .tabulator-col-resize-handle{position:absolute;right:0;top:0;bottom:0;width:5px}.tabulator .tabulator-col-resize-handle.prev{left:0;right:auto}.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}.tabulator .tabulator-loader{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;top:0;left:0;z-index:3;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-loader .tabulator-loader-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading{border:4px solid #333;color:#000}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-error{border:4px solid #d00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:22px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#efefef}.tabulator-row.tabulator-selectable:hover{background-color:#bbb;cursor:pointer}.tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #aaa;border-bottom:1px solid #aaa;pointer-events:none;z-index:2}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}.tabulator-row .tabulator-frozen{display:inline-block;position:absolute;background-color:inherit;z-index:1}.tabulator-row .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator-row .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #aaa;border-bottom:1px solid #aaa}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #aaa;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1d68cd;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator-row .tabulator-cell.tabulator-row-handle{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #aaa;border-bottom:2px solid #aaa}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open,.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #aaa;border-top:1px solid #999;padding:5px;padding-left:10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-edit-select-list{position:absolute;display:inline-block;box-sizing:border-box;max-height:200px;background:#fff;border:1px solid #aaa;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:4}.tabulator-edit-select-list .tabulator-edit-select-list-item{padding:4px;color:#333}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{cursor:pointer;color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-group{border-bottom:1px solid #aaa;padding:4px;padding-top:6px;color:#333;font-weight:700}\n',""])},function(e,t,n){var o=n(70);"string"==typeof o&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};n(25)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){(e.exports=n(24)(!1)).push([e.i,".RedButton {\r\n    color: orange;        \r\n    font-family: Verdana; \r\n    margin-top: 1rem;\r\n}\r\n",""])},function(e,t,n){"use strict";
/** @license React v16.8.6
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(28),r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);!function(e,t,n,o,r,i,a,l){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,r,i,a,l],u=0;(e=Error(t.replace(/%s/g,function(){return s[u++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function x(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||y}function E(){}function C(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||y}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&v("85"),this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=x.prototype;var k=C.prototype=new E;k.constructor=C,o(k,x.prototype),k.isPureReactComponent=!0;var T={current:null},S={current:null},D=Object.prototype.hasOwnProperty,R={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,n){var o=void 0,r={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)D.call(t,o)&&!R.hasOwnProperty(o)&&(r[o]=t[o]);var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];r.children=u}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===r[o]&&(r[o]=s[o]);return{$$typeof:i,type:e,key:a,ref:l,props:r,_owner:S.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var P=/\/+/g,N=[];function _(e,t,n,o){if(N.length){var r=N.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=o,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:o,count:0}}function L(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function A(e,t,n){return null==e?0:function e(t,n,o,r){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var s=!1;if(null===t)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case i:case a:s=!0}}if(s)return o(r,t,""===n?"."+I(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u<t.length;u++){var c=n+I(l=t[u],u);s+=e(l,c,o,r)}else if(c=null===t||"object"!=typeof t?null:"function"==typeof(c=b&&t[b]||t["@@iterator"])?c:null,"function"==typeof c)for(t=c.call(t),u=0;!(l=t.next()).done;)s+=e(l=l.value,c=n+I(l,u++),o,r);else"object"===l&&v("31","[object Object]"==(o=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":o,"");return s}(e,"",t,n)}function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function z(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,n){var o=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,o,n,function(e){return e}):null!=e&&(O(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+n)),o.push(e))}function j(e,t,n,o,r){var i="";null!=n&&(i=(""+n).replace(P,"$&/")+"/"),A(e,F,t=_(t,i,o,r)),L(t)}function H(){var e=T.current;return null===e&&v("321"),e}var U={Children:{map:function(e,t,n){if(null==e)return e;var o=[];return j(e,o,null,t,n),o},forEach:function(e,t,n){if(null==e)return e;A(e,z,t=_(null,null,t,n)),L(t)},count:function(e){return A(e,function(){return null},null)},toArray:function(e){var t=[];return j(e,t,null,function(e){return e}),t},only:function(e){return O(e)||v("143"),e}},createRef:function(){return{current:null}},Component:x,PureComponent:C,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return H().useCallback(e,t)},useContext:function(e,t){return H().useContext(e,t)},useEffect:function(e,t){return H().useEffect(e,t)},useImperativeHandle:function(e,t,n){return H().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return H().useLayoutEffect(e,t)},useMemo:function(e,t){return H().useMemo(e,t)},useReducer:function(e,t,n){return H().useReducer(e,t,n)},useRef:function(e){return H().useRef(e)},useState:function(e){return H().useState(e)},Fragment:l,StrictMode:s,Suspense:m,createElement:M,cloneElement:function(e,t,n){null==e&&v("267",e);var r=void 0,a=o({},e.props),l=e.key,s=e.ref,u=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,u=S.current),void 0!==t.key&&(l=""+t.key);var c=void 0;for(r in e.type&&e.type.defaultProps&&(c=e.type.defaultProps),t)D.call(t,r)&&!R.hasOwnProperty(r)&&(a[r]=void 0===t[r]&&void 0!==c?c[r]:t[r])}if(1===(r=arguments.length-2))a.children=n;else if(1<r){c=Array(r);for(var d=0;d<r;d++)c[d]=arguments[d+2];a.children=c}return{$$typeof:i,type:e.type,key:l,ref:s,props:a,_owner:u}},createFactory:function(e){var t=M.bind(null,e);return t.type=e,t},isValidElement:O,version:"16.8.6",unstable_ConcurrentMode:p,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:T,ReactCurrentOwner:S,assign:o}},B={default:U},W=B&&U||B;e.exports=W.default||W},function(e,t,n){"use strict";
/** @license React v16.8.6
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(0),r=n(28),i=n(73);function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);!function(e,t,n,o,r,i,a,l){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,r,i,a,l],u=0;(e=Error(t.replace(/%s/g,function(){return s[u++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}o||a("227");var l=!1,s=null,u=!1,c=null,d={onError:function(e){l=!0,s=e}};function p(e,t,n,o,r,i,a,u,c){l=!1,s=null,function(e,t,n,o,r,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}.apply(d,arguments)}var f=null,m={};function h(){if(f)for(var e in m){var t=m[e],n=f.indexOf(e);if(-1<n||a("96",e),!b[n])for(var o in t.extractEvents||a("97",e),b[n]=t,n=t.eventTypes){var r=void 0,i=n[o],l=t,s=o;v.hasOwnProperty(s)&&a("99",s),v[s]=i;var u=i.phasedRegistrationNames;if(u){for(r in u)u.hasOwnProperty(r)&&g(u[r],l,s);r=!0}else i.registrationName?(g(i.registrationName,l,s),r=!0):r=!1;r||a("98",o,e)}}}function g(e,t,n){y[e]&&a("100",e),y[e]=t,w[e]=t.eventTypes[n].dependencies}var b=[],v={},y={},w={},x=null,E=null,C=null;function k(e,t,n){var o=e.type||"unknown-event";e.currentTarget=C(n),function(e,t,n,o,r,i,d,f,m){if(p.apply(this,arguments),l){if(l){var h=s;l=!1,s=null}else a("198"),h=void 0;u||(u=!0,c=h)}}(o,t,void 0,e),e.currentTarget=null}function T(e,t){return null==t&&a("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function S(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var D=null;function R(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var o=0;o<t.length&&!e.isPropagationStopped();o++)k(e,t[o],n[o]);else t&&k(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var M={injectEventPluginOrder:function(e){f&&a("101"),f=Array.prototype.slice.call(e),h()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];m.hasOwnProperty(t)&&m[t]===o||(m[t]&&a("102",t),m[t]=o,n=!0)}n&&h()}};function O(e,t){var n=e.stateNode;if(!n)return null;var o=x(n);if(!o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&a("231",t,typeof n),n)}function P(e){if(null!==e&&(D=T(D,e)),e=D,D=null,e&&(S(e,R),D&&a("95"),u))throw e=c,u=!1,c=null,e}var N=Math.random().toString(36).slice(2),_="__reactInternalInstance$"+N,L="__reactEventHandlers$"+N;function A(e){if(e[_])return e[_];for(;!e[_];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[_]).tag||6===e.tag?e:null}function I(e){return!(e=e[_])||5!==e.tag&&6!==e.tag?null:e}function z(e){if(5===e.tag||6===e.tag)return e.stateNode;a("33")}function F(e){return e[L]||null}function j(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function H(e,t,n){(t=O(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=T(n._dispatchListeners,t),n._dispatchInstances=T(n._dispatchInstances,e))}function U(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=j(t);for(t=n.length;0<t--;)H(n[t],"captured",e);for(t=0;t<n.length;t++)H(n[t],"bubbled",e)}}function B(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=O(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=T(n._dispatchListeners,t),n._dispatchInstances=T(n._dispatchInstances,e))}function W(e){e&&e.dispatchConfig.registrationName&&B(e._targetInst,null,e)}function G(e){S(e,U)}var q=!("undefined"==typeof window||!window.document||!window.document.createElement);function V(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Y={animationend:V("Animation","AnimationEnd"),animationiteration:V("Animation","AnimationIteration"),animationstart:V("Animation","AnimationStart"),transitionend:V("Transition","TransitionEnd")},X={},K={};function $(e){if(X[e])return X[e];if(!Y[e])return e;var t,n=Y[e];for(t in n)if(n.hasOwnProperty(t)&&t in K)return X[e]=n[t];return e}q&&(K=document.createElement("div").style,"AnimationEvent"in window||(delete Y.animationend.animation,delete Y.animationiteration.animation,delete Y.animationstart.animation),"TransitionEvent"in window||delete Y.transitionend.transition);var Q=$("animationend"),J=$("animationiteration"),Z=$("animationstart"),ee=$("transitionend"),te="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ne=null,oe=null,re=null;function ie(){if(re)return re;var e,t,n=oe,o=n.length,r="value"in ne?ne.value:ne.textContent,i=r.length;for(e=0;e<o&&n[e]===r[e];e++);var a=o-e;for(t=1;t<=a&&n[o-t]===r[i-t];t++);return re=r.slice(e,1<t?1-t:void 0)}function ae(){return!0}function le(){return!1}function se(e,t,n,o){for(var r in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(r)&&((t=e[r])?this[r]=t(n):"target"===r?this.target=o:this[r]=n[r]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?ae:le,this.isPropagationStopped=le,this}function ue(e,t,n,o){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,t,n,o),r}return new this(e,t,n,o)}function ce(e){e instanceof this||a("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=ue,e.release=ce}r(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){this.isPersistent=ae},isPersistent:le,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=le,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return o.apply(this,arguments)}var o=this;t.prototype=o.prototype;var i=new t;return r(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=r({},o.Interface,e),n.extend=o.extend,de(n),n},de(se);var pe=se.extend({data:null}),fe=se.extend({data:null}),me=[9,13,27,32],he=q&&"CompositionEvent"in window,ge=null;q&&"documentMode"in document&&(ge=document.documentMode);var be=q&&"TextEvent"in window&&!ge,ve=q&&(!he||ge&&8<ge&&11>=ge),ye=String.fromCharCode(32),we={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},xe=!1;function Ee(e,t){switch(e){case"keyup":return-1!==me.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Ce(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ke=!1;var Te={eventTypes:we,extractEvents:function(e,t,n,o){var r=void 0,i=void 0;if(he)e:{switch(e){case"compositionstart":r=we.compositionStart;break e;case"compositionend":r=we.compositionEnd;break e;case"compositionupdate":r=we.compositionUpdate;break e}r=void 0}else ke?Ee(e,n)&&(r=we.compositionEnd):"keydown"===e&&229===n.keyCode&&(r=we.compositionStart);return r?(ve&&"ko"!==n.locale&&(ke||r!==we.compositionStart?r===we.compositionEnd&&ke&&(i=ie()):(oe="value"in(ne=o)?ne.value:ne.textContent,ke=!0)),r=pe.getPooled(r,t,n,o),i?r.data=i:null!==(i=Ce(n))&&(r.data=i),G(r),i=r):i=null,(e=be?function(e,t){switch(e){case"compositionend":return Ce(t);case"keypress":return 32!==t.which?null:(xe=!0,ye);case"textInput":return(e=t.data)===ye&&xe?null:e;default:return null}}(e,n):function(e,t){if(ke)return"compositionend"===e||!he&&Ee(e,t)?(e=ie(),re=oe=ne=null,ke=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ve&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=fe.getPooled(we.beforeInput,t,n,o)).data=e,G(t)):t=null,null===i?t:null===t?i:[i,t]}},Se=null,De=null,Re=null;function Me(e){if(e=E(e)){"function"!=typeof Se&&a("280");var t=x(e.stateNode);Se(e.stateNode,e.type,t)}}function Oe(e){De?Re?Re.push(e):Re=[e]:De=e}function Pe(){if(De){var e=De,t=Re;if(Re=De=null,Me(e),t)for(e=0;e<t.length;e++)Me(t[e])}}function Ne(e,t){return e(t)}function _e(e,t,n){return e(t,n)}function Le(){}var Ae=!1;function Ie(e,t){if(Ae)return e(t);Ae=!0;try{return Ne(e,t)}finally{Ae=!1,(null!==De||null!==Re)&&(Le(),Pe())}}var ze={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fe(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ze[e.type]:"textarea"===t}function je(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function He(e){if(!q)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function Ue(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Be(e){e._valueTracker||(e._valueTracker=function(e){var t=Ue(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){o=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function We(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=Ue(e)?e.checked?"true":"false":e.value),(e=o)!==n&&(t.setValue(e),!0)}var Ge=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ge.hasOwnProperty("ReactCurrentDispatcher")||(Ge.ReactCurrentDispatcher={current:null});var qe=/^(.*)[\\\/]/,Ve="function"==typeof Symbol&&Symbol.for,Ye=Ve?Symbol.for("react.element"):60103,Xe=Ve?Symbol.for("react.portal"):60106,Ke=Ve?Symbol.for("react.fragment"):60107,$e=Ve?Symbol.for("react.strict_mode"):60108,Qe=Ve?Symbol.for("react.profiler"):60114,Je=Ve?Symbol.for("react.provider"):60109,Ze=Ve?Symbol.for("react.context"):60110,et=Ve?Symbol.for("react.concurrent_mode"):60111,tt=Ve?Symbol.for("react.forward_ref"):60112,nt=Ve?Symbol.for("react.suspense"):60113,ot=Ve?Symbol.for("react.memo"):60115,rt=Ve?Symbol.for("react.lazy"):60116,it="function"==typeof Symbol&&Symbol.iterator;function at(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=it&&e[it]||e["@@iterator"])?e:null}function lt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case et:return"ConcurrentMode";case Ke:return"Fragment";case Xe:return"Portal";case Qe:return"Profiler";case $e:return"StrictMode";case nt:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case Ze:return"Context.Consumer";case Je:return"Context.Provider";case tt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ot:return lt(e.type);case rt:if(e=1===e._status?e._result:null)return lt(e)}return null}function st(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var o=e._debugOwner,r=e._debugSource,i=lt(e.type);n=null,o&&(n=lt(o.type)),o=i,i="",r?i=" (at "+r.fileName.replace(qe,"")+":"+r.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n    in "+(o||"Unknown")+i}t+=n,e=e.return}while(e);return t}var ut=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ct=Object.prototype.hasOwnProperty,dt={},pt={};function ft(e,t,n,o,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t}var mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){mt[e]=new ft(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];mt[t]=new ft(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){mt[e]=new ft(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){mt[e]=new ft(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){mt[e]=new ft(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){mt[e]=new ft(e,3,!0,e,null)}),["capture","download"].forEach(function(e){mt[e]=new ft(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){mt[e]=new ft(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){mt[e]=new ft(e,5,!1,e.toLowerCase(),null)});var ht=/[\-:]([a-z])/g;function gt(e){return e[1].toUpperCase()}function bt(e,t,n,o){var r=mt.hasOwnProperty(t)?mt[t]:null;(null!==r?0===r.type:!o&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,o){if(null==t||function(e,t,n,o){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,o))return!0;if(o)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,o)&&(n=null),o||null===r?function(e){return!!ct.call(pt,e)||!ct.call(dt,e)&&(ut.test(e)?pt[e]=!0:(dt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,o=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,o?e.setAttributeNS(o,t,n):e.setAttribute(t,n))))}function vt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function yt(e,t){var n=t.checked;return r({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function wt(e,t){var n=null==t.defaultValue?"":t.defaultValue,o=null!=t.checked?t.checked:t.defaultChecked;n=vt(null!=t.value?t.value:n),e._wrapperState={initialChecked:o,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function xt(e,t){null!=(t=t.checked)&&bt(e,"checked",t,!1)}function Et(e,t){xt(e,t);var n=vt(t.value),o=t.type;if(null!=n)"number"===o?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===o||"reset"===o)return void e.removeAttribute("value");t.hasOwnProperty("value")?kt(e,t.type,n):t.hasOwnProperty("defaultValue")&&kt(e,t.type,vt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ct(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!("submit"!==o&&"reset"!==o||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function kt(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ht,gt);mt[t]=new ft(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ht,gt);mt[t]=new ft(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ht,gt);mt[t]=new ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(function(e){mt[e]=new ft(e,1,!1,e.toLowerCase(),null)});var Tt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function St(e,t,n){return(e=se.getPooled(Tt.change,e,t,n)).type="change",Oe(n),G(e),e}var Dt=null,Rt=null;function Mt(e){P(e)}function Ot(e){if(We(z(e)))return e}function Pt(e,t){if("change"===e)return t}var Nt=!1;function _t(){Dt&&(Dt.detachEvent("onpropertychange",Lt),Rt=Dt=null)}function Lt(e){"value"===e.propertyName&&Ot(Rt)&&Ie(Mt,e=St(Rt,e,je(e)))}function At(e,t,n){"focus"===e?(_t(),Rt=n,(Dt=t).attachEvent("onpropertychange",Lt)):"blur"===e&&_t()}function It(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ot(Rt)}function zt(e,t){if("click"===e)return Ot(t)}function Ft(e,t){if("input"===e||"change"===e)return Ot(t)}q&&(Nt=He("input")&&(!document.documentMode||9<document.documentMode));var jt={eventTypes:Tt,_isInputEventSupported:Nt,extractEvents:function(e,t,n,o){var r=t?z(t):window,i=void 0,a=void 0,l=r.nodeName&&r.nodeName.toLowerCase();if("select"===l||"input"===l&&"file"===r.type?i=Pt:Fe(r)?Nt?i=Ft:(i=It,a=At):(l=r.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(i=zt),i&&(i=i(e,t)))return St(i,n,o);a&&a(e,r,t),"blur"===e&&(e=r._wrapperState)&&e.controlled&&"number"===r.type&&kt(r,"number",r.value)}},Ht=se.extend({view:null,detail:null}),Ut={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ut[e])&&!!t[e]}function Wt(){return Bt}var Gt=0,qt=0,Vt=!1,Yt=!1,Xt=Ht.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Wt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Gt;return Gt=e.screenX,Vt?"mousemove"===e.type?e.screenX-t:0:(Vt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=qt;return qt=e.screenY,Yt?"mousemove"===e.type?e.screenY-t:0:(Yt=!0,0)}}),Kt=Xt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),$t={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Qt={eventTypes:$t,extractEvents:function(e,t,n,o){var r="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(r&&(n.relatedTarget||n.fromElement)||!i&&!r)return null;if(r=o.window===o?o:(r=o.ownerDocument)?r.defaultView||r.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?A(t):null):i=null,i===t)return null;var a=void 0,l=void 0,s=void 0,u=void 0;"mouseout"===e||"mouseover"===e?(a=Xt,l=$t.mouseLeave,s=$t.mouseEnter,u="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Kt,l=$t.pointerLeave,s=$t.pointerEnter,u="pointer");var c=null==i?r:z(i);if(r=null==t?r:z(t),(e=a.getPooled(l,i,n,o)).type=u+"leave",e.target=c,e.relatedTarget=r,(n=a.getPooled(s,t,n,o)).type=u+"enter",n.target=r,n.relatedTarget=c,o=t,i&&o)e:{for(r=o,u=0,a=t=i;a;a=j(a))u++;for(a=0,s=r;s;s=j(s))a++;for(;0<u-a;)t=j(t),u--;for(;0<a-u;)r=j(r),a--;for(;u--;){if(t===r||t===r.alternate)break e;t=j(t),r=j(r)}t=null}else t=null;for(r=t,t=[];i&&i!==r&&(null===(u=i.alternate)||u!==r);)t.push(i),i=j(i);for(i=[];o&&o!==r&&(null===(u=o.alternate)||u!==r);)i.push(o),o=j(o);for(o=0;o<t.length;o++)B(t[o],"bubbled",e);for(o=i.length;0<o--;)B(i[o],"captured",n);return[e,n]}};function Jt(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var Zt=Object.prototype.hasOwnProperty;function en(e,t){if(Jt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++)if(!Zt.call(t,n[o])||!Jt(e[n[o]],t[n[o]]))return!1;return!0}function tn(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function nn(e){2!==tn(e)&&a("188")}function on(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=tn(e))&&a("188"),1===t?null:e;for(var n=e,o=t;;){var r=n.return,i=r?r.alternate:null;if(!r||!i)break;if(r.child===i.child){for(var l=r.child;l;){if(l===n)return nn(r),e;if(l===o)return nn(r),t;l=l.sibling}a("188")}if(n.return!==o.return)n=r,o=i;else{l=!1;for(var s=r.child;s;){if(s===n){l=!0,n=r,o=i;break}if(s===o){l=!0,o=r,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,o=r;break}if(s===o){l=!0,o=i,n=r;break}s=s.sibling}l||a("189")}}n.alternate!==o&&a("190")}return 3!==n.tag&&a("188"),n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var rn=se.extend({animationName:null,elapsedTime:null,pseudoElement:null}),an=se.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ln=Ht.extend({relatedTarget:null});function sn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var un={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},dn=Ht.extend({key:function(e){if(e.key){var t=un[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=sn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?cn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Wt,charCode:function(e){return"keypress"===e.type?sn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?sn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),pn=Xt.extend({dataTransfer:null}),fn=Ht.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Wt}),mn=se.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),hn=Xt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),gn=[["abort","abort"],[Q,"animationEnd"],[J,"animationIteration"],[Z,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[ee,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],bn={},vn={};function yn(e,t){var n=e[0],o="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[n],isInteractive:t},bn[e]=t,vn[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){yn(e,!0)}),gn.forEach(function(e){yn(e,!1)});var wn={eventTypes:bn,isInteractiveTopLevelEventType:function(e){return void 0!==(e=vn[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,o){var r=vn[e];if(!r)return null;switch(e){case"keypress":if(0===sn(n))return null;case"keydown":case"keyup":e=dn;break;case"blur":case"focus":e=ln;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Xt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=fn;break;case Q:case J:case Z:e=rn;break;case ee:e=mn;break;case"scroll":e=Ht;break;case"wheel":e=hn;break;case"copy":case"cut":case"paste":e=an;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Kt;break;default:e=se}return G(t=e.getPooled(r,t,n,o)),t}},xn=wn.isInteractiveTopLevelEventType,En=[];function Cn(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var o;for(o=n;o.return;)o=o.return;if(!(o=3!==o.tag?null:o.stateNode.containerInfo))break;e.ancestors.push(n),n=A(o)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var r=je(e.nativeEvent);o=e.topLevelType;for(var i=e.nativeEvent,a=null,l=0;l<b.length;l++){var s=b[l];s&&(s=s.extractEvents(o,t,i,r))&&(a=T(a,s))}P(a)}}var kn=!0;function Tn(e,t){if(!t)return null;var n=(xn(e)?Dn:Rn).bind(null,e);t.addEventListener(e,n,!1)}function Sn(e,t){if(!t)return null;var n=(xn(e)?Dn:Rn).bind(null,e);t.addEventListener(e,n,!0)}function Dn(e,t){_e(Rn,e,t)}function Rn(e,t){if(kn){var n=je(t);if(null===(n=A(n))||"number"!=typeof n.tag||2===tn(n)||(n=null),En.length){var o=En.pop();o.topLevelType=e,o.nativeEvent=t,o.targetInst=n,e=o}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Ie(Cn,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>En.length&&En.push(e)}}}var Mn={},On=0,Pn="_reactListenersID"+(""+Math.random()).slice(2);function Nn(e){return Object.prototype.hasOwnProperty.call(e,Pn)||(e[Pn]=On++,Mn[e[Pn]]={}),Mn[e[Pn]]}function _n(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function An(e,t){var n,o=Ln(e);for(e=0;o;){if(3===o.nodeType){if(n=e+o.textContent.length,e<=t&&n>=t)return{node:o,offset:t-e};e=n}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Ln(o)}}function In(){for(var e=window,t=_n();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=_n((e=t.contentWindow).document)}return t}function zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Fn(e){var t=In(),n=e.focusedElem,o=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==o&&zn(n))if(t=o.start,void 0===(e=o.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var r=n.textContent.length,i=Math.min(o.start,r);o=void 0===o.end?i:Math.min(o.end,r),!e.extend&&i>o&&(r=o,o=i,i=r),r=An(n,i);var a=An(n,o);r&&a&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),i>o?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var jn=q&&"documentMode"in document&&11>=document.documentMode,Hn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Un=null,Bn=null,Wn=null,Gn=!1;function qn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Gn||null==Un||Un!==_n(n)?null:("selectionStart"in(n=Un)&&zn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Wn&&en(Wn,n)?null:(Wn=n,(e=se.getPooled(Hn.select,Bn,e,t)).type="select",e.target=Un,G(e),e))}var Vn={eventTypes:Hn,extractEvents:function(e,t,n,o){var r,i=o.window===o?o.document:9===o.nodeType?o:o.ownerDocument;if(!(r=!i)){e:{i=Nn(i),r=w.onSelect;for(var a=0;a<r.length;a++){var l=r[a];if(!i.hasOwnProperty(l)||!i[l]){i=!1;break e}}i=!0}r=!i}if(r)return null;switch(i=t?z(t):window,e){case"focus":(Fe(i)||"true"===i.contentEditable)&&(Un=i,Bn=t,Wn=null);break;case"blur":Wn=Bn=Un=null;break;case"mousedown":Gn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Gn=!1,qn(n,o);case"selectionchange":if(jn)break;case"keydown":case"keyup":return qn(n,o)}return null}};function Yn(e,t){return e=r({children:void 0},t),(t=function(e){var t="";return o.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function Xn(e,t,n,o){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&o&&(e[n].defaultSelected=!0)}else{for(n=""+vt(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(o&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function Kn(e,t){return null!=t.dangerouslySetInnerHTML&&a("91"),r({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function $n(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&a("92"),Array.isArray(t)&&(1>=t.length||a("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:vt(n)}}function Qn(e,t){var n=vt(t.value),o=vt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=o&&(e.defaultValue=""+o)}function Jn(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}M.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x=F,E=I,C=z,M.injectEventPluginsByName({SimpleEventPlugin:wn,EnterLeaveEventPlugin:Qt,ChangeEventPlugin:jt,SelectEventPlugin:Vn,BeforeInputEventPlugin:Te});var Zn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function eo(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function to(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?eo(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var no=void 0,oo=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,o,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==Zn.svg||"innerHTML"in e)e.innerHTML=t;else{for((no=no||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=no.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ro(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var io={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ao=["Webkit","ms","Moz","O"];function lo(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||io.hasOwnProperty(e)&&io[e]?(""+t).trim():t+"px"}function so(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var o=0===n.indexOf("--"),r=lo(n,t[n],o);"float"===n&&(n="cssFloat"),o?e.setProperty(n,r):e[n]=r}}Object.keys(io).forEach(function(e){ao.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),io[t]=io[e]})});var uo=r({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function co(e,t){t&&(uo[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&a("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&a("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||a("61")),null!=t.style&&"object"!=typeof t.style&&a("62",""))}function po(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function fo(e,t){var n=Nn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=w[t];for(var o=0;o<t.length;o++){var r=t[o];if(!n.hasOwnProperty(r)||!n[r]){switch(r){case"scroll":Sn("scroll",e);break;case"focus":case"blur":Sn("focus",e),Sn("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":He(r)&&Sn(r,e);break;case"invalid":case"submit":case"reset":break;default:-1===te.indexOf(r)&&Tn(r,e)}n[r]=!0}}}function mo(){}var ho=null,go=null;function bo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vo(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var yo="function"==typeof setTimeout?setTimeout:void 0,wo="function"==typeof clearTimeout?clearTimeout:void 0,xo=i.unstable_scheduleCallback,Eo=i.unstable_cancelCallback;function Co(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function ko(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var To=[],So=-1;function Do(e){0>So||(e.current=To[So],To[So]=null,So--)}function Ro(e,t){To[++So]=e.current,e.current=t}var Mo={},Oo={current:Mo},Po={current:!1},No=Mo;function _o(e,t){var n=e.type.contextTypes;if(!n)return Mo;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var r,i={};for(r in n)i[r]=t[r];return o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Lo(e){return null!=(e=e.childContextTypes)}function Ao(e){Do(Po),Do(Oo)}function Io(e){Do(Po),Do(Oo)}function zo(e,t,n){Oo.current!==Mo&&a("168"),Ro(Oo,t),Ro(Po,n)}function Fo(e,t,n){var o=e.stateNode;if(e=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(var i in o=o.getChildContext())i in e||a("108",lt(t)||"Unknown",i);return r({},n,o)}function jo(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Mo,No=Oo.current,Ro(Oo,t),Ro(Po,Po.current),!0}function Ho(e,t,n){var o=e.stateNode;o||a("169"),n?(t=Fo(e,t,No),o.__reactInternalMemoizedMergedChildContext=t,Do(Po),Do(Oo),Ro(Oo,t)):Do(Po),Ro(Po,n)}var Uo=null,Bo=null;function Wo(e){return function(t){try{return e(t)}catch(e){}}}function Go(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function qo(e,t,n,o){return new Go(e,t,n,o)}function Vo(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Yo(e,t){var n=e.alternate;return null===n?((n=qo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xo(e,t,n,o,r,i){var l=2;if(o=e,"function"==typeof e)Vo(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case Ke:return Ko(n.children,r,i,t);case et:return $o(n,3|r,i,t);case $e:return $o(n,2|r,i,t);case Qe:return(e=qo(12,n,t,4|r)).elementType=Qe,e.type=Qe,e.expirationTime=i,e;case nt:return(e=qo(13,n,t,r)).elementType=nt,e.type=nt,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Je:l=10;break e;case Ze:l=9;break e;case tt:l=11;break e;case ot:l=14;break e;case rt:l=16,o=null;break e}a("130",null==e?e:typeof e,"")}return(t=qo(l,n,t,r)).elementType=e,t.type=o,t.expirationTime=i,t}function Ko(e,t,n,o){return(e=qo(7,e,o,t)).expirationTime=n,e}function $o(e,t,n,o){return e=qo(8,e,o,t),t=0==(1&t)?$e:et,e.elementType=t,e.type=t,e.expirationTime=n,e}function Qo(e,t,n){return(e=qo(6,e,null,t)).expirationTime=n,e}function Jo(e,t,n){return(t=qo(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zo(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),nr(t,e)}function er(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,o=e.latestPendingTime;n===t?e.earliestPendingTime=o===t?e.latestPendingTime=0:o:o===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,o=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:n<t?e.earliestSuspendedTime=t:o>t&&(e.latestSuspendedTime=t),nr(t,e)}function tr(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function nr(e,t){var n=t.earliestSuspendedTime,o=t.latestSuspendedTime,r=t.earliestPendingTime,i=t.latestPingedTime;0===(r=0!==r?r:i)&&(0===e||o<e)&&(r=o),0!==(e=r)&&n>e&&(e=n),t.nextExpirationTimeToWorkOn=r,t.expirationTime=e}function or(e,t){if(e&&e.defaultProps)for(var n in t=r({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var rr=(new o.Component).refs;function ir(e,t,n,o){n=null==(n=n(o,t=e.memoizedState))?t:r({},t,n),e.memoizedState=n,null!==(o=e.updateQueue)&&0===e.expirationTime&&(o.baseState=n)}var ar={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===tn(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var o=xl(),r=Ki(o=Xa(o,e));r.payload=t,null!=n&&(r.callback=n),Ba(),Qi(e,r),Qa(e,o)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var o=xl(),r=Ki(o=Xa(o,e));r.tag=Wi,r.payload=t,null!=n&&(r.callback=n),Ba(),Qi(e,r),Qa(e,o)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=xl(),o=Ki(n=Xa(n,e));o.tag=Gi,null!=t&&(o.callback=t),Ba(),Qi(e,o),Qa(e,n)}};function lr(e,t,n,o,r,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(o,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!en(n,o)||!en(r,i))}function sr(e,t,n){var o=!1,r=Mo,i=t.contextType;return"object"==typeof i&&null!==i?i=Ui(i):(r=Lo(t)?No:Oo.current,i=(o=null!=(o=t.contextTypes))?_o(e,r):Mo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ar,e.stateNode=t,t._reactInternalFiber=e,o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),t}function ur(e,t,n,o){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,o),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&ar.enqueueReplaceState(t,t.state,null)}function cr(e,t,n,o){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=rr;var i=t.contextType;"object"==typeof i&&null!==i?r.context=Ui(i):(i=Lo(t)?No:Oo.current,r.context=_o(e,i)),null!==(i=e.updateQueue)&&(ta(e,i,n,r,o),r.state=e.memoizedState),"function"==typeof(i=t.getDerivedStateFromProps)&&(ir(e,t,i,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&ar.enqueueReplaceState(r,r.state,null),null!==(i=e.updateQueue)&&(ta(e,i,n,r,o),r.state=e.memoizedState)),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}var dr=Array.isArray;function pr(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var o=void 0;n&&(1!==n.tag&&a("309"),o=n.stateNode),o||a("147",e);var r=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===r?t.ref:((t=function(e){var t=o.refs;t===rr&&(t=o.refs={}),null===e?delete t[r]:t[r]=e})._stringRef=r,t)}"string"!=typeof e&&a("284"),n._owner||a("290",e)}return e}function fr(e,t){"textarea"!==e.type&&a("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function mr(e){function t(t,n){if(e){var o=t.lastEffect;null!==o?(o.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,o){if(!e)return null;for(;null!==o;)t(n,o),o=o.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function r(e,t,n){return(e=Yo(e,t)).index=0,e.sibling=null,e}function i(t,n,o){return t.index=o,e?null!==(o=t.alternate)?(o=o.index)<n?(t.effectTag=2,n):o:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function s(e,t,n,o){return null===t||6!==t.tag?((t=Qo(n,e.mode,o)).return=e,t):((t=r(t,n)).return=e,t)}function u(e,t,n,o){return null!==t&&t.elementType===n.type?((o=r(t,n.props)).ref=pr(e,t,n),o.return=e,o):((o=Xo(n.type,n.key,n.props,null,e.mode,o)).ref=pr(e,t,n),o.return=e,o)}function c(e,t,n,o){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Jo(n,e.mode,o)).return=e,t):((t=r(t,n.children||[])).return=e,t)}function d(e,t,n,o,i){return null===t||7!==t.tag?((t=Ko(n,e.mode,o,i)).return=e,t):((t=r(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Qo(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ye:return(n=Xo(t.type,t.key,t.props,null,e.mode,n)).ref=pr(e,null,t),n.return=e,n;case Xe:return(t=Jo(t,e.mode,n)).return=e,t}if(dr(t)||at(t))return(t=Ko(t,e.mode,n,null)).return=e,t;fr(e,t)}return null}function f(e,t,n,o){var r=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==r?null:s(e,t,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ye:return n.key===r?n.type===Ke?d(e,t,n.props.children,o,r):u(e,t,n,o):null;case Xe:return n.key===r?c(e,t,n,o):null}if(dr(n)||at(n))return null!==r?null:d(e,t,n,o,null);fr(e,n)}return null}function m(e,t,n,o,r){if("string"==typeof o||"number"==typeof o)return s(t,e=e.get(n)||null,""+o,r);if("object"==typeof o&&null!==o){switch(o.$$typeof){case Ye:return e=e.get(null===o.key?n:o.key)||null,o.type===Ke?d(t,e,o.props.children,r,o.key):u(t,e,o,r);case Xe:return c(t,e=e.get(null===o.key?n:o.key)||null,o,r)}if(dr(o)||at(o))return d(t,e=e.get(n)||null,o,r,null);fr(t,o)}return null}function h(r,a,l,s){for(var u=null,c=null,d=a,h=a=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var b=f(r,d,l[h],s);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(r,d),a=i(b,a,h),null===c?u=b:c.sibling=b,c=b,d=g}if(h===l.length)return n(r,d),u;if(null===d){for(;h<l.length;h++)(d=p(r,l[h],s))&&(a=i(d,a,h),null===c?u=d:c.sibling=d,c=d);return u}for(d=o(r,d);h<l.length;h++)(g=m(d,r,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),a=i(g,a,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(r,e)}),u}function g(r,l,s,u){var c=at(s);"function"!=typeof c&&a("150"),null==(s=c.call(s))&&a("151");for(var d=c=null,h=l,g=l=0,b=null,v=s.next();null!==h&&!v.done;g++,v=s.next()){h.index>g?(b=h,h=null):b=h.sibling;var y=f(r,h,v.value,u);if(null===y){h||(h=b);break}e&&h&&null===y.alternate&&t(r,h),l=i(y,l,g),null===d?c=y:d.sibling=y,d=y,h=b}if(v.done)return n(r,h),c;if(null===h){for(;!v.done;g++,v=s.next())null!==(v=p(r,v.value,u))&&(l=i(v,l,g),null===d?c=v:d.sibling=v,d=v);return c}for(h=o(r,h);!v.done;g++,v=s.next())null!==(v=m(h,r,g,v.value,u))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),l=i(v,l,g),null===d?c=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(r,e)}),c}return function(e,o,i,s){var u="object"==typeof i&&null!==i&&i.type===Ke&&null===i.key;u&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case Ye:e:{for(c=i.key,u=o;null!==u;){if(u.key===c){if(7===u.tag?i.type===Ke:u.elementType===i.type){n(e,u.sibling),(o=r(u,i.type===Ke?i.props.children:i.props)).ref=pr(e,u,i),o.return=e,e=o;break e}n(e,u);break}t(e,u),u=u.sibling}i.type===Ke?((o=Ko(i.props.children,e.mode,s,i.key)).return=e,e=o):((s=Xo(i.type,i.key,i.props,null,e.mode,s)).ref=pr(e,o,i),s.return=e,e=s)}return l(e);case Xe:e:{for(u=i.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(e,o.sibling),(o=r(o,i.children||[])).return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}(o=Jo(i,e.mode,s)).return=e,e=o}return l(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==o&&6===o.tag?(n(e,o.sibling),(o=r(o,i)).return=e,e=o):(n(e,o),(o=Qo(i,e.mode,s)).return=e,e=o),l(e);if(dr(i))return h(e,o,i,s);if(at(i))return g(e,o,i,s);if(c&&fr(e,i),void 0===i&&!u)switch(e.tag){case 1:case 0:a("152",(s=e.type).displayName||s.name||"Component")}return n(e,o)}}var hr=mr(!0),gr=mr(!1),br={},vr={current:br},yr={current:br},wr={current:br};function xr(e){return e===br&&a("174"),e}function Er(e,t){Ro(wr,t),Ro(yr,e),Ro(vr,br);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:to(null,"");break;default:t=to(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}Do(vr),Ro(vr,t)}function Cr(e){Do(vr),Do(yr),Do(wr)}function kr(e){xr(wr.current);var t=xr(vr.current),n=to(t,e.type);t!==n&&(Ro(yr,e),Ro(vr,n))}function Tr(e){yr.current===e&&(Do(vr),Do(yr))}var Sr=0,Dr=2,Rr=4,Mr=8,Or=16,Pr=32,Nr=64,_r=128,Lr=Ge.ReactCurrentDispatcher,Ar=0,Ir=null,zr=null,Fr=null,jr=null,Hr=null,Ur=null,Br=0,Wr=null,Gr=0,qr=!1,Vr=null,Yr=0;function Xr(){a("321")}function Kr(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Jt(e[n],t[n]))return!1;return!0}function $r(e,t,n,o,r,i){if(Ar=i,Ir=t,Fr=null!==e?e.memoizedState:null,Lr.current=null===Fr?ui:ci,t=n(o,r),qr){do{qr=!1,Yr+=1,Fr=null!==e?e.memoizedState:null,Ur=jr,Wr=Hr=zr=null,Lr.current=ci,t=n(o,r)}while(qr);Vr=null,Yr=0}return Lr.current=si,(e=Ir).memoizedState=jr,e.expirationTime=Br,e.updateQueue=Wr,e.effectTag|=Gr,e=null!==zr&&null!==zr.next,Ar=0,Ur=Hr=jr=Fr=zr=Ir=null,Br=0,Wr=null,Gr=0,e&&a("300"),t}function Qr(){Lr.current=si,Ar=0,Ur=Hr=jr=Fr=zr=Ir=null,Br=0,Wr=null,Gr=0,qr=!1,Vr=null,Yr=0}function Jr(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Hr?jr=Hr=e:Hr=Hr.next=e,Hr}function Zr(){if(null!==Ur)Ur=(Hr=Ur).next,Fr=null!==(zr=Fr)?zr.next:null;else{null===Fr&&a("310");var e={memoizedState:(zr=Fr).memoizedState,baseState:zr.baseState,queue:zr.queue,baseUpdate:zr.baseUpdate,next:null};Hr=null===Hr?jr=e:Hr.next=e,Fr=zr.next}return Hr}function ei(e,t){return"function"==typeof t?t(e):t}function ti(e){var t=Zr(),n=t.queue;if(null===n&&a("311"),n.lastRenderedReducer=e,0<Yr){var o=n.dispatch;if(null!==Vr){var r=Vr.get(n);if(void 0!==r){Vr.delete(n);var i=t.memoizedState;do{i=e(i,r.action),r=r.next}while(null!==r);return Jt(i,t.memoizedState)||(xi=!0),t.memoizedState=i,t.baseUpdate===n.last&&(t.baseState=i),n.lastRenderedState=i,[i,o]}}return[t.memoizedState,o]}o=n.last;var l=t.baseUpdate;if(i=t.baseState,null!==l?(null!==o&&(o.next=null),o=l.next):o=null!==o?o.next:null,null!==o){var s=r=null,u=o,c=!1;do{var d=u.expirationTime;d<Ar?(c||(c=!0,s=l,r=i),d>Br&&(Br=d)):i=u.eagerReducer===e?u.eagerState:e(i,u.action),l=u,u=u.next}while(null!==u&&u!==o);c||(s=l,r=i),Jt(i,t.memoizedState)||(xi=!0),t.memoizedState=i,t.baseUpdate=s,t.baseState=r,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function ni(e,t,n,o){return e={tag:e,create:t,destroy:n,deps:o,next:null},null===Wr?(Wr={lastEffect:null}).lastEffect=e.next=e:null===(t=Wr.lastEffect)?Wr.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Wr.lastEffect=e),e}function oi(e,t,n,o){var r=Jr();Gr|=e,r.memoizedState=ni(t,n,void 0,void 0===o?null:o)}function ri(e,t,n,o){var r=Zr();o=void 0===o?null:o;var i=void 0;if(null!==zr){var a=zr.memoizedState;if(i=a.destroy,null!==o&&Kr(o,a.deps))return void ni(Sr,n,i,o)}Gr|=e,r.memoizedState=ni(t,n,i,o)}function ii(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ai(){}function li(e,t,n){25>Yr||a("301");var o=e.alternate;if(e===Ir||null!==o&&o===Ir)if(qr=!0,e={expirationTime:Ar,action:n,eagerReducer:null,eagerState:null,next:null},null===Vr&&(Vr=new Map),void 0===(n=Vr.get(t)))Vr.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{Ba();var r=xl(),i={expirationTime:r=Xa(r,e),action:n,eagerReducer:null,eagerState:null,next:null},l=t.last;if(null===l)i.next=i;else{var s=l.next;null!==s&&(i.next=s),l.next=i}if(t.last=i,0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var u=t.lastRenderedState,c=o(u,n);if(i.eagerReducer=o,i.eagerState=c,Jt(c,u))return}catch(e){}Qa(e,r)}}var si={readContext:Ui,useCallback:Xr,useContext:Xr,useEffect:Xr,useImperativeHandle:Xr,useLayoutEffect:Xr,useMemo:Xr,useReducer:Xr,useRef:Xr,useState:Xr,useDebugValue:Xr},ui={readContext:Ui,useCallback:function(e,t){return Jr().memoizedState=[e,void 0===t?null:t],e},useContext:Ui,useEffect:function(e,t){return oi(516,_r|Nr,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oi(4,Rr|Pr,ii.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oi(4,Rr|Pr,e,t)},useMemo:function(e,t){var n=Jr();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var o=Jr();return t=void 0!==n?n(t):t,o.memoizedState=o.baseState=t,e=(e=o.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=li.bind(null,Ir,e),[o.memoizedState,e]},useRef:function(e){return e={current:e},Jr().memoizedState=e},useState:function(e){var t=Jr();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:ei,lastRenderedState:e}).dispatch=li.bind(null,Ir,e),[t.memoizedState,e]},useDebugValue:ai},ci={readContext:Ui,useCallback:function(e,t){var n=Zr();t=void 0===t?null:t;var o=n.memoizedState;return null!==o&&null!==t&&Kr(t,o[1])?o[0]:(n.memoizedState=[e,t],e)},useContext:Ui,useEffect:function(e,t){return ri(516,_r|Nr,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ri(4,Rr|Pr,ii.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ri(4,Rr|Pr,e,t)},useMemo:function(e,t){var n=Zr();t=void 0===t?null:t;var o=n.memoizedState;return null!==o&&null!==t&&Kr(t,o[1])?o[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:ti,useRef:function(){return Zr().memoizedState},useState:function(e){return ti(ei)},useDebugValue:ai},di=null,pi=null,fi=!1;function mi(e,t){var n=qo(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function hi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function gi(e){if(fi){var t=pi;if(t){var n=t;if(!hi(e,t)){if(!(t=Co(n))||!hi(e,t))return e.effectTag|=2,fi=!1,void(di=e);mi(di,n)}di=e,pi=ko(t)}else e.effectTag|=2,fi=!1,di=e}}function bi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;di=e}function vi(e){if(e!==di)return!1;if(!fi)return bi(e),fi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vo(t,e.memoizedProps))for(t=pi;t;)mi(e,t),t=Co(t);return bi(e),pi=di?Co(e.stateNode):null,!0}function yi(){pi=di=null,fi=!1}var wi=Ge.ReactCurrentOwner,xi=!1;function Ei(e,t,n,o){t.child=null===e?gr(t,null,n,o):hr(t,e.child,n,o)}function Ci(e,t,n,o,r){n=n.render;var i=t.ref;return Hi(t,r),o=$r(e,t,n,o,i,r),null===e||xi?(t.effectTag|=1,Ei(e,t,o,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Ni(e,t,r))}function ki(e,t,n,o,r,i){if(null===e){var a=n.type;return"function"!=typeof a||Vo(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Xo(n.type,null,o,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ti(e,t,a,o,r,i))}return a=e.child,r<i&&(r=a.memoizedProps,(n=null!==(n=n.compare)?n:en)(r,o)&&e.ref===t.ref)?Ni(e,t,i):(t.effectTag|=1,(e=Yo(a,o)).ref=t.ref,e.return=t,t.child=e)}function Ti(e,t,n,o,r,i){return null!==e&&en(e.memoizedProps,o)&&e.ref===t.ref&&(xi=!1,r<i)?Ni(e,t,i):Di(e,t,n,o,i)}function Si(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Di(e,t,n,o,r){var i=Lo(n)?No:Oo.current;return i=_o(t,i),Hi(t,r),n=$r(e,t,n,o,i,r),null===e||xi?(t.effectTag|=1,Ei(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Ni(e,t,r))}function Ri(e,t,n,o,r){if(Lo(n)){var i=!0;jo(t)}else i=!1;if(Hi(t,r),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),sr(t,n,o),cr(t,n,o,r),o=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=Ui(u):u=_o(t,u=Lo(n)?No:Oo.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==o||s!==u)&&ur(t,a,o,u),Vi=!1;var p=t.memoizedState;s=a.state=p;var f=t.updateQueue;null!==f&&(ta(t,f,o,a,r),s=t.memoizedState),l!==o||p!==s||Po.current||Vi?("function"==typeof c&&(ir(t,n,c,o),s=t.memoizedState),(l=Vi||lr(t,n,l,o,p,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=o,t.memoizedState=s),a.props=o,a.state=s,a.context=u,o=l):("function"==typeof a.componentDidMount&&(t.effectTag|=4),o=!1)}else a=t.stateNode,l=t.memoizedProps,a.props=t.type===t.elementType?l:or(t.type,l),s=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=Ui(u):u=_o(t,u=Lo(n)?No:Oo.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==o||s!==u)&&ur(t,a,o,u),Vi=!1,s=t.memoizedState,p=a.state=s,null!==(f=t.updateQueue)&&(ta(t,f,o,a,r),p=t.memoizedState),l!==o||s!==p||Po.current||Vi?("function"==typeof c&&(ir(t,n,c,o),p=t.memoizedState),(c=Vi||lr(t,n,l,o,s,p,u))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(o,p,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(o,p,u)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),t.memoizedProps=o,t.memoizedState=p),a.props=o,a.state=p,a.context=u,o=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),o=!1);return Mi(e,t,n,o,i,r)}function Mi(e,t,n,o,r,i){Si(e,t);var a=0!=(64&t.effectTag);if(!o&&!a)return r&&Ho(t,n,!1),Ni(e,t,i);o=t.stateNode,wi.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:o.render();return t.effectTag|=1,null!==e&&a?(t.child=hr(t,e.child,null,i),t.child=hr(t,null,l,i)):Ei(e,t,l,i),t.memoizedState=o.state,r&&Ho(t,n,!0),t.child}function Oi(e){var t=e.stateNode;t.pendingContext?zo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zo(0,t.context,!1),Er(e,t.containerInfo)}function Pi(e,t,n){var o=t.mode,r=t.pendingProps,i=t.memoizedState;if(0==(64&t.effectTag)){i=null;var a=!1}else i={timedOutAt:null!==i?i.timedOutAt:0},a=!0,t.effectTag&=-65;if(null===e)if(a){var l=r.fallback;e=Ko(null,o,0,null),0==(1&t.mode)&&(e.child=null!==t.memoizedState?t.child.child:t.child),o=Ko(l,o,n,null),e.sibling=o,(n=e).return=o.return=t}else n=o=gr(t,null,r.children,n);else null!==e.memoizedState?(l=(o=e.child).sibling,a?(n=r.fallback,r=Yo(o,o.pendingProps),0==(1&t.mode)&&((a=null!==t.memoizedState?t.child.child:t.child)!==o.child&&(r.child=a)),o=r.sibling=Yo(l,n,l.expirationTime),n=r,r.childExpirationTime=0,n.return=o.return=t):n=o=hr(t,o.child,r.children,n)):(l=e.child,a?(a=r.fallback,(r=Ko(null,o,0,null)).child=l,0==(1&t.mode)&&(r.child=null!==t.memoizedState?t.child.child:t.child),(o=r.sibling=Ko(a,o,n,null)).effectTag|=2,n=r,r.childExpirationTime=0,n.return=o.return=t):o=n=hr(t,l,r.children,n)),t.stateNode=e.stateNode;return t.memoizedState=i,t.child=n,o}function Ni(e,t,n){if(null!==e&&(t.contextDependencies=e.contextDependencies),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child&&a("153"),null!==t.child){for(n=Yo(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Yo(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function _i(e,t,n){var o=t.expirationTime;if(null!==e){if(e.memoizedProps!==t.pendingProps||Po.current)xi=!0;else if(o<n){switch(xi=!1,t.tag){case 3:Oi(t),yi();break;case 5:kr(t);break;case 1:Lo(t.type)&&jo(t);break;case 4:Er(t,t.stateNode.containerInfo);break;case 10:Fi(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(o=t.child.childExpirationTime)&&o>=n?Pi(e,t,n):null!==(t=Ni(e,t,n))?t.sibling:null}return Ni(e,t,n)}}else xi=!1;switch(t.expirationTime=0,t.tag){case 2:o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var r=_o(t,Oo.current);if(Hi(t,n),r=$r(null,t,o,e,r,n),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof){if(t.tag=1,Qr(),Lo(o)){var i=!0;jo(t)}else i=!1;t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null;var l=o.getDerivedStateFromProps;"function"==typeof l&&ir(t,o,l,e),r.updater=ar,t.stateNode=r,r._reactInternalFiber=t,cr(t,o,e,n),t=Mi(null,t,o,!0,i,n)}else t.tag=0,Ei(null,t,r,n),t=t.child;return t;case 16:switch(r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),i=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(r),t.type=e,r=t.tag=function(e){if("function"==typeof e)return Vo(e)?1:0;if(null!=e){if((e=e.$$typeof)===tt)return 11;if(e===ot)return 14}return 2}(e),i=or(e,i),l=void 0,r){case 0:l=Di(null,t,e,i,n);break;case 1:l=Ri(null,t,e,i,n);break;case 11:l=Ci(null,t,e,i,n);break;case 14:l=ki(null,t,e,or(e.type,i),o,n);break;default:a("306",e,"")}return l;case 0:return o=t.type,r=t.pendingProps,Di(e,t,o,r=t.elementType===o?r:or(o,r),n);case 1:return o=t.type,r=t.pendingProps,Ri(e,t,o,r=t.elementType===o?r:or(o,r),n);case 3:return Oi(t),null===(o=t.updateQueue)&&a("282"),r=null!==(r=t.memoizedState)?r.element:null,ta(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===r?(yi(),t=Ni(e,t,n)):(r=t.stateNode,(r=(null===e||null===e.child)&&r.hydrate)&&(pi=ko(t.stateNode.containerInfo),di=t,r=fi=!0),r?(t.effectTag|=2,t.child=gr(t,null,o,n)):(Ei(e,t,o,n),yi()),t=t.child),t;case 5:return kr(t),null===e&&gi(t),o=t.type,r=t.pendingProps,i=null!==e?e.memoizedProps:null,l=r.children,vo(o,r)?l=null:null!==i&&vo(o,i)&&(t.effectTag|=16),Si(e,t),1!==n&&1&t.mode&&r.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ei(e,t,l,n),t=t.child),t;case 6:return null===e&&gi(t),null;case 13:return Pi(e,t,n);case 4:return Er(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=hr(t,null,o,n):Ei(e,t,o,n),t.child;case 11:return o=t.type,r=t.pendingProps,Ci(e,t,o,r=t.elementType===o?r:or(o,r),n);case 7:return Ei(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ei(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(o=t.type._context,r=t.pendingProps,l=t.memoizedProps,Fi(t,i=r.value),null!==l){var s=l.value;if(0===(i=Jt(s,i)?0:0|("function"==typeof o._calculateChangedBits?o._calculateChangedBits(s,i):1073741823))){if(l.children===r.children&&!Po.current){t=Ni(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var u=s.contextDependencies;if(null!==u){l=s.child;for(var c=u.first;null!==c;){if(c.context===o&&0!=(c.observedBits&i)){1===s.tag&&((c=Ki(n)).tag=Gi,Qi(s,c)),s.expirationTime<n&&(s.expirationTime=n),null!==(c=s.alternate)&&c.expirationTime<n&&(c.expirationTime=n),c=n;for(var d=s.return;null!==d;){var p=d.alternate;if(d.childExpirationTime<c)d.childExpirationTime=c,null!==p&&p.childExpirationTime<c&&(p.childExpirationTime=c);else{if(!(null!==p&&p.childExpirationTime<c))break;p.childExpirationTime=c}d=d.return}u.expirationTime<n&&(u.expirationTime=n);break}c=c.next}}else l=10===s.tag&&s.type===t.type?null:s.child;if(null!==l)l.return=s;else for(l=s;null!==l;){if(l===t){l=null;break}if(null!==(s=l.sibling)){s.return=l.return,l=s;break}l=l.return}s=l}}Ei(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,o=(i=t.pendingProps).children,Hi(t,n),o=o(r=Ui(r,i.unstable_observedBits)),t.effectTag|=1,Ei(e,t,o,n),t.child;case 14:return i=or(r=t.type,t.pendingProps),ki(e,t,r,i=or(r.type,i),o,n);case 15:return Ti(e,t,t.type,t.pendingProps,o,n);case 17:return o=t.type,r=t.pendingProps,r=t.elementType===o?r:or(o,r),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Lo(o)?(e=!0,jo(t)):e=!1,Hi(t,n),sr(t,o,r),cr(t,o,r,n),Mi(null,t,o,!0,e,n)}a("156")}var Li={current:null},Ai=null,Ii=null,zi=null;function Fi(e,t){var n=e.type._context;Ro(Li,n._currentValue),n._currentValue=t}function ji(e){var t=Li.current;Do(Li),e.type._context._currentValue=t}function Hi(e,t){Ai=e,zi=Ii=null;var n=e.contextDependencies;null!==n&&n.expirationTime>=t&&(xi=!0),e.contextDependencies=null}function Ui(e,t){return zi!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(zi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ii?(null===Ai&&a("308"),Ii=t,Ai.contextDependencies={first:t,expirationTime:0}):Ii=Ii.next=t),e._currentValue}var Bi=0,Wi=1,Gi=2,qi=3,Vi=!1;function Yi(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Xi(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ki(e){return{expirationTime:e,tag:Bi,payload:null,callback:null,next:null,nextEffect:null}}function $i(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Qi(e,t){var n=e.alternate;if(null===n){var o=e.updateQueue,r=null;null===o&&(o=e.updateQueue=Yi(e.memoizedState))}else o=e.updateQueue,r=n.updateQueue,null===o?null===r?(o=e.updateQueue=Yi(e.memoizedState),r=n.updateQueue=Yi(n.memoizedState)):o=e.updateQueue=Xi(r):null===r&&(r=n.updateQueue=Xi(o));null===r||o===r?$i(o,t):null===o.lastUpdate||null===r.lastUpdate?($i(o,t),$i(r,t)):($i(o,t),r.lastUpdate=t)}function Ji(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Yi(e.memoizedState):Zi(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Zi(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Xi(t)),t}function ea(e,t,n,o,i,a){switch(n.tag){case Wi:return"function"==typeof(e=n.payload)?e.call(a,o,i):e;case qi:e.effectTag=-2049&e.effectTag|64;case Bi:if(null==(i="function"==typeof(e=n.payload)?e.call(a,o,i):e))break;return r({},o,i);case Gi:Vi=!0}return o}function ta(e,t,n,o,r){Vi=!1;for(var i=(t=Zi(e,t)).baseState,a=null,l=0,s=t.firstUpdate,u=i;null!==s;){var c=s.expirationTime;c<r?(null===a&&(a=s,i=u),l<c&&(l=c)):(u=ea(e,0,s,u,n,o),null!==s.callback&&(e.effectTag|=32,s.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=s:(t.lastEffect.nextEffect=s,t.lastEffect=s))),s=s.next}for(c=null,s=t.firstCapturedUpdate;null!==s;){var d=s.expirationTime;d<r?(null===c&&(c=s,null===a&&(i=u)),l<d&&(l=d)):(u=ea(e,0,s,u,n,o),null!==s.callback&&(e.effectTag|=32,s.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=s:(t.lastCapturedEffect.nextEffect=s,t.lastCapturedEffect=s))),s=s.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(i=u),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=c,e.expirationTime=l,e.memoizedState=u}function na(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),oa(t.firstEffect,n),t.firstEffect=t.lastEffect=null,oa(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function oa(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var o=t;"function"!=typeof n&&a("191",n),n.call(o)}e=e.nextEffect}}function ra(e,t){return{value:e,source:t,stack:st(t)}}function ia(e){e.effectTag|=4}var aa=void 0,la=void 0,sa=void 0,ua=void 0;aa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},la=function(){},sa=function(e,t,n,o,i){var a=e.memoizedProps;if(a!==o){var l=t.stateNode;switch(xr(vr.current),e=null,n){case"input":a=yt(l,a),o=yt(l,o),e=[];break;case"option":a=Yn(l,a),o=Yn(l,o),e=[];break;case"select":a=r({},a,{value:void 0}),o=r({},o,{value:void 0}),e=[];break;case"textarea":a=Kn(l,a),o=Kn(l,o),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof o.onClick&&(l.onclick=mo)}co(n,o),l=n=void 0;var s=null;for(n in a)if(!o.hasOwnProperty(n)&&a.hasOwnProperty(n)&&null!=a[n])if("style"===n){var u=a[n];for(l in u)u.hasOwnProperty(l)&&(s||(s={}),s[l]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(y.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in o){var c=o[n];if(u=null!=a?a[n]:void 0,o.hasOwnProperty(n)&&c!==u&&(null!=c||null!=u))if("style"===n)if(u){for(l in u)!u.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(s||(s={}),s[l]="");for(l in c)c.hasOwnProperty(l)&&u[l]!==c[l]&&(s||(s={}),s[l]=c[l])}else s||(e||(e=[]),e.push(n,s)),s=c;else"dangerouslySetInnerHTML"===n?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(e=e||[]).push(n,""+c)):"children"===n?u===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(n,""+c):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(y.hasOwnProperty(n)?(null!=c&&fo(i,n),e||u===c||(e=[])):(e=e||[]).push(n,c))}s&&(e=e||[]).push("style",s),i=e,(t.updateQueue=i)&&ia(t)}},ua=function(e,t,n,o){n!==o&&ia(t)};var ca="function"==typeof WeakSet?WeakSet:Set;function da(e,t){var n=t.source,o=t.stack;null===o&&null!==n&&(o=st(n)),null!==n&&lt(n.type),t=t.value,null!==e&&1===e.tag&&lt(e.type);try{console.error(t)}catch(e){setTimeout(function(){throw e})}}function pa(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ya(e,t)}else t.current=null}function fa(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var o=n=n.next;do{if((o.tag&e)!==Sr){var r=o.destroy;o.destroy=void 0,void 0!==r&&r()}(o.tag&t)!==Sr&&(r=o.create,o.destroy=r()),o=o.next}while(o!==n)}}function ma(e){switch("function"==typeof Bo&&Bo(e),e.tag){case 0:case 11:case 14:case 15:var t=e.updateQueue;if(null!==t&&null!==(t=t.lastEffect)){var n=t=t.next;do{var o=n.destroy;if(void 0!==o){var r=e;try{o()}catch(e){Ya(r,e)}}n=n.next}while(n!==t)}break;case 1:if(pa(e),"function"==typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Ya(e,t)}break;case 5:pa(e);break;case 4:ba(e)}}function ha(e){return 5===e.tag||3===e.tag||4===e.tag}function ga(e){e:{for(var t=e.return;null!==t;){if(ha(t)){var n=t;break e}t=t.return}a("160"),n=void 0}var o=t=void 0;switch(n.tag){case 5:t=n.stateNode,o=!1;break;case 3:case 4:t=n.stateNode.containerInfo,o=!0;break;default:a("161")}16&n.effectTag&&(ro(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ha(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var r=e;;){if(5===r.tag||6===r.tag)if(n)if(o){var i=t,l=r.stateNode,s=n;8===i.nodeType?i.parentNode.insertBefore(l,s):i.insertBefore(l,s)}else t.insertBefore(r.stateNode,n);else o?(l=t,s=r.stateNode,8===l.nodeType?(i=l.parentNode).insertBefore(s,l):(i=l).appendChild(s),null!=(l=l._reactRootContainer)||null!==i.onclick||(i.onclick=mo)):t.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function ba(e){for(var t=e,n=!1,o=void 0,r=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&a("160"),n.tag){case 5:o=n.stateNode,r=!1;break e;case 3:case 4:o=n.stateNode.containerInfo,r=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,l=i;;)if(ma(l),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===i)break;for(;null===l.sibling;){if(null===l.return||l.return===i)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}r?(i=o,l=t.stateNode,8===i.nodeType?i.parentNode.removeChild(l):i.removeChild(l)):o.removeChild(t.stateNode)}else if(4===t.tag){if(null!==t.child){o=t.stateNode.containerInfo,r=!0,t.child.return=t,t=t.child;continue}}else if(ma(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function va(e,t){switch(t.tag){case 0:case 11:case 14:case 15:fa(Rr,Mr,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps;e=null!==e?e.memoizedProps:o;var r=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,n,o,r){e[L]=r,"input"===n&&"radio"===r.type&&null!=r.name&&xt(e,r),po(n,o),o=po(n,r);for(var i=0;i<t.length;i+=2){var a=t[i],l=t[i+1];"style"===a?so(e,l):"dangerouslySetInnerHTML"===a?oo(e,l):"children"===a?ro(e,l):bt(e,a,l,o)}switch(n){case"input":Et(e,r);break;case"textarea":Qn(e,r);break;case"select":t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!r.multiple,null!=(n=r.value)?Xn(e,!!r.multiple,n,!1):t!==!!r.multiple&&(null!=r.defaultValue?Xn(e,!!r.multiple,r.defaultValue,!0):Xn(e,!!r.multiple,r.multiple?[]:"",!1))}}(n,i,r,e,o)}break;case 6:null===t.stateNode&&a("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t.memoizedState,o=void 0,e=t,null===n?o=!1:(o=!0,e=t.child,0===n.timedOutAt&&(n.timedOutAt=xl())),null!==e&&function(e,t){for(var n=e;;){if(5===n.tag){var o=n.stateNode;if(t)o.style.display="none";else{o=n.stateNode;var r=n.memoizedProps.style;r=null!=r&&r.hasOwnProperty("display")?r.display:null,o.style.display=lo("display",r)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else{if(13===n.tag&&null!==n.memoizedState){(o=n.child.sibling).return=n,n=o;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(e,o),null!==(n=t.updateQueue)){t.updateQueue=null;var l=t.stateNode;null===l&&(l=t.stateNode=new ca),n.forEach(function(e){var n=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=Xa(t=xl(),e),null!==(e=$a(e,t))&&(Zo(e,t),0!==(t=e.expirationTime)&&El(e,t))}.bind(null,t,e);l.has(e)||(l.add(e),e.then(n,n))})}break;case 17:break;default:a("163")}}var ya="function"==typeof WeakMap?WeakMap:Map;function wa(e,t,n){(n=Ki(n)).tag=qi,n.payload={element:null};var o=t.value;return n.callback=function(){Pl(o),da(e,t)},n}function xa(e,t,n){(n=Ki(n)).tag=qi;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var r=t.value;n.payload=function(){return o(r)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof o&&(null===za?za=new Set([this]):za.add(this));var n=t.value,r=t.stack;da(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Ea(e){switch(e.tag){case 1:Lo(e.type)&&Ao();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:return Cr(),Io(),0!=(64&(t=e.effectTag))&&a("285"),e.effectTag=-2049&t|64,e;case 5:return Tr(e),null;case 13:return 2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 4:return Cr(),null;case 10:return ji(e),null;default:return null}}var Ca=Ge.ReactCurrentDispatcher,ka=Ge.ReactCurrentOwner,Ta=1073741822,Sa=!1,Da=null,Ra=null,Ma=0,Oa=-1,Pa=!1,Na=null,_a=!1,La=null,Aa=null,Ia=null,za=null;function Fa(){if(null!==Da)for(var e=Da.return;null!==e;){var t=e;switch(t.tag){case 1:var n=t.type.childContextTypes;null!=n&&Ao();break;case 3:Cr(),Io();break;case 5:Tr(t);break;case 4:Cr();break;case 10:ji(t)}e=e.return}Ra=null,Ma=0,Oa=-1,Pa=!1,Da=null}function ja(){for(;null!==Na;){var e=Na.effectTag;if(16&e&&ro(Na.stateNode,""),128&e){var t=Na.alternate;null!==t&&(null!==(t=t.ref)&&("function"==typeof t?t(null):t.current=null))}switch(14&e){case 2:ga(Na),Na.effectTag&=-3;break;case 6:ga(Na),Na.effectTag&=-3,va(Na.alternate,Na);break;case 4:va(Na.alternate,Na);break;case 8:ba(e=Na),e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,null!==(e=e.alternate)&&(e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null)}Na=Na.nextEffect}}function Ha(){for(;null!==Na;){if(256&Na.effectTag)e:{var e=Na.alternate,t=Na;switch(t.tag){case 0:case 11:case 15:fa(Dr,Sr,t);break e;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,o=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:or(t.type,n),o),e.__reactInternalSnapshotBeforeUpdate=t}break e;case 3:case 5:case 6:case 4:case 17:break e;default:a("163")}}Na=Na.nextEffect}}function Ua(e,t){for(;null!==Na;){var n=Na.effectTag;if(36&n){var o=Na.alternate,r=Na,i=t;switch(r.tag){case 0:case 11:case 15:fa(Or,Pr,r);break;case 1:var l=r.stateNode;if(4&r.effectTag)if(null===o)l.componentDidMount();else{var s=r.elementType===r.type?o.memoizedProps:or(r.type,o.memoizedProps);l.componentDidUpdate(s,o.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}null!==(o=r.updateQueue)&&na(0,o,l);break;case 3:if(null!==(o=r.updateQueue)){if(l=null,null!==r.child)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}na(0,o,l)}break;case 5:i=r.stateNode,null===o&&4&r.effectTag&&bo(r.type,r.memoizedProps)&&i.focus();break;case 6:case 4:case 12:case 13:case 17:break;default:a("163")}}128&n&&(null!==(r=Na.ref)&&(i=Na.stateNode,"function"==typeof r?r(i):r.current=i)),512&n&&(La=e),Na=Na.nextEffect}}function Ba(){null!==Aa&&Eo(Aa),null!==Ia&&Ia()}function Wa(e,t){_a=Sa=!0,e.current===t&&a("177");var n=e.pendingCommitExpirationTime;0===n&&a("261"),e.pendingCommitExpirationTime=0;var o=t.expirationTime,r=t.childExpirationTime;for(function(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{t<e.latestPingedTime&&(e.latestPingedTime=0);var n=e.latestPendingTime;0!==n&&(n>t?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(n=e.earliestSuspendedTime)?Zo(e,t):t<e.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,Zo(e,t)):t>n&&Zo(e,t)}nr(0,e)}(e,r>o?r:o),ka.current=null,o=void 0,1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,o=t.firstEffect):o=t:o=t.firstEffect,ho=kn,go=function(){var e=In();if(zn(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var o=n.anchorOffset,r=n.focusNode;n=n.focusOffset;try{t.nodeType,r.nodeType}catch(e){t=null;break e}var i=0,a=-1,l=-1,s=0,u=0,c=e,d=null;t:for(;;){for(var p;c!==t||0!==o&&3!==c.nodeType||(a=i+o),c!==r||0!==n&&3!==c.nodeType||(l=i+n),3===c.nodeType&&(i+=c.nodeValue.length),null!==(p=c.firstChild);)d=c,c=p;for(;;){if(c===e)break t;if(d===t&&++s===o&&(a=i),d===r&&++u===n&&(l=i),null!==(p=c.nextSibling))break;d=(c=d).parentNode}c=p}t=-1===a||-1===l?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}(),kn=!1,Na=o;null!==Na;){r=!1;var l=void 0;try{Ha()}catch(e){r=!0,l=e}r&&(null===Na&&a("178"),Ya(Na,l),null!==Na&&(Na=Na.nextEffect))}for(Na=o;null!==Na;){r=!1,l=void 0;try{ja()}catch(e){r=!0,l=e}r&&(null===Na&&a("178"),Ya(Na,l),null!==Na&&(Na=Na.nextEffect))}for(Fn(go),go=null,kn=!!ho,ho=null,e.current=t,Na=o;null!==Na;){r=!1,l=void 0;try{Ua(e,n)}catch(e){r=!0,l=e}r&&(null===Na&&a("178"),Ya(Na,l),null!==Na&&(Na=Na.nextEffect))}if(null!==o&&null!==La){var s=function(e,t){Ia=Aa=La=null;var n=ol;ol=!0;do{if(512&t.effectTag){var o=!1,r=void 0;try{var i=t;fa(_r,Sr,i),fa(Sr,Nr,i)}catch(e){o=!0,r=e}o&&Ya(t,r)}t=t.nextEffect}while(null!==t);ol=n,0!==(n=e.expirationTime)&&El(e,n),ul||ol||Dl(1073741823,!1)}.bind(null,e,o);Aa=i.unstable_runWithPriority(i.unstable_NormalPriority,function(){return xo(s)}),Ia=s}Sa=_a=!1,"function"==typeof Uo&&Uo(t.stateNode),n=t.expirationTime,0===(t=(t=t.childExpirationTime)>n?t:n)&&(za=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function Ga(e){for(;;){var t=e.alternate,n=e.return,o=e.sibling;if(0==(1024&e.effectTag)){Da=e;e:{var i=t,l=Ma,s=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Lo(t.type)&&Ao();break;case 3:Cr(),Io(),(s=t.stateNode).pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),null!==i&&null!==i.child||(vi(t),t.effectTag&=-3),la(t);break;case 5:Tr(t);var u=xr(wr.current);if(l=t.type,null!==i&&null!=t.stateNode)sa(i,t,l,s,u),i.ref!==t.ref&&(t.effectTag|=128);else if(s){var c=xr(vr.current);if(vi(t)){i=(s=t).stateNode;var d=s.type,p=s.memoizedProps,f=u;switch(i[_]=s,i[L]=p,l=void 0,u=d){case"iframe":case"object":Tn("load",i);break;case"video":case"audio":for(d=0;d<te.length;d++)Tn(te[d],i);break;case"source":Tn("error",i);break;case"img":case"image":case"link":Tn("error",i),Tn("load",i);break;case"form":Tn("reset",i),Tn("submit",i);break;case"details":Tn("toggle",i);break;case"input":wt(i,p),Tn("invalid",i),fo(f,"onChange");break;case"select":i._wrapperState={wasMultiple:!!p.multiple},Tn("invalid",i),fo(f,"onChange");break;case"textarea":$n(i,p),Tn("invalid",i),fo(f,"onChange")}for(l in co(u,p),d=null,p)p.hasOwnProperty(l)&&(c=p[l],"children"===l?"string"==typeof c?i.textContent!==c&&(d=["children",c]):"number"==typeof c&&i.textContent!==""+c&&(d=["children",""+c]):y.hasOwnProperty(l)&&null!=c&&fo(f,l));switch(u){case"input":Be(i),Ct(i,p,!0);break;case"textarea":Be(i),Jn(i);break;case"select":case"option":break;default:"function"==typeof p.onClick&&(i.onclick=mo)}l=d,s.updateQueue=l,(s=null!==l)&&ia(t)}else{p=t,f=l,i=s,d=9===u.nodeType?u:u.ownerDocument,c===Zn.html&&(c=eo(f)),c===Zn.html?"script"===f?((i=d.createElement("div")).innerHTML="<script><\/script>",d=i.removeChild(i.firstChild)):"string"==typeof i.is?d=d.createElement(f,{is:i.is}):(d=d.createElement(f),"select"===f&&(f=d,i.multiple?f.multiple=!0:i.size&&(f.size=i.size))):d=d.createElementNS(c,f),(i=d)[_]=p,i[L]=s,aa(i,t,!1,!1),f=i;var m=u,h=po(d=l,p=s);switch(d){case"iframe":case"object":Tn("load",f),u=p;break;case"video":case"audio":for(u=0;u<te.length;u++)Tn(te[u],f);u=p;break;case"source":Tn("error",f),u=p;break;case"img":case"image":case"link":Tn("error",f),Tn("load",f),u=p;break;case"form":Tn("reset",f),Tn("submit",f),u=p;break;case"details":Tn("toggle",f),u=p;break;case"input":wt(f,p),u=yt(f,p),Tn("invalid",f),fo(m,"onChange");break;case"option":u=Yn(f,p);break;case"select":f._wrapperState={wasMultiple:!!p.multiple},u=r({},p,{value:void 0}),Tn("invalid",f),fo(m,"onChange");break;case"textarea":$n(f,p),u=Kn(f,p),Tn("invalid",f),fo(m,"onChange");break;default:u=p}co(d,u),c=void 0;var g=d,b=f,v=u;for(c in v)if(v.hasOwnProperty(c)){var w=v[c];"style"===c?so(b,w):"dangerouslySetInnerHTML"===c?null!=(w=w?w.__html:void 0)&&oo(b,w):"children"===c?"string"==typeof w?("textarea"!==g||""!==w)&&ro(b,w):"number"==typeof w&&ro(b,""+w):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(y.hasOwnProperty(c)?null!=w&&fo(m,c):null!=w&&bt(b,c,w,h))}switch(d){case"input":Be(f),Ct(f,p,!1);break;case"textarea":Be(f),Jn(f);break;case"option":null!=p.value&&f.setAttribute("value",""+vt(p.value));break;case"select":(u=f).multiple=!!p.multiple,null!=(f=p.value)?Xn(u,!!p.multiple,f,!1):null!=p.defaultValue&&Xn(u,!!p.multiple,p.defaultValue,!0);break;default:"function"==typeof u.onClick&&(f.onclick=mo)}(s=bo(l,s))&&ia(t),t.stateNode=i}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&a("166");break;case 6:i&&null!=t.stateNode?ua(i,t,i.memoizedProps,s):("string"!=typeof s&&(null===t.stateNode&&a("166")),i=xr(wr.current),xr(vr.current),vi(t)?(l=(s=t).stateNode,i=s.memoizedProps,l[_]=s,(s=l.nodeValue!==i)&&ia(t)):(l=t,(s=(9===i.nodeType?i:i.ownerDocument).createTextNode(s))[_]=t,l.stateNode=s));break;case 11:break;case 13:if(s=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=l,Da=t;break e}s=null!==s,l=null!==i&&null!==i.memoizedState,null!==i&&!s&&l&&(null!==(i=i.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=i,i.nextEffect=u):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),(s||l)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Cr(),la(t);break;case 10:ji(t);break;case 9:case 14:break;case 17:Lo(t.type)&&Ao();break;case 18:break;default:a("156")}Da=null}if(t=e,1===Ma||1!==t.childExpirationTime){for(s=0,l=t.child;null!==l;)(i=l.expirationTime)>s&&(s=i),(u=l.childExpirationTime)>s&&(s=u),l=l.sibling;t.childExpirationTime=s}if(null!==Da)return Da;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e))}else{if(null!==(e=Ea(e)))return e.effectTag&=1023,e;null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=1024)}if(null!==o)return o;if(null===n)break;e=n}return null}function qa(e){var t=_i(e.alternate,e,Ma);return e.memoizedProps=e.pendingProps,null===t&&(t=Ga(e)),ka.current=null,t}function Va(e,t){Sa&&a("243"),Ba(),Sa=!0;var n=Ca.current;Ca.current=si;var o=e.nextExpirationTimeToWorkOn;o===Ma&&e===Ra&&null!==Da||(Fa(),Ma=o,Da=Yo((Ra=e).current,null),e.pendingCommitExpirationTime=0);for(var r=!1;;){try{if(t)for(;null!==Da&&!Tl();)Da=qa(Da);else for(;null!==Da;)Da=qa(Da)}catch(t){if(zi=Ii=Ai=null,Qr(),null===Da)r=!0,Pl(t);else{null===Da&&a("271");var i=Da,l=i.return;if(null!==l){e:{var s=e,u=l,c=i,d=t;if(l=Ma,c.effectTag|=1024,c.firstEffect=c.lastEffect=null,null!==d&&"object"==typeof d&&"function"==typeof d.then){var p=d;d=u;var f=-1,m=-1;do{if(13===d.tag){var h=d.alternate;if(null!==h&&null!==(h=h.memoizedState)){m=10*(1073741822-h.timedOutAt);break}"number"==typeof(h=d.pendingProps.maxDuration)&&(0>=h?f=0:(-1===f||h<f)&&(f=h))}d=d.return}while(null!==d);d=u;do{if((h=13===d.tag)&&(h=void 0!==d.memoizedProps.fallback&&null===d.memoizedState),h){if(null===(u=d.updateQueue)?((u=new Set).add(p),d.updateQueue=u):u.add(p),0==(1&d.mode)){d.effectTag|=64,c.effectTag&=-1957,1===c.tag&&(null===c.alternate?c.tag=17:((l=Ki(1073741823)).tag=Gi,Qi(c,l))),c.expirationTime=1073741823;break e}u=l;var g=(c=s).pingCache;null===g?(g=c.pingCache=new ya,h=new Set,g.set(p,h)):void 0===(h=g.get(p))&&(h=new Set,g.set(p,h)),h.has(u)||(h.add(u),c=Ka.bind(null,c,p,u),p.then(c,c)),-1===f?s=1073741823:(-1===m&&(m=10*(1073741822-tr(s,l))-5e3),s=m+f),0<=s&&Oa<s&&(Oa=s),d.effectTag|=2048,d.expirationTime=l;break e}d=d.return}while(null!==d);d=Error((lt(c.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+st(c))}Pa=!0,d=ra(d,c),s=u;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=l,Ji(s,l=wa(s,d,l));break e;case 1:if(f=d,m=s.type,c=s.stateNode,0==(64&s.effectTag)&&("function"==typeof m.getDerivedStateFromError||null!==c&&"function"==typeof c.componentDidCatch&&(null===za||!za.has(c)))){s.effectTag|=2048,s.expirationTime=l,Ji(s,l=xa(s,f,l));break e}}s=s.return}while(null!==s)}Da=Ga(i);continue}r=!0,Pl(t)}}break}if(Sa=!1,Ca.current=n,zi=Ii=Ai=null,Qr(),r)Ra=null,e.finishedWork=null;else if(null!==Da)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&a("281"),Ra=null,Pa){if(r=e.latestPendingTime,i=e.latestSuspendedTime,l=e.latestPingedTime,0!==r&&r<o||0!==i&&i<o||0!==l&&l<o)return er(e,o),void wl(e,n,o,e.expirationTime,-1);if(!e.didError&&t)return e.didError=!0,o=e.nextExpirationTimeToWorkOn=o,t=e.expirationTime=1073741823,void wl(e,n,o,t,-1)}t&&-1!==Oa?(er(e,o),(t=10*(1073741822-tr(e,o)))<Oa&&(Oa=t),t=10*(1073741822-xl()),t=Oa-t,wl(e,n,o,e.expirationTime,0>t?0:t)):(e.pendingCommitExpirationTime=o,e.finishedWork=n)}}function Ya(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var o=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&(null===za||!za.has(o)))return Qi(n,e=xa(n,e=ra(t,e),1073741823)),void Qa(n,1073741823);break;case 3:return Qi(n,e=wa(n,e=ra(t,e),1073741823)),void Qa(n,1073741823)}n=n.return}3===e.tag&&(Qi(e,n=wa(e,n=ra(t,e),1073741823)),Qa(e,1073741823))}function Xa(e,t){var n=i.unstable_getCurrentPriorityLevel(),o=void 0;if(0==(1&t.mode))o=1073741823;else if(Sa&&!_a)o=Ma;else{switch(n){case i.unstable_ImmediatePriority:o=1073741823;break;case i.unstable_UserBlockingPriority:o=1073741822-10*(1+((1073741822-e+15)/10|0));break;case i.unstable_NormalPriority:o=1073741822-25*(1+((1073741822-e+500)/25|0));break;case i.unstable_LowPriority:case i.unstable_IdlePriority:o=1;break;default:a("313")}null!==Ra&&o===Ma&&--o}return n===i.unstable_UserBlockingPriority&&(0===al||o<al)&&(al=o),o}function Ka(e,t,n){var o=e.pingCache;null!==o&&o.delete(t),null!==Ra&&Ma===n?Ra=null:(t=e.earliestSuspendedTime,o=e.latestSuspendedTime,0!==t&&n<=t&&n>=o&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),nr(n,e),0!==(n=e.expirationTime)&&El(e,n)))}function $a(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var o=e.return,r=null;if(null===o&&3===e.tag)r=e.stateNode;else for(;null!==o;){if(n=o.alternate,o.childExpirationTime<t&&(o.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===o.return&&3===o.tag){r=o.stateNode;break}o=o.return}return r}function Qa(e,t){null!==(e=$a(e,t))&&(!Sa&&0!==Ma&&t>Ma&&Fa(),Zo(e,t),Sa&&!_a&&Ra===e||El(e,e.expirationTime),gl>hl&&(gl=0,a("185")))}function Ja(e,t,n,o,r){return i.unstable_runWithPriority(i.unstable_ImmediatePriority,function(){return e(t,n,o,r)})}var Za=null,el=null,tl=0,nl=void 0,ol=!1,rl=null,il=0,al=0,ll=!1,sl=null,ul=!1,cl=!1,dl=null,pl=i.unstable_now(),fl=1073741822-(pl/10|0),ml=fl,hl=50,gl=0,bl=null;function vl(){fl=1073741822-((i.unstable_now()-pl)/10|0)}function yl(e,t){if(0!==tl){if(t<tl)return;null!==nl&&i.unstable_cancelCallback(nl)}tl=t,e=i.unstable_now()-pl,nl=i.unstable_scheduleCallback(Sl,{timeout:10*(1073741822-t)-e})}function wl(e,t,n,o,r){e.expirationTime=o,0!==r||Tl()?0<r&&(e.timeoutHandle=yo(function(e,t,n){e.pendingCommitExpirationTime=n,e.finishedWork=t,vl(),ml=fl,Rl(e,n)}.bind(null,e,t,n),r)):(e.pendingCommitExpirationTime=n,e.finishedWork=t)}function xl(){return ol?ml:(Cl(),0!==il&&1!==il||(vl(),ml=fl),ml)}function El(e,t){null===e.nextScheduledRoot?(e.expirationTime=t,null===el?(Za=el=e,e.nextScheduledRoot=e):(el=el.nextScheduledRoot=e).nextScheduledRoot=Za):t>e.expirationTime&&(e.expirationTime=t),ol||(ul?cl&&(rl=e,il=1073741823,Ml(e,1073741823,!1)):1073741823===t?Dl(1073741823,!1):yl(e,t))}function Cl(){var e=0,t=null;if(null!==el)for(var n=el,o=Za;null!==o;){var r=o.expirationTime;if(0===r){if((null===n||null===el)&&a("244"),o===o.nextScheduledRoot){Za=el=o.nextScheduledRoot=null;break}if(o===Za)Za=r=o.nextScheduledRoot,el.nextScheduledRoot=r,o.nextScheduledRoot=null;else{if(o===el){(el=n).nextScheduledRoot=Za,o.nextScheduledRoot=null;break}n.nextScheduledRoot=o.nextScheduledRoot,o.nextScheduledRoot=null}o=n.nextScheduledRoot}else{if(r>e&&(e=r,t=o),o===el)break;if(1073741823===e)break;n=o,o=o.nextScheduledRoot}}rl=t,il=e}var kl=!1;function Tl(){return!!kl||!!i.unstable_shouldYield()&&(kl=!0)}function Sl(){try{if(!Tl()&&null!==Za){vl();var e=Za;do{var t=e.expirationTime;0!==t&&fl<=t&&(e.nextExpirationTimeToWorkOn=fl),e=e.nextScheduledRoot}while(e!==Za)}Dl(0,!0)}finally{kl=!1}}function Dl(e,t){if(Cl(),t)for(vl(),ml=fl;null!==rl&&0!==il&&e<=il&&!(kl&&fl>il);)Ml(rl,il,fl>il),Cl(),vl(),ml=fl;else for(;null!==rl&&0!==il&&e<=il;)Ml(rl,il,!1),Cl();if(t&&(tl=0,nl=null),0!==il&&yl(rl,il),gl=0,bl=null,null!==dl)for(e=dl,dl=null,t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){ll||(ll=!0,sl=e)}}if(ll)throw e=sl,sl=null,ll=!1,e}function Rl(e,t){ol&&a("253"),rl=e,il=t,Ml(e,t,!1),Dl(1073741823,!1)}function Ml(e,t,n){if(ol&&a("245"),ol=!0,n){var o=e.finishedWork;null!==o?Ol(e,o,t):(e.finishedWork=null,-1!==(o=e.timeoutHandle)&&(e.timeoutHandle=-1,wo(o)),Va(e,n),null!==(o=e.finishedWork)&&(Tl()?e.finishedWork=o:Ol(e,o,t)))}else null!==(o=e.finishedWork)?Ol(e,o,t):(e.finishedWork=null,-1!==(o=e.timeoutHandle)&&(e.timeoutHandle=-1,wo(o)),Va(e,n),null!==(o=e.finishedWork)&&Ol(e,o,t));ol=!1}function Ol(e,t,n){var o=e.firstBatch;if(null!==o&&o._expirationTime>=n&&(null===dl?dl=[o]:dl.push(o),o._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===bl?gl++:(bl=e,gl=0),i.unstable_runWithPriority(i.unstable_ImmediatePriority,function(){Wa(e,t)})}function Pl(e){null===rl&&a("246"),rl.expirationTime=0,ll||(ll=!0,sl=e)}function Nl(e,t){var n=ul;ul=!0;try{return e(t)}finally{(ul=n)||ol||Dl(1073741823,!1)}}function _l(e,t){if(ul&&!cl){cl=!0;try{return e(t)}finally{cl=!1}}return e(t)}function Ll(e,t,n){ul||ol||0===al||(Dl(al,!1),al=0);var o=ul;ul=!0;try{return i.unstable_runWithPriority(i.unstable_UserBlockingPriority,function(){return e(t,n)})}finally{(ul=o)||ol||Dl(1073741823,!1)}}function Al(e,t,n,o,r){var i=t.current;e:if(n){t:{2===tn(n=n._reactInternalFiber)&&1===n.tag||a("170");var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Lo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);a("171"),l=void 0}if(1===n.tag){var s=n.type;if(Lo(s)){n=Fo(n,s,l);break e}}n=l}else n=Mo;return null===t.context?t.context=n:t.pendingContext=n,t=r,(r=Ki(o)).payload={element:e},null!==(t=void 0===t?null:t)&&(r.callback=t),Ba(),Qi(i,r),Qa(i,o),o}function Il(e,t,n,o){var r=t.current;return Al(e,t,n,r=Xa(xl(),r),o)}function zl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Fl(e){var t=1073741822-25*(1+((1073741822-xl()+500)/25|0));t>=Ta&&(t=Ta-1),this._expirationTime=Ta=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function jl(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Hl(e,t,n){e={current:t=qo(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function Ul(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Bl(e,t,n,o,r){var i=n._reactRootContainer;if(i){if("function"==typeof r){var a=r;r=function(){var e=zl(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,r):i.render(t,r)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Hl(e,!1,t)}(n,o),"function"==typeof r){var l=r;r=function(){var e=zl(i._internalRoot);l.call(e)}}_l(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,r):i.render(t,r)})}return zl(i._internalRoot)}function Wl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Ul(t)||a("200"),function(e,t,n){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Xe,key:null==o?null:""+o,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Se=function(e,t,n){switch(t){case"input":if(Et(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var r=F(o);r||a("90"),We(o),Et(o,r)}}}break;case"textarea":Qn(e,n);break;case"select":null!=(t=n.value)&&Xn(e,!!n.multiple,t,!1)}},Fl.prototype.render=function(e){this._defer||a("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,o=new jl;return Al(e,t,null,n,o._onCommit),o},Fl.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Fl.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||a("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var o=null,r=t;r!==this;)o=r,r=r._next;null===o&&a("251"),o._next=r._next,this._next=t,e.firstBatch=this}this._defer=!1,Rl(e,n),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Fl.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},jl.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},jl.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n&&a("191",n),n()}}},Hl.prototype.render=function(e,t){var n=this._internalRoot,o=new jl;return null!==(t=void 0===t?null:t)&&o.then(t),Il(e,n,null,o._onCommit),o},Hl.prototype.unmount=function(e){var t=this._internalRoot,n=new jl;return null!==(e=void 0===e?null:e)&&n.then(e),Il(null,t,null,n._onCommit),n},Hl.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var o=this._internalRoot,r=new jl;return null!==(n=void 0===n?null:n)&&r.then(n),Il(t,o,e,r._onCommit),r},Hl.prototype.createBatch=function(){var e=new Fl(this),t=e._expirationTime,n=this._internalRoot,o=n.firstBatch;if(null===o)n.firstBatch=e,e._next=null;else{for(n=null;null!==o&&o._expirationTime>=t;)n=o,o=o._next;e._next=o,null!==n&&(n._next=e)}return e},Ne=Nl,_e=Ll,Le=function(){ol||0===al||(Dl(al,!1),al=0)};var Gl,ql,Vl={createPortal:Wl,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?a("188"):a("268",Object.keys(e))),e=null===(e=on(t))?null:e.stateNode},hydrate:function(e,t,n){return Ul(t)||a("200"),Bl(null,e,t,!0,n)},render:function(e,t,n){return Ul(t)||a("200"),Bl(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,o){return Ul(n)||a("200"),(null==e||void 0===e._reactInternalFiber)&&a("38"),Bl(e,t,n,!1,o)},unmountComponentAtNode:function(e){return Ul(e)||a("40"),!!e._reactRootContainer&&(_l(function(){Bl(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Wl.apply(void 0,arguments)},unstable_batchedUpdates:Nl,unstable_interactiveUpdates:Ll,flushSync:function(e,t){ol&&a("187");var n=ul;ul=!0;try{return Ja(e,t)}finally{ul=n,Dl(1073741823,!1)}},unstable_createRoot:function(e,t){return Ul(e)||a("299","unstable_createRoot"),new Hl(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=ul;ul=!0;try{Ja(e)}finally{(ul=t)||ol||Dl(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[I,z,F,M.injectEventPluginsByName,v,G,function(e){S(e,W)},Oe,Pe,Rn,P]}};ql=(Gl={findFiberByHostInstance:A,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Uo=Wo(function(e){return t.onCommitFiberRoot(n,e)}),Bo=Wo(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}}(r({},Gl,{overrideProps:null,currentDispatcherRef:Ge.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=on(e))?null:e.stateNode},findFiberByHostInstance:function(e){return ql?ql(e):null}}));var Yl={default:Vl},Xl=Yl&&Vl||Yl;e.exports=Xl.default||Xl},function(e,t,n){"use strict";e.exports=n(74)},function(e,t,n){"use strict";(function(e){
/** @license React v0.13.6
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
Object.defineProperty(t,"__esModule",{value:!0});var n=null,o=!1,r=3,i=-1,a=-1,l=!1,s=!1;function u(){if(!l){var e=n.expirationTime;s?C():s=!0,E(p,e)}}function c(){var e=n,t=n.next;if(n===t)n=null;else{var o=n.previous;n=o.next=t,t.previous=o}e.next=e.previous=null,o=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=r,l=a;r=e,a=t;try{var s=o()}finally{r=i,a=l}if("function"==typeof s)if(s={callback:s,priorityLevel:e,expirationTime:t,next:null,previous:null},null===n)n=s.next=s.previous=s;else{o=null,e=n;do{if(e.expirationTime>=t){o=e;break}e=e.next}while(e!==n);null===o?o=n:o===n&&(n=s,u()),(t=o.previous).next=o.previous=s,s.next=o,s.previous=t}}function d(){if(-1===i&&null!==n&&1===n.priorityLevel){l=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{l=!1,null!==n?u():s=!1}}}function p(e){l=!0;var r=o;o=e;try{if(e)for(;null!==n;){var i=t.unstable_now();if(!(n.expirationTime<=i))break;do{c()}while(null!==n&&n.expirationTime<=i)}else if(null!==n)do{c()}while(null!==n&&!k())}finally{l=!1,o=r,null!==n?u():s=!1,d()}}var f,m,h=Date,g="function"==typeof setTimeout?setTimeout:void 0,b="function"==typeof clearTimeout?clearTimeout:void 0,v="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,y="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function w(e){f=v(function(t){b(m),e(t)}),m=g(function(){y(f),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return h.now()};var E,C,k,T=null;if("undefined"!=typeof window?T=window:void 0!==e&&(T=e),T&&T._schedMock){var S=T._schedMock;E=S[0],C=S[1],k=S[2],t.unstable_now=S[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var D=null,R=function(e){if(null!==D)try{D(e)}finally{D=null}};E=function(e){null!==D?setTimeout(E,0,e):(D=e,setTimeout(R,0,!1))},C=function(){D=null},k=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof v&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,O=!1,P=-1,N=!1,_=!1,L=0,A=33,I=33;k=function(){return L<=t.unstable_now()};var z=new MessageChannel,F=z.port2;z.port1.onmessage=function(){O=!1;var e=M,n=P;M=null,P=-1;var o=t.unstable_now(),r=!1;if(0>=L-o){if(!(-1!==n&&n<=o))return N||(N=!0,w(j)),M=e,void(P=n);r=!0}if(null!==e){_=!0;try{e(r)}finally{_=!1}}};var j=function(e){if(null!==M){w(j);var t=e-L+I;t<I&&A<I?(8>t&&(t=8),I=t<A?A:t):A=t,L=e+I,O||(O=!0,F.postMessage(void 0))}else N=!1};E=function(e,t){M=e,P=t,_||0>t?F.postMessage(void 0):N||(N=!0,w(j))},C=function(){M=null,O=!1,P=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=r,a=i;r=e,i=t.unstable_now();try{return n()}finally{r=o,i=a,d()}},t.unstable_next=function(e){switch(r){case 1:case 2:case 3:var n=3;break;default:n=r}var o=r,a=i;r=n,i=t.unstable_now();try{return e()}finally{r=o,i=a,d()}},t.unstable_scheduleCallback=function(e,o){var a=-1!==i?i:t.unstable_now();if("object"==typeof o&&null!==o&&"number"==typeof o.timeout)o=a+o.timeout;else switch(r){case 1:o=a+-1;break;case 2:o=a+250;break;case 5:o=a+1073741823;break;case 4:o=a+1e4;break;default:o=a+5e3}if(e={callback:e,priorityLevel:r,expirationTime:o,next:null,previous:null},null===n)n=e.next=e.previous=e,u();else{a=null;var l=n;do{if(l.expirationTime>o){a=l;break}l=l.next}while(l!==n);null===a?a=n:a===n&&(n=e,u()),(o=a.previous).next=a.previous=e,e.next=a,e.previous=o}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var o=e.previous;o.next=t,t.previous=o}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=r;return function(){var o=r,a=i;r=n,i=t.unstable_now();try{return e.apply(this,arguments)}finally{r=o,i=a,d()}}},t.unstable_getCurrentPriorityLevel=function(){return r},t.unstable_shouldYield=function(){return!o&&(null!==n&&n.expirationTime<a||k())},t.unstable_continueExecution=function(){null!==n&&u()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return n}}).call(this,n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(void 0===e)return void console.error("Autobind error: No context provided.");var t=Object.getPrototypeOf(e);r=arguments.length>1?Array.prototype.slice.call(arguments,1):Object.getOwnPropertyNames(t);r.forEach(function(e){var n=Object.getOwnPropertyDescriptor(t,e);void 0!==n?-1===o.indexOf(e)&&"function"==typeof n.value&&Object.defineProperty(t,e,function(e,t,n){var o=n.value;return{configurable:!0,get:function(){if(this===e||this.hasOwnProperty(t))return o;var n=o.bind(this);return Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),n}}}(t,e,n)):console.warn('Autobind: "'+e+'" method not found in class.')})};var o=["constructor","render","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","componentDidUpdate","componentWillUnmount"],r=[];e.exports=t.default},function(e,t,n){var o;
/*!
 * jQuery JavaScript Library v3.4.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2019-05-01T21:04Z
 */
/*!
 * jQuery JavaScript Library v3.4.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2019-05-01T21:04Z
 */
!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,r){"use strict";var i=[],a=n.document,l=Object.getPrototypeOf,s=i.slice,u=i.concat,c=i.push,d=i.indexOf,p={},f=p.toString,m=p.hasOwnProperty,h=m.toString,g=h.call(Object),b={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},w={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var o,r,i=(n=n||a).createElement("script");if(i.text=e,t)for(o in w)(r=t[o]||t.getAttribute&&t.getAttribute(o))&&i.setAttribute(o,r);n.head.appendChild(i).parentNode.removeChild(i)}function E(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[f.call(e)]||"object":typeof e}var C=function(e,t){return new C.fn.init(e,t)},k=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function T(e){var t=!!e&&"length"in e&&e.length,n=E(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:"3.4.1",constructor:C,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},C.extend=C.fn.extend=function(){var e,t,n,o,r,i,a=arguments[0]||{},l=1,s=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[l]||{},l++),"object"==typeof a||v(a)||(a={}),l===s&&(a=this,l--);l<s;l++)if(null!=(e=arguments[l]))for(t in e)o=e[t],"__proto__"!==t&&a!==o&&(u&&o&&(C.isPlainObject(o)||(r=Array.isArray(o)))?(n=a[t],i=r&&!Array.isArray(n)?[]:r||C.isPlainObject(n)?n:{},r=!1,a[t]=C.extend(u,i,o)):void 0!==o&&(a[t]=o));return a},C.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=l(e))||"function"==typeof(n=m.call(t,"constructor")&&t.constructor)&&h.call(n)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){x(e,{nonce:t&&t.nonce})},each:function(e,t){var n,o=0;if(T(e))for(n=e.length;o<n&&!1!==t.call(e[o],o,e[o]);o++);else for(o in e)if(!1===t.call(e[o],o,e[o]))break;return e},trim:function(e){return null==e?"":(e+"").replace(k,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(T(Object(e))?C.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:d.call(t,e,n)},merge:function(e,t){for(var n=+t.length,o=0,r=e.length;o<n;o++)e[r++]=t[o];return e.length=r,e},grep:function(e,t,n){for(var o=[],r=0,i=e.length,a=!n;r<i;r++)!t(e[r],r)!==a&&o.push(e[r]);return o},map:function(e,t,n){var o,r,i=0,a=[];if(T(e))for(o=e.length;i<o;i++)null!=(r=t(e[i],i,n))&&a.push(r);else for(i in e)null!=(r=t(e[i],i,n))&&a.push(r);return u.apply([],a)},guid:1,support:b}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=i[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){p["[object "+t+"]"]=t.toLowerCase()});var S=
/*!
   * Sizzle CSS Selector Engine v2.3.4
   * https://sizzlejs.com/
   *
   * Copyright JS Foundation and other contributors
   * Released under the MIT license
   * https://js.foundation/
   *
   * Date: 2019-04-08
   */
function(e){var t,n,o,r,i,a,l,s,u,c,d,p,f,m,h,g,b,v,y,w="sizzle"+1*new Date,x=e.document,E=0,C=0,k=se(),T=se(),S=se(),D=se(),R=function(e,t){return e===t&&(d=!0),0},M={}.hasOwnProperty,O=[],P=O.pop,N=O.push,_=O.push,L=O.slice,A=function(e,t){for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",j="\\["+z+"*("+F+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+z+"*\\]",H=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+j+")*)|.*)\\)|)",U=new RegExp(z+"+","g"),B=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),W=new RegExp("^"+z+"*,"+z+"*"),G=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),q=new RegExp(z+"|>"),V=new RegExp(H),Y=new RegExp("^"+F+"$"),X={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,$=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+z+"?|("+z+")|.)","ig"),ne=function(e,t,n){var o="0x"+t-65536;return o!=o||n?t:o<0?String.fromCharCode(o+65536):String.fromCharCode(o>>10|55296,1023&o|56320)},oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){p()},ae=we(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{_.apply(O=L.call(x.childNodes),x.childNodes),O[x.childNodes.length].nodeType}catch(e){_={apply:O.length?function(e,t){N.apply(e,L.call(t))}:function(e,t){for(var n=e.length,o=0;e[n++]=t[o++];);e.length=n-1}}}function le(e,t,o,r){var i,l,u,c,d,m,b,v=t&&t.ownerDocument,E=t?t.nodeType:9;if(o=o||[],"string"!=typeof e||!e||1!==E&&9!==E&&11!==E)return o;if(!r&&((t?t.ownerDocument||t:x)!==f&&p(t),t=t||f,h)){if(11!==E&&(d=Z.exec(e)))if(i=d[1]){if(9===E){if(!(u=t.getElementById(i)))return o;if(u.id===i)return o.push(u),o}else if(v&&(u=v.getElementById(i))&&y(t,u)&&u.id===i)return o.push(u),o}else{if(d[2])return _.apply(o,t.getElementsByTagName(e)),o;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return _.apply(o,t.getElementsByClassName(i)),o}if(n.qsa&&!D[e+" "]&&(!g||!g.test(e))&&(1!==E||"object"!==t.nodeName.toLowerCase())){if(b=e,v=t,1===E&&q.test(e)){for((c=t.getAttribute("id"))?c=c.replace(oe,re):t.setAttribute("id",c=w),l=(m=a(e)).length;l--;)m[l]="#"+c+" "+ye(m[l]);b=m.join(","),v=ee.test(e)&&be(t.parentNode)||t}try{return _.apply(o,v.querySelectorAll(b)),o}catch(t){D(e,!0)}finally{c===w&&t.removeAttribute("id")}}}return s(e.replace(B,"$1"),t,o,r)}function se(){var e=[];return function t(n,r){return e.push(n+" ")>o.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ue(e){return e[w]=!0,e}function ce(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)o.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,o=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(o)return o;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function me(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ue(function(t){return t=+t,ue(function(n,o){for(var r,i=e([],n.length,t),a=i.length;a--;)n[r=i[a]]&&(n[r]=!(o[r]=n[r]))})})}function be(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=le.support={},i=le.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},p=le.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:x;return a!==f&&9===a.nodeType&&a.documentElement?(m=(f=a).documentElement,h=!i(f),x!==f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ie,!1):r.attachEvent&&r.attachEvent("onunload",ie)),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(f.getElementsByClassName),n.getById=ce(function(e){return m.appendChild(e).id=w,!f.getElementsByName||!f.getElementsByName(w).length}),n.getById?(o.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},o.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n=t.getElementById(e);return n?[n]:[]}}):(o.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},o.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n,o,r,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(r=t.getElementsByName(e),o=0;i=r[o++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),o.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,o=[],r=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[r++];)1===n.nodeType&&o.push(n);return o}return i},o.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&h)return t.getElementsByClassName(e)},b=[],g=[],(n.qsa=J.test(f.querySelectorAll))&&(ce(function(e){m.appendChild(e).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+z+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+z+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+z+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(v=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),b.push("!=",H)}),g=g.length&&new RegExp(g.join("|")),b=b.length&&new RegExp(b.join("|")),t=J.test(m.compareDocumentPosition),y=t||J.test(m.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,o=t&&t.parentNode;return e===o||!(!o||1!==o.nodeType||!(n.contains?n.contains(o):e.compareDocumentPosition&&16&e.compareDocumentPosition(o)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},R=t?function(e,t){if(e===t)return d=!0,0;var o=!e.compareDocumentPosition-!t.compareDocumentPosition;return o||(1&(o=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===o?e===f||e.ownerDocument===x&&y(x,e)?-1:t===f||t.ownerDocument===x&&y(x,t)?1:c?A(c,e)-A(c,t):0:4&o?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,o=0,r=e.parentNode,i=t.parentNode,a=[e],l=[t];if(!r||!i)return e===f?-1:t===f?1:r?-1:i?1:c?A(c,e)-A(c,t):0;if(r===i)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[o]===l[o];)o++;return o?pe(a[o],l[o]):a[o]===x?-1:l[o]===x?1:0},f):f},le.matches=function(e,t){return le(e,null,null,t)},le.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),n.matchesSelector&&h&&!D[t+" "]&&(!b||!b.test(t))&&(!g||!g.test(t)))try{var o=v.call(e,t);if(o||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return o}catch(e){D(t,!0)}return le(t,f,null,[e]).length>0},le.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),y(e,t)},le.attr=function(e,t){(e.ownerDocument||e)!==f&&p(e);var r=o.attrHandle[t.toLowerCase()],i=r&&M.call(o.attrHandle,t.toLowerCase())?r(e,t,!h):void 0;return void 0!==i?i:n.attributes||!h?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},le.escape=function(e){return(e+"").replace(oe,re)},le.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},le.uniqueSort=function(e){var t,o=[],r=0,i=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(R),d){for(;t=e[i++];)t===e[i]&&(r=o.push(i));for(;r--;)e.splice(o[r],1)}return c=null,e},r=le.getText=function(e){var t,n="",o=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[o++];)n+=r(t);return n},(o=le.selectors={cacheLength:50,createPseudo:ue,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||le.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&le.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|"+z+")"+e+"("+z+"|$)"))&&k(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(o){var r=le.attr(o,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,o,r){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),l="of-type"===t;return 1===o&&0===r?function(e){return!!e.parentNode}:function(t,n,s){var u,c,d,p,f,m,h=i!==a?"nextSibling":"previousSibling",g=t.parentNode,b=l&&t.nodeName.toLowerCase(),v=!s&&!l,y=!1;if(g){if(i){for(;h;){for(p=t;p=p[h];)if(l?p.nodeName.toLowerCase()===b:1===p.nodeType)return!1;m=h="only"===e&&!m&&"nextSibling"}return!0}if(m=[a?g.firstChild:g.lastChild],a&&v){for(y=(f=(u=(c=(d=(p=g)[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===E&&u[1])&&u[2],p=f&&g.childNodes[f];p=++f&&p&&p[h]||(y=f=0)||m.pop();)if(1===p.nodeType&&++y&&p===t){c[e]=[E,f,y];break}}else if(v&&(y=f=(u=(c=(d=(p=t)[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===E&&u[1]),!1===y)for(;(p=++f&&p&&p[h]||(y=f=0)||m.pop())&&((l?p.nodeName.toLowerCase()!==b:1!==p.nodeType)||!++y||(v&&((c=(d=p[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[E,y]),p!==t)););return(y-=r)===o||y%o==0&&y/o>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||le.error("unsupported pseudo: "+e);return r[w]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?ue(function(e,n){for(var o,i=r(e,t),a=i.length;a--;)e[o=A(e,i[a])]=!(n[o]=i[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ue(function(e){var t=[],n=[],o=l(e.replace(B,"$1"));return o[w]?ue(function(e,t,n,r){for(var i,a=o(e,null,r,[]),l=e.length;l--;)(i=a[l])&&(e[l]=!(t[l]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:ue(function(e){return function(t){return le(e,t).length>0}}),contains:ue(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}}),lang:ue(function(e){return Y.test(e||"")||le.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===m},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ge(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ge(function(e,t,n){for(var o=n<0?n+t:n>t?t:n;--o>=0;)e.push(o);return e}),gt:ge(function(e,t,n){for(var o=n<0?n+t:n;++o<t;)e.push(o);return e})}}).pseudos.nth=o.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})o.pseudos[t]=me(t);function ve(){}function ye(e){for(var t=0,n=e.length,o="";t<n;t++)o+=e[t].value;return o}function we(e,t,n){var o=t.dir,r=t.next,i=r||o,a=n&&"parentNode"===i,l=C++;return t.first?function(t,n,r){for(;t=t[o];)if(1===t.nodeType||a)return e(t,n,r);return!1}:function(t,n,s){var u,c,d,p=[E,l];if(s){for(;t=t[o];)if((1===t.nodeType||a)&&e(t,n,s))return!0}else for(;t=t[o];)if(1===t.nodeType||a)if(c=(d=t[w]||(t[w]={}))[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[o]||t;else{if((u=c[i])&&u[0]===E&&u[1]===l)return p[2]=u[2];if(c[i]=p,p[2]=e(t,n,s))return!0}return!1}}function xe(e){return e.length>1?function(t,n,o){for(var r=e.length;r--;)if(!e[r](t,n,o))return!1;return!0}:e[0]}function Ee(e,t,n,o,r){for(var i,a=[],l=0,s=e.length,u=null!=t;l<s;l++)(i=e[l])&&(n&&!n(i,o,r)||(a.push(i),u&&t.push(l)));return a}function Ce(e,t,n,o,r,i){return o&&!o[w]&&(o=Ce(o)),r&&!r[w]&&(r=Ce(r,i)),ue(function(i,a,l,s){var u,c,d,p=[],f=[],m=a.length,h=i||function(e,t,n){for(var o=0,r=t.length;o<r;o++)le(e,t[o],n);return n}(t||"*",l.nodeType?[l]:l,[]),g=!e||!i&&t?h:Ee(h,p,e,l,s),b=n?r||(i?e:m||o)?[]:a:g;if(n&&n(g,b,l,s),o)for(u=Ee(b,f),o(u,[],l,s),c=u.length;c--;)(d=u[c])&&(b[f[c]]=!(g[f[c]]=d));if(i){if(r||e){if(r){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(g[c]=d);r(null,b=[],u,s)}for(c=b.length;c--;)(d=b[c])&&(u=r?A(i,d):p[c])>-1&&(i[u]=!(a[u]=d))}}else b=Ee(b===a?b.splice(m,b.length):b),r?r(null,a,b,s):_.apply(a,b)})}function ke(e){for(var t,n,r,i=e.length,a=o.relative[e[0].type],l=a||o.relative[" "],s=a?1:0,c=we(function(e){return e===t},l,!0),d=we(function(e){return A(t,e)>-1},l,!0),p=[function(e,n,o){var r=!a&&(o||n!==u)||((t=n).nodeType?c(e,n,o):d(e,n,o));return t=null,r}];s<i;s++)if(n=o.relative[e[s].type])p=[we(xe(p),n)];else{if((n=o.filter[e[s].type].apply(null,e[s].matches))[w]){for(r=++s;r<i&&!o.relative[e[r].type];r++);return Ce(s>1&&xe(p),s>1&&ye(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(B,"$1"),n,s<r&&ke(e.slice(s,r)),r<i&&ke(e=e.slice(r)),r<i&&ye(e))}p.push(n)}return xe(p)}return ve.prototype=o.filters=o.pseudos,o.setFilters=new ve,a=le.tokenize=function(e,t){var n,r,i,a,l,s,u,c=T[e+" "];if(c)return t?0:c.slice(0);for(l=e,s=[],u=o.preFilter;l;){for(a in n&&!(r=W.exec(l))||(r&&(l=l.slice(r[0].length)||l),s.push(i=[])),n=!1,(r=G.exec(l))&&(n=r.shift(),i.push({value:n,type:r[0].replace(B," ")}),l=l.slice(n.length)),o.filter)!(r=X[a].exec(l))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),l=l.slice(n.length));if(!n)break}return t?l.length:l?le.error(e):T(e,s).slice(0)},l=le.compile=function(e,t){var n,r=[],i=[],l=S[e+" "];if(!l){for(t||(t=a(e)),n=t.length;n--;)(l=ke(t[n]))[w]?r.push(l):i.push(l);(l=S(e,function(e,t){var n=t.length>0,r=e.length>0,i=function(i,a,l,s,c){var d,m,g,b=0,v="0",y=i&&[],w=[],x=u,C=i||r&&o.find.TAG("*",c),k=E+=null==x?1:Math.random()||.1,T=C.length;for(c&&(u=a===f||a||c);v!==T&&null!=(d=C[v]);v++){if(r&&d){for(m=0,a||d.ownerDocument===f||(p(d),l=!h);g=e[m++];)if(g(d,a||f,l)){s.push(d);break}c&&(E=k)}n&&((d=!g&&d)&&b--,i&&y.push(d))}if(b+=v,n&&v!==b){for(m=0;g=t[m++];)g(y,w,a,l);if(i){if(b>0)for(;v--;)y[v]||w[v]||(w[v]=P.call(s));w=Ee(w)}_.apply(s,w),c&&!i&&w.length>0&&b+t.length>1&&le.uniqueSort(s)}return c&&(E=k,u=x),y};return n?ue(i):i}(i,r))).selector=e}return l},s=le.select=function(e,t,n,r){var i,s,u,c,d,p="function"==typeof e&&e,f=!r&&a(e=p.selector||e);if(n=n||[],1===f.length){if((s=f[0]=f[0].slice(0)).length>2&&"ID"===(u=s[0]).type&&9===t.nodeType&&h&&o.relative[s[1].type]){if(!(t=(o.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(i=X.needsContext.test(e)?0:s.length;i--&&(u=s[i],!o.relative[c=u.type]);)if((d=o.find[c])&&(r=d(u.matches[0].replace(te,ne),ee.test(s[0].type)&&be(t.parentNode)||t))){if(s.splice(i,1),!(e=r.length&&ye(s)))return _.apply(n,r),n;break}}return(p||l(e,f))(r,t,!h,n,!t||ee.test(e)&&be(t.parentNode)||t),n},n.sortStable=w.split("").sort(R).join("")===w,n.detectDuplicates=!!d,p(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||de(I,function(e,t,n){var o;if(!n)return!0===e[t]?t.toLowerCase():(o=e.getAttributeNode(t))&&o.specified?o.value:null}),le}(n);C.find=S,C.expr=S.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=S.uniqueSort,C.text=S.getText,C.isXMLDoc=S.isXML,C.contains=S.contains,C.escapeSelector=S.escape;var D=function(e,t,n){for(var o=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&C(e).is(n))break;o.push(e)}return o},R=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},M=C.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var P=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return v(t)?C.grep(e,function(e,o){return!!t.call(e,o,e)!==n}):t.nodeType?C.grep(e,function(e){return e===t!==n}):"string"!=typeof t?C.grep(e,function(e){return d.call(t,e)>-1!==n}):C.filter(t,e,n)}C.filter=function(e,t,n){var o=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===o.nodeType?C.find.matchesSelector(o,e)?[o]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n,o=this.length,r=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t<o;t++)if(C.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<o;t++)C.find(e,r[t],n);return o>1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&M.test(e)?C(e):e||[],!1).length}});var _,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var o,r;if(!e)return this;if(n=n||_,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),P.test(o[1])&&C.isPlainObject(t))for(o in t)v(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(r=a.getElementById(o[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,_=C(a);var A=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0})},closest:function(e,t){var n,o=0,r=this.length,i=[],a="string"!=typeof e&&C(e);if(!M.test(e))for(;o<r;o++)for(n=this[o];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?C.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?d.call(C(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return D(e,"parentNode")},parentsUntil:function(e,t,n){return D(e,"parentNode",n)},next:function(e){return z(e,"nextSibling")},prev:function(e){return z(e,"previousSibling")},nextAll:function(e){return D(e,"nextSibling")},prevAll:function(e){return D(e,"previousSibling")},nextUntil:function(e,t,n){return D(e,"nextSibling",n)},prevUntil:function(e,t,n){return D(e,"previousSibling",n)},siblings:function(e){return R((e.parentNode||{}).firstChild,e)},children:function(e){return R(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(O(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},function(e,t){C.fn[e]=function(n,o){var r=C.map(this,t,n);return"Until"!==e.slice(-5)&&(o=n),o&&"string"==typeof o&&(r=C.filter(o,r)),this.length>1&&(I[e]||C.uniqueSort(r),A.test(e)&&r.reverse()),this.pushStack(r)}});var F=/[^\x20\t\r\n\f]+/g;function j(e){return e}function H(e){throw e}function U(e,t,n,o){var r;try{e&&v(r=e.promise)?r.call(e).done(t).fail(n):e&&v(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(o))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(F)||[],function(e,n){t[n]=!0}),t}(e):C.extend({},e);var t,n,o,r,i=[],a=[],l=-1,s=function(){for(r=r||e.once,o=t=!0;a.length;l=-1)for(n=a.shift();++l<i.length;)!1===i[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=i.length,n=!1);e.memory||(n=!1),t=!1,r&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(l=i.length-1,a.push(n)),function t(n){C.each(n,function(n,o){v(o)?e.unique&&u.has(o)||i.push(o):o&&o.length&&"string"!==E(o)&&t(o)})}(arguments),n&&!t&&s()),this},remove:function(){return C.each(arguments,function(e,t){for(var n;(n=C.inArray(t,i,n))>-1;)i.splice(n,1),n<=l&&l--}),this},has:function(e){return e?C.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return r=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return r=a=[],n||t||(i=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||s()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!o}};return u},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return C.Deferred(function(n){C.each(t,function(t,o){var r=v(e[o[4]])&&e[o[4]];i[o[1]](function(){var e=r&&r.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(e,o,r){var i=0;function a(e,t,o,r){return function(){var l=this,s=arguments,u=function(){var n,u;if(!(e<i)){if((n=o.apply(l,s))===t.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(u)?r?u.call(n,a(i,t,j,r),a(i,t,H,r)):(i++,u.call(n,a(i,t,j,r),a(i,t,H,r),a(i,t,j,t.notifyWith))):(o!==j&&(l=void 0,s=[n]),(r||t.resolveWith)(l,s))}},c=r?u:function(){try{u()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,c.stackTrace),e+1>=i&&(o!==H&&(l=void 0,s=[n]),t.rejectWith(l,s))}};e?c():(C.Deferred.getStackHook&&(c.stackTrace=C.Deferred.getStackHook()),n.setTimeout(c))}}return C.Deferred(function(n){t[0][3].add(a(0,n,v(r)?r:j,n.notifyWith)),t[1][3].add(a(0,n,v(e)?e:j)),t[2][3].add(a(0,n,v(o)?o:H))}).promise()},promise:function(e){return null!=e?C.extend(e,r):r}},i={};return C.each(t,function(e,n){var a=n[2],l=n[5];r[n[1]]=a.add,l&&a.add(function(){o=l},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,o=Array(n),r=s.call(arguments),i=C.Deferred(),a=function(e){return function(n){o[e]=this,r[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(o,r)}};if(t<=1&&(U(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||v(r[n]&&r[n].then)))return i.then();for(;n--;)U(r[n],a(n),i.reject);return i.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){n.setTimeout(function(){throw e})};var W=C.Deferred();function G(){a.removeEventListener("DOMContentLoaded",G),n.removeEventListener("load",G),C.ready()}C.fn.ready=function(e){return W.then(e).catch(function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||W.resolveWith(a,[C]))}}),C.ready.then=W.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(C.ready):(a.addEventListener("DOMContentLoaded",G),n.addEventListener("load",G));var q=function(e,t,n,o,r,i,a){var l=0,s=e.length,u=null==n;if("object"===E(n))for(l in r=!0,n)q(e,t,l,n[l],!0,i,a);else if(void 0!==o&&(r=!0,v(o)||(a=!0),u&&(a?(t.call(e,o),t=null):(u=t,t=function(e,t,n){return u.call(C(e),n)})),t))for(;l<s;l++)t(e[l],n,a?o:o.call(e[l],l,t(e[l],n)));return r?e:u?t.call(e):s?t(e[0],n):i},V=/^-ms-/,Y=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function K(e){return e.replace(V,"ms-").replace(Y,X)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=C.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var o,r=this.cache(e);if("string"==typeof t)r[K(t)]=n;else for(o in t)r[K(o)]=t[o];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][K(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,o=e[this.expando];if(void 0!==o){if(void 0!==t){n=(t=Array.isArray(t)?t.map(K):(t=K(t))in o?[t]:t.match(F)||[]).length;for(;n--;)delete o[t[n]]}(void 0===t||C.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var J=new Q,Z=new Q,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var o;if(void 0===n&&1===e.nodeType)if(o="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(o))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}Z.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return Z.hasData(e)||J.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),C.fn.extend({data:function(e,t){var n,o,r,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(r=Z.get(i),1===i.nodeType&&!J.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(o=a[n].name).indexOf("data-")&&(o=K(o.slice(5)),ne(i,o,r[o]));J.set(i,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){Z.set(this,e)}):q(this,function(t){var n;if(i&&void 0===t)return void 0!==(n=Z.get(i,e))?n:void 0!==(n=ne(i,e))?n:void 0;this.each(function(){Z.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Z.remove(this,e)})}}),C.extend({queue:function(e,t,n){var o;if(e)return t=(t||"fx")+"queue",o=J.get(e,t),n&&(!o||Array.isArray(n)?o=J.access(e,t,C.makeArray(n)):o.push(n)),o||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),o=n.length,r=n.shift(),i=C._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),o--),r&&("fx"===t&&n.unshift("inprogress"),delete i.stop,r.call(e,function(){C.dequeue(e,t)},i)),!o&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:C.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?C.queue(this[0],e):void 0===t?this:this.each(function(){var n=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&C.dequeue(this,e)})},dequeue:function(e){return this.each(function(){C.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,o=1,r=C.Deferred(),i=this,a=this.length,l=function(){--o||r.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=J.get(i[a],e+"queueHooks"))&&n.empty&&(o++,n.empty.add(l));return l(),r.promise(t)}});var oe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+oe+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=a.documentElement,le=function(e){return C.contains(e.ownerDocument,e)},se={composed:!0};ae.getRootNode&&(le=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&le(e)&&"none"===C.css(e,"display")},ce=function(e,t,n,o){var r,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in r=n.apply(e,o||[]),t)e.style[i]=a[i];return r};function de(e,t,n,o){var r,i,a=20,l=o?function(){return o.cur()}:function(){return C.css(e,t,"")},s=l(),u=n&&n[3]||(C.cssNumber[t]?"":"px"),c=e.nodeType&&(C.cssNumber[t]||"px"!==u&&+s)&&re.exec(C.css(e,t));if(c&&c[3]!==u){for(s/=2,u=u||c[3],c=+s||1;a--;)C.style(e,t,c+u),(1-i)*(1-(i=l()/s||.5))<=0&&(a=0),c/=i;c*=2,C.style(e,t,c+u),n=n||[]}return n&&(c=+c||+s||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],o&&(o.unit=u,o.start=c,o.end=r)),r}var pe={};function fe(e){var t,n=e.ownerDocument,o=e.nodeName,r=pe[o];return r||(t=n.body.appendChild(n.createElement(o)),r=C.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),pe[o]=r,r)}function me(e,t){for(var n,o,r=[],i=0,a=e.length;i<a;i++)(o=e[i]).style&&(n=o.style.display,t?("none"===n&&(r[i]=J.get(o,"display")||null,r[i]||(o.style.display="")),""===o.style.display&&ue(o)&&(r[i]=fe(o))):"none"!==n&&(r[i]="none",J.set(o,"display",n)));for(i=0;i<a;i++)null!=r[i]&&(e[i].style.display=r[i]);return e}C.fn.extend({show:function(){return me(this,!0)},hide:function(){return me(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ue(this)?C(this).show():C(this).hide()})}});var he=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,be=/^$|^module$|\/(?:java|ecma)script/i,ve={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?C.merge([e],n):n}function we(e,t){for(var n=0,o=e.length;n<o;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ve.optgroup=ve.option,ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td;var xe,Ee,Ce=/<|&#?\w+;/;function ke(e,t,n,o,r){for(var i,a,l,s,u,c,d=t.createDocumentFragment(),p=[],f=0,m=e.length;f<m;f++)if((i=e[f])||0===i)if("object"===E(i))C.merge(p,i.nodeType?[i]:i);else if(Ce.test(i)){for(a=a||d.appendChild(t.createElement("div")),l=(ge.exec(i)||["",""])[1].toLowerCase(),s=ve[l]||ve._default,a.innerHTML=s[1]+C.htmlPrefilter(i)+s[2],c=s[0];c--;)a=a.lastChild;C.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(i));for(d.textContent="",f=0;i=p[f++];)if(o&&C.inArray(i,o)>-1)r&&r.push(i);else if(u=le(i),a=ye(d.appendChild(i),"script"),u&&we(a),n)for(c=0;i=a[c++];)be.test(i.type||"")&&n.push(i);return d}xe=a.createDocumentFragment().appendChild(a.createElement("div")),(Ee=a.createElement("input")).setAttribute("type","radio"),Ee.setAttribute("checked","checked"),Ee.setAttribute("name","t"),xe.appendChild(Ee),b.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",b.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,De=/^([^.]*)(?:\.(.+)|)/;function Re(){return!0}function Me(){return!1}function Oe(e,t){return e===function(){try{return a.activeElement}catch(e){}}()==("focus"===t)}function Pe(e,t,n,o,r,i){var a,l;if("object"==typeof t){for(l in"string"!=typeof n&&(o=o||n,n=void 0),t)Pe(e,l,n,o,t[l],i);return e}if(null==o&&null==r?(r=n,o=n=void 0):null==r&&("string"==typeof n?(r=o,o=void 0):(r=o,o=n,n=void 0)),!1===r)r=Me;else if(!r)return e;return 1===i&&(a=r,(r=function(e){return C().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=C.guid++)),e.each(function(){C.event.add(this,t,r,o,n)})}function Ne(e,t,n){n?(J.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var o,r,i=J.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),J.set(this,t,i),o=n(this,t),this[t](),i!==(r=J.get(this,t))||o?J.set(this,t,!1):r={},i!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else i.length&&(J.set(this,t,{value:C.event.trigger(C.extend(i[0],C.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&C.event.add(e,t,Re)}C.event={global:{},add:function(e,t,n,o,r){var i,a,l,s,u,c,d,p,f,m,h,g=J.get(e);if(g)for(n.handler&&(n=(i=n).handler,r=i.selector),r&&C.find.matchesSelector(ae,r),n.guid||(n.guid=C.guid++),(s=g.events)||(s=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(F)||[""]).length;u--;)f=h=(l=De.exec(t[u])||[])[1],m=(l[2]||"").split(".").sort(),f&&(d=C.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=C.event.special[f]||{},c=C.extend({type:f,origType:h,data:o,handler:n,guid:n.guid,selector:r,needsContext:r&&C.expr.match.needsContext.test(r),namespace:m.join(".")},i),(p=s[f])||((p=s[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,o,m,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,c):p.push(c),C.event.global[f]=!0)},remove:function(e,t,n,o,r){var i,a,l,s,u,c,d,p,f,m,h,g=J.hasData(e)&&J.get(e);if(g&&(s=g.events)){for(u=(t=(t||"").match(F)||[""]).length;u--;)if(f=h=(l=De.exec(t[u])||[])[1],m=(l[2]||"").split(".").sort(),f){for(d=C.event.special[f]||{},p=s[f=(o?d.delegateType:d.bindType)||f]||[],l=l[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)c=p[i],!r&&h!==c.origType||n&&n.guid!==c.guid||l&&!l.test(c.namespace)||o&&o!==c.selector&&("**"!==o||!c.selector)||(p.splice(i,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,m,g.handle)||C.removeEvent(e,f,g.handle),delete s[f])}else for(f in s)C.event.remove(e,f+t[u],n,o,!0);C.isEmptyObject(s)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,o,r,i,a,l=C.event.fix(e),s=new Array(arguments.length),u=(J.get(this,"events")||{})[l.type]||[],c=C.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=C.event.handlers.call(this,l,u),t=0;(r=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(o=((C.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s))&&!1===(l.result=o)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,o,r,i,a,l=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},n=0;n<s;n++)void 0===a[r=(o=t[n]).selector+" "]&&(a[r]=o.needsContext?C(r,this).index(u)>-1:C.find(r,this,null,[u]).length),a[r]&&i.push(o);i.length&&l.push({elem:u,handlers:i})}return u=this,s<t.length&&l.push({elem:u,handlers:t.slice(s)}),l},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return he.test(t.type)&&t.click&&O(t,"input")&&Ne(t,"click",Re),!1},trigger:function(e){var t=this||e;return he.test(t.type)&&t.click&&O(t,"input")&&Ne(t,"click"),!0},_default:function(e){var t=e.target;return he.test(t.type)&&t.click&&O(t,"input")&&J.get(t,"click")||O(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Re:Me,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Me,isPropagationStopped:Me,isImmediatePropagationStopped:Me,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Re,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Re,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Re,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Te.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Se.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(e,t){C.event.special[e]={setup:function(){return Ne(this,e,Oe),!1},trigger:function(){return Ne(this,e),!0},delegateType:t}}),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,o=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===o||C.contains(o,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),C.fn.extend({on:function(e,t,n,o){return Pe(this,e,t,n,o)},one:function(e,t,n,o){return Pe(this,e,t,n,o,1)},off:function(e,t,n){var o,r;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,C(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Me),this.each(function(){C.event.remove(this,e,n,t)})}});var _e=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Le=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ze(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,o,r,i,a,l,s,u;if(1===t.nodeType){if(J.hasData(e)&&(i=J.access(e),a=J.set(t,i),u=i.events))for(r in delete a.handle,a.events={},u)for(n=0,o=u[r].length;n<o;n++)C.event.add(t,r,u[r][n]);Z.hasData(e)&&(l=Z.access(e),s=C.extend({},l),Z.set(t,s))}}function Ue(e,t){var n=t.nodeName.toLowerCase();"input"===n&&he.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Be(e,t,n,o){t=u.apply([],t);var r,i,a,l,s,c,d=0,p=e.length,f=p-1,m=t[0],h=v(m);if(h||p>1&&"string"==typeof m&&!b.checkClone&&Ae.test(m))return e.each(function(r){var i=e.eq(r);h&&(t[0]=m.call(this,r,i.html())),Be(i,t,n,o)});if(p&&(i=(r=ke(t,e[0].ownerDocument,!1,e,o)).firstChild,1===r.childNodes.length&&(r=i),i||o)){for(l=(a=C.map(ye(r,"script"),Fe)).length;d<p;d++)s=r,d!==f&&(s=C.clone(s,!0,!0),l&&C.merge(a,ye(s,"script"))),n.call(e[d],s,d);if(l)for(c=a[a.length-1].ownerDocument,C.map(a,je),d=0;d<l;d++)s=a[d],be.test(s.type||"")&&!J.access(s,"globalEval")&&C.contains(c,s)&&(s.src&&"module"!==(s.type||"").toLowerCase()?C._evalUrl&&!s.noModule&&C._evalUrl(s.src,{nonce:s.nonce||s.getAttribute("nonce")}):x(s.textContent.replace(Ie,""),s,c))}return e}function We(e,t,n){for(var o,r=t?C.filter(t,e):e,i=0;null!=(o=r[i]);i++)n||1!==o.nodeType||C.cleanData(ye(o)),o.parentNode&&(n&&le(o)&&we(ye(o,"script")),o.parentNode.removeChild(o));return e}C.extend({htmlPrefilter:function(e){return e.replace(_e,"<$1></$2>")},clone:function(e,t,n){var o,r,i,a,l=e.cloneNode(!0),s=le(e);if(!(b.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(a=ye(l),o=0,r=(i=ye(e)).length;o<r;o++)Ue(i[o],a[o]);if(t)if(n)for(i=i||ye(e),a=a||ye(l),o=0,r=i.length;o<r;o++)He(i[o],a[o]);else He(e,l);return(a=ye(l,"script")).length>0&&we(a,!s&&ye(e,"script")),l},cleanData:function(e){for(var t,n,o,r=C.event.special,i=0;void 0!==(n=e[i]);i++)if($(n)){if(t=n[J.expando]){if(t.events)for(o in t.events)r[o]?C.event.remove(n,o):C.removeEvent(n,o,t.handle);n[J.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),C.fn.extend({detach:function(e){return We(this,e,!0)},remove:function(e){return We(this,e)},text:function(e){return q(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Be(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ze(this,e).appendChild(e)})},prepend:function(){return Be(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ze(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return q(this,function(e){var t=this[0]||{},n=0,o=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!ve[(ge.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<o;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Be(this,arguments,function(t){var n=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(ye(this)),n&&n.replaceChild(t,this))},e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){C.fn[e]=function(e){for(var n,o=[],r=C(e),i=r.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),C(r[a])[t](n),c.apply(o,n.get());return this.pushStack(o)}});var Ge=new RegExp("^("+oe+")(?!px)[a-z%]+$","i"),qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ve=new RegExp(ie.join("|"),"i");function Ye(e,t,n){var o,r,i,a,l=e.style;return(n=n||qe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||le(e)||(a=C.style(e,t)),!b.pixelBoxStyles()&&Ge.test(a)&&Ve.test(t)&&(o=l.width,r=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=o,l.minWidth=r,l.maxWidth=i)),void 0!==a?a+"":a}function Xe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(u).appendChild(c);var e=n.getComputedStyle(c);o="1%"!==e.top,s=12===t(e.marginLeft),c.style.right="60%",l=36===t(e.right),r=36===t(e.width),c.style.position="absolute",i=12===t(c.offsetWidth/3),ae.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var o,r,i,l,s,u=a.createElement("div"),c=a.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",b.clearCloneStyle="content-box"===c.style.backgroundClip,C.extend(b,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),l},pixelPosition:function(){return e(),o},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i}}))}();var Ke=["Webkit","Moz","ms"],$e=a.createElement("div").style,Qe={};function Je(e){var t=C.cssProps[e]||Qe[e];return t||(e in $e?e:Qe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;n--;)if((e=Ke[n]+t)in $e)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,et=/^--/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function ot(e,t,n){var o=re.exec(t);return o?Math.max(0,o[2]-(n||0))+(o[3]||"px"):t}function rt(e,t,n,o,r,i){var a="width"===t?1:0,l=0,s=0;if(n===(o?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(s+=C.css(e,n+ie[a],!0,r)),o?("content"===n&&(s-=C.css(e,"padding"+ie[a],!0,r)),"margin"!==n&&(s-=C.css(e,"border"+ie[a]+"Width",!0,r))):(s+=C.css(e,"padding"+ie[a],!0,r),"padding"!==n?s+=C.css(e,"border"+ie[a]+"Width",!0,r):l+=C.css(e,"border"+ie[a]+"Width",!0,r));return!o&&i>=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-s-l-.5))||0),s}function it(e,t,n){var o=qe(e),r=(!b.boxSizingReliable()||n)&&"border-box"===C.css(e,"boxSizing",!1,o),i=r,a=Ye(e,t,o),l="offset"+t[0].toUpperCase()+t.slice(1);if(Ge.test(a)){if(!n)return a;a="auto"}return(!b.boxSizingReliable()&&r||"auto"===a||!parseFloat(a)&&"inline"===C.css(e,"display",!1,o))&&e.getClientRects().length&&(r="border-box"===C.css(e,"boxSizing",!1,o),(i=l in e)&&(a=e[l])),(a=parseFloat(a)||0)+rt(e,t,n||(r?"border":"content"),i,o,a)+"px"}function at(e,t,n,o,r){return new at.prototype.init(e,t,n,o,r)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ye(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,i,a,l=K(t),s=et.test(t),u=e.style;if(s||(t=Je(l)),a=C.cssHooks[t]||C.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,o))?r:u[t];"string"===(i=typeof n)&&(r=re.exec(n))&&r[1]&&(n=de(e,t,r),i="number"),null!=n&&n==n&&("number"!==i||s||(n+=r&&r[3]||(C.cssNumber[l]?"":"px")),b.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,o))||(s?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,o){var r,i,a,l=K(t);return et.test(t)||(t=Je(l)),(a=C.cssHooks[t]||C.cssHooks[l])&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=Ye(e,t,o)),"normal"===r&&t in nt&&(r=nt[t]),""===n||n?(i=parseFloat(r),!0===n||isFinite(i)?i||0:r):r}}),C.each(["height","width"],function(e,t){C.cssHooks[t]={get:function(e,n,o){if(n)return!Ze.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?it(e,t,o):ce(e,tt,function(){return it(e,t,o)})},set:function(e,n,o){var r,i=qe(e),a=!b.scrollboxSize()&&"absolute"===i.position,l=(a||o)&&"border-box"===C.css(e,"boxSizing",!1,i),s=o?rt(e,t,o,l,i):0;return l&&a&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-rt(e,t,"border",!1,i)-.5)),s&&(r=re.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),ot(0,n,s)}}}),C.cssHooks.marginLeft=Xe(b.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||e.getBoundingClientRect().left-ce(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(e,t){C.cssHooks[e+t]={expand:function(n){for(var o=0,r={},i="string"==typeof n?n.split(" "):[n];o<4;o++)r[e+ie[o]+t]=i[o]||i[o-2]||i[0];return r}},"margin"!==e&&(C.cssHooks[e+t].set=ot)}),C.fn.extend({css:function(e,t){return q(this,function(e,t,n){var o,r,i={},a=0;if(Array.isArray(t)){for(o=qe(e),r=t.length;a<r;a++)i[t[a]]=C.css(e,t[a],!1,o);return i}return void 0!==n?C.style(e,t,n):C.css(e,t)},e,t,arguments.length>1)}}),C.Tween=at,at.prototype={constructor:at,init:function(e,t,n,o,r,i){this.elem=e,this.prop=n,this.easing=r||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=i||(C.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}},at.prototype.init.prototype=at.prototype,at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},at.propHooks.scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=at.prototype.init,C.fx.step={};var lt,st,ut=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function dt(){st&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(dt):n.setTimeout(dt,C.fx.interval),C.fx.tick())}function pt(){return n.setTimeout(function(){lt=void 0}),lt=Date.now()}function ft(e,t){var n,o=0,r={height:e};for(t=t?1:0;o<4;o+=2-t)r["margin"+(n=ie[o])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function mt(e,t,n){for(var o,r=(ht.tweeners[t]||[]).concat(ht.tweeners["*"]),i=0,a=r.length;i<a;i++)if(o=r[i].call(n,t,e))return o}function ht(e,t,n){var o,r,i=0,a=ht.prefilters.length,l=C.Deferred().always(function(){delete s.elem}),s=function(){if(r)return!1;for(var t=lt||pt(),n=Math.max(0,u.startTime+u.duration-t),o=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(o);return l.notifyWith(e,[u,o,n]),o<1&&a?n:(a||l.notifyWith(e,[u,1,0]),l.resolveWith(e,[u]),!1)},u=l.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:t,originalOptions:n,startTime:lt||pt(),duration:n.duration,tweens:[],createTween:function(t,n){var o=C.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(o),o},stop:function(t){var n=0,o=t?u.tweens.length:0;if(r)return this;for(r=!0;n<o;n++)u.tweens[n].run(1);return t?(l.notifyWith(e,[u,1,0]),l.resolveWith(e,[u,t])):l.rejectWith(e,[u,t]),this}}),c=u.props;for(!function(e,t){var n,o,r,i,a;for(n in e)if(r=t[o=K(n)],i=e[n],Array.isArray(i)&&(r=i[1],i=e[n]=i[0]),n!==o&&(e[o]=i,delete e[n]),(a=C.cssHooks[o])&&"expand"in a)for(n in i=a.expand(i),delete e[o],i)n in e||(e[n]=i[n],t[n]=r);else t[o]=r}(c,u.opts.specialEasing);i<a;i++)if(o=ht.prefilters[i].call(u,e,c,u.opts))return v(o.stop)&&(C._queueHooks(u.elem,u.opts.queue).stop=o.stop.bind(o)),o;return C.map(c,mt,u),v(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),C.fx.timer(C.extend(s,{elem:e,anim:u,queue:u.opts.queue})),u}C.Animation=C.extend(ht,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return de(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(F);for(var n,o=0,r=e.length;o<r;o++)n=e[o],ht.tweeners[n]=ht.tweeners[n]||[],ht.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var o,r,i,a,l,s,u,c,d="width"in t||"height"in t,p=this,f={},m=e.style,h=e.nodeType&&ue(e),g=J.get(e,"fxshow");for(o in n.queue||(null==(a=C._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,C.queue(e,"fx").length||a.empty.fire()})})),t)if(r=t[o],ut.test(r)){if(delete t[o],i=i||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!g||void 0===g[o])continue;h=!0}f[o]=g&&g[o]||C.style(e,o)}if((s=!C.isEmptyObject(t))||!C.isEmptyObject(f))for(o in d&&1===e.nodeType&&(n.overflow=[m.overflow,m.overflowX,m.overflowY],null==(u=g&&g.display)&&(u=J.get(e,"display")),"none"===(c=C.css(e,"display"))&&(u?c=u:(me([e],!0),u=e.style.display||u,c=C.css(e,"display"),me([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===C.css(e,"float")&&(s||(p.done(function(){m.display=u}),null==u&&(c=m.display,u="none"===c?"":c)),m.display="inline-block")),n.overflow&&(m.overflow="hidden",p.always(function(){m.overflow=n.overflow[0],m.overflowX=n.overflow[1],m.overflowY=n.overflow[2]})),s=!1,f)s||(g?"hidden"in g&&(h=g.hidden):g=J.access(e,"fxshow",{display:u}),i&&(g.hidden=!h),h&&me([e],!0),p.done(function(){for(o in h||me([e]),J.remove(e,"fxshow"),f)C.style(e,o,f[o])})),s=mt(h?g[o]:0,o,p),o in g||(g[o]=s.start,h&&(s.end=s.start,s.start=0))}],prefilter:function(e,t){t?ht.prefilters.unshift(e):ht.prefilters.push(e)}}),C.speed=function(e,t,n){var o=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return C.fx.off?o.duration=0:"number"!=typeof o.duration&&(o.duration in C.fx.speeds?o.duration=C.fx.speeds[o.duration]:o.duration=C.fx.speeds._default),null!=o.queue&&!0!==o.queue||(o.queue="fx"),o.old=o.complete,o.complete=function(){v(o.old)&&o.old.call(this),o.queue&&C.dequeue(this,o.queue)},o},C.fn.extend({fadeTo:function(e,t,n,o){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,o)},animate:function(e,t,n,o){var r=C.isEmptyObject(e),i=C.speed(t,n,o),a=function(){var t=ht(this,C.extend({},e),i);(r||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var o=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",i=C.timers,a=J.get(this);if(r)a[r]&&a[r].stop&&o(a[r]);else for(r in a)a[r]&&a[r].stop&&ct.test(r)&&o(a[r]);for(r=i.length;r--;)i[r].elem!==this||null!=e&&i[r].queue!==e||(i[r].anim.stop(n),t=!1,i.splice(r,1));!t&&n||C.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),o=n[e+"queue"],r=n[e+"queueHooks"],i=C.timers,a=o?o.length:0;for(n.finish=!0,C.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)o[t]&&o[t].finish&&o[t].finish.call(this);delete n.finish})}}),C.each(["toggle","show","hide"],function(e,t){var n=C.fn[t];C.fn[t]=function(e,o,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,o,r)}}),C.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){C.fn[e]=function(e,n,o){return this.animate(t,e,n,o)}}),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(lt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),lt=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){st||(st=!0,dt())},C.fx.stop=function(){st=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(e,t){return e=C.fx&&C.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,o){var r=n.setTimeout(t,e);o.stop=function(){n.clearTimeout(r)}})},function(){var e=a.createElement("input"),t=a.createElement("select").appendChild(a.createElement("option"));e.type="checkbox",b.checkOn=""!==e.value,b.optSelected=t.selected,(e=a.createElement("input")).value="t",e.type="radio",b.radioValue="t"===e.value}();var gt,bt=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return q(this,C.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var o,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?C.prop(e,t,n):(1===i&&C.isXMLDoc(e)||(r=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?gt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(o=r.get(e,t))?o:null==(o=C.find.attr(e,t))?void 0:o)},attrHooks:{type:{set:function(e,t){if(!b.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o=0,r=t&&t.match(F);if(r&&1===e.nodeType)for(;n=r[o++];)e.removeAttribute(n)}}),gt={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var n=bt[t]||C.find.attr;bt[t]=function(e,t,o){var r,i,a=t.toLowerCase();return o||(i=bt[a],bt[a]=r,r=null!=n(e,t,o)?a:null,bt[a]=i),r}});var vt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function wt(e){return(e.match(F)||[]).join(" ")}function xt(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}C.fn.extend({prop:function(e,t){return q(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var o,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&C.isXMLDoc(e)||(t=C.propFix[t]||t,r=C.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:e[t]=n:r&&"get"in r&&null!==(o=r.get(e,t))?o:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(e){var t,n,o,r,i,a,l,s=0;if(v(e))return this.each(function(t){C(this).addClass(e.call(this,t,xt(this)))});if((t=Et(e)).length)for(;n=this[s++];)if(r=xt(n),o=1===n.nodeType&&" "+wt(r)+" "){for(a=0;i=t[a++];)o.indexOf(" "+i+" ")<0&&(o+=i+" ");r!==(l=wt(o))&&n.setAttribute("class",l)}return this},removeClass:function(e){var t,n,o,r,i,a,l,s=0;if(v(e))return this.each(function(t){C(this).removeClass(e.call(this,t,xt(this)))});if(!arguments.length)return this.attr("class","");if((t=Et(e)).length)for(;n=this[s++];)if(r=xt(n),o=1===n.nodeType&&" "+wt(r)+" "){for(a=0;i=t[a++];)for(;o.indexOf(" "+i+" ")>-1;)o=o.replace(" "+i+" "," ");r!==(l=wt(o))&&n.setAttribute("class",l)}return this},toggleClass:function(e,t){var n=typeof e,o="string"===n||Array.isArray(e);return"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):v(e)?this.each(function(n){C(this).toggleClass(e.call(this,n,xt(this),t),t)}):this.each(function(){var t,r,i,a;if(o)for(r=0,i=C(this),a=Et(e);t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=xt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,o=0;for(t=" "+e+" ";n=this[o++];)if(1===n.nodeType&&(" "+wt(xt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;C.fn.extend({val:function(e){var t,n,o,r=this[0];return arguments.length?(o=v(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=o?e.call(this,n,C(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=C.map(r,function(e){return null==e?"":e+""})),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=C.valHooks[r.type]||C.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(Ct,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:wt(C.text(e))}},select:{get:function(e){var t,n,o,r=e.options,i=e.selectedIndex,a="select-one"===e.type,l=a?null:[],s=a?i+1:r.length;for(o=i<0?s:a?i:0;o<s;o++)if(((n=r[o]).selected||o===i)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(t=C(n).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var n,o,r=e.options,i=C.makeArray(t),a=r.length;a--;)((o=r[a]).selected=C.inArray(C.valHooks.option.get(o),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},b.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),b.focusin="onfocusin"in n;var kt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,o,r){var i,l,s,u,c,d,p,f,h=[o||a],g=m.call(e,"type")?e.type:e,b=m.call(e,"namespace")?e.namespace.split("."):[];if(l=f=s=o=o||a,3!==o.nodeType&&8!==o.nodeType&&!kt.test(g+C.event.triggered)&&(g.indexOf(".")>-1&&(b=g.split("."),g=b.shift(),b.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[C.expando]?e:new C.Event(g,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=o),t=null==t?[e]:C.makeArray(t,[e]),p=C.event.special[g]||{},r||!p.trigger||!1!==p.trigger.apply(o,t))){if(!r&&!p.noBubble&&!y(o)){for(u=p.delegateType||g,kt.test(u+g)||(l=l.parentNode);l;l=l.parentNode)h.push(l),s=l;s===(o.ownerDocument||a)&&h.push(s.defaultView||s.parentWindow||n)}for(i=0;(l=h[i++])&&!e.isPropagationStopped();)f=l,e.type=i>1?u:p.bindType||g,(d=(J.get(l,"events")||{})[e.type]&&J.get(l,"handle"))&&d.apply(l,t),(d=c&&l[c])&&d.apply&&$(l)&&(e.result=d.apply(l,t),!1===e.result&&e.preventDefault());return e.type=g,r||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!$(o)||c&&v(o[g])&&!y(o)&&((s=o[c])&&(o[c]=null),C.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,Tt),o[g](),e.isPropagationStopped()&&f.removeEventListener(g,Tt),C.event.triggered=void 0,s&&(o[c]=s)),e.result}},simulate:function(e,t,n){var o=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(o,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),b.focusin||C.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var o=this.ownerDocument||this,r=J.access(o,t);r||o.addEventListener(e,n,!0),J.access(o,t,(r||0)+1)},teardown:function(){var o=this.ownerDocument||this,r=J.access(o,t)-1;r?J.access(o,t,r):(o.removeEventListener(e,n,!0),J.remove(o,t))}}});var St=n.location,Dt=Date.now(),Rt=/\?/;C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var Mt=/\[\]$/,Ot=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function _t(e,t,n,o){var r;if(Array.isArray(t))C.each(t,function(t,r){n||Mt.test(e)?o(e,r):_t(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,o)});else if(n||"object"!==E(t))o(e,t);else for(r in t)_t(e+"["+r+"]",t[r],n,o)}C.param=function(e,t){var n,o=[],r=function(e,t){var n=v(t)?t():t;o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){r(this.name,this.value)});else for(n in e)_t(n,e[n],t,r);return o.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&Nt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!he.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}}):{name:t.name,value:n.replace(Ot,"\r\n")}}).get()}});var Lt=/%20/g,At=/#.*$/,It=/([?&])_=[^&]*/,zt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,jt=/^\/\//,Ht={},Ut={},Bt="*/".concat("*"),Wt=a.createElement("a");function Gt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var o,r=0,i=t.toLowerCase().match(F)||[];if(v(n))for(;o=i[r++];)"+"===o[0]?(o=o.slice(1)||"*",(e[o]=e[o]||[]).unshift(n)):(e[o]=e[o]||[]).push(n)}}function qt(e,t,n,o){var r={},i=e===Ut;function a(l){var s;return r[l]=!0,C.each(e[l]||[],function(e,l){var u=l(t,n,o);return"string"!=typeof u||i||r[u]?i?!(s=u):void 0:(t.dataTypes.unshift(u),a(u),!1)}),s}return a(t.dataTypes[0])||!r["*"]&&a("*")}function Vt(e,t){var n,o,r=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:o||(o={}))[n]=t[n]);return o&&C.extend(!0,e,o),e}Wt.href=St.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,C.ajaxSettings),t):Vt(C.ajaxSettings,e)},ajaxPrefilter:Gt(Ht),ajaxTransport:Gt(Ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,r,i,l,s,u,c,d,p,f,m=C.ajaxSetup({},t),h=m.context||m,g=m.context&&(h.nodeType||h.jquery)?C(h):C.event,b=C.Deferred(),v=C.Callbacks("once memory"),y=m.statusCode||{},w={},x={},E="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!l)for(l={};t=zt.exec(i);)l[t[1].toLowerCase()+" "]=(l[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=l[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||E;return o&&o.abort(t),T(0,t),this}};if(b.promise(k),m.url=((e||m.url||St.href)+"").replace(jt,St.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(F)||[""],null==m.crossDomain){u=a.createElement("a");try{u.href=m.url,u.href=u.href,m.crossDomain=Wt.protocol+"//"+Wt.host!=u.protocol+"//"+u.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=C.param(m.data,m.traditional)),qt(Ht,m,t,k),c)return k;for(p in(d=C.event&&m.global)&&0==C.active++&&C.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ft.test(m.type),r=m.url.replace(At,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Lt,"+")):(f=m.url.slice(r.length),m.data&&(m.processData||"string"==typeof m.data)&&(r+=(Rt.test(r)?"&":"?")+m.data,delete m.data),!1===m.cache&&(r=r.replace(It,"$1"),f=(Rt.test(r)?"&":"?")+"_="+Dt+++f),m.url=r+f),m.ifModified&&(C.lastModified[r]&&k.setRequestHeader("If-Modified-Since",C.lastModified[r]),C.etag[r]&&k.setRequestHeader("If-None-Match",C.etag[r])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&k.setRequestHeader("Content-Type",m.contentType),k.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Bt+"; q=0.01":""):m.accepts["*"]),m.headers)k.setRequestHeader(p,m.headers[p]);if(m.beforeSend&&(!1===m.beforeSend.call(h,k,m)||c))return k.abort();if(E="abort",v.add(m.complete),k.done(m.success),k.fail(m.error),o=qt(Ut,m,t,k)){if(k.readyState=1,d&&g.trigger("ajaxSend",[k,m]),c)return k;m.async&&m.timeout>0&&(s=n.setTimeout(function(){k.abort("timeout")},m.timeout));try{c=!1,o.send(w,T)}catch(e){if(c)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,a,l){var u,p,f,w,x,E=t;c||(c=!0,s&&n.clearTimeout(s),o=void 0,i=l||"",k.readyState=e>0?4:0,u=e>=200&&e<300||304===e,a&&(w=function(e,t,n){for(var o,r,i,a,l=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(r in l)if(l[r]&&l[r].test(o)){s.unshift(r);break}if(s[0]in n)i=s[0];else{for(r in n){if(!s[0]||e.converters[r+" "+s[0]]){i=r;break}a||(a=r)}i=i||a}if(i)return i!==s[0]&&s.unshift(i),n[i]}(m,k,a)),w=function(e,t,n,o){var r,i,a,l,s,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!s&&o&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=i,i=c.shift())if("*"===i)i=s;else if("*"!==s&&s!==i){if(!(a=u[s+" "+i]||u["* "+i]))for(r in u)if((l=r.split(" "))[1]===i&&(a=u[s+" "+l[0]]||u["* "+l[0]])){!0===a?a=u[r]:!0!==u[r]&&(i=l[0],c.unshift(l[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+s+" to "+i}}}return{state:"success",data:t}}(m,w,k,u),u?(m.ifModified&&((x=k.getResponseHeader("Last-Modified"))&&(C.lastModified[r]=x),(x=k.getResponseHeader("etag"))&&(C.etag[r]=x)),204===e||"HEAD"===m.type?E="nocontent":304===e?E="notmodified":(E=w.state,p=w.data,u=!(f=w.error))):(f=E,!e&&E||(E="error",e<0&&(e=0))),k.status=e,k.statusText=(t||E)+"",u?b.resolveWith(h,[p,E,k]):b.rejectWith(h,[k,E,f]),k.statusCode(y),y=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[k,m,u?p:f]),v.fireWith(h,[k,E]),d&&(g.trigger("ajaxComplete",[k,m]),--C.active||C.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,t){C[t]=function(e,n,o,r){return v(n)&&(r=r||o,o=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:r,data:n,success:o},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e,t){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){C(this).wrapInner(e.call(this,t))}):this.each(function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){C(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Xt=C.ajaxSettings.xhr();b.cors=!!Xt&&"withCredentials"in Xt,b.ajax=Xt=!!Xt,C.ajaxTransport(function(e){var t,o;if(b.cors||Xt&&!e.crossDomain)return{send:function(r,i){var a,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)l[a]=e.xhrFields[a];for(a in e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)l.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=o=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===e?l.abort():"error"===e?"number"!=typeof l.status?i(0,"error"):i(l.status,l.statusText):i(Yt[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=t(),o=l.onerror=l.ontimeout=t("error"),void 0!==l.onabort?l.onabort=o:l.onreadystatechange=function(){4===l.readyState&&n.setTimeout(function(){t&&o()})},t=t("abort");try{l.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(o,r){t=C("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),a.head.appendChild(t[0])},abort:function(){n&&n()}}});var Kt,$t=[],Qt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=$t.pop()||C.expando+"_"+Dt++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,o){var r,i,a,l=!1!==e.jsonp&&(Qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(e.data)&&"data");if(l||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,l?e[l]=e[l].replace(Qt,"$1"+r):!1!==e.jsonp&&(e.url+=(Rt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||C.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=n[r],n[r]=function(){a=arguments},o.always(function(){void 0===i?C(n).removeProp(r):n[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,$t.push(r)),a&&v(i)&&i(a[0]),a=i=void 0}),"script"}),b.createHTMLDocument=((Kt=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Kt.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(b.createHTMLDocument?((o=(t=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,t.head.appendChild(o)):t=a),i=!n&&[],(r=P.exec(e))?[t.createElement(r[1])]:(r=ke([e],t,i),i&&i.length&&C(i).remove(),C.merge([],r.childNodes)));var o,r,i},C.fn.load=function(e,t,n){var o,r,i,a=this,l=e.indexOf(" ");return l>-1&&(o=wt(e.slice(l)),e=e.slice(0,l)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),a.length>0&&C.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(o?C("<div>").append(C.parseHTML(e)).find(o):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.expr.pseudos.animated=function(e){return C.grep(C.timers,function(t){return e===t.elem}).length},C.offset={setOffset:function(e,t,n){var o,r,i,a,l,s,u=C.css(e,"position"),c=C(e),d={};"static"===u&&(e.style.position="relative"),l=c.offset(),i=C.css(e,"top"),s=C.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+s).indexOf("auto")>-1?(a=(o=c.position()).top,r=o.left):(a=parseFloat(i)||0,r=parseFloat(s)||0),v(t)&&(t=t.call(e,n,C.extend({},l))),null!=t.top&&(d.top=t.top-l.top+a),null!=t.left&&(d.left=t.left-l.left+r),"using"in t?t.using.call(e,d):c.css(d)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){C.offset.setOffset(this,e,t)});var t,n,o=this[0];return o?o.getClientRects().length?(t=o.getBoundingClientRect(),n=o.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,o=this[0],r={top:0,left:0};if("fixed"===C.css(o,"position"))t=o.getBoundingClientRect();else{for(t=this.offset(),n=o.ownerDocument,e=o.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==o&&1===e.nodeType&&((r=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),r.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-C.css(o,"marginTop",!0),left:t.left-r.left-C.css(o,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ae})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;C.fn[e]=function(o){return q(this,function(e,o,r){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===r)return i?i[t]:e[o];i?i.scrollTo(n?i.pageXOffset:r,n?r:i.pageYOffset):e[o]=r},e,o,arguments.length)}}),C.each(["top","left"],function(e,t){C.cssHooks[t]=Xe(b.pixelPosition,function(e,n){if(n)return n=Ye(e,t),Ge.test(n)?C(e).position()[t]+"px":n})}),C.each({Height:"height",Width:"width"},function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,o){C.fn[o]=function(r,i){var a=arguments.length&&(n||"boolean"!=typeof r),l=n||(!0===r||!0===i?"margin":"border");return q(this,function(t,n,r){var i;return y(t)?0===o.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?C.css(t,n,l):C.style(t,n,r,l)},t,a?r:void 0,a)}})}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){C.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),C.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,o){return this.on(t,e,n,o)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),C.proxy=function(e,t){var n,o,r;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return o=s.call(arguments,2),(r=function(){return e.apply(t||this,o.concat(s.call(arguments)))}).guid=e.guid=e.guid||C.guid++,r},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=O,C.isFunction=v,C.isWindow=y,C.camelCase=K,C.type=E,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(o=function(){return C}.apply(t,[]))||(e.exports=o);var Jt=n.jQuery,Zt=n.$;return C.noConflict=function(e){return n.$===C&&(n.$=Zt),e&&n.jQuery===C&&(n.jQuery=Jt),C},r||(n.jQuery=n.$=C),C})},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=function(e){return(0,r.default)(e).replace(i,"-ms-")};var r=o(n(79)),i=/^ms-/;e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(o,"-$1").toLowerCase()};var o=/([A-Z])/g;e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=function(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,r.default)(t))&&(t="styleFloat");var o=e.currentStyle[t]||null;if(null==o&&n&&n[t]&&(o=n[t]),a.test(o)&&!i.test(t)){var l=n.left,s=e.runtimeStyle,u=s&&s.left;u&&(s.left=e.currentStyle.left),n.left="fontSize"===t?"1em":o,o=n.pixelLeft+"px",n.left=l,u&&(s.left=u)}return o}}};var r=o(n(42)),i=/^(top|right|bottom|left)$/,a=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return!(!e||!o.test(e))};var o=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},function(e,t,n){"use strict";var o=n(84);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.default)(function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];var r=null;return t.forEach(function(e){if(null==r){var t=e.apply(void 0,n);null!=t&&(r=t)}}),r})};var o,r=n(30),i=(o=r)&&o.__esModule?o:{default:o};e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=function(e,t){if(!r&&i.default){var n=document.body,o=n.matches||n.matchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;r=o?function(e,t){return o.call(e,t)}:l}return r?r(e,t):null};var r,i=o(n(14)),a=o(n(13));function l(e,t){for(var n=(0,a.default)(e.document||e.ownerDocument,t),o=0;n[o]&&n[o]!==e;)o++;return!!n[o]}e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=n(0),r=(a(o),a(n(4))),i=a(n(88));a(n(89));function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=1073741823;t.default=function(e,t){var n,a,d="__create-react-context-"+(0,i.default)()+"__",p=function(e){function n(){var t,o,r,i;l(this,n);for(var a=arguments.length,u=Array(a),c=0;c<a;c++)u[c]=arguments[c];return t=o=s(this,e.call.apply(e,[this].concat(u))),o.emitter=(r=o.props.value,i=[],{on:function(e){i.push(e)},off:function(e){i=i.filter(function(t){return t!==e})},get:function(){return r},set:function(e,t){r=e,i.forEach(function(e){return e(r,t)})}}),s(o,t)}return u(n,e),n.prototype.getChildContext=function(){var e;return(e={})[d]=this.emitter,e},n.prototype.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n=this.props.value,o=e.value,r=void 0;((i=n)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?r=0:(r="function"==typeof t?t(n,o):c,0!=(r|=0)&&this.emitter.set(e.value,r))}var i,a},n.prototype.render=function(){return this.props.children},n}(o.Component);p.childContextTypes=((n={})[d]=r.default.object.isRequired,n);var f=function(t){function n(){var e,o;l(this,n);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=o=s(this,t.call.apply(t,[this].concat(i))),o.state={value:o.getValue()},o.onUpdate=function(e,t){0!=((0|o.observedBits)&t)&&o.setState({value:o.getValue()})},s(o,e)}return u(n,t),n.prototype.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?c:t},n.prototype.componentDidMount=function(){this.context[d]&&this.context[d].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?c:e},n.prototype.componentWillUnmount=function(){this.context[d]&&this.context[d].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[d]?this.context[d].get():e},n.prototype.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return f.contextTypes=((a={})[d]=r.default.object,a),{Provider:p,Consumer:f}},e.exports=t.default},function(e,t,n){"use strict";(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n(29))},function(e,t,n){"use strict";var o=n(90);e.exports=o},function(e,t,n){"use strict";function o(e){return function(){return e}}var r=function(){};r.thatReturns=o,r.thatReturnsFalse=o(!1),r.thatReturnsTrue=o(!0),r.thatReturnsNull=o(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=u(n(32)),r=u(n(33)),i=u(n(4)),a=u(n(0)),l=u(n(7)),s=u(n(45));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var d=27,p=function(){};var f=function(e){var t,n;function i(t,n){var i;return(i=e.call(this,t,n)||this).addEventListeners=function(){var e=i.props.event,t=(0,s.default)(c(c(i)));i.removeMouseCaptureListener=(0,r.default)(t,e,i.handleMouseCapture,!0),i.removeMouseListener=(0,r.default)(t,e,i.handleMouse),i.removeKeyupListener=(0,r.default)(t,"keyup",i.handleKeyUp),"ontouchstart"in t.documentElement&&(i.mobileSafariHackListeners=[].slice.call(document.body.children).map(function(e){return(0,r.default)(e,"mousemove",p)}))},i.removeEventListeners=function(){i.removeMouseCaptureListener&&i.removeMouseCaptureListener(),i.removeMouseListener&&i.removeMouseListener(),i.removeKeyupListener&&i.removeKeyupListener(),i.mobileSafariHackListeners&&i.mobileSafariHackListeners.forEach(function(e){return e()})},i.handleMouseCapture=function(e){var t;i.preventMouseRootClose=!!((t=e).metaKey||t.altKey||t.ctrlKey||t.shiftKey)||!function(e){return 0===e.button}(e)||(0,o.default)(l.default.findDOMNode(c(c(i))),e.target)},i.handleMouse=function(e){!i.preventMouseRootClose&&i.props.onRootClose&&i.props.onRootClose(e)},i.handleKeyUp=function(e){e.keyCode===d&&i.props.onRootClose&&i.props.onRootClose(e)},i.preventMouseRootClose=!1,i}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=i.prototype;return a.componentDidMount=function(){this.props.disabled||this.addEventListeners()},a.componentDidUpdate=function(e){!this.props.disabled&&e.disabled?this.addEventListeners():this.props.disabled&&!e.disabled&&this.removeEventListeners()},a.componentWillUnmount=function(){this.props.disabled||this.removeEventListeners()},a.render=function(){return this.props.children},i}(a.default.Component);f.displayName="RootCloseWrapper",f.propTypes={onRootClose:i.default.func,children:i.default.element,disabled:i.default.bool,event:i.default.oneOf(["click","mousedown"])},f.defaultProps={event:"click"};var m=f;t.default=m,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t,n){return 2===arguments.length?u(e,t):u({consumers:e,mapToProps:t},n)};var o=i(n(0)),r=i(n(93));function i(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var l=function(e){var t="string"==typeof e?e:e.name||e.displayName;return t?"ContextTransform("+t+")":"ContextTransform"},s=function(e){return e.Consumer||e};function u(e,t){var n=e.consumers,i=e.mapToProps,u=e.displayName,c=e.forwardRefAs,d=void 0===c?"ref":c,p=n;Array.isArray(n)||(p=[n]);var f=s(p[0]);var m=1===p.length?function(e,n){var r,l=a(((r={})[d]=n,r),e);return o.default.createElement(f,null,function(n){return o.default.createElement(t,a({},l,i(n,e)))})}:function(e,n){var r,l=a(((r={})[d]=n,r),e);return p.reduceRight(function(e,t){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=s(t);return o.default.createElement(a,null,function(t){return e.apply(void 0,r.concat([t]))})}},function(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return o.default.createElement(t,a({},l,i.apply(void 0,r.concat([e]))))})()};return(0,r.default)(m,{displayName:u||l(t)})}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=t.displayName,o=t.propTypes,i=t.defaultProps,a=t.allowFallback,l=void 0!==a&&a,s=function(t,n){return e(t,n)};return Object.assign(s,{displayName:n}),r.default.forwardRef||!l?Object.assign(r.default.forwardRef(s),{propTypes:o,defaultProps:i}):Object.assign(function(e){return s(e,null)},{displayName:n,propTypes:o,defaultProps:i})};var o,r=(o=n(0))&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,o,r,i){var a=o||"<<anonymous>>",l=i||n;if(null==t[n])return new Error("The "+r+" `"+l+"` is required to make `"+a+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,u=Array(s>5?s-5:0),c=5;c<s;c++)u[c-5]=arguments[c];return e.apply(void 0,[t,n,o,r,i].concat(u))}},e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=function(e,t){return function(n){var o=n.currentTarget,a=n.target,l=(0,i.default)(o,e);l.some(function(e){return(0,r.default)(e,a)})&&t.call(this,n)}};var r=o(n(32)),i=o(n(13));e.exports=t.default},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=function(e){void 0===e&&(e=(0,r.default)());try{return e.activeElement}catch(e){}};var r=o(n(18));e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a(n(0)),r=n(98),i=a(n(30));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i.default)(function(e,t,n,i,a){var l=e[t];return o.default.isValidElement(l)?new Error("Invalid "+i+" `"+a+"` of type ReactElement supplied to `"+n+"`,expected an element type (a string , component class, or function component)."):(0,r.isValidElementType)(l)?null:new Error("Invalid "+i+" `"+a+"` of value `"+l+"` supplied to `"+n+"`, expected an element type (a string , component class, or function component).")}),e.exports=t.default},function(e,t,n){"use strict";e.exports=n(99)},function(e,t,n){"use strict";
/** @license React v16.8.6
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,c=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.async_mode"):60111,p=o?Symbol.for("react.concurrent_mode"):60111,f=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case p:case a:case s:case l:case m:return e;default:switch(e=e&&e.$$typeof){case c:case f:case u:return e;default:return t}}case g:case h:case i:return t}}}function v(e){return b(e)===p}t.typeOf=b,t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=h,t.Portal=i,t.Profiler=s,t.StrictMode=l,t.Suspense=m,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===s||e===l||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===u||e.$$typeof===c||e.$$typeof===f)},t.isAsyncMode=function(e){return v(e)||b(e)===d},t.isConcurrentMode=v,t.isContextConsumer=function(e){return b(e)===c},t.isContextProvider=function(e){return b(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===f},t.isFragment=function(e){return b(e)===a},t.isLazy=function(e){return b(e)===g},t.isMemo=function(e){return b(e)===h},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===s},t.isStrictMode=function(e){return b(e)===l},t.isSuspense=function(e){return b(e)===m}},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=void 0;var r=o(n(101));t.addClass=r.default;var i=o(n(102));t.removeClass=i.default;var a=o(n(46));t.hasClass=a.default;var l={addClass:r.default,removeClass:i.default,hasClass:a.default};t.default=l},function(e,t,n){"use strict";var o=n(9);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,r.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var r=o(n(46));e.exports=t.default},function(e,t,n){"use strict";function o(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=o(e.className,t):e.setAttribute("class",o(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return(0,o.default)(e)||(t=e,t&&"body"===t.tagName.toLowerCase())?function(e){var t=(0,r.default)(e),n=(0,o.default)(t);return t.body.clientWidth<n.innerWidth}(e):e.scrollHeight>e.clientHeight;var t};var o=i(n(104)),r=i(n(18));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.ariaHidden=i,t.hideSiblings=function(e,t){var n=t.root,o=t.backdrop;r(e,[n,o],function(e){return i(!0,e)})},t.showSiblings=function(e,t){var n=t.root,o=t.backdrop;r(e,[n,o],function(e){return i(!1,e)})};var o=["template","script","style"],r=function(e,t,n){t=[].concat(t),[].forEach.call(e.children,function(e){var r,i,a;-1===t.indexOf(e)&&(i=(r=e).nodeType,a=r.tagName,1===i&&-1===o.indexOf(a.toLowerCase()))&&n(e)})};function i(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=s(n(4)),r=s(n(34)),i=s(n(0)),a=s(n(7)),l=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t,n;function o(){return e.apply(this,arguments)||this}return n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.prototype.render=function(){var e=this;return this.props.children?i.default.createElement(l.default,{container:this.props.container,onContainerResolved:this.props.onRendered},function(t){return a.default.createPortal(e.props.children,t)}):null},o}(i.default.Component);u.displayName="Portal",u.propTypes={container:o.default.oneOfType([r.default,o.default.func]),onRendered:o.default.func};var c=u;t.default=c,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=c(n(4)),r=c(n(34)),i=c(n(14)),a=c(n(18)),l=c(n(0)),s=c(n(7)),u=c(n(47));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p={container:o.default.oneOfType([r.default,o.default.func]),onContainerResolved:o.default.func},f=function(e){var t,n;function o(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];if(t=e.call.apply(e,[this].concat(o))||this,!i.default)return d(t);var a=t.props.container;return"function"==typeof a&&(a=a()),a&&!s.default.findDOMNode(a)?d(t):(t.setContainer(a),t)}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=o.prototype;return r.UNSAFE_componentWillReceiveProps=function(e){e.container!==this.props.container&&this.setContainer(e.container)},r.componentDidMount=function(){this._container?this.props.onContainerResolved&&this.props.onContainerResolved():(this.setContainer(this.props.container),this.forceUpdate(this.props.onContainerResolved))},r.componentWillUnmount=function(){this._container=null},r.setContainer=function(e){this._container=(0,u.default)(e,(0,a.default)().body)},r.render=function(){return this._container?this.props.children(this._container):null},o}(l.default.Component);f.propTypes=p;var m=f;t.default=m,e.exports=t.default},function(e,t,n){"use strict";e.exports=n(109)},function(e,t,n){"use strict";
/** @license React v16.8.6
 * react-dom-server.browser.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(28),r=n(0);function i(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);!function(e,t,n,o,r,i,a,l){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,r,i,a,l],u=0;(e=Error(t.replace(/%s/g,function(){return s[u++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var a="function"==typeof Symbol&&Symbol.for,l=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,c=a?Symbol.for("react.profiler"):60114,d=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,f=a?Symbol.for("react.concurrent_mode"):60111,m=a?Symbol.for("react.forward_ref"):60112,h=a?Symbol.for("react.suspense"):60113,g=a?Symbol.for("react.memo"):60115,b=a?Symbol.for("react.lazy"):60116;function v(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case f:return"ConcurrentMode";case s:return"Fragment";case l:return"Portal";case c:return"Profiler";case u:return"StrictMode";case h:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case p:return"Context.Consumer";case d:return"Context.Provider";case m:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case g:return v(e.type);case b:if(e=1===e._status?e._result:null)return v(e)}return null}var y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;y.hasOwnProperty("ReactCurrentDispatcher")||(y.ReactCurrentDispatcher={current:null});var w={};function x(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var E=new Uint16Array(16),C=0;15>C;C++)E[C]=C+1;E[15]=0;var k=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T=Object.prototype.hasOwnProperty,S={},D={};function R(e){return!!T.call(D,e)||!T.call(S,e)&&(k.test(e)?D[e]=!0:(S[e]=!0,!1))}function M(e,t,n,o){if(null==t||function(e,t,n,o){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,o))return!0;if(o)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function O(e,t,n,o,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){P[e]=new O(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];P[t]=new O(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){P[e]=new O(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){P[e]=new O(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){P[e]=new O(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){P[e]=new O(e,3,!0,e,null)}),["capture","download"].forEach(function(e){P[e]=new O(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){P[e]=new O(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){P[e]=new O(e,5,!1,e.toLowerCase(),null)});var N=/[\-:]([a-z])/g;function _(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(N,_);P[t]=new O(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(N,_);P[t]=new O(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(N,_);P[t]=new O(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(function(e){P[e]=new O(e,1,!1,e.toLowerCase(),null)});var L=/["'&<>]/;function A(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=L.exec(e);if(t){var n,o="",r=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}r!==n&&(o+=e.substring(r,n)),r=n+1,o+=t}e=r!==n?o+e.substring(r,n):o}return e}var I=null,z=null,F=null,j=!1,H=!1,U=null,B=0;function W(){return null===I&&i("321"),I}function G(){return 0<B&&i("312"),{memoizedState:null,queue:null,next:null}}function q(){return null===F?null===z?(j=!1,z=F=G()):(j=!0,F=z):null===F.next?(j=!1,F=F.next=G()):(j=!0,F=F.next),F}function V(e,t,n,o){for(;H;)H=!1,B+=1,F=null,n=e(t,o);return z=I=null,B=0,F=U=null,n}function Y(e,t){return"function"==typeof t?t(e):t}function X(e,t,n){if(I=W(),F=q(),j){var o=F.queue;if(t=o.dispatch,null!==U&&void 0!==(n=U.get(o))){U.delete(o),o=F.memoizedState;do{o=e(o,n.action),n=n.next}while(null!==n);return F.memoizedState=o,[o,t]}return[F.memoizedState,t]}return e=e===Y?"function"==typeof t?t():t:void 0!==n?n(t):t,F.memoizedState=e,e=(e=F.queue={last:null,dispatch:null}).dispatch=function(e,t,n){if(25>B||i("301"),e===I)if(H=!0,e={action:n,next:null},null===U&&(U=new Map),void 0===(n=U.get(t)))U.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}.bind(null,I,e),[F.memoizedState,e]}function K(){}var $=0,Q={readContext:function(e){var t=$;return x(e,t),e[t]},useContext:function(e){W();var t=$;return x(e,t),e[t]},useMemo:function(e,t){if(I=W(),t=void 0===t?null:t,null!==(F=q())){var n=F.memoizedState;if(null!==n&&null!==t){e:{var o=n[1];if(null===o)o=!1;else{for(var r=0;r<o.length&&r<t.length;r++){var i=t[r],a=o[r];if((i!==a||0===i&&1/i!=1/a)&&(i==i||a==a)){o=!1;break e}}o=!0}}if(o)return n[0]}}return e=e(),F.memoizedState=[e,t],e},useReducer:X,useRef:function(e){I=W();var t=(F=q()).memoizedState;return null===t?(e={current:e},F.memoizedState=e):t},useState:function(e){return X(Y,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:K,useEffect:K,useDebugValue:K},J={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Z(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var ee={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},te=o({menuitem:!0},ee),ne={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},oe=["Webkit","ms","Moz","O"];Object.keys(ne).forEach(function(e){oe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ne[t]=ne[e]})});var re=/([A-Z])/g,ie=/^ms-/,ae=r.Children.toArray,le=y.ReactCurrentDispatcher,se={listing:!0,pre:!0,textarea:!0},ue=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ce={},de={};var pe=Object.prototype.hasOwnProperty,fe={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function me(e,t){void 0===e&&i("152",v(t)||"Component")}function he(e,t,n){function a(r,a){var l=function(e,t,n){var o=e.contextType;if("object"==typeof o&&null!==o)return x(o,n),o[n];if(e=e.contextTypes){for(var r in n={},e)n[r]=t[r];t=n}else t=w;return t}(a,t,n),s=[],u=!1,c={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===s)return null},enqueueReplaceState:function(e,t){u=!0,s=[t]},enqueueSetState:function(e,t){if(null===s)return null;s.push(t)}},d=void 0;if(a.prototype&&a.prototype.isReactComponent){if(d=new a(r.props,l,c),"function"==typeof a.getDerivedStateFromProps){var p=a.getDerivedStateFromProps.call(null,r.props,d.state);null!=p&&(d.state=o({},d.state,p))}}else if(I={},d=a(r.props,l,c),null==(d=V(a,r.props,d,l))||null==d.render)return void me(e=d,a);if(d.props=r.props,d.context=l,d.updater=c,void 0===(c=d.state)&&(d.state=c=null),"function"==typeof d.UNSAFE_componentWillMount||"function"==typeof d.componentWillMount)if("function"==typeof d.componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&d.componentWillMount(),"function"==typeof d.UNSAFE_componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&d.UNSAFE_componentWillMount(),s.length){c=s;var f=u;if(s=null,u=!1,f&&1===c.length)d.state=c[0];else{p=f?c[0]:d.state;var m=!0;for(f=f?1:0;f<c.length;f++){var h=c[f];null!=(h="function"==typeof h?h.call(d,p,r.props,l):h)&&(m?(m=!1,p=o({},p,h)):o(p,h))}d.state=p}}else s=null;if(me(e=d.render(),a),r=void 0,"function"==typeof d.getChildContext&&"object"==typeof(l=a.childContextTypes))for(var g in r=d.getChildContext())g in l||i("108",v(a)||"Unknown",g);r&&(t=o({},t,r))}for(;r.isValidElement(e);){var l=e,s=l.type;if("function"!=typeof s)break;a(l,s)}return{child:e,context:t}}var ge=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");r.isValidElement(t)?t.type!==s?t=[t]:(t=t.props.children,t=r.isValidElement(t)?[t]:ae(t)):t=ae(t),t={type:null,domNamespace:J.html,children:t,childIndex:0,context:w,footer:""};var o=E[0];if(0===o){var a=E,l=2*(o=a.length);65536>=l||i("304");var u=new Uint16Array(l);for(u.set(a),(E=u)[0]=o+1,a=o;a<l-1;a++)E[a]=a+1;E[l-1]=0}else E[0]=E[o];this.threadID=o,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}return e.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;E[e]=E[0],E[0]=e}},e.prototype.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,o=this.threadID;x(n,o);var r=n[o];this.contextStack[t]=n,this.contextValueStack[t]=r,n[o]=e.props.value},e.prototype.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},e.prototype.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},e.prototype.read=function(e){if(this.exhausted)return null;var t=$;$=this.threadID;var n=le.current;le.current=Q;try{for(var o=[""],r=!1;o[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;E[a]=E[0],E[0]=a;break}var l=this.stack[this.stack.length-1];if(r||l.childIndex>=l.children.length){var s=l.footer;if(""!==s&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===l.type)this.currentSelectValue=null;else if(null!=l.type&&null!=l.type.type&&l.type.type.$$typeof===d)this.popProvider(l.type);else if(l.type===h){this.suspenseDepth--;var u=o.pop();if(r){r=!1;var c=l.fallbackFrame;c||i("303"),this.stack.push(c);continue}o[this.suspenseDepth]+=u}o[this.suspenseDepth]+=s}else{var p=l.children[l.childIndex++],f="";try{f+=this.render(p,l.context,l.domNamespace)}catch(e){throw e}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=f}}return o[0]}finally{le.current=n,$=t}},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?A(n):this.previousWasTextNode?"\x3c!-- --\x3e"+A(n):(this.previousWasTextNode=!0,A(n));if(e=(t=he(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!r.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var a=e.$$typeof;a===l&&i("257"),i("258",a.toString())}return e=ae(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(a=e.type))return this.renderDOM(e,t,n);switch(a){case u:case f:case c:case s:return e=ae(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case h:i("294")}if("object"==typeof a&&null!==a)switch(a.$$typeof){case m:I={};var v=a.render(e.props,e.ref);return v=V(a.render,e.props,v,e.ref),v=ae(v),this.stack.push({type:null,domNamespace:n,children:v,childIndex:0,context:t,footer:""}),"";case g:return e=[r.createElement(a.type,o({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case d:return n={type:e,domNamespace:n,children:a=ae(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case p:a=e.type,v=e.props;var y=this.threadID;return x(a,y),a=ae(v.children(a[y])),this.stack.push({type:e,domNamespace:n,children:a,childIndex:0,context:t,footer:""}),"";case b:i("295")}i("130",null==a?a:typeof a,"")},e.prototype.renderDOM=function(e,t,n){var a=e.type.toLowerCase();n===J.html&&Z(a),ce.hasOwnProperty(a)||(ue.test(a)||i("65",a),ce[a]=!0);var l=e.props;if("input"===a)l=o({type:void 0},l,{defaultChecked:void 0,defaultValue:void 0,value:null!=l.value?l.value:l.defaultValue,checked:null!=l.checked?l.checked:l.defaultChecked});else if("textarea"===a){var s=l.value;if(null==s){s=l.defaultValue;var u=l.children;null!=u&&(null!=s&&i("92"),Array.isArray(u)&&(1>=u.length||i("93"),u=u[0]),s=""+u),null==s&&(s="")}l=o({},l,{value:void 0,children:""+s})}else if("select"===a)this.currentSelectValue=null!=l.value?l.value:l.defaultValue,l=o({},l,{value:void 0});else if("option"===a){u=this.currentSelectValue;var c=function(e){if(null==e)return e;var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(l.children);if(null!=u){var d=null!=l.value?l.value+"":c;if(s=!1,Array.isArray(u)){for(var p=0;p<u.length;p++)if(""+u[p]===d){s=!0;break}}else s=""+u===d;l=o({selected:void 0,children:void 0},l,{selected:s,children:c})}}for(w in(s=l)&&(te[a]&&(null!=s.children||null!=s.dangerouslySetInnerHTML)&&i("137",a,""),null!=s.dangerouslySetInnerHTML&&(null!=s.children&&i("60"),"object"==typeof s.dangerouslySetInnerHTML&&"__html"in s.dangerouslySetInnerHTML||i("61")),null!=s.style&&"object"!=typeof s.style&&i("62","")),s=l,u=this.makeStaticMarkup,c=1===this.stack.length,d="<"+e.type,s)if(pe.call(s,w)){var f=s[w];if(null!=f){if("style"===w){p=void 0;var m="",h="";for(p in f)if(f.hasOwnProperty(p)){var g=0===p.indexOf("--"),b=f[p];if(null!=b){var v=p;if(de.hasOwnProperty(v))v=de[v];else{var y=v.replace(re,"-$1").toLowerCase().replace(ie,"-ms-");v=de[v]=y}m+=h+v+":",h=p,m+=g=null==b||"boolean"==typeof b||""===b?"":g||"number"!=typeof b||0===b||ne.hasOwnProperty(h)&&ne[h]?(""+b).trim():b+"px",h=";"}}f=m||null}p=null;e:if(g=a,b=s,-1===g.indexOf("-"))g="string"==typeof b.is;else switch(g){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":g=!1;break e;default:g=!0}g?fe.hasOwnProperty(w)||(p=R(p=w)&&null!=f?p+'="'+A(f)+'"':""):(g=w,p=f,f=P.hasOwnProperty(g)?P[g]:null,(b="style"!==g)&&(b=null!==f?0===f.type:2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])),b||M(g,p,f,!1)?p="":null!==f?(g=f.attributeName,p=3===(f=f.type)||4===f&&!0===p?g+'=""':g+'="'+A(p)+'"'):p=R(g)?g+'="'+A(p)+'"':""),p&&(d+=" "+p)}}u||c&&(d+=' data-reactroot=""');var w=d;s="",ee.hasOwnProperty(a)?w+="/>":(w+=">",s="</"+e.type+">");e:{if(null!=(u=l.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break e}}else if("string"==typeof(u=l.children)||"number"==typeof u){u=A(u);break e}u=null}return null!=u?(l=[],se[a]&&"\n"===u.charAt(0)&&(w+="\n"),w+=u):l=ae(l.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?Z(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:l,childIndex:0,context:t,footer:s}),this.previousWasTextNode=!1,w},e}(),be={renderToString:function(e){e=new ge(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new ge(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){i("207")},renderToStaticNodeStream:function(){i("208")},version:"16.8.6"},ve={default:be},ye=ve&&be||ve;e.exports=ye.default||ye},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};t.__esModule=!0;var a=n(0),l=n(7),s=n(49),u=n(50),c=n(22),d=n(51),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={data:[]},t.ref=null,t.htmlProps=null,t.mainId="tabulator-"+ +new Date+"-"+Math.floor(9999999*Math.random()),t.table=null,t.pickValidHTMLProps=function(){t.htmlProps||(t.htmlProps=s.pickHTMLProps(t.props),delete t.htmlProps.data,delete t.htmlProps.columns)},t}return r(t,e),t.prototype.componentDidMount=function(){var e=l.findDOMNode(this.ref),t=this,n=this.props,o=n.columns,r=n.data,a=n.options,s=u.propsToOptions(this.props);new d(e,i({columns:o},s,{layout:"fitColumns",tableBuilding:function(){t.table=this,t.props.tableBuilding&&t.props.tableBuilding()},dataLoaded:function(){t.props.dataLoaded&&t.props.dataLoaded()}},a,{data:r})),r&&r.length>0&&this.setState({data:r})},t.prototype.componentWillUnmount=function(){this.table.destroy()},t.prototype.componentWillReceiveProps=function(e){var t=this;c.isSameArray(this.state.data,e.data)||this.setState({data:e.data},function(){t.table.setData(t.state.data)})},t.prototype.render=function(){var e=this;this.pickValidHTMLProps();var t=this.props.className;return a.createElement("div",i({ref:function(t){return e.ref=t},"data-instance":this.mainId},this.htmlProps,{className:t}))},t}(a.Component);t.default=p},function(e,t,n){"use strict";var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var a=n(0),l=n(48),s=n(112),u=n(113),c=n(118);var d=[{title:"Name",field:"name",width:150},{title:"Age",field:"age",align:"left",formatter:"progress"},{title:"Favourite Color",field:"color"},{title:"Date Of Birth",field:"dob"},{title:"Rating",field:"rating",align:"center",formatter:"star"},{title:"Passed?",field:"passed",align:"center",formatter:"tickCross"},{title:"Custom",field:"custom",align:"center",formatter:n(22).reactFormatter(a.createElement(function(e){var t=e.cell._cell.row.data;return a.createElement("button",{onClick:function(){return alert(t.name)}},"Show")},null))}],p=[{id:1,name:"Oli Bob",age:"12",color:"red",dob:"01/01/1980",rating:5,passed:!0,pets:["cat","dog"]},{id:2,name:"Mary May",age:"1",color:"green",dob:"12/05/1989",rating:4,passed:!0,pets:["cat"]},{id:3,name:"Christine Lobowski",age:"42",color:"green",dob:"10/05/1985",rating:4,passed:!1},{id:4,name:"Brendon Philips",age:"125",color:"red",dob:"01/08/1980",rating:4.5,passed:!0},{id:5,name:"Margret Marmajuke",age:"16",color:"yellow",dob:"07/01/1999",rating:4,passed:!1},{id:6,name:"Van Ng",age:"37",color:"green",dob:"06/10/1982",rating:4,passed:!0,pets:["dog","fish"]},{id:7,name:"Duc Ng",age:"37",color:"yellow",dob:"10/10/1982",rating:4,passed:!0,pets:["dog"]}],f=((r={})[""]="&nbsp;",r.red="red",r.green="green",r.yellow="yellow",r),m=[{title:"Name",field:"name",width:150,editor:"input",headerFilter:"input"},{title:"Age",field:"age",align:"left",formatter:"progress",editor:"progress"},{title:"Favourite Color",field:"color",editor:"select",editorParams:{allowEmpty:!0,showListOnEmpty:!0,values:f},headerFilter:"select",headerFilterParams:{values:f}},{title:"Date Of Birth",field:"dob",editor:s.default,editorParams:{format:"MM/dd/yyyy"}},{title:"Pets",field:"pets",editor:u.default,editorParams:{values:[{id:"cat",name:"cat"},{id:"dog",name:"dog"},{id:"fish",name:"fish"}]},formatter:c.default,formatterParams:{style:"PILL"}},{title:"Passed?",field:"passed",align:"center",formatter:"tickCross",editor:!0}],h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={data:[]},t.ref=null,t.rowClick=function(e,n){console.log("ref table: ",t.ref.table),console.log("rowClick id: ${row.getData().id}",n,e)},t.setData=function(){t.setState({data:p})},t.clearData=function(){t.setState({data:[]})},t}return i(t,e),t.prototype.render=function(){var e=this;return a.createElement("div",null,a.createElement(l.default,{ref:function(t){return e.ref=t},columns:d,data:p,rowClick:this.rowClick,options:{height:150,movableRows:!0},"data-custom-attr":"test-custom-attribute",className:"custom-css-class"}),a.createElement("h3",null,"Asynchronous data: (e.g. fetch) - ",a.createElement("button",{onClick:this.setData},"Set Data")," ",a.createElement("button",{onClick:this.clearData},"Clear")),a.createElement(l.default,{columns:d,data:this.state.data}),a.createElement("h3",null,"Editable Table"),a.createElement(l.default,{columns:m,data:p,cellEdited:function(e){return console.log("cellEdited",e)},dataEdited:function(e){return console.log("dataEdited",e)},footerElement:a.createElement("span",null,"Footer")}),a.createElement("p",null,a.createElement("a",{href:"https://github.com/ngduc/react-tabulator",target:"_blank"},"Back to: Github Repo: react-tabulator")),a.createElement("p",null,a.createElement("a",{href:"http://tabulator.info/examples/4.0",target:"_blank"},"More Tabulator's Examples")))},t}(a.Component);t.default=h},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var i=n(0),a=n(7),l=n(120),s={width:"100%",height:"100%",fontSize:"1em",fontFamily:"inherit"},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={value:""},t.ref=null,t.format=t.props.editorParams.format||"MM/dd/yyyy",t.setValueOnSuccess=function(e){void 0===e&&(e=t.state.value);var n=t.props.success,o=e;o.indexOf("-")>0&&(o=l.format(e,t.format)),n(o)},t.onChange=function(e){var n=e.target.value;t.setState({value:n})},t.onKeyPress=function(e){var n=t.props.cancel;13===e.keyCode?t.setValueOnSuccess():27===e.keyCode&&n()},t.onBlur=function(){t.setValueOnSuccess()},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this;this.props.onRendered(function(){var t=e.props.cell.getValue();e.setState({value:t}),e.ref.focus()})},t.prototype.render=function(){var e=this,t=this.props.cell,n=l.parse(t.getValue(),this.format,new Date,{awareOfUnicodeTokens:!0}),o=l.format(n,"yyyy-MM-dd");return i.createElement("input",{type:"date",ref:function(t){return e.ref=t},defaultValue:o,onBlur:this.onBlur,onChange:this.onChange,onKeyUp:this.onKeyPress,style:s})},t}(i.Component);t.default=function(e,t,n,o,r){var l=document.createElement("div");return l.style.height="100%",a.render(i.createElement(u,{cell:e,onRendered:t,success:n,cancel:o,editorParams:r}),l),l}},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var i=n(0),a=n(7),l=n(22),s=n(114),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={value:"",values:[],autofocus:!1},t.ref=null,t.setValueOnSuccess=function(e){void 0===e&&(e=t.state.values);var n=t.props,o=n.success;n.cancel;o(e)},t.handleDelete=function(e){var n=t.state.values.filter(function(t,n){return n!==e});t.setState({values:n},function(){t.setValueOnSuccess(n)})},t.handleAddition=function(e){var n=t.state.values;e.name&&(n.push({id:e.name,name:e.name}),t.setState({values:n},function(){t.setValueOnSuccess(n)}))},t.handleBlur=function(){var e=t.props.cancel,n=t.ref.input.input.value;if(n){var o=l.clone(t.state.values);o.push({id:n,name:n}),t.setValueOnSuccess(o)}else e();var r=a.findDOMNode(t.ref);r&&r.parentElement.parentElement.parentElement&&(r.parentElement.parentElement.parentElement.style.overflow="hidden")},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this;this.props.onRendered(function(){var t=a.findDOMNode(e.ref);t.style.zIndex=1,t.parentElement.parentElement.parentElement.style.overflow="inherit",t.querySelector("input").focus();var n=(e.props.cell.getValue()||[]).map(function(e){return"string"==typeof e?{id:e,name:e}:e});e.setState({values:n})})},t.prototype.render=function(){var e=this,t=this.props.editorParams,n=this.state.values,o=t.values;return i.createElement("div",null,i.createElement(s,{ref:function(t){return e.ref=t},placeholder:"Select or Type",tags:n,suggestions:o,allowNew:!0,autoresize:!0,autofocus:this.state.autofocus,handleAddition:this.handleAddition,handleDelete:this.handleDelete,handleBlur:this.handleBlur,minQueryLength:0}))},t}(i.Component);t.default=function(e,t,n,o,r){var l=document.createElement("div");return l.style.height="100%",a.render(i.createElement(u,{cell:e,onRendered:t,success:n,cancel:o,editorParams:r}),l),l}},function(e,t,n){"use strict";var o=n(0),r=n(4),i=n(115),a=n(116),l=n(117),s=13,u=9,c=8,d=38,p=40,f={root:"react-tags",rootFocused:"is-focused",selected:"react-tags__selected",selectedTag:"react-tags__selected-tag",selectedTagName:"react-tags__selected-tag-name",search:"react-tags__search",searchInput:"react-tags__search-input",suggestions:"react-tags__suggestions",suggestionActive:"is-active",suggestionDisabled:"is-disabled"},m=function(e){function t(t){e.call(this,t),this.state={query:"",focused:!1,expandable:!1,selectedIndex:-1,classNames:Object.assign({},f,this.props.classNames)},this.inputEventHandlers={onChange:function(){},onBlur:this.handleBlur.bind(this),onFocus:this.handleFocus.bind(this),onInput:this.handleInput.bind(this),onKeyDown:this.handleKeyDown.bind(this)}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentWillReceiveProps=function(e){this.setState({classNames:Object.assign({},f,e.classNames)})},t.prototype.handleInput=function(e){var t=e.target.value;this.props.handleInputChange&&this.props.handleInputChange(t),this.setState({query:t})},t.prototype.handleKeyDown=function(e){var t=this.state,n=t.query,o=t.selectedIndex,r=this.props,i=r.delimiters,a=r.delimiterChars;(i.indexOf(e.keyCode)>-1||a.indexOf(e.key)>-1)&&((n||o>-1)&&e.preventDefault(),this.handleDelimiter()),e.keyCode===c&&0===n.length&&this.props.allowBackspace&&this.deleteTag(this.props.tags.length-1),e.keyCode===d&&(e.preventDefault(),o<=0?this.setState({selectedIndex:this.suggestions.state.options.length-1}):this.setState({selectedIndex:o-1})),e.keyCode===p&&(e.preventDefault(),this.setState({selectedIndex:(o+1)%this.suggestions.state.options.length}))},t.prototype.handleDelimiter=function(){var e=this.state,t=e.query,n=e.selectedIndex;if(t.length>=this.props.minQueryLength){var o=this.suggestions.state.options.findIndex(function(e){return 0===e.name.search(new RegExp("^"+t+"$","i"))}),r=-1===n?o:n;r>-1?this.addTag(this.suggestions.state.options[r]):this.props.allowNew&&this.addTag({name:t})}},t.prototype.handleClick=function(e){document.activeElement!==e.target&&this.input.input.focus()},t.prototype.handleBlur=function(){this.setState({focused:!1,selectedIndex:-1}),this.props.handleBlur&&this.props.handleBlur(),this.props.addOnBlur&&this.handleDelimiter()},t.prototype.handleFocus=function(){this.setState({focused:!0}),this.props.handleFocus&&this.props.handleFocus()},t.prototype.addTag=function(e){e.disabled||("function"!=typeof this.props.handleValidate||this.props.handleValidate(e))&&(this.props.handleAddition(e),this.setState({query:"",selectedIndex:-1}))},t.prototype.deleteTag=function(e){this.props.handleDelete(e),this.props.clearInputOnDelete&&""!==this.state.query&&this.setState({query:""})},t.prototype.render=function(){var e=this,t=this.props.tagComponent||i,n=this.props.tags.map(function(n,r){return o.createElement(t,{key:r,tag:n,classNames:e.state.classNames,onDelete:e.deleteTag.bind(e,r)})}),r=this.state.focused&&this.state.query.length>=this.props.minQueryLength,s=[this.state.classNames.root];return this.state.focused&&s.push(this.state.classNames.rootFocused),o.createElement("div",{className:s.join(" "),onClick:this.handleClick.bind(this)},o.createElement("div",{className:this.state.classNames.selected,"aria-live":"polite","aria-relevant":"additions removals"},n),o.createElement("div",{className:this.state.classNames.search},o.createElement(a,Object.assign({},this.state,{inputAttributes:this.props.inputAttributes,inputEventHandlers:this.inputEventHandlers,ref:function(t){e.input=t},listboxId:"ReactTags-listbox",autofocus:this.props.autofocus,autoresize:this.props.autoresize,expandable:r,placeholder:this.props.placeholder})),o.createElement(l,Object.assign({},this.state,{ref:function(t){e.suggestions=t},listboxId:"ReactTags-listbox",expandable:r,suggestions:this.props.suggestions,suggestionsFilter:this.props.suggestionsFilter,addTag:this.addTag.bind(this),maxSuggestionsLength:this.props.maxSuggestionsLength}))))},t}(o.Component);m.defaultProps={tags:[],placeholder:"Add new tag",suggestions:[],suggestionsFilter:null,autofocus:!0,autoresize:!0,delimiters:[u,s],delimiterChars:[],minQueryLength:2,maxSuggestionsLength:6,allowNew:!1,allowBackspace:!0,tagComponent:null,inputAttributes:{},addOnBlur:!1,clearInputOnDelete:!0},m.propTypes={tags:r.arrayOf(r.object),placeholder:r.string,suggestions:r.arrayOf(r.object),suggestionsFilter:r.func,autofocus:r.bool,autoresize:r.bool,delimiters:r.arrayOf(r.number),delimiterChars:r.arrayOf(r.string),handleDelete:r.func.isRequired,handleAddition:r.func.isRequired,handleInputChange:r.func,handleFocus:r.func,handleBlur:r.func,handleValidate:r.func,minQueryLength:r.number,maxSuggestionsLength:r.number,classNames:r.object,allowNew:r.bool,allowBackspace:r.bool,tagComponent:r.oneOfType([r.func,r.element]),inputAttributes:r.object,addOnBlur:r.bool,clearInputOnDelete:r.bool},e.exports=m},function(e,t,n){"use strict";var o=n(0);e.exports=function(e){return o.createElement("button",{type:"button",className:e.classNames.selectedTag,title:"Click to remove tag",onClick:e.onDelete},o.createElement("span",{className:e.classNames.selectedTagName},e.tag.name))}},function(e,t,n){"use strict";var o=n(0),r={position:"absolute",width:0,height:0,visibility:"hidden",overflow:"scroll",whiteSpace:"pre"},i=["fontSize","fontFamily","fontWeight","fontStyle","letterSpacing"],a=function(e){function t(t){e.call(this,t),this.state={inputWidth:null}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){this.props.autoresize&&(this.copyInputStyles(),this.updateInputWidth()),this.props.autofocus&&this.input.focus()},t.prototype.componentDidUpdate=function(){this.updateInputWidth()},t.prototype.copyInputStyles=function(){var e=this,t=window.getComputedStyle(this.input);i.forEach(function(n){e.sizer.style[n]=t[n]})},t.prototype.updateInputWidth=function(){var e;this.props.autoresize&&(e=Math.ceil(this.sizer.scrollWidth)+2),e!==this.state.inputWidth&&this.setState({inputWidth:e})},t.prototype.render=function(){var e=this,t=this.props,n=t.inputAttributes,i=t.inputEventHandlers,a=t.query,l=t.placeholder,s=t.expandable,u=t.listboxId,c=t.selectedIndex;return o.createElement("div",{className:this.props.classNames.searchInput},o.createElement("input",Object.assign({},n,i,{ref:function(t){e.input=t},value:a,placeholder:l,role:"combobox","aria-autocomplete":"list","aria-label":l,"aria-owns":u,"aria-activedescendant":c>-1?u+"-"+c:null,"aria-expanded":s,style:{width:this.state.inputWidth}})),o.createElement("div",{ref:function(t){e.sizer=t},style:r},a||l))},t}(o.Component);e.exports=a},function(e,t,n){"use strict";var o=n(0);function r(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function i(e,t){if(t){var n=RegExp(r(t),"gi");e=e.replace(n,"<mark>$&</mark>")}return{__html:e}}function a(e,t,n,o){if(!o){var i=new RegExp("(?:^|\\s)"+r(e),"i");o=function(e){return i.test(e.name)}}return t.filter(function(t){return o(t,e)}).slice(0,n)}var l=function(e){function t(t){e.call(this,t),this.state={options:a(this.props.query,this.props.suggestions,this.props.maxSuggestionsLength,this.props.suggestionsFilter)}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentWillReceiveProps=function(e){this.setState({options:a(e.query,e.suggestions,e.maxSuggestionsLength,e.suggestionsFilter)})},t.prototype.handleMouseDown=function(e,t){t.preventDefault(),this.props.addTag(e)},t.prototype.render=function(){var e=this;if(!this.props.expandable||!this.state.options.length)return null;var t=this.state.options.map(function(t,n){var r=e.props.listboxId+"-"+n,a=[];return e.props.selectedIndex===n&&a.push(e.props.classNames.suggestionActive),t.disabled&&a.push(e.props.classNames.suggestionDisabled),o.createElement("li",{id:r,key:r,role:"option",className:a.join(" "),"aria-disabled":!0===t.disabled,onMouseDown:e.handleMouseDown.bind(e,t)},o.createElement("span",{dangerouslySetInnerHTML:i(t.name,e.props.query)}))});return o.createElement("div",{className:this.props.classNames.suggestions},o.createElement("ul",{role:"listbox",id:this.props.listboxId},t))},t}(o.Component);e.exports=l},function(e,t,n){"use strict";t.__esModule=!0;var o=n(0),r=n(7),i=function(){var e=document.createElement("div");return e.style.height="100%",e};t.default=function(e,t,n){var a=t.style||"",l=e.getValue()||[],s=l&&l.length>0&&"string"==typeof l[0]?o.createElement("span",null,l.join(", ")):o.createElement("span",null);"PILL"===a&&(s=o.createElement("div",null,l.map(function(e){return"string"==typeof e?o.createElement("span",{key:e},e):o.createElement("span",{key:e.name},e.name)})));var u=i();return u.className="multi-value-formatter-content",u.title=l&&l.length>0&&"string"==typeof l[0]?l.join(", "):"",r.render(s,u),u}},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";function o(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.r(t);var r=6e4;function i(e){var t=new Date(e.getTime()),n=t.getTimezoneOffset();t.setSeconds(0,0);var o=t.getTime()%r;return n*r+o}var a=36e5,l=6e4,s=2,u={dateTimeDelimeter:/[T ]/,plainTime:/:/,timeZoneDelimeter:/[Z ]/i,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function c(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},r=null==n.additionalDigits?s:o(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var c=function(e){var t,n={},o=e.split(u.dateTimeDelimeter);u.plainTime.test(o[0])?(n.date=null,t=o[0]):(n.date=o[0],t=o[1],u.timeZoneDelimeter.test(n.date)&&(n.date=e.split(u.timeZoneDelimeter)[0],t=e.substr(n.date.length,e.length)));if(t){var r=u.timezone.exec(t);r?(n.time=t.replace(r[1],""),n.timezone=r[1]):n.time=t}return n}(e),p=function(e,t){var n,o=u.YYY[t],r=u.YYYYY[t];if(n=u.YYYY.exec(e)||r.exec(e)){var i=n[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(n=u.YY.exec(e)||o.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(c.date,r),f=p.year,y=function(e,t){if(null===t)return null;var n,o,r,i;if(0===e.length)return(o=new Date(0)).setUTCFullYear(t),o;if(n=u.MM.exec(e))return o=new Date(0),r=parseInt(n[1],10)-1,h(t,r)?(o.setUTCFullYear(t,r),o):new Date(NaN);if(n=u.DDD.exec(e)){o=new Date(0);var a=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=m(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,a)?(o.setUTCFullYear(t,0,a),o):new Date(NaN)}if(n=u.MMDD.exec(e)){o=new Date(0),r=parseInt(n[1],10)-1;var l=parseInt(n[2],10);return h(t,r,l)?(o.setUTCFullYear(t,r,l),o):new Date(NaN)}if(n=u.Www.exec(e))return i=parseInt(n[1],10)-1,g(t,i)?d(t,i):new Date(NaN);if(n=u.WwwD.exec(e)){i=parseInt(n[1],10)-1;var s=parseInt(n[2],10)-1;return g(t,i,s)?d(t,i,s):new Date(NaN)}return null}(p.restDateString,f);if(isNaN(y))return new Date(NaN);if(y){var w,x=y.getTime(),E=0;if(c.time&&(E=function(e){var t,n,o;if(t=u.HH.exec(e))return b(n=parseFloat(t[1].replace(",",".")))?n%24*a:NaN;if(t=u.HHMM.exec(e))return n=parseInt(t[1],10),o=parseFloat(t[2].replace(",",".")),b(n,o)?n%24*a+o*l:NaN;if(t=u.HHMMSS.exec(e)){n=parseInt(t[1],10),o=parseInt(t[2],10);var r=parseFloat(t[3].replace(",","."));return b(n,o,r)?n%24*a+o*l+1e3*r:NaN}return null}(c.time),isNaN(E)))return new Date(NaN);if(c.timezone){if(w=function(e){var t,n,o;if(t=u.timezoneZ.exec(e))return 0;if(t=u.timezoneHH.exec(e))return v(o=parseInt(t[2],10))?(n=o*a,"+"===t[1]?-n:n):NaN;if(t=u.timezoneHHMM.exec(e)){o=parseInt(t[2],10);var r=parseInt(t[3],10);return v(o,r)?(n=o*a+r*l,"+"===t[1]?-n:n):NaN}return 0}(c.timezone),isNaN(w))return new Date(NaN)}else w=i(new Date(x+E)),w=i(new Date(x+E+w));return new Date(x+E+w)}return new Date(NaN)}function d(e,t,n){t=t||0,n=n||0;var o=new Date(0);o.setUTCFullYear(e,0,4);var r=7*t+n+1-(o.getUTCDay()||7);return o.setUTCDate(o.getUTCDate()+r),o}var p=[31,28,31,30,31,30,31,31,30,31,30,31],f=[31,29,31,30,31,30,31,31,30,31,30,31];function m(e){return e%400==0||e%4==0&&e%100!=0}function h(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var o=m(e);if(o&&n>f[t])return!1;if(!o&&n>p[t])return!1}return!0}function g(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function b(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}function v(e,t){return null==t||!(t<0||t>59)}function y(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t);return r.setDate(r.getDate()+i),r}function w(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n).getTime(),i=o(t);return new Date(r+i)}var x=36e5;function E(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return w(e,o(t)*x,n)}function C(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:o(i),l=null==n.weekStartsOn?a:o(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=c(e,n),u=s.getDay(),d=(u<l?7:0)+u-l;return s.setDate(s.getDate()-d),s.setHours(0,0,0,0),s}function k(e){e=e||{};var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function T(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=k(t);return n.weekStartsOn=1,C(e,n)}function S(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getFullYear(),r=new Date(0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);var i=T(r,t),a=new Date(0);a.setFullYear(o,0,4),a.setHours(0,0,0,0);var l=T(a,t);return n.getTime()>=i.getTime()?o+1:n.getTime()>=l.getTime()?o:o-1}function D(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=S(e,t),o=new Date(0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),T(o,t)}function R(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return n.setHours(0,0,0,0),n}var M=864e5;function O(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=R(e,n),r=R(t,n),a=o.getTime()-i(o),l=r.getTime()-i(r);return Math.round((a-l)/M)}function P(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t),a=O(r,D(r,n),n),l=new Date(0);return l.setFullYear(i,0,4),l.setHours(0,0,0,0),(r=D(l,n)).setDate(r.getDate()+a),r}function N(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=o(t);return P(e,S(e,n)+r,n)}var _=6e4;function L(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return w(e,o(t)*_,n)}function A(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getFullYear(),r=n.getMonth(),i=new Date(0);return i.setFullYear(o,r+1,0),i.setHours(0,0,0,0),i.getDate()}function I(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t),a=r.getMonth()+i,l=new Date(0);l.setFullYear(r.getFullYear(),a,1),l.setHours(0,0,0,0);var s=A(l,n);return r.setMonth(a,Math.min(s,r.getDate())),r}function z(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return I(e,3*o(t),n)}function F(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return w(e,1e3*o(t),n)}function j(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return y(e,7*o(t),n)}function H(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return I(e,12*o(t),n)}function U(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=e||{},r=t||{},i=c(o.start,n).getTime(),a=c(o.end,n).getTime(),l=c(r.start,n).getTime(),s=c(r.end,n).getTime();if(!(i<=a&&l<=s))throw new RangeError("Invalid interval");return i<s&&l<a}function B(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n);if(isNaN(o))return NaN;var r,i,a=o.getTime();return(null==t?[]:"function"==typeof t.forEach?t:Array.prototype.slice.call(t)).forEach(function(e,t){var o=c(e,n);if(isNaN(o))return r=NaN,void(i=NaN);var l=Math.abs(a-o.getTime());(null==r||l<i)&&(r=t,i=l)}),r}function W(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n);if(isNaN(o))return new Date(NaN);var r,i,a=o.getTime();return(null==t?[]:"function"==typeof t.forEach?t:Array.prototype.slice.call(t)).forEach(function(e){var t=c(e,n);if(isNaN(t))return r=new Date(NaN),void(i=NaN);var o=Math.abs(a-t.getTime());(null==r||o<i)&&(r=t,i=o)}),r}function G(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n),i=o.getTime()-r.getTime();return i<0?-1:i>0?1:i}function q(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n),i=o.getTime()-r.getTime();return i>0?-1:i<0?1:i}function V(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return S(e,n)-S(t,n)}var Y=6048e5;function X(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=T(e,n),r=T(t,n),a=o.getTime()-i(o),l=r.getTime()-i(r);return Math.round((a-l)/Y)}function K(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n);return 12*(o.getFullYear()-r.getFullYear())+(o.getMonth()-r.getMonth())}function $(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return Math.floor(n.getMonth()/3)+1}function Q(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n);return 4*(o.getFullYear()-r.getFullYear())+($(o,n)-$(r,n))}var J=6048e5;function Z(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=C(e,n),r=C(t,n),a=o.getTime()-i(o),l=r.getTime()-i(r);return Math.round((a-l)/J)}function ee(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n);return o.getFullYear()-r.getFullYear()}function te(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n),i=G(o,r,n),a=Math.abs(O(o,r,n));o.setDate(o.getDate()-i*a);var l=i*(a-(G(o,r,n)===-i));return 0===l?0:l}function ne(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n);return o.getTime()-r.getTime()}var oe=36e5;function re(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=ne(e,t,n)/oe;return o>0?Math.floor(o):Math.ceil(o)}function ie(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return N(e,-o(t),n)}function ae(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n),i=G(o,r,n),a=Math.abs(V(o,r,n)),l=i*(a-(G(o=ie(o,i*a,n),r,n)===-i));return 0===l?0:l}var le=6e4;function se(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=ne(e,t,n)/le;return o>0?Math.floor(o):Math.ceil(o)}function ue(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n),i=G(o,r,n),a=Math.abs(K(o,r,n));o.setMonth(o.getMonth()-i*a);var l=i*(a-(G(o,r,n)===-i));return 0===l?0:l}function ce(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=ue(e,t,n)/3;return o>0?Math.floor(o):Math.ceil(o)}function de(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=ne(e,t,n)/1e3;return o>0?Math.floor(o):Math.ceil(o)}function pe(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=te(e,t,n)/7;return o>0?Math.floor(o):Math.ceil(o)}function fe(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n),i=G(o,r,n),a=Math.abs(ee(o,r,n));o.setFullYear(o.getFullYear()-i*a);var l=i*(a-(G(o,r,n)===-i));return 0===l?0:l}function me(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=e||{},o=c(n.start,t),r=c(n.end,t).getTime();if(!(o.getTime()<=r))throw new RangeError("Invalid interval");var i=[],a=o;for(a.setHours(0,0,0,0);a.getTime()<=r;)i.push(c(a,t)),a.setDate(a.getDate()+1);return i}function he(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=e||{},o=c(n.start,t),r=c(n.end,t),i=r.getTime();if(!(o.getTime()<=i))throw new RangeError("Invalid interval");var a=C(o,t),l=C(r,t);a.setHours(15),l.setHours(15),i=l.getTime();for(var s=[],u=a;u.getTime()<=i;)u.setHours(0),s.push(c(u,t)),(u=j(u,1)).setHours(15);return s}function ge(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return 0===c(e,t).getDay()}function be(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t).getDay();return 0===n||6===n}function ve(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:o(i),l=null==n.weekStartsOn?a:o(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=e||{},u=c(s.start,t),d=c(s.end,t).getTime();if(!(u.getTime()<=d))throw new RangeError("Invalid interval");for(var p=me(s),f=[],m=0;m++<p.length;){var h=p[m];be(h)&&(f.push(new Date(h)),ge(h)&&(m+=5))}return f}function ye(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return n.setDate(1),n.setHours(0,0,0,0),n}function we(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getMonth();return n.setFullYear(n.getFullYear(),o+1,0),n.setHours(23,59,59,999),n}function xe(e,t){if(arguments.length<1)throw new TypeError("1 arguments required, but only "+arguments.length+" present");return ve({start:ye(e,t),end:we(e,t)})}function Ee(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=new Date(0);return o.setFullYear(n.getFullYear(),0,1),o.setHours(0,0,0,0),o}function Ce(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getFullYear();return n.setFullYear(o+1,0,0),n.setHours(23,59,59,999),n}function ke(e,t){if(arguments.length<1)throw new TypeError("1 arguments required, but only "+arguments.length+" present");return ve({start:Ee(e,t),end:Ce(e,t)})}function Te(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return n.setHours(23,59,59,999),n}function Se(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getFullYear(),r=9+10*Math.floor(o/10);return n.setFullYear(r,11,31),n.setHours(23,59,59,999),n}function De(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return n.setMinutes(59,59,999),n}function Re(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:o(i),l=null==n.weekStartsOn?a:o(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=c(e,n),u=s.getDay(),d=6+(u<l?-7:0)-(u-l);return s.setDate(s.getDate()+d),s.setHours(23,59,59,999),s}function Me(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=k(t);return n.weekStartsOn=1,Re(e,n)}function Oe(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=S(e,t),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var r=T(o,t);return r.setMilliseconds(r.getMilliseconds()-1),r}function Pe(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return n.setSeconds(59,999),n}function Ne(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getMonth(),r=o-o%3+3;return n.setMonth(r,0),n.setHours(23,59,59,999),n}function _e(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return n.setMilliseconds(999),n}function Le(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return!isNaN(n)}var Ae={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Ie(e){return function(t){var n=t||{},o=n.width?String(n.width):e.defaultWidth;return e.formats[o]||e.formats[e.defaultWidth]}}var ze={date:Ie({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Ie({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Ie({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Fe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function je(e){return function(t,n){var o=n||{},r=o.width?String(o.width):e.defaultWidth;return("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues?e.formattingValues[r]||e.formattingValues[e.defaultFormattingWidth]:e.values[r]||e.values[e.defaultWidth])[e.argumentCallback?e.argumentCallback(t):t]}}function He(e){return function(t,n){var o=String(t),r=n||{},i=r.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],l=o.match(a);if(!l)return null;var s,u=l[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth];return s="[object Array]"===Object.prototype.toString.call(c)?c.findIndex(function(e){return e.test(o)}):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(c,function(e){return e.test(o)}),s=e.valueCallback?e.valueCallback(s):s,{value:s=r.valueCallback?r.valueCallback(s):s,rest:o.slice(u.length)}}}var Ue,Be={formatDistance:function(e,t,n){var o;return n=n||{},o="string"==typeof Ae[e]?Ae[e]:1===t?Ae[e].one:Ae[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+o:o+" ago":o},formatLong:ze,formatRelative:function(e,t,n,o){return Fe[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:je({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:je({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:je({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:je({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:je({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaulFormattingWidth:"wide"})},match:{ordinalNumber:(Ue={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),o=t||{},r=n.match(Ue.matchPattern);if(!r)return null;var i=r[0],a=n.match(Ue.parsePattern);if(!a)return null;var l=Ue.valueCallback?Ue.valueCallback(a[0]):a[0];return{value:l=o.valueCallback?o.valueCallback(l):l,rest:n.slice(i.length)}}),era:He({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:He({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:He({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:He({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:He({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},We=864e5;function Ge(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getUTCDay(),r=(o<1?7:0)+o-1;return n.setUTCDate(n.getUTCDate()-r),n.setUTCHours(0,0,0,0),n}function qe(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(o+1,0,4),r.setUTCHours(0,0,0,0);var i=Ge(r,t),a=new Date(0);a.setUTCFullYear(o,0,4),a.setUTCHours(0,0,0,0);var l=Ge(a,t);return n.getTime()>=i.getTime()?o+1:n.getTime()>=l.getTime()?o:o-1}var Ve=6048e5;function Ye(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=Ge(n,t).getTime()-function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=qe(e,t),o=new Date(0);return o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0),Ge(o,t)}(n,t).getTime();return Math.round(o/Ve)+1}function Xe(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:o(i),l=null==n.weekStartsOn?a:o(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=c(e,n),u=s.getUTCDay(),d=(u<l?7:0)+u-l;return s.setUTCDate(s.getUTCDate()-d),s.setUTCHours(0,0,0,0),s}function Ke(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),r=n.getUTCFullYear(),i=t||{},a=i.locale,l=a&&a.options&&a.options.firstWeekContainsDate,s=null==l?1:o(l),u=null==i.firstWeekContainsDate?s:o(i.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setUTCFullYear(r+1,0,u),d.setUTCHours(0,0,0,0);var p=Xe(d,t),f=new Date(0);f.setUTCFullYear(r,0,u),f.setUTCHours(0,0,0,0);var m=Xe(f,t);return n.getTime()>=p.getTime()?r+1:n.getTime()>=m.getTime()?r:r-1}var $e=6048e5;function Qe(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),r=Xe(n,t).getTime()-function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.firstWeekContainsDate,a=null==i?1:o(i),l=null==n.firstWeekContainsDate?a:o(n.firstWeekContainsDate),s=Ke(e,t),u=new Date(0);return u.setUTCFullYear(s,0,l),u.setUTCHours(0,0,0,0),Xe(u,t)}(n,t).getTime();return Math.round(r/$e)+1}var Je="midnight",Ze="noon",et="morning",tt="afternoon",nt="evening",ot="night";function rt(e,t){for(var n=e<0?"-":"",o=Math.abs(e).toString();o.length<t;)o="0"+o;return n+o}function it(e,t){var n=t||"",o=e>0?"-":"+",r=Math.abs(e);return o+rt(Math.floor(r/60),2)+n+rt(r%60,2)}function at(e,t){return e%60==0?(e>0?"-":"+")+rt(Math.abs(e)/60,2):it(e,t)}function lt(e,t){var n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),i=o%60;if(0===i)return n+String(r);var a=t||"";return n+String(r)+a+rt(i,2)}var st={G:function(e,t,n){var o=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(e,t,n,o){var r=e.getUTCFullYear(),i=r>0?r:1-r;return"yy"===t?rt(i%100,2):"yo"===t?n.ordinalNumber(i,{unit:"year"}):rt(i,t.length)},Y:function(e,t,n,o){var r=Ke(e,o),i=r>0?r:1-r;return"YY"===t?rt(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):rt(i,t.length)},R:function(e,t,n,o){return rt(qe(e,o),t.length)},u:function(e,t,n,o){return rt(e.getUTCFullYear(),t.length)},Q:function(e,t,n,o){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return rt(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n,o){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return rt(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n,o){var r=e.getUTCMonth();switch(t){case"M":return String(r+1);case"MM":return rt(r+1,2);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n,o){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return rt(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){var r=Qe(e,o);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):rt(r,t.length)},I:function(e,t,n,o){var r=Ye(e,o);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):rt(r,t.length)},d:function(e,t,n,o){var r=e.getUTCDate();return"do"===t?n.ordinalNumber(r,{unit:"date"}):rt(r,t.length)},D:function(e,t,n,o){var r=function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var r=o-n.getTime();return Math.floor(r/We)+1}(e,o);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):rt(r,t.length)},E:function(e,t,n,o){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){var r=e.getUTCDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return rt(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){var r=e.getUTCDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return rt(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n,o){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return rt(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var o=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){var o,r=e.getUTCHours();switch(o=12===r?Ze:0===r?Je:r/12>=1?"pm":"am",t){case"b":case"bb":case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){var o,r=e.getUTCHours();switch(o=r>=17?nt:r>=12?tt:r>=4?et:ot,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n,o){var r=e.getUTCHours()%12;return 0===r&&(r=12),"ho"===t?n.ordinalNumber(r,{unit:"hour"}):rt(r,t.length)},H:function(e,t,n,o){var r=e.getUTCHours();return"Ho"===t?n.ordinalNumber(r,{unit:"hour"}):rt(r,t.length)},K:function(e,t,n,o){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):rt(r,t.length)},k:function(e,t,n,o){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):rt(r,t.length)},m:function(e,t,n,o){var r=e.getUTCMinutes();return"mo"===t?n.ordinalNumber(r,{unit:"minute"}):rt(r,t.length)},s:function(e,t,n,o){var r=e.getUTCSeconds();return"so"===t?n.ordinalNumber(r,{unit:"second"}):rt(r,t.length)},S:function(e,t,n,o){var r=t.length,i=e.getUTCMilliseconds();return rt(Math.floor(i*Math.pow(10,r-3)),r)},X:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return at(r);case"XXXX":case"XX":return it(r);case"XXXXX":case"XXX":default:return it(r,":")}},x:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"x":return at(r);case"xxxx":case"xx":return it(r);case"xxxxx":case"xxx":default:return it(r,":")}},O:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+lt(r,":");case"OOOO":default:return"GMT"+it(r,":")}},z:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+lt(r,":");case"zzzz":default:return"GMT"+it(r,":")}},t:function(e,t,n,o){var r=o._originalDate||e;return rt(Math.floor(r.getTime()/1e3),t.length)},T:function(e,t,n,o){return rt((o._originalDate||e).getTime(),t.length)}};function ut(e,t,n){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function ct(e,t,n){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}var dt={p:ct,P:function(e,t,n){var o,r=e.match(/(P+)(p+)?/),i=r[1],a=r[2];if(!a)return ut(e,t);switch(i){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",ut(i,t)).replace("{{time}}",ct(a,t))}};function pt(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return w(e,-o(t),n)}var ft=["D","DD","YY","YYYY"];function mt(e){return-1!==ft.indexOf(e)}function ht(e){throw new RangeError("`options.awareOfUnicodeTokens` must be set to `true` to use `"+e+"` token; see: https://git.io/fxCyr")}var gt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,bt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,vt=/^'(.*?)'?$/,yt=/''/g;function wt(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=String(t),a=n||{},l=a.locale||Be,s=l.options&&l.options.firstWeekContainsDate,u=null==s?1:o(s),d=null==a.firstWeekContainsDate?u:o(a.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=l.options&&l.options.weekStartsOn,f=null==p?0:o(p),m=null==a.weekStartsOn?f:o(a.weekStartsOn);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!l.localize)throw new RangeError("locale must contain localize property");if(!l.formatLong)throw new RangeError("locale must contain formatLong property");var h=c(e,a);if(!Le(h,a))return"Invalid Date";var g=pt(h,i(h),a),b={firstWeekContainsDate:d,weekStartsOn:m,locale:l,_originalDate:h};return r.match(bt).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,dt[t])(e,l.formatLong,b):e}).join("").match(gt).map(function(e){if("''"===e)return"'";var t=e[0];if("'"===t)return e.match(vt)[1].replace(yt,"'");var n=st[t];return n?(!a.awareOfUnicodeTokens&&mt(e)&&ht(e),n(g,e,l.localize,b)):e}).join("")}var xt=1440,Et=2520,Ct=43200,kt=86400;function Tt(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=n||{},r=o.locale||Be;if(!r.formatDistance)throw new RangeError("locale must contain formatDistance property");var a=G(e,t,o);if(isNaN(a))return"Invalid Date";var l,s,u=k(o);u.addSuffix=Boolean(o.addSuffix),u.comparison=a,a>0?(l=c(t,o),s=c(e,o)):(l=c(e,o),s=c(t,o));var d,p=de(s,l,o),f=(i(s)-i(l))/1e3,m=Math.round((p-f)/60);if(m<2)return o.includeSeconds?p<5?r.formatDistance("lessThanXSeconds",5,u):p<10?r.formatDistance("lessThanXSeconds",10,u):p<20?r.formatDistance("lessThanXSeconds",20,u):p<40?r.formatDistance("halfAMinute",null,u):p<60?r.formatDistance("lessThanXMinutes",1,u):r.formatDistance("xMinutes",1,u):0===m?r.formatDistance("lessThanXMinutes",1,u):r.formatDistance("xMinutes",m,u);if(m<45)return r.formatDistance("xMinutes",m,u);if(m<90)return r.formatDistance("aboutXHours",1,u);if(m<xt){var h=Math.round(m/60);return r.formatDistance("aboutXHours",h,u)}if(m<Et)return r.formatDistance("xDays",1,u);if(m<Ct){var g=Math.round(m/xt);return r.formatDistance("xDays",g,u)}if(m<kt)return d=Math.round(m/Ct),r.formatDistance("aboutXMonths",d,u);if((d=ue(s,l,o))<12){var b=Math.round(m/Ct);return r.formatDistance("xMonths",b,u)}var v=d%12,y=Math.floor(d/12);return v<3?r.formatDistance("aboutXYears",y,u):v<9?r.formatDistance("overXYears",y,u):r.formatDistance("almostXYears",y+1,u)}var St=1440,Dt=43200,Rt=525600;function Mt(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=n||{},r=o.locale||Be;if(!r.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var a=G(e,t,o);if(isNaN(a))return"Invalid Date";var l,s,u=k(o);u.addSuffix=Boolean(o.addSuffix),u.comparison=a,a>0?(l=c(t,o),s=c(e,o)):(l=c(e,o),s=c(t,o));var d,p=null==o.roundingMethod?"round":String(o.roundingMethod);if("floor"===p)d=Math.floor;else if("ceil"===p)d=Math.ceil;else{if("round"!==p)throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");d=Math.round}var f,m=de(s,l,n),h=d((m-(i(s)-i(l))/1e3)/60);if("second"===(f=null==o.unit?h<1?"second":h<60?"minute":h<St?"hour":h<Dt?"day":h<Rt?"month":"year":String(o.unit)))return r.formatDistance("xSeconds",m,u);if("minute"===f)return r.formatDistance("xMinutes",h,u);if("hour"===f){var g=d(h/60);return r.formatDistance("xHours",g,u)}if("day"===f){var b=d(h/St);return r.formatDistance("xDays",b,u)}if("month"===f){var v=d(h/Dt);return r.formatDistance("xMonths",v,u)}if("year"===f){var y=d(h/Rt);return r.formatDistance("xYears",y,u)}throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}function Ot(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n),a=n||{},l=a.locale||Be;if(!l.localize)throw new RangeError("locale must contain localize property");if(!l.formatLong)throw new RangeError("locale must contain formatLong property");if(!l.formatRelative)throw new RangeError("locale must contain formatRelative property");var s,u=O(o,r,a);if(isNaN(u))return"Invalid Date";s=u<-6?"other":u<-1?"lastWeek":u<0?"yesterday":u<1?"today":u<2?"tomorrow":u<7?"nextWeek":"other";var d=pt(o,i(o),a),p=pt(r,i(r),a);return wt(o,l.formatRelative(s,d,p,a),a)}function Pt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(1e3*o(e),t)}function Nt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(e,t).getDate()}function _t(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(e,t).getDay()}function Lt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return O(n,Ee(n,t),t)+1}function At(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t).getFullYear();return n%400==0||n%4==0&&n%100!=0}function It(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return isNaN(n)?NaN:At(n,t)?366:365}function zt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t).getFullYear();return 10*Math.floor(n/10)}function Ft(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(e,t).getHours()}function jt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t).getDay();return 0===n&&(n=7),n}var Ht=6048e5;function Ut(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=T(n,t).getTime()-D(n,t).getTime();return Math.round(o/Ht)+1}var Bt=6048e5;function Wt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=D(e,t),o=D(j(n,60,t),t).valueOf()-n.valueOf();return Math.round(o/Bt)}function Gt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(e,t).getMilliseconds()}function qt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(e,t).getMinutes()}function Vt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(e,t).getMonth()}var Yt=864e5;function Xt(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=e||{},r=t||{},i=c(o.start,n).getTime(),a=c(o.end,n).getTime(),l=c(r.start,n).getTime(),s=c(r.end,n).getTime();if(!(i<=a&&l<=s))throw new RangeError("Invalid interval");if(!(i<s&&l<a))return 0;var u=(s>a?a:s)-(l<i?i:l);return Math.ceil(u/Yt)}function Kt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(e,t).getSeconds()}function $t(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(e,t).getTime()}function Qt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return Math.floor($t(e,t)/1e3)}function Jt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),r=n.getFullYear(),i=t||{},a=i.locale,l=a&&a.options&&a.options.firstWeekContainsDate,s=null==l?1:o(l),u=null==i.firstWeekContainsDate?s:o(i.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setFullYear(r+1,0,u),d.setHours(0,0,0,0);var p=C(d,t),f=new Date(0);f.setFullYear(r,0,u),f.setHours(0,0,0,0);var m=C(f,t);return n.getTime()>=p.getTime()?r+1:n.getTime()>=m.getTime()?r:r-1}function Zt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.firstWeekContainsDate,a=null==i?1:o(i),l=null==n.firstWeekContainsDate?a:o(n.firstWeekContainsDate),s=Jt(e,t),u=new Date(0);return u.setFullYear(s,0,l),u.setHours(0,0,0,0),C(u,t)}var en=6048e5;function tn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=C(n,t).getTime()-Zt(n,t).getTime();return Math.round(o/en)+1}function nn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:o(i),l=null==n.weekStartsOn?a:o(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=_t(ye(e,t),t),u=(s<l?7-l:s)>_t(e,t)?7-l:0;return Math.ceil((Nt(e,t)+u)/7)}function on(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getMonth();return n.setFullYear(n.getFullYear(),o+1,0),n.setHours(0,0,0,0),n}function rn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return Z(on(e,t),ye(e,t),t)+1}function an(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return c(e,t).getFullYear()}function ln(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n);return o.getTime()>r.getTime()}function sn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n);return o.getTime()<r.getTime()}function un(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function cn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n);return o.getTime()===r.getTime()}function dn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return 1===c(e,t).getDate()}function pn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return 5===c(e,t).getDay()}function fn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return Te(n,t).getTime()===we(n,t).getTime()}function mn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return 1===c(e,t).getDay()}function hn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=R(e,n),r=R(t,n);return o.getTime()===r.getTime()}function gn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return n.setMinutes(0,0,0),n}function bn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=gn(e,n),r=gn(t,n);return o.getTime()===r.getTime()}function vn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=C(e,n),r=C(t,n);return o.getTime()===r.getTime()}function yn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=k(n);return o.weekStartsOn=1,vn(e,t,o)}function wn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=D(e,n),r=D(t,n);return o.getTime()===r.getTime()}function xn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return n.setSeconds(0,0),n}function En(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=xn(e,n),r=xn(t,n);return o.getTime()===r.getTime()}function Cn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n);return o.getFullYear()===r.getFullYear()&&o.getMonth()===r.getMonth()}function kn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getMonth(),r=o-o%3;return n.setMonth(r,1),n.setHours(0,0,0,0),n}function Tn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=kn(e,n),r=kn(t,n);return o.getTime()===r.getTime()}function Sn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t);return n.setMilliseconds(0),n}function Dn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=Sn(e,n),r=Sn(t,n);return o.getTime()===r.getTime()}function Rn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=c(e,n),r=c(t,n);return o.getFullYear()===r.getFullYear()}function Mn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return 6===c(e,t).getDay()}function On(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return 4===c(e,t).getDay()}function Pn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return 2===c(e,t).getDay()}function Nn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return 3===c(e,t).getDay()}function _n(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var o=t||{},r=c(e,n).getTime(),i=c(o.start,n).getTime(),a=c(o.end,n).getTime();if(!(i<=a))throw new RangeError("Invalid interval");return r>=i&&r<=a}function Ln(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getFullYear(),r=9+10*Math.floor(o/10);return n.setFullYear(r+1,0,0),n.setHours(0,0,0,0),n}function An(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:o(i),l=null==n.weekStartsOn?a:o(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var s=c(e,t),u=s.getDay(),d=6+(u<l?-7:0)-(u-l);return s.setHours(0,0,0,0),s.setDate(s.getDate()+d),s}function In(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=k(t);return n.weekStartsOn=1,An(e,n)}function zn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=S(e,t),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var r=T(o,t);return r.setDate(r.getDate()-1),r}function Fn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getMonth(),r=o-o%3+3;return n.setMonth(r,0),n.setHours(0,0,0,0),n}function jn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getFullYear();return n.setFullYear(o+1,0,0),n.setHours(0,0,0,0),n}function Hn(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n;return(null==e?[]:"function"==typeof e.forEach?e:Array.prototype.slice.call(e)).forEach(function(e){var o=c(e,t);(void 0===n||n<o||isNaN(o))&&(n=o)}),n}function Un(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n;return(null==e?[]:"function"==typeof e.forEach?e:Array.prototype.slice.call(e)).forEach(function(e){var o=c(e,t);(void 0===n||n>o||isNaN(o))&&(n=o)}),n}function Bn(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=n||{},i=r.locale,a=i&&i.options&&i.options.weekStartsOn,l=null==a?0:o(a),s=null==r.weekStartsOn?l:o(r.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=c(e,n),d=o(t),p=((d%7+7)%7<s?7:0)+d-u.getUTCDay();return u.setUTCDate(u.getUTCDate()+p),u}var Wn=36e5,Gn=6e4,qn=1e3,Vn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Yn=/^([+-])(\d{2})(\d{2})?|Z/,Xn=/^([+-])(\d{2})(\d{2})|Z/,Kn=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,$n=/^([+-])(\d{2}):(\d{2})|Z/,Qn=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Jn(e,t,n){var o=t.match(e);if(!o)return null;var r=parseInt(o[0],10);return{value:n?n(r):r,rest:t.slice(o[0].length)}}function Zn(e,t){var n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};var o="+"===n[1]?1:-1,r=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:o*(r*Wn+i*Gn+a*qn),rest:t.slice(n[0].length)}}function eo(e,t){return Jn(Vn.anyDigitsSigned,e,t)}function to(e,t,n){switch(e){case 1:return Jn(Vn.singleDigit,t,n);case 2:return Jn(Vn.twoDigits,t,n);case 3:return Jn(Vn.threeDigits,t,n);case 4:return Jn(Vn.fourDigits,t,n);default:return Jn(new RegExp("^\\d{1,"+e+"}"),t,n)}}function no(e,t,n){switch(e){case 1:return Jn(Vn.singleDigitSigned,t,n);case 2:return Jn(Vn.twoDigitsSigned,t,n);case 3:return Jn(Vn.threeDigitsSigned,t,n);case 4:return Jn(Vn.fourDigitsSigned,t,n);default:return Jn(new RegExp("^-?\\d{1,"+e+"}"),t,n)}}function oo(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function ro(e,t){var n,o=t>0,r=o?t:1-t;if(r<=50)n=e||100;else{var i=r+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return o?n:1-n}var io=[31,28,31,30,31,30,31,31,30,31,30,31],ao=[31,29,31,30,31,30,31,31,30,31,30,31];function lo(e){return e%400==0||e%4==0&&e%100!=0}var so={G:{priority:140,parse:function(e,t,n,o){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n){return e.setUTCFullYear(1===t?10:-9,0,1),e.setUTCHours(0,0,0,0),e}},y:{priority:130,parse:function(e,t,n,o){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return to(4,e,r);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return to(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n){var o=Ke(e,n);if(t.isTwoDigitYear){var r=ro(t.year,o);return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}var i=o>0?t.year:1-t.year;return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}},Y:{priority:130,parse:function(e,t,n,o){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return to(4,e,r);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return to(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n){var o=e.getUTCFullYear();if(t.isTwoDigitYear){var r=ro(t.year,o);return e.setUTCFullYear(r,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Xe(e,n)}var i=o>0?t.year:1-t.year;return e.setUTCFullYear(i,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Xe(e,n)}},R:{priority:130,parse:function(e,t,n,o){return no("R"===t?4:t.length,e)},set:function(e,t,n){var o=new Date(0);return o.setUTCFullYear(t,0,4),o.setUTCHours(0,0,0,0),Ge(o)}},u:{priority:130,parse:function(e,t,n,o){return no("u"===t?4:t.length,e)},set:function(e,t,n){return e.setUTCFullYear(t,0,1),e.setUTCHours(0,0,0,0),e}},Q:{priority:120,parse:function(e,t,n,o){switch(t){case"Q":case"QQ":return to(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n){return e.setUTCMonth(3*(t-1),1),e.setUTCHours(0,0,0,0),e}},q:{priority:120,parse:function(e,t,n,o){switch(t){case"q":case"qq":return to(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n){return e.setUTCMonth(3*(t-1),1),e.setUTCHours(0,0,0,0),e}},M:{priority:110,parse:function(e,t,n,o){var r=function(e){return e-1};switch(t){case"M":return Jn(Vn.month,e,r);case"MM":return to(2,e,r);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n){return e.setUTCMonth(t,1),e.setUTCHours(0,0,0,0),e}},L:{priority:110,parse:function(e,t,n,o){var r=function(e){return e-1};switch(t){case"L":return Jn(Vn.month,e,r);case"LL":return to(2,e,r);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n){return e.setUTCMonth(t,1),e.setUTCHours(0,0,0,0),e}},w:{priority:100,parse:function(e,t,n,o){switch(t){case"w":return Jn(Vn.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return to(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n){return Xe(function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t),a=Qe(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,t,n),n)}},I:{priority:100,parse:function(e,t,n,o){switch(t){case"I":return Jn(Vn.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return to(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n){return Ge(function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t),a=Ye(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,t,n),n)}},d:{priority:90,parse:function(e,t,n,o){switch(t){case"d":return Jn(Vn.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return to(t.length,e)}},validate:function(e,t,n){var o=lo(e.getUTCFullYear()),r=e.getUTCMonth();return o?t>=1&&t<=ao[r]:t>=1&&t<=io[r]},set:function(e,t,n){return e.setUTCDate(t),e.setUTCHours(0,0,0,0),e}},D:{priority:90,parse:function(e,t,n,o){switch(t){case"D":case"DD":return Jn(Vn.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return to(t.length,e)}},validate:function(e,t,n){return lo(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n){return e.setUTCMonth(0,t),e.setUTCHours(0,0,0,0),e}},E:{priority:90,parse:function(e,t,n,o){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n){return(e=Bn(e,t,n)).setUTCHours(0,0,0,0),e}},e:{priority:90,parse:function(e,t,n,o){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return to(t.length,e,r);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n){return(e=Bn(e,t,n)).setUTCHours(0,0,0,0),e}},c:{priority:90,parse:function(e,t,n,o){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return to(t.length,e,r);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n){return(e=Bn(e,t,n)).setUTCHours(0,0,0,0),e}},i:{priority:90,parse:function(e,t,n,o){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return to(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiii":default:return n.day(e,{width:"wide",context:"formatting",valueCallback:r})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n){return(e=function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=o(t);r%7==0&&(r-=7);var i=c(e,n),a=((r%7+7)%7<1?7:0)+r-i.getUTCDay();return i.setUTCDate(i.getUTCDate()+a),i}(e,t,n)).setUTCHours(0,0,0,0),e}},a:{priority:80,parse:function(e,t,n,o){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n){return e.setUTCHours(oo(t),0,0,0),e}},b:{priority:80,parse:function(e,t,n,o){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n){return e.setUTCHours(oo(t),0,0,0),e}},B:{priority:80,parse:function(e,t,n,o){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n){return e.setUTCHours(oo(t),0,0,0),e}},h:{priority:70,parse:function(e,t,n,o){switch(t){case"h":return Jn(Vn.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return to(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=12},set:function(e,t,n){var o=e.getUTCHours()>=12;return o&&t<12?e.setUTCHours(t+12,0,0,0):o||12!==t?e.setUTCHours(t,0,0,0):e.setUTCHours(0,0,0,0),e}},H:{priority:70,parse:function(e,t,n,o){switch(t){case"H":return Jn(Vn.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return to(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n){return e.setUTCHours(t,0,0,0),e}},K:{priority:70,parse:function(e,t,n,o){switch(t){case"K":return Jn(Vn.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return to(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n){return e.getUTCHours()>=12&&t<12?e.setUTCHours(t+12,0,0,0):e.setUTCHours(t,0,0,0),e}},k:{priority:70,parse:function(e,t,n,o){switch(t){case"k":return Jn(Vn.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return to(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n){var o=t<=24?t%24:t;return e.setUTCHours(o,0,0,0),e}},m:{priority:60,parse:function(e,t,n,o){switch(t){case"m":return Jn(Vn.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return to(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n){return e.setUTCMinutes(t,0,0),e}},s:{priority:50,parse:function(e,t,n,o){switch(t){case"s":return Jn(Vn.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return to(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n){return e.setUTCSeconds(t,0),e}},S:{priority:40,parse:function(e,t,n,o){return to(t.length,e,function(e){return Math.floor(e*Math.pow(10,3-t.length))})},set:function(e,t,n){return e.setUTCMilliseconds(t),e}},X:{priority:20,parse:function(e,t,n,o){switch(t){case"X":return Zn(Yn,e);case"XX":return Zn(Xn,e);case"XXXX":return Zn(Kn,e);case"XXXXX":return Zn(Qn,e);case"XXX":default:return Zn($n,e)}},set:function(e,t,n){return new Date(e.getTime()-t)}},x:{priority:20,parse:function(e,t,n,o){switch(t){case"x":return Zn(Yn,e);case"xx":return Zn(Xn,e);case"xxxx":return Zn(Kn,e);case"xxxxx":return Zn(Qn,e);case"xxx":default:return Zn($n,e)}},set:function(e,t,n){return new Date(e.getTime()-t)}},t:{priority:10,parse:function(e,t,n,o){return eo(e)},set:function(e,t,n){return new Date(1e3*t)}},T:{priority:10,parse:function(e,t,n,o){return eo(e)},set:function(e,t,n){return new Date(t)}}},uo=20,co=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,po=/^'(.*?)'?$/,fo=/''/g,mo=/\S/;function ho(e,t,n,r){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var a=String(e),l=String(t),s=r||{},u=s.locale||Be;if(!u.match)throw new RangeError("locale must contain match property");var d=u.options&&u.options.firstWeekContainsDate,p=null==d?1:o(d),f=null==s.firstWeekContainsDate?p:o(s.firstWeekContainsDate);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=u.options&&u.options.weekStartsOn,h=null==m?0:o(m),g=null==s.weekStartsOn?h:o(s.weekStartsOn);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===l)return""===a?c(n,s):new Date(NaN);var b,v={firstWeekContainsDate:f,weekStartsOn:g,locale:u},y=[{priority:uo,set:go,index:0}],w=l.match(co);for(b=0;b<w.length;b++){var x=w[b];!s.awareOfUnicodeTokens&&mt(x)&&ht(x);var E=x[0],C=so[E];if(C){var k=C.parse(a,x,u.match,v);if(!k)return new Date(NaN);y.push({priority:C.priority,set:C.set,validate:C.validate,value:k.value,index:y.length}),a=k.rest}else{if("''"===x?x="'":"'"===E&&(x=x.match(po)[1].replace(fo,"'")),0!==a.indexOf(x))return new Date(NaN);a=a.slice(x.length)}}if(a.length>0&&mo.test(a))return new Date(NaN);var T=y.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(e){return y.filter(function(t){return t.priority===e}).reverse()}).map(function(e){return e[0]}),S=c(n,s);if(isNaN(S))return new Date(NaN);var D=pt(S,i(S));for(b=0;b<T.length;b++){var R=T[b];if(R.validate&&!R.validate(D,R.value,v))return new Date(NaN);D=R.set(D,R.value,v)}return D}function go(e){var t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}function bo(e,t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only none provided present");var r=1===arguments.length?1:o(t);if(2===arguments.length&&"number"!=typeof t&&"string"!=typeof t&&(n=t,r=1),!r||r>30||r<1)throw new RangeError("nearestTo must be between 1 and 30");var i=c(e,n),a=i.getSeconds(),l=i.getMinutes()+a/60,s=Math.floor(l/r)*r,u=l%r,d=Math.round(u/r)*r;return new Date(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),s+d)}function vo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t);return r.setDate(i),r}function yo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=n||{},i=r.locale,a=i&&i.options&&i.options.weekStartsOn,l=null==a?0:o(a),s=null==r.weekStartsOn?l:o(r.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=c(e,r),d=o(t),p=u.getDay();return y(u,((d%7+7)%7<s?7:0)+d-p,r)}function wo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t);return r.setMonth(0),r.setDate(i),r}function xo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t);return r.setHours(i),r}function Eo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n);return y(r,o(t)-jt(r,n),n)}function Co(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t),a=Ut(r,n)-i;return r.setDate(r.getDate()-7*a),r}function ko(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t);return r.setMilliseconds(i),r}function To(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t);return r.setMinutes(i),r}function So(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t),a=r.getFullYear(),l=r.getDate(),s=new Date(0);s.setFullYear(a,i,15),s.setHours(0,0,0,0);var u=A(s,n);return r.setMonth(i,Math.min(l,u)),r}function Do(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t)-(Math.floor(r.getMonth()/3)+1);return So(r,r.getMonth()+3*i,n)}function Ro(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t);return r.setSeconds(i),r}function Mo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t),a=tn(r,n)-i;return r.setDate(r.getDate()-7*a),r}function Oo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=n||{},i=r.locale,a=i&&i.options&&i.options.firstWeekContainsDate,l=null==a?1:o(a),s=null==r.firstWeekContainsDate?l:o(r.firstWeekContainsDate),u=c(e,n),d=o(t),p=O(u,Zt(u,n),n),f=new Date(0);return f.setFullYear(d,0,s),f.setHours(0,0,0,0),(u=Zt(f,n)).setDate(u.getDate()+p),u}function Po(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=c(e,n),i=o(t);return isNaN(r)?new Date(NaN):(r.setFullYear(i),r)}function No(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=c(e,t),o=n.getFullYear(),r=10*Math.floor(o/10);return n.setFullYear(r,0,1),n.setHours(0,0,0,0),n}function _o(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return y(e,-o(t),n)}function Lo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return E(e,-o(t),n)}function Ao(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return L(e,-o(t),n)}function Io(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return I(e,-o(t),n)}function zo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return z(e,-o(t),n)}function Fo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return F(e,-o(t),n)}function jo(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return j(e,-o(t),n)}function Ho(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return H(e,-o(t),n)}n.d(t,"addDays",function(){return y}),n.d(t,"addHours",function(){return E}),n.d(t,"addISOWeekYears",function(){return N}),n.d(t,"addMilliseconds",function(){return w}),n.d(t,"addMinutes",function(){return L}),n.d(t,"addMonths",function(){return I}),n.d(t,"addQuarters",function(){return z}),n.d(t,"addSeconds",function(){return F}),n.d(t,"addWeeks",function(){return j}),n.d(t,"addYears",function(){return H}),n.d(t,"areIntervalsOverlapping",function(){return U}),n.d(t,"closestIndexTo",function(){return B}),n.d(t,"closestTo",function(){return W}),n.d(t,"compareAsc",function(){return G}),n.d(t,"compareDesc",function(){return q}),n.d(t,"differenceInCalendarDays",function(){return O}),n.d(t,"differenceInCalendarISOWeekYears",function(){return V}),n.d(t,"differenceInCalendarISOWeeks",function(){return X}),n.d(t,"differenceInCalendarMonths",function(){return K}),n.d(t,"differenceInCalendarQuarters",function(){return Q}),n.d(t,"differenceInCalendarWeeks",function(){return Z}),n.d(t,"differenceInCalendarYears",function(){return ee}),n.d(t,"differenceInDays",function(){return te}),n.d(t,"differenceInHours",function(){return re}),n.d(t,"differenceInISOWeekYears",function(){return ae}),n.d(t,"differenceInMilliseconds",function(){return ne}),n.d(t,"differenceInMinutes",function(){return se}),n.d(t,"differenceInMonths",function(){return ue}),n.d(t,"differenceInQuarters",function(){return ce}),n.d(t,"differenceInSeconds",function(){return de}),n.d(t,"differenceInWeeks",function(){return pe}),n.d(t,"differenceInYears",function(){return fe}),n.d(t,"eachDayOfInterval",function(){return me}),n.d(t,"eachWeekOfInterval",function(){return he}),n.d(t,"eachWeekendOfInterval",function(){return ve}),n.d(t,"eachWeekendOfMonth",function(){return xe}),n.d(t,"eachWeekendOfYear",function(){return ke}),n.d(t,"endOfDay",function(){return Te}),n.d(t,"endOfDecade",function(){return Se}),n.d(t,"endOfHour",function(){return De}),n.d(t,"endOfISOWeek",function(){return Me}),n.d(t,"endOfISOWeekYear",function(){return Oe}),n.d(t,"endOfMinute",function(){return Pe}),n.d(t,"endOfMonth",function(){return we}),n.d(t,"endOfQuarter",function(){return Ne}),n.d(t,"endOfSecond",function(){return _e}),n.d(t,"endOfWeek",function(){return Re}),n.d(t,"endOfYear",function(){return Ce}),n.d(t,"format",function(){return wt}),n.d(t,"formatDistance",function(){return Tt}),n.d(t,"formatDistanceStrict",function(){return Mt}),n.d(t,"formatRelative",function(){return Ot}),n.d(t,"fromUnixTime",function(){return Pt}),n.d(t,"getDate",function(){return Nt}),n.d(t,"getDay",function(){return _t}),n.d(t,"getDayOfYear",function(){return Lt}),n.d(t,"getDaysInMonth",function(){return A}),n.d(t,"getDaysInYear",function(){return It}),n.d(t,"getDecade",function(){return zt}),n.d(t,"getHours",function(){return Ft}),n.d(t,"getISODay",function(){return jt}),n.d(t,"getISOWeek",function(){return Ut}),n.d(t,"getISOWeekYear",function(){return S}),n.d(t,"getISOWeeksInYear",function(){return Wt}),n.d(t,"getMilliseconds",function(){return Gt}),n.d(t,"getMinutes",function(){return qt}),n.d(t,"getMonth",function(){return Vt}),n.d(t,"getOverlappingDaysInIntervals",function(){return Xt}),n.d(t,"getQuarter",function(){return $}),n.d(t,"getSeconds",function(){return Kt}),n.d(t,"getTime",function(){return $t}),n.d(t,"getUnixTime",function(){return Qt}),n.d(t,"getWeek",function(){return tn}),n.d(t,"getWeekOfMonth",function(){return nn}),n.d(t,"getWeekYear",function(){return Jt}),n.d(t,"getWeeksInMonth",function(){return rn}),n.d(t,"getYear",function(){return an}),n.d(t,"isAfter",function(){return ln}),n.d(t,"isBefore",function(){return sn}),n.d(t,"isDate",function(){return un}),n.d(t,"isEqual",function(){return cn}),n.d(t,"isFirstDayOfMonth",function(){return dn}),n.d(t,"isFriday",function(){return pn}),n.d(t,"isLastDayOfMonth",function(){return fn}),n.d(t,"isLeapYear",function(){return At}),n.d(t,"isMonday",function(){return mn}),n.d(t,"isSameDay",function(){return hn}),n.d(t,"isSameHour",function(){return bn}),n.d(t,"isSameISOWeek",function(){return yn}),n.d(t,"isSameISOWeekYear",function(){return wn}),n.d(t,"isSameMinute",function(){return En}),n.d(t,"isSameMonth",function(){return Cn}),n.d(t,"isSameQuarter",function(){return Tn}),n.d(t,"isSameSecond",function(){return Dn}),n.d(t,"isSameWeek",function(){return vn}),n.d(t,"isSameYear",function(){return Rn}),n.d(t,"isSaturday",function(){return Mn}),n.d(t,"isSunday",function(){return ge}),n.d(t,"isThursday",function(){return On}),n.d(t,"isTuesday",function(){return Pn}),n.d(t,"isValid",function(){return Le}),n.d(t,"isWednesday",function(){return Nn}),n.d(t,"isWeekend",function(){return be}),n.d(t,"isWithinInterval",function(){return _n}),n.d(t,"lastDayOfDecade",function(){return Ln}),n.d(t,"lastDayOfISOWeek",function(){return In}),n.d(t,"lastDayOfISOWeekYear",function(){return zn}),n.d(t,"lastDayOfMonth",function(){return on}),n.d(t,"lastDayOfQuarter",function(){return Fn}),n.d(t,"lastDayOfWeek",function(){return An}),n.d(t,"lastDayOfYear",function(){return jn}),n.d(t,"max",function(){return Hn}),n.d(t,"min",function(){return Un}),n.d(t,"parse",function(){return ho}),n.d(t,"roundToNearestMinutes",function(){return bo}),n.d(t,"setDate",function(){return vo}),n.d(t,"setDay",function(){return yo}),n.d(t,"setDayOfYear",function(){return wo}),n.d(t,"setHours",function(){return xo}),n.d(t,"setISODay",function(){return Eo}),n.d(t,"setISOWeek",function(){return Co}),n.d(t,"setISOWeekYear",function(){return P}),n.d(t,"setMilliseconds",function(){return ko}),n.d(t,"setMinutes",function(){return To}),n.d(t,"setMonth",function(){return So}),n.d(t,"setQuarter",function(){return Do}),n.d(t,"setSeconds",function(){return Ro}),n.d(t,"setWeek",function(){return Mo}),n.d(t,"setWeekYear",function(){return Oo}),n.d(t,"setYear",function(){return Po}),n.d(t,"startOfDay",function(){return R}),n.d(t,"startOfDecade",function(){return No}),n.d(t,"startOfHour",function(){return gn}),n.d(t,"startOfISOWeek",function(){return T}),n.d(t,"startOfISOWeekYear",function(){return D}),n.d(t,"startOfMinute",function(){return xn}),n.d(t,"startOfMonth",function(){return ye}),n.d(t,"startOfQuarter",function(){return kn}),n.d(t,"startOfSecond",function(){return Sn}),n.d(t,"startOfWeek",function(){return C}),n.d(t,"startOfWeekYear",function(){return Zt}),n.d(t,"startOfYear",function(){return Ee}),n.d(t,"subDays",function(){return _o}),n.d(t,"subHours",function(){return Lo}),n.d(t,"subISOWeekYears",function(){return ie}),n.d(t,"subMilliseconds",function(){return pt}),n.d(t,"subMinutes",function(){return Ao}),n.d(t,"subMonths",function(){return Io}),n.d(t,"subQuarters",function(){return zo}),n.d(t,"subSeconds",function(){return Fo}),n.d(t,"subWeeks",function(){return jo}),n.d(t,"subYears",function(){return Ho}),n.d(t,"toDate",function(){return c})},function(e,t,n){"use strict";n.r(t);n(63),n(65),n(67),n(69);var o=n(0),r=n.n(o),i=n(7),a=n.n(i),l=n(11),s=n.n(l),u=n(4),c=n.n(u),d=n(1);function p(e){return"/"===e.charAt(0)}function f(e,t){for(var n=t,o=n+1,r=e.length;o<r;n+=1,o+=1)e[n]=e[o];e.pop()}var m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],o=t&&t.split("/")||[],r=e&&p(e),i=t&&p(t),a=r||i;if(e&&p(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";var l=void 0;if(o.length){var s=o[o.length-1];l="."===s||".."===s||""===s}else l=!1;for(var u=0,c=o.length;c>=0;c--){var d=o[c];"."===d?f(o,c):".."===d?(f(o,c),u++):u&&(f(o,c),u--)}if(!a)for(;u--;u)o.unshift("..");!a||""===o[0]||o[0]&&p(o[0])||o.unshift("");var m=o.join("/");return l&&"/"!==m.substr(-1)&&(m+="/"),m};"function"==typeof Symbol&&Symbol.iterator;var h=!0,g="Invariant failed";var b=function(e,t){if(!e)throw h?new Error(g):new Error(g+": "+(t||""))};function v(e){return"/"===e.charAt(0)?e:"/"+e}function y(e,t){return function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)}(e,t)?e.substr(t.length):e}function w(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function x(e){var t=e.pathname,n=e.search,o=e.hash,r=t||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),o&&"#"!==o&&(r+="#"===o.charAt(0)?o:"#"+o),r}function E(e,t,n,o){var r;"string"==typeof e?(r=function(e){var t=e||"/",n="",o="",r=t.indexOf("#");-1!==r&&(o=t.substr(r),t=t.substr(0,r));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===o?"":o}}(e)).state=t:(void 0===(r=Object(d.a)({},e)).pathname&&(r.pathname=""),r.search?"?"!==r.search.charAt(0)&&(r.search="?"+r.search):r.search="",r.hash?"#"!==r.hash.charAt(0)&&(r.hash="#"+r.hash):r.hash="",void 0!==t&&void 0===r.state&&(r.state=t));try{r.pathname=decodeURI(r.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(r.key=n),o?r.pathname?"/"!==r.pathname.charAt(0)&&(r.pathname=m(r.pathname,o.pathname)):r.pathname=o.pathname:r.pathname||(r.pathname="/"),r}function C(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,o,r){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof o?o(i,r):r(!0):r(!1!==i)}else r(!0)},appendListener:function(e){var n=!0;function o(){n&&e.apply(void 0,arguments)}return t.push(o),function(){n=!1,t=t.filter(function(e){return e!==o})}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t.forEach(function(e){return e.apply(void 0,n)})}}}var k=!("undefined"==typeof window||!window.document||!window.document.createElement);function T(e,t){t(window.confirm(e))}var S="popstate",D="hashchange";function R(){try{return window.history.state||{}}catch(e){return{}}}function M(e){void 0===e&&(e={}),k||b(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,r=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,l=void 0!==a&&a,s=i.getUserConfirmation,u=void 0===s?T:s,c=i.keyLength,p=void 0===c?6:c,f=e.basename?w(v(e.basename)):"";function m(e){var t=e||{},n=t.key,o=t.state,r=window.location,i=r.pathname+r.search+r.hash;return f&&(i=y(i,f)),E(i,o,n)}function h(){return Math.random().toString(36).substr(2,p)}var g=C();function M(e){Object(d.a)(U,e),U.length=n.length,g.notifyListeners(U.location,U.action)}function O(e){(function(e){void 0===e.state&&navigator.userAgent.indexOf("CriOS")})(e)||_(m(e.state))}function P(){_(m(R()))}var N=!1;function _(e){if(N)N=!1,M();else{g.confirmTransitionTo(e,"POP",u,function(t){t?M({action:"POP",location:e}):function(e){var t=U.location,n=A.indexOf(t.key);-1===n&&(n=0);var o=A.indexOf(e.key);-1===o&&(o=0);var r=n-o;r&&(N=!0,z(r))}(e)})}}var L=m(R()),A=[L.key];function I(e){return f+x(e)}function z(e){n.go(e)}var F=0;function j(e){1===(F+=e)&&1===e?(window.addEventListener(S,O),r&&window.addEventListener(D,P)):0===F&&(window.removeEventListener(S,O),r&&window.removeEventListener(D,P))}var H=!1;var U={length:n.length,action:"POP",location:L,createHref:I,push:function(e,t){var r=E(e,t,h(),U.location);g.confirmTransitionTo(r,"PUSH",u,function(e){if(e){var t=I(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),l)window.location.href=t;else{var s=A.indexOf(U.location.key),u=A.slice(0,-1===s?0:s+1);u.push(r.key),A=u,M({action:"PUSH",location:r})}else window.location.href=t}})},replace:function(e,t){var r=E(e,t,h(),U.location);g.confirmTransitionTo(r,"REPLACE",u,function(e){if(e){var t=I(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),l)window.location.replace(t);else{var s=A.indexOf(U.location.key);-1!==s&&(A[s]=r.key),M({action:"REPLACE",location:r})}else window.location.replace(t)}})},go:z,goBack:function(){z(-1)},goForward:function(){z(1)},block:function(e){void 0===e&&(e=!1);var t=g.setPrompt(e);return H||(j(1),H=!0),function(){return H&&(H=!1,j(-1)),t()}},listen:function(e){var t=g.appendListener(e);return j(1),function(){j(-1),t()}}};return U}var O=n(10),P=n.n(O),N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function _(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var L=function(e){function t(){var n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=o=_(this,e.call.apply(e,[this].concat(i))),o.state={match:o.computeMatch(o.props.history.location.pathname)},_(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){return{router:N({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},t.prototype.computeMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.children,o=t.history;P()(null==n||1===r.a.Children.count(n),"A <Router> may have only one child element"),this.unlisten=o.listen(function(){e.setState({match:e.computeMatch(o.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){s()(this.props.history===e.history,"You cannot change <Router history>")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?r.a.Children.only(e):null},t}(r.a.Component);L.propTypes={history:c.a.object.isRequired,children:c.a.node},L.contextTypes={router:c.a.object},L.childContextTypes={router:c.a.object.isRequired};var A=L;function I(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var z=function(e){function t(){var n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=o=I(this,e.call.apply(e,[this].concat(i))),o.history=M(o.props),I(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){s()(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return r.a.createElement(A,{history:this.history,children:this.props.children})},t}(r.a.Component);z.propTypes={basename:c.a.string,forceRefresh:c.a.bool,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node};var F,j,H,U=z,B=n(53),W=n.n(B);function G(e,t){if(null==e)throw"LogTools: sender not set";console.log(e+": "+t)}class q{static Get(){return null!=this._Single&&null!=this._Single||(this._Single=new q),this._Single}constructor(){this.ID=0,this.Controls=[]}RegisterControl(e){e.ID=this.ID,this.ID++,this.Controls.push(e),G("RegisterControl",e.Name+" "+e.ID)}UnregisterControl(e){this.Controls.splice(this.Controls.findIndex(t=>t.ID===e.ID),1),G("UnregisterControl",e.Name+" "+e.ID)}}H=void 0,(j="_Single")in(F=q)?Object.defineProperty(F,j,{value:H,enumerable:!0,configurable:!0,writable:!0}):F[j]=H;class V{static Get(){return null!=this._Single&&null!=this._Single||(this._Single=new V),this._Single}constructor(){this.Events=["OnAuthChange","OnItemsChange_Main","OnItemsChange_Move","OnHaveDataChange"],this.Listeners={},this.Events.map(function(e){this.Listeners[e]=[]}.bind(this))}RegisterListener(e,t){if(!this.Events.includes(e))throw"Event not found";if(null==t["Event_"+e])throw"Control not implement event function";this.Listeners[e].push(t),t.IsEventListener=!0}UnregistListener(e){Object.keys(this.Listeners).map(function(t){let n=this.Listeners[t].findIndex(t=>t.ID===e.ID);-1!=n&&this.Listeners[t].splice(n,1)}.bind(this))}EventAction(e,t){if(!this.Events.includes(e))throw"Event not found";this.Listeners[e].map(function(n){n["Event_"+e](t)})}}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(V,"_Single",void 0);class X extends r.a.Component{constructor(e,t){super(e),this.Name=t,W()(this),this.GlobalState=X.GlobalState,this.EventRegister=X.eventRegister,this._isMounted=!1,this.Log=e=>{!function(e,t){if(null==e)throw"LogTools: sender not set";console.log(e.Name+"_"+e.ID+": "+t)}(this,e)},X.controlRegister.RegisterControl(this),this.Log("start")}setState(e){this._isMounted&&super.setState(e)}componentDidMount(){this._isMounted=!0}componentWillUnmount(){this._isMounted=!1,X.controlRegister.UnregisterControl(this),!0===this.IsEventListener&&X.eventRegister.UnregistListener(this)}}Y(X,"controlRegister",q.Get()),Y(X,"eventRegister",V.Get()),Y(X,"GlobalState",{});var K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function $(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Q=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},J=function(e){function t(){var n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=o=$(this,e.call.apply(e,[this].concat(i))),o.handleClick=function(e){if(o.props.onClick&&o.props.onClick(e),!e.defaultPrevented&&0===e.button&&!o.props.target&&!Q(e)){e.preventDefault();var t=o.context.router.history,n=o.props,r=n.replace,i=n.to;r?t.replace(i):t.push(i)}},$(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),n=e.innerRef,o=function(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["replace","to","innerRef"]);P()(this.context.router,"You should not use <Link> outside a <Router>"),P()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?E(t,null,null,i.location):t,l=i.createHref(a);return r.a.createElement("a",K({},o,{onClick:this.handleClick,href:l,ref:n}))},t}(r.a.Component);J.propTypes={onClick:c.a.func,target:c.a.string,replace:c.a.bool,to:c.a.oneOfType([c.a.string,c.a.object]).isRequired,innerRef:c.a.oneOfType([c.a.string,c.a.func])},J.defaultProps={replace:!1},J.contextTypes={router:c.a.shape({history:c.a.shape({push:c.a.func.isRequired,replace:c.a.func.isRequired,createHref:c.a.func.isRequired}).isRequired}).isRequired};var Z=J,ee=n(2),te=n(6),ne=n(3),oe=n.n(ne),re=function(){};function ie(e,t){return void 0!==e[t]}function ae(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function le(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function se(e,t){return Object.keys(t).reduce(function(n,r){var i,a=n[ae(r)],l=n[r],s=Object(ee.a)(n,[ae(r),r].map(le)),u=t[r],c=Object(o.useRef)({}),p=Object(o.useState)(a),f=p[0],m=p[1],h=ie(e,r),g=ie(c.current,r);c.current=e,!h&&g&&m(a);var b=e[u],v=Object(o.useCallback)(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];b&&b.apply(void 0,[e].concat(n)),m(e)},[m,b]);return Object(d.a)({},s,((i={})[r]=h?l:f,i[u]=v,i))},e)}var ue=n(35),ce=n.n(ue),de=n(36),pe=n.n(de),fe=r.a.createContext(new Map),me=(fe.Consumer,fe.Provider);function he(e,t){var n=Object(o.useContext)(fe);return e||n.get(t)||t}function ge(e,t){"string"==typeof t&&(t={prefix:t});var n=e.prototype&&e.prototype.isReactComponent,i=t,a=i.prefix,l=i.forwardRefAs,s=void 0===l?n?"ref":"innerRef":l;return pe()(function(t,n){var i=Object(d.a)({},t);i[s]=n;var l=Object(o.useContext)(fe);return r.a.createElement(e,Object(d.a)({},i,{bsPrefix:i.bsPrefix||l.get(a)||a}))},{displayName:"Bootstrap("+(e.displayName||e.name)+")"})}r.a.Component;var be=function(e){return e[0].toUpperCase()+ce()(e).slice(1)};function ve(e,t){var n=void 0===t?{}:t,o=n.displayName,i=void 0===o?be(e):o,a=n.Component,l=void 0===a?"div":a,s=n.defaultProps,u=r.a.forwardRef(function(t,n){var o=t.className,i=t.bsPrefix,a=t.as,s=void 0===a?l:a,u=Object(ee.a)(t,["className","bsPrefix","as"]),c=he(i,e);return r.a.createElement(s,Object(d.a)({ref:n,className:oe()(o,c)},u))});return u.defaultProps=s,u.displayName=i,u}var ye=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.className,i=e.as,a=Object(ee.a)(e,["bsPrefix","className","as"]);n=he(n,"navbar-brand");var l=i||(a.href?"a":"span");return r.a.createElement(l,Object(d.a)({},a,{ref:t,className:oe()(o,n)}))});ye.displayName="NavbarBrand";var we=ye,xe=n(15),Ee=n.n(xe),Ce=n(26),ke=n.n(Ce),Te=!1,Se=r.a.createContext(null),De="unmounted",Re="exited",Me="entering",Oe="entered",Pe=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=Re,o.appearStatus=Me):r=Oe:r=t.unmountOnExit||t.mountOnEnter?De:Re,o.state={status:r},o.nextCallback=null,o}Object(te.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===De?{status:Re}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Me&&n!==Oe&&(t=Me):n!==Me&&n!==Oe||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=a.a.findDOMNode(this);t===Me?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===Re&&this.setState({status:De})},n.performEnter=function(e,t){var n=this,o=this.props.enter,r=this.context?this.context.isMounting:t,i=this.getTimeouts(),a=r?i.appear:i.enter;!t&&!o||Te?this.safeSetState({status:Oe},function(){n.props.onEntered(e)}):(this.props.onEnter(e,r),this.safeSetState({status:Me},function(){n.props.onEntering(e,r),n.onTransitionEnd(e,a,function(){n.safeSetState({status:Oe},function(){n.props.onEntered(e,r)})})}))},n.performExit=function(e){var t=this,n=this.props.exit,o=this.getTimeouts();n&&!Te?(this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,o.exit,function(){t.safeSetState({status:Re},function(){t.props.onExited(e)})})})):this.safeSetState({status:Re},function(){t.props.onExited(e)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var o=null==t&&!this.props.addEndListener;e&&!o?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===De)return null;var t=this.props,n=t.children,o=Object(ee.a)(t,["children"]);if(delete o.in,delete o.mountOnEnter,delete o.unmountOnExit,delete o.appear,delete o.enter,delete o.exit,delete o.timeout,delete o.addEndListener,delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,"function"==typeof n)return r.a.createElement(Se.Provider,{value:null},n(e,o));var i=r.a.Children.only(n);return r.a.createElement(Se.Provider,{value:null},r.a.cloneElement(i,o))},t}(r.a.Component);function Ne(){}Pe.contextType=Se,Pe.propTypes={},Pe.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ne,onEntering:Ne,onEntered:Ne,onExit:Ne,onExiting:Ne,onExited:Ne},Pe.UNMOUNTED=0,Pe.EXITED=1,Pe.ENTERING=2,Pe.ENTERED=3,Pe.EXITING=4;var _e=Pe;function Le(e){e.offsetHeight}var Ae,Ie=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return null!=e}).reduce(function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];e.apply(this,o),t.apply(this,o)}},null)},ze={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};var Fe=((Ae={})[Re]="collapse",Ae.exiting="collapsing",Ae[Me]="collapsing",Ae[Oe]="collapse show",Ae),je={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,dimension:"height",getDimensionValue:function(e,t){var n=t["offset"+e[0].toUpperCase()+e.slice(1)],o=ze[e];return n+parseInt(Ee()(t,o[0]),10)+parseInt(Ee()(t,o[1]),10)}},He=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).handleEnter=function(e){e.style[t.getDimension()]="0"},t.handleEntering=function(e){var n=t.getDimension();e.style[n]=t._getScrollDimensionValue(e,n)},t.handleEntered=function(e){e.style[t.getDimension()]=null},t.handleExit=function(e){var n=t.getDimension();e.style[n]=t.props.getDimensionValue(n,e)+"px",Le(e)},t.handleExiting=function(e){e.style[t.getDimension()]=null},t}Object(te.a)(t,e);var n=t.prototype;return n.getDimension=function(){return"function"==typeof this.props.dimension?this.props.dimension():this.props.dimension},n._getScrollDimensionValue=function(e,t){return e["scroll"+t[0].toUpperCase()+t.slice(1)]+"px"},n.render=function(){var e=this,t=this.props,n=t.onEnter,o=t.onEntering,i=t.onEntered,a=t.onExit,l=t.onExiting,s=t.className,u=t.children,c=Object(ee.a)(t,["onEnter","onEntering","onEntered","onExit","onExiting","className","children"]);delete c.dimension,delete c.getDimensionValue;var p=Ie(this.handleEnter,n),f=Ie(this.handleEntering,o),m=Ie(this.handleEntered,i),h=Ie(this.handleExit,a),g=Ie(this.handleExiting,l);return r.a.createElement(_e,Object(d.a)({addEndListener:ke.a},c,{"aria-expanded":c.role?c.in:null,onEnter:p,onEntering:f,onEntered:m,onExit:h,onExiting:g}),function(t,n){return r.a.cloneElement(u,Object(d.a)({},n,{className:oe()(s,u.props.className,Fe[t],"width"===e.getDimension()&&"width")}))})},t}(r.a.Component);He.defaultProps=je;var Ue=He,Be=r.a.createContext(null),We=r.a.forwardRef(function(e,t){var n=e.children,o=e.bsPrefix,i=Object(ee.a)(e,["children","bsPrefix"]);return o=he(o,"navbar-collapse"),r.a.createElement(Be.Consumer,null,function(e){return r.a.createElement(Ue,Object(d.a)({in:!(!e||!e.expanded)},i),r.a.createElement("div",{ref:t,className:o},n))})});We.displayName="NavbarCollapse";var Ge=We;var qe=function(e){var t=Object(o.useRef)(e);return Object(o.useEffect)(function(){t.current=e},[e]),t};function Ve(e){var t=qe(e);return Object(o.useCallback)(function(){return t.current&&t.current.apply(t,arguments)},[t])}var Ye=r.a.forwardRef(function(e,t){var n=e.bsPrefix,i=e.className,a=e.children,l=e.label,s=e.as,u=void 0===s?"button":s,c=e.onClick,p=Object(ee.a)(e,["bsPrefix","className","children","label","as","onClick"]);n=he(n,"navbar-toggler");var f=Object(o.useContext)(Be)||{},m=f.onToggle,h=f.expanded,g=Ve(function(e){c&&c(e),m&&m()});return"button"===u&&(p.type="button"),r.a.createElement(u,Object(d.a)({},p,{ref:t,onClick:g,"aria-label":l,className:oe()(i,n,!!h&&"collapsed")}),a||r.a.createElement("span",{className:n+"-icon"}))});Ye.displayName="NavbarToggle",Ye.defaultProps={label:"Toggle navigation"};var Xe=Ye,Ke=r.a.createContext(),$e=function(e,t){return null!=e?String(e):t||null},Qe=Ke,Je=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).state={navbarContext:{onToggle:function(){return t.handleToggle()}}},t.handleCollapse=function(){var e=t.props,n=e.onToggle,o=e.expanded,r=e.collapseOnSelect,i=e.onSelect;i&&i.apply(void 0,arguments),r&&o&&n(!1)},t.handleToggle=function(){var e=t.props;(0,e.onToggle)(!e.expanded)},t}return Object(te.a)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.bsPrefix,o=e.expanded;return{navbarContext:Object(d.a)({},t.navbarContext,{bsPrefix:n,expanded:o})}},t.prototype.render=function(){var e=this.props,t=e.bsPrefix,n=e.expand,o=e.variant,i=e.bg,a=e.fixed,l=e.sticky,s=e.className,u=e.children,c=e.as,p=void 0===c?"nav":c,f=(e.expanded,e.onToggle,e.onSelect,e.collapseOnSelect,Object(ee.a)(e,["bsPrefix","expand","variant","bg","fixed","sticky","className","children","as","expanded","onToggle","onSelect","collapseOnSelect"]));void 0===f.role&&"nav"!==p&&(f.role="navigation");var m=t+"-expand";return"string"==typeof n&&(m=m+"-"+n),r.a.createElement(Be.Provider,{value:this.state.navbarContext},r.a.createElement(Qe.Provider,{value:this.handleCollapse},r.a.createElement(p,Object(d.a)({},f,{className:oe()(s,t,n&&m,o&&t+"-"+o,i&&"bg-"+i,l&&"sticky-"+l,a&&"fixed-"+a)}),u)))},t}(r.a.Component);Je.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1};var Ze=ge(function e(t,n,o){void 0===o&&(o=[]);var i,a=t.displayName||t.name||"Component",l=!!(i=t)&&("function"!=typeof i||i.prototype&&i.prototype.isReactComponent),s=Object.keys(n),u=s.map(ae);!l&&o.length&&P()(!1);var c=function(e){function i(){for(var t,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(t=e.call.apply(e,[this].concat(i))||this).handlers=Object.create(null),s.forEach(function(e){var o=n[e];t.handlers[o]=function(n){if(t.props[o]){var r;t._notifying=!0;for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];(r=t.props)[o].apply(r,[n].concat(a)),t._notifying=!1}t._values[e]=n,t.unmounted||t.forceUpdate()}}),o.length&&(t.attachRef=function(e){t.inner=e}),t}Object(te.a)(i,e);var a=i.prototype;return a.shouldComponentUpdate=function(){return!this._notifying},a.componentWillMount=function(){var e=this,t=this.props;this._values=Object.create(null),s.forEach(function(n){e._values[n]=t[ae(n)]})},a.componentWillReceiveProps=function(e){var t=this,n=this.props;s.forEach(function(o){!ie(e,o)&&ie(n,o)&&(t._values[o]=e[ae(o)])})},a.componentWillUnmount=function(){this.unmounted=!0},a.render=function(){var e=this,n=this.props,o=n.innerRef,i=Object(ee.a)(n,["innerRef"]);u.forEach(function(e){delete i[e]});var a={};return s.forEach(function(t){var n=e.props[t];a[t]=void 0!==n?n:e._values[t]}),r.a.createElement(t,Object(d.a)({},i,a,this.handlers,{ref:o||this.attachRef}))},i}(r.a.Component);c.displayName="Uncontrolled("+a+")",c.propTypes=Object(d.a)({innerRef:function(){}},function(e,t){var n={};return Object.keys(e).forEach(function(e){n[ae(e)]=re}),n}(n)),o.forEach(function(e){c.prototype[e]=function(){var t;return(t=this.inner)[e].apply(t,arguments)}});var p=c;return r.a.forwardRef&&((p=r.a.forwardRef(function(e,t){return r.a.createElement(c,Object(d.a)({},e,{innerRef:t}))})).propTypes=c.propTypes),p.ControlledComponent=t,p.deferControlTo=function(t,o,r){return void 0===o&&(o={}),e(t,Object(d.a)({},n,o),r)},p}(Je,{expanded:"onToggle"}),"navbar");Ze.Brand=we,Ze.Toggle=Xe,Ze.Collapse=Ge,Ze.Text=ve("navbar-text",{Component:"span"});var et=Ze,tt=(n(85),r.a.createContext(null)),nt=n(13),ot=n.n(nt),rt=n(55),it=n.n(rt),at=r.a.createContext(null),lt=r.a.createContext(null),st=function(){},ut=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).state={navContext:null},t.handleSelect=function(e,n){var o=t.props,r=o.onSelect,i=o.parentOnSelect;null!=e&&(r&&r(e,n),i&&i(e,n))},t.handleKeyDown=function(e){var n,o=t.props.onKeyDown;switch(o&&o(e),e.key){case"ArrowLeft":case"ArrowUp":n=t.getNextActiveChild(-1);break;case"ArrowRight":case"ArrowDown":n=t.getNextActiveChild(1);break;default:return}n&&(e.preventDefault(),t.handleSelect(n.dataset.rbEventKey,e),t._needsRefocus=!0)},t.attachRef=function(e){t.listNode=e},t}Object(te.a)(t,e),t.getDerivedStateFromProps=function(e){var t=e.activeKey,n=e.getControlledId,o=e.getControllerId;return{navContext:{role:e.role,activeKey:$e(t),getControlledId:n||st,getControllerId:o||st}}};var n=t.prototype;return n.componentDidUpdate=function(){if(this._needsRefocus&&this.listNode){var e=this.listNode.querySelector("[data-rb-event-key].active");e&&e.focus()}},n.getNextActiveChild=function(e){if(!this.listNode)return null;var t=ot()(this.listNode,"[data-rb-event-key]:not(.disabled)"),n=this.listNode.querySelector(".active"),o=t.indexOf(n);if(-1===o)return null;var r=o+e;return r>=t.length&&(r=0),r<0&&(r=t.length-1),t[r]},n.render=function(){var e=this.props,t=e.as,n=void 0===t?"ul":t,o=(e.onSelect,e.parentOnSelect,e.getControlledId,e.getControllerId,e.activeKey,Object(ee.a)(e,["as","onSelect","parentOnSelect","getControlledId","getControllerId","activeKey"]));return"tablist"===o.role&&(o.onKeyDown=this.handleKeyDown),r.a.createElement(Qe.Provider,{value:this.handleSelect},r.a.createElement(at.Provider,{value:this.state.navContext},r.a.createElement(n,Object(d.a)({},o,{onKeyDown:this.handleKeyDown,ref:this.attachRef}))))},t}(r.a.Component),ct=it()([Qe,lt],function(e,t,n){var o=n.role;return t?{activeKey:t.activeKey,parentOnSelect:e,role:o||"tablist",getControllerId:t.getControllerId,getControlledId:t.getControlledId}:{parentOnSelect:e}},ut),dt=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.className,i=e.children,a=e.as,l=void 0===a?"div":a,s=Object(ee.a)(e,["bsPrefix","className","children","as"]);return n=he(n,"nav-item"),r.a.createElement(l,Object(d.a)({},s,{ref:t,className:oe()(o,n)}),i)});dt.displayName="NavItem";var pt=dt;function ft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mt(e){return!e||"#"===e.trim()}var ht=function(e){function t(t,n){var o;return(o=e.call(this,t,n)||this).handleClick=o.handleClick.bind(ft(o)),o.handleKeyDown=o.handleKeyDown.bind(ft(o)),o}Object(te.a)(t,e);var n=t.prototype;return n.handleClick=function(e){var t=this.props,n=t.disabled,o=t.href,r=t.onClick;(n||mt(o))&&e.preventDefault(),n?e.stopPropagation():r&&r(e)},n.handleKeyDown=function(e){" "===e.key&&(e.preventDefault(),this.handleClick(e))},n.render=function(){var e=this.props,t=e.as,n=void 0===t?"a":t,o=e.disabled,i=e.onKeyDown,a=e.innerRef,l=Object(ee.a)(e,["as","disabled","onKeyDown","innerRef"]);return mt(l.href)&&(l.role=l.role||"button",l.href=l.href||"#"),o&&(l.tabIndex=-1,l["aria-disabled"]=!0),a&&(l.ref=a),r.a.createElement(n,Object(d.a)({},l,{onClick:this.handleClick,onKeyDown:Ie(this.handleKeyDown,i)}))},t}(r.a.Component),gt=r.a.forwardRef(function(e,t){var n=e.active,i=e.className,a=e.tabIndex,l=e.eventKey,s=e.onSelect,u=e.onClick,c=e.as,p=Object(ee.a)(e,["active","className","tabIndex","eventKey","onSelect","onClick","as"]),f=$e(l,p.href),m=Object(o.useContext)(Qe),h=Object(o.useContext)(at),g=n;h&&(p.role||"tablist"!==h.role||(p.role="tab"),p["data-rb-event-key"]=f,p.id=h.getControllerId(f),p["aria-controls"]=h.getControlledId(f),g=null==n&&null!=f?h.activeKey===f:n),"tab"===p.role&&(p.tabIndex=g?a:-1,p["aria-selected"]=g);var b=Ve(function(e){u&&u(e),null!=f&&(s&&s(f,e),m&&m(f,e))});return r.a.createElement(c,Object(d.a)({},p,{ref:t,onClick:b,className:oe()(i,g&&"active")}))});gt.defaultProps={disabled:!1};var bt=gt,vt={disabled:!1,as:ht},yt=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.disabled,i=e.className,a=e.href,l=e.eventKey,s=e.onSelect,u=e.as,c=Object(ee.a)(e,["bsPrefix","disabled","className","href","eventKey","onSelect","as"]);return n=he(n,"nav-link"),r.a.createElement(bt,Object(d.a)({},c,{href:a,ref:t,eventKey:l,as:u,disabled:o,onSelect:s,className:oe()(i,n,o&&"disabled")}))});yt.displayName="NavLink",yt.defaultProps=vt;var wt=yt,xt=r.a.forwardRef(function(e,t){var n,i,a,l=se(e,{activeKey:"onSelect"}),s=l.as,u=void 0===s?"div":s,c=l.bsPrefix,p=l.variant,f=l.fill,m=l.justify,h=l.navbar,g=l.className,b=l.children,v=l.activeKey,y=Object(ee.a)(l,["as","bsPrefix","variant","fill","justify","navbar","className","children","activeKey"]);c=he(c,"nav");var w=Object(o.useContext)(Be),x=Object(o.useContext)(tt);return w?(i=w.bsPrefix,h=null==h||h):x&&(a=x.cardHeaderBsPrefix),r.a.createElement(ct,Object(d.a)({as:u,ref:t,activeKey:v,className:oe()(g,(n={},n[c]=!h,n[i+"-nav"]=h,n[a+"-"+p]=!!a,n[c+"-"+p]=!!p,n[c+"-fill"]=f,n[c+"-justified"]=m,n))},y),b)});xt.displayName="Nav",xt.defaultProps={justify:!1,fill:!1},xt.Item=pt,xt.Link=wt;var Et=xt,Ct=n(56),kt=n.n(Ct),Tt=n(37),St=n.n(Tt),Dt=r.a.forwardRef(function(e,t){var n=e.bsPrefix,a=e.className,l=e.alignRight,s=e.rootCloseEvent,u=e.flip,c=e.popperConfig,p=e.show,f=e.as,m=void 0===f?"div":f,h=Object(ee.a)(e,["bsPrefix","className","alignRight","rootCloseEvent","flip","popperConfig","show","as"]),g=Object(o.useContext)(Be),b=he(n,"dropdown-menu");return r.a.createElement(St.a,{ref:t,flip:u,show:p,alignEnd:l,usePopper:!g,popperConfig:c,rootCloseEvent:s},function(e){var t=e.placement,n=e.show,o=e.alignEnd,l=e.close,s=e.props;!function(e){var t=e.ref;e.ref=t.__wrapped||(t.__wrapped=function(e){return t(Object(i.findDOMNode)(e))})}(s),"string"!=typeof m&&(s.show=n,s.close=l,s.alignRight=o);var u=h.style;return t&&(u=Object(d.a)({},u,s.style),h["x-placement"]=t),r.a.createElement(m,Object(d.a)({},h,s,{style:u,className:oe()(a,b,n&&"show",o&&b+"-right")}))})});Dt.displayName="DropdownMenu",Dt.defaultProps={alignRight:!1,flip:!0};var Rt=Dt,Mt=(n(94),n(38)),Ot=n.n(Mt),Pt=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.variant,i=e.size,a=e.active,l=e.className,s=e.block,u=e.type,c=e.as,p=Object(ee.a)(e,["bsPrefix","variant","size","active","className","block","type","as"]),f=he(n,"btn"),m=oe()(l,f,a&&"active",f+"-"+o,s&&f+"-block",i&&f+"-"+i);if(p.href)return r.a.createElement(ht,Object(d.a)({},p,{as:c,innerRef:t,className:oe()(m,p.disabled&&"disabled")}));var h=c||"button";return t&&(p.ref=t),r.a.createElement(h,Object(d.a)({},p,{type:u,className:m}))});Pt.displayName="Button",Pt.defaultProps={variant:"primary",active:!1,disabled:!1,type:"button"};var Nt=Pt,_t=function(e){function t(){return e.apply(this,arguments)||this}return Object(te.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.bsPrefix,n=e.split,o=e.className,a=e.children,l=e.childBsPrefix,s=e.as,u=Object(ee.a)(e,["bsPrefix","split","className","children","childBsPrefix","as"]);return void 0!==l&&(u.bsPrefix=l),r.a.createElement(Ot.a,null,function(e){var l=e.toggle,c=e.props;return r.a.createElement(s,Object(d.a)({onClick:l,className:oe()(o,t,n&&t+"-split")},function(e){var t=e.ref;return e.ref=t.__wrapped||(t.__wrapped=function(e){return t(Object(i.findDOMNode)(e))}),e}(c),u),a)})},t}(r.a.Component);_t.defaultProps={as:Nt};var Lt=ge(_t,"dropdown-toggle"),At={as:ht,disabled:!1},It=r.a.forwardRef(function(e,t){var n=e.bsPrefix,i=e.className,a=e.children,l=e.eventKey,s=e.disabled,u=e.href,c=e.onClick,p=e.onSelect,f=e.active,m=e.as,h=Object(ee.a)(e,["bsPrefix","className","children","eventKey","disabled","href","onClick","onSelect","active","as"]),g=he(n,"dropdown-item"),b=Object(o.useContext)(Qe),v=(Object(o.useContext)(at)||{}).activeKey,y=$e(l,u),w=null==f&&null!=y?$e(v)===y:f,x=Ve(function(e){s||(c&&c(e),b&&b(y,e),p&&p(y,e))});return r.a.createElement(m,Object(d.a)({},h,{ref:t,href:u,disabled:s,className:oe()(i,g,w&&"active",s&&"disabled"),onClick:x}),a)});It.displayName="DropdownItem",It.defaultProps=At;var zt=It,Ft=r.a.forwardRef(function(e,t){var n=se(e,{show:"onToggle"}),i=n.bsPrefix,a=n.drop,l=n.show,s=n.className,u=n.alignRight,c=n.onSelect,p=n.onToggle,f=n.focusFirstItemOnShow,m=n.as,h=void 0===m?"div":m,g=(n.navbar,Object(ee.a)(n,["bsPrefix","drop","show","className","alignRight","onSelect","onToggle","focusFirstItemOnShow","as","navbar"])),b=Object(o.useContext)(Qe),v=he(i,"dropdown"),y=Ve(function(e,t,n){void 0===n&&(n=t.type),t.currentTarget===document&&(n="rootClose"),p(e,t,{source:n})}),w=Ve(function(e,t){b&&b(e,t),c&&c(e,t),y(!1,t,"select")});return r.a.createElement(Qe.Provider,{value:w},r.a.createElement(kt.a.ControlledComponent,{drop:a,show:l,alignEnd:u,onToggle:y,focusFirstItemOnShow:f,itemSelector:"."+v+"-item:not(.disabled):not(:disabled)"},function(e){var n=e.props;return r.a.createElement(h,Object(d.a)({},g,n,{ref:t,className:oe()(s,l&&"show",(!a||"down"===a)&&v,"up"===a&&"dropup","right"===a&&"dropright","left"===a&&"dropleft")}))}))});Ft.displayName="Dropdown",Ft.defaultProps={navbar:!1},Ft.Toggle=Lt,Ft.Menu=Rt,Ft.Item=zt,Ft.Header=ve("dropdown-header",{defaultProps:{role:"heading"}}),Ft.Divider=ve("dropdown-divider",{defaultProps:{role:"separator"}});var jt=Ft,Ht=function(e){function t(){return e.apply(this,arguments)||this}return Object(te.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.title,o=e.children,i=e.bsPrefix,a=e.rootCloseEvent,l=e.menuRole,s=e.disabled,u=e.active,c=Object(ee.a)(e,["id","title","children","bsPrefix","rootCloseEvent","menuRole","disabled","active"]);return r.a.createElement(jt,Object(d.a)({},c,{as:pt}),r.a.createElement(jt.Toggle,{id:t,eventKey:null,active:u,disabled:s,childBsPrefix:i,as:wt},n),r.a.createElement(jt.Menu,{role:l,rootCloseEvent:a},o))},t}(r.a.Component);Ht.Item=jt.Item,Ht.Divider=jt.Divider,Ht.Header=jt.Header;var Ut,Bt=Ht,Wt=function(e){return r.a.forwardRef(function(t,n){return r.a.createElement("div",Object(d.a)({},t,{ref:n,className:oe()(t.className,e)}))})},Gt=((Ut={})[Me]="show",Ut[Oe]="show",Ut),qt=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).handleEnter=function(e){Le(e),t.props.onEnter&&t.props.onEnter(e)},t}return Object(te.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,o=Object(ee.a)(e,["className","children"]);return r.a.createElement(_e,Object(d.a)({addEndListener:ke.a},o,{onEnter:this.handleEnter}),function(e,o){return r.a.cloneElement(n,Object(d.a)({},o,{className:oe()("fade",t,n.props.className,Gt[e])}))})},t}(r.a.Component);qt.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1};var Vt=qt,Yt={label:c.a.string.isRequired,onClick:c.a.func},Xt=r.a.forwardRef(function(e,t){var n=e.label,o=e.onClick,i=e.className,a=Object(ee.a)(e,["label","onClick","className"]);return r.a.createElement("button",Object(d.a)({ref:t,type:"button",className:oe()("close",i),onClick:o},a),r.a.createElement("span",{"aria-hidden":"true"},"×"),r.a.createElement("span",{className:"sr-only"},n))});Xt.displayName="CloseButton",Xt.propTypes=Yt,Xt.defaultProps={label:"Close"};var Kt=Xt,$t={show:!0,transition:Vt,closeLabel:"Close alert"},Qt={show:"onClose"},Jt=r.a.forwardRef(function(e,t){var n=se(e,Qt),o=n.bsPrefix,i=n.show,a=n.closeLabel,l=n.className,s=n.children,u=n.variant,c=n.onClose,p=n.dismissible,f=n.transition,m=Object(ee.a)(n,["bsPrefix","show","closeLabel","className","children","variant","onClose","dismissible","transition"]),h=he(o,"alert"),g=Ve(function(e){c(!1,e)}),b=r.a.createElement("div",Object(d.a)({role:"alert"},f?m:void 0,{className:oe()(l,h,u&&h+"-"+u,p&&h+"-dismissible")}),p&&r.a.createElement(Kt,{onClick:g,label:a}),s);return f?r.a.createElement(f,Object(d.a)({unmountOnExit:!0,ref:t},m,{in:i}),b):i?b:null}),Zt=Wt("h4");Zt.displayName="DivStyledAsH4",Jt.displayName="Alert",Jt.defaultProps=$t,Jt.Link=ve("alert-link",{Component:ht}),Jt.Heading=ve("alert-heading",{Component:Zt});var en=Jt,tn=n(23),nn=n.n(tn);class on{static Sho(e,t){let n=new Date,o=n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()+" | "+e;nn.a.success(o,t,{timeOut:3e3,progressBar:!0,closeButton:!0})}static MesOk(e,t){let n=new Date,o=n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()+" | "+e;nn.a.success(o,t,{closeButton:!0,progressBar:!0})}static MesOk_NoHide(e,t){let n=new Date,o=n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()+" | "+e;nn.a.success(o,t,{timeOut:-1,closeButton:!0,progressBar:!0})}static MesEr(e,t){let n=new Date,o=n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()+" | "+e;nn.a.error(o,t,{timeOut:-1,closeButton:!0})}}function rn(e,t,n){return G("ApiQuery","query to "+e),fetch(e,{method:t,headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(n)}).then(function(e){return e.json()}).catch(function(){throw on.MesEr("Api query error","ApiQuery"),""})}class an{constructor(){this.URL_Auth="api/Auth/Auth",this.URL_UserInfo="api/Auth/UserInfo",this.URL_SetUserInfo="api/Auth/SetUser",this.AuthCoockieName="AuthToken"}async AuthAsync(e,t){return await rn(this.URL_Auth,"Post",{Login:e,Password:t}).then(function(e){return e.Successe?this._SetTocken(e.Token):this._SetTocken(""),e}.bind(this))}Logout(){this._SetTocken("")}async GetUserInfoAsync(){return await rn(this.URL_UserInfo,"Post").then(function(e){return e.Successe?this._SetTocken(e.Token):this._SetTocken(""),e}.bind(this))}async SetUserInfo(e){return await rn(this.URL_SetUserInfo,"Post",{Password:e}).then(function(e){return e}.bind(this))}IsAuth(){return""!=this._GetTocken()}_getCookie(e){let t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):""}_GetTocken(){return this._getCookie(this.AuthCoockieName)}_SetTocken(e){document.cookie=this.AuthCoockieName+"="+e}}var ln=r.a.createContext({controlId:void 0}),sn=r.a.forwardRef(function(e,t){var n=e.bsPrefix,i=e.className,a=e.children,l=e.controlId,s=e.as,u=void 0===s?"div":s,c=Object(ee.a)(e,["bsPrefix","className","children","controlId","as"]);n=he(n,"form-group");var p=Object(o.useMemo)(function(){return{controlId:l}},[l]);return r.a.createElement(ln.Provider,{value:p},r.a.createElement(u,Object(d.a)({},c,{ref:t,className:oe()(i,n)}),a))});sn.displayName="FormGroup";var un=sn,cn={type:c.a.string.isRequired,as:c.a.elementType},dn=r.a.forwardRef(function(e,t){var n=e.as,o=void 0===n?"div":n,i=e.className,a=e.type,l=Object(ee.a)(e,["as","className","type"]);return r.a.createElement(o,Object(d.a)({},l,{ref:t,className:oe()(i,a&&a+"-feedback")}))});dn.displayName="Feedback",dn.propTypes=cn,dn.defaultProps={type:"valid"};var pn=dn,fn=r.a.forwardRef(function(e,t){var n,i,a=e.bsPrefix,l=e.type,s=e.size,u=e.id,c=e.className,p=e.isValid,f=e.isInvalid,m=e.plaintext,h=e.readOnly,g=e.as,b=void 0===g?"input":g,v=Object(ee.a)(e,["bsPrefix","type","size","id","className","isValid","isInvalid","plaintext","readOnly","as"]),y=Object(o.useContext)(ln).controlId;if(a=he(a,"form-control"),m)(i={})[a+"-plaintext"]=!0,n=i;else if("file"===l){var w;(w={})[a+"-file"]=!0,n=w}else{var x;(x={})[a]=!0,x[a+"-"+s]=s,n=x}return r.a.createElement(b,Object(d.a)({},v,{type:l,ref:t,readOnly:h,id:u||y,className:oe()(c,n,p&&"is-valid",f&&"is-invalid")}))});fn.displayName="FormControl",fn.Feedback=pn;var mn=fn,hn=r.a.forwardRef(function(e,t){var n=e.id,i=e.bsPrefix,a=e.className,l=e.isValid,s=e.isInvalid,u=e.isStatic,c=Object(ee.a)(e,["id","bsPrefix","className","isValid","isInvalid","isStatic"]);i=he(i,"form-check-input");var p=Object(o.useContext)(ln),f=p.controlId,m=p.custom;return r.a.createElement("input",Object(d.a)({},c,{ref:t,id:n||f,className:oe()(a,!m&&i,m&&"custom-control-input",l&&"is-valid",s&&"is-invalid",u&&"position-static")}))});hn.displayName="FormCheckInput",hn.defaultProps={type:"checkbox"};var gn=hn,bn=r.a.forwardRef(function(e,t){var n=e.bsPrefix,i=e.className,a=e.htmlFor,l=Object(ee.a)(e,["bsPrefix","className","htmlFor"]);n=he(n,"form-check-label");var s=Object(o.useContext)(ln),u=s.controlId,c=s.custom;return r.a.createElement("label",Object(d.a)({},l,{ref:t,htmlFor:a||u,className:oe()(i,!c&&n,c&&"custom-control-label")}))});bn.displayName="FormCheckLabel",bn.defaultProps={type:"checkbox"};var vn=bn,yn=r.a.forwardRef(function(e,t){var n=e.id,i=e.bsPrefix,a=e.inline,l=e.disabled,s=e.isValid,u=e.isInvalid,c=e.feedback,p=e.className,f=e.style,m=e.title,h=e.type,g=e.label,b=e.children,v=e.custom,y=Object(ee.a)(e,["id","bsPrefix","inline","disabled","isValid","isInvalid","feedback","className","style","title","type","label","children","custom"]);i=he(i,"form-check");var w=Object(o.useContext)(ln).controlId,x=Object(o.useMemo)(function(){return{controlId:n||w,custom:v}},[w,v,n]),E=null!=g&&!1!==g&&!b,C=r.a.createElement(gn,Object(d.a)({},y,{type:h,ref:t,isValid:s,isInvalid:u,isStatic:!E,disabled:l}));return r.a.createElement(ln.Provider,{value:x},r.a.createElement("div",{style:f,className:oe()(p,!v&&i,v&&"custom-control custom-"+h,a&&(v?"custom-control":i)+"-inline")},b||r.a.createElement(r.a.Fragment,null,C,E&&r.a.createElement(vn,{title:m},g),(s||u)&&r.a.createElement(pn,{type:s?"valid":"invalid"},c))))});yn.displayName="FormCheck",yn.defaultProps={type:"checkbox",inline:!1,disabled:!1,isValid:!1,isInvalid:!1,title:""},yn.Input=gn,yn.Label=vn;var wn=yn,xn=["xl","lg","md","sm","xs"],En=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.className,i=e.as,a=void 0===i?"div":i,l=Object(ee.a)(e,["bsPrefix","className","as"]),s=he(n,"col"),u=[],c=[];return xn.forEach(function(e){var t,n,o,r=l[e];if(delete l[e],null!=r&&"object"==typeof r){var i=r.span;t=void 0===i||i,n=r.offset,o=r.order}else t=r;var a="xs"!==e?"-"+e:"";null!=t&&u.push(!0===t?""+s+a:""+s+a+"-"+t),null!=o&&c.push("order"+a+"-"+o),null!=n&&c.push("offset"+a+"-"+n)}),u.length||u.push(s),r.a.createElement(a,Object(d.a)({},l,{ref:t,className:oe.a.apply(void 0,[o].concat(u,c))}))});En.displayName="Col";var Cn=En,kn=r.a.forwardRef(function(e,t){var n=e.bsPrefix,i=e.column,a=e.srOnly,l=e.className,s=e.htmlFor,u=Object(ee.a)(e,["bsPrefix","column","srOnly","className","htmlFor"]),c=Object(o.useContext)(ln).controlId;n=he(n,"form-label");var p=oe()(l,n,a&&"sr-only",i&&"col-form-label");return s=s||c,i?r.a.createElement(Cn,Object(d.a)({as:"label",className:p,htmlFor:s},u)):r.a.createElement("label",Object(d.a)({ref:t,className:p,htmlFor:s},u))});kn.displayName="FormLabel",kn.defaultProps={column:!1,srOnly:!1};var Tn=kn,Sn=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.className,i=e.as,a=void 0===i?"small":i,l=e.muted,s=Object(ee.a)(e,["bsPrefix","className","as","muted"]);return n=he(n,"form-text"),r.a.createElement(a,Object(d.a)({},s,{ref:t,className:oe()(o,n,l&&"text-muted")}))});Sn.displayName="FormText";var Dn=Sn,Rn=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.inline,i=e.className,a=e.validated,l=e.as,s=void 0===l?"form":l,u=Object(ee.a)(e,["bsPrefix","inline","className","validated","as"]);return n=he(n,"form"),r.a.createElement(s,Object(d.a)({},u,{ref:t,className:oe()(i,a&&"was-validated",o&&n+"-inline")}))});Rn.displayName="Form",Rn.defaultProps={inline:!1},Rn.Row=ve("form-row"),Rn.Group=un,Rn.Control=mn,Rn.Check=wn,Rn.Label=Tn,Rn.Text=Dn;var Mn=Rn;class On extends X{constructor(e){super(e,"UserControl"),this.authServices=new an,this.state={IsAuth:this.authServices.IsAuth(),CurrentUser:null!=this.GlobalState.User?this.GlobalState.User:this.UserInfo(null)},this.authServices.IsAuth()&&this.authServices.GetUserInfoAsync().then(function(e){e.Successe?this.GlobalState.User=this.UserInfo(e.User):(this.GlobalState.User=this.UserInfo(null),on.MesEr(e.ResMessage,"Auth")),this.setState({IsAuth:this.authServices.IsAuth(),CurrentUser:this.GlobalState.User}),this.EventRegister.EventAction("OnAuthChange")}.bind(this))}UserInfo(e){return null==e?{Login:"",IsAdmin:!1}:{Login:e.Login,IsAdmin:e.IsAdmin}}AuthClick(){let e=this.refs.Login.value,t=this.refs.Password.value;this.authServices.AuthAsync(e,t).then(function(e){e.Successe?this.GlobalState.User=this.UserInfo(e.User):(this.GlobalState.User=this.UserInfo(null),on.MesEr(e.ResMessage,"Auth")),this.setState({IsAuth:this.authServices.IsAuth(),CurrentUser:this.GlobalState.User}),this.EventRegister.EventAction("OnAuthChange")}.bind(this))}LogoutClick(){this.authServices.Logout(),this.GlobalState.User=this.UserInfo(null),this.setState({IsAuth:this.authServices.IsAuth(),CurrentUser:this.GlobalState.User}),this.EventRegister.EventAction("OnAuthChange")}render(){this.state;return r.a.createElement("div",null,this.state.IsAuth?r.a.createElement("div",null,r.a.createElement(en,{variant:"success",style:{margin:0,marginBottom:10,padding:0}},"Пользователь: ",this.state.CurrentUser.Login,"."),this.state.CurrentUser.IsAdmin?r.a.createElement(en,{variant:"success",style:{margin:0,marginBottom:10,padding:0}},"Вы администратор."):null,r.a.createElement(Nt,{as:Z,to:"/User",variant:"outline-secondary",style:{marginBottom:10}},"Изменить пароль"),r.a.createElement(Nt,{onClick:this.LogoutClick,variant:"danger"},"Выход")):r.a.createElement("div",null,r.a.createElement(Mn.Control,{ref:"Login",type:"text",placeholder:"Enter login",style:{marginBottom:10}}),r.a.createElement(Mn.Control,{ref:"Password",type:"password",placeholder:"Password",style:{marginBottom:10}}),r.a.createElement(Nt,{onClick:this.AuthClick,variant:"success"},"Авторизация")))}}var Pn=n(54),Nn=n.n(Pn);class _n extends X{constructor(e){super(e,"MenuControl"),this.authServices=new an,this.state={IsAuth:this.authServices.IsAuth(),IsAdmin:null!=this.GlobalState.User&&this.GlobalState.User.IsAdmin},this.EventRegister.RegisterListener("OnAuthChange",this)}Event_OnAuthChange(){this.setState({IsAuth:this.authServices.IsAuth(),IsAdmin:this.GlobalState.User.IsAdmin})}render(){return r.a.createElement("div",null,r.a.createElement(et,{bg:"dark",variant:"dark"},r.a.createElement(et.Brand,null,r.a.createElement("img",{alt:"",src:Nn.a,width:"30",height:"30",className:"d-inline-block align-top"})," WebFileServer"),r.a.createElement(Et,null,r.a.createElement(Et.Link,{as:Z,to:"/"},"Файлы"),r.a.createElement(Bt,{title:this.state.IsAuth?"Личный кабинет":"Авторизация"},r.a.createElement(On,{ref:"UserControl"})),this.state.IsAuth&&this.state.IsAdmin?r.a.createElement(Et.Link,{as:Z,to:"/Admin"},"Администрирование"):null)),this.state.IsAuth?null:r.a.createElement(en,{variant:"warning"},r.a.createElement("b",null,"Вы не авторизованы.")))}}class Ln extends X{constructor(e){super(e,"Header")}OnRegistersClick(){this.GlobalState,X.controlRegister,this.EventRegister}render(){return r.a.createElement("div",{id:"AppHeader"},r.a.createElement("p",null,"Header"),r.a.createElement("button",{className:"RedButton",onClick:this.OnRegistersClick},"Registers"),r.a.createElement(_n,{ref:"MenuControl"}))}}class An extends X{constructor(e){super(e,"Footer")}render(){return r.a.createElement("div",{id:"AppFooter"},r.a.createElement("p",null,"Footer"))}}var In=n(62),zn=n.n(In),Fn={},jn=0,Hn=function(e,t){var n=""+t.end+t.strict+t.sensitive,o=Fn[n]||(Fn[n]={});if(o[e])return o[e];var r=[],i={re:zn()(e,r,t),keys:r};return jn<1e4&&(o[e]=i,jn++),i},Un=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var o=t,r=o.path,i=o.exact,a=void 0!==i&&i,l=o.strict,s=void 0!==l&&l,u=o.sensitive,c=void 0!==u&&u;if(null==r)return n;var d=Hn(r,{end:a,strict:s,sensitive:c}),p=d.re,f=d.keys,m=p.exec(e);if(!m)return null;var h=m[0],g=m.slice(1),b=e===h;return a&&!b?null:{path:r,url:"/"===r&&""===h?"/":h,isExact:b,params:f.reduce(function(e,t,n){return e[t.name]=g[n],e},{})}};var Bn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){P()(this.context.router,"You should not use <Switch> outside a <Router>")},t.prototype.componentWillReceiveProps=function(e){s()(!(e.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),s()(!(!e.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,o=void 0,i=void 0;return r.a.Children.forEach(t,function(t){if(null==o&&r.a.isValidElement(t)){var a=t.props,l=a.path,s=a.exact,u=a.strict,c=a.sensitive,d=a.from,p=l||d;i=t,o=Un(n.pathname,{path:p,exact:s,strict:u,sensitive:c},e.match)}}),o?r.a.cloneElement(i,{location:n,computedMatch:o}):null},t}(r.a.Component);Bn.contextTypes={router:c.a.shape({route:c.a.object.isRequired}).isRequired},Bn.propTypes={children:c.a.node,location:c.a.object};var Wn=Bn,Gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function qn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Vn=function(e){return 0===r.a.Children.count(e)},Yn=function(e){function t(){var n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=o=qn(this,e.call.apply(e,[this].concat(i))),o.state={match:o.computeMatch(o.props,o.context.router)},qn(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){return{router:Gn({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},t.prototype.computeMatch=function(e,t){var n=e.computedMatch,o=e.location,r=e.path,i=e.strict,a=e.exact,l=e.sensitive;if(n)return n;P()(t,"You should not use <Route> or withRouter() outside a <Router>");var s=t.route,u=(o||s.location).pathname;return Un(u,{path:r,strict:i,exact:a,sensitive:l},s.match)},t.prototype.componentWillMount=function(){s()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),s()(!(this.props.component&&this.props.children&&!Vn(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),s()(!(this.props.render&&this.props.children&&!Vn(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){s()(!(e.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),s()(!(!e.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,o=t.component,i=t.render,a=this.context.router,l=a.history,s=a.route,u=a.staticContext,c={match:e,location:this.props.location||s.location,history:l,staticContext:u};return o?e?r.a.createElement(o,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Vn(n)?r.a.Children.only(n):null},t}(r.a.Component);Yn.propTypes={computedMatch:c.a.object,path:c.a.string,exact:c.a.bool,strict:c.a.bool,sensitive:c.a.bool,component:c.a.func,render:c.a.func,children:c.a.oneOfType([c.a.func,c.a.node]),location:c.a.object},Yn.contextTypes={router:c.a.shape({history:c.a.object.isRequired,route:c.a.object.isRequired,staticContext:c.a.object})},Yn.childContextTypes={router:c.a.object.isRequired};var Xn=Yn,Kn=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.noGutters,i=e.as,a=void 0===i?"div":i,l=e.className,s=Object(ee.a)(e,["bsPrefix","noGutters","as","className"]),u=he(n,"row");return r.a.createElement(a,Object(d.a)({ref:t},s,{className:oe()(l,u,o&&"no-gutters")}))});Kn.defaultProps={noGutters:!1};var $n=Kn;function Qn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Jn{}Qn(Jn,"RooDirectoryID",-1),Qn(Jn,"upload_chunk_size",1048576);var Zn=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.active,i=e.className,a=e.as,l=void 0===a?"li":a,s=Object(ee.a)(e,["bsPrefix","active","className","as"]),u=he(n,"breadcrumb-item"),c=s.href,p=s.title,f=s.target,m=Object(ee.a)(s,["href","title","target"]),h={href:c,title:p,target:f};return r.a.createElement(l,{ref:t,className:oe()(u,i,{active:o}),"aria-current":o?"page":void 0},o?r.a.createElement("span",Object(d.a)({},m,{className:oe()({active:o})})):r.a.createElement(ht,Object(d.a)({},m,h)))});Zn.displayName="BreadcrumbItem",Zn.defaultProps={active:!1};var eo=Zn,to=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.className,i=e.listProps,a=e.children,l=e.label,s=e.as,u=void 0===s?"nav":s,c=Object(ee.a)(e,["bsPrefix","className","listProps","children","label","as"]),p=he(n,"breadcrumb");return r.a.createElement(u,Object(d.a)({"aria-label":l,className:o,ref:t},c),r.a.createElement("ol",Object(d.a)({},i,{className:oe()(p,i.className)}),a))});to.displayName="Breadcrumb",to.defaultProps={label:"breadcrumb",listProps:{}},to.Item=eo;var no=to,oo=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.size,i=e.toggle,a=e.vertical,l=e.className,s=e.as,u=void 0===s?"div":s,c=Object(ee.a)(e,["bsPrefix","size","toggle","vertical","className","as"]),p=he(n,"btn-group"),f=p;return a&&(f=p+"-vertical"),r.a.createElement(u,Object(d.a)({},c,{ref:t,className:oe()(l,f,o&&p+"-"+o,i&&p+"-toggle")}))});oo.displayName="ButtonGroup",oo.defaultProps={vertical:!1,toggle:!1,role:"group"};var ro=oo,io=ge(function(e){function t(){return e.apply(this,arguments)||this}return Object(te.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.bsPrefix,n=e.className,o=e.striped,i=e.bordered,a=e.borderless,l=e.hover,s=e.size,u=e.variant,c=e.responsive,p=Object(ee.a)(e,["bsPrefix","className","striped","bordered","borderless","hover","size","variant","responsive"]),f=oe()(t,n,u&&t+"-"+u,s&&t+"-"+s,o&&t+"-striped",i&&t+"-bordered",a&&t+"-borderless",l&&t+"-hover"),m=r.a.createElement("table",Object(d.a)({},p,{className:f}));if(c){var h=t+"-responsive";return"string"==typeof c&&(h=h+"-"+c),r.a.createElement("div",{className:h},m)}return m},t}(r.a.Component),"table");class ao{constructor(){this.URL_DirectoryItems="api/Explorer/GetDirectoryItems?ID=",this.URL_ScanDirectory="api/Explorer/ScanDirectory?ID=",this.URL_Delete="api/Explorer/DeleteFile",this.URL_Move="api/Explorer/MoveElement",this.URL_Download="api/Explorer/GetFile?ID=",this.URL_CreateDirectory="api/Explorer/CreateDirectory?"}async DirectoryGetItemsAsync(e){let t=this.URL_DirectoryItems+e;return await rn(t,"Get")}async ScanDirectoryAsync(e){let t=this.URL_ScanDirectory+e;return await rn(t,"Get")}async DeleteAsync(e){return await rn(this.URL_Delete,"POST",{ID:e})}async MoveAsync(e,t){return await rn(this.URL_Move,"POST",{ID:e,NewParent:t})}OpenDownload(e){let t=this.URL_Download+e;window.open(t,"_blank")}async CreateDirectoryAsync(e,t){return await rn(this.URL_CreateDirectory,"POST",{ParentID:t,Name:e})}}class lo extends X{constructor(e){super(e,"FileExplorerRow"),this.state={Data:this.props.data,ShoSelectColumn:this.props.ShoSelectColumn}}componentWillReceiveProps(e){this.props=e,null!=this.refs.Select&&(this.refs.Select.checked=!1),this.setState({Data:this.props.data,ShoSelectColumn:this.props.ShoSelectColumn})}GetDirectory(){return this.GlobalState[this.props.CurrentDirectoryName]}GetData(){return this.state.Data}GetDataID(){return this.state.Data.ID}IsCheked(){return null!=this.refs.Select&&this.refs.Select.checked}OnDirectoryClick(){this.GetDirectory().ID=this.GetDataID(),this.EventRegister.EventAction(this.GetDirectory().ChangeEvent)}render(){let e=this.state,t=e.Data;return r.a.createElement("tr",null,r.a.createElement("td",null,t.ID),e.ShoSelectColumn?r.a.createElement("td",null,r.a.createElement(Mn.Check,{ref:"Select"})):null,"RootDirectory"===t.Type||"Directory"===t.Type?r.a.createElement("td",null,r.a.createElement(Z,{to:`/?ID=${t.ID}`},r.a.createElement(Nt,{id:t.ID,onClick:this.OnDirectoryClick,variant:"light"},t.Name))):r.a.createElement("td",null,t.Name),r.a.createElement("td",null,t.Type),-1!==t.Size?r.a.createElement("td",null,t.Size):r.a.createElement("td",null))}}var so=n(59),uo=n.n(so),co=n(60),po=n.n(co);class fo extends X{constructor(e){super(e,"FileExplorerControl"),this.state={data:{},ShoSelectColumn:this.GetDirectory().ShoSelectColumn},this.ChildRows=[],this.NavigationElem=[],this.fileExplorerServices=new ao,this.SortColumnProperty="",this.SortDecAsc=0,this.GetDirectory().ExplorerControl=this,this.EventRegister.RegisterListener(this.GetDirectory().ChangeEvent,this),this.EventRegister.RegisterListener("OnAuthChange",this),this.Event_OnItemsChange_Main()}componentWillUnmount(){super.componentWillUnmount(),this.GetDirectory().ExplorerControl=null}GetDirectory(){return this.GlobalState[this.props.CurrentDirectoryName]}Event_OnItemsChange_Main(){this.LoadDirectory()}Event_OnItemsChange_Move(){this.LoadDirectory()}Event_OnAuthChange(){this.LoadDirectory()}OnBackClick(e){this.Log("OnBackClick "+this.state.data.ParentID),this.GetDirectory().ID=this.state.data.ParentID,this.EventRegister.EventAction(this.GetDirectory().ChangeEvent)}OnSortClick(e){let t=e.target.attributes[0].value;this.SortColumnProperty!=t?(this.SortDecAsc=1,this.SortColumnProperty=t):this.SortDecAsc=-this.SortDecAsc;let n=this.state.data;n.items.sort(function(e,t){var n,o,r=arguments.length;if(0===r)return(e,t)=>(e<t?-1:e>t&&1)||0;if(1===r)switch(typeof e){case"number":return e<0?(e,t)=>(e<t?1:e>t&&-1)||0:(e,t)=>(e<t?-1:e>t&&1)||0;case"string":return(t,n)=>(t[e]<n[e]?-1:t[e]>n[e]&&1)||0}if(2===r&&"number"==typeof t)return t<0?(t,n)=>(t[e]<n[e]?1:t[e]>n[e]&&-1)||0:(t,n)=>(t[e]<n[e]?-1:t[e]>n[e]&&1)||0;if("object"==typeof e)n=Object.getOwnPropertyNames(e),o=n.map(t=>e[t]),r=n.length;else{n=new Array(r),o=new Array(r);for(let e=r;e--;)n[e]=arguments[e],o[e]=1}return(e,t)=>{for(let i=0;i<r;i++){if(e[n[i]]<t[n[i]])return o[i];if(e[n[i]]>t[n[i]])return-o[i]}return 0}}(t,this.SortDecAsc)),this.setState({data:n})}OnScanDirClick(e){let t=this.GetDirectory().ID;this.Log("ScanDirectory "+t),this.fileExplorerServices.ScanDirectoryAsync(t).then(function(e){this.EventRegister.EventAction(this.GetDirectory().ChangeEvent)}.bind(this))}LoadDirectory(){let e=this.GetDirectory().ID;this.Log("LoadDirectory "+e),this.fileExplorerServices.DirectoryGetItemsAsync(e).then(function(t){this.setState({data:t,ShoSelectColumn:!(!this.GetDirectory().ShoSelectColumn||-1==e)})}.bind(this))}GetSelectedID(){return this.ChildRows.filter(e=>e.IsCheked()).map(e=>e.GetDataID())}OnDirNabigationClick(e){let t=e.target.getAttribute("data-dir-id");t!==this.GetDirectory().ID&&(this.GetDirectory().ID=t,this.EventRegister.EventAction(this.GetDirectory().ChangeEvent))}render(){let e=this.state.data;return"{}"!==JSON.stringify(e)?(this.Log("Data"),r.a.createElement("div",null,r.a.createElement(no,null,e.Path.map(function(e,t,n){return[r.a.createElement("li",{ref:e=>{null!=e?this.NavigationElem[t]=e:this.NavigationElem.splice(t,1)},key:t,className:e.ID!==n[n.length-1].ID?"breadcrumb-item":"breadcrumb-item active"},e.ID!==n[n.length-1].ID?r.a.createElement(Z,{to:"/?ID="+e.ID,"data-dir-id":e.ID,onClick:this.OnDirNabigationClick,role:"button"},e.Name):r.a.createElement("span",{className:"active"},e.Name))]}.bind(this))),r.a.createElement(ro,{style:{marginBottom:"1rem"}},r.a.createElement(Nt,{onClick:this.LoadDirectory,variant:"secondary"},r.a.createElement("img",{src:uo.a,width:"20",height:"20"})," Обновить"),r.a.createElement(Nt,{onClick:this.OnScanDirClick,variant:"secondary"},r.a.createElement("img",{src:po.a,width:"20",height:"20"})," Сканировать")),r.a.createElement("br",null),r.a.createElement(io,{striped:!0,bordered:!0,hover:!0,variant:"dark"},r.a.createElement("thead",null,r.a.createElement("tr",null,r.a.createElement("th",null,r.a.createElement(Nt,{property:"ID",onClick:this.OnSortClick,variant:"outline-light"},"ID")),this.state.ShoSelectColumn?r.a.createElement("th",null,r.a.createElement(Nt,{disabled:!0,variant:"outline-light"},"Select")):null,r.a.createElement("th",null,r.a.createElement(Nt,{property:"Name",onClick:this.OnSortClick,variant:"outline-light"},"Name")),r.a.createElement("th",null,r.a.createElement(Nt,{property:"Type",onClick:this.OnSortClick,variant:"outline-light"},"Type")),r.a.createElement("th",null,r.a.createElement(Nt,{property:"Size",onClick:this.OnSortClick,variant:"outline-light"},"Size")))),r.a.createElement("tbody",null,e.items.map(function(e,t,n){return[r.a.createElement(lo,{ref:e=>{null!=e?this.ChildRows[t]=e:this.ChildRows.splice(t,1)},ParentComponent:this,CurrentDirectoryName:this.props.CurrentDirectoryName,key:t,ShoSelectColumn:this.state.ShoSelectColumn,data:e})]}.bind(this)))))):(this.Log("NoData"),r.a.createElement("div",null,r.a.createElement("p",null,"NoData")))}}var mo=function(e){function t(){return e.apply(this,arguments)||this}return Object(te.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.bsPrefix,n=e.size,o=e.className,i=e.as,a=void 0===i?"div":i,l=Object(ee.a)(e,["bsPrefix","size","className","as"]);return r.a.createElement(a,Object(d.a)({},l,{className:oe()(o,t,n&&t+"-"+n)}))},t}(r.a.Component),ho=ve("input-group-append"),go=ve("input-group-prepend"),bo=ve("input-group-text",{Component:"span"}),vo=ge(mo,"input-group");vo.Text=bo,vo.Radio=function(e){return r.a.createElement(bo,null,r.a.createElement("input",Object(d.a)({type:"radio"},e)))},vo.Checkbox=function(e){return r.a.createElement(bo,null,r.a.createElement("input",Object(d.a)({type:"checkbox"},e)))},vo.Append=ho,vo.Prepend=go;var yo=vo,wo=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.className,i=Object(ee.a)(e,["bsPrefix","className"]),a=he(n,"btn-toolbar");return r.a.createElement("div",Object(d.a)({},i,{ref:t,className:oe()(o,a)}))});wo.displayName="ButtonToolbar",wo.defaultProps={role:"toolbar"};var xo=wo,Eo=n(27),Co=n.n(Eo),ko=n(18),To=n.n(ko),So=n(14),Do=n.n(So),Ro=n(20),Mo=n.n(Ro),Oo=n(61),Po=n.n(Oo),No=ve("modal-body"),_o=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.className,i=e.centered,a=e.size,l=e.children,s=e.scrollable,u=Object(ee.a)(e,["bsPrefix","className","centered","size","children","scrollable"]),c=(n=he(n,"modal"))+"-dialog";return r.a.createElement("div",Object(d.a)({},u,{ref:t,className:oe()(c,o,a&&n+"-"+a,i&&c+"-centered",s&&c+"-scrollable")}),r.a.createElement("div",{className:oe()(n+"-content")},l))});_o.displayName="ModalDialog";var Lo=_o,Ao=ve("modal-footer"),Io=r.a.createContext({onHide:function(){}}),zo=r.a.forwardRef(function(e,t){var n=e.bsPrefix,i=e.closeLabel,a=e.closeButton,l=e.onHide,s=e.className,u=e.children,c=Object(ee.a)(e,["bsPrefix","closeLabel","closeButton","onHide","className","children"]);n=he(n,"modal-header");var p=Object(o.useContext)(Io),f=Ve(function(){p&&p.onHide(),l&&l()});return r.a.createElement("div",Object(d.a)({ref:t},c,{className:oe()(s,n)}),u,a&&r.a.createElement(Kt,{label:i,onClick:f}))});zo.displayName="ModalHeader",zo.defaultProps={closeLabel:"Close",closeButton:!1};var Fo=zo,jo=ve("modal-title",{Component:Wt("h4")}),Ho=n(39),Uo=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Bo=".sticky-top",Wo=".navbar-toggler",Go={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:Lo,manager:new(function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).adjustAndStore=function(e,t,n){var o=t.style[e];t.dataset[e]=o,Ee()(t,e,parseFloat(Ee()(t,e))+n+"px")},t.restore=function(e,t){var n=t.dataset[e];void 0!==n&&(delete t.dataset[e],Ee()(t,e,n))},t}Object(te.a)(t,e);var n=t.prototype;return n.setContainerStyle=function(t,n){var o=this;if(e.prototype.setContainerStyle.call(this,t,n),t.overflowing){var r=Mo()();ot()(n,Uo).forEach(function(e){return o.adjustAndStore("paddingRight",e,r)}),ot()(n,Bo).forEach(function(e){return o.adjustAndStore("margingRight",e,-r)}),ot()(n,Wo).forEach(function(e){return o.adjustAndStore("margingRight",e,r)})}},n.removeContainerStyle=function(t,n){var o=this;e.prototype.removeContainerStyle.call(this,t,n),ot()(n,Uo).forEach(function(e){return o.restore("paddingRight",e)}),ot()(n,Bo).forEach(function(e){return o.restore("margingRight",e)}),ot()(n,Wo).forEach(function(e){return o.restore("margingRight",e)})},t}(n.n(Ho).a))};function qo(e){return r.a.createElement(Vt,e)}function Vo(e){return r.a.createElement(Vt,e)}var Yo=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).state={style:{}},t.modalContext={onHide:function(){return t.props.onHide()}},t.setModalRef=function(e){t._modal=e},t.handleDialogMouseDown=function(){t._waitingForMouseUp=!0},t.handleMouseUp=function(e){t._waitingForMouseUp&&e.target===t._modal.dialog&&(t._ignoreBackdropClick=!0),t._waitingForMouseUp=!1},t.handleClick=function(e){t._ignoreBackdropClick||e.target!==e.currentTarget?t._ignoreBackdropClick=!1:t.props.onHide()},t.handleEnter=function(e){var n;e&&(e.style.display="block",t.updateDialogStyle(e));for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];t.props.onEnter&&(n=t.props).onEnter.apply(n,[e].concat(r))},t.handleEntering=function(e){for(var n,o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];t.props.onEntering&&(n=t.props).onEntering.apply(n,[e].concat(r)),Co.a.on(window,"resize",t.handleWindowResize)},t.handleExited=function(e){var n;e&&(e.style.display="");for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];t.props.onExited&&(n=t.props).onExited.apply(n,r),Co.a.off(window,"resize",t.handleWindowResize)},t.handleWindowResize=function(){t.updateDialogStyle(t._modal.dialog)},t.renderBackdrop=function(e){var n=t.props,o=n.bsPrefix,i=n.backdropClassName;return r.a.createElement("div",Object(d.a)({},e,{className:oe()(o+"-backdrop",i)}))},t}Object(te.a)(t,e);var n=t.prototype;return n.componentWillUnmount=function(){Co.a.off(window,"resize",this.handleWindowResize)},n.updateDialogStyle=function(e){if(Do.a){var t=this.props.manager.isContainerOverflowing(this._modal),n=e.scrollHeight>To()(e).documentElement.clientHeight;this.setState({style:{paddingRight:t&&!n?Mo()():void 0,paddingLeft:!t&&n?Mo()():void 0}})}},n.render=function(){var e=this.props,t=e.bsPrefix,n=e.className,o=e.style,i=e.dialogClassName,a=e.children,l=e.dialogAs,s=e.show,u=e.animation,c=e.backdrop,p=e.keyboard,f=e.manager,m=e.onEscapeKeyDown,h=e.onShow,g=e.onHide,b=e.container,v=e.autoFocus,y=e.enforceFocus,w=e.restoreFocus,x=e.onEntered,E=e.onExit,C=e.onExiting,k=(e.onExited,e.onEntering,e.onEnter,e.onEntering,e.backdropClassName,Object(ee.a)(e,["bsPrefix","className","style","dialogClassName","children","dialogAs","show","animation","backdrop","keyboard","manager","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","onEntered","onExit","onExiting","onExited","onEntering","onEnter","onEntering","backdropClassName"])),T=!0===c?this.handleClick:null,S=Object(d.a)({},o,this.state.style);return u||(S.display="block"),r.a.createElement(Io.Provider,{value:this.modalContext},r.a.createElement(Po.a,{show:s,backdrop:c,container:b,keyboard:p,autoFocus:v,enforceFocus:y,restoreFocus:w,onEscapeKeyDown:m,onShow:h,onHide:g,onEntered:x,onExit:E,onExiting:C,manager:f,ref:this.setModalRef,style:S,className:oe()(n,t),containerClassName:t+"-open",transition:u?qo:void 0,backdropTransition:u?Vo:void 0,renderBackdrop:this.renderBackdrop,onClick:T,onMouseUp:this.handleMouseUp,onEnter:this.handleEnter,onEntering:this.handleEntering,onExited:this.handleExited},r.a.createElement(l,Object(d.a)({},k,{onMouseDown:this.handleDialogMouseDown,className:i}),a)))},t}(r.a.Component);Yo.defaultProps=Go;var Xo=ge(Yo,"modal");Xo.Body=No,Xo.Header=Fo,Xo.Title=jo,Xo.Footer=Ao,Xo.Dialog=Lo,Xo.TRANSITION_DURATION=300,Xo.BACKDROP_TRANSITION_DURATION=150;var Ko=Xo;class $o extends X{constructor(e){super(e,"ExplorerActionsControl"),this.state={MoveWindowsShow:!1},this.fileExplorerServices=new ao,this.GlobalState.MoveExplorer={ID:this.GlobalState.MainExplorer.ID,ShoSelectColumn:!1,ChangeEvent:"OnItemsChange_Move"}}OnDownloadClick(e){this.GlobalState.MainExplorer.ExplorerControl.GetSelectedID().map(e=>{this.Log("OnDownload "+e),this.fileExplorerServices.OpenDownload(e)})}OnDeleteClick(e){let t=this.GlobalState.MainExplorer.ExplorerControl.GetSelectedID().map(e=>(this.Log("OnDelete "+e),this.fileExplorerServices.DeleteAsync(e)));Promise.all(t).then(function(e){let t="";e.map(function(e){t+="Succese: "+e.Successe+" ResultMsg:"+e.ResMessage+" | "}),on.MesOk(t,"Move"),this.EventRegister.EventAction(this.GlobalState.MainExplorer.ChangeEvent)}.bind(this))}OnCreateDirectoryClick(e){let t=this.refs.DirectoryName.value,n=this.GlobalState.MainExplorer.ID;this.fileExplorerServices.CreateDirectoryAsync(t,n).then(function(e){this.EventRegister.EventAction(this.GlobalState.MainExplorer.ChangeEvent),on.MesOk("Complete","CreateDir")}.bind(this)),this.refs.DirectoryName.value=""}OnMoveClick(e){let t=this.GlobalState.MainExplorer.ExplorerControl.GetSelectedID();0!=t.length&&(this.selected=t,this.GlobalState.MoveExplorer.ID=this.GlobalState.MainExplorer.ID,this.EventRegister.EventAction("OnItemsChange_Move"),this.setState({MoveWindowsShow:!0}))}OnMoveWindowCloseClick(){this.setState({MoveWindowsShow:!1})}OnMoveWindowClick(){if(this.GlobalState.MainExplorer.ID==this.GlobalState.MoveExplorer.ID)return this.setState({MoveWindowsShow:!1}),void on.MesEr("Src dir == Dst dir","Move");let e=this.selected.map(function(e){return this.Log("OnMove "+e),this.fileExplorerServices.MoveAsync(e,this.GlobalState.MoveExplorer.ID)}.bind(this));Promise.all(e).then(function(e){let t="";e.map(function(e){t+="Succese: "+e.Successe+" ResultMsg:"+e.ResMessage+" | "}),on.MesOk(t,"Move"),this.EventRegister.EventAction(this.GlobalState.MainExplorer.ChangeEvent)}.bind(this)),this.setState({MoveWindowsShow:!1})}render(){return r.a.createElement("div",{className:"jumbotron"},r.a.createElement("p",null,"ExplorerControlPanel"),r.a.createElement($n,null,r.a.createElement(yo,{className:"mb-3"},r.a.createElement(mn,{ref:"DirectoryName",placeholder:"Введите название"}),r.a.createElement(yo.Append,null,r.a.createElement(Nt,{onClick:this.OnCreateDirectoryClick,variant:"secondary"},"Создать директорию")))),r.a.createElement($n,{variant:"no-gutters"},r.a.createElement(xo,{className:"mb-3"},r.a.createElement(ro,{className:"mr-2"},r.a.createElement(Nt,{onClick:this.OnDownloadClick,variant:"success"},"Скачать"),r.a.createElement(Nt,{onClick:this.OnMoveClick,variant:"warning"},"Переместить"),r.a.createElement(Nt,{onClick:this.OnDeleteClick,variant:"danger"},"Удалить")),r.a.createElement(yo,null,r.a.createElement(mn,{placeholder:"Поиск по названию"}),r.a.createElement(yo.Append,null,r.a.createElement(Nt,{variant:"secondary"},"Найти"))))),r.a.createElement(Ko,{ref:"Modal",show:this.state.MoveWindowsShow,onHide:this.OnMoveWindowCloseClick,size:"lg",centered:!0},r.a.createElement(Ko.Header,{closeButton:!0},r.a.createElement(Ko.Title,null,"Select destination directory")),r.a.createElement(Ko.Body,null,r.a.createElement(fo,{ref:"FileExplorerControl",ParentComponent:this,CurrentDirectoryName:"MoveExplorer"})),r.a.createElement(Ko.Footer,null,r.a.createElement(Nt,{variant:"secondary",onClick:this.OnMoveWindowCloseClick},"Cansel"),r.a.createElement(Nt,{variant:"primary",onClick:this.OnMoveWindowClick},"Move to directory"))))}}var Qo=r.a.forwardRef(function(e,t){var n=e.bsPrefix,o=e.className,i=e.variant,a=e.as,l=void 0===a?"img":a,s=Object(ee.a)(e,["bsPrefix","className","variant","as"]),u=he(n,"card-img");return r.a.createElement(l,Object(d.a)({ref:t,className:oe()(i?u+"-"+i:u,o)},s))});Qo.displayName="CardImg",Qo.defaultProps={variant:null};var Jo=Qo,Zo=Wt("h5"),er=Wt("h6"),tr=ve("card-body"),nr=r.a.forwardRef(function(e,t){var n=e.bsPrefix,i=e.className,a=e.bg,l=e.text,s=e.border,u=e.body,c=e.children,p=e.as,f=void 0===p?"div":p,m=Object(ee.a)(e,["bsPrefix","className","bg","text","border","body","children","as"]),h=he(n,"card"),g=Object(o.useMemo)(function(){return{cardHeaderBsPrefix:h+"-header"}},[h]);return r.a.createElement(tt.Provider,{value:g},r.a.createElement(f,Object(d.a)({ref:t},m,{className:oe()(i,h,a&&"bg-"+a,l&&"text-"+l,s&&"border-"+s)}),u?r.a.createElement(tr,null,c):c))});nr.displayName="Card",nr.defaultProps={body:!1},nr.Img=Jo,nr.Title=ve("card-title",{Component:Zo}),nr.Subtitle=ve("card-subtitle",{Component:er}),nr.Body=tr,nr.Link=ve("card-link",{Component:"a"}),nr.Text=ve("card-text",{Component:"p"}),nr.Header=ve("card-header"),nr.Footer=ve("card-footer"),nr.ImgOverlay=ve("card-img-overlay");var or=nr;var rr=1e3;function ir(e,t,n){var o=(e-t)/(n-t)*100;return Math.round(o*rr)/rr}var ar=function(e){function t(){return e.apply(this,arguments)||this}Object(te.a)(t,e);var n=t.prototype;return n.renderProgressBar=function(e){var t,n=e.min,o=e.now,i=e.max,a=e.label,l=e.srOnly,s=e.striped,u=e.animated,c=e.className,p=e.style,f=e.variant,m=e.bsPrefix,h=Object(ee.a)(e,["min","now","max","label","srOnly","striped","animated","className","style","variant","bsPrefix"]);return r.a.createElement("div",Object(d.a)({},h,{role:"progressbar",className:oe()(c,m+"-bar",(t={},t["bg-"+f]=f,t[m+"-bar-animated"]=u,t[m+"-bar-striped"]=u||s,t)),style:Object(d.a)({width:ir(o,n,i)+"%"},p),"aria-valuenow":o,"aria-valuemin":n,"aria-valuemax":i}),l?r.a.createElement("span",{className:"sr-only"},a):a)},n.render=function(){var e=this.props,t=e.isChild,n=Object(ee.a)(e,["isChild"]);if(t)return this.renderProgressBar(n);var i=n.min,a=n.now,l=n.max,s=n.label,u=n.srOnly,c=n.striped,p=n.animated,f=n.bsPrefix,m=n.variant,h=n.className,g=n.children,b=Object(ee.a)(n,["min","now","max","label","srOnly","striped","animated","bsPrefix","variant","className","children"]);return r.a.createElement("div",Object(d.a)({},b,{className:oe()(h,f)}),g?function(e,t){var n=0;return r.a.Children.map(e,function(e){return r.a.isValidElement(e)?t(e,n++):e})}(g,function(e){return Object(o.cloneElement)(e,{isChild:!0})}):this.renderProgressBar({min:i,now:a,max:l,label:s,srOnly:u,striped:c,animated:p,bsPrefix:f,variant:m}))},t}(r.a.Component);ar.defaultProps={min:0,max:100,animated:!1,isChild:!1,srOnly:!1,striped:!1};var lr=ge(ar,"progress"),sr=lr;class ur{constructor(){this.URL_Start="/api/UploadFiles/StartUpload",this.URL_Upload="/api/UploadFiles/UploadBlob",this.URL_Cansel="/api/UploadFiles/Cansel",this.upload_chunk_size=Jn.upload_chunk_size,this.ID=-1,this._ContinueDownload=!1,this._file=null,this._ParentID=null,this.OnProggresseChange=null,this.OnIDReceived=null}async _ReadBlobAsync(e,t){return new Promise(function(n,o){let r=this._file.slice(e,t),i=new FileReader;i.onload=function(){n(i.result)},i.onerror=function(e){o("js Read file error",e)},i.readAsDataURL(r)}.bind(this))}async _StartUploadAsync(){return await rn(this.URL_Start,"Post",{ParentID:this._ParentID,Name:this._file.name,Size:this._file.size}).then(function(e){return e}.bind(this))}async _UploadBlobAsync(e,t){if(G("UploadServices","_UploadBlobAsync"+t),!this._ContinueDownload)return{Successe:!0};if(""!=e){let n;return G("UploadServices",this.URL_Upload+t),await rn(this.URL_Upload,"Post",{ID:this.ID,chunk:e}).then(function(e){n=e}.bind(this)),n}}async UploadFileAsync(e,t){null!=this.OnProggresseChange&&this.OnProggresseChange(0,0),this._file=e,this._ParentID=t;let n=await this._StartUploadAsync();if(!n.Successe)throw n;this._ContinueDownload=!0,this.ID=n.UploadID,null!=this.OnIDReceived&&this.OnIDReceived(this.ID);for(let t=0,n=0;t<this._file.size;t+=this.upload_chunk_size,n++){if(!this._ContinueDownload)return;let o=await this._ReadBlobAsync(t,t+this.upload_chunk_size),r=await this._UploadBlobAsync(o,n);if(!r.Successe)throw r;let i=Math.round(100*t/e.size);G("UploadServices","p = "+i),null!=this.OnProggresseChange&&this.OnProggresseChange(i,t)}this._ContinueDownload=!1}Cansel(){this._ContinueDownload=!1,setTimeout(function(){rn(this.URL_Cansel,"Post",{ID:this.ID})}.bind(this),500)}}class cr extends X{constructor(e){super(e,"UploaderControl"),this.state={progress:0,UploadedSize:0,_state:0,FileInfo:{},ResultMsg:""},this.uploadServices=new ur,this.uploadServices.OnProggresseChange=this.OnProgresseChange}UploadClick(){let e=this.refs.file,t=e.files;if(0==t.length)return;let n=t[0];this.setState({_state:1,FileInfo:{name:n.name,size:n.size}}),this.uploadServices.UploadFileAsync(n,this.GlobalState.MainExplorer.ID).then(function(){on.MesOk("Complete","Upload"),e.value="",this.setState({_state:0,FileInfo:{}}),this.EventRegister.EventAction(this.GlobalState.MainExplorer.ChangeEvent)}.bind(this),function(e){on.MesEr(e.ResMessage,"Upload"),this.setState({progress:0,_state:0,FileInfo:{}})}.bind(this))}CancelClick(){this.uploadServices.Cansel(),this.setState({_state:0,FileInfo:{}})}OnProgresseChange(e,t){this.setState({progress:e,UploadedSize:t})}render(){return r.a.createElement("div",{className:"jumbotron"},r.a.createElement("h3",null,"Загрузка файлов"),r.a.createElement(yo,null,r.a.createElement(mn,{ref:"file",type:"file",disabled:0!==this.state._state}),r.a.createElement(yo.Append,null,r.a.createElement(Nt,{disabled:0!==this.state._state,onClick:this.UploadClick,variant:"outline-success"},"Загрузить"),r.a.createElement(Nt,{disabled:1!==this.state._state,onClick:this.CancelClick,variant:"outline-danger"},"Отмена"))),1==this.state._state?r.a.createElement("div",null,r.a.createElement(or,null,r.a.createElement(or.Body,null,r.a.createElement(or.Title,null,"Выполняется загрука файлов"),r.a.createElement(io,{bordered:!0,size:"sm"},r.a.createElement("thead",null,r.a.createElement("tr",null,r.a.createElement("th",null,"Имя"),r.a.createElement("th",null,"Размер"),r.a.createElement("th",null,"Прогресс"))),r.a.createElement("tbody",null,r.a.createElement("tr",null,r.a.createElement("td",null,this.state.FileInfo.name),r.a.createElement("td",null,this.state.FileInfo.size),r.a.createElement("td",null,r.a.createElement(sr,{now:this.state.progress,label:`${this.state.progress}%`}),this.state.UploadedSize))))))):"")}}class dr extends X{constructor(e){super(e,"BootstrapControl")}ToastifyTest(){this.Leght=(null==this.Leght?0:this.Leght)+500,on.Sho("Test")}render(){return r.a.createElement("div",null,r.a.createElement("p",null,"Bootstrap test"),r.a.createElement(xo,null,r.a.createElement(Nt,{onClick:this.ToastifyTest,variant:"outline-primary"},"Primary"),r.a.createElement(Nt,{variant:"outline-secondary"},"Secondary"),r.a.createElement(Nt,{variant:"outline-success"},"Success"),r.a.createElement(Nt,{variant:"outline-warning"},"Warning"),r.a.createElement(Nt,{variant:"outline-danger"},"Danger"),r.a.createElement(Nt,{variant:"outline-info"},"Info"),r.a.createElement(Nt,{variant:"outline-light"},"Light"),r.a.createElement(Nt,{variant:"outline-dark"},"Dark")))}}class pr extends X{constructor(e){super(e,"FileExplorerPage");let t=-1,n=new URL(window.location.href).searchParams.get("ID");null!=n&&(t=n),this.GlobalState.MainExplorer={ID:t,ShoSelectColumn:!0,ChangeEvent:"OnItemsChange_Main"}}render(){return r.a.createElement("div",null,r.a.createElement(fo,{ref:"FileExplorerControl",ParentComponent:this,CurrentDirectoryName:"MainExplorer"}),r.a.createElement("hr",null),this.GlobalState.MainExplorer.ID!=Jn.RooDirectoryID?r.a.createElement("div",null,r.a.createElement($n,{style:{marginLeft:"1rem"}},r.a.createElement(Cn,null,r.a.createElement($o,{ref:"ExplorerActionsControl",ParentComponent:this})),r.a.createElement(Cn,null,r.a.createElement(cr,{ref:"UploaderControl",ParentComponent:this})))):null,r.a.createElement("hr",null),r.a.createElement(dr,null),r.a.createElement("hr",null))}}var fr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){P()(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(r.a.Component);fr.propTypes={when:c.a.bool,message:c.a.oneOfType([c.a.func,c.a.string]).isRequired},fr.defaultProps={when:!0},fr.contextTypes={router:c.a.shape({history:c.a.shape({block:c.a.func.isRequired}).isRequired}).isRequired};var mr=fr,hr=n(17);class gr{constructor(){this.URL_GetUsers="api/Users/GetUserList",this.URL_SetUsers="api/Users/SetUserList",this.URL_GetGroups="api/Users/GetGroupList",this.URL_SetGroups="api/Users/SetGroupList",this.URL_GetRootDirs="api/Users/GetRootDirList",this.URL_SetRootDirs="api/Users/SetRootDirList",this.ID=0}async GetUsersAsync(){return await rn(this.URL_GetUsers,"Post").then(function(e){return e.Successe&&(this.Groups=e.Groups),e}.bind(this))}async SetUsersAsync(e){return await rn(this.URL_SetUsers,"Post",e)}CreateUser(){return this.ID--,{ID:this.ID,Name:"NewUser"+this.ID,Password:"QWERTY",Active:!0,Changes:2,Groups:this.Groups.map(e=>({ID:e.ID,Name:e.Name,EnterInGroup:"Пользователи"==e.Name}))}}CreateStubUser(){return{ID:-1,Name:"",Password:"",Active:!1,Changes:-1,Groups:[{ID:-11,Name:"",EnterInGroup:!1}]}}async GetGroupsAsync(){return await rn(this.URL_GetGroups,"Post").then(function(e){return e.Successe&&(this.RootDirs=e.RootDirs),e}.bind(this))}async SetGroupsAsync(e){return await rn(this.URL_SetGroups,"Post",e).then(function(e){return e}.bind(this))}CreateGroup(){return this.ID--,{ID:this.ID,Name:"NewGroup"+this.ID,Changes:2,RootDirs:this.RootDirs.map(e=>({ID:e.ID,Name:e.Name,CanDownload:!1,CanUpload:!1,CanOpen:!1}))}}CreateStubGroup(){return{ID:this.ID,Name:"NewGroup"+this.ID,Changes:2,RootDirs:[{ID:-11,Name:"",CanDownload:!1,CanUpload:!1,CanOpen:!1}]}}async GetRootDirsAsync(){return await rn(this.URL_GetRootDirs,"Post").then(function(e){return e.Successe&&(this.RootDirs=e.RootDirs),e}.bind(this))}async SetRootDirsAsync(e){return await rn(this.URL_SetRootDirs,"Post",e).then(function(e){return e}.bind(this))}CreateRootDir(){return this.ID--,{ID:this.ID,Name:"NewRootDir"+this.ID,Changes:2}}}class br extends X{constructor(e){super(e,"UserListControl"),this.userServices=new gr,this.state={Users:[],ShoGroups:!1,UserGroups:this.userServices.CreateStubUser()},this.columns=[{title:"ID",field:"ID"},{title:"Name",field:"Name",editor:"input"},{title:"Password",field:"Password",editor:"input"},{title:"Active",field:"Active",editor:"tick"},{title:"Groups",formatter:this.ButtonFormatter,align:"center",cellClick:this.OnGroupsClick},{title:"Delete",formatter:this.ButtonFormatter,align:"center",cellClick:this.DeleteUserClick}],this.columns_groups=[{title:"ID",field:"ID"},{title:"Name",field:"Name"},{title:"EnterInGroup",field:"EnterInGroup",editor:"tick"}],this.DownloadUsers()}DownloadUsers(){this.userServices.GetUsersAsync().then(function(e){let t=e.Users;this.Groups=e.Groups,this.setState({Users:t}),this.EventRegister.EventAction("OnHaveDataChange",!1)}.bind(this))}UploadUsers(){this.userServices.SetUsersAsync(this.state.Users).then(function(e){e.Successe?on.MesOk(e.ResMessage,"Save"):on.MesEr(e.ResMessage,"Save"),this.DownloadUsers()}.bind(this))}ButtonFormatter(e,t,n){return"<i class='fa fa-print'><button>Action</button></i>"}OnCellChange(e){let t=this.state.Users,n=e.getRow()._row.data.ID;var o=t.filter(e=>e.ID===n)[0];0===o.Changes&&(o.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}OnCellChange_Groups(e){0===this.state.UserGroups.Changes&&(this.state.UserGroups.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}UpdateClick(){this.DownloadUsers()}CreateUserCick(){let e=this.userServices.CreateUser(),t=this.state.Users;t.push(e),this.setState({Users:t}),this.EventRegister.EventAction("OnHaveDataChange",!0)}DeleteUserClick(e,t){let n=t.getRow()._row.data.ID,o=this.state.Users,r=o.filter(e=>e.ID===n)[0];2===r.Changes?o.splice(o.findIndex(e=>e.ID===n),1):r.Changes=3,this.setState({Users:o}),this.EventRegister.EventAction("OnHaveDataChange",!0)}OnGroupsClick(e,t){let n=t.getRow()._row.data.ID,o=this.state.Users.filter(e=>e.ID===n)[0];this.setState({ShoGroups:!0,UserGroups:o})}OnGroupsClose(){this.setState({ShoGroups:!1})}render(){return r.a.createElement("div",null,r.a.createElement("button",{onClick:this.CreateUserCick},"CreateUser"),r.a.createElement("button",{onClick:this.DownloadUsers},"Update(Изменения будут утеряны)"),r.a.createElement("button",{onClick:this.UploadUsers},"SaveChanges"),r.a.createElement(hr.ReactTabulator,{ref:"table",data:this.state.Users.filter(e=>3!=e.Changes),columns:this.columns,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange}),r.a.createElement(Ko,{ref:"Modal",show:this.state.ShoGroups,onHide:this.OnGroupsClose,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0},r.a.createElement(Ko.Header,{closeButton:!0},r.a.createElement(Ko.Title,null,"User Groups: ",this.state.UserGroups.ID+" "+this.state.UserGroups.Name)),r.a.createElement(Ko.Body,null,r.a.createElement(hr.ReactTabulator,{ref:"table_UserGroups",data:this.state.UserGroups.Groups,columns:this.columns_groups,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange_Groups})),r.a.createElement(Ko.Footer,null,r.a.createElement(Nt,{variant:"secondary",onClick:this.OnGroupsClose},"Close"))))}}class vr extends X{constructor(e){super(e,"UserListControl"),this.userServices=new gr,this.state={Groups:[],ShoPermissions:!1,GroupPermissions:this.userServices.CreateStubGroup()},this.columns=[{title:"ID",field:"ID"},{title:"Name",field:"Name",editor:"input"},{title:"Permissions",formatter:this.ButtonFormatter,align:"center",cellClick:this.OnPermissionsClick},{title:"Delete",formatter:this.ButtonFormatter,align:"center",cellClick:this.DeleteGroupClick}],this.columns_permission=[{title:"ID",field:"ID"},{title:"Name",field:"Name"},{title:"CanDownload",field:"CanDownload",editor:"tick"},{title:"CanUpload",field:"CanUpload",editor:"tick"},{title:"CanOpen",field:"CanOpen",editor:"tick"}],this.DownloadGroups()}DownloadGroups(){this.userServices.GetGroupsAsync().then(function(e){let t=e.Groups;this.RootDirs=e.RootDirs,this.setState({Groups:t}),this.EventRegister.EventAction("OnHaveDataChange",!1)}.bind(this))}UploadGroups(){this.userServices.SetGroupsAsync(this.state.Groups).then(function(e){e.Successe?on.MesOk(e.ResMessage,"Save"):on.MesEr(e.ResMessage,"Save"),this.DownloadGroups()}.bind(this))}ButtonFormatter(e,t,n){return"<i class='fa fa-print'><button>Action</button></i>"}OnCellChange(e){let t=this.state.Groups,n=e.getRow()._row.data.ID;var o=t.filter(e=>e.ID===n)[0];0===o.Changes&&(o.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}OnCellChange_Permission(e){0===this.state.GroupPermissions.Changes&&(this.state.GroupPermissions.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}UpdateClick(){this.DownloadGroups()}CreateGroupClick(){let e=this.userServices.CreateGroup(),t=this.state.Groups;t.push(e),this.setState({Groups:t}),this.EventRegister.EventAction("OnHaveDataChange",!0)}DeleteGroupClick(e,t){let n=t.getRow()._row.data.ID,o=this.state.Groups,r=o.filter(e=>e.ID===n)[0];2===r.Changes?o.splice(o.findIndex(e=>e.ID===n),1):r.Changes=3,this.setState({Groups:o}),this.EventRegister.EventAction("OnHaveDataChange",!0)}OnPermissionsClick(e,t){let n=t.getRow()._row.data.ID,o=this.state.Groups.filter(e=>e.ID===n)[0];this.setState({ShoPermissions:!0,GroupPermissions:o})}OnPermissionsClose(){this.setState({ShoPermissions:!1})}render(){return r.a.createElement("div",null,r.a.createElement("button",{onClick:this.CreateGroupClick},"CreateGroup"),r.a.createElement("button",{onClick:this.DownloadGroups},"Update(Изменения будут утеряны)"),r.a.createElement("button",{onClick:this.UploadGroups},"SaveChanges"),r.a.createElement(hr.ReactTabulator,{ref:"table",data:this.state.Groups.filter(e=>3!=e.Changes),columns:this.columns,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange}),r.a.createElement(Ko,{ref:"Modal",show:this.state.ShoPermissions,onHide:this.OnPermissionsClose,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0},r.a.createElement(Ko.Header,{closeButton:!0},r.a.createElement(Ko.Title,null,"User Groups: ",this.state.GroupPermissions.ID+" "+this.state.GroupPermissions.Name)),r.a.createElement(Ko.Body,null,r.a.createElement(hr.ReactTabulator,{ref:"table_GroupPermission",data:this.state.GroupPermissions.RootDirs,columns:this.columns_permission,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange_Permission})),r.a.createElement(Ko.Footer,null,r.a.createElement(Nt,{variant:"secondary",onClick:this.OnPermissionsClose},"Close"))))}}class yr extends X{constructor(e){super(e,"UserListControl"),this.userServices=new gr,this.state={RootDirs:[],ShoModalCreate:!1},this.columns=[{title:"ID",field:"ID"},{title:"Name",field:"Name"},{title:"Delete",formatter:this.ButtonFormatter,align:"center",cellClick:this.DeleteRootDirClick}],this.DownloadRootDirs()}DownloadRootDirs(){this.userServices.GetRootDirsAsync().then(function(e){let t=e.Dirs;this.setState({RootDirs:t}),this.EventRegister.EventAction("OnHaveDataChange",!1)}.bind(this))}UploadRootDirs(){this.userServices.SetRootDirsAsync(this.state.RootDirs).then(function(e){e.Successe?on.MesOk(e.ResMessage,"Save"):on.MesEr(e.ResMessage,"Save"),this.DownloadRootDirs()}.bind(this))}ButtonFormatter(e,t,n){return"<i class='fa fa-print'><button>Action</button></i>"}OnCellChange(e){let t=this.state.RootDirs,n=e.getRow()._row.data.ID;var o=t.filter(e=>e.ID===n)[0];0===o.Changes&&(o.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}UpdateClick(){this.DownloadRootDirs()}CreateRootDirClick(){this.setState({ShoModalCreate:!0})}CreateCompleteClick(){let e=this.refs.NewDir_Name.value,t=this.userServices.CreateRootDir();t.Name=e;let n=this.state.RootDirs;n.push(t),this.setState({RootDirs:n,ShoModalCreate:!1}),this.EventRegister.EventAction("OnHaveDataChange",!0)}CreateCanselClick(){this.setState({ShoModalCreate:!1})}DeleteRootDirClick(e,t){let n=t.getRow()._row.data.ID,o=this.state.RootDirs,r=o.filter(e=>e.ID===n)[0];2===r.Changes?o.splice(o.findIndex(e=>e.ID===n),1):r.Changes=3,this.setState({RootDirs:o}),this.EventRegister.EventAction("OnHaveDataChange",!0)}render(){return r.a.createElement("div",null,r.a.createElement("button",{onClick:this.CreateRootDirClick},"CreateRootDir"),r.a.createElement("button",{onClick:this.DownloadRootDirs},"Update(Изменения будут утеряны)"),r.a.createElement("button",{onClick:this.UploadRootDirs},"SaveChanges"),r.a.createElement(hr.ReactTabulator,{ref:"table",data:this.state.RootDirs.filter(e=>3!=e.Changes),columns:this.columns,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange}),r.a.createElement(Ko,{ref:"Modal",show:this.state.ShoModalCreate,onHide:this.CreateCanselClick,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0},r.a.createElement(Ko.Header,{closeButton:!0},r.a.createElement(Ko.Title,null,"Create new RootDir")),r.a.createElement(Ko.Body,null,r.a.createElement(Mn.Control,{ref:"NewDir_Name",type:"text",placeholder:"Root dir name",style:{marginBottom:10}})),r.a.createElement(Ko.Footer,null,r.a.createElement(Nt,{variant:"primary",onClick:this.CreateCompleteClick},"Create"),r.a.createElement(Nt,{variant:"secondary",onClick:this.CreateCanselClick},"Close"))))}}class wr extends X{constructor(e){super(e,"AdministratorPage"),this.authServices=new an,this.state={IsAuth:this.authServices.IsAuth(),IsAdmin:null!=this.GlobalState.User&&this.GlobalState.User.IsAdmin,HaveChanges:!1,ActiveTab:0},this.EventRegister.RegisterListener("OnAuthChange",this),this.EventRegister.RegisterListener("OnHaveDataChange",this)}Event_OnAuthChange(){this.setState({IsAuth:this.authServices.IsAuth(),IsAdmin:this.GlobalState.User.IsAdmin})}Event_OnHaveDataChange(e){this.setState({HaveChanges:e})}OnUsersClick(){0!=this.state.ActiveTab&&(this.state.HaveChanges&&!confirm("You have unsaved changes. Are you sure you want to leave this table?")||this.setState({ActiveTab:0}))}OnGroupsClick(){1!=this.state.ActiveTab&&(this.state.HaveChanges&&!confirm("You have unsaved changes. Are you sure you want to leave this table?")||this.setState({ActiveTab:1}))}OnRootDirsClick(){2!=this.state.ActiveTab&&(this.state.HaveChanges&&!confirm("You have unsaved changes. Are you sure you want to leave this table?")||this.setState({ActiveTab:2}))}render(){return r.a.createElement("div",null,this.state.HaveChanges?r.a.createElement("p",null,"!Есть несохраненные изменения"):null,r.a.createElement(mr,{when:this.state.HaveChanges,message:"You have unsaved changes. Are you sure you want to leave this page?"}),this.state.IsAdmin?r.a.createElement("div",null,r.a.createElement(Et,{variant:"tabs"},r.a.createElement(Et.Item,null,r.a.createElement(Et.Link,{onClick:this.OnUsersClick},"Users")),r.a.createElement(Et.Item,null,r.a.createElement(Et.Link,{onClick:this.OnGroupsClick},"Groups")),r.a.createElement(Et.Item,null,r.a.createElement(Et.Link,{onClick:this.OnRootDirsClick},"Root dirs"))),(()=>{switch(this.state.ActiveTab){case 0:return r.a.createElement(br,{ref:"UserListControl"});case 1:return r.a.createElement(vr,{ref:"GroupListControl"});case 2:return r.a.createElement(yr,{ref:"RootDirListControl"})}})()):r.a.createElement("p",null,"Вы не являетесь администратором"))}}class xr extends X{constructor(e){super(e,"UserDetailControl"),this.authServices=new an}SaveChange(){let e=this.refs.Password.value;this.refs.Password.value="";let t=this.refs.RepeatPassword.value;this.refs.RepeatPassword.value="",e===t?this.authServices.SetUserInfo(e).then(function(e){e.Successe?on.MesOk(e.ResMessage,"SaveChange"):on.MesEr(e.ResMessage,"SaveChange")}):on.MesEr("password != repeat_password","SaveChange")}render(){return r.a.createElement("div",null,r.a.createElement(Mn.Control,{ref:"Password",type:"password",placeholder:"New password"}),r.a.createElement(Mn.Control,{ref:"RepeatPassword",type:"password",placeholder:"Repeat Password"}),r.a.createElement("button",{onClick:this.SaveChange},"SaveChange"))}}class Er extends X{constructor(e){super(e,"UserPage"),this.authServices=new an,this.state={isAuth:this.authServices.IsAuth()},this.EventRegister.RegisterListener("OnAuthChange",this)}Event_OnAuthChange(){this.setState({isAuth:this.authServices.IsAuth()})}render(){return r.a.createElement("div",null,this.state.isAuth?r.a.createElement("div",null,r.a.createElement(xr,null)):r.a.createElement("p",null,"Вы не авторизованы"))}}class Cr extends X{constructor(e){super(e,"RouteSystem")}render(){return r.a.createElement(Wn,null,r.a.createElement(Xn,{ref:"CurrentPage",exact:!0,path:"/",component:pr}),r.a.createElement(Xn,{ref:"CurrentPage",exact:!0,path:"/App",component:pr}),r.a.createElement(Xn,{ref:"CurrentPage",exact:!0,path:"/index.html",component:pr}),r.a.createElement(Xn,{ref:"CurrentPage",path:"/?ID=:ID",component:pr}),r.a.createElement(Xn,{ref:"CurrentPage",path:"/Admin",component:wr}),r.a.createElement(Xn,{ref:"CurrentPage",path:"/User",component:Er}))}}a.a.render(r.a.createElement(class extends X{constructor(e){super(e,"LayoutPage")}render(){return r.a.createElement(U,null,r.a.createElement("div",null,r.a.createElement(Ln,null),r.a.createElement(Cr,null),r.a.createElement(An,null)))}},null),document.getElementById("App")),console.log("index.js")},function(e,t,n){"use strict";n.r(t);var o=n(1),r=n(2),i=n(6),a=n(0),l=n.n(a),s=n(10),u=n.n(s),c=function(){};function d(e,t){return void 0!==e[t]}function p(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function f(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function m(e,t){return Object.keys(t).reduce(function(n,i){var l,s=n[p(i)],u=n[i],c=Object(r.a)(n,[p(i),i].map(f)),m=t[i],h=Object(a.useRef)({}),g=Object(a.useState)(s),b=g[0],v=g[1],y=d(e,i),w=d(h.current,i);h.current=e,!y&&w&&v(s);var x=e[m],E=Object(a.useCallback)(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];x&&x.apply(void 0,[e].concat(n)),v(e)},[v,x]);return Object(o.a)({},c,((l={})[i]=y?u:b,l[m]=E,l))},e)}function h(e,t,n){void 0===n&&(n=[]);var a,s=e.displayName||e.name||"Component",f=!!(a=e)&&("function"!=typeof a||a.prototype&&a.prototype.isReactComponent),m=Object.keys(t),g=m.map(p);!f&&n.length&&u()(!1);var b=function(a){function s(){for(var e,o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return(e=a.call.apply(a,[this].concat(r))||this).handlers=Object.create(null),m.forEach(function(n){var o=t[n];e.handlers[o]=function(t){if(e.props[o]){var r;e._notifying=!0;for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];(r=e.props)[o].apply(r,[t].concat(a)),e._notifying=!1}e._values[n]=t,e.unmounted||e.forceUpdate()}}),n.length&&(e.attachRef=function(t){e.inner=t}),e}Object(i.a)(s,a);var u=s.prototype;return u.shouldComponentUpdate=function(){return!this._notifying},u.componentWillMount=function(){var e=this,t=this.props;this._values=Object.create(null),m.forEach(function(n){e._values[n]=t[p(n)]})},u.componentWillReceiveProps=function(e){var t=this,n=this.props;m.forEach(function(o){!d(e,o)&&d(n,o)&&(t._values[o]=e[p(o)])})},u.componentWillUnmount=function(){this.unmounted=!0},u.render=function(){var t=this,n=this.props,i=n.innerRef,a=Object(r.a)(n,["innerRef"]);g.forEach(function(e){delete a[e]});var s={};return m.forEach(function(e){var n=t.props[e];s[e]=void 0!==n?n:t._values[e]}),l.a.createElement(e,Object(o.a)({},a,s,this.handlers,{ref:i||this.attachRef}))},s}(l.a.Component);b.displayName="Uncontrolled("+s+")",b.propTypes=Object(o.a)({innerRef:function(){}},function(e,t){var n={};return Object.keys(e).forEach(function(e){n[p(e)]=c}),n}(t)),n.forEach(function(e){b.prototype[e]=function(){var t;return(t=this.inner)[e].apply(t,arguments)}});var v=b;return l.a.forwardRef&&((v=l.a.forwardRef(function(e,t){return l.a.createElement(b,Object(o.a)({},e,{innerRef:t}))})).propTypes=b.propTypes),v.ControlledComponent=e,v.deferControlTo=function(e,n,r){return void 0===n&&(n={}),h(e,Object(o.a)({},t,n),r)},v}n.d(t,"uncontrollable",function(){return h}),n.d(t,"useUncontrolled",function(){return m});t.default=h}]);
//# sourceMappingURL=app_bundle.js.map